:root {
  --ink: #0B0A09; --ink-2: #15130F; --ink-3: #201C17; --line: rgba(243,236,224,.12);
  --ivory: #F3ECE0; --dim: rgba(243,236,224,.6); --gold: #C9A46A; --gold-hi: #E6C68F; --ember: #E2583E; --green: #7DBB88;
  --ease: cubic-bezier(.16,1,.3,1); --spring: cubic-bezier(.34,1.56,.64,1);
  --serif: 'Fraunces', Georgia, serif; --sans: 'Inter Tight', system-ui, sans-serif; --mono: 'JetBrains Mono', monospace;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: #000; color: var(--ivory); font: 400 15px/1.45 var(--sans); -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
em { font-style: italic; color: var(--gold-hi); }

.app { position: relative; max-width: 440px; height: 100dvh; margin: 0 auto; background: var(--ink); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.screen { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: calc(18px + var(--safe-t)) 18px calc(110px + var(--safe-b)); scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }

.screen.is-enter > *:nth-child(2) { animation-delay: .05s; } .screen.is-enter > *:nth-child(3) { animation-delay: .1s; }
.screen.is-enter > *:nth-child(4) { animation-delay: .15s; } .screen.is-enter > *:nth-child(5) { animation-delay: .2s; }
.screen.is-enter > *:nth-child(n+6) { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* splash */
.splash { position: absolute; inset: 0; z-index: 50; background: #000; display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s; }
.splash.is-gone { opacity: 0; visibility: hidden; }
.splash__glow { position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,106,.5), rgba(226,88,62,.15) 35%, transparent 60%); animation: glow 2.2s var(--ease) both; }
@keyframes glow { from { transform: scale(.2); opacity: 0; } }
.splash__bar { position: absolute; left: 0; right: 0; height: 50%; background: #000; z-index: 1; animation: bars 1.6s .4s var(--ease) both; }
.splash__bar--t { top: 0; } .splash__bar--b { bottom: 0; }
@keyframes bars { to { height: 14%; } }
.splash__logo { position: relative; z-index: 2; font: 400 40px/1 var(--serif); letter-spacing: .3em; text-align: center; animation: logo 1.4s .7s var(--ease) both; }
.splash__logo small { display: block; margin-top: 12px; color: var(--gold); letter-spacing: .4em; }
@keyframes logo { from { opacity: 0; letter-spacing: .8em; filter: blur(10px); } }

/* top bar */
.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.top h1 { font: 300 30px/1.05 var(--serif); margin: 4px 0 0; letter-spacing: -.01em; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: conic-gradient(from 200deg, var(--gold), var(--ember), var(--gold)); padding: 2px; }
.avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--ink-3); font: 500 15px var(--serif); }
.back { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; }
.h2 { font: 300 22px/1.1 var(--serif); margin: 28px 0 14px; display: flex; justify-content: space-between; align-items: baseline; }
.h2 .mono { color: var(--gold); }

/* countdown hero card */
.hero-card { position: relative; border-radius: 26px; overflow: hidden; padding: 22px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate;
  background: radial-gradient(circle at 80% 10%, rgba(201,164,106,.65), transparent 50%), radial-gradient(circle at 10% 90%, rgba(226,88,62,.35), transparent 50%), var(--ink-3); }
.hero-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, transparent 0 3px, rgba(0,0,0,.08) 3px 4px); }
.hero-card h2 { font: 300 28px/1.05 var(--serif); margin: 8px 0 0; }
.flip { display: flex; gap: 8px; margin-top: 18px; }
.flip div { flex: 1; background: rgba(0,0,0,.45); border-radius: 12px; padding: 10px 0 8px; text-align: center; backdrop-filter: blur(8px); }
.flip b { display: block; font: 400 26px/1 var(--mono); }
.flip span { font: 400 9px var(--mono); color: var(--dim); letter-spacing: .14em; text-transform: uppercase; }
.flip b.tick { animation: flip .5s var(--ease); }
@keyframes flip { from { transform: rotateX(90deg); opacity: .2; } }

