/* Shubhangi & Pranay — the living palace. Mobile first; desktop gets a phone-width column. */

@font-face { font-family: "Cormorant"; src: url(../assets/fonts/cormorant.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(../assets/fonts/cormorant-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant SC"; src: url(../assets/fonts/cormorant-sc.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Pinyon"; src: url(../assets/fonts/pinyon.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Tiro Devanagari"; src: url(../assets/fonts/tiro-devanagari.woff2) format("woff2"); font-display: swap; }

:root {
  --linen: #efe8de;
  --paper: #fbf6ec;
  --ink: #4a3228;
  --ink-soft: #6e5547;
  --maroon: #701b27;
  --band: #7a202c;
  --gold: #b0873c;
  --gold-text: #946a28;
  --gold-light: #e8cb8a;
  --hair: rgba(150, 108, 42, .45);
  --plate-w: min(100vw, 480px);
  --tile: calc(var(--plate-w) * .9667);
  --top: 50px;
  --bottom: calc(62px + env(safe-area-inset-bottom));
  --serif: "Cormorant", "Tiro Devanagari", Georgia, serif;
  --sc: "Cormorant SC", "Tiro Devanagari", Georgia, serif;
  --script: "Pinyon", "Tiro Devanagari", cursive;
  --deva: "Tiro Devanagari", "Cormorant", serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  overflow: hidden;
  background: radial-gradient(circle at 50% 28%, #5c1a25 0%, #2b0b11 72%) fixed #2b0b11;
  color: var(--ink);
  font: 500 17px/1.5 var(--serif);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}
html[lang="hi"] body { font: 400 16px/1.7 var(--deva); }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

.app {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--linen) url(../assets/linen.webp) 0 0 / var(--tile) repeat;
  box-shadow: 0 0 80px rgba(0, 0, 0, .45);
}

/* ------------------------------------------------------------ header */
.topbar {
  position: absolute; z-index: 40; top: 0; left: 0; right: 0;
  height: var(--top);
  display: flex; align-items: center; gap: 8px;
  padding: 0 10px;
  background: rgba(239, 232, 222, .9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair);
}
.mono {
  border: 0; background: none; padding: 0 4px;
  font: 26px/1 var(--script); color: var(--maroon);
}
.mono i, .stub-mono i, .foot-names i { font-style: normal; color: var(--gold-text); font-size: .8em; padding: 0 1px; }
.room-title {
  flex: 1; min-width: 0;
  text-align: center;
  font: 600 13px/1 var(--sc); letter-spacing: .08em; color: var(--maroon);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 359px) { .room-title { visibility: hidden; } }
html[lang="hi"] .room-title { font: 400 16px/1 var(--deva); letter-spacing: 0; }
.tools { display: flex; align-items: center; gap: 6px; }
.jutti-count, .lang, .tool {
  display: inline-flex; align-items: center; gap: 4px;
  height: 30px; padding: 0 9px;
  border: 1px solid var(--hair); border-radius: 15px;
  background: rgba(255, 252, 246, .7);
  color: var(--maroon);
  font: 600 14px/1 var(--serif);
}
.jutti-count svg { width: 26px; height: 14px; }
.jutti-count small { font-size: 11px; color: var(--gold-text); }
.jutti-count.bump { animation: bump .6s ease; }
.jutti-count.done { background: var(--band); color: var(--gold-light); border-color: var(--gold); }
.jutti-count.done small { color: var(--gold-light); }
.lang { font: 400 15px/1 var(--deva); min-width: 40px; justify-content: center; }
.tool svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tool[aria-pressed="false"] { opacity: .55; }
@keyframes bump { 30% { transform: scale(1.25); } 60% { transform: scale(.95); } }

/* ------------------------------------------------------------ the palace: one bay per room */
.palace {
  position: absolute; inset: 0;
  display: flex;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.palace::-webkit-scrollbar { display: none; }
.bay {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  overflow-x: hidden; overflow-y: auto;
  scroll-snap-align: start; scroll-snap-stop: always;
  padding: var(--top) 0 var(--bottom);
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}
.bay::-webkit-scrollbar { display: none; }

.plate { position: relative; width: 100%; aspect-ratio: 3 / 4; user-select: none; -webkit-user-select: none; }
.plate > img, .plate .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate-back { z-index: 1; }
.plate-front { z-index: 3; pointer-events: none; }
.scene {
  z-index: 2;
  -webkit-mask: url(../assets/arch-mask.svg) 0 0 / 100% 100% no-repeat;
  mask: url(../assets/arch-mask.svg) 0 0 / 100% 100% no-repeat;
}
.el { position: absolute; transform-origin: 50% 100%; pointer-events: none; }
.el img { display: block; width: 100%; height: auto; -webkit-user-drag: none; }
.el.flip img { transform: scaleX(-1); }
.el[data-idle="sway"] { animation: sway 6.5s ease-in-out var(--d, 0s) infinite; }
.el[data-idle="sway-s"] { animation: sway-s 3.6s ease-in-out var(--d, 0s) infinite; }
.el[data-idle="float"] { animation: float 5.6s ease-in-out var(--d, 0s) infinite; transform-origin: 50% 50%; }
.el[data-idle="float2"] { animation: float2 6.2s ease-in-out var(--d, 0s) infinite; transform-origin: 50% 50%; }
.el[data-idle="bob"] { animation: bob 3.2s ease-in-out var(--d, 0s) infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-.7deg); } 50% { transform: rotate(.7deg); } }
@keyframes sway-s { 0%, 100% { transform: rotate(-.45deg); } 50% { transform: rotate(.45deg); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4%) rotate(-2deg); } }
@keyframes float2 { 0%, 100% { transform: translateY(-2%) rotate(1deg); } 50% { transform: translateY(2.5%) rotate(-1.5deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.7%); } }

.glow {
  position: absolute; z-index: 20; pointer-events: none;
  width: var(--s); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 140, .75) 0%, rgba(255, 180, 70, .32) 38%, rgba(255, 160, 60, 0) 70%);
  animation: flicker 2.6s ease-in-out var(--d, 0s) infinite;
}
.glow.blaze { animation: blaze 1.4s ease-out; }
@keyframes flicker { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.92); } 30% { opacity: .9; } 55% { opacity: .62; transform: translate(-50%, -50%) scale(1.06); } 80% { opacity: .82; } }
@keyframes blaze { 0% { opacity: .7; transform: translate(-50%, -50%) scale(1); } 35% { opacity: 1; transform: translate(-50%, -50%) scale(2.4); } 100% { opacity: .6; transform: translate(-50%, -50%) scale(1); } }

