@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
* { scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
*::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===================== Theme palettes ===================== */
:root {
  --primary: #0369a1;
  --primary-dark: #075985;
  --primary-light: #e0f2fe;
  --accent: #06b6d4;
  --accent-light: #cffafe;
  --bg: #f0f9ff;
  --bg-alt: #e0f2fe;
  --surface: #ffffff;
  --soft: #e0f2fe;
  --border: #bae6fd;
  --ink: #0c2340;
  --ink-soft: #475569;
  --ink-faint: #94a3b8;
  --on-primary: #ffffff;
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(135deg, #0c2340 0%, #0369a1 50%, #06b6d4 100%);
  --hero-overlay: rgba(12, 35, 64, 0.4);
  --hero-text: #ffffff;
  --shadow-sm: 0 1px 3px rgba(3, 105, 161, 0.08);
  --shadow-md: 0 4px 16px rgba(3, 105, 161, 0.1);
  --shadow-lg: 0 12px 40px rgba(3, 105, 161, 0.15);
}
html[data-theme="midnight"] {
  --primary: #0891b2;
  --primary-dark: #155e75;
  --primary-light: #164e63;
  --accent: #22d3ee;
  --accent-light: #0e7490;
  --bg: #0f0f17;
  --bg-alt: #18181b;
  --surface: #1e1e2a;
  --soft: #27272f;
  --border: #3f3f52;
  --ink: #f4f4f5;
  --ink-soft: #a1a1aa;
  --ink-faint: #71717a;
  --on-primary: #0f0f17;
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(135deg, #0a0a0f 0%, #18181b 50%, #1e3a5f 100%);
  --hero-overlay: rgba(10, 10, 15, 0.5);
  --hero-text: #f4f4f5;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
}
html[data-theme="sunset"] {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-light: #fed7aa;
  --accent: #fbbf24;
  --accent-light: #fef3c7;
  --bg: #fffbeb;
  --bg-alt: #fef3c7;
  --surface: #ffffff;
  --soft: #fef3c7;
  --border: #fde68a;
  --ink: #431407;
  --ink-soft: #7c2d12;
  --ink-faint: #9a3412;
  --on-primary: #ffffff;
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(135deg, #431407 0%, #c2410c 50%, #fbbf24 100%);
  --hero-overlay: rgba(67, 20, 7, 0.4);
  --hero-text: #ffffff;
  --shadow-sm: 0 1px 3px rgba(234, 88, 12, 0.08);
  --shadow-md: 0 4px 16px rgba(234, 88, 12, 0.1);
  --shadow-lg: 0 12px 40px rgba(234, 88, 12, 0.15);
}

/* ===================== Layout & components ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--primary);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; max-width: 1140px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-logo { height: 48px; width: auto; border-radius: var(--radius); }
.brand-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; }
.brand-name span { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link { color: var(--ink); font-weight: 600; font-size: 0.92rem; padding: 8px 14px; border-radius: 8px; transition: color .15s, background .15s; }
.nav-link:hover { text-decoration: none; background: var(--soft); color: var(--primary); }
.nav-link.active { color: var(--primary); background: var(--soft); }
.nav-cta { background: var(--primary); color: #fff !important; border-radius: 8px; padding: 9px 22px; transition: background .15s; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.85rem; }
.nav-cta:hover { background: var(--primary-dark); }
.nav-cta.active { background: var(--primary-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px 8px; border-radius: 10px; }
.nav-toggle:hover { background: var(--soft); }
.nav-toggle span { display: block; width: 24px; height: 2.5px; border-radius: 999px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.hero { position: relative; padding: 110px 24px 120px; text-align: center; overflow: hidden; background: var(--hero-gradient); background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 22px 22px; }
.hero-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; color: var(--hero-text); }
.hero h1 { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; margin-bottom: 14px; text-transform: uppercase; letter-spacing: -0.01em; }
.hero .tagline { font-size: 1.2rem; opacity: 0.9; margin-bottom: 10px; font-weight: 500; }
.hero .desc { font-size: 1rem; opacity: 0.8; margin-bottom: 28px; }
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-cta a { padding: 14px 32px; border-radius: var(--radius); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em; }
.hero-cta .primary { background: var(--accent); color: var(--ink) !important; }
.hero-cta .primary:hover { text-decoration: none; filter: brightness(1.08); }
.hero-cta .ghost { border: 2px solid rgba(255,255,255,0.6); color: #fff !important; }
.hero-cta .ghost:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

/* Notice ticker */
.notice-bar { background: var(--accent); color: var(--ink); padding: 0; overflow: hidden; }
.notice-bar-inner { display: flex; align-items: center; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.notice-label { flex-shrink: 0; font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 8px 14px 8px 0; }
.notice-track { overflow: hidden; flex: 1; position: relative; }
.notice-items { display: flex; gap: 32px; white-space: nowrap; animation: marquee 30s linear infinite; }
.notice-items a { color: var(--ink); font-size: 0.88rem; font-weight: 500; }
.notice-items a:hover { text-decoration: underline; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow { display: inline-block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 8px; }
.section-head h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 12px; text-transform: uppercase; }
.section-head p { color: var(--ink); opacity: 0.75; }

.card-grid { display: grid; gap: 24px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 22px; }
.card-body h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 8px; text-transform: uppercase; }
.card-body p { font-size: 0.92rem; color: var(--ink-soft); }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { display: inline-block; font-size: 0.75rem; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--soft); color: var(--primary); font-weight: 600; }
.price-tag { font-family: var(--font-head); font-size: 1.3rem; color: var(--primary); font-weight: 700; }
.duration-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 0.85rem; color: var(--ink-faint); font-weight: 600; }

/* Wash package cards */
.pkg-card { border: 2px solid var(--border); position: relative; }
.pkg-card.featured { border-color: var(--primary); }
.pkg-card.featured::before { content: "POPULAR"; position: absolute; top: -1px; right: 20px; background: var(--primary); color: var(--on-primary); font-family: var(--font-head); font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: 0 0 var(--radius) var(--radius); text-transform: uppercase; letter-spacing: 0.06em; }
.pkg-features { list-style: none; padding: 0; margin: 16px 0 0; }
.pkg-features li { font-size: 0.88rem; padding: 6px 0 6px 24px; position: relative; color: var(--ink-soft); }
.pkg-features li::before { content: "\2713"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* Service cards */
.svc-card .card-body h3 { font-size: 1.15rem; }
.svc-card .card-body .price-range { font-family: var(--font-head); color: var(--primary); font-weight: 700; font-size: 1.1rem; }

/* Membership cards */
.mem-card { text-align: center; border: 2px solid var(--border); }
.mem-card.featured { border-color: var(--primary); box-shadow: var(--shadow-md); }
.mem-card .mem-price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--primary); margin: 8px 0; }
.mem-card .mem-price small { font-size: 0.9rem; font-weight: 400; color: var(--ink-faint); }
.mem-card .mem-credits { font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 16px; }
.mem-card .perks { list-style: none; padding: 0; margin: 16px 0; text-align: left; }
.mem-card .perks li { font-size: 0.88rem; padding: 6px 0 6px 24px; position: relative; color: var(--ink-soft); }
.mem-card .perks li::before { content: "\2713"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* Add-on chips */
.addon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.addon-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: box-shadow .2s, transform .2s; }
.addon-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.addon-item .addon-name { font-weight: 700; font-size: 0.95rem; }
.addon-item .addon-desc { font-size: 0.82rem; color: var(--ink-faint); margin-top: 2px; }
.addon-item .addon-price { font-family: var(--font-head); color: var(--primary); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }

/* Testimonials */
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.testimonial .stars { color: #f59e0b; margin-bottom: 12px; font-size: 1rem; letter-spacing: 2px; }
.testimonial .text { font-style: italic; margin-bottom: 16px; color: var(--ink-soft); }
.testimonial .author { font-weight: 700; font-size: 0.9rem; }
.testimonial .vehicle { font-size: 0.82rem; color: var(--ink-faint); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; padding: 0; overflow: hidden; }
.faq-list summary { padding: 18px 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); transition: transform .2s; flex-shrink: 0; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 20px 18px; color: var(--ink-soft); }
.faq-list .rich p { margin-bottom: 8px; }

/* Rich text */
.rich p { margin-bottom: 12px; }
.rich h2 { font-family: var(--font-head); font-size: 1.5rem; margin: 20px 0 10px; text-transform: uppercase; }
.rich h3 { font-family: var(--font-head); font-size: 1.25rem; margin: 16px 0 8px; }
.rich ul, .rich ol { margin: 0 0 12px 20px; }
.rich li { margin-bottom: 4px; }
.rich blockquote { border-left: 4px solid var(--accent); padding: 8px 16px; margin: 12px 0; background: var(--soft); border-radius: 0 8px 8px 0; font-style: italic; }

/* Page hero */
.page-hero { background: var(--hero-gradient); padding: 64px 24px 56px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin-bottom: 8px; text-transform: uppercase; }
.page-hero p { color: rgba(255,255,255,0.85); }
.breadcrumbs { display: flex; gap: 8px; justify-content: center; font-size: 0.85rem; margin-top: 16px; }
.breadcrumbs a { color: rgba(255,255,255,0.8); }
.breadcrumbs a:hover { color: #fff; }

/* Detail page */
.detail-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.detail-images .main-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 12px; }
.detail-images .main-img img { width: 100%; height: 360px; object-fit: cover; }
.detail-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-thumbs button { border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; padding: 0; background: none; transition: border-color .15s; }
.detail-thumbs button:hover { border-color: var(--primary); }
.detail-thumbs button.active { border-color: var(--primary); }
.detail-thumbs img { width: 80px; height: 60px; object-fit: cover; display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.spec-table th { font-weight: 700; color: var(--ink); width: 40%; font-size: 0.9rem; }
.spec-table td { color: var(--ink-soft); font-size: 0.9rem; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-wrap { max-width: 640px; margin: 0 auto; }
.form-grid { display: grid; gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
input, textarea, select { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem; background: var(--bg); color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
textarea { resize: vertical; min-height: 100px; }
.btn { display: inline-block; background: var(--primary); color: #fff !important; padding: 13px 32px; border-radius: var(--radius); font-weight: 700; border: none; cursor: pointer; font-size: 0.95rem; transition: background .15s; text-transform: uppercase; letter-spacing: 0.03em; }
.btn:hover { background: var(--primary-dark); text-decoration: none; }
.success-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 24px; text-align: center; }
.success-box h3 { color: #15803d; margin-bottom: 8px; }
.error-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; color: #b91c1c; font-weight: 600; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; }
.consent-row input { width: auto; margin-top: 4px; }
.consent-row label { font-size: 0.85rem; font-weight: 400; margin: 0; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; padding: 20px 12px 10px; font-size: 0.85rem; }

/* Pager */
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--border); border-radius: 8px; font-weight: 600; font-size: 0.9rem; }
.pager a:hover { background: var(--soft); text-decoration: none; }
.pager .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 48px 0 0; }
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px; padding: 0 24px 40px; max-width: 1140px; margin: 0 auto; }
.footer-col h3 { font-family: var(--font-head); color: #fff; font-size: 1.05rem; margin-bottom: 12px; text-transform: uppercase; }
.footer-col p { font-size: 0.88rem; margin-bottom: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { font-size: 0.88rem; }
.all-link { font-weight: 600; color: var(--accent) !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 24px; text-align: center; font-size: 0.82rem; max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px; }
/* Powered by Krittim — https://krittim.in */
.footer-bottom .footer-sep { margin: 0 6px; opacity: 0.5; }
.powered-by { opacity: .8; }
.powered-by a { color: inherit; text-decoration: none; }
.powered-by a:hover { text-decoration: underline; opacity: 1; }
.social-links { display: flex; gap: 8px; margin-top: 8px; }
.social-link { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,0.1); transition: background .15s; }
.social-link:hover { background: rgba(255,255,255,0.2); text-decoration: none; }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 100; }
.wa-float:hover { background: #1ebe5b; text-decoration: none; }
.wa-float svg { width: 28px; height: 28px; }

/* CTA band */
.cta-band { background: var(--hero-gradient); padding: 64px 24px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 12px; text-transform: uppercase; }
.cta-band p { opacity: 0.85; margin-bottom: 24px; }
.cta-band a { display: inline-block; background: var(--accent); color: var(--ink) !important; padding: 14px 36px; border-radius: var(--radius); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.cta-band a:hover { text-decoration: none; filter: brightness(1.08); }

/* Responsive */
@media (max-width: 900px) {
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .detail-wrap { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .addon-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 8px; gap: 0; }
  .nav.open { display: flex; }
  .nav-link { width: 100%; }
  .nav-toggle { display: block; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .notice-items { animation-duration: 20s; }
}

/* ===================== Theme switcher ===================== */
.theme-btn {
  position: fixed; bottom: 92px; right: 24px; z-index: 110;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--primary); color: var(--on-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: background .15s, transform .15s;
}
.theme-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.theme-btn svg { width: 24px; height: 24px; }
.theme-panel {
  position: fixed; bottom: 156px; right: 24px; z-index: 120;
  width: 280px; max-width: calc(100vw - 32px);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 16px;
  display: none; text-align: left;
}
.theme-panel.open { display: block; }
.theme-panel h3 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; text-transform: uppercase; }
.theme-panel .theme-sub { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 12px; }
.theme-card {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: var(--soft); border: 2px solid transparent; border-radius: var(--radius);
  padding: 10px 12px; margin-bottom: 8px; cursor: pointer;
  font-family: var(--font-body); color: var(--ink); transition: border-color .15s, background .15s;
}
.theme-card:hover { background: color-mix(in srgb, var(--soft) 60%, var(--primary-light)); }
.theme-card.active { border-color: var(--primary); background: var(--primary-light); }
.theme-swatches { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.theme-swatches .sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); }
.theme-card .t-name { font-weight: 700; font-size: 0.9rem; }
.theme-card .t-desc { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.35; }
.theme-note { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 0.72rem; color: var(--ink-faint); line-height: 1.4; }

@media (max-width: 640px) {
  .theme-panel { right: 16px; bottom: 148px; }
  .theme-btn { right: 16px; bottom: 88px; }
}