/* stories */
.stories { display: flex; gap: 14px; overflow-x: auto; margin: 22px -18px 0; padding: 0 18px; scrollbar-width: none; }
.story { flex-shrink: 0; width: 68px; text-align: center; font-size: 11px; color: var(--dim); }
.story i { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 50%; font-style: normal; font-size: 24px;
  background: var(--ink) padding-box, conic-gradient(var(--gold), var(--ember), var(--gold)) border-box; border: 2px solid transparent; transition: transform .3s var(--spring); }
.story:active i { transform: scale(.9); }

/* reel cards */
.reel { display: flex; gap: 12px; overflow-x: auto; margin: 0 -18px; padding: 4px 18px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gcard { position: relative; flex-shrink: 0; width: 70%; aspect-ratio: 3/4; border-radius: 22px; overflow: hidden; scroll-snap-align: start; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; text-align: left; isolation: isolate; transition: transform .4s var(--spring); }
.gcard:active { transform: scale(.97); }
.gcard__bg { position: absolute; inset: 0; z-index: -1; }
.gcard__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(11,10,9,.92)); }
.gcard__icon { position: absolute; top: 16px; right: 16px; font-size: 42px; text-shadow: 0 0 30px currentColor; }
.gcard h3 { font: 300 30px/1 var(--serif); margin: 0 0 6px; }
.gcard p { margin: 0; color: var(--dim); font-size: 13px; }
.gcard .mono { color: var(--gold-hi); margin-top: 10px; display: block; }

