/* Doabase warm palette. Game boards, dimensions, controls and piece colors stay intact. */
:root{color-scheme:dark;--doa-warm:#edbb91;--doa-bg:#101618;--doa-panel:#1a2325;--doa-ink:#f1e9df;--doa-muted:#b5b3ad;--doa-edge:#edbb912b}
body:not(.doa-arena-mode){background:radial-gradient(ellipse at 83% 8%,#45655b14,transparent 45%),#101618!important;color:var(--doa-ink)}.story h1,.intro h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.04em}.story h1,.intro h1 span{color:#edbb91}.story p,.intro p,.how span,.notes,.status,.hint{color:#b9bcb6}.kicker,.eyebrow,.story .notes{color:#d2af8c}.console,.game{border-color:#edbb912b!important;background:linear-gradient(140deg,#212c2c,#141c1f)!important;box-shadow:0 22px 65px #0003}.console-top,.game-head{border-color:#edbb9122!important}.console-top h2{font-weight:500;color:#e7d8c6}.metric,.stats>div,.record{background:#111c1d!important;border-color:#edbb9126!important}.metric strong,.stats strong{color:#eed2ae}.metric small,.stats small{color:#a5b5a9}.launch,.modal-top{background:linear-gradient(145deg,#243335f7,#131c20fa)!important;color:#f3e8db}.launch h3{font-family:Georgia,serif;color:#edbb91;font-weight:400}.launch p{color:#bdc4bc}.primary,.launch .primary{background:linear-gradient(135deg,#ecc498,#bc8e65)!important;border-color:#f0ceab!important;color:#211b17!important;box-shadow:0 6px 22px #edbb9115}.controls>button,.tools button,.console-top button,.bottom button{background:#21302e!important;border-color:#9cbaaa40!important;color:#e3c9aa!important}.controls>button:hover,.tools button:hover,.console-top button:hover{border-color:#edbb9180!important}.stage,.board-wrap{border-color:#b6c2b933!important;background:#121c1f!important}.cell:not(.block){background:#172426!important;border-color:#6a867d22!important}.slot{background:#1b2a2b!important;border-color:#9ebbac2b!important}.slot.selected{border-color:#edbb91!important}.play-switcher,.play-menu{background:#172123f5!important;border-color:#edbb9142!important}.play-menu a:hover,.play-menu a[aria-current]{background:#edbb9112!important}.play-switcher summary,.play-menu-label{color:#edbb91!important}.play-menu small{color:#acb6ab!important}.play-logo-link img,.play-panel-brand img{background:#101618!important;border-color:#edbb9136!important}.play-home{border-right-color:#edbb912b!important}.doa-sound-button{background:#182b28!important;color:#edbb91!important;border-color:#aac2ac44!important}.doa-mode-picker button{background:#172426!important;border-color:#acbda833!important;color:#c5ccc1!important}.doa-mode-picker button.active{background:#edbb9115!important;border-color:#edbb9177!important;color:#f1d4b1!important}.doa-mode-picker small{color:#a9b8ad}.doa-confirm-panel,.doa-confirm-card,.doa-help-dialog{background:#192426!important;border-color:#edbb9140!important}.pulse-aim-tools{background:#172426!important;border-color:#9dbaac33!important}.pulse-aim-tools summary{color:#edbb91!important}button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:#edbb91!important}.ambient{opacity:.2}.ambient.a{background:#a78058!important}.ambient.b{background:#53766d!important}
/* Hub skin is scoped so the 3D arena remains untouched. */
.doa-game-hub{background:radial-gradient(ellipse at 80% 12%,#59726620,transparent 50%),#101618!important;color:#f3e9dd}.doaHubHero h1{font-family:Georgia,serif!important;font-weight:400!important;color:#f3e9dd!important}.doaHubHero h1 em,.doaHubHero h1 span{color:#edbb91!important}.doaHubHero p{color:#b7bfb5!important}.doaGameCard{background:linear-gradient(140deg,#263130dd,#182124ee)!important;border-color:#edbb912c!important;box-shadow:0 12px 35px #0002!important}.doaGameCard:hover{border-color:#edbb9180!important;box-shadow:0 14px 35px #0004!important}.doaGameCard b{color:#efe4d7!important}.doaGameCard small{color:#aebbad!important}.doaGameIcon{background:#102124!important;border-color:#d4bc9640!important}.doaCardNew{background:#edbb9117!important;color:#edbb91!important;border-color:#edbb9140!important}.doaHubCredit{color:#a49989!important;opacity:.65}.doaHubBrand img{mix-blend-mode:screen}
@media(prefers-reduced-motion:reduce){.scoresDialog[open]{animation:none!important}}

.gameSiteNav{position:fixed!important;inset:0 0 auto;z-index:100001!important;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;width:100%;margin:0;padding:17px max(30px,calc((100vw - 1264px)/2));border-bottom:1px solid #edbb9122;background:#101618f5;backdrop-filter:blur(20px);font-family:"Segoe UI",sans-serif}.gameSiteNav .brand img{display:block;width:100px;height:64px;object-fit:contain}.gameSiteNav nav{display:flex;align-items:center;gap:6px}.gameSiteNav nav>a{padding:12px 17px;border:1px solid transparent;border-radius:99px;text-decoration:none;font-size:13px;color:#b9afa5}.gameSiteNav nav>a:hover{background:#edbb9109;border-color:#edbb9129}.gameSiteNav~.doa-game-hub{top:var(--game-nav-height,100px)!important;padding-top:28px!important}.doa-arena-mode .gameSiteNav,.doa-autostarting .gameSiteNav{display:none!important}.doa-arena-mode .doa-game-hub,.doa-autostarting .doa-game-hub{top:0!important}.doaHubTopline{background:#edbb910b!important;color:#edbb91!important;border-color:#edbb9133!important}.doaHubBrand{background:#101618!important;border-color:#edbb912b!important;box-shadow:0 20px 65px #0003!important}.doaHubPills{color:#a89985!important}@media(max-width:760px){.gameSiteNav{padding:10px 16px 13px;flex-direction:column;gap:8px}.gameSiteNav .brand img{width:98px;height:62px}.gameSiteNav nav>a{min-height:44px;display:flex;align-items:center;justify-content:center}.gameSiteNav~.doa-game-hub{top:var(--game-nav-height,137px)!important;padding:22px 18px!important}.doaHubShell .doaHubHero{gap:20px}}
/* Keep the portfolio brand in normal flow; the arena HUD has its own .brand. */
.gameSiteNav>.brand{position:static;display:block;flex:0 0 100px;font-size:0;line-height:0;text-shadow:none;pointer-events:auto}
@media(max-width:760px){.gameSiteNav>.brand{flex-basis:auto}}
