/* Persistent shell navigation: desktop top bar, mobile four-tab bottom bar. */
body.neo-horizontal-shell{--neo-sidebar:0px!important;--neo-header:76px;max-width:100%;overflow-x:clip}
body.neo-horizontal-shell [hidden]{display:none!important}
body.neo-horizontal-shell :is(.mobile-games-nav,.mobile-blog-link,[data-site-blog-entry]){display:none!important}
body.neo-horizontal-shell :is(#desktop-header,#web-header) :is(.language-switch,.neo-language,[data-language-switch]){display:none!important}
.neo-mobile-brand,.neo-mobile-nav{display:none}
.neo-test-exit-icon{display:none}
.neo-context-nav:has(.neo-header-back[hidden]){display:none}
.neo-context-nav{padding:0 max(24px,calc((100vw - 1440px)/2));background:var(--neo-paper,#fbf7ee);border-top:1px solid #272d2312}
.neo-header-back{display:inline-flex;align-items:center;min-height:42px;padding:7px 0;border:0;background:transparent;color:#314d3d;font-family:inherit;font-weight:600;font-size:13px;line-height:1.5;cursor:pointer}
.neo-account-label{white-space:nowrap}
@media(min-width:1024px){
 body.neo-horizontal-shell{padding:0!important}
 body.neo-horizontal-shell #desktop-header{display:block;position:sticky;inset:0 0 auto;z-index:90;width:100%;height:auto;min-height:76px;background:#fcfaf3f5;border-bottom:1px solid #29362920;backdrop-filter:blur(16px);box-shadow:none}
 body.neo-horizontal-shell #desktop-header::before{display:none}
 body.neo-horizontal-shell #desktop-header .desk-header-inner{position:static;display:flex;align-items:center;flex-wrap:nowrap;width:100%;max-width:1488px;height:76px;min-height:76px;max-height:76px;min-width:0;padding:0 24px;gap:24px;margin:auto}
 body.neo-horizontal-shell #desktop-header .desk-brand{position:static;inset:auto;order:0;display:flex;align-items:center;width:auto;flex:0 0 auto;gap:9px;margin:0;text-decoration:none}
 body.neo-horizontal-shell #desktop-header .desk-brand img{display:block;width:44px;height:40px;flex:0 0 44px;object-fit:contain}
 body.neo-horizontal-shell #desktop-header .desk-brand strong{font-size:22px;line-height:1.2;letter-spacing:-.7px;font-weight:750}
 body.neo-horizontal-shell #desktop-header .desk-brand small{display:none}
 body.neo-horizontal-shell #desktop-header .desk-nav{position:static;inset:auto;order:1;display:flex;align-items:center;justify-content:flex-start;flex-direction:row;align-self:stretch;gap:4px;width:auto;min-width:0;overflow:visible;flex:1 1 auto;margin:0;padding:0}
 body.neo-horizontal-shell #desktop-header .desk-nav-item{position:static;inset:auto;order:initial!important;display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;min-width:0;min-height:40px;padding:8px 11px;margin:0;border:0!important;border-radius:9px;color:#616a60;font-family:inherit;font-weight:500;font-size:14px;line-height:1.5;white-space:nowrap;box-shadow:none!important;text-decoration:none;flex:0 0 auto}
 body.neo-horizontal-shell #desktop-header .desk-nav-item:hover{background:#f0efe4;color:#22392c}
 body.neo-horizontal-shell #desktop-header .desk-nav-item[data-current]{background:#e0f2df!important;color:#204d36;font-weight:650}
 body.neo-horizontal-shell #desktop-header .desk-nav-item .desk-icon{width:18px;height:18px;flex:0 0 18px}
 body.neo-horizontal-shell #desktop-header .desk-nav-item[data-site-feature="game"]{margin-left:12px;padding-left:11px;border-left:0!important;border-radius:9px;color:#6c715f;font-size:13px}
 body.neo-horizontal-shell #desktop-header .desk-nav-item[data-site-feature="game"] .dream-coin-logo{width:18px;height:18px;flex:0 0 18px}
 body.neo-horizontal-shell #desktop-header .desk-nav-item[data-site-feature="game"] .dream-new{position:static;display:inline-block;margin-left:0;padding:2px 4px;border:0;border-radius:4px;background:#ffe99a;color:#715716;font-family:inherit;font-weight:700;font-size:8px;line-height:1.3;letter-spacing:.04em}
 body.neo-horizontal-shell #desktop-header .desk-header-actions{order:2;display:flex;align-items:center;flex:0 0 auto;gap:15px;margin:0 0 0 auto;white-space:nowrap}
 body.neo-horizontal-shell #desktop-header .desk-header-create{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:9px 14px;border:1px solid #263629;border-radius:9px;background:#41c18b;box-shadow:2px 2px #263629;color:#263629;font-family:inherit;font-weight:600;font-size:13px;line-height:1.4;max-width:190px}
 body.neo-horizontal-shell #desktop-header .desk-header-create .desk-icon{width:17px;height:17px;flex-basis:17px}
 body.neo-horizontal-shell #desktop-header .desk-sign-in{position:static;inset:auto;width:auto;min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;font-size:13px}
 body.neo-horizontal-shell #desktop-header .desk-account{position:relative;inset:auto;width:auto;border:0;padding:0;margin:0}
 body.neo-horizontal-shell #desktop-header .desk-account-trigger{display:flex;align-items:center;gap:7px;padding:5px;border:0;border-radius:8px;background:transparent;width:auto;min-height:40px;color:#354d3c;font-family:inherit;font-weight:500;font-size:13px;line-height:1.4}
 body.neo-horizontal-shell #desktop-header .desk-account-name{display:none}
 body.neo-horizontal-shell #desktop-header .desk-account-avatar{width:29px;height:29px;flex:0 0 29px;border:1px solid #597259}
 body.neo-horizontal-shell #desktop-header .desk-account-menu{position:absolute;inset:calc(100% + 12px) 0 auto auto;width:240px;z-index:110;box-shadow:0 10px 28px #27312518}
 body.neo-horizontal-shell #shell{width:100%;max-width:1488px!important;padding:0 24px!important;margin:0 auto;min-height:calc(100dvh - 76px)}
 body.neo-horizontal-shell #page{min-height:calc(100dvh - 76px)}
 body.neo-horizontal-shell #shell #page .neo-detail-workspace{left:0!important;top:76px!important;z-index:85}
 body.neo-horizontal-shell.neo-detail-open #shell #page .neo-detail-workspace{top:119px!important}
 body.neo-horizontal-shell #page .neo-detail-workspace>.detail-sheet{max-width:1488px!important;padding-inline:24px!important}
 body.neo-horizontal-shell #site-footer{margin-left:0!important;width:100%;max-width:none}
 body.neo-horizontal-shell :is(.gp-root,.gp-main,.ww-feature-route){margin-left:0}
}
@media(min-width:1024px) and (max-width:1210px){
 body.neo-horizontal-shell #desktop-header .desk-header-inner{gap:15px;padding-inline:20px}
 body.neo-horizontal-shell #desktop-header .desk-brand strong{font-size:20px}
 body.neo-horizontal-shell #desktop-header .desk-brand img{width:40px;height:36px;flex-basis:40px}
 body.neo-horizontal-shell #desktop-header .desk-nav-item{gap:5px;padding-inline:9px;font-size:13px}
 body.neo-horizontal-shell #desktop-header .desk-nav-item>.desk-icon{display:none}
 body.neo-horizontal-shell #desktop-header .desk-nav-item[data-site-feature="game"]{margin-left:5px;padding-left:9px;font-size:12px}
 body.neo-horizontal-shell #desktop-header .desk-header-actions{gap:10px}
 body.neo-horizontal-shell #desktop-header .desk-header-create{font-size:12px;padding-inline:10px}
 body.neo-horizontal-shell #desktop-header .desk-header-create>.desk-icon{display:none}
 body.neo-horizontal-shell #desktop-header .neo-account-label{display:none}
}
@media(max-width:1023px){
 body.neo-horizontal-shell{--neo-header:64px;--ww-mobile-gutter:16px;--neo-mobile-nav-height:calc(72px + env(safe-area-inset-bottom));padding:0!important}
 body.neo-horizontal-shell #desktop-header,body.neo-horizontal-shell #tabbar{display:none!important}
 body.neo-horizontal-shell #shell{max-width:none!important;width:100%;margin:0;padding:0!important;min-height:100dvh}
 body.neo-horizontal-shell #web-header{display:flex!important;position:sticky;inset:0 0 auto;z-index:90;min-height:calc(64px + env(safe-area-inset-top));height:auto!important;box-sizing:border-box;padding:calc(10px + env(safe-area-inset-top)) max(var(--ww-mobile-gutter),env(safe-area-inset-right)) 10px max(var(--ww-mobile-gutter),env(safe-area-inset-left))!important;gap:9px;justify-content:flex-start;align-items:center;background:#fcfaf3f5!important;border-bottom:1px solid #29362920;backdrop-filter:blur(14px)}
 body.neo-horizontal-shell #web-header>:not(.neo-mobile-brand){display:none!important}
 body.neo-horizontal-shell #web-header .neo-mobile-brand{display:inline-flex;align-items:center;gap:8px;min-width:0;margin:0;color:#292b27;text-decoration:none;font-size:21px;line-height:1.3;letter-spacing:-.6px;font-weight:750}
 .neo-mobile-brand img{display:block;width:44px;height:40px;flex:0 0 44px;object-fit:contain}
 body.neo-horizontal-shell #page{padding-bottom:calc(var(--neo-mobile-nav-height) + 24px)!important;min-height:calc(100dvh - 64px - env(safe-area-inset-top))}
 body.neo-horizontal-shell #site-footer{padding-bottom:calc(var(--neo-mobile-nav-height) + 24px)!important}
 body.neo-horizontal-shell .neo-mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:50;min-height:var(--neo-mobile-nav-height);box-sizing:border-box;padding:7px max(12px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-top:2px solid #2b2b2b;background:#fcfaf3;box-shadow:0 -3px 12px #2b2b2b06}
 body.neo-horizontal-shell .neo-mobile-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:56px;padding:0 4px;border:0;border-radius:10px;box-shadow:none;color:#55594f;text-decoration:none;font-family:inherit;font-size:12px;line-height:1.3;font-weight:550;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
 .neo-mobile-tab-icon{display:grid;place-items:center;width:48px;height:30px;border-radius:50%;background:transparent}
 .neo-mobile-tab-icon svg{display:block;width:23px;height:23px}
 body.neo-horizontal-shell .neo-mobile-tab[data-current]{color:#282b25;font-weight:750}
 .neo-mobile-tab[data-current] .neo-mobile-tab-icon{background:#ffd746}
 .neo-mobile-tab:hover .neo-mobile-tab-icon{background:#ecebdd}
 .neo-mobile-tab[data-current]:hover .neo-mobile-tab-icon{background:#ffd746}
 .neo-mobile-tab:focus-visible{outline:3px solid #287951;outline-offset:-1px}
 .neo-mobile-tab-label{overflow-wrap:anywhere;text-align:center}
 body.neo-horizontal-shell .neo-test-control{position:fixed;top:calc(20px + env(safe-area-inset-top));right:14px;bottom:auto;box-sizing:border-box;width:65px;height:26px;padding:3px 7px;gap:5px;justify-content:space-between;border-radius:20px;font-size:10px;line-height:1;opacity:1;box-shadow:none}
 body.neo-horizontal-shell .neo-test-control button{display:grid;place-items:center;flex:0 0 17px;width:17px;height:18px;padding:0;text-decoration:none}
 body.neo-horizontal-shell .neo-test-exit-text{display:none}
 body.neo-horizontal-shell .neo-test-exit-icon{display:block;font-size:19px;line-height:1}
 body.neo-horizontal-shell.neo-mobile-nav-hidden .neo-test-control{display:none}
 body.neo-horizontal-shell.neo-detail-open .neo-test-control{display:none}
}
@media(prefers-reduced-motion:reduce){.neo-horizontal-shell :is(a,button){transition:none!important}}

@media(max-width:360px){body.neo-horizontal-shell{--ww-mobile-gutter:12px}}
/* The app preview is secondary to decisions and never adds a fifth mobile tab. */
.ww-app-entry-new{display:inline-block;flex:none;padding:2px 4px;border-radius:4px;background:#ffe99a;color:#715716;font:700 8px/1.3 var(--ww-font,system-ui,sans-serif);letter-spacing:.04em}
@media(min-width:1024px){body.neo-horizontal-shell #desktop-header .desk-app-entry{gap:6px;padding-inline:9px;font-size:13px}body.neo-horizontal-shell #desktop-header .desk-app-entry>svg{width:18px;height:18px;flex:none}body.neo-horizontal-shell #desktop-header .desk-app-entry[data-current]{background:#e0f2df!important}}
@media(min-width:1024px) and (max-width:1210px){body.neo-horizontal-shell #desktop-header .desk-header-inner{gap:12px}body.neo-horizontal-shell #desktop-header .desk-app-entry .ww-app-entry-label{font-size:0}body.neo-horizontal-shell #desktop-header .desk-app-entry .ww-app-entry-label::after{content:'App';font-size:12px}body.neo-horizontal-shell #desktop-header .desk-app-entry>svg{display:none}}

/* Feature navigation labels never inherit positioning from game content. */
body.neo-horizontal-shell #desktop-header .desk-nav-item :is(.dream-new,.ww-app-entry-new){position:static;inset:auto;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:25px;height:15px;margin:0;padding:2px 4px;box-sizing:border-box;border:0;border-radius:4px;white-space:nowrap;font:700 8px/1 var(--ww-font,system-ui,sans-serif);letter-spacing:.04em;background:#ffe99a;color:#715716}
body.neo-horizontal-shell.ww-feature-route #page.neo-route-enter{animation:none;transform:none}
body.neo-horizontal-shell .ww-shell-skip{position:fixed;top:-90px;left:16px;z-index:20000}
body.neo-horizontal-shell .ww-shell-skip:focus{top:8px}

/* Approval rules: paper menu, ink outline and mint selection match the current form. */
#page .ww-picker--rule{position:relative;display:inline-block;isolation:isolate}
#page .ww-picker--rule.is-open{z-index:30}
#page .ww-picker--rule .ww-rule-trigger{display:block;width:100%;min-width:76px;min-height:40px;padding:0;border:1.5px solid #303329;border-radius:10px;background:#fffdf7;color:#283b2e;font:inherit;cursor:pointer;box-shadow:2px 2px 0 #30332918;text-align:inherit}
#page .ww-picker--rule .ww-rule-trigger .rule-picker{min-width:0;border:0!important;background:transparent!important;padding:9px 10px;font-size:14px;line-height:1.5;white-space:nowrap;color:inherit}
#page .ww-picker--rule .ww-rule-trigger:hover,#page .ww-picker--rule.is-open .ww-rule-trigger{background:#e9f4e7;border-color:#2f6e53}
#page .ww-picker--rule .ww-rule-trigger:focus-visible{outline:3px solid #38b98b66;outline-offset:3px}
#page .ww-rule-menu{position:absolute;inset-inline-end:0;top:calc(100% + 7px);z-index:40;box-sizing:border-box;width:max-content;min-width:142px;max-width:calc(100vw - 40px);max-height:264px;overflow-y:auto;margin:0!important;padding:6px!important;list-style:none;border:1.5px solid #303329;border-radius:12px;background:#fffdf7;color:#283b2e;box-shadow:4px 5px 0 #30332925;overscroll-behavior:contain}
#page .ww-picker--rule.opens-up .ww-rule-menu{top:auto;bottom:calc(100% + 7px)}
#page .ww-rule-menu [role=option]{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:42px;padding:9px 12px;box-sizing:border-box;border-radius:7px;font-family:inherit;font-size:14px;font-weight:500;line-height:1.5;white-space:nowrap;cursor:pointer}
#page .ww-rule-menu [role=option].is-active{background:#edf2df}
#page .ww-rule-menu [role=option].is-selected{background:#d8edda;color:#244f3c;font-weight:700}
#page .ww-rule-check{min-width:16px;color:#286c4f;font-weight:700}
@media(max-width:1023px){#page .ww-picker--rule .ww-rule-trigger{min-width:78px;min-height:42px}#page .ww-rule-menu [role=option]{min-height:44px;font-size:15px}}

/* One direct profile entry; keep the visible label at compact desktop widths. */
@media(min-width:1024px){body.neo-horizontal-shell #desktop-header .desk-profile-entry{text-decoration:none;white-space:nowrap}body.neo-horizontal-shell #desktop-header .desk-profile-entry:focus-visible{outline:2px solid #2f6b50;outline-offset:3px}body.neo-horizontal-shell #desktop-header .desk-profile-label{display:inline;white-space:nowrap}}
