.prestige-avatar{vertical-align:middle;flex:none;width:86px;height:86px;display:inline-block;position:relative}.prestige-avatar>.video-placeholder{background:var(--theme-panel);border:1px solid #b8a16b;border-radius:50%;width:100%;height:100%;font:600 30px Georgia,serif;overflow:hidden}.prestige-avatar .player-avatar{object-fit:cover;border-radius:50%;width:100%;height:100%}.prestige-ornament{z-index:8;pointer-events:none;filter:drop-shadow(0 3px 3px #0009);width:112%;height:auto;display:block;position:absolute;top:-58%;left:50%;transform:translate(-50%)}.prestige-ornament svg{width:100%;height:auto;display:block}.prestige-ornament.is-arriving{animation:1.6s cubic-bezier(.2,.8,.2,1) both prestige-arrive}.prestige-bronze,.prestige-ribbon{width:65%;top:-28%}.prestige-laurel-silver,.prestige-laurel-gold{width:100%;top:-32%}.seat-media>.prestige-ornament{width:clamp(48px,13vw,76px);max-height:58px;top:clamp(-40px,-7vw,-28px)}.seat-media>.prestige-ornament svg{height:auto}.prestige-seat-title{color:#e6c98d;letter-spacing:.04em;font-size:9px;font-weight:600;line-height:1.5;display:block}.profile-form .profile-avatar,.player-card .profile-avatar{border:0;overflow:visible}.profile-avatar .prestige-avatar{width:100%;height:100%}.user-avatar:has(.prestige-avatar){overflow:visible}.user-avatar .prestige-avatar{width:48px;height:48px}.menu-account-avatar .prestige-ornament{display:none}.prestige-roadmap{padding:24px 0 8px}.prestige-current{background:linear-gradient(135deg,#d6b36510,#0000);border:1px solid #c2a46755;border-radius:22px;align-items:center;gap:24px;padding:40px 20px 22px;display:flex}.prestige-current small,.prestige-eyebrow{color:#d9bd7d;letter-spacing:1.8px;font-size:9px;font-weight:700}.prestige-current h2{margin:8px 0;font:600 28px Georgia,serif}.prestige-current p,.prestige-description{color:var(--theme-muted);font-size:12px;line-height:1.7}.prestige-description{margin:14px 0;display:block}.prestige-description>svg{vertical-align:middle;width:14px;height:14px}.prestige-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0;display:grid}.prestige-rank{border:1px solid var(--theme-line);background:color-mix(in srgb,var(--theme-bg) 75%,transparent);text-align:center;min-width:0;color:var(--theme-text);border-radius:18px;padding:14px 10px 18px;position:relative}.prestige-rank.is-earned{border-color:#d8b76c66}.prestige-rank.is-current{border-color:#dfc17b;box-shadow:inset 0 0 24px #d9b86a0c}.prestige-rank-number{text-align:left;color:var(--theme-muted);letter-spacing:2px;font-size:9px;display:block}.prestige-rank-art{place-items:end center;height:100px;margin-bottom:14px;display:grid}.prestige-rank-art .prestige-avatar{width:62px;height:62px}.prestige-rank strong{font-size:13px;display:block}.prestige-rank small{color:var(--theme-muted);margin:7px 0 12px;font-size:11px;display:block}.prestige-rank-state{color:#d9bd7d;justify-content:center;align-items:center;gap:5px;font-size:9px;display:flex}.prestige-rank-state svg{width:12px;height:12px}.prestige-dialog{text-align:center;color:#f8efd9;background:radial-gradient(at 50% 25%,#344b3c,#101a17 75%);border:1px solid #e0bf77;border-radius:24px;width:min(92vw,440px);max-height:calc(100dvh - 32px);padding:44px 28px 28px;position:fixed;overflow:auto;box-shadow:0 24px 100px #0009}.prestige-dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#050b0bd9}.prestige-close{color:#ddd;padding:8px;position:absolute;top:10px;right:10px}.prestige-close svg{width:20px;height:20px}.prestige-presentation{background:radial-gradient(#d8b76c20,#0000 65%);place-items:center;height:220px;margin-top:18px;display:grid}.prestige-presentation .prestige-avatar{width:132px;height:132px}.prestige-presentation .video-placeholder{font-size:48px}.prestige-dialog h1{margin:14px 0;font:500 34px/1.2 Georgia,serif}.prestige-dialog h2{color:#e9c87c;margin:0 0 18px;font:500 30px/1.2 Georgia,serif}.prestige-dialog p{color:#d4d8cb;font-size:12px;line-height:1.8}.prestige-dialog>.primary{color:#1b211b;background:#e9c87c;width:100%;min-height:48px;margin-top:16px}.prestige-sparks{pointer-events:none;position:absolute;inset:0;overflow:hidden}.prestige-sparks i{background:#f7d887;border-radius:50%;width:3px;height:3px;animation:2.3s ease-out both prestige-spark;position:absolute;top:12%}@keyframes prestige-arrive{0%{opacity:0;transform:translate(-50%,-110px)rotate(-16deg)scale(1.25)}60%{opacity:1;transform:translate(-50%,3px)rotate(3deg)scale(1)}80%{transform:translate(-50%,-4px)rotate(-1deg)}to{opacity:1;transform:translate(-50%)rotate(0)}}@keyframes prestige-spark{0%{opacity:0;translate:0}25%{opacity:1}to{opacity:0;translate:0 360px}}@media (max-width:360px){.prestige-current{gap:16px;padding-left:14px}.prestige-current h2{font-size:24px}.prestige-rank strong{font-size:12px}}@media (prefers-reduced-motion:reduce){.prestige-ornament.is-arriving,.prestige-sparks i{animation:none}.prestige-sparks{display:none}}.prestige-profile-title{text-align:center;color:#e9c87c;letter-spacing:.08em;margin:0;font-size:12px}.prestige-ornament{opacity:1;filter:drop-shadow(0 2px 1px #07101fe6)drop-shadow(0 0 3px #ffe29935)}.prestige-ornament svg{opacity:1;overflow:visible}.profile-form .profile-avatar,.player-card .profile-avatar{isolation:isolate;margin:64px auto 0;overflow:visible}.profile-form .prestige-avatar,.player-card .prestige-avatar{overflow:visible}.prestige-current{padding-top:64px;overflow:visible}.profile-form,.player-card{flex-shrink:0}.profile-form{flex-basis:auto;min-height:min-content}.profile-form .profile-avatar{flex-shrink:0}.progression-panel{--reward-gold:var(--theme-accent);width:100%;padding-bottom:24px}.progression-hero{border:1px solid color-mix(in srgb,var(--reward-gold) 30%,transparent);background:radial-gradient(ellipse at 85% 0%,color-mix(in srgb,var(--theme-accent) 14%,transparent),transparent 60%),linear-gradient(145deg,var(--theme-panel),var(--theme-bg));color:var(--theme-text);border-radius:24px;padding:24px;position:relative;overflow:hidden}.progression-hero:after{content:"♠";color:color-mix(in srgb,var(--theme-accent) 4%,transparent);pointer-events:none;font:180px Georgia;position:absolute;top:70px;right:-10px}.progression-hero-top{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.progression-eyebrow{letter-spacing:1.8px;color:var(--reward-gold);font-size:10px;font-weight:800}.coin-wallet{color:var(--reward-gold);white-space:nowrap;grid-template-columns:20px auto;gap:3px 7px;font-size:24px;font-weight:800;display:grid}.coin-wallet svg{align-self:center;width:20px}.coin-wallet small{letter-spacing:1px;grid-column:2;font-size:8px}.progression-rank-icon{border:1px solid color-mix(in srgb,var(--theme-accent) 25%,transparent);width:64px;height:64px;color:var(--reward-gold);background:color-mix(in srgb,var(--theme-accent) 5%,transparent);border-radius:20px;place-items:center;margin:14px 0 20px;display:grid;transform:rotate(-6deg)}.progression-rank-icon svg{width:32px;height:32px}.progression-level{letter-spacing:2px;font-weight:800;color:var(--reward-gold)!important;margin:0!important;font-size:10px!important}.progression-hero h2{margin:8px 0;font-family:Playfair Display,Georgia,serif;font-size:clamp(28px,6vw,38px);line-height:1.2}.progression-hero>p{color:var(--theme-muted);font-size:12px;line-height:1.65}.rank-track,.achievement-track{background:#ffffff12;border-radius:20px;height:6px;overflow:hidden}.rank-track{margin-top:24px}.rank-track>span,.achievement-track>span{border-radius:inherit;background:linear-gradient(90deg,color-mix(in srgb,var(--theme-accent) 70%,var(--theme-bg)),var(--theme-accent));height:100%;transition:width .4s;display:block}.rank-caption{color:var(--theme-muted);justify-content:space-between;gap:12px;margin-top:9px;font-size:10px;display:flex}.rank-caption b{color:var(--reward-gold)}.progression-numbers{border-top:1px solid color-mix(in srgb,var(--theme-line) 35%,transparent);grid-template-columns:repeat(3,1fr);gap:10px;margin-top:24px;padding-top:20px;display:grid}.progression-numbers>div{gap:5px;display:grid}.progression-numbers b{font-size:24px}.progression-numbers span{color:var(--theme-muted);font-size:10px}.achievement-tabs{background:0 0;border:0;border-radius:0;gap:6px;margin:24px 0;padding:5px;display:flex}.achievement-tabs button{color:var(--theme-muted);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:1;justify-content:center;align-items:center;gap:8px;padding:12px 8px;font-size:13px;display:flex}.achievement-tabs button[aria-selected=true]{color:var(--theme-accent);border-bottom-color:var(--theme-accent);background:0 0}.achievement-tabs svg{width:17px;height:17px}.achievement-section-title{justify-content:space-between;align-items:center;gap:12px;margin:22px 0 14px;display:flex}.achievement-section-title h2{margin:0;font-size:18px}.achievement-section-title>span{color:var(--theme-muted);font-size:12px}.achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.achievement-card{border:1px solid var(--theme-line);background:var(--theme-bg);border-radius:17px;align-items:flex-start;gap:12px;min-width:0;padding:18px 14px;display:flex;position:relative}.achievement-card.is-earned{border-color:color-mix(in srgb,var(--theme-accent) 40%,var(--theme-line));background:color-mix(in srgb,var(--theme-accent) 5%,var(--theme-bg))}.achievement-icon{width:42px;height:42px;color:var(--theme-muted);background:var(--theme-panel);border-radius:13px;flex-shrink:0;place-items:center;display:grid}.achievement-icon svg{width:21px;height:21px}.is-earned .achievement-icon{color:var(--theme-accent);background:color-mix(in srgb,var(--theme-accent) 12%,var(--theme-bg))}.achievement-card>div{flex:1;min-width:0}.achievement-state{letter-spacing:1px;color:var(--theme-muted);font-size:8px;font-weight:800}.is-earned .achievement-state{color:var(--theme-accent)}.achievement-card h3{margin:6px 0 8px;padding-right:9px;font-size:14px;line-height:1.4}.achievement-card p{color:var(--theme-muted);min-height:35px;margin:0 0 16px;font-size:11px;line-height:1.6}.achievement-card small{text-align:right;color:var(--theme-muted);margin-top:6px;font-size:10px;display:block}.achievement-lock{width:12px;height:12px;color:var(--theme-muted);position:absolute;top:14px;right:12px}.duo-summary{border:1px solid var(--theme-line);background:var(--theme-panel);border-radius:17px;padding:20px}.duo-summary label{margin-top:14px;font-size:12px}.duo-summary select{color:var(--theme-text);margin-top:3px}.duo-summary h3{margin:12px 0;font-size:20px}.duo-summary p{color:var(--theme-muted);margin-bottom:0;font-size:12px;line-height:1.8}.duo-summary b{color:var(--theme-text)}.progression-note{border-top:1px solid var(--theme-line);color:var(--theme-muted);align-items:flex-start;gap:12px;margin-top:24px;padding-top:18px;display:flex}.progression-note svg{flex-shrink:0;width:18px;height:18px;margin-top:3px}.progression-note p{margin:0;font-size:11px;line-height:1.8}.recent-rewards{background:color-mix(in srgb,var(--theme-accent) 8%,var(--theme-bg));border:1px solid var(--theme-accent);border-radius:16px;gap:12px;margin-top:16px;padding:18px;display:flex}.recent-rewards>svg{width:22px;color:var(--theme-accent);flex-shrink:0}.recent-rewards strong{font-size:13px}.recent-rewards p{color:var(--theme-accent);margin:8px 0 0;font-size:12px}.new-achievement{margin-top:8px;font-size:11px;display:block}.progression-empty,.progression-loading{text-align:center;padding:32px 12px}.progression-empty>svg{color:var(--theme-accent);width:40px;height:40px}.progression-empty h2{font-size:22px}.progression-empty p{color:var(--theme-muted);font-size:13px;line-height:1.7}.progression-dialog{overscroll-behavior:contain;border:1px solid var(--theme-line);background:var(--theme-bg);width:min(760px,100% - 24px);max-height:calc(100dvh - 40px);color:var(--theme-text);border-radius:24px;padding:56px 20px 10px;overflow:auto}.progression-dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#000b}.progression-close{background:var(--theme-panel);border:0;padding:7px;position:absolute;top:12px;right:12px}.progression-close svg{width:18px;height:18px}.match-rewards-trigger{right:16px;top:calc(env(safe-area-inset-top,0px) + 68px);z-index:18;color:var(--theme-accent);background:var(--theme-bg);border:1px solid var(--theme-accent);align-items:center;gap:8px;padding:9px 12px;font-size:17px;display:flex;position:fixed;box-shadow:0 4px 20px #0003}.match-rewards-trigger svg{width:21px}.match-rewards-trigger small{color:var(--theme-muted);margin-top:3px;font-size:9px;display:block}.player-honor{white-space:nowrap;pointer-events:none;background:var(--theme-bg);color:var(--theme-accent);border:1px solid color-mix(in srgb,var(--theme-accent) 45%,transparent);z-index:6;border-radius:20px;justify-content:center;align-items:center;gap:4px;max-width:170px;padding:4px 7px;font-size:9px;font-weight:800;display:flex;position:absolute;bottom:calc(100% + 5px);left:50%;transform:translate(-50%)}.player-honor svg{flex-shrink:0;width:11px;height:11px}.self-avatar .player-honor{font-size:8px;bottom:calc(100% + 3px)}.honor-champion{color:#f1cc78;background:#183029;border-color:#f1cc7860}.honor-duo{color:var(--theme-text)}@media (max-width:520px){.achievement-grid{grid-template-columns:1fr}.progression-hero{padding:20px}.progression-hero-top>.progression-eyebrow{max-width:140px;line-height:1.7}.achievement-card p{min-height:0}.achievement-card{padding:16px}.progression-dialog{padding:52px 12px 0}.rank-caption{font-size:9px}.player-honor{padding:3px 5px;font-size:8px}.match-rewards-trigger{top:calc(env(safe-area-inset-top,0px) + 58px);padding:7px 9px;right:10px}}@media (prefers-reduced-motion:reduce){.rank-track>span,.achievement-track>span{transition:none}}.progression-hero .rank-track{background:color-mix(in srgb,var(--theme-line) 35%,transparent)}.simple-achievements .progression-hero>h2{margin:14px 0 0;font-size:52px}.simple-achievements .progression-numbers{grid-template-columns:1fr 1fr}.simple-achievements .progression-numbers>div{min-width:0}.simple-achievements .progression-numbers b{overflow-wrap:anywhere;font-size:20px}.simple-rules-details{border-top:1px solid var(--theme-line);color:var(--theme-muted);padding:16px 0;font-size:13px;line-height:1.7}.simple-rules-details summary{cursor:pointer;color:var(--theme-text);font-weight:700}.simple-rules-details p{margin:12px 0}.card-back-art .card-back-base{fill:var(--theme-card-base,#123e30)}.card-back-art .card-back-stripe{fill:var(--theme-card-stripe,#215440)}.card-back-art .card-back-frame{stroke:var(--theme-accent,#e9c87c)}.hall-card-ornament,.hall-back-ornament{fill:none;opacity:0;pointer-events:none}.room-view[data-hall=classic] .hall-card-ornament{opacity:.35;stroke:#c6aa65;stroke-width:.65px}.room-view[data-hall=classic] .hall-back-ornament{opacity:.85;stroke:#e9c87c;stroke-width:1px}.royal-wordmark{vertical-align:middle;width:min(100%,320px);max-width:100%;line-height:1;display:inline-block}.royal-wordmark img{filter:drop-shadow(0 3px 12px #c5a15a20);width:100%;height:auto;display:block}.screen-menu .royal-welcome .royal-title:has(.royal-wordmark){letter-spacing:0;justify-content:center;align-items:center;line-height:1;display:flex}.game-feedback-layer{z-index:24;pointer-events:none;position:fixed;inset:0;overflow:hidden}.feedback-burst{pointer-events:none;position:absolute;inset:0}.round-spark{background:var(--color);opacity:0;border-radius:50%;width:5px;height:5px;animation:ease-out both round-spark-out;position:absolute;top:46%;left:50%}.round-win-ring{border:2px solid color-mix(in srgb,var(--theme-accent) 50.2%,transparent);border-radius:50%;width:120px;height:120px;animation:1.1s ease-out both round-ring-out;position:absolute;top:46%;left:50%}.game-loss-vignette{background:radial-gradient(ellipse at 50% 46%,transparent 25%,color-mix(in srgb,var(--theme-bg) 54.9%,transparent) 100%);animation:3s ease-out both loss-vignette;position:absolute;inset:0}.loss-suit{left:var(--suit-x);color:color-mix(in srgb,var(--theme-muted) 20%,transparent);font-family:Georgia,serif;font-size:clamp(30px,6vw,64px);animation:2.4s ease-out both loss-suit-fall;position:absolute;top:32%}.round-outcome>strong{text-wrap:balance;justify-content:center;align-items:center;gap:6px;display:flex}.round-outcome>strong>svg{stroke-width:1.8px;flex:none;width:18px;height:18px}.room-view .round-outcome>span{color:var(--theme-muted);text-wrap:balance;font-size:11px;line-height:1.4}.room-view .round-outcome:is(.outcome-round-loss,.outcome-game-loss)>strong{color:var(--theme-muted)}.room-view[data-feedback=round-win] .round-outcome,.room-view[data-feedback=game-win] .round-outcome{animation:.5s cubic-bezier(.2,.7,.3,1) both outcome-rise}.room-view[data-feedback=round-win] .score,.room-view[data-feedback=game-win] .score{animation:1.2s ease-out both winning-score}.room-view[data-feedback=round-loss] .table-center{animation:.4s ease-out both round-loss-shake}.room-view[data-feedback=game-loss] .round-outcome{animation:.8s ease-out both loss-outcome-rise}@keyframes round-spark-out{0%{opacity:0;transform:translate(-50%,-50%)scale(.5)}15%{opacity:1}to{transform:translate(var(--spark-x),var(--spark-y)) scale(.2);opacity:0}}@keyframes round-ring-out{0%{opacity:0;transform:translate(-50%,-50%)scale(.45)}20%{opacity:.8}to{opacity:0;transform:translate(-50%,-50%)scale(2.6)}}@keyframes winning-score{0%,to{filter:drop-shadow(0 0 #0000)}35%{filter:drop-shadow(0 0 10px var(--theme-accent))}}@keyframes outcome-rise{0%{opacity:0;translate:0 8px;scale:.97}to{opacity:1;translate:0;scale:1}}@keyframes round-loss-shake{0%,to{translate:0}25%{translate:-4px}55%{translate:3px}80%{translate:-1px}}@keyframes loss-vignette{0%{opacity:0}35%,65%{opacity:1}to{opacity:0}}@keyframes loss-suit-fall{0%{opacity:0;translate:0 -10px;rotate:-8deg}25%{opacity:1}to{opacity:0;translate:0 110px;rotate:10deg}}@keyframes loss-outcome-rise{0%{opacity:0;translate:0 -6px}to{opacity:1;translate:0}}@media (max-width:650px){.round-outcome>strong>svg{width:15px;height:15px}}@media (prefers-reduced-motion:reduce){.feedback-burst{display:none}.room-view[data-feedback] :is(.round-outcome,.score,.table-center){animation:none}}.room-view .round-outcome>.round-points{color:var(--theme-text);text-align:center;font-size:clamp(24px,6vw,36px);font-weight:750;line-height:1.1}@media (max-height:500px) and (orientation:landscape){.room-view .round-outcome>.round-points{font-size:24px}}.number-confetti-layer{z-index:180;pointer-events:none;position:fixed;inset:0;overflow:hidden}.number-confetti-particle{pointer-events:none;opacity:0;animation:3.6s ease-in both number-confetti-fall;display:block;position:absolute}.number-confetti-particle svg{width:100%;height:100%;display:block;overflow:visible}.number-confetti-particle text{fill:currentColor;text-anchor:middle;font-variant-numeric:lining-nums tabular-nums;font:600 64px Playfair Display,Georgia,serif}@keyframes number-confetti-fall{0%{opacity:0;transform:translate(-50%,-50%) rotate(var(--number-angle)) scale(var(--number-start-scale))}8%{opacity:1}20%{opacity:1;color:var(--theme-accent);transform:translate(-50%,-50%) translate3d(calc(var(--number-spread) * .25),-44px,0) rotate(var(--number-angle)) scale(var(--number-peak-scale));animation-timing-function:ease-out}38%{opacity:1;color:var(--theme-accent);transform:translate(-50%,-50%) translate3d(var(--number-spread),var(--number-lift),0) rotate(calc(var(--number-angle) + 35deg)) scale(var(--number-scatter-scale));animation-timing-function:ease-in}85%{opacity:.85;color:var(--theme-accent)}to{opacity:0;color:var(--theme-accent);transform:translate(-50%,-50%) translate3d(var(--number-fall-x),var(--number-fall-y),0) rotate(var(--number-turn)) scale(.65)}}@media (prefers-reduced-motion:reduce){.number-confetti-layer{display:none}.number-confetti-particle{animation:none}}.media-connection-status{text-align:center;flex-wrap:wrap;justify-content:center}.media-connection-status[data-media-connection=failed]{background:var(--theme-bg);border-color:color-mix(in srgb,var(--theme-danger-text) 33.33%,transparent);color:var(--theme-danger-text)}.media-connection-status .media-retry{background:#ffffff14;border-radius:999px;width:auto;min-width:44px;min-height:32px;padding:5px 10px;font-size:12px}.media-connection-status .media-retry:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