.petal {
  position: absolute; z-index: 15; top: -4%; pointer-events: none;
  width: 1.5%; aspect-ratio: 1 / 1.35;
  border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 40% 35%, #ffd35c, #f29a1d 70%, #d9700f);
  opacity: .9;
  animation: fall var(--t, 11s) linear var(--d, 0s) infinite;
}
@keyframes fall {
  0% { top: -4%; transform: translateX(0) rotate(0); }
  50% { transform: translateX(var(--dx, 10px)) rotate(200deg); }
  100% { top: 94%; transform: translateX(calc(var(--dx, 10px) * -.4)) rotate(420deg); }
}

.jutti {
  position: absolute; pointer-events: none;
  width: var(--w); aspect-ratio: 120 / 62;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  filter: drop-shadow(0 1px 1px rgba(60, 20, 10, .35));
  animation: glint 7s ease-in-out var(--d, 0s) infinite;
}
.jutti svg { display: block; width: 100%; height: 100%; }
.jutti.got { display: none; }
.jutti.up { z-index: 4; }
@keyframes glint { 0%, 88%, 100% { filter: drop-shadow(0 1px 1px rgba(60, 20, 10, .35)); } 93% { filter: drop-shadow(0 0 5px rgba(255, 225, 140, .95)) brightness(1.25); } }

