:root{--ink:#fff0d4;--muted:#cbb5df;--jade:#ffce36;--paper:#351354;--line:#6c4487;--coral:#f34c44;--saffron:#ffce36;--teal:#41c45d;--indigo:#32a9ed;--display:Mukta,'Nirmala UI',sans-serif;--shadow:0 6px 0 #1c092e;color-scheme:dark}
body{background:#321057;color:var(--ink)}
#scenery{background:radial-gradient(ellipse at 50% 12%,#622790 0,transparent 65%);background-color:#321057}
#scenery:after{content:'';position:absolute;inset:0;opacity:.06;background-image:url('/assets/favicon.svg');background-size:180px;background-position:25px 85px}
header{background:#2b0c49;border-bottom:2px solid #7942a2;box-shadow:0 5px 0 #210b38}
.brand-emblem{color:#482066;background:#ffcf40;border:2px solid #ffe890;box-shadow:0 4px 0 #9d611b;transform:rotate(-5deg)}
.brand-name{font-family:var(--body);font-weight:900;color:#ffcf40;letter-spacing:-.7px;text-shadow:0 2px #8f4615}
.brand-hindi{color:#d7bfe5}.nav-button{color:#d7bfe5}.nav-button.active{color:#ffd64e;border-color:#ffd64e}.header-tools{border-color:#694181}.language-switch{background:#1e0837;border:1px solid #775096}.language-switch button{color:#cdb5df}.language-switch .selected{background:#ffce36;color:#45204f;box-shadow:0 2px #b98419}.icon-button{color:#e8d7f5}.icon-button:hover{background:#67418b}
.game-layout{max-width:1580px;grid-template-columns:210px minmax(0,1fr) 240px;gap:24px;padding:27px 26px 24px}.lounge{padding-top:18px}.intro-label{color:#ffd36b;font-size:14px}.intro-label svg{color:#ffcb37}h1{font-family:var(--body);font-size:36px;font-weight:900;letter-spacing:-.7px;line-height:1.12;margin:17px 0 16px;color:#fff2d7}.intro-copy{font-size:16px;color:#cdb4e2}.mode-list{margin-top:24px}.mode-option{background:#4d2174;border:1px solid #8a58ad;border-bottom:4px solid #260c43;border-radius:12px;color:#fff5de;box-shadow:none;min-height:76px}.mode-option:hover{background:#62308b}.mode-option.selected{background:#7135a5;border-color:#ffcf41;box-shadow:inset 3px 0 #ffcf41,0 4px 0 #220a3b}.mode-option>svg{color:#ffce36}.mode-option strong{font-size:18px}.mode-option small{color:#dbbff0}.lounge-footer{color:#d7bddf}.tiny-flower{background:#ffce36;box-shadow:none}.lounge-note{border-color:#694185;color:#c5abd5}.lounge-note svg{color:#ffcf41}
#board-heading{margin:3px 8px 14px}#board-heading h2{color:#ffe494;font-family:var(--body);font-size:24px;font-weight:800;letter-spacing:0}#board-heading p{color:#cab0de}.board-label{display:flex;align-items:center;gap:6px;background:#4e2473;color:#ffe08a;border:1px solid #9971b0;border-bottom:3px solid #210b38;border-radius:8px;min-height:42px;padding:5px 10px}
.board-stage{width:100%;margin:0;perspective:none}.board{transform:none;filter:none;aspect-ratio:1/1;position:relative;max-height:710px}.board canvas{display:block;width:100%;height:100%;border-radius:12px;outline:none}.board-svg{position:absolute;inset:0;height:100%}
.player-row{padding:0 7%;margin:0;gap:18%}.player-badge{color:#f9edff;background:#3d185d;border:1px solid #81569b;border-bottom:3px solid #210a37;border-radius:11px;padding:9px 10px;box-shadow:none;min-width:0}.player-badge.current{border-color:#ffcc35;background:#5b2682;box-shadow:0 0 0 2px #ffcc3526}.player-avatar{background:var(--player);color:#2c1634;border:2px solid #fff1cf;box-shadow:0 3px #200c32}.player-info strong{color:#fff0dc}.player-info small{color:#cdb4dc}.player-home-dots i{background:#66427d}.player-home-dots i.filled{background:#ffce36}.player-badge.empty{background:#32134f;color:#b995cf}.player-badge.empty .player-avatar{background:#593472;border-color:#88649c;color:#cdb4de}
.right-rail{padding-top:10px}.room-panel{background:#401860;border:1px solid #85549f;border-bottom:4px solid #200b36;border-radius:12px;box-shadow:none}.room-panel-title{color:#ffe095}.room-status{color:#d5bde5}.room-code strong{color:#ffdc66}.room-panel-actions{gap:8px}.secondary{background:#65338a;color:#fff1de;border:1px solid #9667b1;border-bottom:3px solid #280d43;box-shadow:none}.secondary:hover{background:#78439d}.text-button{color:#ffd66e}.primary{color:#52203a;background:#ffcd35 url('/assets/ui/button-gold.svg') center/100% 100% no-repeat;border:0;box-shadow:0 4px 0 #7e431d;border-radius:10px;font-weight:800;text-shadow:0 1px #ffe998}.primary:hover{background-color:#ffdd50;filter:brightness(1.05)}
.game-controls{background:#471c67;border:1px solid #9b69af;border-bottom:4px solid #210a39;box-shadow:none;border-radius:13px}.turn-copy h3{color:#ffe08b;font-family:var(--body);font-weight:800}.turn-copy p{color:#d9c2e6}.roll-button{background:#ffce36 url('/assets/ui/button-gold.svg') center/100% 100% no-repeat;color:#4d2048;border:0;box-shadow:0 4px 0 #8b4b1d;border-radius:10px;min-height:74px}.roll-button:disabled{background:#8963a2;color:#ead4f3;box-shadow:0 3px 0 #29113e;opacity:.78}.roll-button:not(:disabled):hover{background-color:#ffde6b;box-shadow:0 5px 0 #8b4b1d}.dice{color:#402342;background:#fff5de;border-color:#e6c8a1;box-shadow:0 3px 0 #ad865e}.dice i{background:transparent}.dice i.dot{background:#4c254c}.roll-label{font-weight:800}.pawn-option{background:#35134f;border-color:#794893;color:#f2dbff}.pawn-option.legal{background:#693292;border-color:#ffcf41;box-shadow:none}.pawn-option small{color:#cdb5df}.turn-clock{color:#ffdc66;border-color:#8c55a7}.finish-ribbon{color:#ffe087}
#table-talk{padding-top:23px}#table-talk h3{color:#ffe092;font-family:var(--body);font-weight:800}#table-talk>p{color:#bfa4d3}.emote{background:#512776;border-color:#9267aa;color:#f3e1ff}.emote:hover{background:#704297}.events{border-color:#72478e}.event{color:#d3bcdf}.event-mark{background:var(--mark,#ffce36)}.ad-slot{background:#241039;border:1px solid #775293;border-radius:10px;box-shadow:none}.ad-label{color:#c3aacf}.house-ad{background:#3d2356;color:#f3e1cf;border-color:#77578b}.house-ad strong{color:#fff0d7}.house-ad small{color:#cbb7d3}.house-ad svg{color:#ffcd6a}.rail-foot{color:#bda1d0}
dialog{background:#37144f;color:#fff0da;border:2px solid #a476bd;box-shadow:0 14px 0 #1b092b}.dialog-icon{background:#68338c;color:#ffd665}.dialog-body h2{font-family:var(--body);color:#ffe094;font-weight:800}.dialog-body p,.rule-list li{color:#dec8e8}.dialog-tabs{background:#210b35}.dialog-tabs button{color:#c6add9}.dialog-tabs button.selected{background:#7a3ba4;color:#ffe5a1}.field input,.field select{color:#fff2db;background:#220b38;border-color:#9b71b4}.field input::placeholder{color:#ad8ec0}.field-label{color:#ead5f1}.field-hint{color:#c1a4d1}.form-error{color:#ffb6a7}.story-grid>div{background:#4b2269;border-color:#87529b}.story-grid h3{color:#ffdc7b}.rule-card{background:#4c2469}.toast{background:#ffdc73;color:#4a214c;border-color:#ffeeba}.skip-link{background:#ffcf41;color:#38144f}
@media(min-width:1600px){.game-layout{max-width:1580px;grid-template-columns:230px minmax(0,1fr) 260px}}
@media(min-width:768px) and (max-width:1199px){.game-layout{grid-template-columns:190px minmax(0,1fr);max-width:1100px;gap:20px;padding:24px 22px}.right-rail{grid-template-columns:190px 1fr 190px}.board-stage{width:100%}.board{aspect-ratio:1/1.1}.player-row{gap:7%;padding:0 2%}h1{font-size:30px}}
@media(max-width:767px){header{height:74px;padding:0 14px}.brand-name{font-size:24px}.brand-hindi{font-size:11px}.game-layout{display:flex;padding:0 12px 20px;gap:0}.lounge{padding:0}.mode-list{margin:16px 0 18px;gap:7px}.mode-option{min-height:58px;padding:8px 5px;border-bottom-width:3px}.mode-option strong{font-size:14px}.mode-option small{display:none}.mode-option>svg{width:18px;height:18px}#board-heading{margin:0 2px 13px}#board-heading h2{font-size:22px}#board-heading p{font-size:12px}.board-label{font-size:12px;padding:5px 8px;min-height:38px}.board-stage{width:100%;margin:0}.board{aspect-ratio:1/1.04;max-height:none}.player-row{padding:0 5px;gap:13%}.player-badge{padding:7px 8px;min-height:52px}.player-avatar{width:30px;height:30px;font-size:15px}.player-info strong{font-size:14px}.player-info small{font-size:11px}.player-home-dots{display:none}.game-controls{margin-top:17px;padding:13px}.turn-copy h3{font-size:20px}.turn-copy p{font-size:14px}.roll-button{min-width:126px;min-height:70px}.right-rail{padding-top:14px}.room-panel{border-radius:11px}.lounge h1,.intro-label,.intro-copy,.lounge-footer,.lounge-note{display:none}.house-ad{min-height:75px}#table-talk{padding-top:17px}.pawn-option{padding:7px}.pawn-option span{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.mode-option:hover{transform:none}}

#room-panel{background:#401860;border:1px solid #85549f;border-bottom:4px solid #200b36;border-radius:12px;box-shadow:none}.room-code{background:#260c3e;border-color:#b78bc8}#scenery:after{display:none}.board{max-height:none}

.turn-clock,.room-code{font-variant-numeric:tabular-nums}h1,h2,h3{text-wrap:balance}dialog{overscroll-behavior:contain}.game-layout{padding-bottom:max(24px,env(safe-area-inset-bottom))}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-color:#ffe090}

.brand-logo{display:block;width:174px;height:auto;flex-shrink:0}
@media(max-width:767px){.brand-logo{width:122px}}
@media(max-width:374px){.brand-logo{width:112px}}
