/* Khujand Deluxe Hotel — 5 Modern Luxury Color Systems
   1. obsidian   — Night Obsidian & Champagne Gold (Bulgari / Ritz-Carlton Reserve)
   2. ivory      — Sunlit Travertine & Antique Bronze (Aman / Rosewood Light)
   3. emerald    — Syr Darya Emerald & Brass (Raffles / Mandarin Oriental)
   4. sapphire   — Midnight Sapphire & Platinum (Four Seasons / Park Hyatt)
   5. sandstone  — Khujand Silk & Terracotta (Six Senses / Edition Warm Light) */

/* Smooth theme transition */
body, .sec, .room-card, .calc-box-wrap, .dining-box, .svc-cell, .contact-box, .t2027-wrap, .topbar {
  transition: background-color 0.35s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ══ 03 · SYR DARYA EMERALD & BRASS ══ */
[data-theme="emerald"] {
  --bg: #071311;
  --bg-warm: #0B1B18;
  --surface: #0F231F;
  --surface-hi: #16302B;
  --ivory: #F2F6F3;
  --muted: rgba(235, 244, 239, 0.68);
  --faint: rgba(235, 244, 239, 0.44);
  --line: rgba(214, 232, 222, 0.11);
  --line-soft: rgba(214, 232, 222, 0.18);
  --gold: #D2AF6B;
  --gold-hi: #ECD096;
  --gold-deep: #9B7B3C;
  --gold-grad: linear-gradient(135deg, #EAD097 0%, #CFA964 52%, #AD8644 100%);
  --gold-grad-hover: linear-gradient(135deg, #F5DFAF 0%, #DFBC7A 55%, #C09A56 100%);
  --card-grad: linear-gradient(180deg, rgba(18, 42, 37, 0.94) 0%, rgba(10, 25, 22, 0.98) 100%);
  --glass-bg: rgba(9, 24, 21, 0.78);
  --sheen: inset 0 1px 0 rgba(230, 255, 244, 0.09);
  --shadow-lg: 0 24px 60px rgba(2, 10, 8, 0.62);
  --shadow-card: 0 14px 36px rgba(2, 10, 8, 0.48);
  --shadow-gold: 0 10px 28px rgba(210, 175, 107, 0.28);
}
[data-theme="emerald"] .sec {
  background: radial-gradient(ellipse 70% 35% at 50% 0%, rgba(44, 152, 124, 0.12) 0%, transparent 70%), var(--bg);
}
[data-theme="emerald"] .sec--alt {
  background: radial-gradient(ellipse 75% 40% at 50% 0%, rgba(210, 175, 107, 0.09) 0%, transparent 72%), var(--bg-warm);
}
[data-theme="emerald"] .topbar.is-scrolled { background: rgba(7, 20, 17, 0.92); border-bottom-color: rgba(210, 175, 107, 0.2); }
[data-theme="emerald"] .calc-foot { background: linear-gradient(160deg, rgba(210, 175, 107, 0.13) 0%, rgba(8, 22, 19, 0.92) 100%); }
[data-theme="emerald"] .bm-summary { background: linear-gradient(180deg, #0D221E 0%, #071412 100%); }
[data-theme="emerald"] .rv-calc { background: rgba(6, 17, 15, 0.72); }

/* ══ 04 · MIDNIGHT SAPPHIRE & PLATINUM ══ */
[data-theme="sapphire"] {
  --bg: #070D19;
  --bg-warm: #0C1425;
  --surface: #111C31;
  --surface-hi: #182742;
  --ivory: #F2F5FA;
  --muted: rgba(232, 239, 252, 0.68);
  --faint: rgba(232, 239, 252, 0.44);
  --line: rgba(210, 224, 250, 0.11);
  --line-soft: rgba(210, 224, 250, 0.18);
  --gold: #CBB082;
  --gold-hi: #E6D2AC;
  --gold-deep: #967D52;
  --gold-grad: linear-gradient(135deg, #E8D5B0 0%, #CBB082 52%, #A88D5E 100%);
  --gold-grad-hover: linear-gradient(135deg, #F3E4C5 0%, #DAC194 55%, #BC9F6F 100%);
  --card-grad: linear-gradient(180deg, rgba(22, 35, 59, 0.94) 0%, rgba(12, 20, 36, 0.98) 100%);
  --glass-bg: rgba(10, 17, 32, 0.78);
  --sheen: inset 0 1px 0 rgba(230, 240, 255, 0.1);
  --shadow-lg: 0 24px 60px rgba(2, 6, 16, 0.65);
  --shadow-card: 0 14px 36px rgba(2, 6, 16, 0.48);
  --shadow-gold: 0 10px 28px rgba(203, 176, 130, 0.28);
}
[data-theme="sapphire"] .sec {
  background: radial-gradient(ellipse 70% 35% at 50% 0%, rgba(72, 118, 204, 0.14) 0%, transparent 70%), var(--bg);
}
[data-theme="sapphire"] .sec--alt {
  background: radial-gradient(ellipse 75% 40% at 50% 0%, rgba(203, 176, 130, 0.09) 0%, transparent 72%), var(--bg-warm);
}
[data-theme="sapphire"] .topbar.is-scrolled { background: rgba(8, 14, 27, 0.92); border-bottom-color: rgba(203, 176, 130, 0.22); }
[data-theme="sapphire"] .calc-foot { background: linear-gradient(160deg, rgba(203, 176, 130, 0.13) 0%, rgba(9, 15, 29, 0.92) 100%); }
[data-theme="sapphire"] .bm-summary { background: linear-gradient(180deg, #101B30 0%, #080E1B 100%); }
[data-theme="sapphire"] .rv-calc { background: rgba(7, 13, 25, 0.72); }

/* ══ SHARED ARCHITECTURAL LIGHT FOUNDATION (02 IVORY & 05 SANDSTONE) ══ */
[data-theme="ivory"], [data-theme="sandstone"] {
  --sheen: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --shadow-lg: 0 24px 60px rgba(28, 22, 16, 0.12);
  --shadow-card: 0 10px 28px rgba(28, 22, 16, 0.08);
}

/* ══ 02 · SUNLIT TRAVERTINE & ANTIQUE BRONZE (AMAN LIGHT) ══ */
[data-theme="ivory"] {
  --bg: #F6F2EB;
  --bg-warm: #EDE6DB;
  --surface: #FFFFFF;
  --surface-hi: #FAF7F2;
  --ivory: #1C1814;
  --muted: rgba(28, 24, 20, 0.64);
  --faint: rgba(28, 24, 20, 0.44);
  --line: rgba(28, 24, 20, 0.1);
  --line-soft: rgba(28, 24, 20, 0.16);
  --gold: #9A7234;
  --gold-hi: #876126;
  --gold-deep: #6E4E1C;
  --gold-grad: linear-gradient(135deg, #B8914E 0%, #9E7738 55%, #846128 100%);
  --gold-grad-hover: linear-gradient(135deg, #C7A05D 0%, #AE8544 55%, #946E32 100%);
  --card-grad: linear-gradient(180deg, #FFFFFF 0%, #FBF8F3 100%);
  --glass-bg: rgba(246, 242, 235, 0.88);
  --shadow-gold: 0 10px 26px rgba(154, 114, 52, 0.24);
}

/* ══ 05 · KHUJAND SILK & TERRACOTTA (WARM ARCHITECTURAL LIGHT) ══ */
[data-theme="sandstone"] {
  --bg: #F3ECE2;
  --bg-warm: #E8DDD0;
  --surface: #FCF9F4;
  --surface-hi: #F6EFE6;
  --ivory: #231915;
  --muted: rgba(35, 25, 21, 0.65);
  --faint: rgba(35, 25, 21, 0.45);
  --line: rgba(35, 25, 21, 0.11);
  --line-soft: rgba(35, 25, 21, 0.18);
  --gold: #A0422C;
  --gold-hi: #8B3420;
  --gold-deep: #722716;
  --gold-grad: linear-gradient(135deg, #BA543A 0%, #9E3F29 55%, #84311E 100%);
  --gold-grad-hover: linear-gradient(135deg, #CA6349 0%, #B04B34 55%, #953B26 100%);
  --card-grad: linear-gradient(180deg, #FDFBF7 0%, #F7F1E8 100%);
  --glass-bg: rgba(243, 236, 226, 0.9);
  --shadow-gold: 0 10px 26px rgba(160, 66, 44, 0.25);
}

/* Light-Theme Complete Component Harmonization */
[data-theme="ivory"] .topbar:not(.is-scrolled),
[data-theme="sandstone"] .topbar:not(.is-scrolled) {
  color: #F6F0E6;
  background: linear-gradient(180deg, rgba(16, 12, 10, 0.62) 0%, rgba(16, 12, 10, 0.18) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
[data-theme="ivory"] .topbar:not(.is-scrolled) .wordmark-sub,
[data-theme="sandstone"] .topbar:not(.is-scrolled) .wordmark-sub { color: #E8CD96; }
[data-theme="ivory"] .topbar:not(.is-scrolled) .nav-links a,
[data-theme="sandstone"] .topbar:not(.is-scrolled) .nav-links a { color: rgba(255, 250, 242, 0.85); }
[data-theme="ivory"] .topbar:not(.is-scrolled) .inline-switch,
[data-theme="sandstone"] .topbar:not(.is-scrolled) .inline-switch {
  background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.18);
}
[data-theme="ivory"] .topbar:not(.is-scrolled) .inline-switch button,
[data-theme="sandstone"] .topbar:not(.is-scrolled) .inline-switch button { color: rgba(255, 250, 242, 0.72); }
[data-theme="ivory"] .topbar:not(.is-scrolled) .inline-switch button.is-active,
[data-theme="sandstone"] .topbar:not(.is-scrolled) .inline-switch button.is-active {
  background: rgba(255, 255, 255, 0.24); color: #FFFBF2;
}
[data-theme="ivory"] .topbar:not(.is-scrolled) .burger,
[data-theme="sandstone"] .topbar:not(.is-scrolled) .burger {
  background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22);
}
[data-theme="ivory"] .topbar:not(.is-scrolled) .burger span,
[data-theme="sandstone"] .topbar:not(.is-scrolled) .burger span { background: #FFFBF2; }

[data-theme="ivory"] .topbar.is-scrolled,
[data-theme="sandstone"] .topbar.is-scrolled {
  background: rgba(250, 246, 240, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(28, 22, 16, 0.08);
  color: var(--ivory);
}
[data-theme="ivory"] .topbar.is-scrolled .inline-switch,
[data-theme="sandstone"] .topbar.is-scrolled .inline-switch {
  background: rgba(28, 24, 20, 0.05); border-color: var(--line);
}
[data-theme="ivory"] .topbar.is-scrolled .inline-switch button.is-active,
[data-theme="sandstone"] .topbar.is-scrolled .inline-switch button.is-active {
  background: var(--gold-grad); color: #FFFBF5;
}
[data-theme="ivory"] .topbar.is-scrolled .burger,
[data-theme="sandstone"] .topbar.is-scrolled .burger {
  background: rgba(28, 24, 20, 0.05); border-color: var(--line-soft);
}

/* Keep Hero Cinema typography luminous ivory over the dark video vignette */
[data-theme="ivory"] .hero, [data-theme="sandstone"] .hero { background: #0C0A09; color: #F5EFE4; }
[data-theme="ivory"] .hero .kicker, [data-theme="sandstone"] .hero .kicker { color: #E8CD96; }
[data-theme="ivory"] .hero .kicker::before, [data-theme="sandstone"] .hero .kicker::before {
  background: linear-gradient(90deg, #E8CD96, #C9A362);
}
[data-theme="ivory"] .hero .ov-stat-num, [data-theme="sandstone"] .hero .ov-stat-num {
  background: linear-gradient(180deg, #F8E8C4 0%, #D4AC67 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="ivory"] .hero .chapter-rail button::after,
[data-theme="sandstone"] .hero .chapter-rail button::after {
  background: linear-gradient(90deg, #E8CD96, #C9A362);
}

/* Light Sections & Ambient Sunlit Wash */
[data-theme="ivory"] .sec {
  background: radial-gradient(ellipse 70% 35% at 50% 0%, rgba(184, 145, 78, 0.08) 0%, transparent 70%), var(--bg);
}
[data-theme="ivory"] .sec--alt {
  background: radial-gradient(ellipse 75% 40% at 50% 0%, rgba(154, 114, 52, 0.07) 0%, transparent 72%), var(--bg-warm);
}
[data-theme="sandstone"] .sec {
  background: radial-gradient(ellipse 70% 35% at 50% 0%, rgba(160, 66, 44, 0.07) 0%, transparent 70%), var(--bg);
}
[data-theme="sandstone"] .sec--alt {
  background: radial-gradient(ellipse 75% 40% at 50% 0%, rgba(160, 66, 44, 0.06) 0%, transparent 72%), var(--bg-warm);
}

/* Light Buttons, Segmented Bars & Cards */
[data-theme="ivory"] .btn-sharp,
[data-theme="sandstone"] .btn-sharp {
  background: rgba(28, 24, 20, 0.045); border-color: var(--line-soft); color: var(--ivory);
}
[data-theme="ivory"] .btn-sharp:hover,
[data-theme="sandstone"] .btn-sharp:hover {
  background: rgba(28, 24, 20, 0.09); border-color: var(--gold); color: var(--ivory);
}
[data-theme="ivory"] .btn-sharp--gold,
[data-theme="sandstone"] .btn-sharp--gold {
  background: var(--gold-grad); border-color: transparent; color: #FFFDF9;
}
[data-theme="ivory"] .btn-sharp--gold:hover,
[data-theme="sandstone"] .btn-sharp--gold:hover {
  background: var(--gold-grad-hover); color: #FFFFFF;
}

[data-theme="ivory"] .tab-line,
[data-theme="sandstone"] .tab-line {
  background: rgba(28, 24, 20, 0.055); border-color: var(--line);
}
[data-theme="ivory"] .tab-line button.is-active,
[data-theme="sandstone"] .tab-line button.is-active {
  background: var(--gold-grad); color: #FFFDF9;
  box-shadow: 0 4px 14px rgba(28, 22, 16, 0.16);
}

[data-theme="ivory"] .room-card,
[data-theme="sandstone"] .room-card {
  border-color: rgba(28, 24, 20, 0.09);
}
[data-theme="ivory"] .room-card:hover,
[data-theme="sandstone"] .room-card:hover {
  border-color: var(--gold);
  box-shadow: 0 22px 48px rgba(28, 22, 16, 0.14);
}
[data-theme="ivory"] .room-photo::after,
[data-theme="sandstone"] .room-photo::after { display: none; }

/* Light Event Configurator */
[data-theme="ivory"] .calc-box-wrap,
[data-theme="sandstone"] .calc-box-wrap,
[data-theme="ivory"] .dining-box,
[data-theme="sandstone"] .dining-box,
[data-theme="ivory"] .contact-box,
[data-theme="sandstone"] .contact-box,
[data-theme="ivory"] .t2027-wrap,
[data-theme="sandstone"] .t2027-wrap,
[data-theme="ivory"] .svc-cell,
[data-theme="sandstone"] .svc-cell {
  border-color: rgba(28, 24, 20, 0.1);
}
[data-theme="ivory"] .calc-head, [data-theme="sandstone"] .calc-head,
[data-theme="ivory"] .calc-line, [data-theme="sandstone"] .calc-line,
[data-theme="ivory"] .dc-row, [data-theme="sandstone"] .dc-row,
[data-theme="ivory"] .room-foot, [data-theme="sandstone"] .room-foot {
  border-color: rgba(28, 24, 20, 0.09);
}
[data-theme="ivory"] .calc-presets button,
[data-theme="sandstone"] .calc-presets button,
[data-theme="ivory"] .menu-pill,
[data-theme="sandstone"] .menu-pill,
[data-theme="ivory"] .dining-metrics > div,
[data-theme="sandstone"] .dining-metrics > div,
[data-theme="ivory"] .rv-chip,
[data-theme="sandstone"] .rv-chip,
[data-theme="ivory"] .social-pill,
[data-theme="sandstone"] .social-pill {
  background: rgba(28, 24, 20, 0.04); border-color: rgba(28, 24, 20, 0.11);
}
[data-theme="ivory"] .cb-seg,
[data-theme="sandstone"] .cb-seg {
  background: rgba(28, 24, 20, 0.06); border-color: rgba(28, 24, 20, 0.1);
}
[data-theme="ivory"] .cb-btn.is-active,
[data-theme="sandstone"] .cb-btn.is-active {
  background: var(--gold-grad); color: #FFFDF9;
}
[data-theme="ivory"] .gold-toggle,
[data-theme="sandstone"] .gold-toggle {
  background: rgba(28, 24, 20, 0.15); border-color: rgba(28, 24, 20, 0.14);
}
[data-theme="ivory"] .gold-toggle::after,
[data-theme="sandstone"] .gold-toggle::after { background: #FFFFFF; }
[data-theme="ivory"] .calc-line.is-on .gold-toggle::after,
[data-theme="sandstone"] .calc-line.is-on .gold-toggle::after { background: #FFFFFF; }
[data-theme="ivory"] .calc-foot,
[data-theme="sandstone"] .calc-foot {
  background: linear-gradient(160deg, rgba(154, 114, 52, 0.1) 0%, rgba(28, 24, 20, 0.03) 100%);
  border-top-color: rgba(28, 24, 20, 0.1);
}
[data-theme="sandstone"] .calc-foot {
  background: linear-gradient(160deg, rgba(160, 66, 44, 0.09) 0%, rgba(35, 25, 21, 0.03) 100%);
}
[data-theme="ivory"] .menu-list,
[data-theme="sandstone"] .menu-list {
  background: rgba(28, 24, 20, 0.04); border-color: rgba(28, 24, 20, 0.09); color: var(--ivory);
}

/* Light Inputs, Steppers & Modals */
[data-theme="ivory"] .fg input, [data-theme="ivory"] .fg select,
[data-theme="sandstone"] .fg input, [data-theme="sandstone"] .fg select {
  background: #FFFFFF; border-color: rgba(28, 24, 20, 0.18); color: var(--ivory); color-scheme: light;
}
[data-theme="ivory"] .fg select option,
[data-theme="sandstone"] .fg select option { background: #FFFFFF; color: var(--ivory); }
[data-theme="ivory"] .bm-stepper,
[data-theme="sandstone"] .bm-stepper {
  background: #FFFFFF; border-color: rgba(28, 24, 20, 0.18);
}
[data-theme="ivory"] .rv-guest-row,
[data-theme="sandstone"] .rv-guest-row {
  background: #FFFFFF; border-color: rgba(28, 24, 20, 0.14);
}
[data-theme="ivory"] .rv-calc,
[data-theme="sandstone"] .rv-calc {
  background: rgba(28, 24, 20, 0.035); border-color: rgba(28, 24, 20, 0.12);
}
[data-theme="ivory"] .rv-total-box,
[data-theme="sandstone"] .rv-total-box,
[data-theme="ivory"] .bm-receipt,
[data-theme="sandstone"] .bm-receipt {
  background: rgba(154, 114, 52, 0.09); border-color: rgba(154, 114, 52, 0.28);
}
[data-theme="sandstone"] .rv-total-box,
[data-theme="sandstone"] .bm-receipt {
  background: rgba(160, 66, 44, 0.08); border-color: rgba(160, 66, 44, 0.25);
}
[data-theme="ivory"] .bm-var-btn,
[data-theme="sandstone"] .bm-var-btn,
[data-theme="ivory"] .bm-transfer-card,
[data-theme="sandstone"] .bm-transfer-card,
[data-theme="ivory"] .bm-perks,
[data-theme="sandstone"] .bm-perks {
  background: rgba(28, 24, 20, 0.04); border-color: rgba(28, 24, 20, 0.12);
}
[data-theme="ivory"] .bm-var-btn.is-active,
[data-theme="sandstone"] .bm-var-btn.is-active,
[data-theme="ivory"] .bm-transfer-card.is-on,
[data-theme="sandstone"] .bm-transfer-card.is-on {
  background: rgba(154, 114, 52, 0.12); border-color: var(--gold);
}
[data-theme="ivory"] .bm-summary,
[data-theme="sandstone"] .bm-summary {
  background: var(--bg-warm); border-right-color: var(--line);
}
[data-theme="ivory"] .rv-close,
[data-theme="sandstone"] .rv-close {
  background: rgba(255, 255, 255, 0.92); color: var(--ivory); border-color: rgba(28, 24, 20, 0.18);
}
[data-theme="ivory"] .rv-close:hover,
[data-theme="sandstone"] .rv-close:hover { background: var(--gold-grad); color: #FFFFFF; }
[data-theme="ivory"] .rv-bar, [data-theme="sandstone"] .rv-bar {
  background: #14110F; color: rgba(245, 239, 228, 0.84);
}
[data-theme="ivory"] .rv-thumbs, [data-theme="sandstone"] .rv-thumbs {
  background: #1C1815;
}
[data-theme="ivory"] .rv-zoom-btn,
[data-theme="sandstone"] .rv-zoom-btn,
[data-theme="ivory"] .rv-arrow,
[data-theme="sandstone"] .rv-arrow {
  background: rgba(14, 11, 9, 0.84);
  border-color: rgba(245, 232, 208, 0.24);
  color: #F5EFE4;
}
[data-theme="ivory"] .rv-zoom-btn svg,
[data-theme="sandstone"] .rv-zoom-btn svg,
[data-theme="ivory"] #rvCnt,
[data-theme="sandstone"] #rvCnt {
  color: #E6CB96;
}
[data-theme="ivory"] .rv-zoom-btn:hover,
[data-theme="sandstone"] .rv-zoom-btn:hover {
  background: rgba(24, 19, 15, 0.94);
  border-color: #E6CB96;
  color: #FFFFFF;
}
[data-theme="ivory"] .rv-arrow:hover,
[data-theme="sandstone"] .rv-arrow:hover {
  background: var(--gold-grad);
  border-color: transparent;
  color: #FFFFFF;
}
[data-theme="ivory"] .lightbox .rv-close,
[data-theme="sandstone"] .lightbox .rv-close {
  background: rgba(20, 16, 13, 0.88);
  border-color: rgba(245, 232, 208, 0.28);
  color: #F5EFE4;
}
[data-theme="ivory"] .lightbox .rv-close:hover,
[data-theme="sandstone"] .lightbox .rv-close:hover {
  background: var(--gold-grad);
  border-color: transparent;
  color: #FFFFFF;
}
[data-theme="ivory"] .mob-drawer .inline-switch,
[data-theme="sandstone"] .mob-drawer .inline-switch {
  background: rgba(28, 24, 20, 0.06);
  border-color: var(--line-soft);
}
[data-theme="ivory"] .mob-drawer .inline-switch button.is-active,
[data-theme="sandstone"] .mob-drawer .inline-switch button.is-active {
  background: var(--gold-grad);
  color: #FFFDF9;
}
[data-theme="ivory"] .t2027 th, [data-theme="sandstone"] .t2027 th,
[data-theme="ivory"] .t2027 tr:last-child td, [data-theme="sandstone"] .t2027 tr:last-child td {
  background: rgba(154, 114, 52, 0.09);
}
[data-theme="sandstone"] .t2027 th, [data-theme="sandstone"] .t2027 tr:last-child td {
  background: rgba(160, 66, 44, 0.09);
}
[data-theme="ivory"] .svc-ico, [data-theme="sandstone"] .svc-ico {
  background: rgba(154, 114, 52, 0.12);
}
[data-theme="sandstone"] .svc-ico { background: rgba(160, 66, 44, 0.11); }

/* Clean Light Map on Light Themes */
[data-theme="ivory"] .map-frame iframe,
[data-theme="sandstone"] .map-frame iframe {
  filter: saturate(0.72) contrast(1.02) sepia(0.12);
}
[data-theme="ivory"] .map-bar,
[data-theme="sandstone"] .map-bar {
  background: rgba(255, 252, 247, 0.94); border-color: rgba(28, 24, 20, 0.14);
  box-shadow: 0 12px 30px rgba(28, 22, 16, 0.16); color: var(--ivory);
}

/* ══ FLOATING 5-THEME DESIGN PICKER BAR ══ */
.theme-dock {
  position: fixed; right: 20px; bottom: 20px; z-index: 620;
  display: flex; align-items: center; gap: 6px; padding: 7px 10px;
  border-radius: 14px;
  background: rgba(14, 11, 9, 0.88);
  border: 1px solid rgba(204, 168, 107, 0.34);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.55);
  color: #F5EFE4;
}
.theme-dock-lbl {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: #E6CB96; padding: 0 6px 0 4px; white-space: nowrap;
}
.theme-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 10px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid transparent;
  color: rgba(245, 239, 228, 0.72); font-size: 11px; font-weight: 500;
  transition: all 0.2s var(--ease); white-space: nowrap;
}
.theme-btn:hover { background: rgba(255, 255, 255, 0.11); color: #FFFFFF; }
.theme-btn.is-active {
  background: rgba(204, 168, 107, 0.2); border-color: #E6CB96; color: #FFFFFF;
}
.theme-btn .t-short { display: none; }
.theme-swatch {
  width: 15px; height: 15px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.theme-hide {
  width: 26px; height: 26px; border-radius: 7px;
  color: rgba(245, 239, 228, 0.55); font-size: 16px; display: grid; place-items: center;
  margin-left: 2px;
}
.theme-hide:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.1); }
.theme-dock.is-mini .theme-dock-lbl,
.theme-dock.is-mini .theme-btn,
.theme-dock.is-mini .theme-hide { display: none; }
.theme-open {
  display: none; align-items: center; gap: 6px; padding: 6px 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #E6CB96;
}
.theme-dock.is-mini .theme-open { display: inline-flex; }

@media (max-width: 820px) {
  .hero-inner { padding-bottom: 102px; }
  .site-footer { padding-bottom: 98px; }
  .theme-dock {
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 28px;
    gap: 4px; padding: 6px; border-radius: 16px;
  }
  .theme-dock.is-mini {
    left: auto; right: 12px; display: inline-flex; padding: 6px 10px;
  }
  .theme-dock-lbl { display: none; }
  .theme-btn {
    flex-direction: column; justify-content: center; gap: 4px;
    padding: 6px 2px; border-radius: 10px; font-size: 9.5px; letter-spacing: 0.01em;
    min-width: 0; text-align: center;
  }
  .theme-btn .t-full { display: none; }
  .theme-btn .t-short { display: block; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .theme-swatch { width: 18px; height: 18px; }
  .theme-hide { width: 28px; height: 100%; min-height: 40px; margin-left: 0; font-size: 17px; }
}
