/* Il Circolo: a wider cast, personal tables and a room full of memories. */
.expanded-topbar .brand{flex-shrink:0}.expanded-topbar .brand>span:last-child{white-space:nowrap}
.back-stars{background-image:radial-gradient(circle,#f0deab99 0 1px,transparent 1.5px)!important;background-size:11px 13px!important}.back-weave{background-image:repeating-linear-gradient(45deg,transparent 0 4px,#ebd49d66 4px 5px),repeating-linear-gradient(-45deg,transparent 0 4px,#ebd49d66 4px 5px)!important}.back-royal .back-inner{border:2px double #edca73}.back-geometric{background-image:repeating-conic-gradient(from 45deg,#ecd99b44 0 25%,transparent 0 50%)!important;background-size:13px 13px!important}.back-botanical .back-flower{font-size:20px}
.expanded-topbar{max-width:1320px}.expanded-topbar nav{gap:20px}.nav-link{font-size:12px;background:none;padding:12px 0;position:relative;color:#808372}.nav-link:hover,.nav-link.active{color:var(--ink)}.nav-link.active:after{content:"";height:2px;background:var(--gold);position:absolute;bottom:4px;left:0;right:0}.profile-button{display:flex;align-items:center;gap:8px;background:none;padding:3px}.profile-button>span{width:34px;height:34px;border:1px solid #baa46d;border-radius:50%;display:grid;place-items:center;font:22px Georgia;color:#9f7f39}.profile-button small{font-size:11px;max-width:85px;overflow:hidden;text-overflow:ellipsis}.expanded-topbar .icon-button{margin-left:0!important}.expanded-lobby{max-width:1190px;padding:0 28px;margin:auto}.expanded-lobby .lobby-intro{padding:37px 0 30px}.expanded-lobby .lobby-intro h1{font-size:54px}.section-label{display:flex;justify-content:space-between;align-items:center;color:#a5997b;font-size:10px;letter-spacing:1.8px;margin:13px 0 17px}.section-label b{font-weight:600;color:#5e6b58;margin-left:8px}.section-label small{letter-spacing:0;font-size:11px;color:#888b78}.cast-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.cast-card .portrait-wrap{height:202px}.cast-card .person-copy{padding:17px 17px 16px}.cast-card .person-copy h2{font-size:28px;margin:0 0 10px}.cast-card .person-copy h2 span{display:block;font-size:13px;margin:3px 0 0;letter-spacing:0}.cast-card .person-copy p{font-size:11px;line-height:1.65;min-height:54px}.cast-card .level-badge{font-size:9px;padding:5px 8px;left:13px;bottom:12px}.character-pin{position:absolute;bottom:20px;right:18px;color:#edd18b;font-size:27px;z-index:2;filter:drop-shadow(0 2px 3px #0008)}.setup-panel{display:grid;grid-template-columns:1.25fr 1fr 1fr;border:1px solid var(--line);border-radius:8px;background:#faf7ef;margin-top:28px;overflow:hidden}.difficulty-picker{padding:23px}.difficulty-picker .section-label{margin:0 0 13px}.difficulty-picker p{font-size:10px;line-height:1.6;color:#858875;margin-top:11px}.segmented{display:inline-flex;padding:4px;background:#e9e9dc;border-radius:5px;gap:3px;max-width:100%}.segmented button{background:none;padding:9px 13px;font-size:11px;border-radius:3px;color:#7a806c;white-space:nowrap}.segmented button.chosen{background:var(--paper-light);color:var(--ink);box-shadow:0 1px 5px #35422414}.segmented button:hover{color:var(--ink)}.setup-choice{background:none;border-left:1px solid var(--line);padding:21px 18px;display:flex;align-items:center;gap:16px;text-align:left}.setup-choice:hover{background:#efefdf}.setup-choice>span:last-child{display:flex;flex-direction:column;gap:6px}.setup-choice small{font-size:8px;letter-spacing:1.1px;color:#969077}.setup-choice strong{font:24px var(--serif)}.setup-choice em{font:10px var(--sans);font-style:normal;color:#8e9279;display:flex;gap:7px;align-items:center}.setup-choice em svg{height:14px;width:14px}.mini-card-fan{width:86px;height:87px;display:block;position:relative;flex-shrink:0}.mini-card-fan>span{width:48px;position:absolute;left:calc(var(--i)*17px);top:calc(var(--i)*3px);transform:rotate(calc((var(--i) - 1)*12deg));filter:drop-shadow(0 2px 2px #403c2922)}.table-swatch{display:grid;place-items:center;width:76px;height:83px;border:5px solid #7a6547;border-radius:24px 24px 20px 20px;flex-shrink:0;box-shadow:inset 0 0 0 1px #d8bd7155}.table-swatch i{font:28px Georgia;color:#ddcb8d77}.play-options{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:26px}.option-help{font:italic 12px var(--serif);color:#858774;max-width:300px;line-height:1.6}.inline-select{font-size:11px;color:#7d836e;display:flex;gap:8px;align-items:center}.inline-select select{background:none;border:1px solid #c9ceb9;border-radius:4px;padding:6px;color:var(--ink)}.expanded-lobby .start-area{margin-top:25px}.expanded-lobby .lobby-note{margin:22px 0 30px}.painted-portrait{transition:transform .6s}.avatar{position:relative}.avatar-pin{position:absolute;bottom:3px;right:5px;color:#f1d48b;filter:drop-shadow(0 1px 2px #000);font-size:17px}.expanded-lobby .notice{margin-bottom:25px}

/* Every table has its own material, rather than a recolored sheet of felt. */
.theme-circolo{background-color:#24533f;background-image:radial-gradient(ellipse at 50% 30%,#34705277,transparent 75%),repeating-linear-gradient(0deg,transparent 0 3px,#c3ddb008 3px 4px)}
.theme-salotto{background-color:#622d40;background-image:radial-gradient(ellipse at 50% 30%,#a6535b55,transparent 80%),repeating-linear-gradient(90deg,#230b1a0d 0 2px,#df879008 2px 5px)}
.theme-taverna{background-color:#70442b;background-image:radial-gradient(ellipse at 25% 48%,transparent 0 17px,#351e172b 18px 20px,transparent 21px 28px,#b3784733 30px 32px,transparent 34px),repeating-linear-gradient(1deg,#a66c3a15 0 2px,#3d211522 3px 5px,transparent 6px 19px),repeating-linear-gradient(90deg,transparent 0 22%,#27181066 22.1% 22.4%,#c28d5730 22.5% 22.7%)}
.theme-terrazza{background-color:#245b64;background-image:linear-gradient(#0f3c444d,#0d3b4255),repeating-conic-gradient(from 45deg,#a3b9a933 0% 25%,transparent 0% 50%);background-size:auto,62px 62px}
.theme-mezzanotte{background-color:#192b46;background-image:radial-gradient(ellipse at 50% 35%,#3e568377,transparent 70%),repeating-linear-gradient(45deg,transparent 0 9px,#a5c1de08 10px 11px)}
.theme-nonno{background-color:#633d35;background-image:linear-gradient(#42271d44,#42271d44),repeating-linear-gradient(0deg,#e0cb9b33 0 22px,transparent 22px 44px),repeating-linear-gradient(90deg,#d7c7a944 0 22px,transparent 22px 44px)}
.theme-giardino{background-color:#3a5943;background-image:radial-gradient(ellipse at 10% 30%,#afc48822,transparent 45%),repeating-linear-gradient(135deg,#4e734d11 0 7px,#718c5715 8px 10px)}
.theme-spazio{background-color:#141c38;background-image:radial-gradient(ellipse at 80% 15%,#71496955,transparent 48%),radial-gradient(ellipse at 10% 80%,#33657f55,transparent 45%),radial-gradient(circle at 25% 30%,#fff8d5bb 0 1px,transparent 1.5px),radial-gradient(circle at 75% 65%,#d5eaff99 0 1px,transparent 1.5px);background-size:auto,auto,97px 139px,151px 109px}
.theme-aurora{background-color:#524155;background-image:radial-gradient(ellipse at 20% 0%,#d3ab7d55,transparent 65%),linear-gradient(120deg,transparent 25%,#9b64772b 40%,#b19b8e33 50%,transparent 65%)}
.theme-biblioteca{background-color:#4e3c32;background-image:repeating-linear-gradient(1deg,#bd8b5514 0 2px,transparent 2px 9px),radial-gradient(ellipse at 50% 20%,#a68b5222,transparent 75%)}
.game-table[class*="theme-"]{background-size:auto}.game-table.theme-spazio{background-size:auto,auto,97px 139px,151px 109px;border-color:#3f4a60;box-shadow:0 0 0 1px #a9bfd4,inset 0 0 0 2px #8a9cb955,inset 0 0 65px #050c2699,0 18px 35px #18233355}.game-table.theme-terrazza{background-size:auto,62px 62px;border-color:#d0bf95;box-shadow:0 0 0 1px #8a8266,inset 0 0 0 2px #bec7b077,inset 0 0 50px #082a3d66,0 18px 35px #2a321b24}.game-table.theme-mezzanotte{border-color:#34343a}.game-table.theme-salotto{border-color:#4c302d}.game-table.theme-taverna{border-color:#473022;border-radius:44px}.game-table.theme-nonno{border-color:#775236;border-radius:36px}.game-table.theme-giardino{border-color:#6b7850}.environment-details{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;z-index:-1}.theme-giardino .environment-details i{position:absolute;width:95px;height:190px;border-radius:100% 0 100% 0;background:repeating-linear-gradient(45deg,transparent 0 14px,#c8d59311 14px 16px),linear-gradient(45deg,#4b6a2d88,#abb58d22);top:-40px;right:12px;transform:rotate(35deg)}.theme-giardino .environment-details i:nth-child(2){top:auto;bottom:-70px;left:2%;transform:rotate(-70deg)}.theme-giardino .environment-details i:nth-child(3){right:-30px;top:45%;transform:rotate(130deg);opacity:.4}.theme-spazio .environment-details i{position:absolute;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#b09c6655,#30395d44 55%,#09142e22);right:-30px;top:22%;box-shadow:0 0 40px #7496ac22}.theme-spazio .environment-details i:nth-child(2){width:220px;height:50px;border:1px solid #9eabcb22;background:none;transform:rotate(-25deg);right:-70px;top:27%}.theme-biblioteca .environment-details{border-left:12px solid #a4805133;border-right:12px solid #a4805133}.game-table.theme-nonno:after,.game-table.theme-taverna:after,.game-table.theme-spazio:after,.game-table.theme-terrazza:after{background:none}.theme-spazio .table-emblem{color:#a9b8d9}.theme-terrazza .table-emblem{color:#e8d9ab}.game-table.theme-aurora:before{border-color:#ddc6ac66}.table-preview{height:112px;border:6px solid #726043;border-radius:35px 35px 28px 28px;display:grid;place-items:center;box-shadow:inset 0 0 0 1px #d2c08b77}.table-preview i{font:40px Georgia;color:#d7c78b77}.theme-spazio.table-preview,.theme-spazio.table-swatch{background-size:auto,auto,33px 29px,45px 35px;border-color:#526179}.theme-terrazza.table-preview{background-size:auto,25px 25px;border-color:#c1b590}.theme-nonno.table-preview,.theme-taverna.table-preview{border-radius:14px}.theme-giardino.table-preview{border-color:#7b885a}

/* Stable table geometry; only the motion controller animates cards. */
.hand-card,.played-card{animation:none!important}.game-table .opponent-seat{min-width:340px;top:25px}.game-table .avatar{width:80px;height:80px;overflow:visible;border:0;background:none;box-shadow:none}.avatar .painted-portrait{border-radius:50%;border:2px solid #bba269;overflow:hidden}.game-table .speech-bubble{top:116px}.game-table .opponent-hand{top:145px}.game-table .hidden-card{height:69px;width:47px}.game-table .played-cards{top:35%;height:150px}.game-table .turn-status{bottom:35.5%}.game-table .human-hand{bottom:80px}.game-table .hand-card{width:99px}.game-table .human-seat{bottom:22px}.table-tools{display:flex;gap:18px;align-items:center}.table-tools .text-button{font-size:10px;gap:4px}.table-tools .text-button svg{width:14px;height:14px}.table-bottomline{gap:12px;flex-wrap:wrap}.save-indicator{font-size:8px}.game-layout .keyboard-hint{font-size:8px}.challenge-objective,.hint-panel{border:1px solid #d9d5bd;background:#f7f3e7;border-radius:6px;color:#6d775e;padding:13px 18px;font-size:12px;margin:8px 0 18px}.challenge-objective{display:flex;gap:10px;align-items:center}.challenge-objective svg{width:20px;height:20px;flex-shrink:0}.hint-panel strong{color:var(--ink)}.hint-panel p{margin-top:7px;line-height:1.8}.suggested-card{outline:3px solid #e1bd65!important;outline-offset:4px;transform:translateY(-10px)!important}.flying-card{filter:drop-shadow(0 8px 7px #09251e55);border-radius:6px}.flying-card>.card-face,.flying-card>.card-back{width:100%;height:100%}.flying-card>.card-face,.flying-card svg[overflow="hidden"]{overflow:hidden}.zoom-cards{display:flex;gap:18px;align-items:flex-start;justify-content:center}.zoom-cards>div{width:140px;text-align:center}.zoom-cards strong{display:block;font-size:11px;margin-top:10px}.avatar.mood-happy{animation:happy .65s ease}.avatar.mood-surprised{animation:surprise .6s ease}

/* Rooms, profiles, tournaments and collections. */
.hub-page{max-width:1130px;margin:auto;padding:38px 28px 55px}.page-heading{text-align:center;margin:4px 0 35px}.page-heading h1{font:49px/1.1 var(--serif);letter-spacing:-1.8px;margin:17px 0}.page-heading h1 em{font-weight:400;color:#59714f}.page-heading p{font-size:13px;color:#878975;line-height:1.8;max-width:630px;margin:auto}.hub-page h2{font:29px var(--serif);letter-spacing:-.7px}.active-tournament{display:grid;grid-template-columns:1fr auto;gap:20px;border:1px solid #bbc8ac;background:#edf0df;padding:25px;border-radius:8px;margin-bottom:30px;align-items:center}.active-tournament h2{margin:8px 0}.active-tournament p{font-size:12px;color:#7f866f}.active-tournament .leaderboard-scroll,.active-tournament>.fine-print{grid-column:1/-1}.tournament-builder{padding:30px;background:#fcf9f1;border:1px solid var(--line);border-radius:8px}.builder-heading{display:flex;gap:14px;align-items:center;margin:0 0 22px}.builder-heading:not(:first-child){margin-top:30px}.step-number{height:35px;width:35px;border:1px solid #c5b78c;border-radius:50%;display:grid;place-items:center;font:17px var(--serif);color:#9c844a;flex-shrink:0}.builder-heading h2{font-size:26px}.builder-heading p{font-size:11px;color:#8b8c77;line-height:1.7;margin-top:5px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.form-grid label,.profile-form label{display:flex;flex-direction:column;gap:9px;font-size:11px;color:#78816c}.form-grid input,.form-grid select,.profile-form input,.profile-form select{min-width:0;max-width:100%;width:100%;border:1px solid #d4d5bf;background:#fffdf7;border-radius:4px;padding:11px 12px;color:var(--ink);font:12px var(--sans);height:40px}.check-options{display:flex;gap:24px;margin-top:23px;flex-wrap:wrap}.check-options label{display:flex;gap:8px;align-items:center;font-size:11px;color:#6e7b61}.check-options input,.rival-picker input{accent-color:#496644}.rival-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.rival-picker label{display:flex;align-items:center;gap:9px;cursor:pointer;padding:10px;border:1px solid #dce0cb;background:#f6f5e9;border-radius:5px}.rival-picker label:has(input:checked){border-color:#7f9971;background:#e9edda}.rival-picker input{width:14px;height:14px;margin:0}.rival-portrait{display:block;width:44px;height:44px;border-radius:50%;overflow:hidden;flex-shrink:0;border:1px solid #c4b385}.rival-picker label>span:last-child{font:17px var(--serif)}.rival-picker small{font:8px var(--sans);display:block;color:#83876d;margin-top:4px}.tournament-prize-preview{display:flex;gap:14px;align-items:center;padding:18px;background:#f0e9d7;border:1px solid #e2d8bd;border-radius:5px;margin-top:25px;color:#8e8059;font-size:11px;line-height:1.8}.tournament-prize-preview>svg{width:29px;height:29px;flex-shrink:0}.tournament-prize-preview strong{display:block;color:#716644}.form-actions{display:flex;gap:15px;align-items:center;margin-top:10px}.form-error{color:#a34935;font-size:12px;line-height:1.7;margin:13px 0}.saved-formats,.completed-ranking{margin-top:30px}.saved-formats h2{margin-bottom:15px}.saved-formats button{margin:0 10px 10px 0}.leaderboard-scroll{max-width:100%;overflow-x:auto}.leaderboard{width:100%;border-collapse:collapse;min-width:410px;font-size:12px;text-align:left}.leaderboard th,.leaderboard td{padding:12px 10px;border-bottom:1px solid #d9ddc6}.leaderboard thead th{font-size:9px;letter-spacing:1px;font-weight:500;color:#8c8b70;text-transform:uppercase}.leaderboard tbody th{font-weight:500;white-space:nowrap}.leaderboard tr.is-you{background:#dce6cd;color:#355139}.leaderboard td strong{font-weight:600;color:#50693e}.fine-print{font-size:10px;color:#929078;line-height:1.8;margin-top:14px}.completed-ranking h2{margin-bottom:15px}.career-track{max-width:900px;margin:auto;display:flex;flex-direction:column;gap:12px;position:relative}.career-stop{position:relative;display:flex;gap:16px;align-items:center;border:1px solid var(--line);border-radius:7px;padding:17px 20px;background:#faf8ee;z-index:1}.career-stop .career-number{font:20px var(--serif);color:#aca077;width:25px;flex-shrink:0}.career-stop.current{background:#e8eedb;border-color:#a8ba8e;box-shadow:0 5px 18px #5d6b3b0a}.career-stop.complete{background:#f0f1e5}.career-stop.locked{opacity:.65}.career-stop h2{font-size:24px}.career-stop h2 small{font:italic 13px var(--serif);color:#8b8b73;letter-spacing:0}.career-stop p{font-size:10px;color:#8e8c74;margin-top:5px;line-height:1.7}.career-stop>span:last-child,.career-stop>.primary{margin-left:auto;white-space:nowrap;font-size:10px}.career-stop>.primary{padding:12px 18px;min-height:43px}.career-complete{padding:20px;text-align:center;color:#a08032;font:italic 23px var(--serif)}.special-challenges{margin-top:48px}.special-challenges h2{margin:10px 0 24px}.challenge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.challenge-grid article{padding:25px;border:1px solid var(--line);border-radius:7px;background:#faf7eb}.challenge-star{font-size:34px;color:#b79a53}.challenge-grid h3{font:25px var(--serif);margin:11px 0}.challenge-grid p{font-size:12px;line-height:1.8;color:#8b8b74;min-height:65px}.challenge-grid small{display:block;font-size:10px;color:#9b957c;margin:14px 0}.challenge-grid button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%}.club-profile{display:flex;gap:23px;align-items:center;padding:15px 0 33px}.profile-medallion{width:95px;height:95px;border:2px solid #b99c57;border-radius:50%;display:grid;place-items:center;font:59px Georgia;color:#a1813c;background:radial-gradient(#fbf4db,#e9dfbf);box-shadow:inset 0 0 0 5px var(--paper),inset 0 0 0 6px #c1a76a}.club-profile h1{font:46px var(--serif);letter-spacing:-1px;margin:8px 0 4px}.club-profile p{font:italic 16px var(--serif);color:#929071}.club-profile button{margin-left:auto}.stats-ribbon{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#e9ecdc;border:1px solid #d5ddc4;border-radius:7px;padding:23px 0;margin-bottom:38px}.stats-ribbon>div{text-align:center;border-right:1px solid #ced6bd}.stats-ribbon>div:last-child{border:0}.stats-ribbon strong{font:35px var(--serif);display:block}.stats-ribbon span{font-size:10px;color:#8c8d75}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:20px}.section-heading h2{margin-top:9px}.section-heading>span{font-size:11px;color:#929078}.reward-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.reward-tile{padding:22px 20px;border:1px solid var(--line);border-radius:7px;background:#f8f5e9;position:relative}.reward-emblem{height:54px;width:54px;border:1px solid #c5ad72;border-radius:50%;display:grid;place-items:center;background:#eee4c9;color:#a28138}.reward-emblem svg{width:28px;height:28px}.reward-type{display:block;font-size:8px;letter-spacing:1.6px;color:#a09674;margin-top:15px}.reward-tile h3{font:23px var(--serif);margin:7px 0 9px}.reward-tile p{font-size:11px;color:#8c8e77;line-height:1.7;min-height:55px}.reward-tile .text-button{font-size:10px;gap:6px}.reward-tile .text-button svg{width:14px;height:14px}.reward-tile.locked{background:#eeece2;filter:saturate(.5)}.reward-tile.locked .reward-emblem{color:#b0aa91;border-style:dashed;background:none}.locked-label{display:block;font-size:9px;color:#aaa38c;margin-top:10px}.reward-tile.featured{box-shadow:0 0 0 2px #b29c5a}.reward-tile.featured:after{content:'✦';position:absolute;right:16px;top:16px;color:#ab8a36}.opponent-stats{margin-top:40px}.rival-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:22px}.rival-stat-grid>div{display:flex;align-items:center;gap:12px}.rival-stat-grid strong{font:20px var(--serif)}.rival-stat-grid small{font-size:9px;color:#939077;display:block;margin-top:6px}.backup-panel{display:flex;gap:15px;align-items:center;border-top:1px solid var(--line);margin-top:40px;padding-top:28px}.backup-panel>div{flex:1}.backup-panel h2{font-size:24px}.backup-panel p{font-size:11px;line-height:1.8;color:#949078;margin-top:8px;max-width:480px}.backup-panel button{display:flex;align-items:center;gap:8px;white-space:nowrap}.backup-panel button svg{width:17px;height:17px}

/* Picker dialogs and the end-of-match memory. */
.wide-modal{max-width:950px}.deck-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.deck-picker>button,.table-picker>button{padding:12px;border:1px solid #ddd9c4;border-radius:6px;background:#f8f4e9;text-align:left}.deck-picker>button.chosen,.table-picker>button.chosen{border-color:#71865d;box-shadow:0 0 0 1px #71865d;background:#edf0df}.deck-preview{display:flex;justify-content:center;align-items:center;height:112px;gap:0;margin-bottom:15px}.deck-preview>svg{width:57px;margin:0 -4px;filter:drop-shadow(0 3px 3px #342b191f)}.deck-preview>svg:first-child{transform:rotate(-8deg) translateY(4px)}.deck-preview>svg:last-child{transform:rotate(8deg) translateY(4px)}.deck-picker strong,.table-picker strong{display:block;font:22px var(--serif);margin-top:10px}.deck-picker small,.table-picker small{font-size:9px;line-height:1.7;color:#8a8b75;display:block;margin-top:7px}.table-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.table-picker>button:disabled{opacity:.5}.table-picker em{display:block;font-size:8px;color:#a88c44;margin-top:7px}.full-deck-preview{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.profile-form{display:grid;grid-template-columns:1fr 1fr;gap:19px;margin-top:25px}.profile-form label:first-child,.profile-form>.primary{grid-column:1/-1}.offline-note{display:flex;gap:12px;align-items:center;font-size:11px;line-height:1.8;color:#8e8d74;margin:20px 0}.offline-note svg{width:22px;height:22px;flex-shrink:0}.match-recap{display:flex;justify-content:center;gap:26px;background:#eeecdf;border:1px solid #dfdac4;border-radius:6px;padding:16px 25px;margin:0 0 25px}.match-recap span{display:flex;flex-direction:column;gap:5px;font-size:9px;color:#8e8b73}.match-recap strong{font:28px var(--serif);color:#617348}.earned-rewards{padding:21px;border:1px solid #d9c28b;background:#f4ecd3;border-radius:7px;max-width:520px;width:100%;margin-bottom:25px}.earned-rewards>div{display:inline-flex;gap:12px;align-items:center;margin:15px 12px 0}.earned-rewards>div>svg{width:25px;height:25px;color:#af8a39}.earned-rewards strong{font:20px var(--serif)}.earned-rewards small{display:block;margin-top:4px;font-size:9px;color:#9a8d66}.result-ranking{width:100%;max-width:650px;margin-bottom:28px}.series-progress{font:39px var(--serif);color:#7d915c}.series-progress>span{font:9px var(--sans);letter-spacing:1.5px;color:#918d70;vertical-align:middle;margin:0 20px}.series-progress small{display:block;font:11px/1.8 var(--sans);color:#969078;margin-top:12px}.result-page .text-button{font-size:11px}.recap-list>div{display:grid;grid-template-columns:25px 1fr auto;gap:8px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.recap-list small{grid-column:2/-1;color:#8b8d73;font-size:10px}.recap-list strong{font-weight:500}.recap-list>div>span:first-child{color:#ab9864}.recap-list>div>span:last-of-type{color:#9d8751}.modal .secondary{display:inline-flex;align-items:center;gap:8px}.at-table .topbar .profile-button small{display:none}.game-table .card-back{width:100%;height:100%}.game-table svg.card-back{border:0;background:none}.game-table .card-key{z-index:1}

@media(min-width:1500px){.expanded-lobby{max-width:1250px}.cast-card .portrait-wrap{height:235px}.expanded-lobby .lobby-intro h1{font-size:60px}.game-table .avatar{width:86px;height:86px}}
@media(max-width:1100px){.expanded-topbar nav{gap:14px}.expanded-topbar .brand small{font-size:6px;letter-spacing:1.3px}.cast-grid{gap:16px}.cast-card .portrait-wrap{height:175px}.cast-card .person-copy{padding:14px}.cast-card .person-copy p{font-size:10px}.setup-choice{padding:18px 12px;gap:10px}.setup-choice strong{font-size:21px}.difficulty-picker{padding:19px 15px}.segmented button{padding:9px 10px}.table-tools{gap:12px}.game-layout .keyboard-hint{display:none}.rival-picker{grid-template-columns:repeat(4,minmax(0,1fr))}.rival-picker label{gap:6px;padding:8px}.rival-picker .rival-portrait{width:34px;height:34px}.rival-picker label>span:last-child{font-size:16px}.reward-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.deck-picker{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.expanded-topbar nav{gap:10px}.expanded-topbar .brand small{display:none}.expanded-topbar .brand>span:last-child{font-size:27px}.expanded-topbar .brand-mark{height:40px;width:33px;font-size:30px}.nav-link{font-size:10px}.profile-button small{display:none}.expanded-topbar .icon-button{width:26px;padding:4px}.cast-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cast-card .portrait-wrap{height:153px}.cast-card .person-copy{padding:12px 10px}.cast-card .person-copy h2{font-size:24px}.cast-card .person-copy h2 span{font-size:11px}.cast-card .person-copy p{font-size:9px;min-height:60px}.cast-card .level-badge{font-size:7px;left:6px;bottom:7px;padding:4px 6px}.setup-panel{grid-template-columns:1fr 1fr}.difficulty-picker{grid-column:1/-1;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:17px;flex-wrap:wrap}.difficulty-picker .section-label{margin:0}.difficulty-picker p{margin:0}.setup-choice:first-of-type{border-left:0}.play-options{flex-direction:column;gap:12px}.option-help{max-width:none;text-align:center}.form-grid{grid-template-columns:1fr 1fr}.rival-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.rival-picker .rival-portrait{width:44px;height:44px}.rival-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.backup-panel{flex-wrap:wrap}.backup-panel>div{flex-basis:100%}.career-stop h2 small{display:block;margin-top:3px}.deck-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.full-deck-preview{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:700px){.expanded-topbar{height:75px;position:relative;margin:0 15px}.expanded-topbar .brand{gap:6px}.expanded-topbar .brand>span:last-child{font-size:24px}.expanded-topbar .brand-mark{width:28px;height:34px;font-size:26px}.expanded-topbar nav{gap:7px}.nav-link{font-size:9px;padding:10px 0}.profile-button>span{height:27px;width:27px;font-size:19px}.expanded-topbar .icon-button{width:23px;height:30px;padding:3px}.expanded-topbar .icon-button svg{width:18px;height:18px}.expanded-topbar nav>.icon-button:last-of-type{display:none}.expanded-lobby{padding:0 17px;max-width:560px}.expanded-lobby .lobby-intro{padding:28px 0 23px}.expanded-lobby .lobby-intro h1{font-size:41px;margin:15px 0}.expanded-lobby .lobby-intro p{font-size:11px;max-width:270px;line-height:1.8}.expanded-lobby .eyebrow{font-size:6px;letter-spacing:1.4px;gap:8px}.expanded-lobby .eyebrow>span{width:14px}.section-label{font-size:8px;letter-spacing:1.1px;gap:15px;align-items:flex-start}.section-label small{font-size:8px;max-width:165px;text-align:right;line-height:1.6}.cast-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cast-card{display:block;min-height:0}.cast-card .portrait-wrap{height:172px;min-height:0}.cast-card .person-copy{padding:13px 13px 15px}.cast-card .person-copy h2{font-size:26px;margin-bottom:0}.cast-card .person-copy h2 span{font-size:12px}.cast-card .person-copy p{display:none}.cast-card .level-badge{font-size:8px;left:9px;bottom:9px;padding:5px 7px}.cast-card .selection-check{width:21px;height:21px;top:8px;right:8px}.setup-panel{margin-top:22px}.difficulty-picker{padding:16px;display:block}.difficulty-picker .section-label{margin-bottom:11px}.difficulty-picker .segmented{display:flex}.difficulty-picker .segmented button{flex:1}.difficulty-picker p{margin-top:10px;font-size:9px}.setup-choice{padding:15px 10px;gap:8px;flex-direction:column;align-items:center;text-align:center}.setup-choice>span:last-child{align-items:center;gap:4px}.setup-choice small{font-size:7px}.setup-choice strong{font-size:22px}.mini-card-fan{height:79px;width:78px}.mini-card-fan>span{width:43px;left:calc(var(--i)*16px)}.table-swatch{height:72px;width:72px}.setup-choice em{font-size:9px}.play-options .segmented{width:100%;justify-content:center}.play-options .segmented button{font-size:10px;padding:9px 10px;flex:1}.option-help{font-size:11px;line-height:1.7}.expanded-lobby .start-area .primary{width:100%}.expanded-lobby .start-area>span{font-size:9px}.expanded-lobby .lobby-note p{font-size:11px}.hub-page{padding:27px 17px 35px}.page-heading h1{font-size:39px}.page-heading p{font-size:11px;max-width:320px}.page-heading>.eyebrow{font-size:6px;letter-spacing:1.4px}.hub-page h2{font-size:26px}.tournament-builder{padding:19px 16px}.builder-heading{gap:10px;align-items:flex-start}.builder-heading h2{font-size:23px}.builder-heading p{font-size:10px}.step-number{height:29px;width:29px;font-size:15px}.form-grid{gap:16px 11px}.form-grid label{font-size:10px}.form-grid input,.form-grid select{font-size:11px;padding:9px 8px}.form-grid label:first-child{grid-column:1/-1}.check-options{flex-direction:column;gap:13px}.check-options label{font-size:10px;line-height:1.6}.rival-picker{gap:9px}.rival-picker label{gap:7px;padding:8px 6px}.rival-picker .rival-portrait{width:35px;height:35px}.rival-picker small{font-size:7px}.rival-picker label>span:last-child{font-size:17px}.tournament-prize-preview{padding:12px;gap:9px;font-size:10px;line-height:1.8}.form-actions{flex-direction:column;align-items:stretch}.active-tournament{padding:18px;gap:15px;grid-template-columns:1fr}.active-tournament .primary{width:100%}.leaderboard{font-size:10px;min-width:340px}.leaderboard th,.leaderboard td{padding:10px 6px}.leaderboard thead th{font-size:8px}.career-stop{gap:10px;padding:13px 11px;flex-wrap:wrap}.career-stop .career-number{width:17px;font-size:17px}.career-stop .rival-portrait{width:37px;height:37px}.career-stop>div:last-of-type{flex:1;min-width:120px}.career-stop h2{font-size:22px}.career-stop h2 small{font-size:11px}.career-stop p{font-size:8px}.career-stop>.primary{padding:9px 12px;min-height:35px;margin-left:67px}.career-stop>span:last-child{font-size:8px;margin-left:67px}.special-challenges{margin-top:35px}.challenge-grid{grid-template-columns:1fr;gap:15px}.challenge-grid article{padding:20px}.challenge-grid p{min-height:0;font-size:11px}.challenge-grid h3{font-size:25px}.challenge-star{float:right;font-size:31px}.club-profile{gap:15px;flex-wrap:wrap;padding-top:4px}.profile-medallion{width:70px;height:70px;font-size:44px}.club-profile h1{font-size:35px}.club-profile p{font-size:14px}.club-profile button{margin-left:85px;font-size:10px}.club-profile .eyebrow{font-size:6px}.stats-ribbon{grid-template-columns:repeat(3,minmax(0,1fr));padding:13px 0;gap:20px 0}.stats-ribbon>div:nth-child(3){border:0}.stats-ribbon strong{font-size:28px}.stats-ribbon span{font-size:8px}.stats-ribbon>div:nth-last-child(-n+2){grid-column:span 1}.section-heading{align-items:flex-start;gap:10px}.section-heading .eyebrow{font-size:6px;letter-spacing:1.3px}.section-heading>span{font-size:8px;white-space:nowrap;padding-top:26px}.reward-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.reward-tile{padding:16px 13px}.reward-emblem{width:44px;height:44px}.reward-emblem svg{width:23px;height:23px}.reward-tile h3{font-size:21px}.reward-tile p{font-size:9px;min-height:48px}.reward-tile .text-button{font-size:8px;gap:3px}.reward-type{font-size:7px}.rival-stat-grid{gap:17px 9px}.rival-stat-grid>div{gap:8px}.rival-stat-grid .rival-portrait{width:34px;height:34px}.rival-stat-grid strong{font-size:19px}.rival-stat-grid small{font-size:7px;line-height:1.7}.backup-panel button{font-size:10px;padding:11px 13px}.backup-panel p{font-size:10px}.deck-picker{gap:10px}.deck-picker>button{padding:10px}.deck-preview{height:105px}.deck-preview>svg{width:48px}.deck-picker strong,.table-picker strong{font-size:20px}.deck-picker small,.table-picker small{font-size:8px}.table-picker{grid-template-columns:1fr 1fr;gap:12px}.table-preview{height:88px;border-width:4px}.full-deck-preview{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.profile-form{gap:16px 12px}.zoom-cards{gap:9px}.zoom-cards>div{width:105px}.zoom-cards strong{font-size:9px;line-height:1.7}.game-table .opponent-seat{top:19px;min-width:270px;gap:12px}.game-table .avatar{width:67px;height:67px}.game-table .speech-bubble{top:99px;font-size:9px;white-space:normal;width:85%;line-height:1.5}.game-table .opponent-hand{top:129px}.game-table .hidden-card{width:44px;height:64px}.game-table .played-cards{top:35%;height:125px}.game-table .played-card{width:73px}.game-table .turn-status{bottom:35.8%;font-size:10px;padding:7px 11px}.game-table .human-hand{bottom:79px;gap:7px}.game-table .hand-card{width:84px}.game-table .human-seat{bottom:22px;width:260px}.game-table .human-score{font-size:27px}.game-table .you-label>span:last-child{font-size:14px}.game-table .you-label small{font-size:5px;letter-spacing:.8px}.table-tools{flex-wrap:wrap;justify-content:flex-end;gap:5px 12px;flex:1}.table-tools .text-button{font-size:9px;padding:5px 0}.table-bottomline{padding:9px 8px;align-items:flex-start}.save-indicator{font-size:7px;padding-top:8px;max-width:95px}.game-layout .keyboard-hint{display:none}.match-recap{padding:14px 17px;gap:20px}.match-recap span{font-size:8px}.match-recap strong{font-size:25px}.earned-rewards{padding:16px}.earned-rewards .eyebrow{font-size:7px}.earned-rewards strong{font-size:18px}.result-page .result-stats{font-size:7px}.result-ranking .leaderboard{min-width:310px}.result-page .final-scores{gap:25px}.result-page h1{font-size:36px}.result-page .result-portrait{width:115px;height:115px}.result-page .result-portrait .painted-portrait{background-position-y:0}.at-table .expanded-topbar .profile-button>span{height:27px;width:27px}.at-table .expanded-topbar nav{gap:8px}}
@media(max-width:370px){.expanded-topbar nav{gap:6px}.expanded-topbar .brand>span:last-child{font-size:21px}.expanded-topbar .brand-mark{width:24px;height:30px;font-size:23px}.expanded-topbar .profile-button{display:none}.nav-link{font-size:8px}.cast-card .portrait-wrap{height:145px}.cast-card .person-copy h2{font-size:24px}.cast-card .person-copy h2 span{font-size:10px}.game-table .human-seat{width:235px}.game-table .hand-card{width:74px}.game-table .turn-status{bottom:37%}.game-table .played-cards{top:34%;width:164px}.game-table .played-card{width:66px}.game-table .opponent-seat{min-width:247px}.game-table .opponent-score{padding-left:8px}.game-table .speech-bubble{font-size:8px}.play-options .segmented button{font-size:9px;padding:9px 7px}.section-label small{max-width:140px}.rival-picker label{gap:5px}.rival-picker .rival-portrait{width:28px;height:28px}}
@media(max-height:760px) and (min-width:701px){.game-table .opponent-seat{top:17px}.game-table .avatar{width:53px;height:53px}.game-table .speech-bubble{top:86px}.game-table .opponent-hand{top:106px}.game-table .hidden-card{width:39px;height:56px}.game-table .played-cards{top:32%;height:117px}.game-table .played-card{width:65px}.game-table .turn-status{bottom:37%}.game-table .human-hand{bottom:65px}.game-table .hand-card{width:78px}.game-table .human-seat{bottom:15px}.game-table .opponent-seat h1{font-size:21px}}
@media(prefers-reduced-motion:reduce){.painted-portrait{transition:none!important}}

/* Covered captures stay beside each player, away from the playing area. */
.captured-pile{position:absolute;right:5%;width:80px;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;color:#e4dec5;text-align:center}
.captured-opponent{top:23%}.captured-human{bottom:22%}.capture-owner{font-size:8px;letter-spacing:.7px;text-transform:uppercase}.capture-stack{position:relative;width:56px;height:83px;border-radius:5px}.capture-layer{position:absolute;inset:0;transform:translate(calc(var(--layer)*.8px),calc(var(--layer)*-1px));filter:drop-shadow(1px 2px 1px #00180f66)}.capture-layer .card-back{border-width:3px}.capture-layer .back-inner{inset:3px}.capture-layer .back-monogram{font-size:22px}.capture-layer .back-flower{font-size:9px}.capture-empty{position:absolute;inset:0;border:1px dashed #e4dec54d;border-radius:5px;display:grid;place-items:center;font:25px Georgia;color:#e4dec54d}.capture-count{font-size:9px;line-height:1.4}.capture-count strong{font-weight:600;color:#fff0c9}.capture-count>span{display:block;font-size:8px;color:#d4d7bd}.is-empty .capture-count{opacity:.65}
@media(max-width:700px){.captured-pile{right:9px;width:48px;gap:6px}.captured-opponent{top:24%}.captured-human{bottom:34%}.capture-stack{width:34px;height:51px}.capture-owner{font-size:6px;letter-spacing:0;white-space:nowrap}.capture-count{font-size:7px}.capture-count>span{font-size:6px}.capture-layer .card-back{border-width:2px}.capture-layer .back-inner{inset:2px}.capture-layer .back-monogram{font-size:16px}.capture-layer .back-flower{font-size:6px}.capture-empty{font-size:18px}}
@media(max-width:700px){.game-table .played-cards{left:56%;width:170px;gap:8px}.captured-opponent{top:18%}}
@media(max-width:370px){.game-table .played-cards{left:55%;width:142px;gap:6px}.game-table .played-card{width:59px}.captured-pile{right:5px;width:42px}.capture-stack{width:30px;height:45px}}

/* Supplied Trevisane back: only the upper card is framed, without the photo margins. */
.card-back.back-trevisane{border:0;background:none;overflow:hidden;border-radius:0}.back-trevisane>svg{display:block;width:100%;height:100%;overflow:hidden}
