:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#141814;--panel:#1d241e;--panel-raised:#252e25;--line:#343e34;--text:#f2f5ed;--muted:#a6b1a3;--lime:#d4e9a1;--gold:#e5c77e;--radius:16px}*{box-sizing:border-box}body{min-width:280px;min-height:var(--app-height,100dvh);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font:16px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid var(--lime);outline-offset:4px}button{transition:background .15s,border-color .15s}a{color:var(--lime);text-underline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.025em;line-height:1.2}small{color:var(--muted);font-size:13px;display:block}button strong{font-weight:650}.icon{flex:none;display:block}.icon-button{border:1px solid var(--line);background:var(--panel);width:44px;min-width:44px;height:44px;color:var(--text);border-radius:12px;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-button:hover,.close:hover:not(:disabled){background:var(--panel-raised);border-color:#53634b}main{max-width:1000px;margin:0 auto;padding:24px}.hub-page{padding:calc(24px + max(env(safe-area-inset-top,0px),var(--app-safe-top,0px))) calc(20px + max(env(safe-area-inset-right,0px),var(--app-safe-right,0px))) calc(40px + max(env(safe-area-inset-bottom,0px),var(--app-safe-bottom,0px))) calc(20px + max(env(safe-area-inset-left,0px),var(--app-safe-left,0px)))}.top{border-bottom:1px solid var(--line);flex-direction:column;gap:22px;padding-bottom:26px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand .mark{background:var(--lime);color:#26321e;border-radius:13px;flex:none;place-items:center;width:42px;height:42px;display:grid}.brand h1{letter-spacing:-.035em;font-size:24px;font-weight:750}.brand p{color:var(--muted);margin-top:3px;font-size:13px}.account-bar{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:stretch;gap:12px;display:grid}.profile{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);text-align:left;align-items:center;gap:12px;width:100%;min-width:0;padding:16px;display:flex}.avatar{width:44px;height:44px;color:var(--lime);background:#35472f;border-radius:13px;flex:none;place-items:center;font-weight:700;display:grid;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%;display:block}.profile .avatar{width:48px;height:48px}.profile-info{flex:1;min-width:0}.profile-line{justify-content:space-between;align-items:center;gap:12px;display:flex}.player-name{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:16px;display:block;overflow:hidden}.level-badge{white-space:nowrap;color:var(--lime);background:#303c27;border-radius:6px;flex:none;padding:3px 7px;font-size:12px}.profile-progress{align-items:center;gap:12px;margin-top:10px;display:flex}.progress{appearance:none;background:#364031;border:0;border-radius:10px;flex:1;width:100%;min-width:0;height:4px;display:block;overflow:hidden}.progress::-webkit-progress-bar{background:#364031;border-radius:10px}.progress::-webkit-progress-value{background:var(--lime);border-radius:10px}.progress::-moz-progress-bar{background:var(--lime)}.profile-progress small{white-space:nowrap;font-size:12px}.profile>.icon{width:16px;color:var(--muted)}.account-actions{grid-template-columns:1fr 1fr;gap:12px;min-width:0;display:grid}.account-actions>.close{text-align:left;border-radius:var(--radius);justify-content:flex-start;align-items:center;gap:10px;width:100%;min-width:0;padding:14px;display:flex}.action-icon{flex:none;place-items:center;display:grid}.action-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.action-copy strong{font-size:16px;line-height:1.3}.action-copy small{font-size:12px}.account-actions>.close>.icon{width:15px;color:var(--muted);margin-left:auto}.coin-unit{color:var(--muted);font-size:12px;font-weight:400}.section-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px;display:flex}.section-heading h2{font-size:22px;font-weight:700}.section-heading>span{color:var(--muted);white-space:nowrap;font-size:12px}.recent-section{margin-top:28px}.catalog{margin-top:32px}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);text-align:left;min-width:0;padding:0;position:relative;overflow:hidden}.card:hover{border-color:#6d805d}.art{isolation:isolate;background:var(--shade);height:110px;color:var(--ink);place-items:center;display:grid;position:relative;overflow:hidden}.art:before{content:"";z-index:-1;background:repeating-linear-gradient(90deg,#0000 0 32px,#ffffff0c 33px 34px),repeating-linear-gradient(0deg,#0000 0 32px,#ffffff0c 33px 34px);position:absolute;inset:-100%;transform:rotate(-25deg);-webkit-mask-image:radial-gradient(#000,#0000 65%);mask-image:radial-gradient(#000,#0000 65%)}.piece{letter-spacing:-.12em;text-shadow:2px 4px #0003;padding-right:.12em;font:64px/1 Georgia,serif;transform:rotate(-8deg)}.card-body{justify-content:space-between;align-items:center;gap:6px;padding:14px 12px;display:flex}.card-body>span:first-child{min-width:0}.card-body strong{font-size:16px;display:block}.card-body small{margin-top:3px;font-size:12px}.game-badge{color:#d2dacd;background:#172018d9;border:1px solid #ffffff1c;border-radius:7px;padding:3px 8px;font-size:11px;font-weight:550;position:absolute;top:10px;right:10px}.game-badge.ready{color:var(--lime);background:#24301fe8;border-color:#d4e9a12e}.close,.more{border:1px solid var(--line);background:var(--panel);min-height:44px;color:var(--text);border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:14px;font-weight:550;display:inline-flex}.more{width:100%;color:var(--muted);margin-top:14px;display:flex}.more[hidden]{display:none}.filters{grid-template-columns:minmax(0,1fr) 190px;gap:10px;margin-bottom:18px;display:grid}.search-field{border:1px solid var(--line);background:var(--panel);border-radius:12px;align-items:center;gap:10px;min-width:0;padding:0 14px;display:flex}.search-field .icon{width:18px;color:var(--muted)}.search-field input{outline-offset:0;background:0 0;border:0;width:100%;min-width:0;padding:12px 0;font-size:14px}.search-field:focus-within{border-color:var(--lime)}.search-field input::placeholder{color:var(--muted)}.filters select{border:1px solid var(--line);background:var(--panel);border-radius:12px;width:100%;min-width:0;padding:12px;font-size:14px}.empty{color:var(--muted);border:1px dashed var(--line);border-radius:var(--radius);grid-column:1/-1;padding:24px;font-size:14px;line-height:1.6}dialog{background:var(--panel);width:min(100% - 32px,480px);max-height:calc(100dvh - 40px);color:var(--text);overscroll-behavior:contain;border:1px solid #424e3d;border-radius:22px;margin:auto;padding:24px;overflow:auto;box-shadow:0 24px 80px #0006}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#090e0bba}dialog>header,.dialog-heading{z-index:2;background:var(--panel);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;margin:-2px 0 20px;padding:2px 0 12px;display:flex;position:sticky;top:-24px}dialog h2{min-width:0;font-size:24px;line-height:1.25}dialog h3{font-size:17px}dialog p{color:var(--muted);margin:14px 0;font-size:14px;line-height:1.65}.modal-close{background:0 0;flex:none}.dialog-done{width:100%;margin-top:8px}dialog details summary{cursor:pointer;color:var(--text);padding:12px 0;font-size:14px}.account-error{border-radius:var(--radius);color:var(--muted);border:1px solid #805a4a;margin-top:16px;padding:16px;font-size:14px}.account-error button{margin-top:12px}@media (width<=760px){.account-bar{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-actions>.close{min-height:65px}.account-actions .social-button .action-copy small{font-size:12px}.top{gap:18px}.art{height:104px}}@media (width<=420px){.hub-page{padding-left:16px;padding-right:16px}.profile{gap:10px;padding:14px}.profile>.icon{display:none}.account-actions{gap:10px}.account-actions>.close{gap:9px;padding:12px}.account-actions>.close>.icon,.coin-unit{display:none}.account-actions .social-button .action-copy small{font-size:11px}.section-heading h2{font-size:21px}.section-heading>span{font-size:11px}.grid{gap:12px}.card-body{flex-wrap:wrap;align-content:flex-start;padding:12px}.card-body>span:first-child{width:100%}.filters{grid-template-columns:1fr}.filters select{min-height:44px}.art{height:96px}.piece{font-size:58px}dialog{border-radius:18px;padding:20px}dialog>header{top:-20px}dialog h2{font-size:22px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}html.playing-chess,html.playing-chess body,html.playing-chess #root{height:100%;overflow:hidden}main.chess-page{height:var(--app-height,100dvh);width:100%;max-width:960px;padding:calc(8px + max(var(--app-safe-top,0px),env(safe-area-inset-top,0px))) calc(12px + max(var(--app-safe-right,0px),env(safe-area-inset-right,0px))) calc(8px + max(var(--app-safe-bottom,0px),env(safe-area-inset-bottom,0px))) calc(12px + max(var(--app-safe-left,0px),env(safe-area-inset-left,0px)));flex-direction:column;gap:8px;min-height:0;display:flex}.chess-heading{border-bottom:1px solid var(--line);flex-shrink:0;align-items:center;gap:12px;min-height:48px;padding-bottom:8px;display:flex}.chess-heading h1{letter-spacing:-.025em;margin:0 auto 0 0;font-size:21px}.chess-heading>nav{align-items:center;gap:8px;display:flex}.chess-heading .wallet-button{min-height:40px;color:var(--gold);white-space:nowrap;align-items:center;gap:6px;padding:8px 10px;display:flex}.chess-heading .wallet-button .action-copy strong{font-size:14px}.chess-heading .wallet-button .action-copy small,.chess-heading .coin-unit,.chess-heading .wallet-button>.icon,.chess-heading .social-button .action-copy,.chess-heading .social-button>.icon{display:none}.chess-heading .social-button{justify-content:center;align-items:center;width:40px;min-height:40px;padding:8px;display:flex}.chess-heading .social-count{min-width:18px;height:18px;font-size:10px;position:absolute;top:-5px;right:-5px}.chess-heading .action-icon .icon{width:19px;height:19px}.chess-primary{background:var(--lime);color:#243019;border:1px solid #0000;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:12px 16px;font-size:14px;font-weight:650;display:inline-flex}.chess-primary small{color:#455533}.chess-primary:hover:not(:disabled){background:#e2f3bc}.chess-primary:disabled,.chess-page button:disabled:not(.chess-square){opacity:.5;cursor:default}.chess-lobby{border:1px solid var(--line);background:var(--panel);border-radius:18px;flex-direction:column;flex:1;gap:16px;min-height:0;padding:18px;display:flex}.lobby-intro{justify-content:space-between;align-items:center;gap:10px;display:flex}.lobby-intro h2{font-size:20px}.lobby-intro small{max-width:220px;margin-top:6px;font-size:13px}.lobby-quick{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.lobby-quick button{min-height:43px;padding:9px 7px;font-size:12px}.lobby-tabs{background:var(--bg);border-radius:12px;grid-template-columns:1.4fr 1fr;gap:4px;padding:4px;display:grid}.lobby-tabs button{color:var(--muted);background:0 0;border:0;border-radius:9px;min-height:44px;padding:12px 6px;font-size:13px}.lobby-tabs button.active{color:var(--text);background:var(--panel-raised);font-weight:600}.lobby-scroll{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.public-room{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:13px 0;display:flex}.public-room>div{flex:1;min-width:0}.public-room strong{white-space:nowrap;text-overflow:ellipsis;font-size:15px;display:block;overflow:hidden}.public-room small{margin-top:4px;font-size:12px}.public-room .avatar{width:36px;height:36px}.lobby-empty{text-align:center;padding:25px 8px}.lobby-empty>span{color:var(--lime);font-size:48px}.lobby-empty p{margin:9px 0}.lobby-empty small{font-size:13px;line-height:1.5}.lobby-empty button{margin-top:20px}.resume-room{border:1px solid var(--line);background:var(--bg);text-align:left;border-radius:12px;padding:12px}.resume-room strong{color:var(--lime);font-size:14px;display:block}.resume-room small{margin-top:4px;font-size:12px}.past-room{text-align:left;width:100%;margin-bottom:9px;font-size:14px;display:block}.past-room small{margin-top:5px;font-size:12px}.chess-notice{color:var(--muted);font-size:14px;line-height:1.5}.chess-notice a{color:var(--lime)}.chess-match{flex:1;grid-template-rows:auto 39px minmax(0,1fr) 39px 43px;gap:4px;width:100%;max-width:720px;min-height:0;margin:0 auto;display:grid}.chess-status{text-align:center;min-height:38px;padding:0 4px}.chess-status strong{font-size:17px;line-height:1.3;display:block}.chess-status small{margin-top:2px;font-size:12px}.match-person{text-align:left;background:0 0;border:0;align-items:center;gap:9px;min-width:0;max-width:100%;height:38px;padding:0;display:flex;opacity:1!important}.match-person .avatar{border-radius:9px;width:32px;height:32px;font-size:18px}.match-person>span:last-child{min-width:0}.match-person strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.2;display:block;overflow:hidden}.match-person small{margin-top:2px;font-size:11px;line-height:1.2}.board-slot{place-items:center;min-width:0;min-height:0;display:grid;container-type:size}.chess-board{width:min(100%,calc(var(--app-height,100dvh) - 240px));aspect-ratio:1;border:3px solid #394b35;border-radius:8px;grid-template-columns:repeat(8,minmax(0,1fr));max-width:560px;display:grid;overflow:hidden;box-shadow:0 8px 25px #0003;container-type:inline-size}@supports (width:1cqw){.chess-board{width:min(100cqw,100cqh)}}.chess-square{aspect-ratio:1;touch-action:manipulation;isolation:isolate;cursor:pointer;border:0;border-radius:0;place-items:center;min-width:0;padding:0;display:grid;position:relative}.chess-square:disabled{cursor:default;opacity:1}.chess-square.light{color:#3c5035;background:#d9dfc7}.chess-square.dark{color:#f0f2df;background:#718664}.chess-square.last{box-shadow:inset 0 0 0 100px #d8ec9b55}.chess-square.selected{background:#b8cf69;box-shadow:inset 0 0 0 3px #384b1c}.chess-square.in-check{background:#be7060}.chess-square.target:after{content:"";z-index:2;pointer-events:none;background:#273b3270;border-radius:50%;width:24%;height:24%;position:absolute}.chess-square.target:has(.chess-piece):after{background:0 0;border:3px solid #324d34aa;width:88%;height:88%}.chess-piece{z-index:1;-webkit-user-select:none;user-select:none;pointer-events:none;font-family:Times New Roman,Georgia,serif;font-size:clamp(14px,10cqw,58px);line-height:1}.chess-piece.w{color:#fffbed;text-shadow:0 1px 1px #172519,1px 0 #172519,-1px 0 #172519,0 -1px #172519}.chess-piece.b{color:#17251d;text-shadow:0 1px 1px #e5e9d1}.chess-square .rank,.chess-square .file{z-index:3;font-size:clamp(8px,2.2cqw,12px);font-weight:750;line-height:1;position:absolute}.chess-square .rank{top:2px;left:2px}.chess-square .file{bottom:2px;right:2px}.match-toolbar{justify-content:space-between;align-items:center;gap:6px;min-width:0;display:flex}.match-toolbar button{white-space:nowrap;min-height:42px;padding:9px 10px;font-size:13px}.chess-error{color:#ffcfb5;border:1px solid #945d4f;border-radius:10px;flex-shrink:0;align-items:center;gap:8px;max-height:65px;padding:7px 10px;font-size:12px;display:flex;overflow:auto}.chess-error span{flex:1}.chess-error button{background:0 0;border:0;font-size:20px}.chess-modal{width:min(100% - 32px,480px)}.create-options{flex-direction:column;gap:10px;display:flex}.create-options>button{text-align:left;flex-direction:column;align-items:flex-start;padding:14px 16px}.create-options small{margin-top:5px;font-size:12px;line-height:1.4}.create-options h3{margin:8px 0 0;font-size:16px}.create-options p{margin:4px 0;font-size:14px}.promotion-options{gap:8px;display:flex}.promotion-options button{flex:1;padding:9px;font-size:32px}.move-list{font-variant-numeric:tabular-nums;max-height:60dvh;padding-left:30px;overflow:auto}.move-list li{color:var(--muted);padding:7px}.move-list span{width:40%;color:var(--text);display:inline-block}@media (orientation:landscape) and (height<=500px){.chess-match{grid-template-rows:auto 40px 40px 1fr;grid-template-columns:minmax(0,1fr) minmax(170px,32%);column-gap:18px;max-width:900px}.board-slot{grid-area:1/1/5}.chess-status,.match-opponent,.match-me,.match-toolbar{grid-column:2}.match-toolbar{flex-wrap:wrap;justify-content:flex-start;align-self:end}.chess-status{text-align:left}.chess-heading{min-height:34px}.chess-heading h1{font-size:20px}}@media (width<=360px){.chess-lobby{padding:12px}.lobby-intro h2{font-size:20px}.lobby-quick button{font-size:11px}.match-toolbar button{padding:8px;font-size:11px}.chess-heading h1{font-size:18px}.chess-heading{gap:8px}.chess-heading>nav{gap:6px}}.checkers-board .draught{aspect-ratio:1;z-index:1;pointer-events:none;border-radius:50%;place-items:center;width:76%;display:grid;position:relative;box-shadow:0 2px 3px #0006}.draught:before{content:"";opacity:.35;border:2px solid;border-radius:50%;position:absolute;inset:12%}.draught.white{color:#514b36;background:linear-gradient(140deg,#fff8db,#cfc6a6);border:2px solid #fbf1d3}.draught.black{color:#d5dcb7;background:linear-gradient(140deg,#485344,#1a251d);border:2px solid #223124}.draught svg{z-index:1;filter:drop-shadow(0 1px 1px #0003);width:55%;height:55%}.draught.taken{opacity:.35}.draught.taken:after{content:"";background:#e28771;height:2px;position:absolute;left:10%;right:10%;transform:rotate(-45deg)}.checkers-board .chess-square.target:has(.draught):after{background:0 0;border:3px solid #324d34aa;width:88%;height:88%}.domino-match{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.domino-players{flex:none;justify-content:space-between;align-items:center;gap:10px;display:flex}.domino-players>.close{min-height:36px;padding:6px 12px;font-size:13px}.domino-table{flex:1;grid-template-rows:auto 24px minmax(80px,1fr) auto;gap:8px;min-height:0;display:grid}.domino-score{border:1px solid var(--line);background:var(--panel);border-radius:14px;justify-content:space-between;align-items:center;padding:9px 14px;display:flex}.domino-score>div{min-width:75px}.domino-score>div:last-child{text-align:right}.domino-score small{font-size:11px}.domino-score strong{font-variant-numeric:tabular-nums;font-size:24px;line-height:1.15}.domino-score strong span{color:var(--muted);margin-left:6px;font-size:11px;font-weight:400}.domino-score>span{color:var(--muted);font-size:12px}.domino-opponent-hand{justify-content:center;gap:4px;min-height:0;display:flex}.domino-tile{color:#253329;background:#f4efdc;border:1px solid #bdb79f;border-radius:6px;flex-direction:column;flex:none;width:36px;height:68px;display:inline-flex;overflow:hidden;box-shadow:0 2px 3px #0004}.domino-half{flex:1;grid-template:repeat(3,1fr)/repeat(3,1fr);gap:2px;min-height:0;padding:6px;display:grid}.domino-half+.domino-half{border-top:1px solid #aca58e}.domino-half i{background:#26362d;border-radius:50%;place-self:center;width:5px;height:5px}.domino-tile.back{background:linear-gradient(145deg,#425941,#263c2d);border:1px solid #60775a;place-items:center;width:13px;height:23px;display:grid}.tile-back-mark{color:#9faf83;font-size:12px}.domino-play-area{background:radial-gradient(#2d4a36,#203527);border:1px solid #3d5543;border-radius:16px;flex-direction:column;gap:8px;min-height:0;padding:10px;display:flex;overflow:hidden}.domino-table-meta{flex:none;justify-content:space-between;display:flex}.domino-table-meta small{color:#a9bda5;font-size:11px}.domino-chain{overscroll-behavior:contain;flex-wrap:wrap;flex:1;place-content:flex-start center;align-items:center;gap:4px;min-height:0;padding:6px 0;display:flex;overflow:auto}.domino-chain-tile{flex:none;display:flex}.domino-chain .domino-tile{border-radius:4px;flex-direction:row;width:48px;height:25px;box-shadow:0 1px 2px #0004}.domino-chain .domino-half{gap:1px;min-width:0;padding:4px}.domino-chain .domino-half+.domino-half{border-top:0;border-left:1px solid #aca58e}.domino-chain .domino-half i{width:3px;height:3px}.domino-chain-tile.double .domino-tile{border-color:#d8e7a0}.domino-empty{color:#b0c3ad;text-align:center;max-width:240px;padding:8px;font-size:13px}.domino-edges{flex:none;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;display:grid}.domino-edges .close{background:#1e3024;border-color:#52694e;min-height:36px;padding:7px 8px;font-size:12px}.domino-edges .close:not(:disabled){border-color:var(--lime);color:var(--lime);background:#34492a}.domino-edges small{text-align:center;max-width:70px;font-size:10px}.domino-hand-section{min-height:0}.domino-hand-section>div:first-child{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px;display:flex}.domino-hand-section strong{font-size:13px;font-weight:600}.domino-hand-section small{font-size:10px}.domino-hand{overscroll-behavior:contain;gap:6px;min-height:74px;padding:3px 2px 7px;display:flex;overflow-x:auto}.domino-hand-tile{background:0 0;border:2px solid #0000;border-radius:9px;flex:none;min-width:44px;padding:2px;opacity:.55!important}.domino-hand-tile.playable{background:#2d3b26;border-color:#6a8051;opacity:1!important}.domino-hand-tile.selected{border-color:var(--lime);background:#5e7338;transform:translateY(-2px)}.domino-toolbar{flex:none;justify-content:stretch}.domino-toolbar>.chess-primary{flex:1;min-height:42px}.domino-round-result{text-align:center;color:var(--text);padding:8px 4px;font-size:13px}.domino-round-result small{margin-top:4px;font-size:11px}.domino-history{padding-left:22px;font-size:13px;line-height:1.6}.domino-history li{color:var(--muted);padding:5px 0}@media (height<=620px){.domino-table{grid-template-rows:auto 18px minmax(60px,1fr) auto;gap:5px}.domino-match{gap:5px}.domino-score{padding:6px 12px}.domino-score strong{font-size:20px}.domino-opponent-hand .domino-tile.back{width:11px;height:18px}.domino-hand .domino-tile{width:30px;height:56px}.domino-hand .domino-half{gap:1px;padding:4px}.domino-hand .domino-half i{width:4px;height:4px}.domino-hand{min-height:64px}.domino-hand-tile{min-width:38px}.domino-play-area{gap:5px;padding:7px}}@media (orientation:landscape) and (height<=500px){.domino-match{grid-template-rows:auto 1fr auto;grid-template-columns:minmax(0,1fr) 220px;gap:8px 14px;display:grid}.domino-table{grid-area:1/1/4;grid-template-rows:auto minmax(70px,1fr) auto;gap:5px}.domino-opponent-hand{display:none}.domino-score{grid-row:1}.domino-play-area{grid-row:2}.domino-hand-section{grid-row:3}.domino-match>.chess-status{grid-area:1/2}.domino-players{grid-area:2/2;align-self:start}.domino-toolbar{grid-area:3/2}.domino-hand{padding-bottom:3px}.domino-hand-section>div:first-child{margin-bottom:2px}.domino-hand-section small{max-width:180px}}.domino-chain.compact{gap:3px}.domino-chain.compact .domino-tile{width:38px;height:20px}.domino-chain.compact .domino-half{gap:1px;padding:3px}.domino-chain.compact .domino-half i{width:2.5px;height:2.5px}.domino-chain.compact .domino-half+.domino-half{border-left-width:1px}@supports (align-content:safe center){.domino-chain{align-content:safe center}}.bg-board-slot{container-type:size}.bg-board{aspect-ratio:1.1;background:#b99c75;border:6px solid #70523b;border-radius:12px;grid-template-rows:minmax(0,1fr) 44px minmax(0,1fr);grid-template-columns:repeat(6,minmax(0,1fr)) 18px repeat(6,minmax(0,1fr));width:min(100cqw,110cqh);max-width:660px;padding:3px;display:grid;position:relative;overflow:hidden;box-shadow:0 10px 30px #0003;container-type:inline-size}.bg-point{isolation:isolate;background:0 0;border:0;border-radius:0;flex-direction:column;align-items:center;min-width:0;min-height:0;padding:14px 1px 0;display:flex;position:relative;opacity:1!important}.bg-point.bottom{flex-direction:column-reverse;padding:0 1px 14px}.bg-point:before{content:"";z-index:-1;clip-path:polygon(0 0,100% 0,50% 95%);background:#665443;position:absolute;inset:0}.bg-point.warm:before{background:#9b5b3f}.bg-point.bottom:before{clip-path:polygon(0 100%,100% 100%,50% 5%)}.bg-point-number{color:#32291d;font-size:clamp(8px,2.7cqw,12px);font-weight:600;line-height:14px;position:absolute;top:0}.bg-point.bottom .bg-point-number{top:auto;bottom:0}.bg-stack{flex-direction:column;align-items:center;gap:1px;width:100%;height:100%;min-height:0;display:flex}.bg-stack>.bg-checker{aspect-ratio:1;width:auto;max-width:100%;height:calc(20% - .8px);max-height:calc(8.33333cqw - 3.5px)}.bg-point.bottom .bg-stack{flex-direction:column-reverse}.bg-checker{aspect-ratio:1;border:1px solid #0006;border-radius:50%;flex:none;place-items:center;width:100%;max-width:35px;font-size:clamp(9px,3cqw,13px);font-weight:750;display:grid;box-shadow:0 1px 2px #0005}.bg-checker.w{color:#382a1c;background:radial-gradient(circle,#fff9df 42%,#d6c9ac 45%,#f3ead4 60%)}.bg-checker.b{color:#f7eedb;background:radial-gradient(circle,#353831 42%,#55584b 45%,#24281f 60%)}.bg-point.selected{outline-offset:-2px;background:#e8f8a19c;outline:2px solid #c9e899}.bg-point.target{background:#c4e58d6e}.bg-point.movable:after{content:"";background:#e2f8ab;border-radius:50%;width:5px;height:5px;position:absolute;top:7px}.bg-point.bottom.movable:after{top:auto;bottom:7px}.bg-destination{background:#263c19;border-radius:50%;width:8px;height:8px;position:absolute;top:50%;left:calc(50% - 4px);box-shadow:0 0 0 3px #e4f6adcc}.bg-bar{z-index:1;background:#70523b;flex-direction:column;justify-content:space-between;gap:50px;padding:8px 1px;display:flex}.bg-bar-side{opacity:.7;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;min-width:0;padding:0;display:flex}.bg-bar-side:disabled{opacity:.6}.bg-bar-side .bg-checker{width:16px;font-size:10px}.bg-bar-side.selected{outline:2px solid var(--lime);outline-offset:3px}.bg-dice-tray{z-index:2;background:#8c7050;grid-area:2/1/auto/-1;justify-content:center;align-items:center;gap:5px;margin:0 -3px;display:flex}.bg-die-button{opacity:1;background:0 0;border:1px solid #0000;border-radius:7px;place-items:center;width:32px;min-width:0;height:40px;padding:3px;display:grid}.bg-die-button.used{opacity:.28}.bg-die-button.selected{background:#e3f5a344;border-color:#efffc7}.bg-die{background:#fff8e8;border-radius:5px;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);gap:2px;width:27px;height:27px;padding:5px;display:grid;box-shadow:0 2px 3px #0005}.bg-die i{background:#463a2a;border-radius:50%;place-self:center;width:4px;height:4px;display:block}.bg-off{z-index:3;color:#f5e5ca;background:#785c3d;border:1px solid #523e28;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;min-width:39px;height:38px;padding:2px 4px;display:flex;position:absolute;top:calc(50% - 19px);right:5px;opacity:.8!important}.bg-off>span{font-size:9px}.bg-off strong{align-items:baseline;gap:1px;font-size:12px;display:flex}.bg-off small{color:inherit;font-size:9px}.bg-off.target{background:var(--lime);color:#25341b;border-color:#dff3ad;opacity:1!important}.bg-board-caption{color:#f3e4c6;letter-spacing:.03em;font-size:12px}.bg-variant-options{grid-template-columns:1fr 1fr;gap:8px;display:grid}.bg-variant-options .close{text-align:left;flex-direction:column;align-items:flex-start;gap:4px;padding:14px 12px}.bg-variant-options .close small{margin:0;font-size:11px}.bg-variant-options .close[aria-pressed=true]{border-color:var(--lime);color:var(--lime);background:#344029}.bg-history{padding-left:22px;font-size:14px;line-height:1.7}.bg-history li{color:var(--muted);padding:5px 0}.bg-rules h3{margin-top:20px}.bg-page .lobby-empty>span{color:var(--gold);font-size:38px}.bg-page .chess-heading h1{white-space:nowrap}.bg-match .chess-status strong{font-size:16px}.bg-match .chess-status small{font-size:12px}@media (width<=360px){.bg-board{border-width:4px;grid-template-columns:repeat(6,minmax(0,1fr)) 16px repeat(6,minmax(0,1fr))}.bg-variant-options .close{padding:12px 8px}.bg-board-caption{font-size:10px}}.social-button{position:relative}.social-count{background:var(--lime);color:var(--bg);border-radius:20px;flex:none;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:11px;font-weight:700;display:grid}.social-toast{z-index:20;bottom:calc(16px + env(safe-area-inset-bottom,0px));background:var(--panel-raised);border-radius:var(--radius);border:1px solid #61764b;align-items:center;gap:12px;width:min(100% - 32px,520px);padding:16px;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 12px 40px #0006}.social-toast>span{flex:1;min-width:0;font-size:14px}.social-toast .close{flex:none}.social-dismiss{color:var(--muted);background:0 0;border:0;padding:4px;font-size:24px}.social-dialog{width:min(100% - 32px,520px)}.social-tabs{background:var(--bg);border-radius:12px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:16px;padding:4px;display:grid}.social-tabs button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:12px 6px;font-size:13px;font-weight:550}.social-tabs button.active{color:var(--text);background:var(--panel-raised)}.social-list article{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:flex-start;gap:12px;padding:16px 0;display:flex}.social-list article>div{flex:1;min-width:0}.social-list .avatar{width:40px;height:40px}.social-list strong{overflow-wrap:anywhere;font-size:14px;line-height:1.5}.social-list small{margin-top:5px;font-size:12px}.social-row-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.social-row-actions button,.social-list article>button{min-height:44px;font-size:13px}.social-list .unread{border-left:2px solid var(--lime);padding-left:12px}.social-person{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:12px;min-width:0;padding:0;display:flex}.social-read{color:var(--lime);background:0 0;border:0;min-height:34px;padding:10px 0 0;font-size:12px;display:block}.social-profile{text-align:center;padding:16px 0}.social-profile .avatar{border-radius:22px;width:72px;height:72px;margin:0 auto 16px;font-size:28px}.social-profile h3{margin:8px 0;font-size:22px}.social-feedback{background:var(--bg);border-radius:12px;padding:14px;color:var(--lime)!important}.social-list>p{text-align:center;padding:20px 4px;line-height:1.7}.wallet-button .action-icon{color:var(--gold)}.wallet-button .action-copy strong{color:var(--gold);font-variant-numeric:tabular-nums}.wallet-dialog{width:min(100% - 32px,480px)}.wallet-balance{flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:8px 0 26px;display:flex}.wallet-balance small{font-size:13px}.wallet-balance strong{letter-spacing:-.04em;color:var(--gold);font-variant-numeric:tabular-nums;align-items:center;gap:10px;font-size:38px;font-weight:700;display:flex}.wallet-balance strong .icon{width:30px;height:30px}.wallet-balance>span{color:var(--muted);font-size:13px}.wallet-pack{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);margin-bottom:14px;padding:18px}.wallet-pack h3{margin-bottom:8px}.wallet-pack>strong{letter-spacing:-.02em;font-size:20px;font-weight:650;display:block}.wallet-pack p{margin:10px 0;font-size:14px}.wallet-pack>button{width:100%;margin-top:16px}.wallet-pack>small{margin-top:10px}.wallet-pack details{border-top:1px solid var(--line);margin-top:16px}.wallet-consent{cursor:pointer;align-items:center;gap:10px;margin-top:12px;font-size:14px;display:flex}.wallet-consent input{width:20px;height:20px;accent-color:var(--lime);flex:none;margin:0}.wallet-history{border-top:1px solid var(--line);margin-top:22px}.wallet-history p{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;margin:0;padding:14px 0;display:flex}.wallet-history p>strong{color:var(--text);white-space:nowrap;font-size:16px}.wallet-history small{margin-top:4px;font-size:12px}.unavailable-note{background:var(--panel);color:var(--muted);border-radius:10px;margin-top:16px;padding:12px;font-size:13px;line-height:1.5}.stake-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.stake-options button{font-variant-numeric:tabular-nums;min-width:0;padding:10px 4px}.stake-options button[aria-pressed=true]{background:var(--lime);color:#243019;border-color:var(--lime)}.stake-summary{background:var(--bg);border-radius:12px;padding:14px;font-size:14px;line-height:1.6}.durak-match{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.durak-players{flex:none;justify-content:space-between;align-items:center;gap:10px;display:flex}.durak-players>.close{min-height:36px;padding:6px 12px;font-size:13px}.durak-table{flex:1;grid-template-rows:42px minmax(100px,1fr) auto;gap:8px;min-height:0;display:grid}.playing-card{color:#203329;background:#f8f7ee;border:1px solid #bcbfae;border-radius:7px;flex:none;width:56px;height:80px;display:inline-flex;position:relative;overflow:hidden;box-shadow:0 2px 4px #0005}.card-red{color:#b43e43}.card-corner{text-align:center;font-size:16px;font-weight:750;line-height:.9;position:absolute;top:4px;left:5px}.card-corner i{margin-top:2px;font-size:13px;font-style:normal;display:block}.card-corner.bottom{inset:auto 5px 4px auto;transform:rotate(180deg)}.card-suit{font-size:29px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.card-back{outline-offset:-5px;color:#a3b291;background:repeating-linear-gradient(45deg,#354c3e 0 4px,#2a4034 4px 8px);border:2px solid #a3b291;outline:1px solid #2b3c2f;place-items:center;display:grid}.card-back>span{font-size:26px}.durak-opponent{justify-content:space-between;align-items:center;gap:8px;padding:0 6px;display:flex}.durak-opponent>div{align-items:center;padding-left:10px;display:flex}.durak-opponent .playing-card{width:27px;height:39px;margin-left:-10px}.durak-opponent .card-back>span{font-size:15px}.durak-opponent small{font-size:12px}.durak-felt{background:radial-gradient(#2e4b38,#1d3326);border:1px solid #3d5543;border-radius:16px;grid-template-rows:auto minmax(0,1fr) 38px;grid-template-columns:66px minmax(0,1fr);gap:8px;min-height:0;padding:10px;display:grid;overflow:hidden}.durak-table-meta{color:#b4c6ac;grid-column:1/3;justify-content:space-between;font-size:12px;display:flex}.durak-stock{flex-direction:column;grid-area:2/1;align-self:center;align-items:center;gap:8px;display:flex;position:relative}.durak-stock>.playing-card{width:44px;height:64px;transform:rotate(-12deg)}.durak-stock>div{flex-direction:column;align-items:center;gap:3px;display:flex}.durak-stock>div>.playing-card{width:44px;height:64px;position:absolute;top:-12px;left:7px}.durak-stock strong{color:#e6eecb;font-size:19px;line-height:1.2}.durak-stock small{white-space:nowrap;color:#bed0b4;font-size:12px}.durak-pairs{overscroll-behavior:contain;flex-wrap:wrap;grid-area:2/2;place-content:flex-start center;align-items:center;gap:8px 12px;min-height:0;padding:8px 2px;display:flex;overflow:auto}.durak-pair{cursor:default;background:0 0;border:0;flex:none;width:57px;height:81px;margin:0;padding:0;position:relative;opacity:1!important}.durak-pair.covered{width:70px;height:95px}.durak-pair>.playing-card{position:absolute;top:0;left:0}.durak-pair>.playing-card+.playing-card{top:14px;left:13px}.durak-pair.target{outline:2px solid var(--lime);outline-offset:3px;cursor:pointer;border-radius:7px}.durak-empty{color:#c0ceb5;text-align:center;max-width:190px;font-size:14px}.durak-table-hint{grid-column:1/3;justify-content:center;align-items:center;gap:12px;min-width:0;display:flex}.durak-table-hint small{text-align:center;font-size:12px}.durak-table-hint .close{border-color:var(--lime);min-height:34px;color:var(--lime);white-space:nowrap;padding:5px 12px;font-size:13px}.durak-hand-section{min-height:0}.durak-hand-section>div:first-child{justify-content:space-between;align-items:center;gap:8px;margin-bottom:5px;display:flex}.durak-hand-section strong{font-size:14px}.durak-hand-section small{font-size:12px}.durak-hand{overscroll-behavior:contain;gap:4px;min-height:92px;padding:4px 2px 7px;display:flex;overflow-x:auto}.durak-hand-card{background:0 0;border:2px solid #0000;border-radius:10px;flex:none;padding:2px;opacity:.6!important}.durak-hand-card.playable{border-color:#80945d;opacity:1!important}.durak-hand-card.selected{border-color:var(--lime);background:#5f7438;transform:translateY(-2px)}.durak-toolbar{flex:none}.durak-toolbar>.chess-primary{flex:1;min-height:42px}.durak-variants{grid-template-columns:1fr 1fr;gap:8px;display:grid}.durak-variants button[aria-pressed=true]{border-color:var(--lime);color:var(--lime);background:#34442b}.durak-variants strong{font-size:14px}.durak-variants small{margin-top:4px;font-size:12px}.durak-history{padding-left:22px;font-size:14px;line-height:1.5}.durak-history li{color:var(--muted);padding:5px 0}.durak-rules p{font-size:14px;line-height:1.5}@supports (align-content:safe center){.durak-pairs{align-content:safe center}}@media (height<=620px){.durak-match{gap:5px}.durak-table{grid-template-rows:32px minmax(90px,1fr) auto;gap:5px}.durak-opponent .playing-card{width:23px;height:31px}.durak-hand .playing-card{width:46px;height:66px}.durak-hand{min-height:78px}.durak-felt{grid-template-rows:auto minmax(0,1fr) 30px;grid-template-columns:52px minmax(0,1fr);gap:5px;padding:7px}.durak-felt .playing-card{width:42px;height:60px}.durak-pair{width:43px;height:61px}.durak-pair.covered{width:53px;height:72px}.durak-pair>.playing-card+.playing-card{top:11px;left:10px}.durak-pairs{gap:6px 8px}.durak-stock>.playing-card,.durak-stock>div>.playing-card{width:36px;height:52px}.card-corner{font-size:14px;top:4px;left:4px}.card-corner i{font-size:11px}.card-corner.bottom{bottom:4px;right:4px}.card-suit{font-size:24px}}@media (orientation:landscape) and (height<=500px){.durak-match{grid-template-rows:auto 1fr auto;grid-template-columns:minmax(0,1fr) 220px;gap:8px 14px;display:grid}.durak-table{grid-area:1/1/4;grid-template-rows:minmax(80px,1fr) auto;gap:5px}.durak-opponent{display:none}.durak-felt{grid-row:1}.durak-hand-section{grid-row:2}.durak-match>.chess-status{grid-area:1/2}.durak-players{grid-area:2/2;align-self:start}.durak-toolbar{grid-area:3/2}.durak-hand{padding-bottom:3px}.durak-hand-section>div:first-child{margin-bottom:2px}.durak-pairs .playing-card{width:34px;height:49px}.durak-pair{width:35px;height:50px}.durak-pair.covered{width:45px;height:61px}.durak-pairs{gap:5px 8px}}.durak-table{grid-template-columns:minmax(0,1fr)}.durak-table>*,.durak-hand-section,.durak-hand{min-width:0}.durak-modal{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:hidden auto}.durak-modal .create-options,.durak-modal .create-options>*{box-sizing:border-box;min-width:0;max-width:100%}.durak-variants{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.durak-variants>.close{text-align:left;white-space:normal;overflow-wrap:anywhere;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;min-width:0;padding:12px;display:flex}.durak-variants strong,.durak-variants small{white-space:normal;max-width:100%}.durak-modal .create-options>button{white-space:normal;overflow-wrap:anywhere}.durak-modal .stake-options{flex-wrap:wrap}.durak-hand{--hand-card-width:64px;--hand-card-height:88px;flex-direction:column;gap:0;min-height:0;padding:12px 2px 4px;display:flex;overflow:visible}.durak-hand-row{width:100%;height:var(--hand-card-height);isolation:isolate;flex:none;margin-inline:auto;display:grid;position:relative}.durak-hand-row+.durak-hand-row{margin-top:calc(34px - var(--hand-card-height))}.durak-hand-card{width:var(--hand-card-width);height:var(--hand-card-height);min-width:0;padding:2px;transition:transform .12s;position:relative;opacity:1!important}.durak-hand-card .playing-card{opacity:1;width:100%;height:100%}.durak-hand-card:disabled .playing-card{filter:brightness(.78)}.durak-hand-card.selected,.durak-hand-card:focus-visible{z-index:2;outline-offset:1px;transform:translateY(-10px)}.durak-hand-section>div:first-child{flex-wrap:wrap}.durak-hand-section{flex:none}@media (height<=620px){.durak-hand{--hand-card-width:56px;--hand-card-height:76px;padding-top:11px}.durak-hand-row+.durak-hand-row{margin-top:calc(34px - var(--hand-card-height))}}@media (width<=360px){.durak-variants{grid-template-columns:minmax(0,1fr)}.durak-variants>.close{padding:10px 12px}.durak-variants small{margin-top:3px}}
