.controls-home{display:contents}
.main-menu .menu-content{width:min(920px,100%)}
.main-menu .menu-suit{font-size:42px;margin-bottom:12px}
.main-menu h1{font-size:55px;letter-spacing:9px;margin:8px 0 4px}
.main-menu .menu-content>p{margin:0 0 18px}
.theme-picker{border:0;padding:0;margin:22px 0 14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;text-align:left}
.theme-picker legend{font-size:12px;color:#d1d8c4;margin-bottom:14px;letter-spacing:.4px}
.theme-choice{position:relative;display:flex;flex-direction:column;cursor:pointer;background:#132f28;border:2px solid #9fae852f;border-radius:12px;padding:6px;overflow:hidden;transition:border-color .2s,transform .2s,box-shadow .2s}
.theme-choice:hover{transform:translateY(-3px);border-color:#c3c7a6}
.theme-choice:has(input:checked){border-color:#e7c88a;box-shadow:0 0 0 2px #e7c88a2a,0 8px 18px #001d2055}
.theme-choice:has(input:focus-visible){outline:3px solid #f7dfab;outline-offset:4px}
.theme-choice input{position:absolute;right:12px;top:12px;accent-color:#d8b77b;width:16px;height:16px;z-index:2}
.theme-choice img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:6px}
.theme-choice span{font-size:14px;color:#ede2c6;font-weight:600;margin:10px 7px 4px}
.theme-choice small{font-size:10px;color:#b4c0aa;margin:0 7px 9px;line-height:1.5}
.main-menu .theme-description{font-size:11px!important;color:#cbd5bd;min-height:30px;margin:8px 0 12px!important}
.scene-theme body{background:#191b14}
[data-theme=light] body{background:#ede2ce}
.scene-theme .main-menu{background-image:linear-gradient(#0a201dba,#0c201bd9),var(--scene);background-size:cover;background-position:center}
[data-theme=light]{--scene:url('assets/themes/light-scene.png')}
[data-theme=tavern]{--scene:url('assets/themes/tavern-scene.png')}
[data-theme=courtyard]{--scene:url('assets/themes/courtyard-scene.png')}
.scene-theme #gameApp{padding:0;max-width:none;gap:0;position:relative}
.scene-theme #gameApp header{position:absolute;left:22px;right:22px;top:8px;height:30px;min-height:0;border:0;z-index:50;pointer-events:none}
.scene-theme #gameApp header>*{pointer-events:auto}
.scene-theme #gameApp .brand{font-size:17px;letter-spacing:2px;color:#e8d9ad;text-shadow:0 1px 4px #0008}
.scene-theme #gameApp .edition{display:none}
.scene-theme #gameApp .quiet{color:#eee2c4;background:#1e2018aa;border:1px solid #b1a17b40;border-radius:6px;font-size:11px;padding:6px 11px;backdrop-filter:blur(5px)}
.scene-theme #gameApp nav{gap:7px}
.scene-theme #gameApp main{height:100%;width:100%}
.scene-theme #gameApp .layout{grid-template-columns:minmax(0,1fr);gap:0;height:100%}
.scene-theme #gameApp aside{display:none}
.scene-theme #gameApp .table-frame{height:100%;overflow:hidden;background-image:var(--scene);background-position:center;background-size:cover}
.scene-theme #gameApp .table{width:1600px;height:900px;background:transparent;border-radius:0;box-shadow:none;overflow:hidden}
.scene-theme #gameApp .table:before,.scene-theme #gameApp .table-line,.scene-theme #gameApp .watermark{display:none}
.scene-theme #gameApp .seat{border:0!important;background:none!important;padding:0;border-radius:0;z-index:5}
.scene-theme #gameApp .active-seat{box-shadow:none}
.scene-theme #gameApp .seat .avatar,.scene-theme #gameApp .seat .player-label small{display:none}
.scene-theme #gameApp .seat .player-label{width:auto;max-width:none;justify-content:center;font-size:21px;line-height:1.1;color:#e7d3a9;text-shadow:0 1px 4px #1b0b0080;font-family:Georgia,serif}
.scene-theme #gameApp .seat-top{top:22px;width:480px;left:50%;transform:translateX(-50%)}
.scene-theme #gameApp .seat-top .bot-hand{margin-top:15px;gap:5px;min-height:149px}
.scene-theme #gameApp .seat-top .bot-hand .card{width:110px;height:146px;border-width:3px;transform:none}
.scene-theme #gameApp .seat-top .bot-hand .card:first-child{transform:rotate(-2deg)}
.scene-theme #gameApp .seat-top .bot-hand .card:last-child{transform:rotate(2deg)}
.scene-theme #gameApp .seat-left,.scene-theme #gameApp .seat-right{top:242px;width:185px}
.scene-theme #gameApp .seat-left{left:33px}
.scene-theme #gameApp .seat-right{right:33px}
.scene-theme #gameApp .seat-left .bot-hand,.scene-theme #gameApp .seat-right .bot-hand{display:block;position:relative;width:185px;height:300px;margin-top:18px;padding:0}
.scene-theme #gameApp .seat-left .bot-hand .card,.scene-theme #gameApp .seat-right .bot-hand .card{position:absolute;left:38px;top:0;width:106px;height:146px;margin:0;transform:rotate(90deg);border-width:3px}
.scene-theme #gameApp .seat-left .bot-hand .card:nth-child(2),.scene-theme #gameApp .seat-right .bot-hand .card:nth-child(2){top:65px}
.scene-theme #gameApp .seat-left .bot-hand .card:nth-child(3),.scene-theme #gameApp .seat-right .bot-hand .card:nth-child(3){top:130px}
.scene-theme #gameApp .seat-left .bot-hand .card:nth-child(4),.scene-theme #gameApp .seat-right .bot-hand .card:nth-child(4){top:195px}
.scene-theme #gameApp .seat-bottom{left:50%;bottom:141px;width:650px;min-height:184px;transform:translateX(-50%)}
.scene-theme #gameApp .seat-bottom .your-hand{min-height:184px;margin:0;gap:8px}
.scene-theme #gameApp .seat-bottom .card{width:130px;height:184px;--pip-size:30px}
.scene-theme #gameApp .seat-bottom .player-label{position:absolute;left:50%;top:-32px;transform:translateX(-50%);width:auto}
.scene-theme #gameApp .seat-bottom .player-label .score{position:absolute;left:-650px;bottom:-300px;min-width:130px;text-align:center;font:38px Georgia,serif;border-radius:17px;padding:8px 18px;background:#241c12bd;border:1px solid #9f82595e;color:#eedbb1;box-shadow:inset 0 0 0 2px #dfc6a314;text-shadow:none}
.scene-theme #gameApp #score0:before{content:'Мы';display:block;font-size:15px;margin-bottom:3px}
.scene-theme #gameApp #score0 small{display:none!important}
.scene-theme #gameApp .table-center{top:294px;width:650px;height:270px;--table-card-w:139px;--table-card-h:197px;--lane-gap:10px;z-index:8}
.scene-theme #gameApp .trick{height:270px}
.scene-theme #gameApp .table-caption{top:-85px;color:#e5d7b9;text-shadow:0 1px 3px #000;font-size:23px}
.scene-theme #gameApp .trick-history{top:-46px;gap:7px;flex-wrap:nowrap}
.scene-theme #gameApp .play-tag{font-size:18px;padding:5px 8px;white-space:nowrap;background:#19160f9c;color:#e2d6bb;border-color:#c9b79140}
.scene-theme #gameApp .winning-tag{color:#fff0bc;border-color:#d9ae5f;background:#5b432bba}
.scene-theme #gameApp .trick-layer{top:calc(var(--layer)*18px);left:calc(var(--layer)*11px);transform:rotate(var(--tilt,-4deg))}
.scene-theme #gameApp .trick-layer.closed-layer{top:70px;left:clamp(25px,calc(230px - (var(--columns) - 1)*70px),230px);transform:translate(calc(var(--layer)*7px),calc(var(--layer)*6px)) rotate(7deg)}
.scene-theme #gameApp .trick .card{--pip-size:33px;width:var(--table-card-w);height:var(--table-card-h);border-radius:8px}
.scene-theme #gameApp .trick .card .corner{font-size:29px;top:8px;left:9px}
.scene-theme #gameApp .trick .card .corner small{font-size:23px}
.scene-theme #gameApp .trick .card .bottom{font-size:24px;right:9px;bottom:8px}
.scene-theme #gameApp .deck-zone{left:330px;top:279px;width:250px;transform:none;z-index:5}
.scene-theme #gameApp .deck-zone .card{width:110px;height:154px;left:90px;top:24px;transform:rotate(90deg);z-index:0;--pip-size:24px}
.scene-theme #gameApp .deck-zone .card .corner{font-size:26px;top:6px;left:7px}
.scene-theme #gameApp .deck-zone .card .corner small{font-size:18px}
.scene-theme #gameApp .deck-zone .card .bottom{font-size:20px;bottom:5px;right:6px}
.scene-theme #gameApp .deck-zone .back{left:0;top:0;z-index:1;transform:none;box-shadow:2px 4px 0 #b7a582,4px 8px 0 #8c775d,6px 12px 0 #c4ad80,8px 16px 0 #9e8b6a}
.scene-theme #gameApp .deck-count{padding-top:177px;color:#e6d7b7;text-shadow:0 1px 3px #000;font-size:23px;letter-spacing:.3px}
.scene-theme #gameApp .trump-badge{left:330px;right:auto;top:490px;color:#ead8b4;font:23px Georgia,serif;letter-spacing:0;width:190px;text-transform:none}
.scene-theme #gameApp .trump-badge strong{display:inline;font-size:28px;margin-left:7px;color:inherit}
.scene-theme #gameApp .controls{position:absolute;left:50%;bottom:32px;transform:translateX(-50%);margin:0;padding:0;width:auto;min-height:0;background:none;border:0;z-index:15;box-shadow:none}
.scene-theme #gameApp .turn{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.scene-theme #gameApp .actions{gap:25px}
.scene-theme #gameApp .actions .primary{width:270px;height:58px;padding:0 20px;font-size:25px;border-radius:12px;font-weight:400;font-family:Georgia,serif;color:#f5e7ca;background:#482d1fdc;border:1px solid #a07546;box-shadow:inset 0 0 0 3px #2c180e66,inset 0 0 0 5px #aa7d4140,0 4px 9px #0006}
.scene-theme #gameApp .actions .primary:disabled{opacity:.48}
.scene-theme #gameApp .under-table{position:absolute;right:20px;bottom:13px;padding:0;z-index:30;min-height:0}
.scene-theme #gameApp #selectionHelp{display:none}
.scene-theme #gameApp #hintBtn{font-size:11px;border:1px solid #b8a78055;border-radius:5px;background:#231e16a6;color:#eddec2;padding:6px 9px}
.scene-theme #gameApp .error{position:absolute;left:50%;bottom:13%;transform:translateX(-50%);background:#381c11dc;color:#f9e6ce;padding:6px 10px;border-radius:5px;z-index:45;font-size:12px;max-width:65%;text-align:center}
.scene-theme #gameApp .error:empty{display:none}
.scene-theme #gameApp .card{background:#efe0b7;color:#28291f;border:1px solid #bca778;box-shadow:0 3px 6px #1c140e55;overflow:hidden;border-radius:7px}
.scene-theme #gameApp .card.red{color:#ab3429}
.scene-theme #gameApp .card .center{display:none}
.scene-theme #gameApp .card .corner{z-index:4;font:27px/1 Georgia,serif;top:8px;left:8px}
.scene-theme #gameApp .card .corner small{font-size:21px;line-height:1.2}
.scene-theme #gameApp .card .bottom{z-index:4;font:23px/1 Georgia,serif;bottom:7px;right:7px}
.scene-theme #gameApp .card.back{border:4px solid #e5d6b2;background:#a33e32;outline:0}
.scene-theme #gameApp .back:after{display:none}
.back-art{position:absolute;inset:0;width:100%;height:100%;border-radius:3px;pointer-events:none}
.face-art{position:absolute;left:19%;top:16%;width:65%;height:72%;pointer-events:none}
.card-botanical{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;opacity:.85}
.theme-center-suit{position:absolute;left:50%;top:52%;transform:translate(-50%,-50%);font:80px Georgia,serif;pointer-events:none}
.scene-theme #gameApp .deck-zone .theme-center-suit{font-size:62px}
.pip-field{position:absolute;left:19%;top:14%;width:62%;height:72%;pointer-events:none}
.pip-field>span{position:absolute;font-family:Georgia,serif;font-size:var(--pip-size,30px);line-height:1;transform:translate(-50%,-50%)}
.scene-theme #gameApp button.card:not(:disabled):hover{transform:translateY(-10px)}
.scene-theme #gameApp button.card.selected{transform:translateY(-19px);border-color:#ebbd64;box-shadow:0 0 0 2px #edc776,0 0 18px #eec47070,0 8px 12px #0006}
.scene-theme #gameApp .winning-layer .card{border-color:#f2c66e;box-shadow:0 0 0 2px #f4d38e,0 0 16px 4px #f5ca6d99,0 5px 11px #0006}
[data-theme=light] #gameApp .brand{color:#545b4c;text-shadow:none}
[data-theme=light] #gameApp .quiet{background:#efede2ba;color:#4b5447;border-color:#c9cabc66}
[data-theme=light] #gameApp .seat .player-label{color:#676b5f;text-shadow:none;font-family:'Golos Text',Arial,sans-serif;font-size:20px}
[data-theme=light] #gameApp .card{background:#f7f5ed;border-color:#d8d7cc;color:#333630;box-shadow:0 3px 5px #635a4236,inset 0 0 7px #b6af9320;border-radius:9px}
[data-theme=light] #gameApp .card.red{color:#b65f47}
[data-theme=light] #gameApp .card.back{border:3px solid #f7f5ed;background:#f1efe6}
[data-theme=light] #gameApp .card .corner{font-size:30px}
[data-theme=light] #gameApp .card .corner small{display:none}
[data-theme=light] #gameApp .card .bottom{font-size:27px}
[data-theme=light] #gameApp .theme-center-suit{font-size:85px}
[data-theme=light] #gameApp .trick .theme-center-suit{font-size:98px}
[data-theme=light] #gameApp .table-caption{color:#737765;text-shadow:none}
[data-theme=light] #gameApp .play-tag{background:#f1efe5c4;color:#727866;border-color:#c5c8b6}
[data-theme=light] #gameApp .winning-tag{color:#9d7137;border-color:#c89d60;background:#fff8e2d6}
[data-theme=light] #gameApp .deck-count,[data-theme=light] #gameApp .trump-badge{color:#6d7263;text-shadow:none;font-family:'Golos Text',Arial,sans-serif}
[data-theme=light] #gameApp .seat-bottom .player-label .score{left:-640px;bottom:-295px;border-radius:60px;border-color:#e1dfd0;background:#e4e6dbd9;color:#58604f;font:34px 'Golos Text',Arial;box-shadow:0 1px 4px #73745726;min-width:130px}
[data-theme=light] #gameApp .actions .primary{font:24px 'Golos Text',Arial,sans-serif;width:285px;border-radius:40px;background:#bd7558;border:1px solid #d8aa91;color:#fff9ec;box-shadow:inset 0 2px 3px #f3d3b03b,0 2px 4px #8e79543a}
[data-theme=light] #gameApp #discard{background:#9aab87;border-color:#c4ccb9}
[data-theme=light] #gameApp #hintBtn{background:#e4e6dabf;color:#66715b;border-color:#c6cbb7}
[data-theme=light] #gameApp .winning-layer .card{border-color:#e8bd70;box-shadow:0 0 0 1px #f5d79c,0 0 15px #ffe0a4ba,0 4px 8px #6c5a4740}
[data-theme=tavern] #gameApp .seat .player-label>div{padding:4px 22px;background:linear-gradient(#6b482b,#3c2419);border:1px solid #987044;border-radius:3px;box-shadow:inset 0 0 0 2px #26120988,0 2px 3px #0006}
[data-theme=tavern] #gameApp .card.face{background:radial-gradient(ellipse at center,#f2e4b9 40%,#d8c294 100%);box-shadow:0 2px 5px #0007,inset 0 0 0 2px #76562c3b,inset 0 0 14px #9e6d3155;border-color:#b6935f}
[data-theme=tavern] #gameApp .face-art{filter:sepia(.08) saturate(.9);mask-image:linear-gradient(transparent,#000 4% 96%,transparent)}
[data-theme=tavern] #gameApp .seat-bottom .player-label .score{left:610px;bottom:460px;border-radius:3px;min-width:100px;padding:9px 15px;background:#392315df;border-color:#8e6337;color:#e3b969}
[data-theme=tavern] #gameApp .deck-zone{left:300px;top:471px}
[data-theme=tavern] #gameApp .trump-badge{left:300px;top:682px}
[data-theme=tavern] #gameApp .actions .primary{background:linear-gradient(#633c23cc,#382015cc),url('assets/themes/tavern-scene.png') center bottom/850px 478px;border:2px solid #78502d;color:#f3dfb8;border-radius:8px}
[data-theme=tavern] #gameApp #play{background:linear-gradient(#bb7a22a6,#6a3c14b8),url('assets/themes/tavern-scene.png') center bottom/850px 478px;border-color:#dfad56;box-shadow:inset 0 0 0 3px #47230d77,inset 0 0 0 5px #c2924266,0 0 12px #d69b3c2e}
[data-theme=courtyard] #gameApp .seat .player-label{font:17px 'Golos Text',Arial;color:#f1e9d6;text-shadow:none}
[data-theme=courtyard] #gameApp .seat .player-label>div{padding:5px 18px;background:#171d19b3;border-radius:6px}
[data-theme=courtyard] #gameApp .card.face{background:radial-gradient(ellipse at 25% 30%,#e7d6b5,#d0b58e 95%);border-color:#a88b66;border-radius:5px;box-shadow:inset 0 0 0 1px #5e472b44,inset 0 0 12px #7a573d55,0 3px 7px #17140a8a;color:#24261f}
[data-theme=courtyard] #gameApp .card.red{color:#9d3e31}
[data-theme=courtyard] #gameApp .card.back{border-color:#e2d6bc;border-width:5px;background:#eee5cf}
[data-theme=courtyard] #gameApp .face-art{filter:sepia(.12) contrast(.92) saturate(.82);mask-image:linear-gradient(transparent,#000 6% 93%,transparent)}
[data-theme=courtyard] #gameApp .seat-top{top:51px}
[data-theme=courtyard] #gameApp .seat-top .bot-hand .card{height:117px;width:99px}
[data-theme=courtyard] #gameApp .seat-left,[data-theme=courtyard] #gameApp .seat-right{top:285px}
[data-theme=courtyard] #gameApp .seat-left{left:7px}
[data-theme=courtyard] #gameApp .seat-right{right:7px}
[data-theme=courtyard] #gameApp .seat-bottom .player-label .score{left:600px;bottom:-290px;min-width:110px;padding:9px 15px;border-radius:5px;background:#161c18c7;color:#e4dfd1;border-color:#70756855;font:31px 'Golos Text',Arial}
[data-theme=courtyard] #gameApp .deck-zone{left:205px;top:450px}
[data-theme=courtyard] #gameApp .trump-badge{left:205px;top:661px}
[data-theme=courtyard] #gameApp .actions .primary{font:24px 'Golos Text',Arial;background:#3e281edb;border:1px solid #806344;box-shadow:inset 0 0 0 2px #ae92782b,0 3px 5px #0b120f8a;border-radius:10px;width:220px}
[data-theme=courtyard] #gameApp #play{color:#f4dba6;border-color:#d5af68;background:#6b4523d9;box-shadow:0 0 10px #c7974f44,inset 0 0 0 1px #f2cc7955}
@media(max-width:700px){.theme-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}.main-menu{padding:14px}.main-menu .menu-suit{display:none}.main-menu h1{font-size:38px;margin:4px 0}.main-menu .menu-content>p{font-size:10px;margin-bottom:8px}.theme-choice img{aspect-ratio:2.5}.theme-choice span{font-size:12px;margin-top:6px}.theme-choice small{font-size:8px;margin-bottom:5px}.theme-picker legend{margin-bottom:8px;font-size:10px}.main-menu .theme-description{font-size:9px!important;min-height:23px}.main-menu .primary{padding:12px 30px}.scene-theme #gameApp header{left:10px;right:10px;top:7px}.scene-theme #gameApp .brand{font-size:13px}.scene-theme #gameApp .quiet{font-size:9px;padding:5px 7px}.scene-theme #gameApp nav{gap:4px}.scene-theme #gameApp .under-table{right:10px;bottom:8px}}
@media(max-height:600px) and (min-width:701px){.main-menu{padding:12px}.main-menu .menu-suit{display:none}.main-menu h1{font-size:38px;margin:3px 0}.main-menu .menu-content>p{margin-bottom:6px}.theme-picker{margin:12px 0 7px}.theme-choice img{aspect-ratio:2}.main-menu .theme-description{min-height:20px;margin:4px 0 8px!important}.main-menu .primary{padding:12px 30px}}
.scene-theme #gameApp .trick .trick-layer.winning-layer .card{border-color:#ffdb16;box-shadow:0 0 0 4px #ffe32b,0 0 12px 5px #ffdf23dd,0 0 30px 11px #ffdb2877,0 5px 10px #0006}
.scene-theme #gameApp .seat-bottom button.card.selected{border-color:#e5b25a;box-shadow:0 0 0 2px #f3d08d,0 0 18px #ecc27488,0 7px 12px #0006}
.face-art,.back-art{overflow:hidden}
.scene-theme dialog{background:#35271e;color:#efdfbf;border-color:#9a784e;box-shadow:0 20px 70px #0d0908aa}
.scene-theme dialog h2,.scene-theme dialog .close,.scene-theme dialog .quiet{color:#efdfbf}
.scene-theme dialog .eyebrow,.scene-theme dialog p,.scene-theme dialog .rules-grid p,.scene-theme dialog .result-table th{color:#c6b79a}
.scene-theme dialog .variant{background:#251e18}
.scene-theme dialog .variant p{color:#cfc0a3}
.scene-theme dialog a{color:#e1bc76}
.scene-theme dialog .result-table td{border-color:#8f77503d}
[data-theme=light] dialog{background:#f5f2e7;color:#4c5547;border-color:#d5d7c6}
[data-theme=light] dialog h2,[data-theme=light] dialog .close,[data-theme=light] dialog .quiet{color:#4c5547}
[data-theme=light] dialog p,[data-theme=light] dialog .rules-grid p,[data-theme=light] dialog .result-table th{color:#777d6b}
[data-theme=light] dialog .variant{background:#e6e9dc}
[data-theme=light] dialog .variant p{color:#656f5a}
[data-theme=light] dialog a{color:#768765}
.scene-theme #gameApp .goal{position:absolute;left:20px;bottom:20px;width:270px;padding:16px 18px;z-index:12;background:#211c16e6;color:#e9dbb9;border:1px solid #b9a37766;border-radius:10px;box-shadow:0 4px 16px #0003}
.scene-theme #gameApp .goal .eyebrow{font-size:11px;letter-spacing:.8px;color:#d8c59b}
.scene-theme #gameApp .goal .round-title{font-size:20px;margin:9px 0 3px}
.scene-theme #gameApp .goal .round-title>span{font-size:23px}
.scene-theme #gameApp .goal .standing{color:inherit;padding:8px 0}
.scene-theme #gameApp .goal .standing span{font-size:13px}
.scene-theme #gameApp .goal .standing small{font-size:12px}
.scene-theme #gameApp .goal .standing b{font-size:30px}
.scene-theme #gameApp .goal .closed-note{display:none}
[data-theme=light] #gameApp .goal{background:#f1f1e4ed;border-color:#c6cbb7;color:#58604f}
[data-theme=light] #gameApp .goal .eyebrow{color:#777d6b}
[data-theme=light] #gameApp .seat-bottom .player-label .score{display:none}
[data-theme=light] #gameApp .seat-top{top:0;width:600px}
[data-theme=light] #gameApp .seat-top .bot-hand{margin-top:8px;min-height:182.5px}
[data-theme=light] #gameApp .seat-top .bot-hand .card{width:137.5px;height:182.5px}
[data-theme=light] #gameApp .seat-left .bot-hand,[data-theme=light] #gameApp .seat-right .bot-hand{height:380px}
[data-theme=light] #gameApp .seat-left .bot-hand .card,[data-theme=light] #gameApp .seat-right .bot-hand .card{width:132.5px;height:182.5px}
[data-theme=light] #gameApp .seat-left .bot-hand .card:nth-child(2),[data-theme=light] #gameApp .seat-right .bot-hand .card:nth-child(2){top:81.25px}
[data-theme=light] #gameApp .seat-left .bot-hand .card:nth-child(3),[data-theme=light] #gameApp .seat-right .bot-hand .card:nth-child(3){top:162.5px}
[data-theme=light] #gameApp .seat-left .bot-hand .card:nth-child(4),[data-theme=light] #gameApp .seat-right .bot-hand .card:nth-child(4){top:243.75px}
[data-theme=light] #gameApp .seat-bottom{bottom:75px;width:760px;min-height:230px}
[data-theme=light] #gameApp .seat-bottom .your-hand{min-height:230px}
[data-theme=light] #gameApp .seat-bottom .card{width:162.5px;height:230px}
[data-theme=light] #gameApp .table-center{top:295px;left:55%}
[data-theme=light] #gameApp .trick-layer.closed-layer{top:55px}
[data-theme=light] #gameApp .deck-zone{left:230px;top:295px;width:320px}
[data-theme=light] #gameApp .deck-zone .card{width:137.5px;height:192.5px;left:135px;top:26px}
[data-theme=light] #gameApp .deck-zone .back{left:0;top:0}
[data-theme=light] #gameApp .deck-count{padding-top:215px}
[data-theme=light] #gameApp .trump-badge{left:230px;top:551px}
[data-theme=light] #gameApp .controls{bottom:12px}
[data-theme=light] #gameApp .actions .primary{height:50px}
[data-theme=tavern] #gameApp .seat-top{top:0}
[data-theme=tavern] #gameApp .seat-bottom{bottom:100px}
[data-theme=tavern] #gameApp .card.back{background:#204d56;border-color:#dfd1a8}
[data-theme=tavern] #gameApp #discard{background:linear-gradient(#477784,#214650);border-color:#9bb9b3;color:#fff0ca;box-shadow:inset 0 0 0 3px #123c4566,0 3px 9px #0005}
[data-theme=tavern] #gameApp #play{background:linear-gradient(#89915a,#465b3a);border-color:#d9cd91;color:#fff4c9;box-shadow:inset 0 0 0 3px #263d2966,0 3px 9px #0005}
[data-theme=courtyard] #gameApp .goal{background:#18201be8;border-color:#6c7664;color:#e4dfd1}
[data-theme=courtyard] #gameApp .card{border-radius:7px 10px 6px 9px}
[data-theme=courtyard] #gameApp .card.face{background:#d7bd91;border:1px solid #8d7051;color:#24231c;box-shadow:1px 3px 5px #15150f88,inset 0 0 0 1px #6f563a55}
[data-theme=courtyard] #gameApp .card.red{color:#a43629}
[data-theme=courtyard] #gameApp .card.back{border:1px solid #9b7a54;background:#c7ad83}
[data-theme=courtyard] #gameApp .card .face-art,[data-theme=courtyard] #gameApp .card-paper{position:absolute;inset:0;width:100%;height:100%;filter:none;mask-image:none;pointer-events:none;z-index:0}
[data-theme=courtyard] #gameApp .card .pip-field,[data-theme=courtyard] #gameApp .card .theme-center-suit{z-index:1}
[data-theme=courtyard] #gameApp .card .corner{font-weight:bold;text-shadow:0 0 1px #604b2b40}
[data-theme=courtyard] #gameApp .seat-bottom button.card:nth-child(odd):not(.selected):not(:hover){transform:rotate(-1deg)}
[data-theme=courtyard] #gameApp .seat-bottom button.card:nth-child(even):not(.selected):not(:hover){transform:rotate(.8deg)}
.main-menu{overflow:auto;padding:20px}
.main-menu .menu-content{width:min(1100px,100%);margin:auto}
.main-menu .menu-suit{display:none}
.main-menu h1{font-size:42px;margin:5px 0;letter-spacing:7px}
.main-menu .menu-content>p{font-size:12px;margin:0 0 14px}
.menu-setup{display:grid;grid-template-columns:1fr 1fr;gap:24px;text-align:left;align-items:start}
.menu-setup fieldset{border:0;padding:0;margin:0;min-width:0}
.menu-setup legend{font-size:12px;color:#d7dfc7;margin-bottom:10px;letter-spacing:.3px}
.menu-setup .theme-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.menu-setup .theme-choice img{aspect-ratio:2.5}
.menu-setup .theme-choice span{margin:7px 6px 2px;font-size:13px}
.menu-setup .theme-choice small{margin:0 6px 5px;font-size:9px}
.menu-setup .theme-description{margin:9px 0 0!important;font-size:10px!important;min-height:0}
.mode-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mode-picker label{cursor:pointer;display:flex;gap:6px;padding:11px 8px;border:1px solid #a4b39955;background:#173e31;border-radius:8px;color:#f0e8d1;font-size:12px}
.mode-picker label:has(input:checked){border-color:#e7c88a;background:#496044}
.mode-picker input{accent-color:#e7c88a;margin:2px 0;flex-shrink:0}
.mode-picker small{display:block;font-size:9px;color:#c7d2ba;margin-top:5px}
.menu-setup .rule-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}
.rule-option{display:flex;align-items:center;gap:10px;cursor:pointer;border:1px solid #a4b39940;border-radius:8px;padding:10px;background:#173e31;color:#ebe6d4;min-height:61px}
.rule-option:has(input:checked){border-color:#c4c998aa;background:#294b36}
.rule-option input{width:17px;height:17px;accent-color:#d9c18c;flex-shrink:0}
.rule-option b{display:block;font-size:12px;font-weight:500}
.rule-option small{display:block;font-size:10px;color:#becbb4;margin-top:4px;line-height:1.35}
.play-settings .rule-note{font-size:10px;color:#c2ceb5;line-height:1.5;margin:10px 0 0}
.main-menu .settings-summary{font-size:11px!important;margin:16px 0 10px!important;color:#e4ddc5}
.main-menu #startGame{padding:13px 35px;min-width:250px}
.scene-theme[data-game-mode=solo3] #gameApp #score0:before,.scene-theme[data-game-mode=solo4] #gameApp #score0:before{content:'Вы'}
@media(max-width:720px){.menu-setup{grid-template-columns:1fr;gap:16px}.main-menu{padding:18px}.main-menu h1{font-size:34px}.main-menu .menu-content>p{margin-bottom:12px}.menu-setup .theme-choice img{aspect-ratio:3.5}.menu-setup .rule-picker{margin-top:14px}.menu-setup .theme-choice small{font-size:9px}.main-menu:before{display:none}.main-menu .settings-summary{line-height:1.6}.mode-picker label{font-size:11px;padding:10px 6px}.mode-picker small{font-size:8px}}
@media(max-height:650px) and (min-width:721px){.main-menu{padding:12px}.main-menu h1{font-size:30px}.main-menu .menu-content>p{margin-bottom:10px}.menu-setup .theme-choice img{aspect-ratio:3.3}.menu-setup .rule-picker{margin-top:10px}.rule-option{min-height:52px;padding:8px}.play-settings .rule-note{font-size:9px;margin-top:7px}.main-menu .settings-summary{margin:10px 0 8px!important}}
[data-theme=courtyard] #gameApp .table-center{--table-card-w:125.1px;--table-card-h:177.3px}
[data-theme=courtyard] #gameApp .trick .card{--pip-size:29.7px}
[data-theme=courtyard] #gameApp .trick .card .corner{font-size:26.1px}
[data-theme=courtyard] #gameApp .trick .card .corner small{font-size:20.7px}
[data-theme=courtyard] #gameApp .trick .card .bottom{font-size:21.6px}
[data-theme=courtyard] #gameApp .trick .theme-center-suit{font-size:72px}
[data-theme=courtyard] #gameApp .seat-bottom{bottom:122.6px}
[data-theme=courtyard] #gameApp .deck-zone{top:380px}
[data-theme=courtyard] #gameApp .trump-badge{top:591px}
[data-theme=courtyard] #gameApp .seat-left .bot-hand .card:nth-child(2),[data-theme=courtyard] #gameApp .seat-right .bot-hand .card:nth-child(2){top:56px}
[data-theme=courtyard] #gameApp .seat-left .bot-hand .card:nth-child(3),[data-theme=courtyard] #gameApp .seat-right .bot-hand .card:nth-child(3){top:112px}
[data-theme=courtyard] #gameApp .seat-left .bot-hand .card:nth-child(4),[data-theme=courtyard] #gameApp .seat-right .bot-hand .card:nth-child(4){top:168px}
.rules-score{width:100%;border-collapse:collapse;margin:16px 0;font-size:13px}
.rules-score th,.rules-score td{padding:10px 8px;text-align:left;border-bottom:1px solid #8885}
#gameApp .trick .trick-layer,#gameApp .trick .trick-layer.winning-layer{z-index:calc(10 + var(--layer))}
#gameApp .trick .trick-layer.closed-layer{z-index:calc(2 + var(--layer));left:calc(var(--layer)*9px + 12px);top:calc(var(--layer)*24px + 18px)}
.scene-theme #gameApp .trick .trick-layer.closed-layer{left:calc(var(--layer)*11px + 14px);top:calc(var(--layer)*18px + 24px)}
.trick-card-slot{position:relative;width:var(--table-card-w);height:var(--table-card-h);flex-shrink:0;pointer-events:auto;outline:none}
#gameApp .trick .trick-card-slot>.card{pointer-events:none;transition:transform .18s ease,box-shadow .18s,border-color .18s;transform:translate(0,0)}
#gameApp .trick .open-card:hover>.card,#gameApp .trick .open-card:focus-visible>.card{transform:translate(-7px,-46px)}
#gameApp .trick .open-card:focus-visible{outline:2px solid #ffe49a;outline-offset:3px;border-radius:7px}
[data-theme=light] #gameApp .trick .corner small{display:block}
.penalty-list{margin-top:8px;padding-top:5px;border-top:1px solid #899b834d}
.penalty-row{display:flex;align-items:baseline;justify-content:space-between;gap:7px;padding:5px 0;font-size:11px;line-height:1.2}
.penalty-row b{white-space:nowrap;font-size:12px;font-weight:600}
.penalty-row small{font-size:9px;font-weight:400}
.scene-theme #gameApp .goal .penalty-row{font-size:14px;padding:4px 0}
.scene-theme #gameApp .goal .penalty-row b{font-size:16px}
.scene-theme #gameApp .goal .penalty-row small{font-size:10px}
.scene-theme #gameApp .goal .standing{padding:5px 0}
.scene-theme #gameApp .goal .round-title{margin-top:7px}
#result{max-width:620px}
#resultScores{margin:18px 0}
.round-winner{display:block;font-size:9px;color:#9caa65;margin-top:5px;font-weight:400}
[data-theme=light] .round-winner{color:#657d4b}
[data-theme=light]{--bot-step:65px}
[data-theme=light][data-game-mode=solo3]{--bot-step:55px}
[data-theme=light][data-game-mode=solo4]{--bot-step:46px}
[data-theme=light] #gameApp .seat-left .bot-hand .card:nth-child(2),[data-theme=light] #gameApp .seat-right .bot-hand .card:nth-child(2){top:var(--bot-step)}
[data-theme=light] #gameApp .seat-left .bot-hand .card:nth-child(3),[data-theme=light] #gameApp .seat-right .bot-hand .card:nth-child(3){top:calc(var(--bot-step)*2)}
[data-theme=light] #gameApp .seat-left .bot-hand .card:nth-child(4),[data-theme=light] #gameApp .seat-right .bot-hand .card:nth-child(4){top:calc(var(--bot-step)*3)}
[data-theme=courtyard][data-game-mode=solo3] #gameApp .deck-zone{top:352px}
[data-theme=courtyard][data-game-mode=solo3] #gameApp .trump-badge{top:563px}
[data-theme=courtyard][data-game-mode=solo4] #gameApp .deck-zone{top:324px}
[data-theme=courtyard][data-game-mode=solo4] #gameApp .trump-badge{top:535px}
[data-theme=courtyard]{--yard-step:56px}
[data-theme=courtyard][data-game-mode=solo3]{--yard-step:46px}
[data-theme=courtyard][data-game-mode=solo4]{--yard-step:36px}
[data-theme=courtyard] #gameApp .seat-left .bot-hand .card:nth-child(2),[data-theme=courtyard] #gameApp .seat-right .bot-hand .card:nth-child(2){top:var(--yard-step)}
[data-theme=courtyard] #gameApp .seat-left .bot-hand .card:nth-child(3),[data-theme=courtyard] #gameApp .seat-right .bot-hand .card:nth-child(3){top:calc(var(--yard-step)*2)}
[data-theme=courtyard] #gameApp .seat-left .bot-hand .card:nth-child(4),[data-theme=courtyard] #gameApp .seat-right .bot-hand .card:nth-child(4){top:calc(var(--yard-step)*3)}
@media(prefers-reduced-motion:reduce){#gameApp .trick .trick-card-slot>.card{transition:none}}
@media(max-width:780px){html:not(.scene-theme) #gameApp .layout{grid-template-rows:minmax(0,1fr) auto}html:not(.scene-theme) #gameApp #sidebar{display:block}html:not(.scene-theme) #gameApp #sidebar .journal{display:none}html:not(.scene-theme) #gameApp .goal{padding:7px 10px;margin-top:5px}html:not(.scene-theme) #gameApp .goal .eyebrow{display:none}html:not(.scene-theme) #gameApp .goal .round-title{font-size:11px;margin:0}html:not(.scene-theme) #gameApp .goal .round-title>span{font-size:12px}html:not(.scene-theme) #gameApp .goal .standing{padding:2px 0}html:not(.scene-theme) #gameApp .goal .team-standing>div{flex-direction:row;gap:5px}html:not(.scene-theme) #gameApp .goal .team-standing b{font-size:18px}html:not(.scene-theme) #gameApp .goal .standing small{font-size:8px}html:not(.scene-theme) #gameApp .goal .team-standing b small{display:inline}html:not(.scene-theme) #gameApp .penalty-list{display:grid;grid-template-columns:1fr 1fr;gap:2px 12px;margin-top:2px;padding-top:3px}html:not(.scene-theme) #gameApp .penalty-row{font-size:9px;padding:1px 0}html:not(.scene-theme) #gameApp .penalty-row b{font-size:10px}html:not(.scene-theme) #gameApp .penalty-row small{font-size:8px}html:not(.scene-theme) #gameApp .closed-note{display:none}}
#gameApp #table .trump-badge{display:flex;align-items:center;justify-content:center;gap:9px;width:max-content;max-width:195px;padding:4px 10px;border:1px solid #cbb47b80;border-radius:8px;background:#153c32ed;color:#e5dcc5;font:600 10px/1 'Golos Text',Arial,sans-serif;letter-spacing:1px;text-shadow:none;box-shadow:0 2px 7px #091d1938}
#gameApp #table .trump-badge #trump{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;margin:0;border:1px solid #baa78480;border-radius:6px;background:#f8f0dd;color:#202820;font:32px/1 Georgia,'Times New Roman',serif;letter-spacing:0;text-shadow:none}
#gameApp #table .trump-badge #trump.red-suit{color:#b5262c}
.scene-theme #gameApp #table .trump-badge{font-size:14px;letter-spacing:.6px}
[data-theme=light] #gameApp #table .trump-badge{background:#f4f2e8f5;border-color:#b5baa5;color:#626b5b;box-shadow:0 2px 7px #6c6c4c18}
[data-theme=tavern] #gameApp #table .trump-badge{background:#173d3eef;border-color:#b8a271;color:#eadbb5}
[data-theme=courtyard] #gameApp #table .trump-badge{background:#e3d0a9f0;border-color:#8d7350;color:#65543e;box-shadow:1px 3px 5px #15150f60}
[data-theme=classic] #gameApp .deck-zone{width:165px}
[data-theme=classic] #gameApp .deck-zone .card{width:96px;height:135px;left:58px}
[data-theme=classic] #gameApp .deck-zone .back{left:0}
[data-theme=classic] #gameApp .deck-zone .card .corner{font-size:21px}
[data-theme=classic] #gameApp .deck-zone .card .corner small{font-size:17px}
[data-theme=classic] #gameApp .deck-zone .card .center{font-size:42px}
[data-theme=classic] #gameApp .deck-zone .card .bottom{font-size:17px}
[data-theme=classic] #gameApp .deck-count{padding-top:155px;max-width:160px}
[data-theme=classic] #gameApp .compact-table .deck-zone{top:52px}
[data-theme=classic] #gameApp .compact-table .deck-zone .card{width:80px;height:112px;left:48px}
[data-theme=classic] #gameApp .compact-table .deck-zone .back{left:0}
[data-theme=classic] #gameApp .compact-table .deck-count{padding-top:128px}
[data-theme=light][data-game-mode=solo4] #gameApp #table .trump-badge{top:541px}
[data-theme=winter]{--scene:url('assets/themes/winter-scene.png');--print-paper:#f3ebd8;--print-ink:#213529;--print-edge:#c5b591;--print-panel:#f2e8d4f5;--print-accent:#214934;--print-gold:#b69b61}
[data-theme=artdeco]{--scene:url('assets/themes/artdeco-scene.png');--print-paper:#f5e8ce;--print-ink:#20241f;--print-edge:#bca06a;--print-panel:#10171df2;--print-accent:#111c29;--print-gold:#d1ac60}
[data-theme=kitchen]{--scene:url('assets/themes/kitchen-scene.png');--print-paper:#f4e7cd;--print-ink:#302820;--print-edge:#c5ae85;--print-panel:#f5e5c9f5;--print-accent:#a5503c;--print-gold:#b79868}
.print-theme #gameApp .seat-top{top:55px;width:540px}
.print-theme #gameApp .seat-top .bot-hand{gap:8px}
.print-theme #gameApp .seat-top .bot-hand .card{width:110px;height:146px}
.print-theme #gameApp .seat-left,.print-theme #gameApp .seat-right{top:270px}
.print-theme #gameApp .seat-left .bot-hand .card:nth-child(2),.print-theme #gameApp .seat-right .bot-hand .card:nth-child(2){top:45px}
.print-theme #gameApp .seat-left .bot-hand .card:nth-child(3),.print-theme #gameApp .seat-right .bot-hand .card:nth-child(3){top:90px}
.print-theme #gameApp .seat-left .bot-hand .card:nth-child(4),.print-theme #gameApp .seat-right .bot-hand .card:nth-child(4){top:135px}
.print-theme #gameApp .seat-bottom{bottom:100px}
.print-theme #gameApp .table-center{top:330px}
.print-theme #gameApp .seat .player-label>div{padding:5px 18px;border:1px solid var(--print-gold);border-radius:20px;background:var(--print-panel);color:var(--print-ink);text-shadow:none}
.print-theme #gameApp .seat-bottom .player-label .score{display:none}
.print-theme #gameApp .deck-zone{left:265px;top:330px;width:230px}
.print-theme #gameApp #table .trump-badge{left:265px;top:545px;background:var(--print-panel);border-color:var(--print-gold);color:var(--print-ink)}
.print-theme #gameApp .deck-count{color:var(--print-ink);font-size:21px;text-shadow:0 1px 2px #fff9}
.print-theme #gameApp .card{background:var(--print-paper);border-color:var(--print-edge);color:var(--print-ink);box-shadow:1px 3px 7px #241d174f}
.print-theme #gameApp .card.red{color:#b32b26}
.print-theme #gameApp .card.back{border:2px solid var(--print-edge)}
.print-theme #gameApp .card .card-paper{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.print-theme #gameApp .card .face-art{left:15%;top:4%;width:83%;height:92%;z-index:1}
.print-theme #gameApp .card .corner,.print-theme #gameApp .trick .card .corner{font-size:34px;left:6px;top:6px;font-weight:600}
.print-theme #gameApp .card .corner small,.print-theme #gameApp .trick .card .corner small{display:block;font-size:28px;line-height:1}
.print-theme #gameApp .card .bottom,.print-theme #gameApp .trick .card .bottom{font-size:28px;right:6px;bottom:6px}
.print-theme #gameApp .card .pip-field{left:19%;width:62%;z-index:1}
.print-theme #gameApp .pip-field>span{font-size:var(--pip-size,30px)}
.print-theme #gameApp .theme-center-suit{font-size:100px;z-index:1}
.print-theme #gameApp .deck-zone .theme-center-suit{font-size:76px}
.print-theme #gameApp .goal{width:300px;background:var(--print-panel);border:1px solid var(--print-gold);color:var(--print-ink);box-shadow:0 3px 10px #271b113d}
.print-theme #gameApp .goal .eyebrow{color:var(--print-accent)}
.print-theme #gameApp .table-caption{font-size:25px;color:var(--print-ink);text-shadow:0 1px 3px #fff9}
.print-theme #gameApp .play-tag{background:var(--print-panel);color:var(--print-ink);border-color:var(--print-gold);font-size:18px}
.print-theme #gameApp .winning-tag{background:#fff1b8;color:#55421c;border-color:#d6af43}
.print-theme #gameApp .actions .primary{background:var(--print-panel);color:var(--print-ink);border:2px solid var(--print-gold);box-shadow:inset 0 0 0 2px #fff4,0 3px 8px #271b1140;border-radius:30px;font-size:27px;height:60px}
.print-theme #gameApp #play{background:var(--print-accent);color:#fff3d5}
.print-theme #gameApp .quiet{background:var(--print-panel);border-color:var(--print-gold);color:var(--print-ink);text-shadow:none}
[data-theme=artdeco] #gameApp .seat .player-label>div,[data-theme=artdeco] #gameApp .goal,[data-theme=artdeco] #gameApp .actions .primary,[data-theme=artdeco] #gameApp .quiet,[data-theme=artdeco] #gameApp #table .trump-badge{color:#efdeb8;border-radius:3px}
[data-theme=artdeco] #gameApp .table-caption,[data-theme=artdeco] #gameApp .deck-count{color:#efdeb8;text-shadow:0 1px 3px #000}
[data-theme=artdeco] #gameApp .goal .eyebrow{color:#d4b474}
[data-theme=artdeco] #gameApp .actions .primary{box-shadow:inset 0 0 0 3px #0d1624,inset 0 0 0 4px #bca06a,0 3px 8px #0006}
[data-theme=winter] #gameApp .brand,[data-theme=kitchen] #gameApp .brand{color:#fcf1d5;text-shadow:0 1px 4px #281b09}
[data-theme=winter] dialog,[data-theme=kitchen] dialog{background:var(--print-paper);color:var(--print-ink);border-color:var(--print-gold)}
[data-theme=winter] dialog h2,[data-theme=winter] dialog .quiet,[data-theme=winter] dialog p,[data-theme=winter] dialog .eyebrow,[data-theme=winter] dialog .result-table th,[data-theme=kitchen] dialog h2,[data-theme=kitchen] dialog .quiet,[data-theme=kitchen] dialog p,[data-theme=kitchen] dialog .eyebrow,[data-theme=kitchen] dialog .result-table th{color:var(--print-ink)}
:is([data-theme=classic],[data-theme=light],[data-theme=tavern],[data-theme=courtyard]) #gameApp .card.face .corner{transform:scale(1.12);transform-origin:top left}
:is([data-theme=classic],[data-theme=light],[data-theme=tavern],[data-theme=courtyard]) #gameApp .card.face .bottom{transform:scale(1.12);transform-origin:bottom right}
:is([data-theme=classic],[data-theme=light],[data-theme=tavern],[data-theme=courtyard]) #gameApp .card.face .center{transform:translate(-50%,-50%) scale(1.12)}
:is([data-theme=light],[data-theme=tavern],[data-theme=courtyard]) #gameApp .theme-center-suit{transform:translate(-50%,-50%) scale(1.12)}
:is([data-theme=tavern],[data-theme=courtyard]) #gameApp .pip-field>span{font-size:calc(var(--pip-size,30px)*1.1)}
[data-theme=tavern] #gameApp .face-art{left:15%;top:12%;width:73%;height:80%}
[data-theme=courtyard] #gameApp .face-art{transform:scale(1.06);transform-origin:center}
[data-theme=light] #gameApp .card .corner small{display:block}
.menu-setup .theme-picker{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:720px){.menu-setup .theme-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
[data-theme=artdeco] #gameApp .play-tag{color:#efdeb8}
[data-theme=artdeco] #gameApp .winning-tag{color:#55421c}
[data-theme=winter] dialog .close,[data-theme=kitchen] dialog .close{color:var(--print-ink)}
[data-theme=tavern][data-game-mode=solo4] #gameApp .seat-left .bot-hand .card:nth-child(2),[data-theme=tavern][data-game-mode=solo4] #gameApp .seat-right .bot-hand .card:nth-child(2){top:56px}
[data-theme=tavern][data-game-mode=solo4] #gameApp .seat-left .bot-hand .card:nth-child(3),[data-theme=tavern][data-game-mode=solo4] #gameApp .seat-right .bot-hand .card:nth-child(3){top:112px}
[data-theme=tavern][data-game-mode=solo4] #gameApp .seat-left .bot-hand .card:nth-child(4),[data-theme=tavern][data-game-mode=solo4] #gameApp .seat-right .bot-hand .card:nth-child(4){top:168px}
.print-theme #gameApp .trick .trick-layer.closed-layer{top:calc(var(--layer)*12px + 6px)}
[data-theme=winter] #gameApp .card.back{border:4px solid #f5efdf;background:#f5efdf}
[data-theme=courtyard] #gameApp .card.back{background:#a44232}
[data-theme=courtyard] #gameApp .back-art{display:block;background-size:100% 100%;background-position:center;background-repeat:no-repeat}
#gameApp .player-name{display:inline;border:0;padding:0;background:none;box-shadow:none;color:inherit;font:inherit;line-height:inherit;cursor:text;max-width:100%;overflow-wrap:anywhere}
#gameApp .player-name:hover{text-decoration:underline;text-underline-offset:4px}
#gameApp .player-label>div{width:max-content;max-width:300px;border-radius:12px}
.scene-theme #gameApp .seat-top .player-label>div{max-width:650px;white-space:nowrap}
.scene-theme #gameApp .seat-left .player-label,.scene-theme #gameApp .seat-right .player-label{position:relative;height:24px}
.scene-theme #gameApp .seat-left .player-label>div,.scene-theme #gameApp .seat-right .player-label>div{position:absolute;bottom:0;max-width:320px;white-space:normal}
.scene-theme #gameApp .seat-left .player-label>div{left:0}
.scene-theme #gameApp .seat-right .player-label>div{right:0}
#gameApp .seat.taking-trick .player-label>div{background:#fff0a4!important;color:#64470e!important;box-shadow:0 0 0 2px #f0cb49,0 0 12px #e9c32a70;text-shadow:none}
#gameApp .seat.taking-trick:not(#seat0) .hand .card{border-color:#e9c85c;box-shadow:0 0 0 2px #edca5570,0 0 13px #f3cf4b66}
#gameApp .seat.first-lead .hand .card{animation:first-lead-pulse .5s ease-in-out 4}
@keyframes first-lead-pulse{0%,100%{box-shadow:0 0 0 0 #f3cf4b00}50%{border-color:#f2d354;box-shadow:0 0 0 3px #f2d354,0 0 22px #f3cf4b99}}
@media(prefers-reduced-motion:reduce){#gameApp .seat.first-lead .hand .card{animation:none;border-color:#f2d354;box-shadow:0 0 0 3px #f2d354,0 0 16px #f3cf4b66}}
#gameApp #play:disabled{background:#747777;border-color:#999c9b;color:#e3e5e3;box-shadow:none;opacity:.7;cursor:default}
[data-theme=winter] #gameApp .card.face,[data-theme=kitchen] #gameApp .card.face{background:#fff;border-color:#d5d5cf}
[data-theme=winter] #gameApp .card.back,[data-theme=kitchen] #gameApp .card.back{border:4px solid #fff;background:#fff}
[data-theme=light]{--round-button-bg:#7b9365;--round-button-edge:#b6c7a1}
[data-theme=tavern]{--round-button-bg:#37646e;--round-button-edge:#bda763}
[data-theme=courtyard]{--round-button-bg:#4b3423;--round-button-edge:#987648}
#result .result-actions,.name-actions{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:22px}
#result #nextRound,#nameEditor .primary{background:var(--round-button-bg,var(--print-accent,#245744));border:1px solid var(--round-button-edge,var(--print-gold,#b6a36f));color:#fff1d0;border-radius:9px;padding:13px 23px;font:600 15px/1.3 'Golos Text',Arial,sans-serif;min-width:180px}
[data-theme=artdeco] #result #nextRound,[data-theme=artdeco] #nameEditor .primary{border-radius:3px;box-shadow:inset 0 0 0 2px #111c29,inset 0 0 0 3px #d1ac60}
:is([data-theme=winter],[data-theme=kitchen],[data-theme=light]) #result #nextRound{border-radius:26px}
#result .result-auto:empty{display:none}
#nameEditor{width:min(420px,90vw);text-align:left}
#nameEditor h2{margin-top:0}
#nameEditor label{display:block;font-size:13px;margin:16px 0 8px}
#nameInput{display:block;width:100%;font:18px/1.4 'Golos Text',Arial,sans-serif;padding:10px 12px;border:1px solid #a89a7a;border-radius:6px;background:#fffdf6;color:#24382e}
#gameApp .play-tag{min-width:0;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#gameApp .table-caption{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#gameApp .goal .penalty-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#gameApp .goal .team-standing>div{min-width:0}
#gameApp .goal .team-standing>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#result .result-table{table-layout:fixed;width:100%}
#result .result-table td:first-child{overflow-wrap:anywhere}
/* Readable scoreboard and quiet score feedback on every table. */
#gameApp .goal{position:relative}
#gameApp .goal .eyebrow{padding-right:42px;font-size:10px}
#gameApp .goal .round-title{font-size:17px}
#gameApp .goal .round-title>span{font-size:20px}
#gameApp .goal .standing span{font-size:12px}
#gameApp .goal .standing small{font-size:11px}
#gameApp .goal .team-standing b{font-size:29px}
#gameApp .goal .penalty-row{font-size:13px}
#gameApp .goal .penalty-row b{font-size:14px}
#gameApp .goal .penalty-row small{font-size:10px}
@media(min-width:781px){html:not(.scene-theme) #gameApp .layout{grid-template-columns:minmax(0,1fr) 230px}}
.scene-theme #gameApp .goal{position:absolute;width:310.5px}
.print-theme #gameApp .goal{width:345px}
.scene-theme #gameApp .goal .eyebrow{font-size:13px}
.scene-theme #gameApp .goal .round-title{font-size:23px}
.scene-theme #gameApp .goal .round-title>span{font-size:27px}
.scene-theme #gameApp .goal .standing span{font-size:15px}
.scene-theme #gameApp .goal .standing small{font-size:14px}
.scene-theme #gameApp .goal .team-standing b{font-size:35px}
.scene-theme #gameApp .goal .penalty-row{font-size:16px}
.scene-theme #gameApp .goal .penalty-row b{font-size:18px}
.scene-theme #gameApp .goal .penalty-row small{font-size:12px}
#penaltyHelpButton{position:absolute;right:12px;top:10px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:2px solid currentColor;border-radius:50%;background:transparent;color:inherit;font:bold 24px/1 Georgia,serif;opacity:.9}
#penaltyHelpButton:hover,#penaltyHelpButton[aria-expanded=true]{background:#f4d568;color:#43340d;opacity:1}
#penaltyHelp{position:fixed;z-index:1000;width:min(340px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;padding:16px 18px;border:1px solid var(--print-gold,#aa925a);border-radius:12px;background:var(--print-panel,#f9f5e9);color:var(--print-ink,#273c31);box-shadow:0 8px 28px #0005;font:14px/1.45 'Golos Text',Arial,sans-serif}
[data-theme=artdeco] #penaltyHelp{color:#efdeb8}
#penaltyHelp strong{font-size:17px}
#penaltyHelp ul{padding-left:19px;margin:10px 0}
#penaltyHelp li{margin:7px 0}
#penaltyHelp p{margin:8px 0 0;line-height:1.45}
#gameApp .score-gain{animation:score-gain .75s ease-out}
@keyframes score-gain{0%{background:#ffdf55;color:#503d08;box-shadow:0 0 0 5px #ffdf5570}100%{background:transparent;box-shadow:0 0 0 0 #ffdf5500}}
[data-theme=winter] #gameApp #seat0 .your-hand{position:relative;top:14px}
[data-theme=winter] #gameApp #seat0 .player-label{top:-48px}
[data-theme=winter] #gameApp #seat0 button.card.selected{border-color:#ffdb00;box-shadow:0 0 0 4px #ffdc19,0 0 26px #ffe52ecc,0 7px 12px #0006}
[data-theme=winter] #gameApp #discard:not(:disabled){background:#f9e6b0;color:#314631;border:2px solid #fff4ce;box-shadow:0 3px 10px #162d3370,inset 0 0 0 2px #b39b56}
[data-theme=winter] #gameApp #play:not(:disabled){background:#215c3c;color:#fffbdc;border:2px solid #ffdf7c;box-shadow:0 3px 12px #142d3170,inset 0 0 0 2px #528461}
[data-theme=winter] #gameApp .actions .primary:not(:disabled):hover{filter:brightness(1.12)}
@media(max-width:780px){html:not(.scene-theme) #gameApp .goal .round-title{font-size:13px;padding-right:40px}html:not(.scene-theme) #gameApp .goal .round-title>span{font-size:14px}html:not(.scene-theme) #gameApp .goal .team-standing b{font-size:21px}html:not(.scene-theme) #gameApp .goal .standing span{font-size:11px}html:not(.scene-theme) #gameApp .goal .standing small{font-size:9px}html:not(.scene-theme) #gameApp .goal .penalty-row{font-size:10.5px}html:not(.scene-theme) #gameApp .goal .penalty-row b{font-size:11.5px}html:not(.scene-theme) #gameApp .goal .penalty-row small{font-size:9px}}
@media(prefers-reduced-motion:reduce){#gameApp .score-gain{animation:none}}
[data-theme=winter] #gameApp .controls{bottom:16px}
/* Distinct actions and unmistakable hover, focus and press states. */
:root{--action-discard:#e9cf91;--action-discard-ink:#304937;--action-play:#28634e;--action-play-ink:#fff8dd;--action-edge:#c5ac72}
[data-theme=light]{--action-discard:#eee4c3;--action-discard-ink:#47583b;--action-play:#60774c;--action-play-ink:#fffdf0;--action-edge:#a9ad7a}
[data-theme=tavern]{--action-discard:#285d68;--action-discard-ink:#fff2cc;--action-play:#c7a55b;--action-play-ink:#2d2820;--action-edge:#eed7a0}
[data-theme=courtyard]{--action-discard:#863d2d;--action-discard-ink:#fff2d0;--action-play:#315849;--action-play-ink:#fff4d6;--action-edge:#d9b572}
[data-theme=winter]{--action-discard:#f6e5b2;--action-discard-ink:#314631;--action-play:#215c3c;--action-play-ink:#fffbdc;--action-edge:#edcf7b}
[data-theme=artdeco]{--action-discard:#203b52;--action-discard-ink:#f4ddb1;--action-play:#d3af65;--action-play-ink:#142334;--action-edge:#f3d59b}
[data-theme=kitchen]{--action-discard:#fff0d4;--action-discard-ink:#773e31;--action-play:#a04332;--action-play-ink:#fff4d9;--action-edge:#ddb57a}
html[data-theme] #gameApp .actions #discard:not(:disabled){background:var(--action-discard);color:var(--action-discard-ink);border:2px solid var(--action-edge);box-shadow:inset 0 0 0 2px #ffffff24,0 3px 8px #0005;font-weight:600}
html[data-theme] #gameApp .actions #play:not(:disabled){background:var(--action-play);color:var(--action-play-ink);border:2px solid var(--action-edge);box-shadow:inset 0 0 0 2px #ffffff24,0 3px 8px #0005;font-weight:600}
html[data-theme] #gameApp .actions :is(#discard,#play):not(:disabled):is(:hover,:focus-visible){background:#ffe176;color:#45330d;border-color:#fff4b0;box-shadow:0 0 0 4px #ffe05c99,0 0 22px #ffdf6470;outline:0;filter:none}
html[data-theme] #gameApp .actions :is(#discard,#play):not(:disabled):active{background:#fff0a3;color:#342506;border-color:#fff9da;box-shadow:0 0 0 5px #ffe05cb3,inset 0 2px 6px #72551d66;filter:none}
html[data-theme] #gameApp .actions :is(#discard,#play):disabled{background:#747777;border-color:#999c9b;color:#e3e5e3;box-shadow:none;opacity:.6;filter:none}
[data-theme=courtyard] #gameApp .card .corner small{font-size:27px}
[data-theme=courtyard] #gameApp .trick .card .corner small{font-size:30px}
[data-theme=courtyard] #gameApp .deck-zone .card .corner small{font-size:24px}
[data-theme=courtyard] #gameApp .card .bottom .suit-mark{display:inline-block;font-size:1.3em;vertical-align:-.06em}
[data-theme=courtyard] #gameApp .pip-field>span{font-size:calc(var(--pip-size,30px)*1.32)}
[data-theme=courtyard] #gameApp .theme-center-suit{font-size:100px}
[data-theme=courtyard] #gameApp .deck-zone .theme-center-suit{font-size:78px}
[data-theme=light] #gameApp .seat-bottom{bottom:55px}
[data-theme=light] #gameApp .controls{bottom:2px}
[data-theme=light] #gameApp .actions .primary{height:44px}
[data-theme=light] #gameApp #seat0 button.card.selected{transform:translateY(-8px);border-color:#ffcc00;box-shadow:0 0 0 4px #ffd51a,0 0 25px #f5cf3299,0 7px 12px #2e361b66}
[data-theme=light] #gameApp #seat0 button.card:not(:disabled):not(.selected):is(:hover,:focus-visible){border-color:#dcb821;box-shadow:0 0 0 3px #f5d444b3,0 0 15px #f5cf3270;outline:0}
[data-theme=artdeco] #gameApp .card .corner small{font-size:36px}
[data-theme=artdeco] #gameApp .trick .card .corner small{font-size:36px}
[data-theme=artdeco] #gameApp .deck-zone .card .corner small{font-size:24px}
[data-theme=artdeco] #gameApp .card .bottom .suit-mark{display:inline-block;font-size:1.3em;vertical-align:-.06em}
[data-theme=artdeco] #gameApp .pip-field>span{font-size:calc(var(--pip-size,30px)*1.25)}
[data-theme=artdeco] #gameApp .theme-center-suit{font-size:122px}
[data-theme=artdeco] #gameApp .deck-zone .theme-center-suit{font-size:94px}
[data-theme=kitchen] #gameApp #seat0 button.card.selected{border-color:#ffd000;box-shadow:0 0 0 4px #ffda00,0 0 26px #ffdc28cc,0 7px 12px #0006}
[data-theme=kitchen] #gameApp #seat0 button.card:not(:disabled):not(.selected):is(:hover,:focus-visible){border-color:#e7bc13;box-shadow:0 0 0 3px #ffdd3699,0 0 17px #ffda3877;outline:0}
[data-theme=kitchen] #gameApp .trick .trick-layer.winning-layer .card{border-color:#ffd000;box-shadow:0 0 0 5px #ffe017,0 0 17px 6px #ffdf23dd,0 0 32px 12px #ffdb2877,0 5px 10px #0006}
[data-theme=kitchen] #gameApp .seat.taking-trick .player-label>div{background:#ffe766!important;box-shadow:0 0 0 3px #f6ce27,0 0 17px #ffda3180}
[data-theme=kitchen] #gameApp .seat.taking-trick:not(#seat0) .hand .card{border-color:#f4d22d;box-shadow:0 0 0 3px #ffdb58b3,0 0 18px #f3cf4b88}
[data-theme=kitchen] #gameApp .winning-tag{background:#ffe766;color:#594208;border-color:#dab619}
.menu-setup .difficulty-picker{margin-top:14px}
.menu-setup .difficulty-picker label{padding:9px 8px}
.menu-setup .difficulty-picker small{line-height:1.3}
@media(max-height:760px) and (min-width:721px){.main-menu{padding:14px}.main-menu h1{font-size:34px}.main-menu .menu-content>p{margin-bottom:10px}.menu-setup .rule-picker{margin-top:12px}.menu-setup .difficulty-picker{margin-top:11px}.rule-option{min-height:54px;padding:8px}.play-settings .rule-note{font-size:9px;margin-top:7px}.main-menu .settings-summary{margin:10px 0 8px!important}}
/* Selected concept tables share the established printed-card game layout. */
[data-theme=garage]{--scene:url('assets/themes/garage-scene.png');--print-paper:#fff;--print-ink:#f4e8cd;--print-edge:#d2c6ab;--print-panel:#23282af2;--print-accent:#d3b879;--print-gold:#ae9470;--name-bg:#252a26ed;--name-ink:#f7e8c7;--action-discard:#204e5c;--action-discard-ink:#fff0d0;--action-play:#b47620;--action-play-ink:#fff4d4;--action-edge:#d2b174;--round-button-bg:#295461;--control-radius:9px}
[data-theme=billiards]{--scene:url('assets/themes/billiards-scene.png');--print-paper:#fff;--print-ink:#f3e5c1;--print-edge:#d0c5a9;--print-panel:#142d26f5;--print-accent:#dfc388;--print-gold:#b99759;--name-bg:#102d23f2;--name-ink:#fff0c8;--action-discard:#163e2d;--action-discard-ink:#f8e6b6;--action-play:#2b6035;--action-play-ink:#fff3c3;--action-edge:#cba966;--round-button-bg:#28563c;--control-radius:10px}
[data-theme=workshop]{--scene:url('assets/themes/workshop-scene.png');--print-paper:#fff;--print-ink:#f2e7cc;--print-edge:#c6c8c1;--print-panel:#17252ff5;--print-accent:#cbb58d;--print-gold:#9e8b70;--name-bg:#1c252bf2;--name-ink:#f4e8c9;--action-discard:#8b5d3d;--action-discard-ink:#fff2d7;--action-play:#28536e;--action-play-ink:#fff4da;--action-edge:#c2a380;--round-button-bg:#31566e;--control-radius:7px}
[data-theme=cabin]{--scene:url('assets/themes/cabin-scene.png');--print-paper:#fff;--print-ink:#f6e6c5;--print-edge:#d3c2a2;--print-panel:#302416f2;--print-accent:#e0bd7c;--print-gold:#ac8348;--name-bg:#223021ee;--name-ink:#ffedbc;--action-discard:#273b22;--action-discard-ink:#f9e6b6;--action-play:#4a572c;--action-play-ink:#fff0bd;--action-edge:#ba9557;--round-button-bg:#3d512e;--control-radius:28px}
[data-theme=school]{--scene:url('assets/themes/school-scene.png');--print-paper:#fff;--print-ink:#f3e7c8;--print-edge:#d2c9b5;--print-panel:#183044f5;--print-accent:#f0d797;--print-gold:#b3a178;--name-bg:#f5e8c9f5;--name-ink:#26392d;--action-discard:#f5e7c8;--action-discard-ink:#253f2b;--action-play:#24513d;--action-play-ink:#fff2c5;--action-edge:#c3af7d;--round-button-bg:#28503e;--control-radius:15px}
.large-cards-theme #gameApp .card.face{background:#fff;border-color:#d3d5d0;color:#202724}
.large-cards-theme #gameApp .card.face.red{color:#b32628}
.large-cards-theme #gameApp .card.back{border:4px solid #fff;background:#fff}
.large-cards-theme #gameApp .seat-bottom{width:660px;bottom:100px}
.large-cards-theme #gameApp .seat-bottom .your-hand{min-height:190px;gap:8px}
.large-cards-theme #gameApp .seat-bottom .card{width:136px;height:190px}
.large-cards-theme #gameApp .seat-bottom .player-label{left:0;top:20px;transform:translateX(-100%)}
.large-cards-theme #gameApp .seat-top{top:30px}
.large-cards-theme #gameApp .card .corner,.large-cards-theme #gameApp .trick .card .corner{font-size:36px;left:6px;top:6px}
.large-cards-theme #gameApp .card .corner small,.large-cards-theme #gameApp .trick .card .corner small{font-size:32px}
.large-cards-theme #gameApp .card .bottom .suit-mark{display:inline-block;font-size:1.3em;vertical-align:-.06em}
.large-cards-theme #gameApp .card .face-art{left:16%;top:3%;width:82%;height:94%}
.large-cards-theme #gameApp .pip-field>span{font-size:calc(var(--pip-size,30px)*1.25)}
.large-cards-theme #gameApp .theme-center-suit{font-size:122px}
.large-cards-theme #gameApp .deck-zone .theme-center-suit{font-size:94px}
.large-cards-theme #gameApp .deck-zone .card .corner{font-size:26px}
.large-cards-theme #gameApp .deck-zone .card .corner small{font-size:24px}
.large-cards-theme #gameApp .seat .player-label>div{border-radius:8px;background:var(--name-bg);color:var(--name-ink);border-color:var(--print-gold)}
.large-cards-theme #gameApp .seat-left,.large-cards-theme #gameApp .seat-right{top:var(--side-top,270px)}
.large-cards-theme #gameApp .seat-left .bot-hand .card,.large-cards-theme #gameApp .seat-right .bot-hand .card{width:112px;height:150px;transform:none}
.large-cards-theme #gameApp .seat-left .bot-hand .card:nth-child(2),.large-cards-theme #gameApp .seat-right .bot-hand .card:nth-child(2){top:var(--side-step,45px)}
.large-cards-theme #gameApp .seat-left .bot-hand .card:nth-child(3),.large-cards-theme #gameApp .seat-right .bot-hand .card:nth-child(3){top:calc(var(--side-step,45px)*2)}
.large-cards-theme #gameApp .seat-left .bot-hand .card:nth-child(4),.large-cards-theme #gameApp .seat-right .bot-hand .card:nth-child(4){top:calc(var(--side-step,45px)*3)}
.large-cards-theme[data-game-mode=solo4]{--side-top:230px;--side-step:34px}
.large-cards-theme[data-game-mode=solo3]{--side-top:250px;--side-step:40px}
.large-cards-theme #gameApp .table-center{top:322px;--table-card-w:136px;--table-card-h:190px}
.large-cards-theme #gameApp .table-caption,.large-cards-theme #gameApp .deck-count{color:var(--print-ink);text-shadow:0 1px 3px #000c}
.large-cards-theme #gameApp .goal{border-radius:8px;border:2px solid var(--print-gold);box-shadow:inset 0 0 0 3px #fff1,0 3px 10px #0006}
.large-cards-theme #gameApp .goal .standing small,.large-cards-theme #gameApp .goal .penalty-row small{color:var(--print-ink);opacity:.85}
.large-cards-theme #gameApp .goal:before,.large-cards-theme #gameApp .goal:after{content:'';position:absolute;width:6px;height:6px;top:6px;border-radius:50%;background:#c8b58f;box-shadow:inset 1px 1px 2px #fff8,1px 2px 2px #0008;pointer-events:none}
.large-cards-theme #gameApp .goal:before{left:6px}.large-cards-theme #gameApp .goal:after{right:6px}
.large-cards-theme #gameApp .brand{background:var(--print-panel);color:var(--print-ink);padding:4px 11px;border:1px solid var(--print-gold);border-radius:7px;text-shadow:none}
.large-cards-theme #gameApp .actions .primary{border-radius:var(--control-radius);font-family:Georgia,'Times New Roman',serif;font-size:28px}
.large-cards-theme #gameApp #seat0 button.card.selected{transform:translateY(-8px);border-color:#ffd000;box-shadow:0 0 0 4px #ffda00,0 0 26px #ffdc28cc,0 7px 12px #0006}
.large-cards-theme #gameApp #seat0 button.card:not(:disabled):not(.selected):is(:hover,:focus-visible){border-color:#e7bc13;box-shadow:0 0 0 3px #ffdd3699,0 0 17px #ffda3877;outline:0}
.large-cards-theme #gameApp .trick .trick-layer.winning-layer .card{border-color:#ffd000;box-shadow:0 0 0 5px #ffe017,0 0 17px 6px #ffdf23dd,0 0 32px 12px #ffdb2877,0 5px 10px #0006}
.large-cards-theme #gameApp .seat.taking-trick .player-label>div{background:#ffe766!important;box-shadow:0 0 0 3px #f6ce27,0 0 17px #ffda3180}
.large-cards-theme #gameApp .seat.taking-trick:not(#seat0) .hand .card{border-color:#f4d22d;box-shadow:0 0 0 3px #ffdb58b3,0 0 18px #f3cf4b88}
.large-cards-theme #gameApp .winning-tag{background:#ffe766;color:#594208;border-color:#dab619}
.large-cards-theme dialog{background:var(--print-panel);color:var(--print-ink);border-color:var(--print-gold)}
.large-cards-theme dialog :is(h2,p,.quiet,.eyebrow,.result-table th,.close){color:var(--print-ink)}
.large-cards-theme #result #nextRound,.large-cards-theme #nameEditor .primary{border-radius:var(--control-radius)}
[data-theme=school] #gameApp .table-caption,[data-theme=school] #gameApp .deck-count{color:#253b30;text-shadow:0 1px 2px #fff8}
[data-theme=billiards] #gameApp .goal{background:linear-gradient(#102a20f2,#13251cf5);border-radius:12px}
[data-theme=cabin] #gameApp .goal{background:linear-gradient(#372316ee,#251a10f5);border-color:#a27d49}
[data-theme=workshop] #gameApp .goal{background:linear-gradient(#223039f5,#101c25f5)}
@media(min-width:1000px){.menu-setup .theme-picker{grid-template-columns:repeat(4,minmax(0,1fr))}}
.theme-description:empty{display:none}
.large-cards-theme #result p,.large-cards-theme #rules :is(p,th,td,.sources){color:var(--print-ink)}
.large-cards-theme #result .result-suit,.large-cards-theme #rules a{color:var(--print-accent)}
.large-cards-theme #rules .variant{background:#ffffff0b}
