@font-face { font-family: "Mukta"; font-weight: 400; font-display: swap; src: url(fonts/mukta-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta"; font-weight: 400; font-display: swap; src: url(fonts/mukta-devanagari-400-normal.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Mukta"; font-weight: 700; font-display: swap; src: url(fonts/mukta-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta"; font-weight: 700; font-display: swap; src: url(fonts/mukta-devanagari-700-normal.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url(fonts/baloo-2-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url(fonts/baloo-2-devanagari-700-normal.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }

:root {
  --maroon: #7a1420;
  --maroon-mid: #5f0f1b;
  --maroon-dark: #3f0912;
  --gold: #f7b500;
  --gold-light: #ffe08a;
  --gold-deep: #d98a00;
  --gold-soft: #fff4d6;
  --saffron: #ea580c;
  --navy: #161f4d;
  --cream: #fff8ec;
  --ink: #2a1a12;
  --muted: #72594a;
  --line: #f0e3cf;
  --white: #ffffff;
  --green: #137a45;
  --green-soft: #dcf5e6;
  --red: #b42323;
  --red-soft: #fde8e4;
  --amber: #8a5a00;
  --amber-soft: #fff0c9;
  --shadow-sm: 0 2px 8px rgba(79, 12, 23, .08);
  --shadow: 0 10px 28px rgba(79, 12, 23, .14);
  --shadow-gold: 0 8px 22px rgba(217, 138, 0, .42);
  --display: "Baloo 2", "Mukta", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip;
  background: var(--cream); color: var(--ink);
  font-family: "Mukta", system-ui, -apple-system, "Segoe UI", "Nirmala UI", sans-serif;
  font-size: 17px; line-height: 1.5;
}
main { flex: 1; width: 100%; }

h1, h2 { font-family: var(--display); font-weight: 700; color: var(--maroon-dark); }
h1 { font-size: 1.65rem; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.3rem; line-height: 1.25; margin: 0 0 14px; }
p { margin: 0 0 10px; }
a { color: var(--maroon); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.wrap { position: relative; max-width: 540px; margin: 0 auto; padding: 18px 16px 28px; }
.wrap.home { max-width: 1060px; padding-top: 0; }
.wrap.wide { max-width: 1160px; }

/* inner customer pages sit on a festive band */
.is-customer:not(.is-home)::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 250px; z-index: -1;
  background: url(mandala.svg) right -70px top -60px / 340px no-repeat, linear-gradient(160deg, var(--maroon) 0%, var(--maroon-dark) 70%, var(--navy) 130%);
}
.is-customer:not(.is-home) .wrap > .card:first-child, .is-customer:not(.is-home) .flash + .card { margin-top: 26px; }

/* header */
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 8px 14px;
  padding: 8px 16px; background: rgba(255, 255, 255, .96); border-bottom: 3px solid var(--gold); box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--maroon-dark); font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.1; text-decoration: none; min-width: 0; }
.logo { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--gold); }
.nav { display: flex; align-items: center; gap: 4px 12px; font-size: .98rem; flex: none; }
.nav form { margin: 0; }
.nav a, .linklike { display: inline-flex; align-items: center; gap: 5px; padding: 6px 2px; color: var(--maroon); text-decoration: none; font-weight: 700; }
.linklike { background: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.nav a:hover, .linklike:hover { color: var(--saffron); }
.nav .lang { padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); border: 1px solid var(--gold); color: var(--maroon-dark); }
.has-tabbar .nav-account { display: none; }
.is-customer .nav .linklike span { display: none; }