/* ------------------------------------------------------------ room content */
.bay-body { display: grid; gap: 16px; padding: 6px 18px 30px; text-align: center; }
.placard {
  position: relative;
  padding: 20px 16px 18px;
  background: rgba(255, 252, 246, .58);
  border: 1px solid var(--hair);
  box-shadow: inset 0 0 0 4px rgba(255, 252, 246, .45), inset 0 0 0 5px rgba(176, 135, 60, .28);
  border-radius: 2px;
}
.label, .room-no {
  font: 600 12.5px/1.3 var(--sc); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text);
}
html[lang="hi"] .label, html[lang="hi"] .room-no { font: 400 14px/1.4 var(--deva); letter-spacing: .02em; }
.room-no::before, .room-no::after { content: "✦"; font-size: 9px; vertical-align: 2px; padding: 0 8px; color: var(--gold); }
.sec-title { margin: 0 0 6px; font: 600 18px/1.25 var(--sc); letter-spacing: .14em; color: var(--maroon); }
html[lang="hi"] .sec-title { font: 400 21px/1.35 var(--deva); letter-spacing: 0; }
.sec-sub, .lede { margin: 0 0 12px; font-style: italic; color: var(--ink-soft); }
.lede { margin: 0; font-size: 18px; line-height: 1.45; }
html[lang="hi"] .sec-sub, html[lang="hi"] .lede { font-style: normal; font-size: 16px; }
.aside { margin: 0; font-size: 15.5px; font-style: italic; color: var(--ink-soft); }
html[lang="hi"] .aside { font-style: normal; font-size: 14.5px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px;
  border: 1px solid #5a121d; border-radius: 2px;
  background: linear-gradient(#86232f, #6a1823);
  box-shadow: inset 0 0 0 1px rgba(232, 203, 138, .5), 0 3px 8px rgba(80, 20, 20, .22);
  color: #fbf1dc;
  font: 600 15px/1.2 var(--sc); letter-spacing: .12em;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
html[lang="hi"] .btn { font: 400 16px/1.3 var(--deva); letter-spacing: 0; }
.btn:active { transform: translateY(1px) scale(.99); filter: brightness(.95); }
.btn:disabled { opacity: .55; cursor: default; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-ghost { background: rgba(255, 252, 246, .6); color: var(--maroon); border-color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.btn-wide { width: 100%; }
.link { border: 0; background: none; padding: 8px; color: var(--gold-text); font-style: italic; text-decoration: underline; text-underline-offset: 3px; }

/* hall */
.swipe-hint {
  justify-self: center;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: -2px; padding: 6px 14px;
  border: 1px solid var(--hair); border-radius: 20px;
  background: rgba(255, 252, 246, .75);
  font-size: 15px; font-style: italic; color: var(--maroon);
  transition: opacity .5s ease;
}
.swipe-hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; animation: nudge 1.4s ease-in-out infinite; }
.swipe-hint.gone { opacity: 0; pointer-events: none; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.letter { padding: 4px 6px 0; }
.dear { margin: 0 0 6px; font: 32px/1.2 var(--script); color: var(--maroon); }
html[lang="hi"] .dear { font: 400 24px/1.4 var(--deva); }
.invite { margin: 0; font-size: 19.5px; line-height: 1.45; font-style: italic; }
html[lang="hi"] .invite { font-style: normal; font-size: 17px; }
.hosts { display: grid; gap: 4px; padding: 6px 0; }
.hosts-label { font: 600 12.5px/1.3 var(--sc); letter-spacing: .2em; color: var(--gold-text); margin-bottom: 4px; }
html[lang="hi"] .hosts-label { font: 400 15px/1.4 var(--deva); letter-spacing: 0; }
.host b { display: block; font-weight: 600; font-size: 20px; color: var(--maroon); }
html[lang="hi"] .host b { font-weight: 400; font-size: 18px; }
.host span { font-size: 15px; font-style: italic; color: var(--ink-soft); }
html[lang="hi"] .host span { font-style: normal; font-size: 14px; }
.host-amp { font: 26px/1 var(--script); color: var(--gold-text); }
.cd { display: flex; justify-content: center; gap: 22px; margin: 10px 0 4px; }
.cd div { display: grid; min-width: 58px; }
.cd b { font: 500 44px/1 var(--serif); color: var(--maroon); font-variant-numeric: lining-nums tabular-nums; }
.cd span { font: 600 12px/1.6 var(--sc); letter-spacing: .16em; color: var(--gold-text); }
html[lang="hi"] .cd span { font: 400 14px/1.6 var(--deva); letter-spacing: 0; }
.cd-mood { margin: 8px 0 0; font-style: italic; color: var(--ink-soft); }
html[lang="hi"] .cd-mood { font-style: normal; font-size: 15px; }
.programme { display: grid; gap: 10px; }
.prog {
  display: grid; grid-template-columns: 44px 1fr 18px; align-items: center; gap: 12px;
  width: 100%; padding: 12px 12px; text-align: left;
  border: 1px solid var(--hair); border-radius: 2px;
  background: rgba(255, 252, 246, .55);
}
.prog > svg { width: 30px; height: 30px; justify-self: center; fill: none; stroke: var(--gold-text); stroke-width: 1.4; }
.prog > svg:last-child { width: 16px; height: 16px; stroke: var(--maroon); stroke-width: 2; }
.prog b { display: block; font-weight: 600; font-size: 20px; line-height: 1.2; color: var(--maroon); }
html[lang="hi"] .prog b { font-weight: 400; font-size: 18px; }
.prog small { display: block; font: 600 11.5px/1.5 var(--sc); letter-spacing: .14em; color: var(--gold-text); }
html[lang="hi"] .prog small { font: 400 13px/1.5 var(--deva); letter-spacing: 0; }
.prog span { display: block; font-size: 15px; font-style: italic; color: var(--ink-soft); }
.jutti-tease { display: flex; align-items: center; justify-content: center; gap: 8px; }
.jutti-tease svg { width: 30px; height: 16px; flex: none; }

/* the wedding days: what's on now and next; afterwards, the thank-you note */
.label.live, .tag.now, .ev-badge.now { color: #a1262f; }
.label.live::before, .tag.now::before, .ev-badge.now::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%;
  background: #c0392b; vertical-align: 1px; animation: live 1.6s ease-out infinite;
}
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(192, 57, 43, .55); } 100% { box-shadow: 0 0 0 7px rgba(192, 57, 43, 0); } }
.now-card { display: grid; gap: 4px; }
.now-card.on, .placard.is-now {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 4px rgba(255, 252, 246, .45), inset 0 0 0 5px rgba(176, 135, 60, .5), 0 0 0 3px rgba(192, 57, 43, .12);
}
.live-title { margin: 6px 0 0; font: 600 28px/1.15 var(--serif); color: var(--maroon); }
html[lang="hi"] .live-title { font: 400 26px/1.3 var(--deva); }
.live-meta { margin: 0; font-size: 18px; font-weight: 600; }
.live-wear { margin: 0; font-style: italic; color: var(--ink-soft); }
html[lang="hi"] .live-wear { font-style: normal; font-size: 15px; }
.now-card .ev-actions { margin-top: 10px; }
.live-then { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--hair); font-size: 15.5px; font-style: italic; color: var(--ink-soft); }
html[lang="hi"] .live-then { font-style: normal; font-size: 14.5px; }
.thanks-title { margin: 4px 0 2px; font: 48px/1.15 var(--script); color: var(--maroon); }
html[lang="hi"] .thanks-title { font: 400 34px/1.4 var(--deva); }
.thanks-text { margin: 0 4px; font-size: 18px; line-height: 1.5; font-style: italic; }
html[lang="hi"] .thanks-text { font-style: normal; font-size: 16px; line-height: 1.7; }
.thanks-sign { margin: 10px 0 0; font: 600 13px/1.4 var(--sc); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
html[lang="hi"] .thanks-sign { font: 400 15px/1.4 var(--deva); letter-spacing: 0; }
.prog .tag { display: block; margin-top: 4px; font: 600 11px/1.4 var(--sc); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
html[lang="hi"] .prog .tag { font: 400 12.5px/1.4 var(--deva); letter-spacing: 0; }
.prog.now { border-color: var(--gold); background: rgba(255, 252, 246, .85); box-shadow: 0 0 0 3px rgba(192, 57, 43, .1); }
.prog.done { opacity: .62; }
.rsvp-closed p { margin: 0; font-size: 18px; line-height: 1.5; font-style: italic; }
html[lang="hi"] .rsvp-closed p { font-style: normal; font-size: 16px; }

/* function rooms */
.ev-main { display: grid; gap: 16px; }
.ev-title { margin: 6px 0 2px; font: 600 30px/1.15 var(--serif); color: var(--maroon); }
html[lang="hi"] .ev-title { font: 400 28px/1.3 var(--deva); }
.ev-venue { display: inline-flex; align-items: center; gap: 6px; font-size: 19px; font-weight: 600; color: var(--ink); }
.ev-venue svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-text); stroke-width: 1.6; }
.ev-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.ev-actions .btn { flex: 1 1 140px; }
.cal-pop { display: grid; gap: 8px; margin-top: 10px; }
.dress-title { margin: 4px 0 10px; font: italic 600 26px/1.2 var(--serif); color: var(--maroon); }
html[lang="hi"] .dress-title { font: 400 23px/1.3 var(--deva); }
.dress dl { display: grid; gap: 10px; margin: 0; text-align: left; }
.dress dt { font: 600 12px/1.2 var(--sc); letter-spacing: .18em; color: var(--gold-text); }
html[lang="hi"] .dress dt { font: 400 14px/1.3 var(--deva); letter-spacing: 0; }
.dress dd { margin: 2px 0 0; font-size: 17.5px; line-height: 1.45; }
html[lang="hi"] .dress dd { font-size: 15.5px; }
.dress-note { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--hair); font-style: italic; color: var(--ink-soft); }
html[lang="hi"] .dress-note { font-style: normal; font-size: 15px; }
.curator { padding: 14px 16px; border-left: 3px solid var(--gold); background: rgba(255, 252, 246, .35); text-align: left; }
.curator p { margin: 4px 0 0; font-style: italic; font-size: 16.5px; color: var(--ink-soft); }
html[lang="hi"] .curator p { font-style: normal; font-size: 15px; }
.ev-time { margin: 0 0 6px; font: italic 600 19px/1.3 var(--serif); color: var(--gold-text); }
html[lang="hi"] .ev-time { font: 400 17px/1.5 var(--deva); }
.ev-badge {
  display: table; margin: -4px auto 10px; padding: 3px 12px;
  border: 1px solid var(--hair); border-radius: 12px; background: rgba(255, 252, 246, .75);
  font: 600 11.5px/1.5 var(--sc); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text);
}
.ev-badge.now { border-color: rgba(192, 57, 43, .45); }
html[lang="hi"] .ev-badge { font: 400 13px/1.5 var(--deva); letter-spacing: 0; }

