/* NAV-PREVIEW-20261105: Maps, Apps, free-tools menu, tool picker and paid-app row. Scoped; desktop rich navigation retained. */
.public-shell .pn-nav-context{display:none}
.public-shell .public-navigation .pn-apps-menu{margin-left:auto}
.public-shell .pn-apps-menu>.public-menu-panel{left:auto;right:0;width:340px}
@media(min-width:1001px){
 html .public-shell.pn-template .public-header .pn-tools-menu.pn-tools-menu--free:not(.is-network){display:block;width:360px!important}
}
.public-shell .pn-apps-menu .pn-tool-premium{align-self:flex-start;width:fit-content;margin-left:0}
.public-shell .pn-apps-menu>.public-menu-panel>a:last-child{flex-direction:row;align-items:center;justify-content:flex-start;gap:6px}
.public-shell .pn-home-tool-shelf .pn-section-head>a{display:inline-flex;align-items:center;min-height:44px}
.public-shell .pn-home-tool-shelf .pn-tool-card>a{min-height:44px;display:inline-flex;align-items:center}
.public-shell .pn-tool-picker :focus-visible,.public-shell .pn-tool-apps a:focus-visible,.public-shell .pn-home-tool-select select:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* Keep every destination visible between the mobile breakpoint and a full-width desktop. */
@media(min-width:1001px) and (max-width:1280px){
 html .public-shell.pn-template .public-header .spawnpass-wordmark{display:none}
 html .public-shell.pn-template .public-header .public-brand{min-width:44px;width:44px;padding:0;justify-content:center}
 html .public-shell.pn-template .public-header .public-navigation>a,
 html .public-shell.pn-template .public-header .public-disclosure>summary{padding-inline:8px}
 html .public-shell.pn-template .public-header .pn-game-picker{padding-inline:8px}
}

/* Paid SpawnPass app row beside free tools. */
.public-shell .pn-tool-apps{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:12px 0 16px;font-size:13px;color:#afafb1}
.public-shell .pn-tool-apps>span{font:600 11px ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase}
.public-shell .pn-tool-apps a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid #39393b;color:#f4f4f6;font-weight:700}
@media(hover:hover) and (pointer:fine){.public-shell .pn-tool-apps a:hover{border-color:#f23a1d}}
.public-shell .pn-tool-apps-section{margin-top:40px}
.public-shell .pn-tool-apps-section>h2{font-size:20px;font-weight:750;line-height:1.3}
.public-shell .pn-tool-apps-section>p{margin:4px 0 16px;font-size:14px;color:#afafb1}

/* Tool picker replaces the tab strip on narrow screens. */
.public-shell .pn-tool-picker{display:none}
@media(max-width:760px){
 html .public-shell .gp-tool-tabs{display:none}
 html .public-shell .pn-tool-picker{display:flex;align-items:flex-end;gap:8px;margin:16px 0}
 .public-shell .pn-tool-picker label{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;font-size:12px;color:#cacacc}
 .public-shell .pn-tool-picker select{width:100%;min-height:44px;padding:0 12px;border:1px solid #505052;background:#1b1b1d;color:#fff;font-size:16px}
 .public-shell .pn-tool-picker .public-button{flex:none}
}

/* Mobile menu: game context label, Apps inline, one-column free-tools list. */
@media(max-width:1000px){
 html .public-shell.pn-template .pn-nav-context{display:flex;align-items:center;gap:8px;margin:0;padding:12px 12px 4px;font:600 11px ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;color:#afafb1}
 html .public-shell.pn-template .pn-nav-context img{width:40px;height:20px;object-fit:cover}
 html .public-shell.pn-template .public-navigation .pn-apps-menu{margin-left:0}
 html .public-shell.pn-template .pn-tools-menu.pn-tools-menu--free:not(.is-network){grid-template-columns:1fr}
 html .public-shell.pn-template .pn-tools-menu.pn-tools-menu--free section:last-child{grid-column:auto;border-top:0;padding-top:0}
 html .public-shell.pn-template .pn-tools-menu.pn-tools-menu--free section:last-child>a>span{display:none}
}

.pn-home-tool-shelf{scroll-margin-top:100px}.pn-home-tool-shelf .pn-section-head{flex-wrap:wrap;margin-bottom:16px}
.pn-home-tool-games{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.pn-home-tool-games label{display:inline-flex;align-items:center;gap:12px;min-height:48px;padding:8px 16px;border:1px solid #39393b;background:#131315;color:#d4d4d6;font-size:13px}.pn-home-tool-games label[data-selected=true]{border-color:#f23a1d;color:#fff;background:#f23a1d1a}.pn-home-tool-games img{width:48px;height:24px;object-fit:cover}.pn-home-tool-games label:focus-within{outline:2px solid #fff;outline-offset:3px}
@media(hover:hover) and (pointer:fine){.pn-home-tool-games label:hover{border-color:#f23a1d}}
.pn-home-tool-select{display:none}
.pn-home-tool-shelf .pn-home-tools.pn-home-tools--featured{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media(max-width:760px){.pn-home-tool-shelf .pn-home-tools.pn-home-tools--featured{grid-template-columns:1fr}}
@media(max-width:600px){
 .pn-home-tool-games{display:none}
 .pn-home-tool-select{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;font-size:12px;color:#cacacc}
 .pn-home-tool-select select{min-height:44px;width:100%;padding:0 12px;border:1px solid #505052;background:#1b1b1d;color:#fff;font-size:16px}
}

.dz-layer-section summary{display:flex;align-items:center;gap:8px;min-height:56px;padding:6px;cursor:pointer;list-style:none;font:700 10.5px/1.3 ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;color:#b9bec4}
.dz-layer-all{margin-left:auto;display:flex;flex:none;gap:4px}
.dz-layer-all button{min-width:44px;min-height:44px;border:0;background:none;color:#b9bec4;font:600 11px/1 ui-monospace,monospace;letter-spacing:.04em;text-transform:uppercase;padding:6px;border-radius:6px;cursor:pointer;touch-action:manipulation}
.dz-layer-all button:focus-visible,.dz-layer-section summary:focus-visible{outline:2px solid #f39379;outline-offset:-2px}
@media(hover:hover) and (pointer:fine){.dz-layer-all button:hover{color:var(--ink);background:rgba(255,255,255,.07)}}