/* Maharashtrian Utsav */
.mr { font-family: 'Martel', 'Tiro Devanagari Marathi', var(--serif); font-weight: 600; color: #F28C28; }
.royal__mr, .prologue__mr, .occ .mr, .opt--royal .mr, .touch .mr, .touch__no, .h2 .mr { font-family: 'Rozha One', 'Martel', var(--serif); font-weight: 400; }
.paithani { height: 18px; border-radius: 4px; margin: 26px 0 0; opacity: .9;
  background: conic-gradient(from 135deg at 50% 0, #F28C28 90deg, transparent 0) 0 0 / 18px 10px repeat-x,
    linear-gradient(var(--gold), var(--gold)) 0 12px / 100% 1px no-repeat,
    radial-gradient(circle, #1F6B5C 2px, transparent 2.5px) 0 13px / 9px 6px repeat-x,
    linear-gradient(#5A1E4A, #5A1E4A) 0 0 / 100% 10px no-repeat; }
.occ { flex-shrink: 0; width: 46%; scroll-snap-align: start; text-align: left; padding: 14px; border-radius: 18px; border: 1px solid rgba(242,140,40,.25);
  background: linear-gradient(160deg, rgba(90,30,74,.5), var(--ink-2) 70%); display: flex; flex-direction: column; gap: 4px; transition: transform .3s var(--spring); }
.occ:active { transform: scale(.95); }
.occ .mr { font-size: 22px; line-height: 1.2; }
.occ b { font-weight: 500; }
.occ small { color: var(--dim); font-size: 11.5px; }
.opt .mr { font-size: 18px; }

/* list rows */
.rows { border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; }
.row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); transition: background .2s; }
.row:last-child { border-bottom: 0; }
.row:active { background: var(--ink-3); }
.row__ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(201,164,106,.12); color: var(--gold); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.row b { display: block; font-weight: 500; }
.row small { color: var(--dim); font-size: 12px; }
.row__end { margin-left: auto; color: var(--gold-hi); font: 400 12px var(--mono); white-space: nowrap; }

/* search */
.search { display: flex; align-items: center; gap: 10px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.search input { flex: 1; background: none; border: 0; outline: none; font-size: 15px; }
.search:focus-within { border-color: var(--gold); }
.filters { display: flex; gap: 8px; overflow-x: auto; margin: 14px -18px 0; padding: 0 18px; scrollbar-width: none; }
.fchip { flex-shrink: 0; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; transition: all .3s var(--ease); }
.fchip.is-on { background: var(--ivory); color: var(--ink); }

/* builder */
.progress { display: flex; gap: 6px; margin-bottom: 20px; }
.progress i { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.progress i::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.progress i.on::after { transform: scaleX(1); }
.q { font: 300 30px/1.08 var(--serif); margin: 4px 0 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { position: relative; text-align: left; padding: 16px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); transition: all .35s var(--spring); min-height: 108px; display: flex; flex-direction: column; justify-content: space-between; }
.opt:active { transform: scale(.96); }
.opt .ic { font-size: 26px; }
.opt b { font-weight: 500; display: block; }
.opt small { color: var(--dim); font-size: 12px; }
.opt.is-on { border-color: var(--gold); background: linear-gradient(160deg, rgba(201,164,106,.2), var(--ink-2)); }
.opt.is-on::after { content: '✓'; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 12px; animation: pop .4s var(--spring); }
@keyframes pop { from { transform: scale(0); } }
.tiers { display: grid; gap: 10px; }
.tiers .opt { min-height: 0; flex-direction: row; align-items: center; gap: 14px; }
.counter { display: flex; align-items: center; justify-content: space-between; background: var(--ink-2); border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
.counter b { font: 300 56px/1 var(--serif); }
.counter button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); font-size: 22px; transition: transform .2s var(--spring), background .2s; }
.counter button:active { transform: scale(.85); background: var(--gold); color: var(--ink); }
.presets { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
input[type=range] { width: 100%; accent-color: var(--gold); margin-top: 18px; }

.quotebar { position: absolute; left: 12px; right: 12px; bottom: calc(86px + var(--safe-b)); z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: 12px 12px 12px 18px; border-radius: 20px; background: rgba(243,236,224,.96); color: var(--ink); box-shadow: 0 20px 40px -10px rgba(0,0,0,.6);
  animation: barIn .6s var(--spring) both; }
@keyframes barIn { from { transform: translateY(140%); } }
.quotebar small { display: block; font: 500 9.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.quotebar strong { font: 400 22px/1.1 var(--serif); display: inline-block; }
.quotebar strong.bump { animation: bump .45s var(--spring); }
@keyframes bump { 40% { transform: scale(1.12); color: var(--ember); } }
.cta { margin-left: auto; padding: 14px 18px; border-radius: 14px; background: var(--ink); color: var(--ivory); font-weight: 600; display: flex; gap: 8px; align-items: center; transition: transform .2s var(--spring); }
.cta:active { transform: scale(.94); }
.cta:disabled { opacity: .35; }
.cta--gold { background: var(--gold); color: var(--ink); width: 100%; justify-content: center; margin-top: 18px; padding: 16px; }

.datestrip { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 4px 18px 10px; scrollbar-width: none; }
.dt { flex-shrink: 0; width: 60px; padding: 12px 0; border-radius: 16px; border: 1px solid var(--line); text-align: center; transition: all .3s var(--spring); }
.dt span { display: block; font: 400 9.5px var(--mono); letter-spacing: .1em; color: var(--dim); text-transform: uppercase; }
.dt b { display: block; font: 400 22px/1.2 var(--serif); }
.dt i { display: block; width: 16px; height: 3px; border-radius: 2px; margin: 4px auto 0; }
.dt.is-on { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-4px); }
.dt.is-on span { color: var(--ink); }
.dt:disabled { opacity: .25; }
.l0 { background: var(--green); } .l1 { background: var(--gold); } .l2 { background: var(--ember); } .l3 { background: #555; }
.inp { display: block; margin-bottom: 10px; }
.inp input { width: 100%; padding: 15px 16px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); outline: none; font-size: 16px; transition: border-color .3s; }
.inp input:focus { border-color: var(--gold); }
.inp.err input { border-color: var(--ember); animation: shake .35s; }
@keyframes shake { 30% { transform: translateX(-5px); } 70% { transform: translateX(5px); } }

/* ticket */
.ticket { position: relative; border-radius: 22px; background: var(--gold); color: var(--ink); overflow: hidden; margin-bottom: 12px; text-align: left; width: 100%; display: block; }
.ticket__a { padding: 18px 18px 16px; }
.ticket__a h3 { font: 400 24px/1.05 var(--serif); margin: 6px 0 10px; }
.ticket__meta { display: flex; gap: 18px; font: 400 11px var(--mono); }
.ticket__meta span { display: block; opacity: .55; font-size: 9px; letter-spacing: .12em; }
.ticket__b { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-top: 2px dashed rgba(11,10,9,.3); position: relative; }
.ticket__b::before, .ticket__b::after { content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); }
.ticket__b::before { left: -10px; } .ticket__b::after { right: -10px; }
.ticket.is-new { animation: print 1s var(--ease) both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-20px); } }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: var(--ink); color: var(--gold-hi); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .2; } }

