/* Videshi Swayamvar, public site styles. Mobile first; wider layouts at 640px, 960px and 1100px. */

@font-face { font-family: 'Rozha One'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/rozha-one-latin.a59c71d6d0.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2018-201F, U+2022, U+2026, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rozha One'; font-style: normal; font-weight: 400; font-display: block; src: url(/assets/fonts/rozha-one-logo.7428ad1c0c.woff2) format('woff2'); unicode-range: U+0900-097F, U+200C-200D, U+25CC, U+A8E0-A8FF; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/mukta-latin-400.510168c767.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2018-201F, U+2022, U+2026, U+20AC, U+20B9, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/mukta-latin-600.1e86a6af02.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2018-201F, U+2022, U+2026, U+20AC, U+20B9, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/mukta-latin-800.d315a9ca0f.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2018-201F, U+2022, U+2026, U+20AC, U+20B9, U+2122, U+FEFF, U+FFFD; }

:root {
  --maroon: #5B0E1E;
  --maroon-deep: #3D0913;
  --maroon-soft: #7D1A2E;
  --saffron: #F7A400;
  --saffron-deep: #C78400;
  --red: #D0182E;
  --ivory: #FFF4DF;
  --cream: #FAF6F1;
  --ink: #12101A;
  --text: #2A2128;
  --muted: #6E5F64;
  --line: #EADFCF;
  --white: #FFFFFF;
  --wa: #1FA855;
  --f-display: 'Rozha One', Georgia, 'Times New Roman', serif;
  --f-ui: 'Mukta', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(18, 16, 26, .06), 0 6px 18px rgba(18, 16, 26, .07);
  --shadow-lg: 0 18px 50px rgba(18, 16, 26, .24);
  --hdr: 60px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; min-width: 320px; font-family: var(--f-ui); font-size: 17px; line-height: 1.5; color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 800; }
p, figure, blockquote { margin: 0; }
p, li, dd, summary { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

/* While an English visitor's page swaps its text, keep it hidden for a moment (never longer than 1.2s). */
html.lang-en body { opacity: 0; animation: vs-reveal 0s linear 1.2s forwards; }
html.lang-en.i18n-ready body { opacity: 1; animation: none; }
@keyframes vs-reveal { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--saffron); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 8px; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); }

