.sectioned-page{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:start;min-width:0}.page-subsidebar{position:sticky;top:8px;max-height:calc(100dvh - 170px);overflow:auto;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--panel)}.page-subsidebar nav{display:grid;gap:4px}.page-subsidebar button{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;padding:8px;text-align:left;font-size:13px;line-height:1.35;min-height:34px;background:transparent;border-color:transparent;white-space:normal}.page-subsidebar button>span:first-child{min-width:0;overflow-wrap:anywhere}.page-subsidebar button[aria-current],.page-subsidebar .tabs button.active{background:var(--hover);border-color:var(--line);color:var(--text)}.section-nav-heading{padding:12px 8px 8px;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.05em}.section-categories .tabs{display:grid!important;gap:4px!important;border-bottom:1px solid var(--line);padding-bottom:10px!important;margin:0!important;overflow:visible!important}.section-categories .tabs button{display:block!important;width:100%;text-align:left;font-size:13px;min-height:34px;white-space:normal!important;border-radius:5px}.section-count{font-size:11px;padding:2px 5px;border-radius:5px;background:var(--card);color:var(--muted);font-variant-numeric:tabular-nums}.page-section-content{display:grid;gap:14px;min-width:0}.page-section{border:1px solid var(--line);border-radius:9px;overflow:hidden;min-width:0;scroll-margin-top:12px;background:color-mix(in srgb,var(--panel) 92%,transparent)}.page-section>header{padding:12px 14px;background:var(--hover);border-bottom:1px solid var(--line)}.page-section>header h2{font-size:15px;line-height:1.4;font-weight:600;margin:0}.page-section-body{padding:14px;min-width:0}.page-section-body>form:last-child,.page-section-body>:last-child{margin-bottom:0}.page-section .dev-config-form{max-width:none;width:100%;margin:0}.page-section textarea{width:100%;max-width:100%;min-height:100px;font-family:Consolas,monospace;line-height:1.6}.page-section .form-actions{gap:8px;flex-wrap:wrap}.page-section-danger{border-color:#d4565b80}.page-section-danger>header{background:#7a29303d;color:var(--red)}.settings-fieldset{border:1px solid var(--line);border-radius:8px;margin:0 0 12px;padding:12px;min-width:0}.settings-fieldset legend{padding:0 6px;color:var(--accent);font-size:13px}.settings-fieldset .check-row{margin:6px 0}.privacy-grid:has(.settings-fieldset){display:block}.page-section .profile-header{margin:0;min-height:0}.section-flash{animation:section-emphasis 1s ease-out}@keyframes section-emphasis{from{box-shadow:0 0 0 2px var(--accent)}to{box-shadow:0 0 0 2px transparent}}
html[data-social-layout=game] .page-subsidebar{padding:max(8px,var(--game-space));background:var(--game-background)}html[data-social-layout=game] .page-subsidebar .tabs button{padding:8px}html[data-social-layout=game] .page-subsidebar button[aria-current],html[data-social-layout=game] .page-subsidebar .tabs button.active{background:var(--game-highlight);color:white}html[data-social-layout=game] .page-section-body{padding:max(8px,var(--game-space))}html[data-social-layout=game] .page-section>header{background:var(--game-button)}html[data-social-layout=game] .page-section-danger>header{background:#7a29303d}
@media(max-width:900px){.sectioned-page{grid-template-columns:1fr;gap:12px}.page-subsidebar{position:relative;top:auto;max-height:none}.section-categories .tabs{display:flex!important;flex-wrap:wrap!important;gap:6px!important}.section-categories .tabs button{width:auto}.page-subsidebar nav{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:4px}.page-subsidebar nav button{flex:0 0 auto;width:auto;white-space:nowrap;max-width:240px}.page-subsidebar nav button>span{overflow-wrap:normal}.section-nav-heading{padding-top:8px}.page-section-body{padding:12px}.page-section-content{gap:10px}}
@media(prefers-reduced-motion:reduce){.section-flash{animation:none}}

.notification-prefs:has(.settings-fieldset){display:block}

.page-subsidebar button.section-subitem{padding-left:18px;font-size:12px;color:var(--muted)}.settings-fieldset{scroll-margin-top:12px}
/* Developer page: categories in the section list, and a section's own first divider hidden where it repeats the section title. */
.section-nav-category{padding:12px 8px 2px;color:var(--accent,#57cdc7);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.section-nav-category:first-child{padding-top:2px}
.dev-group[data-hide-lead]>.divider:first-child,.dev-group[data-hide-lead]>:first-child>.divider:first-child{display:none}
.dev-new-wrap{display:inline-flex;align-items:center;gap:4px}
.release-totals{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0 8px}
@media(max-width:800px){.section-nav-category{flex:0 0 auto;align-self:center;padding:0 2px 0 8px}}
/* Moderation: a section with waiting items stands out from the empty ones. */
.page-subsidebar button.section-has-items{background:#ff4d4d1f;border-color:#ff4d4d66;color:var(--text);font-weight:600}
.page-subsidebar button.section-has-items[aria-current]{background:#ff4d4d33;border-color:#ff6b6b}
.page-subsidebar button.section-has-items .section-count{background:#e5484d;color:#fff;font-weight:700;min-width:20px;text-align:center}
html[data-social-layout=game] .page-subsidebar button.section-has-items[aria-current]{background:#ff4d4d40;color:white}
.page-subsidebar button:not(.section-has-items) .section-count{opacity:.55}
/* The Observers sub page (/dev/observers): summary tiles, station picker, server assignment table. */
.dev-obs-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.dev-obs-tile{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 8px;border:1px solid var(--line);border-radius:8px;background:var(--card);min-height:0}.dev-obs-tile:hover{background:var(--hover)}.dev-obs-tile-value{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}.dev-obs-tile-label{font-size:12px;color:var(--muted)}.dev-obs-tile.green .dev-obs-tile-value{color:var(--green)}.dev-obs-tile.orange .dev-obs-tile-value{color:var(--orange)}.dev-obs-tile.muted .dev-obs-tile-value{color:var(--muted)}
.station-picker{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:12px 0}.station-picker button{display:inline-flex;align-items:center;gap:6px}.station-picker button.active{background:var(--hover);border-color:var(--accent)}.station-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--muted)}.station-dot.live{background:var(--green)}.station-dot.offline{background:var(--orange)}
.dev-obs-filter{display:flex;align-items:center;justify-content:center;gap:10px;margin:8px 0}.dev-obs-filter input{flex:1 1 220px;max-width:360px}.server-assignment select{min-width:140px}.server-assignment td{vertical-align:middle}
.dev-observers-link .form-actions{justify-content:center}
/* Developer workbenches: the Developer page's cards, one per workbench (Observers, Discord, Community, Releases, Scores). */
.dev-bench-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.dev-bench-card{display:flex;flex-direction:column;gap:6px;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--card);color:var(--text);text-decoration:none;min-width:0}.dev-bench-card:hover{background:var(--hover);border-color:var(--accent)}.dev-bench-title{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px}.dev-bench-icon{font-size:18px}.dev-bench-figures{display:flex;flex-wrap:wrap;gap:4px 12px}.dev-obs-tile.active{border-color:var(--accent)}
.page-tabs button .setting-new{margin-left:6px}
.page-tabs button:has(.setting-new){display:flex;align-items:center;justify-content:space-between;gap:6px}.page-tabs button .setting-new{margin-left:0;flex:0 0 auto}