/* hero */
.hero {
  position: relative; overflow: hidden; margin: 0 calc(50% - 50vw) 0; padding: 62px 20px 64px; text-align: center; color: var(--white);
  background:
    radial-gradient(circle at 50% 30%, rgba(247, 181, 0, .32) 0, rgba(247, 181, 0, 0) 46%),
    url(mandala.svg) center 24px / 560px no-repeat,
    linear-gradient(170deg, #8f1826 0%, var(--maroon-dark) 58%, var(--navy) 100%);
  border-radius: 0 0 50% 50% / 0 0 34px 34px;
}
.garland { position: absolute; top: 0; left: 0; right: 0; height: 58px; background: url(garland.svg) center top / 120px 58px repeat-x; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .35)); }
.hero-inner { position: relative; max-width: 620px; margin: 0 auto; }
.hero-logo { display: block; width: 158px; height: 158px; margin: 0 auto 10px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 3px var(--gold), 0 0 34px 8px rgba(247, 181, 0, .5); animation: logo-glow 2.8s ease-in-out infinite; }
.hero h1 {
  margin: 0; padding-top: .08em; font-size: clamp(2.4rem, 10.500vw, 4rem); line-height: 1.22;
  background: linear-gradient(180deg, #fff6c2 0%, var(--gold) 52%, #e08600 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .35));
}
.hero-since { margin: 0 0 2px; font-size: .95rem; color: var(--gold-light); letter-spacing: .04em; }
.hero-since span::before, .hero-since span::after { content: "✦"; margin: 0 8px; font-size: .75em; }
.hero-alt { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: var(--white); }
.hero-offer {
  position: relative; overflow: hidden; display: inline-block; margin: 0 0 12px; padding: 7px 24px 4px; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1.3; color: var(--white);
  background: linear-gradient(90deg, #a3202f, #c2261f, #a3202f); border: 2px solid var(--gold); box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
.hero-offer::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); animation: shine 3.6s ease-in-out infinite; }
.hero-sub { font-size: 1.08rem; color: #ffeed2; }
.hero-dates { display: grid; gap: 10px; margin: 16px 0 20px; text-align: left; }
.hero-dates > div { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(63, 9, 18, .55); border: 1px solid rgba(247, 181, 0, .55); }
.hero-dates .icon { width: 28px; height: 28px; color: var(--gold); }
.hero-dates dt { font-size: .86rem; color: var(--gold-light); line-height: 1.2; }
.hero-dates dd { margin: 0; font-weight: 700; font-size: 1.06rem; line-height: 1.3; }
.cta { display: grid; gap: 10px; }

/* sparkles */
.spark { position: absolute; width: 16px; height: 16px; background: var(--gold-light); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: twinkle 2.6s ease-in-out infinite; }
.s1 { top: 86px; left: 9%; } .s2 { top: 150px; right: 10%; width: 22px; height: 22px; animation-delay: .6s; }
.s3 { top: 290px; left: 6%; width: 12px; height: 12px; animation-delay: 1.2s; } .s4 { top: 96px; right: 24%; width: 11px; height: 11px; animation-delay: 1.7s; }
.s5 { top: 410px; right: 6%; width: 14px; height: 14px; animation-delay: .9s; } .s6 { top: 200px; left: 22%; width: 9px; height: 9px; animation-delay: 2s; }

.diya-glow { opacity: .28; animation: glow 2.2s ease-in-out infinite; transform-origin: 60px 42px; }
.diya-flame { animation: flicker 1.5s ease-in-out infinite; transform-origin: 60px 58px; }

@keyframes logo-glow { 50% { box-shadow: 0 0 0 3px var(--gold), 0 0 48px 14px rgba(247, 181, 0, .68); } }
@keyframes shine { 0%, 55% { left: -40%; } 100% { left: 120%; } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(25deg); } }
@keyframes glow { 0%, 100% { opacity: .2; transform: scale(.94); } 50% { opacity: .4; transform: scale(1.06); } }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(-1.500deg); } 35% { transform: scale(1.05, .96) rotate(1.500deg); } 70% { transform: scale(.97, 1.05) rotate(-.5deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ring-in { from { stroke-dasharray: 0 326.7; } }

/* section title */
.section-title { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 30px 0 18px; text-align: center; font-size: 1.5rem; }
.section-title::before, .section-title::after { content: ""; flex: 1; max-width: 90px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.section-title::after { transform: scaleX(-1); }

/* slabs */
.slab-grid { display: grid; gap: 14px; }
.slab {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; color: var(--white);
  background: linear-gradient(120deg, var(--maroon) 0%, var(--maroon-dark) 100%); border: 2px solid var(--gold); box-shadow: var(--shadow); animation: rise .5s ease both;
}
.slab-2 { background: linear-gradient(120deg, #912a0f 0%, #5c1407 100%); animation-delay: .08s; }
.slab-3 { background: linear-gradient(120deg, #1f2c6b 0%, var(--navy) 100%); animation-delay: .16s; }
.slab-free { position: absolute; top: 12px; right: -30px; width: 110px; padding: 1px 0; text-align: center; transform: rotate(38deg); background: var(--gold); color: var(--maroon-dark); font-weight: 700; font-size: .78rem; }
.slab-art { flex: none; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8df 0%, var(--gold) 100%); box-shadow: 0 0 0 4px rgba(255, 255, 255, .16); }
.gift-art { width: 68px; height: 68px; }
.slab-kicker { margin: 0; font-size: .88rem; color: var(--gold-light); }
.slab-range { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.42rem; line-height: 1.15; color: var(--gold); }
.slab-gift { margin: 4px 0 0; font-weight: 700; font-size: 1.04rem; line-height: 1.25; }
.rules { display: grid; gap: 6px; margin: 16px 0 0; }
.rules p { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--muted); }
.rules .icon { margin-top: 3px; }
.rules .icon { color: var(--saffron); }

.home-columns { display: grid; gap: 16px; margin-top: 24px; }

/* cards */
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.home-columns .card { margin-bottom: 0; }
.card-badge { display: grid; place-items: center; width: 62px; height: 62px; margin: -50px auto 8px; border-radius: 50%; color: var(--maroon-dark); font-size: 1.45rem; background: linear-gradient(145deg, var(--gold-light), var(--gold)); border: 4px solid var(--white); box-shadow: var(--shadow-sm); }
.card-title { text-align: center; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-bottom: 16px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; border-left: 2px dashed var(--gold); }
.timeline p { margin: 8px 0 0; }
.tl-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--white); background: linear-gradient(145deg, var(--saffron), var(--maroon)); }

.visit-address { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; }
.visit-address .icon { color: var(--saffron); margin-top: 3px; }
.contact-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 0; border-top: 1px dashed var(--line); }
.contact-row span { font-weight: 700; font-size: 1.08rem; margin-right: auto; }

/* forms */
label { display: block; font-weight: 700; margin: 14px 0 5px; }
input:not([type=checkbox]):not([type=file]), textarea, select {
  width: 100%; padding: 12px 14px; font: inherit; color: inherit; background: #fffdf8; border: 1.5px solid #e5d4bb; border-radius: 12px; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--maroon) !important; box-shadow: 0 0 0 3px rgba(247, 181, 0, .4); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; }
.check input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--maroon); flex: none; }
.hint { color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
.field-error { color: var(--red); font-size: .94rem; font-weight: 700; margin: 5px 0 0; }
.alt { margin-top: 14px; text-align: center; }
.muted { color: var(--muted); }
.note { color: var(--muted); }

.sr-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; padding: 26px 16px; text-align: center; font-weight: 400; cursor: pointer; color: var(--maroon-dark); border: 2px dashed var(--gold-deep); border-radius: 16px; background: var(--gold-soft); transition: background .15s; }
.dropzone:hover { background: #ffecb8; }
.sr-file:focus-visible + .dropzone { outline: 3px solid var(--navy); outline-offset: 2px; }
.dropzone .icon { width: 42px; height: 42px; color: var(--saffron); }
.dropzone strong { font-size: 1.06rem; }
.preview { display: block; max-width: 100%; max-height: 300px; margin: 12px auto 0; border-radius: 12px; box-shadow: var(--shadow-sm); }
.preview[hidden] { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 18px; padding: 13px 20px; text-decoration: none;
  font: inherit; font-weight: 700; font-size: 1.06rem; color: var(--white); background: linear-gradient(135deg, #982032, var(--maroon-dark)); border: 0; border-radius: 13px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(79, 12, 23, .3); transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.cta .btn { margin-top: 0; }
.btn-gold { color: var(--maroon-dark); background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-deep) 100%); box-shadow: var(--shadow-gold); }
.btn-outline { background: rgba(255, 255, 255, .08); color: var(--white); border: 1.5px solid rgba(255, 255, 255, .75); box-shadow: none; }
.btn-ghost { width: auto; margin: 0; background: var(--white); color: var(--maroon); border: 1.5px solid var(--maroon); box-shadow: none; }
.btn-small { width: auto; margin: 0; padding: 7px 13px; font-size: .95rem; border-radius: 10px; }
.btn-call { background: var(--navy); box-shadow: none; }
.btn-wa { background: #128c4b; box-shadow: none; }
.btn-danger { background: linear-gradient(135deg, #c62d2d, #8f1a1a); }
.btn-green { background: linear-gradient(135deg, #1a9558, #0e6339); }

.flash { padding: 11px 14px; border-radius: 12px; margin-bottom: 12px; font-weight: 700; box-shadow: var(--shadow-sm); }
.flash-success { background: var(--green-soft); color: var(--green); }
.flash-error { background: var(--red-soft); color: var(--red); }
.flash-warn { background: var(--amber-soft); color: var(--amber); }

/* dashboard */
.score {
  position: relative; overflow: hidden; margin-bottom: 16px; padding: 20px; border-radius: 22px; color: var(--white);
  background: url(mandala.svg) right -80px bottom -90px / 300px no-repeat, linear-gradient(150deg, #8f1826 0%, var(--maroon-dark) 72%, var(--navy) 130%);
  border: 2px solid var(--gold); box-shadow: var(--shadow); animation: rise .45s ease both;
}
.score-hello { font-size: 1.08rem; color: var(--gold-light); }
.score-main { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.ring { position: relative; flex: none; width: 104px; height: 104px; }
.ring svg { width: 100%; height: 100%; }
.ring-track, .ring-fill { fill: none; stroke-width: 11; }
.ring-track { stroke: rgba(255, 255, 255, .16); }
.ring-fill { stroke: var(--gold); stroke-linecap: round; animation: ring-in 1.1s ease-out both; }
.ring-value { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.45rem; }
.total-label { margin: 0; color: #ffeed2; line-height: 1.25; }
.total-value { margin: 0; font-family: var(--display); font-weight: 700; font-size: 2.35rem; line-height: 1.1; color: var(--gold); }
.score-next { font-size: 1.05rem; }
.reached { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 12px; font-weight: 700; color: var(--maroon-dark); background: linear-gradient(90deg, var(--gold-light), var(--gold)); }
.score-pending { display: flex; align-items: center; gap: 7px; margin: 0 0 4px; color: #ffeed2; }
.score .btn { margin-top: 12px; }

.journey { position: relative; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; padding: 0; text-align: center; }
.journey::before { content: ""; position: absolute; left: 16%; right: 16%; top: 35px; border-top: 3px dotted var(--gold); }
.journey li { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.journey-art { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 6px; border-radius: 50%; background: var(--white); border: 3px solid var(--line); }
.journey-art .gift-art { width: 50px; height: 50px; }
.journey strong { font-family: var(--display); font-size: 1.08rem; color: var(--maroon-dark); }
.journey small { font-size: .84rem; color: var(--muted); }
.journey-done .journey-art { background: radial-gradient(circle at 35% 30%, #fff8df, var(--gold)); border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(247, 181, 0, .3); }
.journey-next .journey-art { border-color: var(--saffron); }
.journey-locked .gift-art { filter: grayscale(1); opacity: .5; }
.journey-locked strong, .journey-locked small { opacity: .75; }

.empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 0; color: var(--muted); }
.empty .icon { width: 42px; height: 42px; color: var(--gold-deep); }
.empty p { margin: 0; }
.bill-list { list-style: none; margin: 0; padding: 0; }
.bill-list li { display: flex; gap: 12px; padding: 12px; margin-bottom: 10px; border-radius: 14px; background: #fffdf8; border: 1px solid var(--line); border-left: 5px solid var(--gold); }
.bill-list li:last-child { margin-bottom: 0; }
.bill-list li.bill-approved { border-left-color: var(--green); }
.bill-list li.bill-rejected { border-left-color: var(--red); }
.bill-list p { margin: 0 0 2px; }
.bill-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bill-top strong { font-family: var(--display); font-size: 1.25rem; color: var(--maroon-dark); }
.thumb img { display: block; width: 66px; height: 66px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.bill-body { flex: 1; min-width: 0; }
.reject-text { color: var(--red); font-weight: 700; }
.badge { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.badge-pending { background: var(--amber-soft); color: var(--amber); }
.badge-approved { background: var(--green-soft); color: var(--green); }
.badge-rejected { background: var(--red-soft); color: var(--red); }

.steps { margin: 0; padding-left: 22px; }
.steps li { margin-bottom: 9px; }
.steps li::marker { color: var(--saffron); font-weight: 700; }

/* footer and tab bar */
.footer { padding: 22px 16px; text-align: center; font-size: .95rem; color: #f3dfc9; background: linear-gradient(170deg, var(--maroon-dark), var(--navy)); border-top: 3px solid var(--gold); }
.footer p { margin: 0 0 3px; }
.footer-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--gold); }
.footer a { color: var(--gold-light); }
.has-tabbar .footer { padding-bottom: 92px; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: var(--white); border-top: 2px solid var(--gold); box-shadow: 0 -6px 18px rgba(79, 12, 23, .15);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--muted); font-size: .84rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
.tabbar a.active { color: var(--maroon); }
.tabbar .icon { width: 24px; height: 24px; }
.tabbar .tab-main .icon { box-sizing: content-box; width: 26px; height: 26px; margin-top: -26px; padding: 13px; border-radius: 50%; color: var(--maroon-dark); background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); border: 4px solid var(--white); box-shadow: var(--shadow-gold); }

/* admin */
.is-admin { background: #f7f3ee; }
.is-admin .topbar { flex-wrap: wrap; background: linear-gradient(100deg, var(--maroon-dark), var(--navy)); }
.is-admin .brand { color: var(--gold); }
.is-admin .nav { flex-wrap: wrap; }
.is-admin .nav a, .is-admin .linklike { padding: 6px 12px; border-radius: 10px; color: #f8e9d6; }
.is-admin .nav a:hover, .is-admin .linklike:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.is-admin .nav a.active { background: var(--gold); color: var(--maroon-dark); }
.is-admin .nav a.lang { padding: 4px 12px; background: transparent; border-color: var(--gold); color: var(--gold-light); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.stat p { margin: 0; line-height: 1.25; }
.stat-icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; color: var(--white); font-size: 1.3rem; background: linear-gradient(145deg, var(--saffron), var(--maroon)); }
.stat:nth-child(2) .stat-icon { background: linear-gradient(145deg, #3350b8, var(--navy)); }
.stat:nth-child(3) .stat-icon { background: linear-gradient(145deg, #1a9558, #0e6339); }
.stat .num { font-family: var(--display); font-weight: 700; font-size: 1.9rem; color: var(--maroon-dark); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 11px 10px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .86rem; color: var(--muted); background: #fdf7ec; }
tbody tr:hover { background: #fffaf0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tabs a { padding: 6px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 700; }
.tabs a.active { background: var(--maroon); color: var(--white); border-color: var(--maroon); }
.searchbar { display: flex; gap: 8px; margin-bottom: 12px; }
.searchbar .btn { width: auto; margin: 0; }
.pager { display: flex; gap: 8px; margin-top: 12px; }
.review { display: grid; gap: 16px; }
.review-photo { padding: 12px; }
.review-photo img { display: block; width: 100%; border-radius: 12px; }
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.slab-row { display: grid; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.slab-row label { margin-top: 0; }

@media (min-width: 760px) {
  .hero { padding: 70px 20px 76px; }
  .hero-dates { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr 1fr; max-width: 460px; margin: 0 auto; }
  .slab-grid { grid-template-columns: repeat(3, 1fr); }
  .slab { flex-direction: column; text-align: center; padding: 24px 16px; }
  .slab-art { width: 124px; height: 124px; }
  .slab-art .gift-art { width: 92px; height: 92px; }
  .rules { grid-template-columns: 1fr 1fr; }
  .rules p { justify-content: center; }
  .home-columns { grid-template-columns: 1fr 1fr; }
  .review { grid-template-columns: 3fr 2fr; align-items: start; }
  .slab-row { grid-template-columns: 1fr 2fr 2fr; }
  .has-tabbar .nav-account { display: inline-flex; }
  .is-customer .nav .linklike span { display: inline; }
  .tabbar { display: none; }
  .has-tabbar .footer { padding-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