/* the shoe game (Sangeet room) */
.shoe-count { margin: 2px 0 6px; font: 600 12px/1.4 var(--sc); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
html[lang="hi"] .shoe-count { font: 400 14px/1.4 var(--deva); letter-spacing: 0; }
.shoe-q { display: grid; place-content: center; min-height: 2.7em; margin: 0 0 12px; font: italic 600 22px/1.3 var(--serif); color: var(--maroon); }
html[lang="hi"] .shoe-q { font: 400 19px/1.55 var(--deva); }
.shoe-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shoe-pick {
  display: grid; justify-items: center; gap: 6px; padding: 14px 8px 12px;
  border: 1px solid var(--hair); border-radius: 4px; background: rgba(255, 252, 246, .7);
  transition: transform .15s ease, border-color .2s ease, background .2s ease, opacity .3s ease;
}
.shoe-pick svg { width: 84%; max-width: 128px; height: auto; aspect-ratio: 120 / 62; filter: drop-shadow(0 2px 2px rgba(60, 20, 10, .3)); }
.shoe-pick span { font: 600 15px/1.2 var(--sc); letter-spacing: .12em; color: var(--maroon); }
html[lang="hi"] .shoe-pick span { font: 400 16px/1.4 var(--deva); letter-spacing: 0; }
.shoe-pick:not(:disabled):active { transform: scale(.97); }
.shoe-pick.picked svg { animation: hop .5s ease; }
.shoe-pick.is { border-color: var(--gold); background: rgba(232, 203, 138, .32); box-shadow: inset 0 0 0 1px rgba(176, 135, 60, .5); }
.shoe-pick:disabled:not(.is) { opacity: .5; }
@keyframes hop { 40% { transform: translateY(-10px) rotate(-6deg); } 70% { transform: translateY(2px) rotate(2deg); } }
.shoe-say { margin: 14px 2px 12px; font-size: 17px; line-height: 1.45; font-style: italic; animation: pop .45s ease; }
.shoe-say b { margin-right: 4px; font: 600 14px/1.3 var(--sc); letter-spacing: .14em; }
.shoe-say.ok b { color: #2f6b3a; }
.shoe-say.no b { color: #a1262f; }
html[lang="hi"] .shoe-say { font-style: normal; font-size: 15.5px; }
html[lang="hi"] .shoe-say b { font: 400 15px/1.4 var(--deva); letter-spacing: 0; }
.shoe-result { display: grid; gap: 6px; margin: 6px 0 14px; animation: pop .45s ease; }
.shoe-result b { font: italic 600 28px/1.2 var(--serif); color: var(--maroon); }
html[lang="hi"] .shoe-result b { font: 400 25px/1.35 var(--deva); }
.shoe-result p { margin: 0; font-style: italic; color: var(--ink-soft); }
html[lang="hi"] .shoe-result p { font-style: normal; font-size: 15.5px; }

/* ------------------------------------------------------------ music on/off (floats above the room map) */
.music-fab {
  position: absolute; z-index: 50; right: 12px; bottom: calc(var(--bottom) + 14px);
  display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid #f6e6bd; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #f8e8bf, #d6aa58 58%, #a8792c);
  box-shadow: 0 0 0 2px var(--band), 0 0 0 3px rgba(232, 203, 138, .8), 0 8px 18px rgba(70, 20, 20, .35);
  color: var(--maroon);
  transition: opacity .3s ease, transform .2s ease, filter .3s ease;
}
.music-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.music-fab::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(214, 170, 88, .9); opacity: 0;
}
.music-fab.playing svg { animation: note 1.6s ease-in-out infinite; }
.music-fab.playing::before { animation: ring 2.4s ease-out infinite; }
.music-fab.muted { opacity: .78; filter: saturate(.25); }
.music-fab.muted::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 2px; border-radius: 1px;
  background: var(--maroon); transform: translate(-50%, -50%) rotate(-45deg);
}
.music-fab:active { transform: scale(.94); }
@keyframes note { 50% { transform: translateY(-2px) rotate(-8deg); } }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }

