:root{color-scheme:dark;--bg:#071710;--bg-deep:#030b08;--panel:#0b1d16;--gold:#dcb77a;--gold-light:#ffe4af;--gold-dim:#95734a;--ink:#eee0be;font-family:Georgia,'Times New Roman',serif;color:var(--ink);background:var(--bg-deep)}
*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}body{height:100dvh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 33%,#123126 0%,#071811 51%,#030a07 100%)}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}[hidden]{display:none!important}.shell{width:min(1450px,calc(100% - 90px));margin-inline:auto}.table-texture{position:absolute;inset:0;height:100dvh;pointer-events:none;opacity:.38;background-image:repeating-radial-gradient(circle at 50% 48%,transparent 0 72px,#ac8c4b09 73px 74px,transparent 75px 142px),repeating-linear-gradient(35deg,transparent 0 3px,#d3b17206 4px 5px,transparent 6px 9px);mask-image:radial-gradient(ellipse at center,#000,transparent 86%)}.site-header{position:relative;z-index:5;flex:none;height:82px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid #b38a5144}.brand{font-size:28px;font-weight:bold;letter-spacing:3px;color:var(--gold-light);text-shadow:0 2px 8px #000}.brand-diamond{font-size:8px;vertical-align:middle;margin-inline:4px;color:var(--gold)}.header-caption{justify-self:end;font:11px Arial,sans-serif;letter-spacing:3px;color:var(--gold-dim)}.top-tabs{display:flex;gap:7px;padding:5px;border:1px solid #b38a5180;border-radius:3px;background:#06120eaa;box-shadow:inset 0 0 0 1px #141f16}.top-tabs a{padding:11px 21px;color:#c7b994;font:11px Arial,sans-serif;letter-spacing:1.6px;text-transform:uppercase;transition:background .2s,color .2s}.top-tabs a:hover{color:var(--gold-light);background:#cda66c1c}.top-tabs a[aria-current=page],.top-tabs a[aria-current=page]:hover{background:linear-gradient(120deg,#c89a5e,#f9dfac 50%,#b7844e);color:#102017}main{position:relative;flex:1;min-height:0}main>section{height:100%;min-height:0;overflow:hidden}.kicker{font:11px Arial,sans-serif;letter-spacing:3.8px;color:var(--gold);text-transform:uppercase}.ornament{display:flex;align-items:center;justify-content:center;gap:13px;color:var(--gold);font-size:12px}.ornament span{height:1px;width:110px;background:linear-gradient(90deg,transparent,var(--gold))}.ornament span:last-child{background:linear-gradient(90deg,var(--gold),transparent)}.ornament-left{justify-content:flex-start}.ornament-left span:first-child{width:130px}.ornament-left span:last-child{width:45px}.gold-button{display:inline-flex;align-items:center;justify-content:center;gap:25px;min-height:48px;padding:0 27px;border:1px solid #ffdfa6;border-radius:2px;background:linear-gradient(125deg,#b9854a 0%,#ffe3aa 48%,#c29357 100%);box-shadow:0 4px 0 #614021,0 14px 24px #0008;color:#13231b;font:700 11px Arial,sans-serif;letter-spacing:1.8px;white-space:nowrap;text-transform:uppercase;transition:filter .2s,transform .2s}.gold-button:hover{filter:brightness(1.13);transform:translateY(-2px)}.gold-button span{font-size:18px;line-height:1}

.home-screen{display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-items:center;padding:22px 0 28px;text-align:center}.home-heading h1{margin:3px 0 4px;font-size:clamp(56px,6vw,94px);font-weight:400;letter-spacing:.15em;line-height:1.1;color:#ffe8bb;text-shadow:0 3px 0 #5b3b22,0 8px 20px #000}.home-heading p{margin:11px 0 0;color:#c9bea3;font-size:16px;letter-spacing:1.4px}.card-stage{min-height:0;display:grid;place-items:center}.card-art{position:relative;width:min(100%,980px,calc((100dvh - 310px)*1.75));max-height:100%}.card-art img{display:block;width:100%;height:auto;max-height:100%;object-fit:contain;filter:drop-shadow(0 22px 20px #0009)}.card-labels{position:absolute;left:2.2%;right:2.2%;top:70%;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;color:#f8d49a;font-size:clamp(9px,1.6vw,24px);font-weight:bold;letter-spacing:.07em;text-shadow:0 2px 6px #000}.home-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}.side-note{color:#9e855b;font:10px Arial,sans-serif;letter-spacing:2.5px}.side-note:first-child{text-align:left}.side-note:last-child{text-align:right}.side-note span{color:var(--gold)}

.lobby-screen{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,500px);gap:8%;align-items:center;padding-block:22px}.screen-intro h2{margin:22px 0 16px;font-size:clamp(50px,5.7vw,82px);font-weight:400;letter-spacing:.025em;line-height:1.02;color:var(--gold-light);text-shadow:0 3px 12px #000}.screen-intro h2 em{font-style:normal;color:var(--gold)}.screen-intro p{max-width:490px;margin:27px 0 0;color:#c6bca1;font-size:17px;line-height:1.7}.seat-seal{display:flex;align-items:center;gap:16px;margin-top:42px;color:var(--gold)}.seat-seal span{display:grid;place-items:center;width:82px;height:82px;border:1px solid var(--gold);border-radius:50%;box-shadow:inset 0 0 0 5px #082018,0 0 0 1px #604829;font-size:32px}.seat-seal small{font:10px/1.8 Arial,sans-serif;letter-spacing:2px}.lobby-panel{position:relative;padding:32px 37px;border:1px solid #bc905c;background:radial-gradient(ellipse at top,#13271e,#07150f 70%);box-shadow:0 24px 45px #0009,inset 0 0 0 5px #091b13,inset 0 0 0 6px #7f5c3680}.panel-corner{position:absolute;width:16px;height:16px;border-color:var(--gold);pointer-events:none}.corner-tl{top:9px;left:9px;border-top:1px solid;border-left:1px solid}.corner-tr{top:9px;right:9px;border-top:1px solid;border-right:1px solid}.corner-bl{bottom:9px;left:9px;border-bottom:1px solid;border-left:1px solid}.corner-br{bottom:9px;right:9px;border-bottom:1px solid;border-right:1px solid}.panel-top{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:18px;border-bottom:1px solid #aa804c77;color:var(--gold);font:10px Arial,sans-serif;letter-spacing:2px}.live{white-space:nowrap;color:#b8aa88}.live i{display:inline-block;width:5px;height:5px;margin:0 6px 2px 0;border-radius:50%;background:#dcc18b;box-shadow:0 0 9px var(--gold)}.lobby-panel h3{margin:25px 0 7px;color:var(--gold-light);font-size:33px;font-weight:400}.panel-subtitle{margin:0 0 23px;color:#a99e85;font:13px/1.5 Arial,sans-serif}.lobby-panel label{display:block;margin:17px 0 8px;color:var(--gold);font:10px Arial,sans-serif;letter-spacing:2px}.lobby-panel input{width:100%;height:47px;padding:0 15px;border:1px solid #9e7749;background:#06120e;color:#f1dfbd;outline:0;font:16px Georgia,serif}.lobby-panel input:focus{border-color:var(--gold-light);box-shadow:0 0 0 2px #b9904c55}.lobby-panel input::placeholder{color:#807961}.form-button{width:100%;margin-top:15px}.divider{display:flex;align-items:center;gap:10px;margin:26px 0 18px;color:#a78c62;font:10px Arial,sans-serif;letter-spacing:1.5px;white-space:nowrap}.divider:before,.divider:after{content:"";flex:1;height:1px;background:#8d6944}.join-row{display:flex;gap:8px}.join-row input{text-transform:uppercase;letter-spacing:5px}.join-row button{width:48px;flex:none;border:1px solid var(--gold);background:#1a2a1f;color:var(--gold-light);font-size:25px}.join-row button:hover{background:#30412d}.form-message{min-height:14px;margin:12px 0 0;color:#e6ad7b;font:12px Arial,sans-serif}.room-heading{display:flex;justify-content:space-between;align-items:end;gap:10px}.room-heading h3{margin-top:8px}.room-count{color:var(--gold);font-size:23px;white-space:nowrap}.overline{color:var(--gold-dim);font:10px Arial,sans-serif;letter-spacing:2px}.code-box{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:15px 17px;border:1px solid #ca9f63;background:#14281d}.code-box small{display:block;color:#ae9872;font:9px Arial,sans-serif;letter-spacing:2px}.code-box strong{display:block;margin-top:5px;color:var(--gold-light);font-size:28px;letter-spacing:5px}.code-box button,.room-footer button{border:0;background:none;color:var(--gold);font:10px Arial,sans-serif;letter-spacing:1px;white-space:nowrap}.code-box button:hover,.room-footer button:hover{text-decoration:underline}.seat-list{display:grid;gap:7px;margin-top:18px}.seat{display:flex;align-items:center;gap:13px;min-height:42px;padding:7px 10px;border:1px solid #7f64436e;color:#e6d2ac;font-size:15px}.seat-num{color:#9d835c;font:10px Arial,sans-serif}.seat-avatar{display:grid;place-items:center;width:24px;height:24px;border:1px solid #a67f4c;border-radius:50%;color:var(--gold);font-size:16px}.seat.empty{border-style:dashed;color:#8d8b74}.seat.empty .seat-avatar{opacity:.5}.seat small{margin-left:auto;color:#bda678;font:9px Arial,sans-serif;letter-spacing:1px}.room-footer{display:flex;justify-content:space-between;gap:10px;margin-top:18px;color:#a79f84;font:11px Arial,sans-serif}.form-message:empty{display:none}

@media(max-height:760px) and (min-width:761px){.home-heading h1{font-size:clamp(54px,5vw,76px)}.home-heading p{margin-top:7px}.home-screen{padding-block:12px}.card-art{width:min(100%,760px,calc((100dvh - 255px)*1.75))}.lobby-panel{padding:22px 30px}.lobby-panel h3{margin-top:17px}.panel-subtitle{margin-bottom:10px}.divider{margin:15px 0 9px}.seat-seal{margin-top:20px}}
@media(max-width:760px){.shell{width:calc(100% - 32px)}.site-header{height:92px;grid-template-columns:1fr auto;grid-template-rows:33px 38px;gap:5px}.brand{font-size:20px}.header-caption{font-size:8px;letter-spacing:1.5px}.top-tabs{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,1fr);gap:2px;padding:2px;width:100%}.top-tabs a{padding:10px 3px;text-align:center;font-size:9px;letter-spacing:.6px}.home-screen{padding:10px 0 18px;grid-template-rows:auto minmax(0,1fr) auto}.home-heading h1{font-size:clamp(44px,11vw,68px);letter-spacing:.1em;margin:5px 0 2px}.kicker{font-size:8px;letter-spacing:2px}.home-heading .ornament span{width:55px}.home-heading p{font-size:11px;margin-top:7px;letter-spacing:.4px}.card-art{width:min(100%,calc((100dvh - 220px)*1.75))}.card-labels{font-size:clamp(7px,2.5vw,12px);letter-spacing:0}.home-bottom{display:flex;justify-content:center}.side-note{display:none}.gold-button{min-height:41px;padding-inline:18px;font-size:9px;letter-spacing:1px;gap:13px}.lobby-screen{display:flex;flex-direction:column;justify-content:center;gap:13px;padding-block:8px}.screen-intro{text-align:center}.screen-intro h2{font-size:32px;margin:5px 0}.screen-intro h2 br{display:none}.screen-intro .ornament,.screen-intro p,.seat-seal{display:none}.lobby-panel{width:min(100%,500px);padding:18px 19px}.panel-top{padding-bottom:11px;font-size:8px;letter-spacing:1px}.lobby-panel h3{font-size:24px;margin:15px 0 5px}.panel-subtitle{font-size:11px;margin-bottom:12px}.lobby-panel label{margin:10px 0 5px;font-size:9px}.lobby-panel input{height:41px;font-size:14px}.form-button{margin-top:10px}.divider{margin:13px 0 8px;font-size:8px}.join-row button{width:42px}.form-message{margin-top:8px}.room-heading h3{margin-top:4px}.code-box{padding:9px 11px}.code-box strong{font-size:21px;letter-spacing:3px}.code-box button,.room-footer button{font-size:8px}.seat-list{gap:5px;margin-top:10px}.seat{min-height:34px;padding:5px 7px;font-size:12px}.seat-avatar{width:21px;height:21px}.room-footer{margin-top:10px;font-size:9px}}
@media(max-width:760px) and (max-height:650px){.lobby-screen .screen-intro{display:none}.home-heading h1{font-size:clamp(39px,10vw,62px)}.home-heading p{margin-top:4px}.home-screen{padding-bottom:12px}.card-art{width:min(100%,calc((100dvh - 198px)*1.75))}.lobby-panel{padding:13px 16px}.panel-top{padding-bottom:8px}.lobby-panel h3{margin-top:10px}.panel-subtitle{margin-bottom:8px}.lobby-panel label{margin-top:7px}.divider{margin:10px 0 6px}}
@media(max-width:760px) and (max-height:480px){.site-header{height:79px;grid-template-rows:28px 33px;gap:3px}.top-tabs a{padding:8px 3px}.lobby-panel{padding:10px 14px}.panel-top{display:none}.lobby-panel h3{font-size:20px;margin-top:4px}.panel-subtitle{display:none}.lobby-panel label{margin-top:6px}.lobby-panel input{height:36px}.form-button{min-height:36px;margin-top:7px}.divider{margin:7px 0 4px}.join-row button{width:37px}.code-box{padding-block:6px}.seat-list{margin-top:6px;gap:3px}.seat{min-height:30px;padding-block:3px}.room-footer{margin-top:6px}.home-heading h1{font-size:clamp(36px,9vw,50px)}.home-heading p{font-size:10px}.card-art{width:min(100%,calc((100dvh - 176px)*1.75))}}
@media(max-width:370px){.header-caption{font-size:7px}.card-labels{font-size:7px}.code-box strong{font-size:18px}.code-box button{font-size:7px}.room-footer{flex-direction:column;gap:4px}.lobby-panel{padding-inline:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}


.timer-picker,.room-timer-mode{display:flex;align-items:center;gap:10px;margin-top:9px;color:var(--gold);font:10px Arial,sans-serif;letter-spacing:1px}.lobby-panel .timer-picker label{display:flex;align-items:center;gap:4px;margin:0;color:var(--ink);font-size:11px;letter-spacing:0;white-space:nowrap}.lobby-panel .timer-picker input{width:auto;height:auto;margin:0;accent-color:#dcb77a}.room-timer-mode{justify-content:center;margin-top:11px;padding:8px;border:1px solid #7f64436e}.room-timer-mode>span{margin-right:auto}.room-timer-mode button{padding:5px 7px;border:1px solid #7f64436e;background:transparent;color:#bdad8b;font:9px Arial,sans-serif;letter-spacing:.4px;white-space:nowrap}.room-timer-mode button[aria-pressed=true]{border-color:var(--gold);background:#dcb77a22;color:var(--gold-light)}.room-timer-mode button:disabled{cursor:default}.room-timer-mode button:focus-visible{outline:2px solid var(--gold-light)}
@media(max-width:760px){.timer-picker,.room-timer-mode{gap:6px;font-size:9px}.lobby-panel .timer-picker label{font-size:10px}.room-timer-mode button{font-size:8px;padding:5px 4px}}
@media(max-height:480px){.timer-picker,.room-timer-mode{margin-top:4px}.room-timer-mode{padding:4px}.lobby-panel .timer-picker label{font-size:9px}}
.card-art{isolation:isolate}.card-hitboxes{position:absolute;inset:5% 2.2% 20%;display:grid;grid-template-columns:repeat(3,1fr);gap:2.5%}body:not(.in-game) .card-hitboxes{display:none}.card-option{position:relative;border:2px solid transparent;background:transparent;border-radius:8px;color:var(--gold-light);transition:border-color .18s,box-shadow .18s,background .18s}.card-option:not(:disabled):hover,.card-option.is-selected{border-color:var(--gold-light);box-shadow:0 0 20px #dcb77a66,inset 0 0 0 1px #dcb77a}.card-option.is-locked:after{content:'✓';position:absolute;top:5%;right:8%;display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--gold);border-radius:50%;background:#092015;color:var(--gold-light);font:18px Arial,sans-serif}.card-option.is-unavailable{background:#0008}.card-option:disabled{cursor:default}.card-option:focus-visible{outline:2px solid #fff;outline-offset:2px}.game-hud{display:flex;justify-content:center;align-items:center;gap:18px;margin:9px auto 0;color:var(--gold);font:11px Arial,sans-serif;letter-spacing:1px}.game-hud strong{color:var(--gold-light);font-weight:500}.timer{display:grid;place-items:center;width:36px;height:36px;border:2px solid var(--gold);border-radius:50%;font:18px Georgia,serif;color:var(--gold-light)}.in-game .home-screen{padding-block:7px 12px}.in-game .home-heading .kicker,.in-game .home-heading .ornament,.in-game .home-heading p{display:none}.in-game .home-heading h1{font-size:clamp(42px,4.3vw,64px);margin:0}.in-game .home-bottom{display:none}.in-game .card-art{width:min(100%,760px,calc((100dvh - 270px)*1.75))}.game-controls{width:min(100%,820px);margin:0 auto;text-align:center}.bet-targets{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:9px}.bet-targets button{min-height:34px;padding:4px 7px;border:1px solid #866841;background:#0b2118;color:#d8c39d;font:10px Arial,sans-serif;letter-spacing:.2px;overflow:hidden;text-overflow:ellipsis}.bet-targets button:hover,.bet-targets button[aria-pressed=true]{border-color:var(--gold-light);background:#3b3524;color:var(--gold-light)}.bet-targets button:disabled{opacity:.6;cursor:default}.move-row{display:flex;align-items:center;justify-content:center;gap:20px;min-height:48px}.move-row>span{color:#c7bca2;font:12px Arial,sans-serif}.move-row .gold-button{min-height:38px}.move-row .gold-button:disabled{filter:grayscale(.6);opacity:.55;cursor:default;transform:none}.round-result{padding:7px 12px;border:1px solid #a47c4a;background:#0b1c15dc;color:#e3d2b1;font:12px/1.4 Arial,sans-serif}.round-result p{margin:2px 0}.round-result strong{color:var(--gold-light);font-weight:600}.round-result .result-scores{color:var(--gold);font-size:11px}.capacity-picker{display:flex;align-items:center;gap:13px;margin-top:10px;color:var(--gold);font:10px Arial,sans-serif;letter-spacing:1px}.lobby-panel .capacity-picker label{display:flex;align-items:center;gap:4px;margin:0;color:var(--ink);font-size:12px;letter-spacing:0}.lobby-panel .capacity-picker input{width:auto;height:auto;margin:0;accent-color:#dcb77a}.capacity-picker+ .form-button{margin-top:10px}
@media(max-width:760px){.timer{width:28px;height:28px;font-size:14px}.capacity-picker{margin-top:6px}}
@media(max-width:760px) and (max-height:480px){.capacity-picker{margin-top:4px}.lobby-panel .capacity-picker label{font-size:11px}.capacity-picker+ .form-button{margin-top:5px}}
.brand{display:inline-flex;align-items:center;gap:10px;width:max-content;font-size:18px;letter-spacing:2px}.brand img{display:block;width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 2px 4px #0008)}@media(max-width:760px){.brand{gap:6px;font-size:14px;letter-spacing:1px}.brand img{width:28px;height:28px}}
.room-actions{display:flex;gap:12px;align-items:center}.room-actions button{padding:0}@media(max-width:760px){.room-actions{gap:8px}}@media(max-width:370px){.room-actions{justify-content:space-between}}
.game-tabs{display:flex;justify-content:center;gap:4px;margin:7px auto 0}.game-tabs button{min-width:84px;padding:5px 10px;border:1px solid #8a704b;background:#091d16;color:#b7a984;font:10px Arial,sans-serif;letter-spacing:1.1px}.game-tabs button[aria-pressed=true]{border-color:var(--gold-light);background:linear-gradient(120deg,#745534,#cba06b);box-shadow:0 0 12px #dfb77677;color:#102017}.game-tabs button:disabled{opacity:.42;cursor:default}.game-tabs button:focus-visible,.insight-heading button:focus-visible{outline:2px solid #fff}.game-insight{width:min(100%,760px);max-height:100%;padding:13px 20px;border:1px solid #b38a51;background:radial-gradient(ellipse at top,#173025,#071710 75%);box-shadow:inset 0 0 0 4px #071811,inset 0 0 0 5px #9d784777,0 20px 35px #0009;text-align:left;overflow:hidden}.insight-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;padding-bottom:7px;border-bottom:1px solid #98794f88;color:var(--gold-light);font:12px Arial,sans-serif;letter-spacing:1.5px;text-align:center}.insight-heading strong{flex:1;font-weight:600}.insight-heading button{width:27px;height:24px;border:1px solid #a88251;background:#11271b;color:var(--gold-light);font-size:19px;line-height:16px}.insight-heading button:disabled{opacity:.35;cursor:default}.game-insight p{margin:4px 0}.insight-role{font:10px Arial,sans-serif;letter-spacing:1.4px}.duel-role{color:#f0ce94}.bookmaker-role{color:#a9d8bb}.history-duel{color:#f4e3c1;font-size:17px}.history-verdict{color:var(--gold);font:12px Arial,sans-serif}.history-bet{color:#d8dfc7;font:12px/1.3 Arial,sans-serif}.score-table{width:100%;border-collapse:collapse;font:13px Arial,sans-serif}.score-table th,.score-table td{padding:5px 7px;border-bottom:1px solid #7c624455}.score-table thead th{color:#aa9874;font-size:10px;font-weight:400;letter-spacing:.5px}.score-table th:first-child,.score-table td:first-child{text-align:left}.score-table th:not(:first-child),.score-table td:not(:first-child){text-align:right}.score-table tbody tr.duel-role th,.score-table tbody tr.bookmaker-role th{padding-top:8px;text-align:left;font-size:10px;letter-spacing:1.5px}.score-table tbody tr.duel-role th{color:#f0ce94}.score-table tbody tr.bookmaker-role th{color:#a9d8bb}.score-table td{color:#e9dbb8}.score-table td:last-child{color:var(--gold-light);font-weight:700}.score-table .my-score{background:#b38a511c}
.game-tabs button.needs-move{border-color:var(--gold-light);box-shadow:0 0 12px #e6c27a99;color:var(--gold-light)}
.score-legend{margin-top:8px!important;color:#ac9b78;font:10px/1.3 Arial,sans-serif;text-align:center}@media(max-width:760px){.score-legend{font-size:8px;margin-top:5px!important}}
.play-area{display:grid;grid-template-columns:1fr;min-height:0;align-items:center}.in-game .play-area{grid-template-columns:minmax(270px,320px) minmax(0,1fr);gap:clamp(12px,3vw,42px)}.play-area .card-stage{height:100%;min-width:0}.round-ledger{align-self:center;max-height:100%;padding:15px;border:1px solid #b38a51;background:radial-gradient(ellipse at top,#173025,#071710 75%);box-shadow:inset 0 0 0 4px #071811,inset 0 0 0 5px #9d784777,0 20px 35px #0009;text-align:left;overflow:hidden}.ledger-top,.ledger-phase{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--gold-light);font:10px Arial,sans-serif;letter-spacing:1.2px}.ledger-top span:last-child{color:#a99976;font-size:9px}.ledger-phase{margin-top:10px;padding:6px 0;border-top:1px solid #846a4666;border-bottom:1px solid #846a4666}.ledger-phase strong{flex:1;text-align:center;font-weight:600}.ledger-phase button{width:24px;height:21px;border:1px solid #a88251;background:#11271b;color:var(--gold-light);font-size:18px;line-height:15px}.ledger-phase button:disabled{opacity:.32;cursor:default}.round-picker{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px;margin:9px 0}.round-picker button{min-width:0;height:24px;padding:0;border:1px solid #6e5a3c;background:#0b2118;color:#d5bd94;font:11px Arial,sans-serif}.round-picker button.is-active{border-color:var(--gold-light);background:#a47d4e;box-shadow:0 0 11px #e1b77888;color:#071b12;font-weight:700}.round-picker button:disabled{opacity:.3;cursor:default}.ledger-group{margin:8px 0 3px;color:#eac791;font:9px Arial,sans-serif;letter-spacing:1.5px}.ledger-group.bookmaker-group{color:#a9d8bb}.ledger-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 7px;align-items:center;padding:6px 7px;border:1px solid #846a465c;color:#e8dbbf;font:12px Arial,sans-serif}.ledger-row+ .ledger-row{border-top:0}.ledger-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.ledger-row span{color:#cfba92}.ledger-row small{grid-column:1/-1;color:#bcae8e;font-size:10px}.ledger-row.win{border-left:2px solid #dfbd7d;background:#c39a5022}.ledger-row.win small{color:#f4d59c}.ledger-row.bookmaker-row.win{border-left-color:#a9d8bb;background:#86b99a1c}.ledger-row.bookmaker-row.win small{color:#b7dfc6}.ledger-row.draw{border-left:2px solid #8ca8a1}.ledger-empty{margin:16px 2px;color:#ad9f84;font:12px/1.4 Arial,sans-serif}
@media(max-width:760px){.round-picker{gap:2px;margin:4px 0}.round-picker button{height:20px;font-size:9px}}
@media(max-width:760px) and (max-height:480px){.round-picker{margin:2px 0}.round-picker button{height:17px;font-size:8px}}
@media(max-width:760px) and (max-height:480px){.round-picker{grid-column:2;align-self:center;margin:0}.round-picker button{height:16px}}
.in-game .play-area{position:relative;display:grid;grid-template-columns:1fr;place-items:center;gap:0}.in-game .play-area .card-stage{width:100%}.in-game .round-ledger{position:absolute;top:50%;right:0;transform:translateY(-50%);width:320px;max-height:100%;padding:10px}.ledger-grid{display:grid;grid-template-columns:32px repeat(var(--phase-count),minmax(0,1fr));grid-auto-rows:18px;gap:2px;margin:8px 0 7px}.ledger-grid-label,.ledger-round-number{display:grid;place-items:center;color:#bfa982;font:9px Arial,sans-serif;letter-spacing:.4px}.ledger-round-number{color:#947e5d}.ledger-grid button{min-width:0;padding:0;border:1px solid #6e5a3c;background:#0b2118;color:#d9c7a2;font:10px Arial,sans-serif}.ledger-grid button:disabled{color:#695f4b;opacity:.44;cursor:default}.ledger-grid button.is-active{border-color:var(--gold-light);background:#a47d4e;box-shadow:0 0 10px #e1b77888;color:#071b12;font-weight:700}.ledger-selection{display:block;padding:5px 2px;border-top:1px solid #81684277;color:var(--gold-light);font:9px Arial,sans-serif;letter-spacing:1px;text-align:center}.in-game .round-ledger .ledger-group{margin:5px 0 2px;font-size:8px}.in-game .round-ledger .ledger-row{padding:3px 5px;font-size:10px}.in-game .round-ledger .ledger-row small{font-size:9px}.in-game .round-ledger .ledger-empty{margin:5px 0;font-size:10px}
@media(min-width:1401px){.in-game .card-art{width:min(100%,760px,calc(100vw - 754px),calc((100dvh - 270px)*1.75))}}
@media(max-width:1400px) and (min-width:1181px){.in-game .round-ledger{width:260px}.in-game .card-art{width:min(100%,760px,calc(100vw - 634px),calc((100dvh - 270px)*1.75))}}
@media(max-width:1180px) and (min-width:761px){.in-game .round-ledger{width:220px;padding:7px}.ledger-grid{grid-template-columns:24px repeat(var(--phase-count),minmax(0,1fr));gap:1px}.ledger-grid-label{font-size:7px}.in-game .card-art{width:min(100%,520px,calc(100vw - 554px),calc((100dvh - 270px)*1.75))}.in-game .round-ledger .ledger-row{font-size:9px;padding:2px 3px}.in-game .round-ledger .ledger-row small{font-size:8px}}
@media(max-width:1000px) and (min-width:761px){.in-game .round-ledger{width:200px}.in-game .card-art{width:min(100%,520px,calc(100vw - 514px),calc((100dvh - 270px)*1.75))}}
@media(max-height:680px) and (min-width:761px){.ledger-grid{grid-auto-rows:14px;margin:4px 0}.ledger-grid button{font-size:8px}.in-game .round-ledger .ledger-group{margin:3px 0 1px}.in-game .round-ledger .ledger-row{padding:2px 4px}.in-game .round-ledger .ledger-row small{font-size:8px}}
.home-bottom{display:flex;justify-content:center}
.lobby-screen{display:flex;align-items:center;justify-content:center}.lobby-panel{width:min(100%,500px)}.lobby-panel h3{margin-top:0}
img{pointer-events:none;user-select:none;-webkit-user-drag:none}
@media(max-width:760px){.insight-heading{margin-bottom:5px;padding-bottom:5px;font-size:9px}.insight-role{font-size:8px}.score-table{font-size:11px}.score-table th,.score-table td{padding:4px}.score-table thead th,.score-table tbody tr.duel-role th,.score-table tbody tr.bookmaker-role th{font-size:8px}}
@media(max-width:760px) and (max-height:480px){.insight-heading{margin-bottom:3px;padding-bottom:3px}.score-table th,.score-table td{padding:2px 4px}.score-table tbody tr.duel-role th,.score-table tbody tr.bookmaker-role th{padding-top:4px}}
.in-game .round-ledger{max-height:min(520px,calc(100dvh - 160px))}.ledger-grid{grid-auto-rows:24px}.ledger-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;overflow:hidden;line-height:1}.ledger-cell-cards{white-space:nowrap;font:12px/1 Arial,sans-serif}.ledger-cell-bets{white-space:nowrap;color:#add4b7;font:10px/1 Arial,sans-serif}.ledger-grid button.is-active .ledger-cell-bets{color:#153323}.ledger-content{display:grid;gap:3px}.in-game .round-ledger .ledger-row{display:grid;grid-template-columns:16px minmax(0,1fr) auto auto;align-items:center;gap:2px 5px;padding:4px 5px;min-width:0;font:10px Arial,sans-serif}.ledger-row .ledger-role-icon{grid-column:1;grid-row:1;color:#eac791;font-size:13px}.ledger-row.bookmaker-row .ledger-role-icon{color:#a9d8bb}.ledger-row strong{grid-column:2;grid-row:1;min-width:0}.ledger-row .ledger-card{grid-column:3;grid-row:1;color:#eed6a9;white-space:nowrap}.ledger-row .ledger-verdict{grid-column:4;grid-row:1;font-size:8px;font-weight:700;white-space:nowrap}.ledger-row.win .ledger-verdict{color:#f2ce8b}.ledger-row.bookmaker-row.win .ledger-verdict{color:#a9d8bb}.ledger-row.lose .ledger-verdict{color:#a99b84}.in-game .round-ledger .ledger-row small{grid-column:2/-1;grid-row:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#bcb096;font-size:8px}.in-game .round-ledger .ledger-row.bookmaker-row.win small{color:#b7dfc6}.result-line{display:block;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-line.duel-result{color:#f4dfb8}.result-line.bet-result.hit{color:#b8ddbd}.result-line.bet-result.miss{color:#b7ad96}
@media(max-width:1400px) and (min-width:1181px){.in-game .round-ledger{width:320px}.in-game .card-art{width:min(100%,760px,calc(100vw - 754px),calc((100dvh - 270px)*1.75))}}
@media(max-height:680px) and (min-width:761px){.ledger-grid{grid-auto-rows:20px}}
@media(max-width:1180px) and (min-width:761px){.ledger-grid{grid-auto-rows:20px}.in-game .round-ledger .ledger-row{grid-template-columns:13px minmax(0,1fr) auto;gap:1px 3px;padding:3px}.ledger-row .ledger-card{grid-column:3}.ledger-row .ledger-verdict{grid-column:2/-1;grid-row:2}.in-game .round-ledger .ledger-row small{grid-row:3}.ledger-cell-cards{font-size:10px}.ledger-cell-bets{font-size:8px}}
.ledger-row:before{content:none}
@media(min-width:1181px){.in-game .round-ledger{width:340px;max-height:min(520px,calc(100dvh - 142px))}.in-game .card-art{width:min(100%,760px,calc(100vw - 794px),calc((100dvh - 270px)*1.75))}.in-game .round-ledger .ledger-row{font-size:11px}.ledger-row .ledger-verdict{font-size:9px}.in-game .round-ledger .ledger-row small{font-size:9px}}
@media(max-height:680px) and (min-width:1181px){.ledger-grid{grid-auto-rows:22px}}
.ledger-legend{display:grid;gap:1px;margin:2px 0 5px;color:#b8ad90;font:8px/1.1 Arial,sans-serif;text-align:center;white-space:nowrap}
@media(max-height:680px) and (min-width:1181px){.ledger-grid{grid-auto-rows:20px}.ledger-cell-cards{font-size:10px}.ledger-cell-bets{font-size:8px}}
.phase-matchup{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:6px;color:#ac9976;font:10px Arial,sans-serif;letter-spacing:.8px}.phase-matchup strong{color:#f0d5a3;font-weight:600}.phase-matchup>span:first-child,.phase-matchup>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phase-matchup>span:nth-child(2){color:var(--gold);font-size:16px}
.in-game .card-history{position:absolute;top:50%;left:0;transform:translateY(-50%);display:flex;flex-direction:column;width:320px;height:min(460px,calc(100dvh - 145px));padding:10px;border:1px solid #b38a51;background:radial-gradient(ellipse at top,#173025,#071710 75%);box-shadow:inset 0 0 0 4px #071811,inset 0 0 0 5px #9d784777,0 20px 35px #0009;text-align:left;overflow:hidden}.history-top{display:flex;justify-content:space-between;gap:5px;color:var(--gold-light);font:10px Arial,sans-serif;letter-spacing:1px}.history-top span:last-child{color:#b7a07a}.history-phase-tabs{display:grid;grid-template-columns:repeat(var(--phase-count),minmax(0,1fr));gap:3px;margin:8px 0 5px}.history-phase-tabs button{height:22px;border:1px solid #735a39;background:#0b2118;color:#bcaa87;font:10px Arial,sans-serif}.history-phase-tabs button[aria-pressed=true]{border-color:var(--gold-light);background:#ac8656;color:#091b13;font-weight:700}.history-phase-tabs button:disabled{opacity:.3;cursor:default}.history-matchup{margin:1px 0 7px;color:#e9d4a9;font:10px Arial,sans-serif;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-rounds{display:grid;grid-template-rows:repeat(10,minmax(0,1fr));gap:2px;min-height:0;flex:1}.history-round{display:grid;grid-template-columns:26px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:0 5px;min-height:0;padding:2px 5px;border:1px solid #665438;background:#0b2118;color:#e0cba3;text-align:left}.history-round:disabled{opacity:.35;cursor:default}.history-round.is-active{border-color:var(--gold-light);background:#725b3a}.history-round-number{grid-row:1/3;color:#c9a974;font:10px Arial,sans-serif}.history-round.is-active .history-round-number{color:#ffe3b3}.history-round-cards{grid-column:2;grid-row:1;font:13px/1 Arial,sans-serif;white-space:nowrap}.history-round-bets{grid-column:2;grid-row:2;display:flex;gap:6px;min-width:0;overflow:hidden;font:9px/1 Arial,sans-serif;white-space:nowrap}.history-round-bets span{overflow:hidden;text-overflow:ellipsis}.history-round-bets .hit{color:#a8dfb3}.history-round-bets .miss{color:#e7a29a}.history-round.is-active .history-round-bets span{color:#fff3dd}
.ledger-cell-score{color:#ead2a8;font:700 11px/1 Arial,sans-serif}.ledger-cell-factors{display:flex;justify-content:center;gap:3px;white-space:nowrap;font:8px/1 Arial,sans-serif}.ledger-cell-factors .hit,.ledger-legend .hit{color:#9ee2ad}.ledger-cell-factors .miss,.ledger-legend .miss{color:#eba39b}.ledger-grid button.is-active .ledger-cell-score{color:#092016}.ledger-grid button.is-active .ledger-cell-factors .hit{color:#165b32}.ledger-grid button.is-active .ledger-cell-factors .miss{color:#873029}
@media(max-width:1180px) and (min-width:761px){.in-game .card-history{width:220px}.history-round-bets{font-size:8px}.history-round-cards{font-size:11px}.ledger-cell-factors{font-size:7px}}
@media(max-width:1000px) and (min-width:761px){.in-game .card-history{width:200px}}
@media(min-width:761px) and (max-height:760px){.in-game .card-history,.in-game .round-ledger{top:auto;bottom:0;transform:none;margin-top:0;height:min(390px,calc(100dvh - 290px));max-height:none}.ledger-grid{grid-auto-rows:18px;margin:4px 0}.in-game .round-ledger .ledger-content{display:none}.history-phase-tabs{margin:4px 0 3px}.history-matchup{margin-bottom:4px}.history-round{display:grid;grid-template-columns:22px 54px minmax(0,1fr);grid-template-rows:1fr;gap:4px}.history-round-number,.history-round-cards,.history-round-bets{grid-row:1}.history-round-number{grid-column:1}.history-round-cards{grid-column:2}.history-round-bets{grid-column:3;font-size:8px}}
.ledger-grid button{flex-direction:row;gap:2px;white-space:nowrap}.ledger-cell-score{font-size:9px}.ledger-cell-divider{color:#887657;font:8px/1 Arial,sans-serif}.ledger-cell-factors{gap:1px;font-size:8px}.ledger-cell-factors span+span:before{content:"/";color:#9b8868}.ledger-grid button.is-active .ledger-cell-divider,.ledger-grid button.is-active .ledger-cell-factors span+span:before{color:#254132}.ledger-legend{display:block}
.ledger-cell-factors .hit,.ledger-cell-factors .miss{color:#d9c7a2}.ledger-grid button.is-active .ledger-cell-factors .hit,.ledger-grid button.is-active .ledger-cell-factors .miss{color:#092016}
@media(max-width:1180px){.ledger-grid button{gap:1px}.ledger-cell-score{font-size:8px}.ledger-cell-divider,.ledger-cell-factors{font-size:7px}}
.card-hitboxes{inset:6% 2.8% 10%;gap:3%}.card-option{border-radius:10px;transition:background .18s,box-shadow .18s}.card-option:not(:disabled):hover,.card-option.is-selected,.card-option.is-locked{border-color:transparent;background:#dcb77a1a;box-shadow:0 0 0 2px #f1cf91,0 0 28px #dcb77a77,inset 0 0 32px #dcb77a22}.card-art:has(.card-option.is-selected) .card-option:not(.is-selected),.card-option.is-unavailable{background:#000a}.card-option.is-locked.is-unavailable{background:#dcb77a1a}


.hand-symbol-defs{position:absolute;width:0;height:0;overflow:hidden}
.in-game .card-history{--history-columns:22px minmax(0,1fr) minmax(0,1fr) minmax(0,1.65fr)}
.in-game .card-history.is-four-player{--history-columns:20px minmax(0,.72fr) minmax(0,.72fr) minmax(0,1.7fr) minmax(0,1.7fr)}
.in-game .card-history .history-matchup{display:grid;grid-template-columns:var(--history-columns);align-items:stretch;flex:none;min-height:43px;margin:1px 0 4px;border:1px solid #715738;overflow:visible;white-space:normal;text-overflow:clip}
.history-column-head{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:2px 1px;border-right:1px solid #584831;color:#e7c38a;text-align:center}
.history-column-head:last-child{border-right:0}
.history-column-head strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 9px/1.15 Arial,sans-serif}
.history-column-head small{display:block;margin-top:3px;color:#af9b78;font:7px/1 Arial,sans-serif;letter-spacing:.35px}
.history-column-head:first-child strong{color:#b4a080}
.in-game .card-history .history-rounds{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(10,minmax(0,1fr));gap:2px;flex:1;min-height:0}
.in-game .card-history .history-round{display:grid;grid-template-columns:var(--history-columns);grid-template-rows:1fr;align-items:center;gap:0;min-height:0;padding:0;border:1px solid #5b4c34}
.in-game .card-history .history-round.is-active{border-color:#d6ae6f;background:#3f3927}
.in-game .card-history .history-round-number{grid-column:1;grid-row:1;margin:0;color:#b6a17f;text-align:center;font:9px Arial,sans-serif}
.history-duelist,.history-bookmaker{display:flex;align-items:center;justify-content:center;min-width:0;height:100%;border-left:1px solid #493f2e}
.history-duelist{position:relative}
.history-gesture{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:25px;height:25px;color:#c4b7a0}
.history-hand{display:block;width:22px;height:22px;overflow:visible}
.history-gesture.is-winner{border:1px solid #ddb674;border-radius:50%;color:#eed49d}
.history-gesture.is-hit{border-radius:4px;background:#e4bc78;color:#092017}
.history-gesture.is-miss{color:#8f8c82}
.history-gesture.is-miss::after{position:absolute;top:50%;left:-3px;width:31px;height:1.5px;background:#c4b9a5;content:"";transform:translateY(-50%)}
.history-draw-mark{position:absolute;right:-5px;z-index:1;color:#d0be9e;font:12px/1 Arial,sans-serif}
.history-bookmaker{gap:2px}
.history-target{flex:none;min-width:12px;color:#e0bd83;text-align:center;font:10px/1 Arial,sans-serif;white-space:nowrap}
.history-factor{flex:none;color:#e0bd83;font:700 10px/1 Arial,sans-serif;white-space:nowrap}
.in-game .card-history .history-round:disabled{opacity:1;cursor:default}
.history-round:disabled .history-round-number{opacity:.55}
@media(min-width:761px) and (max-width:1180px){.in-game .card-history.is-four-player .history-bookmaker{gap:1px}.in-game .card-history.is-four-player .history-gesture{width:21px;height:21px}.in-game .card-history.is-four-player .history-hand{width:20px;height:20px}.in-game .card-history.is-four-player .history-gesture.is-miss::after{width:27px}.in-game .card-history.is-four-player .history-target{min-width:9px;font-size:9px}.in-game .card-history.is-four-player .history-factor{font-size:8px}}
@media(min-width:761px) and (max-height:760px){.in-game .card-history{height:min(390px,calc(100dvh - 220px))}}


.in-game .card-history{--history-columns:28px minmax(0,1fr) minmax(0,1fr) minmax(0,1.45fr)}
.in-game .card-history.is-four-player{--history-columns:28px minmax(0,.8fr) minmax(0,.8fr) minmax(0,1.4fr) minmax(0,1.4fr)}
.in-game .card-history .history-matchup{grid-template-rows:17px minmax(0,1fr);min-height:51px;margin:3px 0 2px;border:0;border-top:1px solid #876a4680;border-bottom:1px solid #876a4680}
.history-duel-group,.history-bet-group{grid-row:1;align-self:center;color:#bda16f;font:700 9px/1 Arial,sans-serif;letter-spacing:1.6px;text-align:center}
.history-duel-group{grid-column:2 / 4}
.history-bet-group{grid-column:4 / -1}
.history-column-head{padding:1px 3px;border:0;color:#f0d2a1}
.history-column-duelist,.history-column-bookmaker{flex-direction:row;gap:5px}
.history-position{display:grid;place-items:center;flex:none;width:20px;height:20px;border:1.5px solid #f1c47e;border-radius:50%;background:#97714445;box-shadow:0 0 0 2px #d6ad6633;color:#ffe0a8;font:700 11px/1 Arial,sans-serif}
.history-column-head strong{font:700 13px/1.15 Arial,sans-serif}
.history-column-number strong{color:#a99575;font-size:10px}
.history-column-bookmaker strong{font-size:13px}
.in-game .card-history .history-rounds{gap:0}
.in-game .card-history .history-round{border:0;border-bottom:1px solid #85684465;background:transparent}
.in-game .card-history .history-round:nth-child(even){background:#14281d45}
.in-game .card-history .history-round.is-active{border:0;border-bottom:1px solid #c6a06a;background:#9070443d;box-shadow:inset 2px 0 #d4aa70}
.in-game .card-history .history-round-number{font-size:11px}
.history-duelist,.history-bookmaker{border:0}
.history-gesture{width:27px;height:27px}
.history-hand{width:26px;height:26px}
.history-gesture.is-winner{border-width:1px}
.history-gesture.is-hit{border-radius:5px}
.history-gesture.is-miss::after{left:-4px;width:35px}
.history-draw-mark{right:-7px;font-size:13px}
.history-bookmaker{gap:8px}
.history-target{min-width:18px;font-size:13px}
.history-factor{font-size:12px}
.history-duelist .history-gesture{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}
.history-draw-mark{top:50%;transform:translateY(-50%)}
.history-bookmaker{display:grid;grid-template-columns:27px 26px 38px;align-items:center;justify-content:center;gap:4px}
.history-bookmaker .history-target{text-align:center}
.round-result{width:min(100%,610px);margin-inline:auto}
@media(min-width:761px){.in-game .home-screen.shell{width:calc(100% - 50px)}}
@media(min-width:1181px){.in-game .card-history{left:0;width:384px}.in-game .round-ledger{width:290px}.in-game .card-art{width:min(100%,760px,calc(100vw - 816px),calc((100dvh - 270px)*1.75))}}
@media(min-width:761px) and (max-width:1180px){.in-game .card-history{left:0;width:275px}.in-game .card-art{width:min(100%,520px,calc(100vw - 554px),calc((100dvh - 300px)*1.75))}.history-bookmaker{grid-template-columns:25px 20px 30px;gap:2px}.in-game .card-history.is-four-player .history-gesture{width:21px;height:21px}.in-game .card-history.is-four-player .history-hand{width:20px;height:20px}.in-game .card-history.is-four-player .history-gesture.is-miss::after{width:27px}.in-game .card-history.is-four-player .history-bookmaker{grid-template-columns:21px 14px 26px;gap:1px}.in-game .card-history.is-four-player .history-target{min-width:0;font-size:9px}.in-game .card-history.is-four-player .history-factor{font-size:9px}}
@media(min-width:761px) and (max-width:1000px){.in-game .card-history{width:250px}}
@media(min-width:761px) and (max-height:760px){.in-game .round-ledger{height:auto;max-height:calc(100dvh - 220px)}}


.in-game .home-heading h1{display:none}
.in-game .game-hud{width:min(100%,540px);gap:11px;margin-top:7px;letter-spacing:0}
.game-scoreboard{display:grid;grid-template-columns:repeat(var(--player-count),minmax(0,1fr));width:min(100%,480px);border-top:1px solid #9e7a4d77;border-bottom:1px solid #9e7a4d77;background:#071a13a8}
.game-score{display:grid;align-content:center;gap:4px;min-width:0;min-height:45px;padding:4px 7px;border-right:1px solid #9e7a4d55;text-align:center}
.game-score:last-child{border-right:0}
.game-score-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f4d7a4;font:600 14px/1.1 Georgia,serif}
.game-score-values{display:flex;justify-content:center;gap:14px;min-width:0;color:#d9c6a5;font:11px/1.1 Arial,sans-serif;white-space:nowrap}
.game-score-values span:last-child{color:#e3c38e}
.in-game .game-hud .timer{flex:none;margin:0}
@media(min-width:761px) and (min-height:761px){.in-game .card-history,.in-game .round-ledger{top:calc(50% + 30px)}}
@media(min-width:761px) and (max-height:760px){.in-game .card-history,.in-game .round-ledger{bottom:-30px}}
.in-game .move-row{min-height:28px}
.bet-targets{display:flex;justify-content:center;align-items:center;gap:12px}
.bet-targets button{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:0;padding:0;border:1px solid #ffe3ad;border-radius:50%;background:linear-gradient(135deg,#f7dca8,#c99554);color:#092218;font:700 15px/1 Arial,sans-serif;letter-spacing:0;overflow:visible;box-shadow:0 2px 8px #0008,inset 0 1px #fff3ce;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}
.bet-targets button:not(:disabled):hover,.bet-targets button[aria-pressed=true]{border-color:#fff0cf;background:linear-gradient(135deg,#ffeac0,#e5b56f);color:#061a12;box-shadow:0 0 0 2px #f3cf91,0 0 16px #deb77588;transform:translateY(-1px)}
.bet-targets button:disabled{opacity:.75;transform:none}
.bet-targets button:focus-visible{outline:2px solid #fff0ca;outline-offset:3px}
.in-game .ranking-panel{display:flex;flex-direction:column;gap:9px;height:auto;max-height:min(390px,calc(100dvh - 190px));padding:12px 11px}
.ranking-top{display:flex;justify-content:space-between;align-items:center;gap:6px;color:#f1d19c;font:700 11px/1 Arial,sans-serif;letter-spacing:1.2px}
.ranking-top span:last-child{color:#bba27b;font-size:9px;font-weight:400;white-space:nowrap}
.ranking-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}
.ranking-tabs button{min-width:0;height:29px;padding:0;border:1px solid #78603e;background:#10251b;color:#dfc393;font:11px Arial,sans-serif}
.ranking-tabs button[aria-pressed=true]{border-color:#f3d397;background:#d5aa6e;color:#092117;font-weight:700}
.ranking-tabs button:disabled{opacity:.35;cursor:default}
.ranking-tabs button:focus-visible,.ranking-pager button:focus-visible,.rematch-button:focus-visible{outline:2px solid #fff0ca;outline-offset:2px}
.ranking-caption{padding:3px 0 5px;border-bottom:1px solid #9e7b4b88;color:#e8c38a;font:700 10px/1 Arial,sans-serif;letter-spacing:1px;text-align:center}
.ranking-table{display:grid;align-content:start;min-height:36px}
.ranking-row{display:grid;grid-template-columns:20px minmax(0,1fr) 24px 53px;align-items:center;gap:4px;min-height:27px;padding:0 2px;border-bottom:1px solid #7b634252;color:#ead8b7;font:11px/1 Arial,sans-serif}
.ranking-row span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ranking-row span:nth-child(3),.ranking-row span:nth-child(4){text-align:right;white-space:nowrap}
.ranking-row span:last-child{color:#f0cd8e;font-weight:700}
.ranking-row.ranking-heading{min-height:22px;color:#ad9774;font-size:9px;letter-spacing:.5px}
.ranking-row.ranking-heading span:last-child{color:#ad9774;font-weight:400}
.ranking-row:not(.ranking-heading):nth-child(2){background:#af854323}
.ranking-empty{margin:13px 2px;color:#a99b80;font:11px/1.4 Arial,sans-serif;text-align:center}
.ranking-pager{display:flex;justify-content:center;align-items:center;gap:12px;color:#bfa67f;font:10px Arial,sans-serif}
.ranking-pager button{width:25px;height:21px;border:1px solid #826943;background:#12271c;color:#f0d09a;font:18px/16px Arial,sans-serif}
.ranking-pager button:disabled{opacity:.35;cursor:default}
.ranking-note{margin:0;color:#a99978;font:9px/1.3 Arial,sans-serif;text-align:center}
.rematch-button{display:block;margin:7px auto 0;min-height:30px;padding:4px 14px;border:1px solid #f0cf92;background:#c99c61;color:#092117;font:700 10px Arial,sans-serif;letter-spacing:.6px}
.rematch-button:hover{background:#eed09d}
.rematch-button:disabled{opacity:.55;cursor:default}
.side-view-tabs{display:flex;align-items:center;gap:4px;min-width:0}
.side-view-tabs button{height:21px;padding:0 7px;border:1px solid #80633d;background:#0c2118;color:#bca57e;font:700 9px/1 Arial,sans-serif;letter-spacing:.5px;white-space:nowrap}
.side-view-tabs button[aria-pressed=true]{border-color:#f1cf96;background:#caa06a;color:#092117}
.side-view-tabs button:focus-visible,.chat-pages button:focus-visible,.chat-form button:focus-visible,.chat-form input:focus-visible{outline:2px solid #fff0ca;outline-offset:2px}
@media(min-width:761px){.in-game .card-history{left:auto;right:0}.in-game .room-chat{position:absolute;top:50%;left:0;transform:translateY(-50%);width:290px;height:min(390px,calc(100dvh - 220px))}}
.in-game .room-chat{display:flex;flex-direction:column;gap:7px;min-height:0;padding:11px;border:1px solid #b38a51;background:radial-gradient(ellipse at top,#173025,#071710 75%);box-shadow:inset 0 0 0 4px #071811,inset 0 0 0 5px #9d784777,0 20px 35px #0009;text-align:left;overflow:hidden}
.chat-top{display:flex;justify-content:space-between;align-items:center;gap:5px;padding-bottom:6px;border-bottom:1px solid #8569457e;color:#f1d19c;font:10px/1 Arial,sans-serif;letter-spacing:1px}
.chat-top strong{font-weight:700}.chat-top span{color:#ab9979;font-size:8px;white-space:nowrap}
.chat-messages{display:flex;flex-direction:column;justify-content:flex-end;gap:4px;flex:1;min-height:0;overflow:hidden}
.chat-message{padding:5px 7px;border-left:2px solid #806947;background:#13271e;color:#dbcdb2}
.chat-message.is-own{border-left-color:#e4bd7a;background:#3b35243d}
.chat-message>div{display:flex;justify-content:space-between;gap:8px;min-width:0;font:9px/1 Arial,sans-serif}
.chat-message strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#eacb96;font-weight:700}
.chat-message time{flex:none;color:#8f8b78}
.chat-message p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:3px 0 0;overflow-wrap:anywhere;font:11px/1.25 Arial,sans-serif}
.chat-empty{margin:auto 0;color:#a99b80;font:11px/1.4 Arial,sans-serif;text-align:center}
.chat-pages{display:flex;justify-content:space-between;gap:6px}.chat-pages button{padding:3px 5px;border:1px solid #80633d;background:#10251b;color:#e1c18d;font:9px Arial,sans-serif}.chat-pages button:disabled{opacity:.35;cursor:default}
.chat-error{color:#e4a48e;font:9px/1.2 Arial,sans-serif}.chat-error:empty{display:none}
.chat-form{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:5px;margin-top:1px}
.chat-form input{width:100%;height:34px;min-width:0;padding:0 8px;border:1px solid #9d784a;background:#061810;color:#f1ddb9;outline:0;font:11px Arial,sans-serif}
.chat-form input::placeholder{color:#9f947c}.chat-form button{height:34px;border:1px solid #e4be80;background:#cca16a;color:#092218;font:18px Arial,sans-serif}.chat-form button:disabled{opacity:.55;cursor:default}
@media(min-width:761px) and (max-width:1180px){.in-game .room-chat{width:230px}.in-game .card-history{right:0}}
@media(min-width:761px) and (max-height:760px){.in-game .room-chat{top:auto;bottom:-30px;transform:none;height:min(390px,calc(100dvh - 220px))}}
@media(min-width:761px){.in-game .ranking-panel{left:0;right:auto;width:290px;height:min(390px,calc(100dvh - 220px));max-height:none}}
@media(min-width:761px) and (max-width:1180px){.in-game .ranking-panel{width:230px}}
.round-verdict{position:absolute;z-index:3;top:-1.2em;left:50%;transform:translateX(-50%);pointer-events:none;white-space:nowrap;color:#f5d18e;font:400 clamp(38px,4.5vw,64px)/1 Georgia,'Times New Roman',serif;letter-spacing:.18em;text-shadow:0 2px 0 #704923,0 5px 14px #000,0 0 23px #c9955455}