/* Brand mark */
.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ivory); line-height: 1; gap: 1px; }
.brand-dev { font-family: var(--f-display); font-weight: 400; font-size: 25px; line-height: 1.3; color: var(--ivory); white-space: nowrap; }
.brand-lat { font-weight: 800; font-size: 9px; letter-spacing: .36em; color: var(--saffron); white-space: nowrap; }
.brand-lg .brand-dev { font-size: 34px; }
.brand-lg .brand-lat { font-size: 11px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(61, 9, 19, .95); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(247, 164, 0, .28); color: var(--ivory); }
.hdr { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hdr-nav { display: none; }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.site-header .hdr-cta { display: none; }
.lang { display: inline-flex; background: rgba(255, 244, 223, .1); border: 1px solid rgba(255, 244, 223, .22); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; color: var(--ivory); font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: 999px; line-height: 1.2; min-height: 32px; }
.lang button[aria-pressed="true"] { background: var(--saffron); color: var(--ink); font-weight: 800; }
@media (min-width: 960px) {
  :root { --hdr: 68px; --gutter: 32px; }
  .site-header .hdr-cta { display: inline-flex; }
}
@media (min-width: 1100px) {
  .hdr-nav { display: flex; gap: 20px; }
  .hdr-nav a { text-decoration: none; font-weight: 600; font-size: 15.5px; color: rgba(255, 244, 223, .86); white-space: nowrap; }
  .hdr-nav a:hover { color: var(--saffron); }
}

/* Buttons */
.btn { --bg: var(--ivory); --fg: var(--ink); --bd: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 9px 20px; border-radius: 999px; border: 2px solid var(--bd); background: var(--bg); color: var(--fg); font-weight: 800; font-size: 16.5px; line-height: 1.15; text-decoration: none; text-align: center; transition: transform .12s ease, box-shadow .12s ease, background-color .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 12px 26px; font-size: 18px; }
.btn-block { display: flex; width: 100%; }
.btn-saffron { --bg: var(--saffron); --fg: var(--ink); box-shadow: 0 4px 0 var(--saffron-deep); }
.btn-saffron:hover { --bg: #FFB21A; }
.btn-saffron:active { box-shadow: 0 2px 0 var(--saffron-deep); transform: translateY(2px); }
.btn-ghost { --bg: transparent; --fg: var(--ivory); --bd: rgba(255, 244, 223, .75); }
.btn-ghost:hover { --bg: rgba(255, 244, 223, .1); }
.btn-maroon { --bg: var(--maroon); --fg: var(--ivory); box-shadow: 0 4px 0 var(--maroon-deep); }
.btn-maroon:hover { --bg: var(--maroon-soft); }
.btn-maroon:active { box-shadow: 0 2px 0 var(--maroon-deep); transform: translateY(2px); }
.btn-outline { --bg: transparent; --fg: var(--maroon); --bd: var(--maroon); }
.btn-outline:hover { --bg: rgba(91, 14, 30, .06); }
.btn-text { --bg: transparent; --fg: var(--maroon); min-height: 42px; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.btn-wa { --bg: var(--wa); --fg: #fff; box-shadow: 0 4px 0 #13803F; }
.btn-wa:hover { --bg: #22B85E; }
.btn[disabled], .btn.is-busy { opacity: .65; pointer-events: none; }
.btn .ic { width: 1.2em; height: 1.2em; }

/* Marigold string */
.toran { height: 20px; background:
  radial-gradient(circle, #E07B00 0 2.4px, transparent 3px) 0 0 / 22px 18px repeat-x,
  radial-gradient(circle, var(--saffron) 0 7px, transparent 7.6px) 0 0 / 22px 18px repeat-x,
  radial-gradient(circle, var(--red) 0 3.4px, transparent 4px) 11px 0 / 22px 18px repeat-x,
  linear-gradient(rgba(208, 24, 46, .75), rgba(208, 24, 46, .75)) 0 8px / 100% 2px no-repeat; }

/* Pills */
.live-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12px; letter-spacing: .08em; padding: 2px 9px 3px; border-radius: 6px; background: rgba(208, 24, 46, .22); color: #FFB3BC; border: 1px solid rgba(208, 24, 46, .55); }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #FF4D61; animation: pulse 1.4s ease-in-out infinite; }
.live-pill-red { background: var(--red); color: #fff; border-color: var(--red); }
body.not-live .live-pill { display: none; }
.live-pill-red i { background: #fff; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(208, 24, 46, .25); flex: none; }

/* Hero */
.hero { position: relative; background: var(--maroon-deep); color: var(--ivory); overflow: hidden; }
.hero-grid { position: relative; display: flex; align-items: flex-end; min-height: max(580px, calc(100vh - var(--hdr))); min-height: max(580px, calc(100svh - var(--hdr))); }
.hero-art { position: absolute; inset: 0; }
.hero-art picture, .hero-art img { width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 50% 16%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 16, 26, .3) 0%, rgba(18, 16, 26, 0) 16%, rgba(18, 16, 26, 0) 36%, rgba(61, 9, 19, .74) 58%, rgba(61, 9, 19, .96) 78%, var(--maroon-deep) 100%); }
.hero-copy { position: relative; z-index: 1; width: 100%; padding: 0 var(--gutter) 22px; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--saffron); color: var(--ink); font-weight: 800; font-size: 12.5px; padding: 2px 11px 3px; border-radius: 999px; white-space: nowrap; }
.hero-logo { display: none; }
.hero-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 11.2vw, 50px); line-height: 1.02; color: var(--ivory); text-wrap: balance; }
.hero-title em { font-style: normal; color: var(--saffron); }
.hero-sub { margin-top: 10px; font-size: 16.5px; line-height: 1.45; color: rgba(255, 244, 223, .92); max-width: 36em; }
.hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.hero-ctas .btn { padding-inline: 10px; }
.hero-live { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 16px; font-size: 15px; }
.hero-votes { font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-lead { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.hero-lead::-webkit-scrollbar { display: none; }
.hero-lead .lbl { opacity: .8; flex: none; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px 3px; border-radius: 999px; background: rgba(255, 244, 223, .12); border: 1px solid rgba(255, 244, 223, .22); font-weight: 600; flex: none; }
.chip b { color: var(--saffron); font-weight: 800; }
.nyet-badge { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; align-items: center; background: rgba(18, 16, 26, .8); color: var(--ivory); border: 1.5px solid rgba(247, 164, 0, .75); border-radius: 10px; padding: 5px 9px 4px; text-decoration: none; line-height: 1; }
.nyet-badge span { font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.nyet-badge b { font-size: 21px; font-weight: 800; color: var(--saffron); margin-top: 2px; font-variant-numeric: tabular-nums; }
.hero-tag { display: none; }
.hero-season { position: absolute; top: 14px; left: 12px; z-index: 2; }
.hero-live .hero-badge { display: none; }
.hero-lead { display: none !important; }
.countdown { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: 12px; padding: 5px 12px 6px; border-radius: 999px; background: rgba(255, 244, 223, .1); border: 1px solid rgba(255, 244, 223, .22); font-size: 14px; font-weight: 600; }
.cd-units { display: inline-flex; gap: 6px; align-items: baseline; }
.cd-u { display: inline-flex; align-items: baseline; gap: 2px; }
.cd-u b { font-size: 18px; font-weight: 800; color: var(--saffron); font-variant-numeric: tabular-nums; }
.countdown-light { display: flex; justify-content: center; width: fit-content; margin: 0 auto 16px; background: var(--white); border-color: var(--line); color: var(--text); }
.countdown-light .cd-u b { color: var(--maroon); }

@media (min-width: 960px) {
  .hero { background: radial-gradient(110% 120% at 0% 0%, var(--maroon-soft) 0%, var(--maroon) 42%, var(--maroon-deep) 100%); }
  .hero-grid { min-height: 0; width: min(1180px, 100% - 64px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 64px; align-items: center; padding: 48px 0 64px; }
  .hero-art { position: relative; inset: auto; grid-column: 2; grid-row: 1; width: 100%; max-width: 440px; justify-self: center; aspect-ratio: 10 / 14.5; border-radius: 999px 999px 28px 28px; overflow: hidden; box-shadow: 0 0 0 8px var(--maroon), 0 0 0 11px var(--saffron), var(--shadow-lg); }
  .hero-art img { object-position: 50% 30%; }
  .hero-shade { background: linear-gradient(180deg, rgba(18, 16, 26, 0) 62%, rgba(18, 16, 26, .55)); }
  .hero-copy { grid-column: 1; grid-row: 1; padding: 0; }
  .hero-logo { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 18px; }
  .hero-logo .brand-dev { font-size: 70px; color: var(--saffron); }
  .hero-logo .brand-lat { font-size: 14px; letter-spacing: .52em; color: var(--ivory); opacity: .85; }
  .hero-title { font-size: 58px; }
  .hero-sub { font-size: 20px; margin-top: 14px; }
  .hero-ctas { display: flex; gap: 14px; margin-top: 26px; }
  .hero-ctas .btn { padding-inline: 28px; }
  .hero-lead { display: flex !important; flex-wrap: wrap; white-space: normal; overflow: visible; }
  .hero-lead[hidden] { display: none !important; }
  .hero-season { display: none; }
  .hero-live .hero-badge { display: inline-flex; }
  .hero-tag { display: block; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(255, 244, 223, .95); color: var(--maroon); font-weight: 800; padding: 5px 14px; border-radius: 999px; font-size: 14px; white-space: nowrap; }
  .nyet-badge { top: auto; bottom: 64px; right: 18px; }
}

/* Sections */
.sec { padding: 52px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 24px; }
.sec-head h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 8.6vw, 52px); color: var(--maroon); line-height: 1.05; }
.sec-head .sub { margin-top: 8px; font-size: 17px; color: var(--muted); }
.sec-head-light h2 { color: var(--saffron); }
.sec-head-light .sub { color: rgba(255, 244, 223, .85); }
.eyebrow { margin-bottom: 10px; display: flex; justify-content: center; }
@media (min-width: 960px) { .sec { padding: 84px 0; } .sec-head { margin-bottom: 36px; } }

/* Scoreboard */
.sec-board { padding-top: 36px; }
.board-meta { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.board-meta strong { color: var(--maroon); font-weight: 800; font-variant-numeric: tabular-nums; }
.note { text-align: center; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--saffron); border-radius: 12px; padding: 12px 14px; margin: 0 auto 16px; max-width: 640px; font-weight: 600; }
.board { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.brow { margin-bottom: 8px; }
.brow-btn { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-rows: auto 6px; column-gap: 10px; row-gap: 7px; align-items: center; text-align: left; padding: 10px 14px 12px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.brow-btn:hover { border-color: #D9C6AD; box-shadow: var(--shadow); }
.rk { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; background: var(--cream); color: var(--muted); font-variant-numeric: tabular-nums; }
.nm { display: flex; align-items: center; gap: 7px; min-width: 0; font-weight: 600; font-size: 16.5px; color: var(--ink); line-height: 1.2; }
.nm .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nums { text-align: right; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nums b { display: block; font-weight: 800; font-size: 16.5px; color: var(--ink); min-width: 2ch; min-height: 1.1em; }
.nums small { font-size: 12.5px; color: var(--muted); }
.bar { grid-column: 2 / 4; height: 6px; border-radius: 99px; background: #F1E7DA; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--maroon-soft); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.tag { flex: none; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; padding: 1px 6px 2px; border-radius: 5px; line-height: 1.4; }
.tag-top5 { background: var(--saffron); color: var(--ink); }
.tag-mine { background: var(--maroon); color: var(--ivory); letter-spacing: 0; }
.chg { flex: none; display: inline-flex; align-items: center; gap: 1px; font-size: 11.5px; font-weight: 800; }
.chg .ic { width: 9px; height: 9px; }
.chg.up { color: #1F7A3D; }
.chg.down { color: var(--red); }
.brow.is-top .brow-btn { background: linear-gradient(90deg, #FFF0C8, #FFF8E8); border-color: #F1C35C; }
.brow.is-top .rk { background: var(--saffron); color: var(--ink); }
.brow.is-top .bar { background: rgba(247, 164, 0, .22); }
.brow.is-top .bar i { background: linear-gradient(90deg, var(--saffron-deep), var(--saffron)); }
.brow.is-mine .brow-btn { box-shadow: inset 0 0 0 2px var(--maroon); }
.brow.is-skel .nums b, .brow.is-skel .nums small { color: transparent; background: #F1E7DA; border-radius: 4px; }
.brow.is-skel .nums small { display: inline-block; width: 3ch; }
.board.is-collapsed .is-extra { display: none; }
.cut { display: flex; align-items: center; gap: 10px; margin: 2px 0 10px; font-size: 12.5px; font-weight: 800; color: var(--saffron-deep); text-transform: uppercase; letter-spacing: .08em; }
.cut::before, .cut::after { content: ''; flex: 1; border-top: 2px dashed rgba(199, 132, 0, .6); }
.gap-msg { text-align: center; font-size: 14.5px; color: var(--maroon); font-weight: 600; margin: -4px 0 12px; }
.board-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 12px; }
.board-error { text-align: center; color: var(--red); font-weight: 600; margin: 8px 0; }
.final5 { list-style: none; padding: 0; margin: 0 auto 22px; max-width: 760px; display: grid; gap: 10px; }
.f5 { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, var(--maroon), var(--maroon-deep)); color: var(--ivory); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); border: 2px solid var(--saffron); }
.f5-rank { font-family: var(--f-display); font-size: 34px; color: var(--saffron); width: 36px; text-align: center; line-height: 1; }
.f5-name { font-weight: 800; font-size: 19px; line-height: 1.2; }
.f5-votes { margin-left: auto; text-align: right; font-size: 14px; opacity: .9; white-space: nowrap; }
.f5-badge { display: inline-block; margin-top: 3px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; background: var(--saffron); color: var(--ink); padding: 1px 7px; border-radius: 5px; }
@media (min-width: 960px) {
  .board { max-width: none; columns: 2; column-gap: 18px; }
  .brow, .cut, .gap-msg { break-inside: avoid; }
  .board.is-collapsed .is-extra { display: block; }
  #board-more { display: none; }
  .final5 { max-width: none; grid-template-columns: repeat(5, 1fr); }
  .f5 { flex-direction: column; text-align: center; padding: 18px 12px; gap: 6px; }
  .f5-votes { margin: 0; text-align: center; }
}

/* How it works */
.sec-how { background: var(--ivory); }
.steps { list-style: none; margin: 0 auto 24px; padding: 0; max-width: 620px; }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding-bottom: 22px; }
.step::before { content: ''; position: absolute; left: 25px; top: 56px; bottom: 4px; border-left: 2px dashed rgba(91, 14, 30, .25); }
.step-last::before { display: none; }
.step-n { width: 52px; height: 52px; border-radius: 50%; background: var(--maroon); color: var(--saffron); display: grid; place-items: center; font-family: var(--f-display); font-size: 26px; line-height: 1; box-shadow: 0 0 0 4px var(--ivory), 0 0 0 6px rgba(91, 14, 30, .18); }
.step-last .step-n { background: var(--maroon); }
.step-last .step-n .ic { width: 34px; height: 34px; }
.step h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin-top: 4px; }
.step p { color: var(--muted); margin-top: 2px; }
@media (min-width: 960px) {
  .steps { max-width: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 36px; }
  .step { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 0 4px; }
  .step::before { left: calc(50% + 36px); width: calc(100% - 72px + 18px); top: 26px; bottom: auto; border-left: 0; border-top: 2px dashed rgba(91, 14, 30, .25); }
  .step-n { width: 56px; height: 56px; }
}

/* Meet Anya */
.sec-anya { background: radial-gradient(120% 70% at 50% 0%, var(--maroon-soft), var(--maroon) 52%, var(--maroon-deep)); color: var(--ivory); padding-top: 0; }
.sec-anya .toran { margin-bottom: 36px; }
.anya-grid { display: grid; justify-items: center; }
.anya-photo { width: min(76%, 330px); aspect-ratio: 4 / 5; border-radius: 999px 999px 22px 22px; overflow: hidden; box-shadow: 0 0 0 6px var(--maroon), 0 0 0 9px var(--saffron), var(--shadow-lg); position: relative; z-index: 1; background: var(--maroon-deep); }
.anya-photo picture, .anya-photo img { width: 100%; height: 100%; object-fit: cover; }
.biodata { position: relative; margin-top: -36px; width: 100%; max-width: 470px; background: var(--ivory); color: var(--ink); border-radius: 18px; padding: 52px 18px 18px; box-shadow: var(--shadow-lg); border: 2px solid var(--saffron); outline: 1.5px solid rgba(91, 14, 30, .55); outline-offset: -9px; }
.bio-top { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.bio-top h3 { font-family: var(--f-display); font-weight: 400; font-size: 30px; color: var(--maroon); }
.bio-flower { width: 24px; height: 24px; }
.bio-list { margin: 0; }
.bio-list > div { display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding: 8px 6px; border-bottom: 1px dashed rgba(91, 14, 30, .22); }
.bio-list > div:last-child { border-bottom: 0; }
.bio-list dt { font-weight: 600; color: var(--muted); }
.bio-list dd { margin: 0; font-weight: 800; color: var(--ink); }
.bio-papa dd { color: var(--red); }
.bio-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 8px 2px; border-top: 1px solid rgba(91, 14, 30, .12); font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.bio-note .ic { margin-top: 2px; color: var(--maroon); }
.world { margin-top: 52px; }
.world-head { text-align: center; margin-bottom: 18px; }
.world-head h3 { font-family: var(--f-display); font-weight: 400; font-size: 32px; color: var(--saffron); }
.world-head p { color: rgba(255, 244, 223, .86); margin-top: 4px; }
.world-list { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.world-list::-webkit-scrollbar { display: none; }
.wcard { position: relative; scroll-snap-align: start; border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 16; background: var(--maroon-deep); box-shadow: var(--shadow); }
.wcard picture, .wcard img { width: 100%; height: 100%; object-fit: cover; }
.wcap { position: absolute; left: 10px; bottom: 10px; background: rgba(18, 16, 26, .75); color: var(--ivory); font-weight: 800; font-size: 14px; padding: 3px 11px 4px; border-radius: 999px; }
.wcard-next { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 8px; padding: 18px 12px; background: linear-gradient(160deg, var(--saffron), #FFD36A); color: var(--ink); border: 3px dashed rgba(91, 14, 30, .4); }
.wcard-next strong { font-family: var(--f-display); font-weight: 400; font-size: 28px; color: var(--maroon); line-height: 1.1; }
.wcard-next span { font-weight: 600; line-height: 1.35; }
.next-pin { width: 40px; height: 40px; color: var(--red); }
@media (min-width: 960px) {
  .anya-grid { grid-template-columns: 380px minmax(0, 520px); justify-content: center; align-items: center; gap: 56px; }
  .anya-photo { width: 100%; }
  .biodata { margin-top: 0; padding: 28px 30px 22px; }
  .bio-list > div { grid-template-columns: 130px 1fr; padding: 10px 8px; }
  .world { margin-top: 72px; }
  .world-list { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 18px; }
}

/* Cast */
.cast-grid { display: grid; gap: 18px; max-width: 1040px; margin: 0 auto; }
.cast-card { background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.cast-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #2A2128; }
.cast-photo picture, .cast-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.cast-body { padding: 16px 18px 22px; flex: 1; }
.cast-body h3 { font-family: var(--f-display); font-weight: 400; font-size: 32px; color: var(--maroon); }
.cast-body > p { color: var(--muted); margin: 4px 0 14px; }
.cast-body blockquote { font-family: var(--f-display); font-size: 21px; color: var(--ink); line-height: 1.3; padding-left: 14px; border-left: 4px solid var(--saffron); }
.cast-tag { position: absolute; left: 12px; top: 12px; background: var(--ink); color: var(--ivory); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px 4px; border-radius: 6px; }
.nyet-counter { position: absolute; right: 12px; top: 12px; background: rgba(18, 16, 26, .84); color: var(--ivory); border: 1.5px solid var(--saffron); border-radius: 10px; padding: 6px 10px 5px; text-align: center; line-height: 1; font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nyet-counter b { display: block; font-size: 26px; color: var(--saffron); margin-top: 3px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.nyet-bubble { position: absolute; left: 14px; bottom: 14px; max-width: 78%; background: var(--white); color: var(--red); font-weight: 800; font-size: 21px; line-height: 1.25; padding: 8px 14px 9px; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(8px) scale(.92); transition: opacity .15s, transform .22s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.nyet-bubble.is-on { opacity: 1; transform: none; }
.cast-papa.is-shake .cast-photo img { animation: shake .42s; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px) rotate(-1deg); } 40% { transform: translateX(6px) rotate(1deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@media (min-width: 640px) { .cast-photo { aspect-ratio: 4 / 3.4; } }
@media (min-width: 960px) { .cast-grid { grid-template-columns: 1fr 1fr; gap: 26px; } .cast-photo { aspect-ratio: 4 / 3.6; } }

/* Teaser */
.sec-teaser { background: radial-gradient(90% 60% at 50% 100%, #2B1520, var(--ink) 70%); color: var(--ivory); }
.teaser-grid { display: grid; gap: 24px; justify-items: center; text-align: center; }
.teaser-copy h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 8.6vw, 52px); color: var(--saffron); line-height: 1.05; }
.teaser-copy .sub { color: rgba(255, 244, 223, .84); margin: 8px 0 16px; }
.teaser-frame { position: relative; width: min(100%, 340px); aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 0 0 6px #241F2C, 0 0 0 8px rgba(247, 164, 0, .6), 0 30px 60px rgba(0, 0, 0, .5); }
.teaser-frame video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.teaser-play { position: absolute; inset: 0; border: 0; padding: 0; background: linear-gradient(180deg, rgba(18, 16, 26, 0) 45%, rgba(18, 16, 26, .75)); color: var(--ivory); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; padding-bottom: 42px; }
.play-ring { width: 80px; height: 80px; border-radius: 50%; background: var(--saffron); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(247, 164, 0, .28); animation: ring 2.2s ease-in-out infinite; }
.play-ring .ic { width: 34px; height: 34px; margin-left: 5px; }
.play-label { font-weight: 800; font-size: 17px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 8px rgba(247, 164, 0, .3); } 50% { box-shadow: 0 0 0 16px rgba(247, 164, 0, .1); } }
@media (min-width: 960px) {
  .teaser-grid { grid-template-columns: minmax(0, 1fr) 380px; text-align: left; justify-items: start; align-items: center; gap: 72px; max-width: 980px; }
  .teaser-frame { width: 380px; }
}

/* FAQ */
.sec-faq { background: var(--ivory); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 34px 14px 0; font-weight: 800; font-size: 17px; color: var(--ink); position: relative; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; line-height: 1; color: var(--maroon); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--text); }
.faq a { color: var(--maroon); font-weight: 800; }

/* Instagram */
.sec-ig { background: var(--ivory); padding-top: 0; }
.ig-card { display: grid; justify-items: center; text-align: center; gap: 14px; background: linear-gradient(135deg, var(--maroon) 0%, #8A1F3A 58%, #B03C5B 100%); color: var(--ivory); border-radius: 26px; padding: 30px 20px; box-shadow: var(--shadow-lg); }
.ig-icon { width: 54px; height: 54px; color: var(--saffron); }
.ig-copy h2 { font-family: var(--f-display); font-weight: 400; font-size: 32px; line-height: 1.1; }
.ig-copy p { color: rgba(255, 244, 223, .88); margin-top: 6px; }
@media (min-width: 960px) { .ig-card { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; align-items: center; padding: 34px 40px; gap: 26px; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 244, 223, .85); }
.toran-dark { background-color: var(--ink); }
.ftr { display: grid; gap: 28px; padding: 32px 0 24px; }
.ftr-tag { margin: 10px 0 12px; max-width: 30em; }
.ig-link, .mail { display: inline-flex; align-items: center; gap: 8px; color: var(--saffron); font-weight: 800; text-decoration: none; word-break: break-all; }
.ftr-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; align-content: start; }
.ftr-links a { text-decoration: none; font-weight: 600; }
.ftr-links a:hover { color: var(--saffron); }
.ftr-contact p { margin-bottom: 6px; }
.ftr-nofee { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 14px; color: rgba(255, 244, 223, .72); }
.ftr-bottom { border-top: 1px solid rgba(255, 244, 223, .12); padding: 16px 0 calc(22px + env(safe-area-inset-bottom)); font-size: 13px; color: rgba(255, 244, 223, .62); display: grid; gap: 6px; }
body.has-sticky .ftr-bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) {
  .ftr { grid-template-columns: 1.4fr 1fr 1.2fr; padding: 48px 0 32px; }
  .ftr-bottom { grid-template-columns: 1fr auto; }
  body.has-sticky .ftr-bottom { padding-bottom: 22px; }
}

/* Sticky vote bar (phones) */
.sticky-cta { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(61, 9, 19, .97); color: var(--ivory); border: 1px solid rgba(247, 164, 0, .45); border-radius: 18px; padding: 8px 8px 8px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transform: translateY(150%); transition: transform .25s ease; }
.sticky-cta.is-on { transform: none; }
.sticky-txt { display: grid; line-height: 1.2; font-size: 14.5px; min-width: 0; }
.sticky-txt span { font-size: 12.5px; opacity: .82; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cta .btn { flex: none; }
@media (min-width: 960px) { .sticky-cta { display: none !important; } }

/* Vote sheet */
.sheet { padding: 0; border: 0; width: 100%; max-width: 100%; max-height: 92vh; max-height: 92svh; margin: auto 0 0; border-radius: 22px 22px 0 0; background: var(--cream); color: var(--text); box-shadow: var(--shadow-lg); overflow: hidden; }
.sheet::backdrop { background: rgba(18, 16, 26, .62); }
.sheet:not([open]) { display: none; }
.sheet[open] { position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; }
.sheet[open] { animation: sheet-up .28s cubic-bezier(.2, .9, .2, 1); }
@keyframes sheet-up { from { transform: translateY(48px); opacity: .5; } to { transform: none; opacity: 1; } }
.sheet-inner { display: flex; flex-direction: column; max-height: inherit; }
.sheet-head { position: relative; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 14px 8px 8px; border-bottom: 1px solid var(--line); background: var(--white); }
.sheet-head::before { content: ''; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; border-radius: 4px; background: #DDD3C6; transform: translateX(-50%); }
.sheet-head h2 { grid-column: 2; text-align: center; font-family: var(--f-display); font-weight: 400; font-size: 25px; color: var(--maroon); line-height: 1.2; }
#sheet-back { grid-column: 1; grid-row: 1; }
#sheet-close { grid-column: 3; grid-row: 1; }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.icon-btn:hover { background: var(--cream); }
.icon-btn .ic { width: 22px; height: 22px; }
.sheet-body { overflow-y: auto; padding: 14px 16px calc(20px + env(safe-area-inset-bottom)); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (min-width: 640px) {
  .sheet { max-width: 560px; margin: auto; border-radius: 22px; max-height: 86vh; }
  .sheet-head::before { display: none; }
}
.vstep[data-step="pick"] { min-height: min(64vh, 600px); }
.search { display: flex; align-items: center; gap: 8px; background: var(--white); border: 2px solid var(--line); border-radius: 14px; padding: 0 12px; color: var(--muted); }
.search:focus-within { border-color: var(--maroon); color: var(--maroon); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; min-height: 48px; font-size: 17px; color: var(--ink); }
.quick { margin: 14px 0 4px; }
.quick-label, .sgroup h3 { font-size: 12.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin: 0 2px 8px; }
.quick-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.qchip { border: 1.5px solid #F1C35C; background: #FFF4D6; border-radius: 999px; padding: 5px 12px 6px; font-weight: 800; font-size: 14.5px; color: var(--ink); }
.qchip small { font-weight: 600; color: var(--muted); margin-left: 4px; }
.sgroup { margin-top: 16px; }
.sitems { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sitem { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; text-align: left; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); min-height: 56px; }
.sitem b { font-size: 15px; font-weight: 800; line-height: 1.2; color: var(--ink); }
.sitem small { font-size: 12.5px; color: var(--muted); }
.sitem.is-top { border-color: #F1C35C; background: #FFF8E6; }
.sitem:hover { border-color: var(--maroon); }
.empty { text-align: center; color: var(--muted); padding: 24px 0; }
.confirm-card { text-align: center; background: var(--white); border: 2px solid var(--saffron); border-radius: 18px; padding: 18px 14px 16px; margin: 4px 0 12px; }
.confirm-state { font-family: var(--f-display); font-size: 36px; line-height: 1.1; color: var(--maroon); margin: 6px 0 4px; overflow-wrap: anywhere; }
.confirm-rank { color: var(--muted); font-weight: 600; }
#vote-go { margin-top: 14px; }
.form-err { background: #FDE8EA; color: #9D1023; border: 1px solid #F5B5BE; border-radius: 12px; padding: 10px 12px; font-weight: 600; margin-top: 12px; }
.ts-box { display: flex; justify-content: center; margin: 12px 0 4px; min-height: 65px; }
.vstep[data-step="done"] { text-align: center; position: relative; padding-top: 4px; }
.done-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--saffron); color: var(--ink); display: grid; place-items: center; margin: 4px auto 12px; box-shadow: 0 0 0 8px rgba(247, 164, 0, .22); animation: pop .5s cubic-bezier(.3, 1.7, .5, 1); }
.done-badge .ic { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.done-text { font-family: var(--f-display); font-size: 27px; color: var(--maroon); line-height: 1.15; overflow-wrap: anywhere; }
.done-rank { font-weight: 800; margin-top: 6px; color: var(--ink); }
.done-push { color: var(--muted); margin: 6px 0 16px; }
.share { display: grid; gap: 10px; }
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-row.one { grid-template-columns: 1fr; }
.share-row .btn { padding-inline: 10px; font-size: 15.5px; }
.next-vote { margin-top: 14px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.msg-text { text-align: center; font-size: 18px; font-weight: 600; color: var(--ink); padding: 10px 4px 18px; }
.vstep[data-step="msg"] .btn { margin-top: 10px; }
.done-burst { position: absolute; left: 0; right: 0; top: -14px; height: 0; pointer-events: none; }
.done-burst i { position: absolute; top: 0; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; background: var(--saffron); opacity: 0; animation: petal 1.5s ease-out forwards; }
.done-burst i:nth-child(3n) { background: var(--red); width: 8px; height: 8px; }
.done-burst i:nth-child(3n+1) { background: #E07B00; }
.done-burst i:nth-child(1) { left: 6%; --dx: 20px; animation-delay: .05s; }
.done-burst i:nth-child(2) { left: 14%; --dx: -14px; animation-delay: .2s; }
.done-burst i:nth-child(3) { left: 22%; --dx: 26px; animation-delay: .1s; }
.done-burst i:nth-child(4) { left: 30%; --dx: -20px; animation-delay: .32s; }
.done-burst i:nth-child(5) { left: 38%; --dx: 12px; animation-delay: .02s; }
.done-burst i:nth-child(6) { left: 46%; --dx: -26px; animation-delay: .24s; }
.done-burst i:nth-child(7) { left: 54%; --dx: 18px; animation-delay: .14s; }
.done-burst i:nth-child(8) { left: 62%; --dx: -12px; animation-delay: .38s; }
.done-burst i:nth-child(9) { left: 70%; --dx: 22px; animation-delay: .08s; }
.done-burst i:nth-child(10) { left: 78%; --dx: -18px; animation-delay: .28s; }
.done-burst i:nth-child(11) { left: 86%; --dx: 14px; animation-delay: .18s; }
.done-burst i:nth-child(12) { left: 93%; --dx: -22px; animation-delay: .34s; }
@keyframes petal { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 12% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), 260px) rotate(260deg); } }

/* Inner page hero */
.page-hero { background: radial-gradient(120% 140% at 0% 0%, var(--maroon-soft), var(--maroon) 50%, var(--maroon-deep)); color: var(--ivory); padding-bottom: 26px; }
.page-hero .toran { margin-bottom: 22px; }
.page-hero-in { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; }
.page-hero-in > div { display: contents; }
.page-hero-in h1 { grid-column: 2; }
.page-hero-in p { grid-column: 1 / -1; }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--maroon), 0 0 0 5px var(--saffron); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 9vw, 56px); color: var(--ivory); line-height: 1.05; }
.page-hero p { color: rgba(255, 244, 223, .88); margin-top: 6px; }
.page-hero .elig { font-size: 15px; color: var(--saffron); font-weight: 600; }
.page-hero .lead { font-size: 18.5px; max-width: 36em; margin-top: 12px; }
.eyebrow-light { justify-content: flex-start; color: var(--saffron); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
@media (min-width: 960px) {
  .page-hero { padding-bottom: 44px; }
  .page-hero .toran { margin-bottom: 36px; }
  .avatar { width: 110px; height: 110px; grid-row: 1 / span 3; }
  .page-hero-in { column-gap: 26px; }
  .page-hero-in p { grid-column: 2; }
}

/* Rishta form */
.wrap-form { width: min(760px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 18px 0 60px; }
.notice { display: flex; gap: 12px; align-items: flex-start; background: #FFF8EC; border: 2px solid var(--red); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.notice > .ic { width: 28px; height: 28px; color: var(--red); margin-top: 1px; }
.notice strong { font-weight: 800; color: var(--red); font-size: 17px; }
.notice p { margin-top: 4px; color: var(--ink); font-weight: 600; }
.notice .notice-free { font-weight: 400; color: var(--muted); font-size: 15px; }
.note-top5 { margin: 14px 2px 0; font-size: 15px; color: var(--maroon); font-weight: 600; }
.rform { margin-top: 18px; display: grid; gap: 16px; }
.fs { border: 1px solid var(--line); background: var(--white); border-radius: 18px; padding: 16px 16px 4px; margin: 0; min-width: 0; box-shadow: var(--shadow); }
.fs legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 23px; color: var(--maroon); padding: 0; margin: 0 0 14px; line-height: 1.2; }
.fs legend + * { clear: both; }
.fs-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--maroon); color: var(--saffron); display: grid; place-items: center; font-family: var(--f-ui); font-weight: 800; font-size: 15px; }
.field { margin-bottom: 14px; min-width: 0; }
.field label, .label { display: block; font-weight: 800; font-size: 15.5px; color: var(--ink); margin-bottom: 6px; }
.opt { font-style: normal; font-weight: 600; font-size: 13px; color: var(--muted); }
.rform input:not([type="checkbox"]):not([type="file"]), .rform select, .rform textarea { display: block; width: 100%; min-height: 50px; border: 1.5px solid #DCCDB8; border-radius: 12px; background: #FFFDF9; padding: 10px 14px; font-size: 17px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.rform select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%235B0E1E' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.rform textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.rform input:focus, .rform select:focus, .rform textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(91, 14, 30, .14); }
.rform .field.has-err input:not([type="checkbox"]), .rform .field.has-err select, .rform .field.has-err textarea { border-color: var(--red); background-color: #FFF6F7; }
.err { color: var(--red); font-size: 14px; font-weight: 600; margin-top: 5px; }
.err:empty { display: none; }
.hint { font-size: 13.5px; color: var(--muted); margin-top: 5px; }
.counter { font-size: 12.5px; color: var(--muted); text-align: right; margin-top: 4px; font-variant-numeric: tabular-nums; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 639px) { .row2-stack { grid-template-columns: 1fr; gap: 0; } }
.prefix-input { display: flex; align-items: stretch; }
.prefix { display: grid; place-items: center; padding: 0 12px; background: var(--cream); border: 1.5px solid #DCCDB8; border-right: 0; border-radius: 12px 0 0 12px; font-weight: 800; color: var(--muted); }
.rform .prefix-input input { border-radius: 0 12px 12px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.chip-cb { position: relative; display: inline-flex; }
.chip-cb input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip-cb span { display: inline-flex; padding: 6px 13px 7px; border-radius: 999px; border: 1.5px solid #DCCDB8; background: #FFFDF9; font-weight: 600; font-size: 15px; line-height: 1.2; }
.chip-cb input:checked + span { background: var(--maroon); border-color: var(--maroon); color: var(--ivory); }
.chip-cb input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 14px; }
.photo-slot { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--cream); }
.photo-add { width: 100%; height: 100%; border: 2px dashed #CDB797; background: #FFFBF3; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--maroon); font-weight: 800; font-size: 13.5px; padding: 6px; text-align: center; }
.photo-add .ic { width: 28px; height: 28px; }
.photo-add:disabled { opacity: .45; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-del { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(18, 16, 26, .78); color: #fff; display: grid; place-items: center; }
.photo-del .ic { width: 16px; height: 16px; }
.photo-size { position: absolute; left: 6px; bottom: 6px; background: rgba(18, 16, 26, .72); color: #fff; font-size: 11px; font-weight: 600; padding: 1px 7px 2px; border-radius: 6px; }
.photo-busy { display: grid; place-items: center; height: 100%; font-size: 13px; color: var(--muted); text-align: center; padding: 8px; }
.fs-consent { padding-bottom: 8px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; padding: 9px 2px; font-size: 15.5px; line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--maroon); }
.check a { color: var(--maroon); font-weight: 800; }
.check-ai { background: #FFF1F2; border: 1.5px solid #F2A9B3; border-radius: 12px; padding: 12px 10px; font-weight: 800; color: var(--ink); margin: 4px 0; }
.check + .err { margin: -2px 0 6px 34px; }
.rishta-ok { text-align: center; background: var(--white); border: 2px solid var(--saffron); border-radius: 22px; padding: 26px 18px; margin-top: 18px; box-shadow: var(--shadow); }
.rishta-ok h2 { font-family: var(--f-display); font-weight: 400; font-size: 34px; color: var(--maroon); }
.ref { font-weight: 800; font-size: 32px; letter-spacing: .06em; color: var(--ink); background: var(--ivory); border: 2px dashed var(--saffron); border-radius: 14px; display: inline-block; padding: 4px 18px 6px; margin: 6px 0 14px; font-variant-numeric: tabular-nums; }
.ok-next { color: var(--muted); margin: 10px 0 18px; }
.ok-share { display: grid; gap: 12px; border-top: 1px dashed var(--line); padding-top: 18px; }
.ok-share h3 { font-size: 19px; font-weight: 800; color: var(--ink); }
.closed-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px 18px; text-align: center; margin-top: 16px; display: grid; gap: 10px; justify-items: center; box-shadow: var(--shadow); }
.closed-card h2 { font-family: var(--f-display); font-weight: 400; font-size: 28px; color: var(--maroon); }
@media (min-width: 640px) { .fs { padding: 22px 24px 8px; } .photos { gap: 14px; } }

/* Privacy and Terms */
.page-hero-sm { padding-bottom: 22px; }
.wrap-doc { width: min(820px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 20px 0 64px; }
.page-doc .page-hero .wrap { width: min(820px, 100% - 2 * var(--gutter)); }
.draft-banner { background: var(--saffron); color: var(--ink); font-weight: 800; border-radius: 12px; padding: 10px 14px; text-align: center; }
.short-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 14px; margin: 16px 0 26px; box-shadow: var(--shadow); }
.short-card h2 { font-family: var(--f-display); font-weight: 400; font-size: 27px; color: var(--maroon); margin-bottom: 8px; }
.short-card ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.legal { font-size: 16px; line-height: 1.65; color: var(--text); }
.legal h2 { font-size: 21px; font-weight: 800; color: var(--maroon); margin: 30px 0 8px; }
.legal h3 { font-size: 17px; font-weight: 800; margin: 18px 0 4px; color: var(--ink); }
.legal ul { padding-left: 22px; margin: 8px 0; display: grid; gap: 6px; }
.legal p { margin: 8px 0; }
.legal a { color: var(--maroon); font-weight: 800; }
.legal-meta { font-size: 14px; color: var(--muted); }

/* Partners */
.page-hero-partners h1 { max-width: 13em; }
.wrap-partners { padding: 28px 0 64px; }
.p-grid { display: grid; gap: 14px; }
.p-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.p-n { font-family: var(--f-display); font-size: 28px; color: var(--saffron-deep); line-height: 1; }
.p-card h2 { font-size: 21px; font-weight: 800; color: var(--maroon); margin: 8px 0 6px; }
.p-card p { color: var(--text); }
.p-cta { margin-top: 26px; background: linear-gradient(135deg, var(--maroon), var(--maroon-deep)); color: var(--ivory); border-radius: 24px; padding: 26px 20px; display: grid; gap: 18px; box-shadow: var(--shadow-lg); }
.p-cta h2 { font-family: var(--f-display); font-weight: 400; font-size: 34px; color: var(--saffron); }
.p-cta p { color: rgba(255, 244, 223, .88); margin-top: 6px; }
.p-cta-actions { display: grid; gap: 12px; }
.p-cta .btn-saffron { font-size: 16px; overflow-wrap: anywhere; }
@media (min-width: 960px) {
  .p-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .p-card { padding: 26px 28px; }
  .p-cta { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; }
  .p-cta-actions { justify-items: end; }
}

/* 404 */
.nf-in { display: grid; gap: 22px; justify-items: center; text-align: center; padding: 40px 0 64px; }
.nf-papa { width: 200px; aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px; overflow: hidden; box-shadow: 0 0 0 5px var(--cream), 0 0 0 8px var(--saffron); }
.nf-papa img { width: 100%; height: 100%; object-fit: cover; }
.nf-big { font-size: 76px; font-weight: 800; color: var(--red); line-height: 1; }
.nf h1 { font-family: var(--f-display); font-weight: 400; font-size: 30px; color: var(--maroon); margin: 10px 0 20px; line-height: 1.15; }
.nf-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
@media (min-width: 960px) {
  .nf-in { grid-template-columns: 260px auto; text-align: left; justify-content: center; align-items: center; gap: 56px; padding: 90px 0 110px; }
  .nf-papa { width: 260px; }
  .nf-actions { justify-content: flex-start; }
}

/* Small toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: var(--ivory); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; z-index: 60; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
