:root, html[data-palette="green"] {
  --tone-900:#071b0f; --tone-800:#123821; --tone-700:#245439; --tone-600:#39714c;
  --tone-500:#63856b; --tone-300:#b6d4ad; --tone-100:#e4ece1; --tone-50:#fafaf5;
}
html[data-palette="red"] {
  --tone-900:#321016; --tone-800:#571e2b; --tone-700:#782d3f; --tone-600:#9a3a4f;
  --tone-500:#ba6373; --tone-300:#e6bcc4; --tone-100:#f7e6e9; --tone-50:#fff6f7;
}
html[data-palette="navy"] {
  --tone-900:#10233f; --tone-800:#17355b; --tone-700:#1e4677; --tone-600:#2c5d94;
  --tone-500:#548cc1; --tone-300:#b5cee6; --tone-100:#e6eff8; --tone-50:#f5f8fc;
}
html[data-palette="brown"] {
  --tone-900:#2c1b12; --tone-800:#4b3022; --tone-700:#684532; --tone-600:#886046;
  --tone-500:#aa8064; --tone-300:#dfc6b2; --tone-100:#f5eade; --tone-50:#fcf7f0;
}
html[data-palette="purple"] {
  --tone-900:#24162f; --tone-800:#3d2851; --tone-700:#54376f; --tone-600:#715191;
  --tone-500:#9274b0; --tone-300:#d3bfe5; --tone-100:#eee6f6; --tone-50:#faf6fe;
}
html[data-palette="teal"] {
  --tone-900:#0d282a; --tone-800:#164347; --tone-700:#205c60; --tone-600:#287b7b;
  --tone-500:#559c9a; --tone-300:#add7d2; --tone-100:#e0efec; --tone-50:#f3faf8;
}
html[data-palette="slate"] {
  --tone-900:#1b222b; --tone-800:#2c3745; --tone-700:#404e5f; --tone-600:#586574;
  --tone-500:#7e8a99; --tone-300:#c3cdd8; --tone-100:#e8edf2; --tone-50:#f7f9fc;
}
html[data-palette="pink"] {
  --tone-900:#301323; --tone-800:#53203d; --tone-700:#7a2a55; --tone-600:#a43970;
  --tone-500:#c86a98; --tone-300:#efb7d3; --tone-100:#fbe4ef; --tone-50:#fff6fa;
}
html[data-palette="orange"] {
  --tone-900:#301b10; --tone-800:#512e18; --tone-700:#743b1b; --tone-600:#9c4b21;
  --tone-500:#c37b48; --tone-300:#eac5a8; --tone-100:#f9eadd; --tone-50:#fff8f1;
}
html[data-palette="amber"] {
  --tone-900:#29220e; --tone-800:#443818; --tone-700:#625020; --tone-600:#80651c;
  --tone-500:#a28a44; --tone-300:#dfcf96; --tone-100:#f3edcf; --tone-50:#fffbef;
}
html[data-palette="olive"] {
  --tone-900:#1c2412; --tone-800:#303e20; --tone-700:#44552a; --tone-600:#5a6a32;
  --tone-500:#84945c; --tone-300:#cad5a8; --tone-100:#eaf0db; --tone-50:#f9fbf2;
}
html[data-palette="sky"] {
  --tone-900:#112733; --tone-800:#1a3e50; --tone-700:#20516a; --tone-600:#28627f;
  --tone-500:#5895b4; --tone-300:#b6dcea; --tone-100:#e1f1f8; --tone-50:#f4fbff;
}
html[data-palette="indigo"] {
  --tone-900:#1b1b36; --tone-800:#2a2e54; --tone-700:#373d73; --tone-600:#474d94;
  --tone-500:#737bb8; --tone-300:#c5c9ec; --tone-100:#e9eafb; --tone-50:#f8f8ff;
}
html[data-palette] {
  --page-text:var(--tone-900); --page-muted:var(--tone-700); --page-accent:var(--tone-600);
  --bg:var(--tone-50); --bg-elevated:var(--tone-50); --surface:#fff; --surface-soft:var(--tone-100);
  --surface-2:var(--tone-100); --surface-glass:color-mix(in srgb,var(--tone-50) 94%,transparent);
  --text:var(--tone-900); --text-soft:var(--tone-700); --text-faint:var(--tone-700);
  --line:color-mix(in srgb,var(--tone-300) 65%,var(--tone-50)); --line-strong:var(--tone-500);
  --brand:var(--tone-600); --brand-strong:var(--tone-800); --brand-soft:var(--tone-100);
  --gold:var(--tone-700); --gold-soft:var(--tone-100); --ambient-ink:var(--tone-800);
  --aurora:var(--tone-300);
  --control-bg:var(--tone-50); --control-text:var(--tone-800); --control-border:var(--tone-500);
  --control-primary:var(--tone-800); --control-on-primary:var(--tone-50); --control-hover:var(--tone-100); --control-focus:var(--tone-600);
  --film-black:var(--tone-900); --film-forest:var(--tone-800); --film-green:var(--tone-700); --film-gold:var(--tone-300); --film-cream:var(--tone-50);
  --cinema-ink:var(--tone-900); --cinema-green:var(--tone-800); --cinema-mist:var(--tone-100);
  --on-dark:var(--tone-50); --on-dark-soft:var(--tone-100); --on-dark-faint:var(--tone-300);
  --on-cinema:var(--tone-50); --on-cinema-soft:var(--tone-100); --on-cinema-faint:var(--tone-300);
  --island-bg:var(--tone-800); --island-text:var(--tone-50); --island-muted:var(--tone-100);
  --island-line:var(--tone-500); --island-control:var(--tone-700); --island-control-hover:var(--tone-600);
}
html[data-palette][data-theme="dark"] {
  --page-text:var(--tone-50); --page-muted:var(--tone-100); --page-accent:var(--tone-300);
  --bg:var(--tone-900); --bg-elevated:var(--tone-800); --surface:color-mix(in srgb,var(--tone-900) 72%,var(--tone-800));
  --surface-soft:var(--tone-800); --surface-2:var(--tone-800); --surface-glass:color-mix(in srgb,var(--tone-900) 94%,transparent);
  --text:var(--tone-50); --text-soft:var(--tone-100); --text-faint:var(--tone-300);
  --line:var(--tone-700); --line-strong:var(--tone-500); --brand:var(--tone-300); --brand-strong:var(--tone-100); --brand-soft:var(--tone-800);
  --gold:var(--tone-300); --gold-soft:var(--tone-800);
  --control-bg:var(--tone-800); --control-text:var(--tone-50); --control-border:var(--tone-300);
  --control-primary:var(--tone-300); --control-on-primary:var(--tone-900); --control-hover:var(--tone-700); --control-focus:var(--tone-100);
}
html[data-palette] body { color:var(--page-text); transition:none; }
html[data-palette] :is(.hero,.film-hero,.page-head,.next-cover,.devotional-aside,.devotional-cinema,.devotional-media,.lesson-feature-cover,.resource-aside,.song-reader-hero,.faq-welcome,.activity-film,.activity-film-placeholder,.word-stage,.faith-interlude,.mobile-panel,.site-footer,.v18-today-card.primary,.worship-hero,.worship-command-panel.primary,.theme-song-feature,.mission-reader-hero,.about-logo-card,.developer-signature,.footer-callout,.footer-visit) {
  --text:var(--tone-50); --text-soft:var(--tone-100); --text-faint:var(--tone-300);
  --brand:var(--tone-300); --brand-strong:var(--tone-100); --gold:var(--tone-300);
  --control-bg:var(--tone-800); --control-text:var(--tone-50); --control-border:var(--tone-300);
  --control-primary:var(--tone-50); --control-on-primary:var(--tone-900); --control-hover:var(--tone-700); --control-focus:var(--tone-100);
  color:var(--tone-50); background-color:var(--tone-900); background-image:none;
}
html[data-palette] .film-hero-shade { background:linear-gradient(90deg,var(--tone-900),color-mix(in srgb,var(--tone-900) 80%,transparent)); }
html[data-palette] .film-hero-media { background:linear-gradient(115deg,var(--tone-900),var(--tone-700)); }
html[data-palette] .site-footer { background:var(--tone-900)!important; }
html[data-palette] :is(.hero,.film-hero,.page-head,.word-stage,.faith-interlude,.site-footer) :is(.eyebrow,.link-arrow,a:not(.btn)) { color:var(--tone-300)!important; }
html[data-palette] .site-footer :is(.footer-brand-lockup span,.footer-visit-row>.icon,.footer-visit-row small) { color:var(--tone-300); }
html[data-palette] .site-footer :is(address,.footer-tools button,.footer-link) { color:var(--tone-100)!important; }
html[data-palette] .site-footer .footer-bottom #footer-copy { color:var(--tone-100)!important; }
html[data-palette] .site-footer .footer-bottom .copyright-author { color:var(--tone-50)!important; }
html[data-palette] .word-stage .devotional-cinema { background:color-mix(in srgb,var(--tone-900) 85%,transparent)!important; }
html[data-palette] .about-logo-card { background:linear-gradient(150deg,var(--tone-900),var(--tone-800))!important; }
html[data-palette] .developer-signature { background:var(--tone-100)!important; color:var(--tone-900); }
html[data-palette] .developer-signature :is(p,.eyebrow,strong) { color:var(--tone-900)!important; }
html[data-palette] :is(.chip,.badge,.status-chip) { background:var(--surface-soft)!important; border-color:var(--line-strong)!important; color:var(--page-text)!important; }
html[data-palette] :is(.chip.brand,.badge.brand,.status-chip.brand) { background:var(--tone-800)!important; border-color:var(--tone-500)!important; color:var(--tone-50)!important; }
html[data-palette][data-theme="dark"] :is(.chip.brand,.badge.brand,.status-chip.brand) { background:var(--tone-300)!important; border-color:var(--tone-300)!important; color:var(--tone-900)!important; }
html[data-palette] .faith-interlude::before { background:linear-gradient(105deg,var(--tone-900),var(--tone-800) 70%,var(--tone-700)); }
html[data-palette] .faith-interlude::after { background:var(--tone-300); box-shadow:0 0 90px 24px color-mix(in srgb,var(--tone-300) 12%,transparent); }
html[data-palette] .faith-loader { --text:var(--page-text); --text-soft:var(--page-muted); --brand:var(--page-accent); color:var(--page-text); background:var(--surface); }
html[data-palette] .faith-interlude .faith-loader :is(strong,p,span) { color:var(--page-text)!important; }
html[data-palette] .faith-interlude .faith-loader p { color:var(--page-muted)!important; }
html[data-palette] #reader-dialog .song-reader-hero {
  --text:var(--page-text); --text-soft:var(--page-muted); --brand:var(--page-accent); --gold:var(--page-accent);
  color:var(--page-text)!important; background:linear-gradient(115deg,var(--surface),var(--surface-soft))!important; border-color:var(--line-strong)!important;
}
html[data-palette] #reader-dialog .song-reader-hero :is(h2,.song-reader-number) { color:var(--page-text)!important; }
html[data-palette] #reader-dialog .song-reader-hero::before { display:none!important; }
html[data-palette] #reader-dialog .song-reader-hero :is(h2,.song-reader-number) { text-shadow:none!important; }
html[data-palette] #reader-dialog .song-reader-hero :is(p,small,.song-reader-subtitle) { color:var(--page-muted)!important; }
html[data-palette] :is(.activity-film-copy,.visitor-story-copy,.hero-next,.footer-callout,.footer-visit) { background:var(--tone-900); }
html[data-palette] .visitor-story { background:var(--tone-800); border-color:var(--tone-500); }
html[data-palette] :is(.visitor-story-copy small,.hero-next .icon) { color:var(--tone-300); }
html[data-palette] .activity-film-copy :is(p,.film-meta) { color:var(--tone-100); }
html[data-palette] :is(.header-row,.mobile-panel) { background:var(--tone-800)!important; border-color:var(--tone-500)!important; }
html[data-palette] .header-row :is(.brand-tagline,.brand-name) { color:var(--tone-50)!important; }
html[data-palette] :is(.header-row,.mobile-panel) :is(.icon-button,.language-switcher,.mobile-nav button,.mobile-nav-icon) {
  color:var(--tone-50)!important; background:var(--tone-700)!important; border-color:var(--tone-300)!important;
}
html[data-palette] .header-row .mobile-toggle { color:var(--tone-900)!important; background:var(--tone-50)!important; }
html[data-palette] :is(.header-row,.mobile-panel) :focus-visible { outline-color:var(--tone-300); }
html[data-palette] .mobile-nav button:is(:hover,.active) { background:var(--tone-600)!important; }
html[data-palette] :is(.nav-link.active,.segmented button.active,.tab.active) { background:var(--control-primary)!important; color:var(--control-on-primary)!important; }
html[data-palette] :is(.reader-video,.media-cover,.media-unavailable,.loader,.photo-dialog) { background:var(--tone-900); color:var(--tone-100); }
html[data-palette] ::selection { color:var(--tone-50); background:var(--tone-700); }
.appearance-settings { grid-column:1/-1; }
.appearance-settings h2 { font-size:1.2rem; letter-spacing:-.02em; margin-bottom:8px; }
.palette-trigger { display:flex; align-items:center; gap:10px; min-height:48px; padding:12px 14px; border:1px solid var(--line-strong); border-radius:12px; background:var(--surface); color:var(--page-text); font:inherit; font-size:.9rem; font-weight:600; text-align:left; cursor:pointer; }
#settings-palette { width:min(100%,320px); margin-top:16px; }
.palette-trigger>.icon { width:16px; height:16px; margin-left:auto; transition:transform .18s ease; }
.palette-trigger[aria-expanded="true"]>.icon { transform:rotate(180deg); }
.palette-menu { --palette-bg:var(--surface); --palette-text:var(--page-text); --palette-hover:var(--surface-soft); --palette-line:var(--line-strong); position:fixed; inset:auto auto 12px 12px; box-sizing:border-box; width:min(340px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); overflow:auto; overscroll-behavior:contain; margin:0; padding:14px; border:1px solid var(--palette-line); border-radius:16px; color:var(--palette-text); background:var(--palette-bg); box-shadow:0 12px 36px #0003; opacity:0; transform:translateY(6px); transition:opacity .18s ease,transform .18s ease,display .18s allow-discrete,overlay .18s allow-discrete; }
.palette-menu:popover-open { opacity:1; transform:translateY(0); }
@starting-style { .palette-menu:popover-open { opacity:0; transform:translateY(6px); } }
.palette-menu>p { margin:0 8px 10px; font-size:.8rem; font-weight:600; color:var(--palette-text); }
.palette-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 8px; }
.palette-choice { min-width:0; min-height:44px; display:grid; grid-template-columns:18px minmax(0,1fr) 14px; align-items:center; gap:8px; padding:8px; border:0; border-radius:8px; background:var(--palette-bg); color:var(--palette-text); text-align:left; cursor:pointer; font:inherit; font-size:.8rem; font-weight:500; }
.palette-dot { display:block; flex-shrink:0; width:18px; height:18px; border-radius:50%; background:var(--swatch); box-shadow:inset 0 0 0 1px #ffffff40; }
.palette-trigger>.palette-dot { width:22px; height:22px; }
.palette-check { display:flex; opacity:0; }
.palette-check .icon { width:14px; height:14px; }
.palette-choice.active { background:var(--palette-hover); font-weight:650; }
.palette-choice.active .palette-check { opacity:1; }
.palette-choice:hover { background:var(--palette-hover); }
.palette-trigger:focus-visible,.palette-choice:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
@media(prefers-reduced-motion:reduce) { .palette-menu,.palette-trigger>.icon { transition:none; transform:none; } }
html[data-motion="reduced"] :is(.palette-menu,.palette-trigger>.icon) { transition:none; transform:none; }
.appearance-preview { display:flex; flex-direction:column; gap:8px; padding:20px; margin-top:16px; color:var(--tone-50); background:var(--tone-800); border-left:5px solid var(--tone-500); }
.appearance-preview span { font-size:.75rem; color:var(--tone-300); }
.appearance-preview strong { font-size:1.6rem; }
.appearance-preview small { color:var(--tone-100); }
.palette-reset { min-height:44px; padding:8px 0; background:none; border:0; color:var(--brand-strong); text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
html[data-palette] #presentation-shell {
  --screen-bg:var(--tone-900); --screen-raised:var(--tone-800); --screen-text:var(--tone-50); --screen-muted:var(--tone-100); --screen-accent:var(--tone-300);
  color:var(--screen-text); background:var(--screen-bg);
}
html[data-palette] #presentation-shell.is-light {
  --screen-bg:var(--tone-50); --screen-raised:var(--tone-100); --screen-text:var(--tone-900); --screen-muted:var(--tone-700); --screen-accent:var(--tone-600);
}
html[data-palette] #presentation-shell .presentation-frame { color:var(--screen-text); background:var(--screen-bg)!important; }
html[data-palette] #presentation-shell[data-presentation-kind="bible"] { --screen-art:var(--presentation-bg-bible); }
html[data-palette] #presentation-shell[data-presentation-kind="song"] { --screen-art:var(--presentation-bg-hymnal); }
html[data-palette] #presentation-shell:is([data-presentation-type="schedule"],[data-presentation-type="welcome"]) { --screen-art:var(--presentation-bg-schedule); }
html[data-palette] #presentation-shell .presentation-frame::before { background-image:linear-gradient(125deg,color-mix(in srgb,var(--screen-bg) 96%,transparent),color-mix(in srgb,var(--screen-raised) 92%,transparent)),var(--screen-art,none)!important; background-size:cover!important; background-position:center!important; filter:none!important; opacity:1!important; }
html[data-palette] #presentation-shell .presentation-frame::after { background:none!important; }
html[data-palette] #presentation-shell :is(.presentation-title,.presentation-copy,.presentation-brand,.presentation-stage h2,.presentation-stage h3,.presentation-stage strong,.presentation-stage dd,.presentation-stage li) { color:var(--screen-text)!important; text-shadow:none!important; }
html[data-palette] #presentation-shell :is(.presentation-kicker,.presentation-verse-label,.presentation-brand small,.presentation-footer,.presentation-stage p,.presentation-stage small,.presentation-stage dt,.presentation-stage span) { color:var(--screen-muted)!important; }
html[data-palette] #presentation-shell .presentation-footer :is(strong,.presentation-copy-text) { color:var(--screen-text)!important; font-weight:800!important; }
html[data-palette] #presentation-shell .presentation-footer .copyright-mark { color:var(--screen-text)!important; border-color:var(--screen-muted)!important; }
html[data-palette] #presentation-shell :is(.presentation-art,.presentation-context-art) { color:var(--screen-accent); }
html[data-palette] #presentation-shell :is(.presentation-schedule-overview-copy,.presentation-schedule-board,.presentation-schedule-sidebar,.presentation-operator-aside,.presentation-operator-panel,.presentation-operator-field,.presentation-connect-card,.presentation-reminder-aside) { color:var(--screen-text)!important; background:var(--screen-raised)!important; border-color:var(--screen-accent)!important; }
html[data-palette] #presentation-shell :is(.presentation-schedule,.presentation-operator-hero,.presentation-operator-fields,.presentation-operator-service-title,.presentation-screencheck,.presentation-screencheck-card,.presentation-announcement-priority,.presentation-refrain,.presentation-refrain-tag) { color:var(--screen-text)!important; background:var(--screen-raised)!important; border-color:var(--screen-accent)!important; }
html[data-palette] #presentation-shell .presentation-schedule::before { background:var(--screen-accent); }
html[data-palette] #presentation-shell :is(.presentation-reminder-copy,.presentation-connect-intro,.presentation-schedule-field,.presentation-schedule-countdown,.presentation-schedule-overview-art) { color:var(--screen-text)!important; background:var(--screen-raised)!important; border-color:var(--screen-accent)!important; }
html[data-palette] #presentation-shell :is(.presentation-schedule-sidebar-note::before,.presentation-schedule-subline i) { background:var(--screen-accent); }
html[data-palette] #presentation-shell :is(.presentation-schedule-heading,.presentation-schedule-subline,.presentation-schedule-sidebar-note) { color:var(--screen-text)!important; }
html[data-palette] #presentation-shell .page-turn-layer { --turn-paper:var(--screen-bg); }
html[data-palette] #presentation-shell .presentation-controls { color:var(--tone-50); background:var(--tone-900); border-color:var(--tone-500); }
html[data-palette] #presentation-shell .presentation-controls button { color:var(--tone-50); background:var(--tone-800); border-color:var(--tone-500); }
html[data-palette] #presentation-shell .presentation-controls button[aria-pressed="true"] { color:var(--tone-900); background:var(--tone-300); }
html[data-palette] #presentation-shell .presentation-counter { color:var(--tone-100); }
html[data-palette] #presentation-shell :is(.presentation-brand,.presentation-verse-label) { background:var(--screen-raised)!important; border-color:var(--screen-accent)!important; }
html[data-palette] #presentation-shell .presentation-brand strong { color:var(--screen-text)!important; }
html[data-palette] #presentation-shell .presentation-kicker::before { background:var(--screen-accent); }
.presentation-palette-label { display:flex; align-items:center; flex-shrink:0; }
html[data-palette] #presentation-shell #presentation-palette { display:flex; gap:8px; width:auto; max-width:180px; min-height:44px; padding:8px 10px; border:0!important; border-radius:0; background:transparent!important; box-shadow:none!important; color:var(--tone-50)!important; font-size:.8rem; font-weight:600; cursor:pointer; }
html[data-palette] #presentation-shell #presentation-palette .icon { width:15px; height:15px; }
#presentation-palette-menu { --palette-bg:var(--screen-bg); --palette-text:var(--screen-text); --palette-hover:var(--screen-raised); --palette-line:color-mix(in srgb,var(--screen-text) 24%,var(--screen-bg)); }
html[data-palette] #presentation-shell #presentation-palette-menu .palette-choice { display:grid; justify-items:start; width:100%; height:auto; min-height:44px; padding:8px; border:0; border-radius:8px; background:var(--palette-bg); color:var(--palette-text); font-size:.8rem; }
html[data-palette] #presentation-shell #presentation-palette-menu .palette-choice:is(.active,:hover) { background:var(--palette-hover); }
html[data-palette] #presentation-shell.presentation-controls-hidden .presentation-controls { opacity:0; transform:translateY(14px); pointer-events:none; }
.welcome-screen { width:100%; max-width:1100px; margin:auto; text-align:center; padding:2vh 3%; }
.welcome-screen h2 { font-family:Georgia,'Times New Roman',serif; font-size:calc(clamp(2rem,4.4vw,4.6rem)*var(--present-scale,1)); font-weight:400; line-height:1.15; letter-spacing:-.035em; text-wrap:balance; margin:26px 0 30px; }
.welcome-screen h2 em { font-weight:400; letter-spacing:-.025em; }
html[data-palette] #presentation-shell .welcome-screen h2 span { color:var(--screen-text)!important; }
.welcome-screen .welcome-message { font-size:calc(clamp(.85rem,1.3vw,1.2rem)*var(--present-scale,1)); line-height:1.5; text-wrap:balance; }
.welcome-screen .welcome-message>span { display:block; letter-spacing:.16em; text-transform:uppercase; }
.welcome-screen .welcome-message strong { display:block; margin-top:12px; font-family:Georgia,'Times New Roman',serif; font-size:calc(clamp(3rem,7.5vw,7.6rem)*var(--present-scale,1)); font-weight:700; line-height:1.08; letter-spacing:-.045em; text-wrap:balance; }
.welcome-screen .welcome-date { font-size:clamp(.7rem,1vw,.95rem); letter-spacing:.12em; text-transform:uppercase; }
.welcome-screen .welcome-reminder { max-width:38em; margin:clamp(24px,4vh,44px) auto 0; font-size:clamp(.85rem,1.35vw,1.25rem); line-height:1.6; text-wrap:balance; }
.welcome-screen .welcome-reminder::before { content:''; display:block; width:48px; height:1px; margin:0 auto 18px; background:var(--screen-accent); }
html[data-palette] #presentation-shell[data-presentation-type="welcome"] :is([data-presentation-prev],[data-presentation-next],.presentation-counter) { display:none; }
html[data-palette] #presentation-shell[data-presentation-type="welcome"] .presentation-stage { display:flex; align-items:center; justify-content:center; }
html[data-palette] #presentation-shell[data-presentation-type="welcome"] .presentation-head { display:none; }
html[data-palette] #presentation-shell[data-presentation-type="welcome"] .presentation-frame { container-type:size; }
html[data-palette] #presentation-shell[data-presentation-type="welcome"] .presentation-main { grid-template-rows:minmax(0,1fr); min-height:0!important; height:100%!important; padding-top:100px; }
html[data-palette] #presentation-shell[data-presentation-type="welcome"].is-projector .presentation-main { padding:14cqh 5cqw 12cqh!important; }
html[data-palette] #presentation-shell[data-presentation-type="welcome"].is-projector .presentation-stage { padding:0; overflow:hidden; }
html[data-palette] #presentation-shell[data-presentation-type="welcome"].is-projector .welcome-screen { padding:0; }
html[data-palette] #presentation-shell[data-presentation-type="welcome"].is-projector .welcome-screen h2 { font-size:calc(7cqh * var(--present-scale,1)); margin:2cqh 0 3cqh; }
html[data-palette] #presentation-shell[data-presentation-type="welcome"].is-projector .welcome-message strong { font-size:calc(12cqh * var(--present-scale,1)); margin-top:1.5cqh; }
html[data-palette] #presentation-shell[data-presentation-type="welcome"].is-projector .welcome-date { font-size:max(7px,1.7cqh); }
html[data-palette] #presentation-shell[data-presentation-type="welcome"].is-projector .welcome-message { font-size:calc(max(9px,2.7cqh) * var(--present-scale,1)); }
html[data-palette] #presentation-shell[data-presentation-type="welcome"].is-projector .welcome-reminder { margin-top:3cqh; font-size:max(8px,2cqh); }
html[data-palette] #presentation-shell[data-presentation-type="welcome"].is-projector .welcome-reminder::before { width:5cqw; margin-bottom:1.8cqh; }
html[data-palette] #presentation-shell[data-presentation-type="welcome"].is-projector .presentation-footer { bottom:3cqh!important; font-size:max(6px,1.2cqh); }
html[data-palette] #presentation-shell[data-presentation-type="welcome"].is-projector .copyright-mark { width:max(12px,2.5cqh); height:max(12px,2.5cqh); font-size:inherit; }
@media(max-width:820px) {
  html[data-palette] #presentation-shell[data-presentation-type="welcome"].is-projector .presentation-brand { transform:scale(.55); transform-origin:top right; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  html[data-motion="full"] :is(.activity-film,.visitor-story,.v18-quick) { transition:transform .18s ease,box-shadow .18s ease; }
  html[data-motion="full"] :is(.activity-film,.visitor-story,.v18-quick):hover { transform:translateY(-3px); box-shadow:var(--shadow-sm); }
}
@media(max-width:600px) {
  #presentation-palette { max-width:104px; min-height:44px; }
  html[data-palette] #presentation-shell .presentation-controls { max-width:calc(100% - 16px); flex-wrap:wrap; justify-content:center; gap:5px; }
  html[data-palette] #presentation-shell .presentation-controls button { min-width:40px; min-height:40px; }
  html[data-palette] #presentation-shell .presentation-footer { bottom:125px!important; }
  html[data-palette] #presentation-shell[data-presentation-type="welcome"] { --presentation-footer-reserve:125px; }
  .welcome-screen h2 { font-size:calc(clamp(1.85rem,7vw,2.7rem)*var(--present-scale,1)); }
  .welcome-screen .welcome-message strong { font-size:calc(clamp(2.8rem,11vw,4.5rem)*var(--present-scale,1)); }
  .palette-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Panel menu menjadi bagian dari bingkai navbar. */
html[data-palette] .navigation-surface { width:min(1220px,calc(100% - 32px)); margin:0 auto; overflow:hidden; border:1px solid var(--tone-500); border-radius:36px; background:var(--tone-800); box-shadow:0 12px 32px #0002; transition:border-radius .28s ease; }
html[data-palette] .site-header .navigation-surface .header-row { width:100%!important; max-width:none!important; margin:0; border:0!important; border-radius:0!important; box-shadow:none!important; }
html[data-palette].mobile-menu-open .navigation-surface { border-radius:28px; }
html[data-palette] .site-header #mobile-panel { position:relative!important; inset:auto!important; z-index:auto!important; width:100%; height:auto!important; max-height:0!important; padding:0!important; border:0!important; clip-path:none!important; transform:none!important; visibility:hidden!important; opacity:1!important; overflow:auto!important; transition:max-height .38s cubic-bezier(.22,.7,.2,1),visibility .38s!important; }
html[data-palette] .site-header #mobile-panel.open { max-height:min(72dvh,760px)!important; visibility:visible!important; }
html[data-palette] #mobile-panel::before { display:none; }
html[data-palette] #mobile-panel .mobile-nav { padding:24px 24px 32px!important; border-top:1px solid var(--tone-500); gap:28px; }
html[data-palette] #mobile-panel .mobile-nav::before { display:none; }
html[data-palette] #mobile-panel .mobile-nav button { min-height:60px; }
html[data-palette] #mobile-panel .mobile-nav-copy strong { white-space:normal; overflow-wrap:anywhere; }
@media(max-width:600px) {
  html[data-palette] .navigation-surface { width:calc(100% - 12px); }
  html[data-palette] #mobile-panel .mobile-nav { padding:18px 12px 24px!important; }
}
@media(prefers-reduced-motion:reduce) {
  html[data-palette] .navigation-surface,html[data-palette] .site-header #mobile-panel { transition:none!important; }
}
html[data-motion="reduced"] .navigation-surface,html[data-motion="reduced"] .site-header #mobile-panel { transition:none!important; }