/* pipeline & timeline */
.pipe { display: flex; justify-content: space-between; position: relative; margin: 10px 4px 6px; }
.pipe::before { content: ''; position: absolute; top: 13px; left: 14px; right: 14px; height: 2px; background: var(--line); }
.pipe__fill { position: absolute; top: 13px; left: 14px; height: 2px; background: var(--gold); transition: width 1.2s var(--ease); }
.pipe div { position: relative; text-align: center; width: 70px; font-size: 11px; color: var(--dim); }
.pipe div i { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 6px; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--line); font-style: normal; font-size: 12px; }
.pipe div.on i { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.pipe div.on { color: var(--ivory); }
.check { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.check:last-child { border: 0; }
.check i { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--dim); display: grid; place-items: center; font-style: normal; font-size: 12px; transition: all .3s var(--spring); flex-shrink: 0; }
.check.done i { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.check.done span { text-decoration: line-through; color: var(--dim); }
.tl { position: relative; padding-left: 22px; }
.tl::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tl div { position: relative; padding: 0 0 16px; }
.tl div::before { content: ''; position: absolute; left: -21px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--gold); }
.tl b { font: 400 11px var(--mono); color: var(--gold); display: block; letter-spacing: .1em; }

/* empty */
.empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--line); border-radius: 24px; color: var(--dim); }
.empty .big { font-size: 46px; color: var(--gold); }
.empty h3 { font: 300 24px var(--serif); color: var(--ivory); margin: 8px 0; }

/* chat */
.chat { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 18px; background: var(--ink-3); animation: rise .4s var(--ease) both; }
.msg.me { align-self: flex-end; background: var(--gold); color: var(--ink); border-bottom-right-radius: 6px; }
.msg.them { border-bottom-left-radius: 6px; }
.typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--dim); animation: typing 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .4; } }
.composer { display: flex; gap: 8px; }
.composer input { flex: 1; padding: 13px 16px; border-radius: 99px; background: var(--ink-2); border: 1px solid var(--line); outline: none; }
.composer button { width: 46px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 18px; }

/* tabs */
.tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  padding: 8px 8px calc(10px + var(--safe-b)); background: linear-gradient(transparent, rgba(11,10,9,.92) 30%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.tabs button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; color: var(--dim); padding: 6px 0; transition: color .3s; position: relative; }
.tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--spring); }
.tabs button.is-on { color: var(--gold-hi); }
.tabs button.is-on svg { transform: translateY(-2px) scale(1.1); }

.tabs__fab { justify-self: center; width: 58px; height: 58px; border-radius: 20px !important; background: var(--gold); color: var(--ink) !important; margin-top: -26px; box-shadow: 0 10px 30px -6px rgba(201,164,106,.7); justify-content: center; }
.tabs__fab svg { stroke-width: 2.2; }
.tabs__fab.is-on svg { transform: rotate(90deg); }
.tabs__fab.is-on::after { display: none; }
.tabs.is-hidden { transform: translateY(110%); }
.tabs { transition: transform .5s var(--ease); }

/* sheet */
.sheet { position: absolute; inset: 0; z-index: 40; pointer-events: none; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .4s; }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 85%; overflow: auto; background: var(--ink-2); border-radius: 28px 28px 0 0; padding: 12px 20px calc(24px + var(--safe-b)); transform: translateY(100%); transition: transform .55s var(--ease); border-top: 1px solid var(--line); }
.sheet__grip { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 18px; }
.sheet.is-open { pointer-events: auto; }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet.is-open .sheet__panel { transform: translateY(0); }
.sheet h3 { font: 300 32px/1 var(--serif); margin: 10px 0; }
.sheet p { color: var(--dim); }

