/* Table layout: equal public boards, a slightly larger personal board. */
.turn-order span.lobby-order{width:auto;height:auto;display:block;max-width:none;background:none;border:0;font-size:10px;color:#9fc0b2;white-space:nowrap}
.name-button{display:block;background:none;color:inherit;text-align:left;padding:0;max-width:140px}.name-button:hover strong{color:#f6cf79}
.inspected-board{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;background:#153d43;padding:7px;border-radius:9px;max-width:400px;margin:20px auto;aspect-ratio:1}.inspected-board>div{aspect-ratio:1;background:#24555a;border-radius:4px;overflow:hidden}.inspected-board svg{width:100%;height:100%;display:block}.cell.staged,.pool-tile{cursor:grab}
.objective-groups{display:flex;justify-content:center;gap:18px}.objective-groups>div{min-width:0}.objective-groups>div:first-child{flex:2}.objective-groups>div:last-child{flex:4}.objective-row{gap:6px}.objective>span{display:none}
.center-heading,.objective-groups .section-label,.draft-section>.section-label,.table-topline>.tag{display:none}.draft-section{margin-top:12px;padding-top:8px}.draft-floor{display:flex;justify-content:center;align-items:center;gap:20px}.draft-floor .pool{flex:0 1 auto}.draw-stack{padding:0 0 0 14px;border-left:1px solid #87ad8e40}
.table-tools{position:absolute;top:20px;left:20px;display:flex;flex-direction:column;gap:14px;padding:10px;max-width:155px;z-index:25}.table-tools .pile,.table-tools .bag-count{font-size:9px}.table-tools .pile b{font-size:10px}.empty-hand{font-size:10px}.activity{font-size:9px;padding-top:9px}
.table-topline{justify-content:center;position:relative}.table-topline>.quiet{position:absolute;right:4px;font-size:17px}.turn-order:before{content:'↻ ' attr(data-round);font:700 11px Manrope,sans-serif;color:#eacb8b;margin-right:14px}.turn-order:has(.lobby-order):before{display:none}.live{font-size:0}.live i{width:7px;height:7px}.player-heading{align-items:center}.player-heading>div:nth-child(2){min-width:0}.you-label{display:none}
.trophies{display:none!important}.board{position:relative}.first-marker{position:absolute;right:-9px;top:-9px;display:grid;place-items:center;width:22px;height:22px;background:#eec270;color:#1c5050;border:2px solid #07343e;border-radius:50%;font-size:10px;z-index:20}.first-marker:focus{outline:2px solid white}
.score-wrap{position:relative;margin-left:auto;z-index:30}.score{background:none;padding:3px;color:#f2cd7e;font-size:23px;white-space:nowrap}.score sub{font-size:10px;margin-left:2px;font-weight:500;bottom:-.15em;position:relative}.score-wrap:hover .score-popover,.score-wrap:focus-within .score-popover{display:block}.score-popover{display:none;position:absolute;top:100%;right:0;width:270px;background:#fff6df;border:1px solid #d5b36e;border-radius:10px;padding:14px;color:#194a4b;box-shadow:0 10px 35px #001e2b99;z-index:160;text-align:left}.score-popover p{font-size:10px;line-height:1.6;margin:8px 0;color:#597770}.score-popover>b{font-size:14px}.score-objectives{display:flex;flex-wrap:wrap;gap:5px;max-height:280px;overflow:auto}.score-objectives button{width:54px;background:none;padding:0}.score-objectives img{width:100%;display:block;border-radius:4px}.score-objectives small{font-size:10px;color:#6b8379}.seat-west .score-popover{left:0;right:auto}.score-gallery{display:flex;flex-wrap:wrap;gap:12px}.score-gallery button{background:none;padding:0;width:115px}.score-gallery img{width:100%;border-radius:6px}
.staging-hint{display:inline-block;font-size:25px;color:#e8c981;line-height:1.1}.control-symbol{min-width:34px;font-size:19px!important;padding:6px 10px!important;min-height:32px}.turn-message>.eyebrow{font-size:7px;color:#86ab9a;letter-spacing:1px}.turn-message>p{display:none}.turn-message.action-controls>p,.turn-message.response>p,.turn-message.finished>p{display:block}.hand-count{font-size:14px!important;letter-spacing:0!important;justify-content:flex-start!important;gap:6px}.hand-count span{margin-left:0!important;font-size:10px!important}
/* Supplemental explanations stay out of the playing surface until needed. */
[data-tip]{position:relative}[data-tip]:hover:after,[data-tip]:focus-visible:after{content:attr(data-tip);position:absolute;top:calc(100% + 7px);left:0;background:#fff5dc;color:#24504e;border:1px solid #d7bb7b;border-radius:6px;font:400 10px/1.6 'DM Sans',sans-serif;padding:9px 11px;width:max-content;max-width:240px;white-space:normal;text-align:left;letter-spacing:0;z-index:180;box-shadow:0 8px 20px #001b2880;pointer-events:none}.first-marker[data-tip]{position:absolute}.first-marker[data-tip]:after{right:0;left:auto;width:220px}.table-topline>.quiet[data-tip]{position:absolute}.header-right [data-tip]:after{left:auto;right:0}
@media(min-width:801px){
 .player-zone:not(.own-player) .board{width:128px;padding:5px;gap:3px}
 .own-player{grid-template-columns:1fr 160px 1fr;column-gap:20px;padding-top:0}.own-player .board{width:160px;padding:4px;gap:3px}.own-player .player-heading{max-width:175px;margin-bottom:5px}.own-player .my-hand{min-width:170px}
 .seat-north{display:grid;grid-template-columns:110px 128px 70px;gap:14px;align-items:center;justify-content:center;width:auto}.seat-north .player-heading{grid-column:1;grid-row:1;max-width:110px;width:110px;margin:0}.seat-north .board{grid-column:2;grid-row:1}.seat-north .hidden-hand{position:static;grid-column:3;grid-row:1;min-width:50px;margin:0}
 .shared-center .turn-message{position:absolute;bottom:24px;left:calc(50% - 300px);width:180px;border-top:0;padding:12px 4px;margin:0;max-height:220px;overflow:visible;text-align:left;z-index:12;min-height:0}.shared-center .turn-message>strong{font-size:16px}.shared-center .turn-message .button-row{justify-content:flex-start}.shared-center .turn-message.response{background:#123f40;padding:14px;border:1px solid #e3be67;border-radius:8px;box-shadow:0 8px 24px #002e3977}.shared-center .turn-message.action-controls{max-height:230px;overflow:auto;background:#103e3f;padding:12px;border:1px solid #739682;border-radius:8px}
}
@media(min-width:801px) and (max-height:850px){
 .topbar{min-height:64px;padding-top:10px;padding-bottom:10px}.table-topline{min-height:35px}.table-surface{min-height:0;gap:8px 16px;padding:10px 24px 16px}.shared-center{padding:10px 16px}.objective{max-width:90px}.objective-row{gap:5px}.pool-tile{width:35px;height:35px}.hand-row{max-height:160px}.action-card{width:66px;min-width:66px;min-height:92px}.table-tools{top:14px;left:14px;gap:10px}.seat-west .player-heading,.seat-east .player-heading{max-width:135px}
}
@media(max-width:800px){
 .player-zone:not(.own-player) .board{width:100px}.own-player .board{width:125px}.own-player{grid-template-columns:1fr 125px 1fr}.own-player .player-heading{max-width:150px}.seat-north .hidden-hand{position:static}.table-tools{position:static;max-width:none;flex-direction:row;justify-content:center;gap:20px;padding:10px 0 0}.objective-groups{gap:12px}.objective{max-width:110px}.draft-floor{gap:10px}.draw-stack{padding-left:10px}.draw-stack span{font-size:7px}.table-tools .pile,.table-tools .bag-count{font-size:7px}.score{font-size:18px}.score sub{font-size:8px}.score-popover{width:230px}.first-marker{width:18px;height:18px;right:-6px;top:-6px;font-size:8px}.turn-order:before{font-size:9px;margin-right:9px}.turn-message{min-height:0}
}
@media(max-width:420px){.player-zone:not(.own-player) .board{width:90px}.own-player .board{width:115px}.own-player{grid-template-columns:1fr 115px 1fr}}

.action-catalog>div{display:flex;gap:16px;padding:14px 0;border-top:1px solid #cfdbcb}.action-catalog>div>span{font-size:26px;min-width:35px;color:#2f8376}.action-catalog h3{margin-bottom:4px}.action-catalog h3 small{font-size:11px;font-weight:400;color:#7d9483}.action-catalog p{font-size:12px;margin:0}.turn-message:has(.staging-hint)>.eyebrow{display:none}

/* Give the playing pieces the space, rather than decorative table margins. */
@media(min-width:801px){
 .game-shell{padding:0 10px 8px;max-width:1440px}
 .topbar{min-height:50px;padding:8px 20px}.brand small{display:none}.brand-mark{width:28px;height:28px}
 .table-topline{min-height:30px}.table-surface{--opponent:clamp(144px,calc((100vh - 260px)/3),176px);--personal:calc(var(--opponent)*1.22);grid-template-columns:var(--opponent) minmax(0,1fr) var(--opponent);gap:6px 12px;min-height:0;padding:10px 16px 12px;border-width:4px;border-radius:16px}
 .player-zone:not(.own-player) .board{width:var(--opponent)}
 .seat-west .player-heading,.seat-east .player-heading{max-width:none;margin-bottom:5px;padding-right:30px}
 .seat-west .hidden-hand,.seat-east .hidden-hand{position:absolute;right:0;top:-3px;min-height:25px;margin:0}
 .hidden-hand img{width:18px;height:27px;margin-left:-11px}
 .seat-north{grid-template-columns:95px var(--opponent) 42px;gap:8px}.seat-north .player-heading{max-width:95px;width:95px}.seat-north .board{grid-column:2}.seat-north .hidden-hand{min-width:30px}
 .own-player{grid-template-columns:minmax(0,1fr) var(--personal) minmax(0,1fr);column-gap:10px}.own-player .board{width:var(--personal)}.own-player .player-heading{max-width:var(--personal);margin-bottom:4px}.own-player .my-hand{min-width:0}
 .shared-center{border:0;background:none;padding:4px 0}.objective-groups{gap:12px}.objective{max-width:100px}.objective-row{gap:5px}.draft-section{margin-top:8px;padding-top:8px}.draft-floor{gap:12px}.pool{gap:6px;min-height:38px}.pool-tile{width:38px;height:38px}.draw-stack{padding-left:9px}
 .table-tools{top:12px;left:12px;gap:8px;padding:0}.table-tools .discard-symbol{font-size:19px}.table-tools .bag-count span{font-size:18px}
 .shared-center .turn-message{left:calc(50% - var(--personal)/2 - 140px);bottom:20px;width:130px;padding:4px;max-height:200px}.shared-center .turn-message>strong{font-size:12px}.shared-center .turn-message>.eyebrow{display:none}
 .action-card{width:58px;min-width:58px;min-height:78px;padding:7px 4px}.action-card>span{font-size:22px}.action-card small{display:none}.action-card strong{margin-top:4px;font-size:9px}.hand-row{gap:4px;max-height:180px}.hand-count{margin-bottom:3px}
 .activity{padding-top:5px;font-size:8px}
}

.turn-message.idle-status{display:none}.turn-ready>strong,.turn-ready>.eyebrow{display:none}.turn-ready .button-row{margin-top:0}
@media(min-width:801px){
 .own-player .player-heading{grid-column:1;grid-row:2;align-self:center;justify-self:end;width:100%;max-width:145px;margin:0;padding-right:4px}
 .own-player .player-heading .avatar{width:22px;height:22px;font-size:10px}
}
.player-heading .score{font-size:28px;line-height:1;padding:3px 2px;font-weight:800}
.player-heading .score sub{font-size:10px;line-height:1;font-weight:500;vertical-align:baseline;position:relative;bottom:-.3em;margin-left:2px}
@media(max-width:800px){.player-heading .score{font-size:23px}.player-heading .score sub{font-size:8px}}

/* Every seat uses the same name / score-and-hand grouping. */
.player-heading{display:grid;grid-template-columns:22px minmax(0,1fr);gap:4px 6px}
.player-heading .player-resources{grid-column:1/-1;display:flex;align-items:center;gap:8px;min-width:0}
.player-resources .score-wrap{margin-left:0;flex:0 0 auto}
.player-resources .hidden-hand,.seat-north .player-resources .hidden-hand,.seat-west .player-resources .hidden-hand,.seat-east .player-resources .hidden-hand{position:static;margin:0;min-height:0;justify-content:flex-start;min-width:0}
.player-resources .my-hand,.own-player .player-resources .my-hand{min-width:0;flex:1;padding:0}
.player-resources .hand-count{display:none}
.player-resources .hand-row{padding:3px 0 5px;gap:3px;max-height:125px;flex-wrap:wrap;justify-content:flex-start;overflow:auto}
.player-resources .action-card{width:42px;min-width:42px;min-height:55px;padding:5px 2px;gap:2px}
.player-resources .action-card>span{font-size:18px}.player-resources .action-card strong{font-size:8px;margin:0}.player-resources .action-card small{display:none}
@media(min-width:801px){
 .seat-north{grid-template-columns:140px var(--opponent);gap:10px}
 .seat-north .player-heading{width:140px;max-width:140px;display:grid}
 .seat-west .player-heading,.seat-east .player-heading{padding-right:0}
 .own-player .player-heading{max-width:145px;display:grid}
}
.shared-center{border:1px solid #88b39c66;border-radius:12px;background:#123f4030;padding:8px}
.player-heading .score>strong{font-size:inherit;font-weight:inherit;max-width:none;overflow:visible;display:inline;color:inherit}
.player-heading .action-card strong{color:#123c43;white-space:normal;max-width:none}
@media(min-width:801px){
 .seat-north{grid-template-columns:minmax(0,1fr) var(--opponent) minmax(0,1fr);width:100%;gap:10px}
 .seat-north .player-heading{grid-column:1;justify-self:end;width:140px;max-width:100%;margin:0}
 .seat-north .board{grid-column:2;grid-row:1}
}
@media(min-width:801px){.table-surface{--personal:calc(var(--opponent)*1.22)}}
@media(max-width:800px){.own-player{grid-template-columns:1fr 122px 1fr}.own-player .board{width:122px}}
@media(max-width:420px){.own-player{grid-template-columns:1fr 110px 1fr}.own-player .board{width:110px}}
.avatar-builder{margin:14px 0 20px;padding:12px;border:1px solid #668b805e;border-radius:10px;background:#80b59c0d}
.avatar-builder summary{font-weight:700;font-size:12px;cursor:pointer;color:#efc878}.avatar-workshop{display:flex;gap:12px;align-items:flex-start;margin-top:12px}.avatar-preview{width:96px;flex-shrink:0;position:sticky;top:0}.avatar-preview svg{width:100%;display:block;border-radius:16px}.avatar-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px;flex:1;min-width:0}.avatar-choices label{font-size:9px;margin:0}.avatar-choices select{padding:5px 3px;min-height:30px;font-size:10px;margin-top:3px;min-width:0}.avatar-random{background:none;color:#efc878;font-size:11px;padding:9px 0 0}.modal .avatar-builder summary,.modal .avatar-random{color:#29685e}.modal .avatar-preview{width:130px}
.player-heading .cartoon-avatar,.own-player .player-heading .cartoon-avatar{display:block;width:34px;height:36px;border-radius:9px;background:none;overflow:hidden;cursor:pointer}.cartoon-avatar svg{display:block;width:100%;height:100%}.player-heading{grid-template-columns:34px minmax(0,1fr)}
@media(min-width:801px){.table-surface{--opponent:clamp(156px,calc((100vh - 240px)/3),188px)}}
@media(max-width:800px){.player-zone:not(.own-player) .board{width:108px}.own-player{grid-template-columns:1fr 132px 1fr}.own-player .board{width:132px}}
@media(max-width:420px){.player-zone:not(.own-player) .board{width:94px}.own-player{grid-template-columns:1fr 115px 1fr}.own-player .board{width:115px}.avatar-preview{width:68px}.avatar-workshop{gap:8px}}
.avatar-category>span{display:block;font-size:9px;color:#a8c7bd;margin-bottom:4px}.avatar-category-button{width:100%;display:flex;align-items:center;gap:5px;background:#082e35;border:1px solid #4b6f6b;border-radius:6px;min-height:32px;padding:6px;color:#fff6e6;font-size:10px;text-align:left}.avatar-category-button>span:nth-last-child(2){flex:1}.avatar-category-button.selected{border-color:#f1bd57}.color-dot{display:block;width:16px;height:16px;border:1px solid #93aaa0;border-radius:50%;flex-shrink:0}.avatar-picker-panel{margin-top:12px;border-top:1px solid #668b805e;padding-top:10px}.avatar-picker-panel>header{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:8px}.avatar-picker-panel>header button{background:none;color:inherit;font-size:22px;padding:0 4px}.avatar-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.avatar-option{background:#153f43;border:2px solid transparent;border-radius:9px;padding:4px;color:#dceee4;min-width:0}.avatar-option svg{display:block;width:100%;max-height:94px;border-radius:6px}.avatar-option>span{display:block;font-size:9px;margin:5px 0 2px}.avatar-option.selected{border-color:#f3c362;background:#31544a}.avatar-option:hover{border-color:#8acbbb}.avatar-color-swatches{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:5px 0}.avatar-swatch{width:35px;height:35px;border:3px solid #b5c9bc;border-radius:50%;background:var(--swatch);box-shadow:0 2px 0 #001e2655}.avatar-swatch.selected{outline:2px solid #efbb46;outline-offset:3px}.avatar-custom-color{display:flex;align-items:center;gap:8px;font-size:10px;margin:0}.avatar-custom-color input{padding:2px;width:42px;height:34px;min-height:34px;margin:0;cursor:pointer}.modal .avatar-category>span{color:#51726a}.modal .avatar-category-button{background:#fffdf5;color:#214b49;border-color:#bdd0c3}.modal .avatar-option{background:#e5eee4;color:#214b49}.modal .avatar-option.selected{background:#d3e5d7;border-color:#247f72}.modal .avatar-option-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.modal .avatar-option svg{max-height:110px}.modal .avatar-category-button.selected{border-color:#247f72}
.player-heading,.seat-north .player-heading,.own-player .player-heading{display:flex;align-items:center;gap:8px}
.player-identity{display:flex;flex-direction:column;align-items:center;gap:4px;flex:0 0 58px;min-width:0}
.player-heading .cartoon-avatar,.own-player .player-heading .cartoon-avatar{width:56px;height:60px;border-radius:12px}
.player-identity .name-button{text-align:center;max-width:65px}.player-identity .name-button strong{font-size:10px;max-width:65px}.player-identity small{text-align:center}
.player-heading .player-resources{display:flex;flex:0 1 auto;gap:8px;align-items:center;min-width:0}.player-resources .my-hand{flex:0 1 auto}
@media(min-width:801px){.seat-north .player-heading,.own-player .player-heading{width:max-content;max-width:none;padding:0;justify-self:end}.seat-west .player-heading,.seat-east .player-heading{width:100%;justify-content:flex-start}}
@media(max-width:800px){.player-heading,.seat-north .player-heading,.own-player .player-heading{gap:4px}.player-identity{flex-basis:36px}.player-heading .cartoon-avatar,.own-player .player-heading .cartoon-avatar{width:34px;height:37px}.player-identity .name-button strong{font-size:8px;max-width:42px}.player-heading .player-resources{gap:3px}.player-resources .action-card{width:32px;min-width:32px;min-height:46px}.player-resources .action-card strong{font-size:7px}.player-heading .score{font-size:22px}}
.modal:has(.avatar-builder){padding:28px 32px}.modal:has(.avatar-builder)>h2{font-size:24px;margin-bottom:16px}.modal .avatar-option svg{max-height:78px}.modal .avatar-preview{width:100px}.modal .avatar-option>span{margin:3px 0 1px}.modal .avatar-workshop{margin-top:8px}
.modal:has(.avatar-builder){padding:20px 24px;max-width:680px}
.modal:has(.avatar-builder)>h2{font-size:21px;margin-bottom:10px}
.modal .avatar-builder{margin:8px 0 12px;padding:10px}
.modal .avatar-preview{width:82px}
.modal .avatar-choices{gap:5px 8px}.modal .avatar-category>span{margin-bottom:2px;font-size:8px}
.modal .avatar-category-button{min-height:27px;padding:4px 6px;font-size:10px}
.modal .avatar-picker-panel{margin-top:8px;padding-top:6px}
.modal .avatar-picker-panel>header{margin-bottom:4px;font-size:11px}
.modal .avatar-option-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.modal .avatar-option{padding:3px;display:flex;flex-direction:column;align-items:center}
.modal .avatar-option svg{height:52px;max-height:52px;width:auto;max-width:100%}
.modal .avatar-option>span{font-size:9px;margin:2px 0 0}
.modal .avatar-random{padding-top:6px;font-size:10px}
@media(max-height:650px){.modal:has(.avatar-builder){padding:16px 20px}.modal .avatar-option svg{height:40px;max-height:40px}.modal .avatar-category-button{min-height:24px}.modal .avatar-choices{gap:3px 7px}}
/* Fit the complete home screen and playing surface to the available window. */
html,body{height:100%;overflow:hidden}
#app{margin:0 auto;transform-origin:top center}
.welcome{min-height:0;padding:22px 40px;gap:28px;max-width:1200px}
.welcome h1{font-size:42px;letter-spacing:-1.8px;margin-bottom:10px}
.welcome .eyebrow{margin-bottom:10px;font-size:8px}
.welcome .lead{font-size:12px;line-height:1.5;margin-bottom:14px;max-width:390px}
.welcome .entry-box{max-width:430px;padding:16px}
.welcome .entry-box label{margin-bottom:10px}
.welcome .tabs{margin-bottom:12px}
.welcome .avatar-builder{margin:10px 0 12px;padding:9px}
.welcome .avatar-preview{width:76px}
.welcome .avatar-option svg{height:42px;max-height:42px;width:auto;max-width:100%}
.welcome .avatar-option{display:flex;flex-direction:column;align-items:center}
.welcome .avatar-workshop{margin-top:8px}
.welcome .avatar-choices{gap:5px}
.welcome .avatar-category-button{min-height:28px;padding:4px}
.welcome .avatar-category>span{font-size:8px;margin-bottom:2px}
.welcome .avatar-picker-panel{margin-top:6px;padding-top:6px}
.welcome .welcome-features{margin-top:10px;font-size:8px;gap:12px}
.welcome .recent{margin-top:8px}
.welcome-art{min-height:390px}
.welcome-art .demo-board{width:280px;height:280px}
.welcome-art .floating-card{width:105px}
.welcome-art .art-caption{font-size:10px}
.welcome-footer{padding:12px 24px;font-size:8px}
#app:has(.welcome){display:flex;flex-direction:column}
.welcome{width:100%;flex:1;grid-template-columns:1fr 1fr;align-items:center;padding:24px clamp(28px,5vw,80px);max-width:1440px}
.welcome-copy{width:100%;max-width:500px;justify-self:center}
.welcome h1{font-size:clamp(42px,4vw,62px);line-height:1.1;margin-bottom:14px}
.welcome .lead{font-size:14px;max-width:460px}
.welcome .entry-box{max-width:500px;width:100%;padding:18px}
.welcome-art{width:100%;min-height:460px;align-self:stretch;align-content:center}
.welcome-art .demo-board{width:clamp(280px,26vw,410px);height:clamp(280px,26vw,410px)}
.welcome-art .floating-card{width:clamp(105px,10vw,150px)}
.welcome-art .card-one{top:12%;right:0}.welcome-art .card-two{bottom:12%;left:0}
.welcome-art .demo-label{top:7%}.welcome-art .art-caption{bottom:7%}
.welcome-footer{width:calc(100% - 48px);max-width:1392px;margin:0 auto;padding:15px 12px;flex-shrink:0}
#app:has(.game-shell){display:flex;flex-direction:column}
.game-shell{width:100%;flex:1;display:flex;flex-direction:column}
.game-shell>.table-topline,.game-shell>.activity{flex-shrink:0}
.game-shell>.table-surface{flex:1}
.objective-deck-row{display:flex;gap:7px;align-items:center}.objective-deck{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px}.objective-deck img{display:block;width:18px;height:27px;border-radius:3px;border:1px solid #83c1af;box-shadow:2px 2px 0 #032b35}.objective-deck[data-size="2x2"] img{border-color:#e9c26a}.objective-deck small{font-size:7px;color:#c5d9c5}
[data-tip]:hover:after,[data-tip]:focus-visible:after{display:none}
#instant-info{position:fixed;z-index:500;pointer-events:none;max-width:min(300px,calc(100vw - 16px));background:#fff5dc;color:#214f4d;border:1px solid #d8bc7c;border-radius:7px;padding:10px 12px;font:400 12px/1.5 'DM Sans',sans-serif;box-shadow:0 7px 24px #001b2877;transition:none;animation:none;white-space:normal}
#instant-info[hidden]{display:none}.score-popover{transition:none;animation:none}
.final-round-pill{font-size:10px;font-weight:700;color:#ffd378;background:#93602744;border:1px solid #d0a458;border-radius:5px;padding:5px 8px;margin-right:10px;white-space:nowrap}
.round-announcement{text-align:center;padding:12px 8px}.result-emblem{display:block;font-size:48px;color:#bd8b27;margin-bottom:12px}.round-announcement .eyebrow{margin-bottom:10px}.round-announcement h2{font-size:28px;line-height:1.2}.round-announcement p{max-width:440px;margin:12px auto}.round-announcement .primary{margin-top:12px}
.modal:has(.game-results){max-width:680px;padding:24px 30px}.game-results{text-align:center}.game-results>.eyebrow{margin-bottom:10px}.winner-avatars{display:flex;justify-content:center;gap:12px}.winner-avatars>div{width:70px}.winner-avatars svg{display:block;width:62px;height:66px;margin:auto}.winner-avatars b{display:block;font-size:10px;margin:4px 0 10px}.game-results h2{font-size:26px;margin:6px 0}.game-results .winner-score{font-size:36px;line-height:1.2;color:#217b6a;font-weight:800;margin:6px 0 14px}.winner-score small{font-size:12px;font-weight:400}.match-summary{display:flex;justify-content:center;gap:24px;font-size:11px;color:#6a8275;margin-bottom:15px}.match-summary b{color:#28544c}.results-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.results-table th,.results-table td{padding:10px 8px;border-bottom:1px solid #ccd8c7}.results-table thead th{font-size:10px;color:#708477;font-weight:500}.results-table td{text-align:center}.results-table thead th:not(:first-child){text-align:center}.results-table .winner-row{background:#dcebdc;color:#1c6858}.game-results .tie-explanation{font-size:10px;line-height:1.4;margin:10px 0 16px}.results-buttons{display:flex;justify-content:center;gap:10px}
@media(max-height:650px){.modal:has(.game-results){padding:18px 24px}.winner-avatars svg{height:46px;width:43px}.winner-avatars b{margin-bottom:5px}.game-results h2{font-size:22px}.game-results .winner-score{font-size:28px;margin-bottom:9px}.results-table th,.results-table td{padding:7px}.match-summary{margin-bottom:8px}}
@media(min-width:801px){
 .shared-center .turn-message{left:calc(50% + var(--personal)/2 + 16px);right:auto;bottom:22px;top:auto;width:230px;max-height:none;overflow:visible;padding:8px}
 .shared-center .turn-message.action-controls,.shared-center .turn-message.response{padding:10px;width:230px;max-height:none;overflow:visible}
 .turn-message.action-controls>p{display:none}.turn-message.action-controls>strong{font-size:14px;display:block;margin-bottom:5px}
 .turn-message.action-controls label{font-size:9px;margin:5px 0}.turn-message.action-controls select,.turn-message select{font-size:11px;min-height:29px;margin-top:3px;padding:5px 7px}
 .turn-message.action-controls>small{font-size:10px;line-height:1.4;display:block}.turn-message .button-row{gap:5px;flex-wrap:wrap;margin-top:7px}
 .turn-message .primary,.turn-message .secondary{font-size:10px;min-height:30px;padding:6px 9px}.turn-message .quiet{font-size:10px;padding:5px}
 .turn-message.response p{font-size:11px;line-height:1.5;margin:6px 0}.turn-message.response>small{font-size:10px}
}
.transfer-flight{position:fixed;top:0;left:0;z-index:190;pointer-events:none;transform-origin:center;border-radius:5px;overflow:hidden;box-shadow:0 6px 18px #001b2866;will-change:transform,opacity}
.transfer-flight svg,.transfer-flight img{display:block;width:100%;height:100%;object-fit:cover}.transfer-flight.card-flight{background:#fff1d0;border:1px solid #e0b761;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#164d4e}.transfer-flight.card-flight>span{font-size:24px}.transfer-flight.card-flight>strong{font-size:9px;text-align:center;padding:0 2px}

/* Compact invitation lobby and personal table arrangements. */
.view-tools{position:absolute;right:4px;display:flex;align-items:center;gap:6px}.view-tools select{width:130px;padding:5px 8px;margin:0;min-height:28px;font-size:10px}.view-tools .quiet{font-size:17px;padding:4px}.turn-order.lobby-order:before{display:none}
.table-surface.lobby-table{display:flex;align-items:center;justify-content:center;padding:24px;min-height:0}.lobby-simple{width:min(600px,100%);padding:12px 20px;text-align:center}.lobby-brand{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:22px}.lobby-brand .brand-mark{width:48px;height:48px;display:block;transform:rotate(-10deg)}.lobby-brand svg{width:100%;height:100%}.lobby-brand h1{font:800 28px/1.2 Manrope,sans-serif;letter-spacing:2px;margin:0;color:#fff4d9}.lobby-code{border:0;background:transparent;color:#f6cc75;font:800 34px/1.2 Manrope,sans-serif;letter-spacing:3px;padding:8px 12px}.lobby-code span{font-size:20px;letter-spacing:0}.invite-link-row{display:flex;gap:8px;margin:10px 0 24px}.invite-link-row input{min-width:0;flex:1;font-size:11px;margin:0}.invite-link-row button{white-space:nowrap;font-size:11px}.lobby-seats-heading{font-size:12px;margin-bottom:12px;color:#c1dcd4}.lobby-seat-list{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.lobby-seat{position:relative;min-width:0;padding:12px 6px;background:#ffffff08;border:1px solid #80b5a533;border-radius:12px}.lobby-seat-avatar{height:80px;width:74px;margin:0 auto 8px}.lobby-seat-avatar svg{height:100%;width:100%}.lobby-seat>strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lobby-ready{position:absolute;right:8px;top:8px;color:#f5cd78;font-size:13px}.lobby-ready.is-ready{color:#8fdbc0}.vacant{border-style:dashed;opacity:.45}.vacant .lobby-seat-avatar{display:grid;place-items:center;font-size:34px}.vacant small{font-size:11px}.lobby-buttons{display:flex;justify-content:center;gap:12px;margin-top:24px}.lobby-buttons button{min-width:150px}.tile-defaults-label{display:flex;align-items:center;gap:8px;font-size:11px!important}.tile-defaults-label input{width:15px;min-height:15px;margin:0;accent-color:#258875}
.all-opposite{grid-template-columns:1fr minmax(0,3fr) 1fr;grid-template-areas:'north north north' 'center center center' 'south south south';align-content:space-between}.opponents-row{grid-area:north;display:flex;align-items:flex-start;justify-content:center;gap:48px}.opponents-row .player-zone{width:var(--opponent,150px);display:flex;flex-direction:column;gap:6px;padding:0}.opponents-row .player-heading{width:100%;max-width:none;margin:0;justify-content:center}.opponents-row .board{width:100%}.all-opposite .shared-center{width:100%;max-width:880px;justify-self:center}.all-opposite .own-player{width:100%;justify-self:center}
@media(max-height:700px){.lobby-brand{margin-bottom:12px}.lobby-brand h1{font-size:25px}.lobby-seat-avatar{height:64px;width:60px}.lobby-buttons{margin-top:16px}.invite-link-row{margin-bottom:16px}}

.layout-radios{display:flex;gap:10px;border:0;padding:0;margin:0;align-items:center}.layout-radios label{display:flex;gap:4px;align-items:center;margin:0;font-size:10px;white-space:nowrap;color:#d3e6db;cursor:pointer}.layout-radios input{width:12px;height:12px;min-height:0;margin:0;accent-color:#f6b740}.view-tools{gap:10px}.view-tools .audio-toggle{font-size:18px}.table-tools .pile,.table-tools .bag-count{font-size:14px}.table-tools .pile b,.table-tools .bag-count b{font-size:15px}.table-tools .discard-symbol,.table-tools .bag-count span{font-size:24px}.objective-deck img{width:23px;height:34px}.objective-deck small{font-size:9px}.draw-stack span,.draw-stack span b{font-size:18px;font-weight:800}.draw-stack{gap:8px}

.solo-switch{display:flex;align-items:center;gap:8px;font-size:9px;color:#f5c46a;margin:0}.solo-switch select{width:100px;margin:0;padding:5px;font-size:11px;min-height:28px}

.modal:has(.game-results){max-width:1120px;width:calc(100vw - 40px);padding:20px 26px}.result-cards{display:flex;flex-wrap:wrap;gap:5px;align-items:center;justify-content:flex-start}.result-cards button{border:0;background:none;padding:0;flex:0 0 43px;cursor:pointer}.result-cards img{display:block;width:43px;height:65px;object-fit:cover;border-radius:4px;box-shadow:0 1px 3px #0003}.result-action{width:42px;min-height:61px;border:1px solid #d4b36a;background:#fff0cf;border-radius:4px;color:#174448;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:3px;gap:5px}.result-action>span{font-size:19px}.result-action>b{font-size:7px;line-height:1.2;text-align:center}.results-table{table-layout:fixed}.results-table th:first-child{width:13%}.results-table th:nth-child(2){width:7%}.results-table th:nth-child(3){width:31%}.results-table th:nth-child(4){width:26%}.results-table th:nth-child(5){width:23%}.results-table td{vertical-align:middle}.no-result-cards{color:#859b89}.game-results .winner-avatars svg{width:44px;height:47px}.game-results .winner-score{font-size:28px;margin:4px 0 8px}.game-results h2{font-size:23px}.game-results .match-summary{margin-bottom:8px}.results-table th,.results-table td{padding:7px 5px}

.modal:has(.game-results){max-height:calc(100dvh - 24px)}.game-results>.eyebrow{margin-bottom:4px}.game-results .winner-avatars b{margin:2px 0 4px}.game-results h2{margin:4px 0}.game-results .winner-score{margin:4px 0 6px}.game-results .tie-explanation{margin:6px 0 9px}.game-results .results-buttons button{min-height:32px;padding:7px 14px}

.results-winner-header{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 0 8px}.results-winner-header .winner-avatars svg{width:82px;height:88px}.results-winner-header .winner-avatars>div{width:86px}.results-winner-header .winner-avatars b{display:none}.winner-heading{text-align:left}.winner-heading .eyebrow{font-size:9px;margin:0 0 5px}.game-results .winner-heading h2{font-size:30px;margin:0 0 3px}.game-results .winner-heading .winner-score{font-size:26px;margin:0}.game-results .match-summary{margin:0 0 8px}.result-player{display:flex;align-items:center;gap:7px;text-align:left}.result-player-avatar{display:block;flex:0 0 32px;width:32px;height:35px}.result-player-avatar svg{width:100%;height:100%;display:block}.result-player.is-winner .result-player-avatar{flex-basis:40px;width:40px;height:44px}.modal:has(.game-results){padding-top:16px;padding-bottom:16px}.results-table th:first-child{width:16%}.results-table th:nth-child(3){width:28%}

.game-data-note{font-size:10px;line-height:1.5;color:#9bbcb3;margin:16px 0 0}