/* ------------------------------------------------------------ map, pagers, toast */
.map {
  position: absolute; z-index: 40; left: 0; right: 0; bottom: 0;
  height: var(--bottom);
  padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: linear-gradient(#80222f, #651722);
  border-top: 1px solid var(--gold);
  box-shadow: 0 -1px 0 rgba(232, 203, 138, .35) inset, 0 -6px 18px rgba(60, 15, 20, .18);
}
.map button {
  position: relative;
  display: grid; justify-items: center; align-content: center; gap: 3px;
  border: 0; background: none; padding: 6px 0 4px;
  color: var(--gold-light); opacity: .62;
  font: 600 10.5px/1 var(--sc); letter-spacing: .08em;
  transition: opacity .2s ease;
}
html[lang="hi"] .map button { font: 400 12px/1 var(--deva); letter-spacing: 0; }
.map svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.map button.on { opacity: 1; }
.map button.on::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--gold-light); }

.pager {
  position: fixed; z-index: 30; top: 42%;
  display: none; place-items: center;
  width: 44px; height: 72px;
  border: 1px solid rgba(232, 203, 138, .5); border-radius: 6px;
  background: rgba(122, 32, 44, .85);
  color: var(--gold-light);
}
.pager svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.pager-l { left: calc(50% - 240px - 60px); }
.pager-r { left: calc(50% + 240px + 16px); }
@media (hover: hover) and (pointer: fine) and (min-width: 600px) { .pager { display: grid; } }

.toast {
  position: absolute; z-index: 60; left: 12px; right: 12px; bottom: calc(var(--bottom) + 12px);
  padding: 12px 16px 14px;
  background: var(--paper);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px rgba(176, 135, 60, .35), 0 10px 28px rgba(60, 20, 20, .28);
  text-align: left;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.toast.on { opacity: 1; transform: none; }
.toast-label { font: 600 11.5px/1.3 var(--sc); letter-spacing: .2em; color: var(--gold-text); }
html[lang="hi"] .toast-label { font: 400 13px/1.4 var(--deva); letter-spacing: 0; }
.toast-text { margin-top: 3px; font-size: 17px; font-style: italic; line-height: 1.4; }
html[lang="hi"] .toast-text { font-style: normal; font-size: 15.5px; }

/* ------------------------------------------------------------ the gate */
.gate {
  position: absolute; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden auto;
  padding-bottom: 20px;
  background: var(--linen) url(../assets/linen.webp) 0 0 / var(--tile) repeat;
  transition: opacity .9s ease;
}
.gate.gone { opacity: 0; pointer-events: none; }
.gate { scrollbar-width: none; }
.gate::-webkit-scrollbar { display: none; }
.gate-plate { flex: none; width: min(100%, calc((100vh - 230px) * .75)); width: min(100%, calc((100dvh - 230px) * .75)); perspective: 1100px; }
.gate-glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 66%, #fff6d8 0%, #f7d98f 36%, #dca34c 66%, #9d5a1f 100%);
  -webkit-mask: url(../assets/arch-mask.svg) 0 0 / 100% 100% no-repeat;
  mask: url(../assets/arch-mask.svg) 0 0 / 100% 100% no-repeat;
}
.plate > .door { position: absolute; z-index: 1; inset: auto; height: auto; transition: transform 1.6s cubic-bezier(.32, .08, .2, 1); backface-visibility: hidden; }
.door-l { transform-origin: 0 50%; }
.door-r { transform-origin: 100% 50%; }
/* pushed open, into the palace */
.gate.open .door-l { transform: rotateY(78deg); }
.gate.open .door-r { transform: rotateY(-78deg); }
.gate .plate-front { z-index: 2; }
.gate-lang { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 10px; z-index: 5; }