.toast { position: absolute; top: calc(14px + var(--safe-t)); left: 50%; z-index: 60; transform: translate(-50%, calc(-100% - 60px)); opacity: 0; padding: 10px 16px; border-radius: 99px; background: var(--ivory); color: var(--ink); font-weight: 500; font-size: 13px; transition: transform .5s var(--spring); white-space: nowrap; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.confetti { position: absolute; inset: 0; z-index: 70; pointer-events: none; width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

/* ░ Rajeshahi — royal Marathi block */
:root { --zari: linear-gradient(100deg, #8A6A2F 0%, #F5D58A 28%, #C9A46A 45%, #FFF1C7 55%, #B8893E 75%, #8A6A2F 100%); }
@keyframes zari { to { background-position: -220% 0; } }
.royal { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; width: 100%; margin-top: 18px; padding: 70px 18px 56px; overflow: hidden; isolation: isolate;
  border-radius: 50% 50% 26px 26px / 110px 110px 26px 26px; border: 1px solid rgba(201,164,106,.5);
  background: radial-gradient(ellipse at 50% 10%, rgba(242,140,40,.32), transparent 60%), radial-gradient(circle at 50% 120%, rgba(31,107,92,.35), transparent 60%), linear-gradient(180deg, #4A1A3A, #1A0B14 80%);
  box-shadow: inset 0 0 0 6px #1A0B14, inset 0 0 0 7px rgba(245,213,138,.45); }
.royal:active { transform: scale(.98); }
.royal::before { content: ''; position: absolute; width: 420px; height: 420px; top: 50%; left: 50%; translate: -50% -50%; z-index: -1; opacity: .16; border-radius: 50%;
  background: repeating-conic-gradient(#F28C28 0 7deg, transparent 7deg 15deg), radial-gradient(circle, transparent 30%, #C9A46A 31% 32%, transparent 33%);
  -webkit-mask: radial-gradient(circle, #000 35%, transparent 70%); mask: radial-gradient(circle, #000 35%, transparent 70%); animation: rspin 90s linear infinite; }
@keyframes rspin { to { rotate: 360deg; } }
.royal__toran { position: absolute; top: 0; left: 0; right: 0; height: 26px;
  background: radial-gradient(circle at 50% 30%, #F59E0B 0 6px, transparent 7px) 0 0 / 22px 26px repeat-x,
    radial-gradient(ellipse 4px 9px at 50% 60%, #2F7A32 90%, transparent) 11px 0 / 22px 26px repeat-x; }
.royal__kicker { font-size: 10px; color: var(--gold-hi); }
.royal__mr { font-size: 46px; line-height: 1.1; padding: 4px 0; background: var(--zari); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: zari 7s linear infinite; }
.royal__en { font: 300 italic 18px/1.3 var(--serif); color: var(--ivory); }
.royal__cta { margin-top: 10px; padding: 12px 20px; border-radius: 99px; color: #2A0A12; font-weight: 600; background: var(--zari); background-size: 220% 100%; animation: zari 7s linear infinite; }
.royal__diyas { position: absolute; bottom: 14px; display: flex; gap: 26px; }
.royal__diyas i { position: relative; width: 20px; height: 8px; border-radius: 0 0 20px 20px; background: #A4471A; }
.royal__diyas i::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 6px; height: 12px; translate: -50% 0; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at 50% 75%, #FFF6D6 0 25%, #FFC34D 50%, #FF7A1A 80%); box-shadow: 0 0 14px 5px rgba(255,170,60,.4); animation: flick 1.5s ease-in-out infinite; }
@keyframes flick { 50% { transform: scale(1.1, .9); } }
.occ { border-radius: 50% 50% 16px 16px / 34px 34px 16px 16px; padding-top: 26px; box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 5px rgba(201,164,106,.22); }
.touch { flex-shrink: 0; width: 70%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; border: 1px solid rgba(201,164,106,.25); background: linear-gradient(170deg, #241019, var(--ink-2) 70%); }
.touch__no { font-size: 34px; line-height: 1; background: var(--zari); -webkit-background-clip: text; background-clip: text; color: transparent; }
.touch .mr { font-size: 18px; }
.touch b { font-weight: 500; }
.touch small { color: var(--dim); font-size: 12.5px; line-height: 1.4; }
.opt--royal .ic { color: #F5D58A; font-size: 13px; letter-spacing: 1px; }
.opt--royal .mr { display: block; font-size: 22px; line-height: 1.2; }
@media (prefers-reduced-motion: reduce) { .royal::before, .royal__mr, .royal__cta, .royal__diyas i::after { animation: none; } }

/* ░ Motion layer, icons, prologue */
.ico { width: 1em; height: 1em; display: inline-block; flex-shrink: 0; }
.back .ico { width: 20px; height: 20px; }
.back { width: 44px; height: 44px; }
.row__ic .ico { width: 20px; height: 20px; }
.gcard__icon .ico { width: 34px; height: 34px; stroke-width: 1.1; }
.story i .ico { width: 26px; height: 26px; stroke-width: 1.3; }
.opt .ic .ico { width: 24px; height: 24px; }
.empty .big .ico { width: 48px; height: 48px; stroke-width: 1.1; }
.composer button .ico { width: 18px; height: 18px; }
.sheet__icon { display: block; color: var(--gold); }
.sheet__icon .ico { width: 48px; height: 48px; stroke-width: 1.1; }
.tabs__ink { position: absolute; left: 0; bottom: calc(6px + var(--safe-b)); width: 44px; height: 3px; border-radius: 3px; background: var(--gold); box-shadow: 0 0 14px rgba(201,164,106,.7); pointer-events: none; opacity: 0; transition: opacity .3s; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.prologue { position: absolute; inset: 0; z-index: 60; background: #050404; display: flex; flex-direction: column; }
.prologue__track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.prologue__track::-webkit-scrollbar { display: none; }
.prologue__scene { position: relative; flex: 0 0 100%; scroll-snap-align: center; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(60px + var(--safe-t)) 28px 40px; overflow: hidden; isolation: isolate; }
.prologue__light { position: absolute; inset: -20%; z-index: -1; background: radial-gradient(circle at 70% 30%, rgba(201,164,106,.45), transparent 45%), radial-gradient(circle at 20% 80%, rgba(226,88,62,.18), transparent 50%); animation: drift 12s ease-in-out infinite alternate; }
.prologue__scene[data-i="1"] .prologue__light { background: radial-gradient(circle at 50% 30%, rgba(242,140,40,.45), transparent 45%), radial-gradient(circle at 80% 85%, rgba(90,30,74,.7), transparent 55%), radial-gradient(circle at 10% 70%, rgba(31,107,92,.35), transparent 45%); }
.prologue__scene[data-i="2"] .prologue__light { background: radial-gradient(circle at 30% 25%, rgba(230,198,143,.4), transparent 45%), radial-gradient(circle at 90% 70%, rgba(201,164,106,.2), transparent 50%); }
@keyframes drift { to { transform: translate(6%, -4%) scale(1.1); } }
.prologue__scene::before, .prologue__scene::after { content: ''; position: absolute; left: 0; right: 0; height: 9vh; background: #000; z-index: 1; }
.prologue__scene::before { top: 0; } .prologue__scene::after { bottom: 0; }
.prologue__k { color: var(--gold); margin-bottom: 18px; position: relative; z-index: 2; }
.prologue__mr { font-size: 46px; line-height: 1.12; margin: 0 0 14px; background: linear-gradient(100deg, #8A6A2F, #F5D58A 30%, #C9A46A 50%, #FFF1C7 60%, #B8893E); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; z-index: 2; }
.prologue h2 { font: 300 44px/1.02 var(--serif); letter-spacing: -.02em; margin: 0 0 16px; position: relative; z-index: 2; }
.prologue__s { color: var(--dim); font-size: 16px; line-height: 1.5; max-width: 30ch; margin: 0 0 12vh; position: relative; z-index: 2; }
.prologue__foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 0 24px calc(22px + var(--safe-b)); }
.prologue__foot .cta { width: auto; min-width: 128px; min-height: 48px; }
.prologue__dots { display: flex; gap: 8px; }
.prologue__dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(243,236,224,.25); transition: width .5s var(--spring), background .3s; }
.prologue__dots i.on { width: 28px; background: var(--gold); }
.prologue__skip { position: absolute; top: calc(18px + var(--safe-t)); right: 18px; z-index: 3; color: var(--dim); padding: 12px; min-height: 44px; }
html.is-native .tabs { padding-bottom: max(10px, var(--safe-b)); }
@media (prefers-reduced-motion: reduce) { .prologue__light { animation: none; } }
