@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");:root{font-family:DM Sans,sans-serif;color:#efedf5;background:#111018;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 85% 5%,#30213e66,transparent 45%),#111018}button,input{font:inherit}a,button{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #c8abf8;outline-offset:4px}main{max-width:1220px;padding:0 40px 40px;margin:auto}.top{height:100px;justify-content:space-between;border-bottom:1px solid #ffffff10;margin-bottom:32px}.brand,.top{display:flex;align-items:center}.brand{font-family:Manrope,sans-serif;font-size:25px;letter-spacing:-1px;font-weight:800;text-decoration:none;gap:12px}.brandmark{border:1px solid #ba986455;color:#e7c58b;display:grid;place-items:center;height:37px;width:37px;border-radius:11px}.brandperiod{color:#e7c58b;margin-left:-12px}.rulesButton{display:flex;align-items:center;gap:10px;background:none;border:0;color:#bdb7ca;font-size:14px}.gameLayout{display:grid;grid-template-columns:minmax(0,640px) minmax(280px,1fr);gap:50px;align-items:start}.boardHeading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:16px}.eyebrow{font-size:12px;letter-spacing:2.5px;color:#bda780;font-weight:700;margin:0 0 12px}h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-1px}h1{font-size:32px;margin:0;font-weight:800;line-height:1.25;overflow-wrap:anywhere}.liveBadge{font-size:12px;font-weight:700;letter-spacing:1.5px;flex-shrink:0;color:#c2acd9;border:1px solid #b298d333;padding:8px 12px;border-radius:30px;background:#ac7de311}.playerStrip{display:flex;align-items:center;gap:12px;margin:0 4px 15px}.avatar{width:38px;height:38px;border-radius:50%;background:color-mix(in srgb,var(--stone),transparent 85%);color:var(--stone);border:1px solid color-mix(in srgb,var(--stone),transparent 65%);display:grid;place-items:center;font-size:16px;font-weight:700}.playerStrip b{font-size:15px;display:block;max-width:250px;overflow-wrap:anywhere}.playerStrip small{font-size:12px;color:#8d879a;display:block;margin-top:3px}.pieceCount{font-size:20px;font-weight:500;margin-left:auto;font-variant-numeric:tabular-nums}.pieceCount span{color:#8d879a;font-size:12px;margin-left:4px}.turnPill{font-size:12px;border-radius:6px;background:#dac19416;color:#e7c58b;padding:6px 8px;white-space:nowrap}.boardFrame{padding:13px;background:linear-gradient(135deg,#594832,#2b2630 50%,#554332);border:1px solid #d7b68640;border-radius:15px;box-shadow:0 22px 55px #0007,inset 0 1px 0 #ffe5ad12}.board{grid-template-columns:repeat(10,minmax(0,1fr));border-radius:5px;overflow:hidden;border:1px solid #0008}.board,.cell{display:grid;aspect-ratio:1}.cell{position:relative;place-items:center;width:100%;border:0;border-radius:0;padding:0;min-width:0}.cell.light{background:#b8ae9d}.cell.dark{background:#39343f}.cell.dark:nth-child(20n+1),.cell.dark:nth-child(20n+3),.cell.dark:nth-child(20n+5),.cell.dark:nth-child(20n+7),.cell.dark:nth-child(20n+9){background:#35313b}.squareNumber{position:absolute;left:4px;top:2px;color:#aaa0b366;font-size:9px;font-variant-numeric:tabular-nums;pointer-events:none}.stone{width:75%;height:75%;border-radius:50%;background:radial-gradient(circle at 33% 25%,color-mix(in srgb,var(--stone),white 25%),var(--stone) 58%,color-mix(in srgb,var(--stone),black 30%));border:1px solid color-mix(in srgb,var(--stone),white 15%);box-shadow:0 4px 1px color-mix(in srgb,var(--stone),black 50%),0 6px 7px #0009,inset 0 2px 2px #ffffff40;display:grid;place-items:center;position:relative;z-index:1;transition:transform .2s;color:color-mix(in srgb,var(--stone),black 70%)}.stoneRing{border-radius:50%;width:72%;height:72%;border:2px solid color-mix(in srgb,var(--stone),black 20%);box-shadow:0 1px 1px #ffffff40}.playerOne .stoneRing{border-style:double;border-width:4px}.king{box-shadow:0 4px 0 color-mix(in srgb,var(--stone),black 25%),0 8px 0 color-mix(in srgb,var(--stone),black 55%),0 10px 8px #0009}.cell.selected{background:#907a44!important;box-shadow:inset 0 0 0 2px #efd49d}.cell.selected .stone{transform:translateY(-2px)}.cell.last{box-shadow:inset 0 0 0 2px #d7bf7e77;background:#50444b}.moveDot{width:25%;height:25%;border-radius:50%;background:#edcf8c;box-shadow:0 0 16px #e9c98966}.cell.target{background:#766044!important}.self{margin:20px 4px 0}.hint{color:#aaa3b7;line-height:1.6;font-size:14px;margin:18px 4px 24px;min-height:23px}.panel{background:linear-gradient(145deg,#26212f,#1b1823);border:1px solid #ffffff0d;border-radius:22px;padding:30px}.panel h2{font-size:27px;line-height:1.3;margin:0 0 14px}.subtext{font-size:15px;line-height:1.7;color:#b4adbf;margin:0 0 28px}.panelIcon{width:54px;height:54px;border:1px solid #d9b98240;border-radius:17px;background:#d2ae7611;color:#e7c58b;display:grid;place-items:center;margin-bottom:28px}.panel label{display:block;font-size:14px;font-weight:500;margin:23px 0 11px}input{border:1px solid #ffffff16;background:#100f1780;padding:14px 16px;border-radius:10px;color:#eeebf3;width:100%;font-size:16px}input::placeholder{color:#777080}.swatches{display:flex;gap:10px;flex-wrap:wrap}.swatches button{width:37px;height:37px;border:3px solid transparent;border-radius:50%;background:var(--stone);display:grid;place-items:center;color:#17131d;outline-offset:3px}.swatches button.chosen{outline:2px solid var(--stone);border-color:#24202d}.swatches button:disabled{opacity:.16}.colorName{font-size:12px;color:#a39aac;margin-top:12px;margin-bottom:26px}.primary{border:0;color:#231b12;background:linear-gradient(110deg,#f1dba8,#cda56e);box-shadow:0 5px 20px #d4b47b11;width:100%;border-radius:11px;padding:15px 12px;display:flex;justify-content:center;align-items:center;gap:10px;text-decoration:none;font-weight:700;font-size:15px;transition:filter .2s}.primary:hover{filter:brightness(1.08)}.primary:disabled{opacity:.45}.secondary{border:1px solid #ffffff1a;border-radius:10px;background:#ffffff03;color:#dbd6e4;padding:13px 12px;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;font-size:14px;margin-top:12px}.secondary:disabled{opacity:.5}.panelFoot{display:flex;gap:18px;justify-content:center;margin-top:25px;color:#918899;font-size:12px}.panelFoot span+span:before{content:"·";margin-right:18px}.rulesTeaser{padding:30px 8px;display:flex;gap:15px;color:#c2a572}.rulesTeaser b{font-size:15px;color:#d8d2e2}.rulesTeaser p{font-size:14px;line-height:1.7;color:#958b9e;margin:8px 0 12px}.rulesTeaser button{background:none;border:0;padding:0;color:#ccb487;font-size:13px;text-decoration:underline;text-underline-offset:4px}.signature{font-size:10px;color:#625a6d;letter-spacing:2px;text-align:center;margin-top:14px}.signature span{margin:0 8px;color:#ad8c61}.chat{background:#1b1823;border:1px solid #ffffff0c;border-radius:17px;overflow:hidden}.chatHeader{display:flex;justify-content:space-between;align-items:center;padding:20px 23px;border-bottom:1px solid #ffffff08}.chatHeader h2{font-size:16px;margin:0;letter-spacing:0}.chatMark{color:#ceb079;margin-left:10px}.chatHeader>span{font-size:12px;color:#93869f}.messages{min-height:100px;max-height:260px;overflow:auto;padding:15px 22px}.emptyChat{font-size:14px;color:#7d738b;text-align:center;padding:18px 0}.message{margin-bottom:13px;max-width:87%;background:#ffffff06;border:1px solid #ffffff08;border-radius:12px 12px 12px 2px;padding:10px 13px;width:fit-content}.message.mine{margin-left:auto;background:#be96ee10;border-color:#be96ee15;border-radius:12px 12px 2px 12px}.message>div{display:flex;gap:15px;align-items:center}.message b{color:#d6ba88;font-size:12px}.message time{font-size:10px;color:#867c93;margin-left:auto}.message p{font-size:14px;line-height:1.5;margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.chat form{display:flex;gap:12px;padding:15px 18px;border-top:1px solid #ffffff08}.chat form input{font-size:14px;border:0;background:#121019}.send{display:grid;place-items:center;background:#d9bd8f;color:#211a14;border:0;border-radius:10px;width:47px;flex-shrink:0}.send:disabled{opacity:.35}.resign{display:flex;align-items:center;justify-content:center;gap:8px;border:0;background:none;color:#b59094;font-size:14px;margin:22px auto 0}.matchInfo{display:flex;justify-content:space-between;border-top:1px solid #ffffff0c;margin-top:30px;padding-top:22px;font-size:13px}.matchInfo span{display:block;color:#8c8298;font-size:12px;margin-bottom:8px}.connected{color:#baa8d0;font-weight:500}.offline{color:#e2b78d}.error{padding:17px;border-radius:12px;border:1px solid #e1888240;color:#efb3ad;background:#b9564510;margin-top:18px;font-size:14px;line-height:1.6}.offer{margin-top:20px;color:#e1c492}.offer h3{font-size:23px;color:#fff;margin:14px 0 8px}.offer p{font-size:14px;color:#b5aabf;line-height:1.6}.overlay{position:fixed;inset:0;background:#05030cbb;backdrop-filter:blur(10px);z-index:5;display:flex;align-items:center;justify-content:center;padding:24px}.modal{position:relative;max-width:530px;width:100%;background:#24202d;border:1px solid #b59a6c44;border-radius:24px;padding:35px;box-shadow:0 30px 80px #0008;max-height:90dvh;overflow:auto}.modal>svg{color:#d6b47d}.modal h2{font-size:28px;margin:18px 0 12px}.modal p{font-size:16px;line-height:1.6;color:#bdb3c9}.modalActions{display:flex;gap:14px;margin-top:26px}.modalActions .secondary{margin:0}.close{position:absolute;right:18px;top:18px;display:grid;place-items:center;color:#bfb4ce;background:none;border:0;padding:5px}.rules li{font-size:14px;color:#c4bbce;line-height:1.7;margin:12px 0}.rules ul{padding-left:20px}.rules a{color:#dcc290;font-size:14px;display:inline-block;margin:5px 0 25px}.notice{font-size:14px;color:#cabada;line-height:1.6}@media(min-width:1000px){aside{padding-top:9px}}@media(max-width:900px){main{padding:0 24px 30px}.gameLayout{gap:26px;grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr)}.panel{padding:23px}.boardFrame{padding:9px}.swatches{gap:8px}.swatches button{width:33px;height:33px}.pieceCount span{display:none}.top{height:82px}.boardHeading h1{font-size:26px}}@media(max-width:700px){main{padding:0 16px 30px}.top{height:76px;margin-bottom:22px}.brand{font-size:22px}.brandmark{height:33px;width:33px}.gameLayout{display:flex;flex-direction:column;gap:24px}.playArea,aside{width:100%}.gameLayout:has(.setup) aside{order:-1}.setup{padding:24px}.setup .panelIcon{float:right;margin:0 0 0 12px;width:43px;height:43px}.setup h2{font-size:24px}.setup .subtext{margin-bottom:12px}.setup .eyebrow{margin-top:5px}.setup label{margin-top:16px}.swatches{gap:13px}.swatches button{width:35px;height:35px}.colorName{margin-bottom:18px}.panelFoot{margin-top:17px}.gameLayout:has(.setup) .rulesTeaser,.gameLayout:has(.setup) .signature{display:none}.boardHeading{margin-bottom:20px}.boardHeading h1{font-size:27px}.boardFrame{border-radius:12px;padding:8px}.squareNumber{font-size:8px;top:1px;left:2px}.stoneRing{border-width:1px}.playerOne .stoneRing{border-width:3px}.stone svg{width:55%;height:55%}.playerStrip b{font-size:14px;max-width:180px}.playerStrip small{font-size:12px}.pieceCount{font-size:18px}.pieceCount span{display:inline;font-size:11px}.avatar{width:34px;height:34px}.turnPill{font-size:11px}.hint{font-size:13px;margin-top:16px}.chatHeader{padding:18px}.messages{padding:14px 16px}.signature{margin-bottom:8px}.modal{padding:25px}.modalActions{flex-direction:column-reverse}.eyebrow{font-size:11px}.playerStrip{gap:9px}.rulesButton{font-size:13px}.rulesTeaser{padding-bottom:12px}.panel h2{font-size:25px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.topNav{gap:22px}.navButton,.topNav{display:flex;align-items:center}.navButton{gap:7px;background:none;border:0;color:#c6bbd0;font-size:14px;padding:7px 0}.navButton[aria-pressed=true]{color:#d8bf94}.scoreboard{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 19px;margin:-2px 0 20px;border:1px solid #dbc29422;background:linear-gradient(100deg,#d9bd8c0d,#b690e809);border-radius:13px}.scoreboard .eyebrow{font-size:10px;letter-spacing:1.6px;display:block;margin-bottom:6px;white-space:nowrap}.scoreboard small{font-size:12px;color:#9f93af}.scoreMatch{display:flex;align-items:center;gap:13px;text-align:center;min-width:0}.scoreMatch span{font-size:13px;color:#c7bdcf;max-width:115px;overflow-wrap:anywhere}.scoreMatch strong{font-family:Manrope,sans-serif;font-size:28px;color:#efd49e;white-space:nowrap;letter-spacing:1px}.tableToolbar{position:sticky;top:0;z-index:3;margin-bottom:19px;border:1px solid #d9bd7d55;border-radius:13px;background:#211c2bf5;backdrop-filter:blur(16px);box-shadow:0 8px 26px #0004;padding:13px 15px;display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between}.yourTurn{background:linear-gradient(110deg,#54412ef5,#2a2436f5);border-color:#ebc884}.turnBanner{display:flex;align-items:center;gap:10px;flex:1;min-width:180px}.turnIcon{display:grid;place-items:center;background:#dac08d14;border-radius:9px;width:37px;height:37px;color:#e9c58c;flex-shrink:0}.yourTurn .turnIcon{background:#e7c58b;color:#34241d;box-shadow:0 0 20px #e7c58b2a}.turnBanner strong{display:block;font-size:13px;color:#e6c48e;letter-spacing:.6px;line-height:1.5;overflow-wrap:anywhere}.theirTurn .turnBanner strong{color:#c5bad9}.turnBanner span:not(.turnIcon){display:block;color:#aaa0b8;font-size:12px;margin-top:2px}.quickActions{display:flex;gap:7px}.quickActions button{display:flex;gap:6px;align-items:center;background:#ffffff09;color:#f0e9f4;border:1px solid #ffffff20;border-radius:8px;padding:9px 11px;font-size:13px;white-space:nowrap}.quickActions button:last-child{border-color:#dca5a333;color:#ecc2ba}.quickActions button:disabled{opacity:.5}.inlineOffer{flex-basis:100%;border-top:1px solid #e5c99c22;padding-top:11px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}.inlineOffer span{flex:1;min-width:140px;color:#efcf93}.inlineOffer button{background:#dec093;color:#2c2017;border:0;border-radius:7px;padding:8px 10px;font-size:12px}.inlineOffer button:last-child{background:#ffffff09;color:#c9bfd4;border:1px solid #ffffff1a}.scoreNote{font-size:12px;color:#887c96;line-height:1.6;padding:4px 9px 12px}.gamesModal{max-width:670px}.lobbyTop{display:flex;align-items:center;gap:15px;margin:23px 0 15px}.listTabs{display:flex;gap:6px;flex:1;background:#120f1966;padding:5px;border-radius:10px}.listTabs button{border:0;background:none;color:#a79ab7;border-radius:7px;padding:10px 13px;font-size:14px;flex:1}.listTabs button.active{background:#d9bd8f;color:#302419;font-weight:600}.refreshList{display:grid;place-items:center;flex-shrink:0;background:none;border:1px solid #ffffff1b;border-radius:10px;color:#cfc0df;padding:12px}.adminLine{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:12px;color:#a296b0;margin-bottom:20px;line-height:1.6}.adminLine a{margin:0;font-size:12px;color:#e2c494;text-underline-offset:3px}.roomList{display:grid;gap:13px}.roomCard{border:1px solid #ffffff0c;background:#100e1738;border-radius:13px;padding:18px}.roomMeta{display:flex;justify-content:space-between;gap:10px;align-items:center}.roomStatus{font-size:11px;color:#c7b3da;background:#967db519;padding:5px 9px;border-radius:6px}.roomStatus.playing{background:#d5b78915;color:#d7ba88}.roomStatus.finished{background:#ffffff09;color:#a99ab8}.roomMeta time{color:#867a94;font-size:11px}.roomCard h3{font-size:19px;letter-spacing:-.3px;margin:15px 0 6px;overflow-wrap:anywhere}.roomCard h3 span{font-family:DM Sans,sans-serif;font-size:12px;margin:0 12px;color:#80708e;font-weight:400}.roomCard p{font-size:13px;margin:0;color:#a193ae}.roomButtons{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px}.roomButtons a{font-size:13px;color:#ecd19e;text-decoration:none;border:1px solid #e1c39436;border-radius:8px;padding:8px 13px}.roomButtons button{display:flex;align-items:center;gap:6px;font-size:12px;color:#bf9a9e;border:0;background:none;padding:8px 0}.newGameLink{margin-top:20px}.deleteOverlay{z-index:7}.gamesModal h2{margin-top:0}.gamesModal .emptyChat{line-height:1.7}@media(max-width:900px){.topNav{gap:15px}.soundButton span{display:none}.scoreboard{flex-direction:column;align-items:stretch;gap:10px}.scoreboard>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px}.scoreboard .eyebrow{margin:0}.scoreMatch{justify-content:center}.quickActions{margin-left:47px}}@media(max-width:700px){.topNav{gap:14px}.navButton span{display:none}.top .rulesButton{font-size:12px;gap:3px}.brand{font-size:20px}.brandmark{height:31px;width:31px}.tableToolbar{padding:12px;gap:10px;top:4px;margin-bottom:16px}.quickActions{margin-left:0}.turnBanner{min-width:165px}.turnBanner strong{font-size:12px}.turnBanner span:not(.turnIcon){font-size:11px}.quickActions button{padding:9px;font-size:12px;gap:5px}.turnIcon{width:32px;height:32px}.scoreboard{padding:13px 16px;gap:7px}.scoreMatch{gap:16px}.scoreMatch strong{font-size:27px}.scoreMatch span{max-width:120px}.roomCard{padding:15px}.roomMeta time{font-size:10px}.gamesModal{padding:23px}.roomCard h3{font-size:17px}.roomStatus{font-size:10px}.adminLine{font-size:12px}.quickActions{margin-left:42px}.navButton{padding:10px 0}}@media(max-width:380px){.topNav{gap:11px}.brand{font-size:18px;gap:8px}.brandperiod{margin-left:-8px}.quickActions{margin-left:0}.scoreMatch span{font-size:12px}.boardHeading h1{font-size:24px}}.miniLobby{margin-top:20px;padding:22px}.miniLobbyHeading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:17px}.miniLobbyHeading h2{font-size:19px;margin:0;letter-spacing:-.4px}.miniLobbyHeading button{font-size:12px;background:none;border:0;padding:4px 0;color:#dec596;text-decoration:underline;text-underline-offset:3px}.miniRoom{border-top:1px solid #ffffff0a;padding:13px 0;display:flex;gap:10px;align-items:center;justify-content:space-between}.miniRoom a{text-decoration:none;min-width:0}.miniRoom b{font-size:14px;display:block;overflow-wrap:anywhere}.miniRoom b span{color:#867997;font-size:11px;margin:0 4px;font-weight:400}.miniRoom small{font-size:12px;display:block;color:#9a8da9;margin-top:5px}.miniRoom button{border:0;background:none;color:#c09b9b;padding:8px}.miniLobby>p{color:#aa9ab8;font-size:13px;line-height:1.6;margin:10px 0 0}.miniLobby .secondary{font-size:13px;margin-top:10px}@media(max-width:700px){.gamesNav span{display:inline;font-size:12px}.top{height:auto;min-height:76px;flex-wrap:wrap;gap:12px;padding:15px 0}.topNav{margin-left:auto}.miniLobby{padding:22px}.turnBanner strong{letter-spacing:.3px}.quickActions button{min-height:40px}}@media(max-width:380px){.topNav{gap:15px}.top{row-gap:8px}.brand{font-size:19px}}.adminLogin{max-width:440px;margin:35px auto}.adminLogin h1{margin-bottom:18px}.adminSubmit{margin-top:24px}.logoutAdmin{border:1px solid #ffffff25;color:#cbbbda;background:none;border-radius:7px;padding:6px 10px;font-size:12px}.roomButtons .deleteRoomButton{border:1px solid #db9c9766;background:#cf706f12;border-radius:8px;padding:9px 12px;color:#f1b9b1;font-size:13px}.miniRoom>button{display:flex;gap:5px;align-items:center;font-size:11px;border:1px solid #db9c9740;border-radius:7px;padding:8px;color:#f1b9b1;background:#cf706f0a;flex-shrink:0}.khelari-brand{font-size:19px;letter-spacing:2px}.khelari-brand .brandmark{font-size:13px;letter-spacing:-2px}.khelari-brand small{display:block;font-size:10px;letter-spacing:2px;color:#c3a773}.khelari-entry{max-width:520px;margin:36px auto;padding:28px}.khelari-entry h2{margin:0 0 12px}.khelari-entry p{line-height:1.5}.khelari-entry label{display:grid;gap:8px;margin:20px 0}.entry-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}.entry-code,.recovery-code{display:grid;gap:4px;padding:12px;border:1px solid #d1b27e55;border-radius:10px;color:#e7c58b;overflow-wrap:anywhere}.entry-code strong,.recovery-code strong{font-size:19px;letter-spacing:2px}.recovery-code small{font-size:12px;color:#bdb7ca;letter-spacing:0}.gameLayout.entryOnly{display:block}.gameLayout.entryOnly .playArea{display:none}.gameLayout.entryOnly>.khelari-entry{margin:40px auto}.gameLayout.entryOnly .rulesTeaser{display:none}.resume-entry{margin:20px 0;padding:14px;border:1px solid #d1b27e55;border-radius:10px}.resume-entry summary{cursor:pointer;color:#e7c58b}.resume-entry form{display:grid;gap:12px;margin-top:14px}.brandmark{font-size:15px!important;line-height:1;display:flex!important;flex-direction:column;align-items:center;justify-content:center}.brandmark small{font-size:11px;color:#be3d54;line-height:1;margin:0}.chatDrawer{position:fixed;z-index:50;right:max(12px,env(safe-area-inset-right));top:50%;transform:translateY(-50%);width:auto;max-width:min(355px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:7px;background:#211b2c;box-shadow:0 22px 55px #000a}.chatDrawer.open{width:min(355px,calc(100vw - 24px));padding:16px}.chatToggle{border:0;background:#e6bb79;color:#291b2b;border-radius:9px;padding:11px 14px;font-weight:800;cursor:pointer}.chatDrawer .chatHeader{margin-top:15px}.playerStrip{position:relative}.playerBubble{display:block;position:absolute;z-index:10;bottom:calc(100% + 4px);left:20px;max-width:220px;background:#fff0d0;color:#2b2031;padding:9px 12px;border-radius:12px 12px 12px 3px;box-shadow:0 8px 25px #0008;font-size:12px;overflow-wrap:anywhere;animation:chatPop .25s ease-out}.lastMoveNotice{background:#e4bd7930;border:1px solid #e4bd7980;color:#f5dfb6;border-radius:9px;padding:9px 13px;font-size:13px}.cell.last{animation:lastSquare 2s ease-in-out 3}@keyframes chatPop{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes lastSquare{50%{box-shadow:inset 0 0 20px #f4d381,0 0 18px #edc074}}@media(max-width:600px){.chatDrawer{top:auto;bottom:max(12px,env(safe-area-inset-bottom));transform:none}.chatDrawer.open{max-height:70dvh}}@media(prefers-reduced-motion:reduce){.cell.last,.playerBubble{animation:none}}.voiceControl{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}.voiceControl button,.voicePlayback button{border:1px solid #edc78288;background:#ebc37d26;color:#f9deb0;border-radius:9px;padding:8px 11px;font-size:12px;font-weight:800}.voiceControl span{color:#f9aeae;font-size:11px}.voiceControl small,.voicePlayback small{color:#ffb3b3;font-size:11px}.voicePlayback{display:block;margin-top:7px}.voicePlayback button:disabled{opacity:.65}.recoveryApproval{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:2px solid #ecc47b;color:#fff2d5;padding:14px;border-radius:12px}.recoveryApproval button{background:#e6be7e;color:#251c29;border:0;border-radius:8px;padding:9px 13px;font-weight:800}.recoveryApproval button:last-child{background:#543c48;color:#fff}.opponentPicker{border:0;padding:0;margin:22px 0;min-width:0}.opponentPicker legend{font-size:14px;font-weight:700;margin-bottom:12px}.computerLevels,.opponentChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.computerLevels{grid-template-columns:repeat(3,minmax(0,1fr))}.opponentPicker button{border:1px solid #ffffff25;border-radius:10px;background:#ffffff06;color:#e6deef;min-height:46px;padding:10px 6px;font-size:13px;font-weight:700;cursor:pointer}.opponentPicker button[aria-pressed=true]{background:#f0cf8b1f;border-color:#e7c58b;color:#f5d89e;box-shadow:inset 0 0 0 1px #e7c58b}.levelCaption{font-size:12px;color:#c9bfd3;margin:18px 0 8px}.computerHint{font-size:12px!important;line-height:1.5;color:#c3b6d0!important;margin:10px 0 0!important}.entry.card,.khelari-entry,.khelari-start,.room-start,.tc .tc-entry{width:100%;max-width:520px;margin:36px auto;padding:28px;border:1px solid #ffffff16;border-radius:20px;background:linear-gradient(145deg,#252131,#1d1b26);box-shadow:0 20px 60px #05050c32}.entry .actions,.entry-actions,.room-start .room-choices,.tc-entry-actions{display:grid!important;grid-template-columns:minmax(0,1fr);gap:20px!important;margin-top:22px}.entry .actions>a,.entry .actions>button,.entry-actions>a,.entry-actions>button,.room-start .room-choices>button,.tc-entry-actions>button{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:56px;padding:16px 18px;border-radius:12px;font-family:inherit;font-size:16px;font-weight:600;line-height:1.4;text-align:center;text-decoration:none;white-space:normal;margin:0;box-sizing:border-box}.entry .actions>a.secondary,.entry-actions>a.secondary{border:1px solid #ffffff26;background:#ffffff04;color:#efedf5}.entry h2,.khelari-start h1{font-size:28px;font-weight:700;letter-spacing:-.03em}.entry p,.khelari-start p{font-size:16px;line-height:1.6}.tc .tc-entry{margin:36px auto}.tc-entry h1{font-size:clamp(32px,6vw,44px);margin:12px 0 20px}.tc .tc-entry .tc-start-deck{gap:8px;margin:24px 0 30px}.tc-entry-actions>button:not(.tc-gold){font-weight:500;border-color:#ffffff26}.tc-entry-actions>button.tc-gold{font-weight:700}.tc .tc-entry label,.tc .tc-entry legend{font-size:14px}.appEntry .hero{display:none}.appEntry .entry{margin-bottom:36px}.appEntry .main{margin:0 auto}.appEntry .allGames{font-size:14px}.room-start .room-choices{margin-bottom:20px}@media(max-width:600px){.entry.card,.khelari-entry,.khelari-start,.room-start,.tc .tc-entry{padding:24px;max-width:520px}.entry .actions,.entry-actions,.tc-entry-actions{gap:20px!important}}.nameEdit{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer;padding:4px;max-width:100%;overflow-wrap:anywhere}.nameEdit:disabled{cursor:default;opacity:1}.nameEdit:not(:disabled){text-decoration:underline;text-underline-offset:4px}.barActions,.entry-actions,.entryActions,.tc-entry-actions{min-width:0;flex-wrap:wrap}.barActions>button{white-space:normal;max-width:100%}fieldset,input{min-inline-size:0;max-width:100%;box-sizing:border-box}