:root {
  --ui-bg: #f6f3ee;
  --ui-surface: #fffaf2;
  --ui-ink: #241716;
  --ui-muted: #756553;
  --ui-line: #d7cbb9;
  --ui-accent: #7a1f1f;
  --ui-hover: #eee6d8;
  --ink: var(--ui-ink);
  --paper: var(--ui-bg);
  --line: var(--ui-line);
  --accent: var(--ui-accent);
  --accent-strong: #561515;
  --focus: #8a6b32;
  --site-header-height: 72px;
}

body { background: var(--ui-bg); color: var(--ui-ink); letter-spacing: 0; }
[hidden] { display: none !important; }
button:disabled { cursor: not-allowed; opacity: .5; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 3px; }
.ui-icon { flex: 0 0 auto; vertical-align: middle; pointer-events: none; }
.ui-muted { color: var(--ui-muted); font-size: 13px; }
.ui-eyebrow { color: var(--ui-accent); font-size: 11px; font-weight: 650; letter-spacing: 0; }
.ui-notice { display: flex; gap: 16px; align-items: center; color: #8c372c; padding: 16px; background: #fff2f0; }
.site-app.modern-site { display: block; min-height: 100dvh; }
.modern-site .site-main { width: 100%; min-width: 0; min-height: calc(100dvh - var(--site-header-height)); margin: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 300; padding: 12px 20px; background: var(--ui-surface); color: var(--ui-ink); }
.skip-link:focus { top: 12px; }

.site-header {
  height: var(--site-header-height); padding: 0 4%; position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 44px;
  background: var(--ui-surface); border-bottom: 1px solid var(--ui-line);
}
.site-header button, .mobile-navigation-dialog button {
  display: inline-flex; align-items: center; gap: 10px; color: var(--ui-ink);
  font-size: 14px; background: transparent; border: 0; border-radius: 5px;
}
.site-header button:hover, .mobile-navigation-dialog button:hover { background: var(--ui-hover); }
.site-header .site-wordmark { padding: 0; gap: 12px; text-align: left; flex-shrink: 0; }
.site-wordmark > .ui-icon { color: var(--ui-accent); }
.site-d20 { display: block; flex-shrink: 0; }
.site-wordmark span { font-size: 16px; line-height: 1.2; font-weight: 650; }
.site-wordmark small { display: block; color: var(--ui-muted); font-size: 9px; margin-top: 4px; letter-spacing: 0; }
.desktop-navigation { display: flex; align-items: center; gap: 12px; height: 100%; }
.desktop-navigation .nav-link, .desktop-navigation > .ui-menu > button { min-height: 40px; padding: 0 14px; color: var(--ui-muted); }
.desktop-navigation .nav-link.active, .desktop-navigation .active > button { color: var(--ui-ink); background: var(--ui-hover); }
.desktop-account { margin-left: auto; }
.account-initials { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #eee3d2; color: #695039; font-size: 11px; font-weight: 650; }
.account-details { display: grid; gap: 6px; padding: 12px; border-bottom: 1px solid var(--ui-line); margin-bottom: 4px; }
.account-details span { font-size: 12px; color: var(--ui-muted); }
.ui-menu { position: relative; }
.ui-menu-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ui-menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 80;
  display: grid; gap: 3px; width: max-content; min-width: 230px; max-width: min(340px, calc(100vw - 32px));
  padding: 7px; color: var(--ui-ink); background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 8px;
  box-shadow: 0 8px 32px #17281d14; max-height: min(580px, 70dvh); overflow-y: auto;
}
.nav-campaigns .ui-menu-panel { left: 0; right: auto; }
.ui-menu-panel button { width: 100%; text-align: left; justify-content: flex-start; min-height: 42px; white-space: normal; }
.menu-caption { display: block; padding: 12px; font-size: 10px; color: var(--ui-muted); }
.site-header .mobile-navigation-trigger { display: none; margin-left: auto; }
.ui-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; min-height: 38px; padding: 0; flex-shrink: 0; }
.mobile-navigation-dialog { width: 100%; height: 100dvh; max-width: none; max-height: none; border: 0; margin: 0; padding: 20px; background: var(--ui-surface); color: var(--ui-ink); }
.mobile-navigation-dialog::backdrop { background: #171e1b66; }
.mobile-navigation-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-navigation-dialog nav { display: grid; gap: 6px; }
.mobile-navigation-dialog nav button { width: 100%; min-height: 52px; text-align: left; font-size: 17px; padding: 10px 12px; }
.mobile-navigation-dialog .active { background: var(--ui-hover); color: var(--ui-accent); }
.mobile-navigation-account { display: grid; gap: 10px; border-top: 1px solid var(--ui-line); margin-top: 28px; padding-top: 24px; }
.mobile-navigation-account > span { font-size: 12px; color: var(--ui-muted); }
.mobile-navigation-account > button { justify-self: start; margin-top: 10px; }

.hub-page { width: min(1200px, 92%); margin: 0 auto; padding: 58px 0 24px; }
.hub-heading { padding-bottom: 40px; border-bottom: 1px solid var(--ui-line); }
.hub-heading .ui-eyebrow { margin: 0 0 18px; }
.hub-heading h1 { font-family: Georgia, "Times New Roman", serif; font-size: 46px; line-height: 1.15; font-weight: 400; margin: 0; letter-spacing: 0; }
.hub-heading > p:not(.ui-eyebrow) { color: var(--ui-muted); font-size: 16px; line-height: 1.6; margin: 16px 0 24px; }
.hub-welcome { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #78634a; }
.presence-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ui-accent); margin-right: 4px; }
.hub-section { padding: 28px 0 10px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: 18px; font-weight: 550; }
.campaign-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.campaign-entry { display: block; padding: 0 0 12px; text-align: left; border: 0; border-radius: 0; color: var(--ui-ink); background: none; min-width: 0; }
.campaign-entry:hover { background: none; }
.campaign-art { position: relative; aspect-ratio: 1.7; background: #eee3d2; overflow: hidden; border-radius: 4px; border: 1px solid #d7cbb9; }
.campaign-entry:nth-child(2) .campaign-art { background: #e8e1d7; }
.campaign-entry:nth-child(3) .campaign-art { background: #eaded6; }
.campaign-art img { width: 100%; height: 100%; object-fit: contain; padding: 18px 28px; transition: transform 180ms ease; }
.campaign-entry:hover img { transform: translateY(-3px); }
.campaign-number { position: absolute; left: 12px; top: 10px; font-size: 10px; color: #606762; }
.campaign-entry-title { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 16px; }
.campaign-entry h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; }
.campaign-entry-meta { display: block; margin-top: 6px; color: var(--ui-muted); font-size: 12px; }
.recent-characters { border-top: 1px solid var(--ui-line); }
.recent-character { width: 100%; display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 8px; border: 0; border-bottom: 1px solid var(--ui-line); border-radius: 0; background: none; text-align: left; }
.recent-character:hover { background: var(--ui-hover); }
.character-monogram { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; background: #ead8b6; color: #695039; border-radius: 5px; font-family: Georgia, serif; font-size: 20px; }
.recent-character-copy { display: grid; gap: 5px; min-width: 0; }
.recent-character-copy strong { font-size: 14px; font-weight: 550; overflow-wrap: anywhere; }
.recent-character-copy small { color: var(--ui-muted); font-size: 12px; }
.access-badge { margin-left: auto; font-size: 11px; color: var(--ui-muted); }
.hub-empty { padding: 30px 0; color: var(--ui-muted); font-size: 14px; }
.hub-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding: 24px 0; border-top: 1px solid var(--ui-line); color: var(--ui-muted); font-size: 11px; }
.modern-site:has(.hub-page) .site-main { background: #171310; }
.hub-page { --ui-ink: #eee4d3; --ui-muted: #b8a58c; --ui-line: #46382c; --ui-hover: #241c16; --ui-accent: #d5a85f; color: var(--ui-ink); }
.hub-heading h1 { color: #f1d39a; }
.hub-heading > .hub-tagline { max-width: 730px; color: #e6d4b9; font-size: 17px; }
.hub-heading > .hub-original-description { max-width: 760px; color: #cdbda7; font-size: 14px; margin-top: 16px; margin-bottom: 24px; line-height: 1.8; }
.hub-welcome { color: #b8a58c; }
.hub-page .campaign-art { border-color: #51402e; background: #292018; }
.hub-page .campaign-entry:nth-child(2) .campaign-art { background: #2d2722; }
.hub-page .campaign-entry:nth-child(3) .campaign-art { background: #2b1f20; }
.hub-page .campaign-number { color: #c6af88; }
.hub-page .character-monogram { background: #352a1d; color: #d5b77f; }
.hub-page .recent-character { color: #eee4d3; }
.hub-memories { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--ui-line); }
.hub-photo-controls { display: flex; align-items: center; gap: 10px; }
.hub-photo-controls .ui-icon-button { background: transparent; color: #d5b77f; border: 1px solid #5c4730; border-radius: 4px; }
.hub-photo-controls .ui-icon-button:hover { background: #302419; }
.hub-group-photo { margin: 0; width: 100%; height: 390px; background: #100e0c; }
.hub-group-photo img { width: 100%; height: 100%; object-fit: contain; }
.hub-footer > span:last-child { max-width: 550px; line-height: 1.7; }

.modern-site .sheet-app { background: #e8e2d8; }
.modern-site .vampire-sheet-app, .modern-site .dust-sheet-app { background: #171315; }
.workspace-toolbar { position: sticky; top: var(--site-header-height); z-index: 30; background: var(--ui-surface); border-bottom: 1px solid var(--ui-line); color: var(--ui-ink); }
.workspace-identity { display: flex; align-items: center; gap: 14px; min-height: 74px; padding: 12px 3%; }
.workspace-picker { min-width: 0; flex: 1; max-width: 330px; }
.workspace-picker label { display: block; color: var(--ui-muted); font-size: 10px; margin-bottom: 4px; }
.workspace-picker select { width: 100%; padding: 0 22px 0 0; min-height: 27px; border: 0; border-radius: 0; font-size: 16px; font-weight: 550; color: var(--ui-ink); background: transparent; color-scheme: light; text-overflow: ellipsis; }
.workspace-status { margin-left: auto; color: var(--ui-muted); font-size: 11px; white-space: nowrap; }
.workspace-commands { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.sheet-app .workspace-toolbar button, .sheet-app .workspace-collapsed button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 12px; min-height: 36px; color: var(--ui-ink); background: var(--ui-surface);
  border: 1px solid var(--ui-line); border-radius: 5px; padding: 7px 10px; box-shadow: none;
}
.sheet-app .workspace-toolbar button:hover { background: var(--ui-hover); }
.sheet-app .workspace-toolbar .ui-icon-button { padding: 0; }
.sheet-app .workspace-toolbar .workspace-save { background: var(--ui-ink); color: white; border-color: var(--ui-ink); }
.sheet-app .workspace-toolbar .workspace-save:hover { background: #49332a; }
.workspace-commands .ui-menu-panel { width: 260px; }
.sheet-app .workspace-toolbar .ui-menu-panel button { border: 0; justify-content: flex-start; min-height: 40px; }
.sheet-app .workspace-toolbar .ui-menu-panel .danger { color: #a33232; }
.workspace-rename { display: grid; gap: 6px; padding: 10px 8px; font-size: 11px; color: var(--ui-muted); }
.workspace-rename input, .workspace-rename select { width: 100%; color: var(--ui-ink); font-size: 13px; min-height: 38px; padding: 8px; border: 1px solid var(--ui-line); border-radius: 4px; background: var(--ui-surface); color-scheme: light; }
.workspace-tabs { display: flex; align-items: center; gap: 22px; padding: 0 3%; }
.sheet-app .workspace-tabs button { min-height: 42px; padding: 0 2px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--ui-muted); font-size: 13px; background: transparent; }
.sheet-app .workspace-tabs button.active { border-bottom-color: var(--ui-accent); color: var(--ui-accent); }
.workspace-collapsed { position: sticky; top: var(--site-header-height); display: flex; align-items: center; justify-content: space-between; padding: 8px 3%; background: var(--ui-surface); color: var(--ui-ink); z-index: 30; font-size: 13px; border-bottom: 1px solid var(--ui-line); }
.modern-site .sheet-scroll { padding-top: 28px; }
.modern-site .sheet-page-navigation { margin-bottom: 20px; }
.modern-site .sheet-page-navigation button, .modern-site .sheet-page-navigation select { color: #e7d4b4; background: #241b1c; border-color: #6f5840; border-radius: 4px; }
.modern-site .sheet-page-navigation option { color: #222; background: var(--ui-surface); }
.modern-site .sheet-app .character-notes, .modern-site .sheet-app .npc-profile { background: var(--ui-surface); color: var(--ui-ink); border: 0; border-radius: 0; box-shadow: none; max-width: 100%; }
.modern-site .sheet-app .character-notes { width: min(1180px, 100%); gap: 28px; padding: 28px; }
.modern-site .sheet-app .character-notes-reference { background: var(--ui-hover); border-color: var(--ui-line); border-radius: 4px; box-shadow: none; }
.modern-site .sheet-app .character-notes :is(h2,h3,strong,dt,dd,.character-notes-selector span),
.modern-site .sheet-app .npc-profile :is(h2,strong,.npc-kicker,.npc-field span,.npc-description) { color: var(--ui-ink); letter-spacing: 0; }
.modern-site .sheet-app .character-notes :is(button,select), .modern-site .sheet-app .npc-profile :is(button,select) { color: var(--ui-ink); background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 4px; box-shadow: none; }
.modern-site .sheet-app .character-notes :is(button,select):hover { background: var(--ui-hover); }
.modern-site .sheet-app .character-notes-formatbar { background: var(--ui-hover); border-color: var(--ui-line); }
.modern-site .sheet-app .character-notes :is(.character-notes-title-input,.character-notes-editor,.character-notes-preview) { color: var(--ui-ink); background: var(--ui-surface); border-color: var(--ui-line); }
.modern-site .sheet-app .character-notes-editor:empty::before { color: var(--ui-muted); }
.modern-site .sheet-app .character-notes-reference-card { background: var(--ui-surface); border-color: var(--ui-line); color: var(--ui-ink); border-radius: 4px; }
.modern-site .sheet-app .npc-profile { padding: 28px; }
.modern-site .sheet-app .npc-field :is(input,textarea) { background: var(--ui-surface); color: var(--ui-ink); border-color: var(--ui-line); }
.modern-site .sheet-app .npc-portrait-panel { border-color: var(--ui-line); border-radius: 4px; }
.modern-site .sheet-app .npc-portrait-placeholder { color: #897657; background: #f1e7d7; font-family: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; }
.modern-site .sheet-app .character-chat-avatar-panel { background: var(--ui-hover); border-color: var(--ui-line); }
.modern-site .sheet-app .npc-file-picker { color: var(--ui-ink); background: var(--ui-hover); border-color: var(--ui-line); border-radius: 4px; }
.modern-site .sheet-app .character-notes :is(.character-notes-back,.character-notes-new,.character-notes-delete) { font-weight: 500; font-size: 12px; min-height: 36px; }
.modern-site .sheet-app .character-notes-delete { color: #a23932; width: 36px; padding: 0; }
.modern-site .sheet-app .character-notes-formatbar button { display: inline-grid; place-items: center; padding: 0; }
.modern-site .sheet-app .character-notes-reference h2 { font: 550 16px / 1.5 system-ui, sans-serif; }
.modern-site .sheet-app .character-notes-reference :is(span,p), .modern-site .sheet-app .character-notes-reference h3 { color: var(--ui-muted); font-size: 11px; font-weight: 400; letter-spacing: 0; }
.modern-site .sheet-app .character-notes-title-input { font-family: inherit; font-size: 24px; font-weight: 500; border: 0; border-bottom: 1px solid var(--ui-line); border-radius: 0; padding-left: 0; }
.modern-site .sheet-app .character-notes-editor { box-shadow: none; }
.modern-site .sheet-app .character-notes-reference-card strong { font-size: 12px; font-weight: 550; }
.modern-site :is(.vampire-sheet-app,.dust-sheet-app) :is(.character-notes,.npc-profile,.character-visibility-panel) {
  --ui-ink: #ede6df; --ui-muted: #bfaea3; --ui-surface: #1b1517;
  --ui-hover: #251b1d; --ui-line: #574335; --ui-accent: #d5a85f;
}
.modern-site :is(.vampire-sheet-app,.dust-sheet-app) .character-notes-reference-card { background: #21191b; }
.modern-site :is(.vampire-sheet-app,.dust-sheet-app) .npc-portrait-placeholder { color: #c9b089; background: #191416; }
.modern-site :is(.vampire-sheet-app,.dust-sheet-app) .character-notes select { color-scheme: dark; }
.modern-site .gallery-page { background: var(--ui-bg); }
.modern-site .gallery-page h1 { color: var(--ui-ink); font-size: 40px; letter-spacing: 0; }
.modern-site .gallery-header { padding: 0 0 28px; background: none; border: 0; border-bottom: 1px solid var(--ui-line); border-radius: 0; box-shadow: none; }
.modern-site .gallery-header p, .modern-site .gallery-section-heading p { color: var(--ui-muted); font-size: 14px; }
.modern-site .gallery-eyebrow, .modern-site .gallery-section-eyebrow { color: var(--ui-accent); letter-spacing: 0; font-size: 11px; }
.modern-site .gallery-section-header { color: var(--ui-ink); background: none; border-color: var(--ui-line); border-radius: 0; box-shadow: none; }
.modern-site .gallery-section-heading h2 { color: var(--ui-ink); font-family: inherit; font-size: 20px; letter-spacing: 0; }
.modern-site .gallery-item { border: 1px solid var(--ui-line); border-radius: 4px; box-shadow: none; }
.modern-site .sheet-app .npc-copy-panel h2 { font-size: 32px; line-height: 1.2; font-weight: 500; margin: 0 0 10px; }
.modern-site .sheet-app .npc-field span, .modern-site .sheet-app .npc-kicker { font-size: 11px; font-weight: 550; }
.modern-site .sheet-app .npc-file-picker { font-size: 12px; font-weight: 500; }
.modern-site .sheet-app .character-chat-avatar-toggle { color: var(--ui-muted); font-size: 12px; }
.modern-site .sheet-app .character-chat-avatar-preview { background: #ead8b6; color: #695039; border-color: var(--ui-line); }
.modern-site .character-visibility-panel { background: var(--ui-surface); color: var(--ui-ink); border: 1px solid var(--ui-line); box-shadow: none; border-radius: 5px; padding: 22px; }
.modern-site .character-visibility-panel :is(strong,span,label) { color: var(--ui-ink); font-weight: 500; }
.modern-site .character-visibility-panel select { color: var(--ui-ink); background: var(--ui-surface); border-color: var(--ui-line); color-scheme: light; }
.modern-site .sam-window { background: #130f10; color: #efe3c8; border: 1px solid #5c4730; box-shadow: 0 18px 60px #10171366; }
.modern-site .sam-header h2, .modern-site .sam-viewer-head h2 { color: #efe3c8; font-family: inherit; font-size: 20px; font-weight: 550; }
.modern-site .sam-header span, .modern-site .sam-card-subtitle, .modern-site .sam-viewer-head span { color: #b7a47f; font-size: 12px; }
.modern-site .sam-card { background: #1a1415; border-color: #4e3c2c; box-shadow: none; border-radius: 5px; }
.modern-site .sam-card:hover { background: #241819; transform: none; box-shadow: none; border-color: #9d7a3b; }
.modern-site .sam-card.selected { background: #241819; border-color: #b8944a; box-shadow: 0 0 0 1px #b8944a; }
.modern-site .sam-card-title { color: #efe3c8; font-family: inherit; font-size: 16px; font-weight: 550; }
.modern-site .sam-viewer { background: #1a1415; border-color: #4e3c2c; border-radius: 5px; }
.modern-site .sam-window .primary { background: #e2bc78; border-color: #e2bc78; color: #21160f; }
.modern-site .sam-window .danger { background: #251416; color: #ffd8d3; border-color: #7e2a2d; }
.modern-site .sam-close { background: #1d1718; border-color: #4e3c2c; color: #e2bc78; }
.modern-site .sam-pill { background: #3a2c20; color: #dcc8a4; border: 0; border-radius: 4px; }
.modern-site :is(.black-powder-overview,.vampire-page,.dust-page) { background: var(--ui-bg); color: var(--ui-ink); }
.modern-site :is(.black-powder-hero,.vampire-hero,.dust-hero) { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 30px 0; }
.modern-site :is(.black-powder-hero,.vampire-hero,.dust-hero) h1 { color: var(--ui-ink); font-family: Georgia, serif; font-size: 42px; line-height: 1.15; font-weight: 400; letter-spacing: 0; }
.modern-site :is(.black-powder-overview,.vampire-page,.dust-page) p { color: var(--ui-muted); }
.modern-site :is(.black-powder-overview,.vampire-page,.dust-page) :is(h2,h3) { color: var(--ui-ink); font-size: 20px; letter-spacing: 0; }
.modern-site :is(.black-powder-info-card,.vampire-info-card,.vampire-session-card,.black-powder-session-card) { color: var(--ui-ink); background: none; border: 0; border-top: 1px solid var(--ui-line); border-radius: 0; box-shadow: none; }
.modern-site :is(.black-powder-enter-button,.vampire-enter-button,.dust-enter-button) { color: white; background: var(--ui-ink); border: 1px solid var(--ui-ink); border-radius: 5px; font-weight: 500; box-shadow: none; }
.modern-site :is(.black-powder-overview-eyebrow,.vampire-eyebrow,.dust-eyebrow) { color: var(--ui-accent); letter-spacing: 0; }
.modern-site :is(.black-powder-cover-frame,.vampire-cover-frame,.dust-sheet-frame,.vampire-sheet-frame) { background: #eee3d2; border: 1px solid var(--ui-line); border-radius: 4px; box-shadow: none; }

.auth-page { background: var(--ui-bg); }
.auth-panel { background: var(--ui-surface); padding: 40px; box-shadow: 0 8px 35px #1a2a2010; border: 1px solid var(--ui-line); }
.auth-copy h1 { color: var(--ui-ink); font-size: 36px; line-height: 1.2; font-weight: 400; }
.auth-copy p { color: var(--ui-muted); font-size: 14px; }
.auth-eyebrow { color: var(--ui-accent); letter-spacing: 0; font-weight: 600; }
.auth-tabs button { background: #f4eadb; border: 1px solid var(--ui-line); color: var(--ui-muted); }
.auth-tabs button.active { background: #241716; color: var(--ui-surface); border-color: #241716; }
.auth-form input { border-color: var(--ui-line); border-radius: 4px; }
.auth-form label span { font-weight: 550; color: var(--ui-ink); }

@media (max-width: 1000px) {
  .site-header { gap: 24px; padding-inline: 24px; }
  .desktop-navigation { gap: 2px; }
  .workspace-status { display: none; }
  .workspace-commands { margin-left: auto; }
}
@media (max-width: 760px) {
  :root { --site-header-height: 62px; }
  .site-header { padding: 0 18px; }
  .desktop-navigation, .desktop-account { display: none; }
  .site-header .mobile-navigation-trigger { display: inline-flex; }
  .hub-page { width: auto; margin: 0 20px; padding-top: 34px; }
  .hub-heading { padding-bottom: 28px; }
  .hub-heading h1 { font-size: 34px; }
  .hub-heading > p:not(.ui-eyebrow) { font-size: 14px; }
  .campaign-grid { grid-template-columns: 1fr; gap: 20px; }
  .campaign-entry { display: grid; grid-template-columns: 102px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 16px; padding: 0 0 20px; border-bottom: 1px solid var(--ui-line); }
  .campaign-art { grid-row: span 2; width: 102px; aspect-ratio: 1; }
  .campaign-art img { padding: 10px; }
  .campaign-number { display: none; }
  .campaign-entry-title { align-self: end; margin: 0; }
  .campaign-entry h3 { font-size: 14px; }
  .campaign-entry-meta { align-self: start; font-size: 11px; }
  .section-heading .ui-muted { font-size: 11px; text-align: right; max-width: 120px; }
  .recent-character { gap: 10px; }
  .access-badge { display: none; }
  .recent-character > .ui-icon { margin-left: auto; }
  .hub-footer { flex-direction: column; gap: 8px; margin-top: 24px; }
  .hub-group-photo { height: 260px; }
  .workspace-identity { gap: 8px; padding: 10px 12px; flex-wrap: wrap; }
  .workspace-picker { flex: 1; max-width: calc(100% - 46px); }
  .workspace-picker select { font-size: 16px; }
  .workspace-commands { flex: 1 0 100%; justify-content: flex-end; gap: 6px; }
  .workspace-commands .workspace-sam { margin-right: auto; }
  .workspace-tabs { justify-content: space-around; gap: 8px; padding-inline: 12px; }
  .workspace-tabs button { flex: 1; }
  .workspace-return { order: 3; width: 100%; }
  .workspace-toolbar { position: relative; top: auto; }
  .workspace-collapsed { top: var(--site-header-height); }
  .modern-site .sheet-app .character-notes { grid-template-columns: 1fr; padding: 16px; gap: 20px; }
  .modern-site .sheet-app .character-notes-nav-actions { flex-direction: row; width: 100%; gap: 8px; }
  .modern-site .sheet-app .character-notes-nav-actions button { width: auto; padding: 0 10px; }
  .modern-site .sheet-app .character-notes-nav-actions .character-notes-delete { width: 36px; margin-left: auto; padding: 0; }
  .modern-site .sheet-app .character-notes-title-input { font-size: 21px; }
  .modern-site .sheet-app .npc-profile { grid-template-columns: 1fr; padding: 16px; width: 100%; }
  .modern-site :is(.black-powder-hero,.vampire-hero,.dust-hero) h1 { font-size: 32px; }
  .modern-site .gallery-page { padding: 28px 18px; }
  .modern-site .sheet-scroll { padding: 18px 10px 32px; }
  .auth-panel { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .modern-site *, .modern-site *::before, .modern-site *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