.ticket {
  position: relative; z-index: 3;
  display: flex;
  width: min(calc(100% - 20px), 400px);
  margin-top: -9%;
  background: #fcf7ec;
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 3px #fcf7ec, inset 0 0 0 4px rgba(176, 135, 60, .4), 0 14px 30px rgba(60, 25, 15, .3);
  transition: transform .5s ease, opacity .5s ease;
}
.gate.open .ticket { transform: translateY(30px); opacity: 0; }
.ticket-main { flex: 1; min-width: 0; padding: 12px 10px 10px; text-align: center; border-right: 2px dashed rgba(150, 108, 42, .55); }
.ticket-main::before, .ticket-main::after {
  content: ""; position: absolute; right: 57px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--linen); border: 1px solid var(--gold);
}
.ticket-main::before { top: -9px; clip-path: inset(50% 0 0 0); }
.ticket-main::after { bottom: -9px; clip-path: inset(0 0 50% 0); }
.t-kicker { font: 600 10.5px/1.3 var(--sc); letter-spacing: .14em; color: var(--gold-text); }
.t-title { margin: 1px 0 2px; font: italic 600 27px/1.1 var(--serif); color: var(--maroon); }
.t-admit { font-size: 15px; line-height: 1.15; }
.t-admit span { font: 600 10.5px/1 var(--sc); letter-spacing: .18em; color: var(--gold-text); }
.t-admit b { font: 400 23px/1.15 var(--script); color: var(--maroon); }
.t-valid { margin-top: 4px; font: 600 11px/1.35 var(--sc); letter-spacing: .06em; color: var(--ink); }
.t-fine { margin-top: 4px; font-size: 12.5px; font-style: italic; line-height: 1.25; color: var(--ink-soft); }
html[lang="hi"] .t-kicker, html[lang="hi"] .t-admit span, html[lang="hi"] .t-valid { font: 400 13px/1.4 var(--deva); letter-spacing: 0; }
html[lang="hi"] .t-title { font: 400 27px/1.3 var(--deva); }
html[lang="hi"] .t-fine { font-style: normal; font-size: 12.5px; }
.ticket-stub {
  position: relative;
  flex: 0 0 58px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 6px;
  padding: 12px 4px;
  border: 0;
  background: linear-gradient(#80222f, #5d1520);
  box-shadow: inset 0 0 0 1px rgba(232, 203, 138, .45);
  color: var(--gold-light);
  touch-action: none;
  transition: transform .9s cubic-bezier(.4, .1, .6, 1), opacity .9s ease;
}
.ticket-stub.drag { transition: none; }
.ticket-stub.torn { transform: translate(60px, 120vh) rotate(38deg) !important; opacity: 0; }
.stub-no { writing-mode: vertical-rl; font: 600 11px/1 var(--sc); letter-spacing: .14em; }
.stub-mono { font: 28px/1 var(--script); }
.stub-cta { font: 600 10px/1.15 var(--sc); letter-spacing: .1em; text-align: center; animation: tug 1.8s ease-in-out infinite; }
html[lang="hi"] .stub-cta, html[lang="hi"] .stub-no { font: 400 11.5px/1.3 var(--deva); letter-spacing: 0; }
@keyframes tug { 0%, 70%, 100% { transform: none; } 80% { transform: translateX(3px) rotate(4deg); } 90% { transform: translateX(-2px) rotate(-2deg); } }
.gate-hint { margin: 12px 20px 0; font-size: 15.5px; line-height: 1.35; font-style: italic; text-align: center; color: var(--ink-soft); }
.gate-hint .link { padding: 4px; }
html[lang="hi"] .gate-hint { font-style: normal; font-size: 15px; }
.gate-sound { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px 20px 0; font-size: 14.5px; line-height: 1.3; font-style: italic; text-align: center; color: var(--gold-text); }
.gate-sound svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
html[lang="hi"] .gate-sound { font-style: normal; font-size: 14px; }

/* ------------------------------------------------------------ saat phere */
.agni { position: relative; width: min(80vw, 300px); aspect-ratio: 1; margin: 6px auto 0; touch-action: none; cursor: grab; }
.agni-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.orbit { fill: none; stroke: rgba(150, 108, 42, .4); stroke-width: 2; stroke-dasharray: 2 7; }
.orbit-fill { fill: none; stroke: url(#g-gold); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 150px 150px; }
.kund path { fill: #7a202c; stroke: #c39a4c; stroke-width: 1.6; }
.flame { fill: url(#g-flame); transform-box: fill-box; transform-origin: 50% 100%; }
.f1 { animation: lick 1.6s ease-in-out infinite; opacity: .9; }
.f2 { animation: lick 1.1s ease-in-out -.4s infinite reverse; }
.f3 { animation: lick .8s ease-in-out -.2s infinite; fill: #fff7d6; }
@keyframes lick { 0%, 100% { transform: scale(1, 1) skewX(0); } 33% { transform: scale(.94, 1.06) skewX(3deg); } 66% { transform: scale(1.04, .96) skewX(-3deg); } }
.agni.roar .flames { animation: roar 1s ease-out; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes roar { 40% { transform: scale(1.25); } }
.diya .bowl { fill: #8a5a26; stroke: #c39a4c; stroke-width: 1; }
.diya .fl { fill: #ffcf4d; opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transition: opacity .4s ease; }
.diya.lit .fl { opacity: 1; animation: lick 1.2s ease-in-out infinite; }
.diya.lit .halo { opacity: .8; }
.diya .halo { fill: url(#g-flame); opacity: 0; transition: opacity .4s ease; }
.tok { fill: #7a202c; stroke: #e8cb8a; stroke-width: 2; }
.tok-p { fill: #8a2a37; }
.token text { fill: #f3dc9f; font: 600 16px var(--sc); text-anchor: middle; }
.phera-count { margin-top: 4px; font: 600 13px/1.4 var(--sc); letter-spacing: .2em; color: var(--gold-text); }
html[lang="hi"] .phera-count { font: 400 15px/1.4 var(--deva); letter-spacing: 0; }
.vow { min-height: 104px; display: grid; place-content: center; gap: 4px; margin: 6px 0 12px; padding: 0 6px; font-style: italic; font-size: 19px; line-height: 1.4; }
html[lang="hi"] .vow { font-style: normal; font-size: 16.5px; }
.vow b { font: 600 12px/1.3 var(--sc); font-style: normal; letter-spacing: .22em; color: var(--gold-text); }
html[lang="hi"] .vow b { font: 400 14px/1.4 var(--deva); letter-spacing: 0; }
.vow.pop { animation: pop .5s ease; }
@keyframes pop { 0% { opacity: 0; transform: translateY(8px) scale(.98); } 100% { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ kundli */
.guna-dial { position: relative; width: 150px; margin: 0 auto 10px; }
.guna-dial svg { display: block; width: 100%; transform: rotate(-90deg); }
.dial-bg { fill: rgba(255, 252, 246, .7); stroke: rgba(150, 108, 42, .25); stroke-width: 8; }
.dial-fill { fill: none; stroke: var(--band); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 36; stroke-dashoffset: 36; transition: stroke-dashoffset .5s ease; }
.dial-num { position: absolute; inset: 0; display: grid; place-content: center; line-height: 1; }
.dial-num b { font: 600 46px/1 var(--serif); color: var(--maroon); }
.dial-num span { font-size: 15px; color: var(--gold-text); }
.dial-num small { margin-top: 4px; font: 600 10px/1 var(--sc); letter-spacing: .14em; color: var(--gold-text); }
html[lang="hi"] .dial-num small { font: 400 12px/1 var(--deva); letter-spacing: 0; }
.kootas { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; text-align: left; }
.koota { display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: start; padding: 10px 8px; border-top: 1px solid rgba(150, 108, 42, .22); transition: opacity .4s ease; }
.koota:not(.on) { opacity: .5; }
.koota:not(.on) p { filter: blur(4px); user-select: none; }
.koota.on { animation: pop .45s ease; }
.k-pts { display: grid; place-content: center; width: 42px; height: 42px; border: 1px solid var(--gold); border-radius: 50%; background: rgba(255, 252, 246, .8); line-height: 1; text-align: center; }
.k-pts b { font: 600 19px/1 var(--serif); color: var(--maroon); }
.k-pts small { font-size: 10px; color: var(--gold-text); }
.koota.on .k-pts { background: var(--band); border-color: var(--band); }
.koota.on .k-pts b, .koota.on .k-pts small { color: var(--gold-light); }
.k-name { font: 600 13px/1.3 var(--sc); letter-spacing: .12em; color: var(--maroon); }
.k-name span { color: var(--gold-text); letter-spacing: .06em; }
html[lang="hi"] .k-name { font: 400 15px/1.4 var(--deva); letter-spacing: 0; }
.koota p { margin: 3px 0 0; font-size: 16.5px; line-height: 1.4; transition: filter .5s ease; }
html[lang="hi"] .koota p { font-size: 15px; }
.verdict { display: grid; gap: 4px; justify-items: center; margin: 0 0 14px; }
.verdict b { font: italic 600 24px/1.2 var(--serif); color: var(--maroon); }
html[lang="hi"] .verdict b { font: 400 22px/1.3 var(--deva); }
.verdict p { margin: 0; font-style: italic; color: var(--ink-soft); }
.stamp {
  padding: 6px 14px; border: 3px double var(--band); border-radius: 4px;
  font: 600 22px/1 var(--sc); letter-spacing: .12em; color: var(--band);
  transform: rotate(-6deg); animation: stamp .5s cubic-bezier(.3, 1.6, .5, 1);
}
@keyframes stamp { 0% { transform: rotate(-6deg) scale(2.2); opacity: 0; } 100% { transform: rotate(-6deg) scale(1); opacity: 1; } }
.reader { margin: 0; display: grid; justify-items: center; gap: 6px; }
.reader img { width: 46%; height: auto; }
.reader figcaption { font-size: 15px; font-style: italic; color: var(--ink-soft); }

/* ------------------------------------------------------------ rsvp */
.rsvp { text-align: left; }
.rsvp-by { margin: 0 0 6px; text-align: center; font: 600 13px/1.4 var(--sc); letter-spacing: .14em; color: var(--maroon); }
.field { display: block; margin: 0 0 14px; padding: 0; border: 0; }
.field > span, .field > legend { display: block; margin-bottom: 6px; padding: 0; font: 600 12.5px/1.3 var(--sc); letter-spacing: .16em; color: var(--gold-text); }
html[lang="hi"] .field > span, html[lang="hi"] .field > legend { font: 400 14.5px/1.4 var(--deva); letter-spacing: 0; }
.field input, .field textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--hair); border-radius: 2px;
  background: rgba(255, 255, 255, .7);
  font-size: 17px; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field textarea:focus { outline: 2px solid rgba(176, 135, 60, .45); outline-offset: 1px; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--hair); background: rgba(255, 255, 255, .7); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; color: var(--maroon); }
.stepper output { display: grid; place-items: center; min-width: 46px; border-left: 1px solid var(--hair); border-right: 1px solid var(--hair); font: 600 20px/1 var(--serif); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 7px 14px; border: 1px solid var(--gold); border-radius: 20px; background: rgba(255, 252, 246, .7); font-size: 16px; color: var(--maroon); transition: background .2s ease, color .2s ease; }
.chip input:checked + span { background: var(--band); color: var(--gold-light); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); }
.form-msg { min-height: 1.2em; margin: 0 0 8px; font-size: 15px; font-style: italic; color: #a1262f; text-align: center; }
.rsvp .btn { width: 100%; }
.rsvp .link { display: block; margin: 8px auto 0; }
.cal-list, .venues { display: grid; gap: 8px; margin: 6px 0 12px; }
.cal-row, .venue {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--hair); background: rgba(255, 255, 255, .45); text-align: left; text-decoration: none; color: var(--ink);
}
.cal-row b, .venue b { display: block; font-weight: 600; color: var(--maroon); }
.cal-row small, .venue small { display: block; font-size: 14px; font-style: italic; color: var(--ink-soft); }
.cal-row svg, .venue svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold-text); stroke-width: 1.6; }
.credits { padding: 4px 4px 0; text-align: left; font-size: 14.5px; color: var(--ink-soft); }
.credits summary { cursor: pointer; text-align: center; font: 600 12.5px/1.4 var(--sc); letter-spacing: .18em; color: var(--gold-text); }
html[lang="hi"] .credits summary { font: 400 14px/1.4 var(--deva); letter-spacing: 0; }
.credits h4 { margin: 12px 0 4px; font: 600 12px/1.3 var(--sc); letter-spacing: .12em; color: var(--maroon); }
.credits ul { margin: 0; padding-left: 18px; }
.credits li { margin: 3px 0; }
.foot { padding: 14px 0 4px; }
.foot-names { font: 34px/1.2 var(--script); color: var(--maroon); }
.foot-date { font: 600 12px/1.4 var(--sc); letter-spacing: .2em; color: var(--gold-text); }

/* ------------------------------------------------------------ sheets */
.sheet { position: absolute; inset: 0; z-index: 80; display: flex; align-items: flex-end; background: rgba(38, 10, 14, .55); animation: fade .25s ease; }
.sheet-card {
  position: relative; width: 100%; max-height: 90%; overflow-y: auto;
  padding: 26px 20px calc(24px + env(safe-area-inset-bottom));
  background: var(--linen) url(../assets/linen.webp) 0 0 / var(--tile) repeat;
  border-top: 2px solid var(--gold); border-radius: 16px 16px 0 0;
  text-align: center;
  animation: rise .35s cubic-bezier(.2, .8, .3, 1);
}
.sheet-card h2 { margin: 6px 0 8px; font: italic 600 28px/1.2 var(--serif); color: var(--maroon); }
html[lang="hi"] .sheet-card h2 { font: 400 26px/1.3 var(--deva); }
.sheet-card > p { margin: 0 0 14px; }
.sheet-x { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--maroon); }
.sheet-icon { width: 90px; height: 47px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
.shoe-rack { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shoe-rack li { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border: 1px solid var(--hair); background: rgba(255, 252, 246, .55); font-size: 14px; }
.shoe-rack svg { width: 48px; height: 25px; filter: grayscale(1) opacity(.3); }
.shoe-rack li.got svg { filter: none; }
.shoe-rack b { font-weight: 600; color: var(--maroon); line-height: 1.2; }
.shoe-rack small { font-style: italic; color: var(--ink-soft); }
.offer { min-height: 120px; display: grid; place-content: center; gap: 6px; margin: 6px 0 16px; padding: 16px; border: 1px dashed var(--gold); background: rgba(255, 252, 246, .6); }
.offer-amt { font: 600 40px/1 var(--serif); color: var(--maroon); }
.offer p { margin: 0; font-size: 18px; font-style: italic; }
html[lang="hi"] .offer p { font-style: normal; font-size: 16px; }
.offer.thinking { color: var(--ink-soft); font-style: italic; }
.deal-btns { display: flex; gap: 10px; }
.deal-btns .btn { flex: 1; }
.deal-verdict { margin: 0 0 12px; font-size: 18px; font-style: italic; }
.vip img, .story-img { display: block; width: 100%; height: auto; margin: 0 auto 14px; box-shadow: 0 10px 26px rgba(50, 15, 15, .3); }
.story-img { width: 78%; }
.story-btns { display: flex; gap: 10px; }
.story-btns .btn { flex: 1; }

.burst { position: fixed; z-index: 90; pointer-events: none; width: 9px; height: 12px; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%; }
.fly { position: fixed; z-index: 95; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .el, .glow, .petal, .jutti, .flame, .stub-cta, .swipe-hint svg, .music-fab svg, .music-fab::before,
  .label.live::before, .tag.now::before, .ev-badge.now::before, .shoe-pick.picked svg, .shoe-say, .shoe-result { animation: none !important; }
  .door { transition-duration: .01s; }
}
@media (min-width: 520px) {
  .gate-hint { font-size: 17px; }
}
