.card{position:relative;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border-radius:6px;box-shadow:0 1px 3px #0003;cursor:pointer;-webkit-user-select:none;user-select:none;transition:transform .15s ease,box-shadow .15s ease;font-family:Georgia,serif;overflow:hidden}.card:hover{box-shadow:0 3px 10px #00000040}.card--small{width:28px;height:40px;border-radius:3px;font-size:10px}.card--normal{width:60px;height:86px;border-radius:6px;font-size:14px}.card--large{width:72px;height:102px;border-radius:7px;font-size:16px}.card--red .card-rank,.card--red .card-suit,.card--red .card-center-suit{color:#d32f2f}.card--black .card-rank,.card--black .card-suit,.card--black .card-center-suit{color:#212121}.card--selected{transform:translateY(-12px);box-shadow:0 4px 16px #1677ff66;border:2px solid #1677ff}.card--back{background:linear-gradient(135deg,#1677ff,#0958d9);border-radius:6px;cursor:default}.card-back-pattern{width:100%;height:100%;background:repeating-linear-gradient(45deg,transparent,transparent 4px,rgba(255,255,255,.08) 4px,rgba(255,255,255,.08) 8px),linear-gradient(180deg,rgba(255,255,255,.1) 0%,transparent 50%,rgba(0,0,0,.1) 100%);border-radius:inherit;border:2px solid rgba(255,255,255,.25)}.card-corner{position:absolute;display:flex;flex-direction:column;align-items:center;line-height:1}.card-corner--top-left{top:3px;left:4px}.card-corner--bottom-right{bottom:3px;right:4px;transform:rotate(180deg)}.card-rank{font-weight:700;font-size:1em}.card-suit{font-size:.8em;margin-top:-1px}.card--small .card-corner--top-left{top:1px;left:2px}.card--small .card-corner--bottom-right{bottom:1px;right:2px}.card-center{display:flex;align-items:center;justify-content:center;flex:1}.card-center-suit{font-size:1.8em;opacity:.85}.card--small .card-center-suit{display:none}.card-joker{font-size:2em;line-height:1}.card--small .card-joker{font-size:1em}.card-joker--red{color:#d32f2f}.card-joker--black{color:#212121}.card-label{position:absolute;bottom:2px;font-size:.55em;font-weight:700;opacity:.6;font-family:sans-serif}.card--small .card-label{display:none}.game-table{min-height:calc(100vh - 112px);display:flex;flex-direction:column;background:linear-gradient(180deg,#0a5c36,#0d7a45 40%,#0e8c4e);border-radius:12px;padding:16px;color:#fff}.game-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.15);margin-bottom:16px}.game-header .ant-typography{color:#fff}.game-header .ant-btn{background:#ffffff26;border:none;color:#fff}.game-header .ant-btn:hover{background:#ffffff40;color:#fff}.game-players{display:flex;justify-content:center;gap:16px;margin-bottom:24px}.player-spot{flex:1;max-width:200px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;background:#ffffff1a;border-radius:12px;border:2px solid transparent;transition:border-color .3s}.player-spot--active{border-color:#faad14;background:#faad1426;box-shadow:0 0 20px #faad144d}.player-spot--empty{opacity:.4;border:2px dashed rgba(255,255,255,.2)}.player-avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;background:#fff3;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700}.player-avatar img{width:100%;height:100%;object-fit:cover}.player-avatar-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.player-info{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:2px}.player-info .ant-typography{color:#fff;font-size:14px}.player-cards{min-height:20px}.hand-mini{display:flex;gap:2px;align-items:center}.card-back-mini{width:16px;height:22px;background:linear-gradient(135deg,#1677ff,#0958d9);border-radius:2px;border:1px solid rgba(255,255,255,.3)}.play-area{flex:1;display:flex;align-items:center;justify-content:center;min-height:120px}.last-play{display:flex;flex-direction:column;align-items:center;gap:4px;animation:fadeIn .3s ease}.last-play-cards{display:flex;gap:4px;flex-wrap:wrap;justify-content:center}@keyframes fadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.my-hand-area{padding:16px 0 8px;border-top:1px solid rgba(255,255,255,.1)}.hand-cards{display:flex;justify-content:center;gap:0;margin-bottom:16px;flex-wrap:wrap}.hand-card-slot{margin-left:-18px;transition:transform .1s}.hand-card-slot:first-child{margin-left:0}.hand-card-slot:hover{z-index:100}.game-actions{display:flex;justify-content:center;gap:12px;margin-bottom:8px}.game-actions .ant-btn-primary{background:#faad14;border-color:#faad14;color:#000;font-weight:700}@media(max-width:768px){.game-table{border-radius:0;padding:8px}.game-players{gap:6px}.player-spot{padding:8px 4px}.hand-card-slot{margin-left:-22px}.game-actions .ant-btn{padding:4px 12px;font-size:13px}}body{margin:0;background:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}@media(max-width:480px){.username-text{display:none}}.auth-page{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.auth-card{width:420px;border-radius:12px;box-shadow:0 8px 40px #0003}.gallery-page{width:100%}.gallery-card{border-radius:12px;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}.gallery-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.gallery-img-wrapper{height:200px;overflow:hidden;background:#fafafa}.gallery-img-wrapper .ant-image{width:100%;height:100%}.gallery-img-wrapper .ant-image-img{width:100%;height:200px;object-fit:cover;transition:transform .3s ease}.gallery-card:hover .gallery-img-wrapper .ant-image-img{transform:scale(1.05)}.moments-page{max-width:800px;margin:0 auto}.moments-composer{border-radius:16px;margin-bottom:24px;box-shadow:0 2px 16px #0000000f;padding:18px 20px}.moments-file-preview{display:flex;align-items:center;gap:8px;margin-top:8px;padding:10px;background:#fafafa;border-radius:10px}.moments-empty{border-radius:16px;text-align:center;padding:64px 24px;border:none}.moments-timeline{display:flex;flex-direction:column;gap:18px}.moments-post-card{border-radius:16px;box-shadow:0 1px 6px #0000000a;transition:box-shadow .2s;padding:18px 20px}.moments-post-card:hover{box-shadow:0 2px 14px #00000012}.post-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.post-content{font-size:16px;line-height:1.8;margin-bottom:12px;white-space:pre-wrap;color:#222}.post-media{margin-bottom:10px}.post-media img,.post-media video{border-radius:12px;width:100%;object-fit:cover;max-height:520px}.post-shared-card{margin-bottom:10px;padding:12px 14px;background:#f9f9f9;border-radius:12px;border:1px solid #eee}.post-actions{display:flex;gap:4px;margin-top:4px;padding-top:10px;border-top:1px solid #f2f2f2}.post-comments{margin-top:12px;padding-top:12px;border-top:1px solid #f2f2f2}.comment-list{display:flex;flex-direction:column;gap:12px;margin-bottom:14px}.comment-item{display:flex;gap:10px;align-items:flex-start}.comment-body{flex:1}.comment-bubble{background:#f5f5f5;border-radius:18px;padding:8px 14px;display:inline-flex;flex-direction:column;gap:2px;max-width:100%;word-break:break-word}.comment-input-row{display:flex;align-items:center;gap:10px;padding:4px 0}.chat-container{display:flex;height:calc(100vh - 140px);gap:16px}.chat-sidebar{width:260px;min-width:260px;background:#fff;border-radius:12px;padding:16px;overflow-y:auto;box-shadow:0 1px 4px #0000000f}.chat-contact{transition:background .2s ease}.chat-contact:hover{background:#f5f5f5!important}.chat-contact-active{background:#e6f4ff!important;border-left:3px solid #1677ff}.chat-main{flex:1;background:#fff;border-radius:12px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 1px 4px #0000000f}.chat-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #f0f0f0;background:#fafafa}.chat-messages{flex:1;padding:20px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;background:#fafbfc}.chat-placeholder{flex:1;display:flex;align-items:center;justify-content:center}.msg-mine{align-self:flex-end;background:#1677ff;color:#fff;padding:10px 16px;border-radius:16px 16px 4px;max-width:65%;word-break:break-word;box-shadow:0 2px 6px #1677ff33}.msg-their{align-self:flex-start;background:#fff;padding:10px 16px;border-radius:16px 16px 16px 4px;max-width:65%;word-break:break-word;border:1px solid #f0f0f0;box-shadow:0 1px 3px #0000000a}.msg-mine .ant-typography{color:#fff}.chat-input-area{padding:14px 20px;border-top:1px solid #f0f0f0;display:flex;gap:10px;background:#fff}.rel-page{max-width:800px;margin:0 auto}.incoming-request-card{display:flex;background:#fff;border-radius:14px;overflow:hidden;border:1px solid #ffe7ba;box-shadow:0 2px 12px #fa8c1614;transition:box-shadow .2s,transform .2s}.incoming-request-card:hover{box-shadow:0 4px 20px #fa8c1626;transform:translateY(-1px)}.incoming-request-accent{width:5px;flex-shrink:0;background:linear-gradient(180deg,#fa8c16,#faad14);border-radius:14px 0 0 14px}.profile-page{max-width:720px;margin:0 auto}.profile-hero{position:relative;text-align:center;padding:48px 24px 32px;border-radius:16px 16px 0 0;background:linear-gradient(135deg,#667eea,#764ba2);overflow:hidden}.profile-hero-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.2) 0%,transparent 60%),radial-gradient(circle at 70% 80%,rgba(255,255,255,.08) 0%,transparent 50%)}.profile-stats-row{margin:-16px 0 24px;position:relative;z-index:2;padding:0 4px}.profile-stat-card{border-radius:12px;text-align:center;border:1px solid #f0f0f0;transition:transform .2s,box-shadow .2s}.profile-stat-card:hover{transform:translateY(-2px);box-shadow:0 6px 16px #00000014}.profile-info-card{border-radius:0 0 16px 16px;border-top:none}.profile-info-item{display:flex;align-items:flex-start;gap:16px;padding:16px 0;border-bottom:1px solid #f5f5f5}.profile-info-item:last-child{border-bottom:none}.profile-info-icon{width:40px;height:40px;border-radius:10px;background:#f0f5ff;display:flex;align-items:center;justify-content:center;font-size:18px;color:#1677ff;flex-shrink:0}.recipes-page{max-width:1100px;margin:0 auto}.recipes-banner{background:linear-gradient(135deg,#1677ff,#0958d9,#003eb3);border-radius:18px;padding:28px 32px;margin-bottom:24px;position:relative;overflow:hidden}.recipes-banner:after{content:"";position:absolute;right:-40px;top:-40px;width:200px;height:200px;border-radius:50%;background:#ffffff0f}.recipes-banner-content{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.recipes-search .ant-input-affix-wrapper{border-radius:12px;box-shadow:0 2px 12px #0000000f;border:1px solid #e8e8e8}.recipes-search .ant-input-affix-wrapper:focus-within{border-color:#1677ff;box-shadow:0 2px 16px #1677ff1f}.recipes-empty-card{border-radius:18px;text-align:center;padding:56px 24px;border:2px dashed #e8e8e8;background:#fafbfc}.recipe-card{border-radius:16px;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;border:1px solid #f0f0f0}.recipe-card:hover{transform:translateY(-5px);box-shadow:0 12px 32px #0000001a}.recipe-card .ant-card-body{padding:14px 16px}.recipe-card .ant-card-actions{border-radius:0 0 16px 16px}.recipe-card .ant-card-actions>li{margin:8px 0}.recipe-cover{height:180px;overflow:hidden;position:relative}.recipe-cover img{transition:transform .4s ease}.recipe-card:hover .recipe-cover img{transform:scale(1.06)}.recipe-cover-tag{position:absolute;top:10px;right:10px}.recipe-cover-placeholder{height:180px;background:linear-gradient(135deg,#f5f7fa,#e8edf2);display:flex;align-items:center;justify-content:center}.recipe-card-desc{min-height:20px}.recipe-card-row .recipe-cover,.recipe-card-row .recipe-cover-placeholder{height:220px}.today-menu-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;padding:10px 16px;background:#fffbf0;border-radius:10px;border:1px solid #ffe7ba}.recipe-detail-page{max-width:800px;margin:0 auto}.recipe-detail-cover-placeholder{height:200px;background:linear-gradient(135deg,#f0f5ff,#e6f7ff);border-radius:16px;display:flex;align-items:center;justify-content:center;margin-bottom:20px}.recipe-detail-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:16px}.recipe-desc{font-size:15px;line-height:1.8;color:#555;white-space:pre-wrap}.recipe-section{border-radius:14px;margin-bottom:16px;border:1px solid #f0f0f0}.ingredient-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.ingredient-item{display:flex;justify-content:space-between;padding:8px 14px;background:#fafafa;border-radius:10px}.ing-name{font-weight:500}.ing-amount{color:#888}.steps-list{display:flex;flex-direction:column;gap:16px}.step-item{display:flex;gap:14px}.step-number{width:32px;height:32px;border-radius:50%;background:#1677ff;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;flex-shrink:0}.step-content{flex:1;padding-top:4px;font-size:15px;line-height:1.7}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#bfbfbf}.countdown-page{max-width:1100px;margin:0 auto}.countdown-banner{background:linear-gradient(135deg,#ff4d4f,#f5222d,#cf1322);border-radius:18px;padding:28px 32px;margin-bottom:32px;position:relative;overflow:hidden}.countdown-banner:after{content:"";position:absolute;right:-30px;top:-30px;width:160px;height:160px;border-radius:50%;background:#ffffff14}.countdown-card{border-radius:14px;transition:transform .25s ease,box-shadow .25s ease}.countdown-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001a}.countdown-card .ant-card-body{padding:20px 16px}
