/* css/golestan.css */
/* =============================================================================
   GOLESTAN theme — "rose garden". Loaded after app.css / admin.css when the
   admin activates it. The classic theme never loads this file.
   Palette: midnight lapis · firuzeh turquoise · saffron · pomegranate rose ·
            banafsh violet · pistachio · sky. Persian tile geometry, modern layout.
   ============================================================================= */
.theme-golestan {
  --g-night: #0F1B4C;
  --g-night-2: #1B2A78;
  --g-turquoise: #12A4A1;
  --g-saffron: #F0B23E;
  --g-rose: #D9416B;
  --g-violet: #7B5CD6;
  --g-pistachio: #3FAF7A;
  --g-sky: #3B8BEB;
  --g-bg: #F3F5FB;
  --g-card: #FFFFFF;
  --g-ink: #141A36;
  --g-ink-2: #4A5072;
  --g-line: #E2E6F2;
  --g-shadow: 0 1px 2px rgba(15, 27, 76, .05), 0 12px 32px rgba(15, 27, 76, .08);
  --g-shadow-lg: 0 24px 60px rgba(15, 27, 76, .18);
  --lapis: #1F2E85;
  --lapis-deep: #0F1B4C;
  --lapis-soft: #E7EAFB;
  --saffron: var(--g-saffron);
  --saffron-deep: #C98A12;
  --firuzeh: var(--g-turquoise);
  --pomegranate: var(--g-rose);
  --porcelain: var(--g-bg);
  --ink: var(--g-ink);
  --ink-2: var(--g-ink-2);
  --line: var(--g-line);
  --radius-l: 22px;
  --radius-m: 14px;
  --font-body: "Manrope", "Figtree", system-ui, sans-serif;
  background: var(--g-bg) url("/shayesteh/assets/img/pattern.svg") repeat;
  background-size: 120px;
  background-blend-mode: luminosity;
}
.theme-golestan[dir="rtl"], [dir="rtl"] .theme-golestan { --font-body: "Vazirmatn", Tahoma, sans-serif; --font-display: "Vazirmatn", Tahoma, sans-serif; }
.theme-golestan::before { content: ""; position: fixed; inset: 0; background: linear-gradient(180deg, rgba(243, 245, 251, .94), rgba(243, 245, 251, .97)); z-index: -1; pointer-events: none; }
.theme-golestan h1, .theme-golestan h2 { letter-spacing: .005em; }
[dir="rtl"] .theme-golestan h1, [dir="rtl"] .theme-golestan .g-head h2, [dir="rtl"] .theme-golestan .g-band h2 { font-family: "Lalezar", "Vazirmatn", sans-serif; font-weight: 400; letter-spacing: 0; }

/* ---- Icons ----------------------------------------------------------------- */
.ico { display: inline-grid; place-items: center; flex: none; color: #fff; border-radius: 12px; background: var(--tone-grad); box-shadow: 0 6px 14px -6px var(--tone-shadow); }
.ico svg { width: 55%; height: 55%; stroke-width: 2.2; }
.ico--tile { width: 44px; height: 44px; }
.ico--tile-lg { width: 58px; height: 58px; border-radius: 18px; }
.ico--side { width: 30px; height: 30px; border-radius: 9px; box-shadow: none; }
.ico--nav { width: 26px; height: 26px; border-radius: 8px; box-shadow: none; }
.ico--chip { width: 34px; height: 34px; border-radius: 10px; }
.tone-lapis { --tone-grad: linear-gradient(135deg, #3A4FC7, #1A2672); --tone-shadow: #1A2672; --tone: #2C3DA8; --tone-soft: #E7EAFB; }
.tone-turquoise { --tone-grad: linear-gradient(135deg, #2DD4C9, #0E8A8E); --tone-shadow: #0E8A8E; --tone: #0E8A8E; --tone-soft: #DDF6F4; }
.tone-saffron { --tone-grad: linear-gradient(135deg, #FFD36E, #E58E12); --tone-shadow: #E58E12; --tone: #B9720B; --tone-soft: #FFF2D6; }
.tone-rose { --tone-grad: linear-gradient(135deg, #FF7A9C, #C2185B); --tone-shadow: #C2185B; --tone: #C2185B; --tone-soft: #FFE4EC; }
.tone-violet { --tone-grad: linear-gradient(135deg, #A68BFF, #5B3BC4); --tone-shadow: #5B3BC4; --tone: #5B3BC4; --tone-soft: #EEE8FF; }
.tone-pistachio { --tone-grad: linear-gradient(135deg, #6EDB9E, #239A61); --tone-shadow: #239A61; --tone: #1E8553; --tone-soft: #DFF6EA; }
.tone-sky { --tone-grad: linear-gradient(135deg, #6CB6FF, #2468D8); --tone-shadow: #2468D8; --tone: #2468D8; --tone-soft: #E2EEFF; }

/* ---- Buttons & forms -------------------------------------------------------- */
.theme-golestan .btn { border-radius: 999px; font-weight: 700; }
.theme-golestan .btn--primary { background: linear-gradient(135deg, #2C3DA8, #0F1B4C); border-color: transparent; box-shadow: 0 8px 20px -8px rgba(15, 27, 76, .6); }
.theme-golestan .btn--primary:hover { background: linear-gradient(135deg, #3547BC, #16235F); }
.theme-golestan .btn--gold { background: linear-gradient(135deg, #FFD36E, #F0A81E); color: #2A1A00; border-color: transparent; box-shadow: 0 10px 24px -10px rgba(229, 142, 18, .8); }
.theme-golestan .btn--gold:hover { background: linear-gradient(135deg, #FFDB85, #F4B12E); color: #2A1A00; }
.theme-golestan .btn--ok { background: linear-gradient(135deg, #2DD4A0, #13916A); border-color: transparent; }
.theme-golestan .btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(8px); }
.theme-golestan .btn--glass:hover { background: rgba(255, 255, 255, .24); color: #fff; border-color: #fff; }
.theme-golestan .btn--lg { min-height: 52px; padding: .8rem 1.5rem; font-size: 1rem; }
.theme-golestan input[type=text], .theme-golestan input[type=email], .theme-golestan input[type=password], .theme-golestan input[type=tel], .theme-golestan input[type=date], .theme-golestan input[type=number], .theme-golestan input[type=url], .theme-golestan select, .theme-golestan textarea {
  border-radius: 14px; background: #FBFCFF; border-color: #DCE1EF;
}
/* 2.17 (R11) · the `background` here is a shorthand, so it must never reach a tick box (it would reset
   background-image / background-size and erase the tick of `.ck__in:checked`). */
.theme-golestan input:not([type=checkbox]):not([type=radio]):focus, .theme-golestan select:focus, .theme-golestan textarea:focus { border-color: var(--g-turquoise); box-shadow: 0 0 0 4px rgba(18, 164, 161, .15); background: #fff; }
.theme-golestan .choice span { border-radius: 14px; }
.theme-golestan .choice input:checked + span { background: linear-gradient(135deg, #E7EAFB, #DDF6F4); border-color: var(--g-turquoise); box-shadow: inset 0 0 0 1px var(--g-turquoise); }
.theme-golestan .panel { border: 1px solid rgba(226, 230, 242, .9); border-radius: var(--radius-l); box-shadow: var(--g-shadow); }
.theme-golestan .alert { border-radius: var(--radius-m); }
.theme-golestan .badge { padding: .2rem .65rem; }

/* ---- Header ---------------------------------------------------------------- */
.theme-golestan .site-header { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); border-block-end: 1px solid rgba(226, 230, 242, .8); }
.theme-golestan .site-header__in { min-height: 70px; }
.theme-golestan .nav a { display: inline-flex; align-items: center; gap: .45rem; border-radius: 999px; padding: .45rem .8rem .45rem .45rem; }
[dir="rtl"] .theme-golestan .nav a { padding: .45rem .45rem .45rem .8rem; }
.theme-golestan .nav a:hover, .theme-golestan .nav a[aria-current="page"] { background: #EEF1FA; color: var(--g-night); }
.theme-golestan .nav .nav-cta { padding: .45rem 1rem; gap: .4rem; }
.theme-golestan .lang-switch { gap: .35rem; padding: .45rem .8rem !important; border-radius: 999px; }
@media (max-width: 860px) { .theme-golestan .nav { top: 70px; border-radius: 0 0 22px 22px; } .theme-golestan .nav a { padding: .7rem .6rem; } }

/* ---- Slider ---------------------------------------------------------------- */
.slider { position: relative; overflow: hidden; background: var(--g-night); isolation: isolate; }
.slider__track { position: relative; height: 100%; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) { .slide.is-active img { animation: kenburns 9s ease-out both; } @keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } } }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 44, .78) 0%, rgba(8, 14, 44, .35) 55%, rgba(8, 14, 44, .1) 100%), linear-gradient(0deg, rgba(8, 14, 44, .65), transparent 45%); }
[dir="rtl"] .slide::after { background: linear-gradient(270deg, rgba(8, 14, 44, .78) 0%, rgba(8, 14, 44, .35) 55%, rgba(8, 14, 44, .1) 100%), linear-gradient(0deg, rgba(8, 14, 44, .65), transparent 45%); }
.slide__cap { position: absolute; z-index: 1; inset-inline-start: max(16px, calc((100vw - 1120px) / 2 + 16px)); top: 16%; max-width: min(600px, calc(100% - 32px)); color: #fff; }
.slide__title { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; margin: 0 0 .6rem; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
[dir="rtl"] .slide__title { line-height: 1.4; }
.slide__text { font-size: clamp(1rem, 1.6vw, 1.2rem); color: #E4E8FF; max-width: 46ch; }
.slider__nav { position: absolute; z-index: 3; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.slider__nav:hover { background: rgba(255, 255, 255, .28); }
.slider__nav .glyph { width: 22px; height: 22px; }
.slider__nav--prev { inset-inline-start: 18px; }
.slider__nav--next { inset-inline-end: 18px; }
.slider__dots { position: absolute; z-index: 3; bottom: 18px; inset-inline-end: max(16px, calc((100vw - 1120px) / 2 + 16px)); display: flex; gap: .45rem; }
.slider__dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.slider__dots button[aria-selected="true"] { width: 30px; background: var(--g-saffron); }
@media (max-width: 700px) { .slider__nav { display: none; } }

/* ---- Landing --------------------------------------------------------------- */
.area-home main > .container:first-child:empty { display: none; }
.g-hero { position: relative; min-height: min(88vh, 820px); display: grid; color: #fff; background: radial-gradient(ellipse at 75% 30%, #3E2C8F, transparent 60%), linear-gradient(135deg, #0B1440, #1B2A78 60%, #4B2A86); }
.g-hero > .slider { position: absolute; inset: 0; }
.g-hero--plain::before { content: ""; position: absolute; inset: 0; background: url("/shayesteh/assets/img/pattern.svg"); background-size: 90px; opacity: .25; }
.g-hero__overlay { position: relative; z-index: 2; align-self: end; padding-block: 2rem 4.5rem; pointer-events: none; }
.g-hero--plain .g-hero__overlay { align-self: center; }
.g-hero__in { display: flex; }
.g-hero__card { pointer-events: auto; max-width: 560px; background: rgba(12, 20, 60, .42); border: 1px solid rgba(255, 255, 255, .18); border-radius: 26px; padding: 1.4rem 1.5rem; backdrop-filter: blur(14px) saturate(1.2); box-shadow: var(--g-shadow-lg); }
.g-kicker { display: inline-flex; align-items: center; gap: .45rem; color: #FFD98A; font-weight: 700; font-size: .9rem; margin-block-end: .6rem; }
.g-hero__title { color: #fff; font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.04; margin-block-end: .7rem; }
[dir="rtl"] .g-hero__title { line-height: 1.35; }
.g-hero__name { font: 400 1.35rem/1.3 var(--font-display); color: #fff; margin-block-end: 1rem; }
.g-hero__lead { color: #DDE2FF; font-size: 1.08rem; }
.g-hero__cta { display: flex; gap: .7rem; flex-wrap: wrap; }
.g-countdown { margin-block-start: 1.2rem; padding-block-start: 1rem; border-block-start: 1px solid rgba(255, 255, 255, .18); }
.g-countdown__label { display: flex; align-items: center; gap: .4rem; color: #E4E8FF; font-size: .88rem; margin-block-end: .5rem; }
.g-countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.g-countdown__grid div { background: rgba(255, 255, 255, .1); border-radius: 14px; text-align: center; padding: .55rem .3rem; }
.g-countdown__grid b { display: block; font: 700 1.7rem/1.1 var(--font-body); color: #fff; font-variant-numeric: tabular-nums; }
.g-countdown__grid span { font-size: .72rem; color: #C9D0F5; }
@media (max-width: 700px) { .g-hero { min-height: 640px; } .g-hero__overlay { padding-block-end: 2.5rem; } .slide__cap { top: 9%; } .g-hero__card { padding: 1.1rem; } }

.g-ribbon { position: relative; z-index: 3; margin-block-start: -2.4rem; }
.g-ribbon__in { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .g-ribbon__in { grid-template-columns: repeat(4, 1fr); } }
.g-stat { display: flex; align-items: center; gap: .8rem; background: var(--g-card); border-radius: 20px; padding: 1rem; box-shadow: var(--g-shadow); border: 1px solid var(--g-line); }
.g-stat b { display: block; color: var(--g-night); font-size: 1rem; }
.g-stat span { font-size: .82rem; color: var(--g-ink-2); }
@media (max-width: 520px) { .g-stat { flex-direction: column; align-items: flex-start; } }

.g-section { padding-block: 4rem; }
.g-section--tint { background: linear-gradient(180deg, rgba(231, 234, 251, .6), rgba(221, 246, 244, .45)); }
.g-head { max-width: 640px; margin-block-end: 2rem; }
.g-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--g-night); }
.g-head p, .g-lead { color: var(--g-ink-2); font-size: 1.05rem; }
.g-cats { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .g-cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .g-cats { grid-template-columns: repeat(4, 1fr); } }
.g-cat { position: relative; background: var(--g-card); border-radius: 24px; padding: 1.4rem; border: 1px solid var(--g-line); box-shadow: var(--g-shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.g-cat::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--tone-grad); }
.g-cat:hover { transform: translateY(-3px); box-shadow: var(--g-shadow-lg); }
.g-cat h3 { margin: 1rem 0 .25rem; color: var(--g-night); }
.g-cat p { color: var(--g-ink-2); font-size: .92rem; margin: 0; }
.g-cat__age { display: inline-block; margin-block-start: 1rem; padding: .3rem .8rem; border-radius: 999px; background: var(--tone-soft); color: var(--tone); font-weight: 800; font-variant-numeric: tabular-nums; }
.g-cat__age small { font-weight: 600; }
.g-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 700px) { .g-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .g-steps { grid-template-columns: repeat(5, 1fr); } }
.g-step { position: relative; background: var(--g-card); border-radius: 22px; padding: 1.3rem; border: 1px solid var(--g-line); }
.g-step__n { position: absolute; top: 1rem; inset-inline-end: 1.1rem; font: 800 1.8rem/1 var(--font-body); color: #E3E7F3; }
.g-step h3 { margin: .9rem 0 .3rem; font-size: 1.05rem; color: var(--g-night); font-family: var(--font-body); font-weight: 800; }
.g-step p { margin: 0; font-size: .9rem; color: var(--g-ink-2); }
.g-real { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .g-real { grid-template-columns: 1.1fr 1fr; } }
.g-real h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--g-night); }
.g-checks { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: grid; gap: .7rem; }
.g-checks li { display: flex; align-items: center; gap: .8rem; background: var(--g-card); border: 1px solid var(--g-line); border-radius: 16px; padding: .6rem .8rem; }
.g-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.g-shot { position: relative; aspect-ratio: 3 / 4.2; border-radius: 22px; background: var(--tone-soft); border: 1px solid var(--g-line); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: .7rem; color: var(--tone); font-weight: 700; font-size: .82rem; text-align: center; overflow: hidden; }
.g-shot svg { position: absolute; inset: 10% 12% 22%; width: 76%; height: 68%; }
.g-shot svg [stroke] { stroke: var(--tone); }
.g-shot svg [fill="#E8EBF6"] { fill: #fff; }
.g-band { background: linear-gradient(120deg, #0F1B4C, #2C3DA8 55%, #12A4A1); color: #fff; padding-block: 2.6rem; position: relative; overflow: hidden; }
.g-band::before { content: ""; position: absolute; inset: 0; background: url("/shayesteh/assets/img/pattern.svg"); background-size: 80px; opacity: .18; }
.g-band--vote { background: linear-gradient(120deg, #5B1B6E, #C2185B 55%, #F0A81E); }
.g-band__in { position: relative; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.g-band__in > div { flex: 1 1 280px; }
.g-band h2 { color: #fff; margin: 0 0 .3rem; }
.g-band p { margin: 0; color: rgba(255, 255, 255, .85); }
.g-faq__list { max-width: 820px; margin-block-end: 1.2rem; }
.g-qa { border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 27, 76, .04); }
.g-sponsors { padding-block: 2.5rem; background: #fff; border-block: 1px solid var(--g-line); }
.g-sponsors__title { text-align: center; color: var(--g-ink-2); font-weight: 700; font-size: .85rem; margin-block-end: 1.2rem; }
.g-sponsors__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3rem; }
.g-sponsors__row img { max-height: 54px; max-width: 160px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.g-sponsors__row a:hover img, .g-sponsors__row span:hover img { filter: none; opacity: 1; }

/* ---- Pages, gallery ---------------------------------------------------------- */
.theme-golestan .page-head { padding-block: 2.5rem 1.2rem; }
.theme-golestan .page-head h1 { color: var(--g-night); }
.theme-golestan .gallery { gap: 1.2rem; }
.theme-golestan .person img, .theme-golestan .person .ph { border-radius: 24px; box-shadow: var(--g-shadow); transition: transform .25s; }
.theme-golestan .person:hover img { transform: translateY(-4px); }
.theme-golestan .filters a { border-radius: 999px; }
.theme-golestan .filters a[aria-current="true"] { background: linear-gradient(135deg, #2C3DA8, #0F1B4C); border-color: transparent; }

/* ---- Auth split ------------------------------------------------------------- */
.auth-split { display: grid; grid-template-columns: 1fr; min-height: calc(100vh - 70px); }
@media (min-width: 980px) { .auth-split { grid-template-columns: 1.05fr 1fr; } }
.auth-split__art { position: relative; min-height: 220px; background: linear-gradient(135deg, #0B1440, #1B2A78 60%, #4B2A86); }
.auth-split__art .slider { position: absolute; inset: 0; }
.auth-split__art .slide__cap { top: auto; bottom: 3.2rem; inset-inline-start: 2rem; }
.auth-split__art .slide__title { font-size: clamp(1.5rem, 3vw, 2.4rem); }
@media (max-width: 979px) { .auth-split__art { min-height: 200px; } .auth-split__art .slide__cap { bottom: 2.2rem; inset-inline-start: 16px; } .auth-split__art .slide__text { display: none; } .auth-split__art .slider__dots { bottom: 10px; } }
@media (min-width: 980px) { .auth-split__art { position: sticky; top: 70px; height: calc(100vh - 70px); } }
.auth-split__form { padding: 1.5rem 16px 3rem; display: flex; flex-direction: column; align-items: center; }
.auth-split__form .flashes { width: 100%; max-width: 600px; }
.auth-split__form .container.auth { padding: 0; width: 100%; max-width: 640px; }
.auth-split__form .auth .panel { max-width: none; border-radius: 26px; padding: 1.6rem; }
@media (min-width: 640px) { .auth-split__form .auth .panel { padding: 2.2rem; } }
.auth-split__form .auth h1 { font-size: 2rem; }

/* ---- Footer ------------------------------------------------------------------ */
.theme-golestan .site-footer { background: linear-gradient(160deg, #0B1440, #1A2470 60%, #33236F); position: relative; overflow: hidden; margin-block-start: 0; padding-block: 3rem 1.5rem; }
.theme-golestan .site-footer::before { content: ""; position: absolute; inset: 0; background: url("/shayesteh/assets/img/pattern.svg"); background-size: 80px; opacity: .12; }
.theme-golestan .site-footer > .container { position: relative; }
.theme-golestan main + .site-footer, .theme-golestan .acc + .site-footer { margin-block-start: 3rem; }
.area-home .site-footer { margin-block-start: 0; }

/* ---- Applicant area -------------------------------------------------------- */
.theme-golestan .acc { gap: 1.5rem; padding-block: 2rem 3rem; }
.theme-golestan .acc-nav { border-radius: 24px; padding: .6rem; box-shadow: var(--g-shadow); border: 1px solid var(--g-line); }
.theme-golestan .acc-nav a { border-radius: 14px; padding: .5rem .6rem; color: var(--g-ink); font-weight: 600; }
.theme-golestan .acc-nav a:hover { background: #F1F3FB; }
.theme-golestan .acc-nav a[aria-current="page"] { background: linear-gradient(135deg, #EEF1FD, #E3F6F5); color: var(--g-night); box-shadow: inset 3px 0 0 var(--g-turquoise); }
[dir="rtl"] .theme-golestan .acc-nav a[aria-current="page"] { box-shadow: inset -3px 0 0 var(--g-turquoise); }
.acc-nav__label { display: inline-flex; align-items: center; gap: .6rem; }
.theme-golestan .acc-logout { color: var(--g-ink-2); padding: .5rem .6rem; }
.theme-golestan .status-hero { position: relative; }
.theme-golestan .acc .panel--hero, .theme-golestan .acc .panel--hero { background: linear-gradient(135deg, #0F1B4C, #2C3DA8 65%, #12A4A1); color: #E7EBFF; border: 0; position: relative; overflow: hidden; }
.theme-golestan .acc .panel--hero::before, .theme-golestan .acc .panel--hero::before { content: ""; position: absolute; inset: 0; background: url("/shayesteh/assets/img/pattern.svg"); background-size: 70px; opacity: .14; pointer-events: none; }
.theme-golestan .acc .panel--hero h1, .theme-golestan .acc .panel--hero h1 { color: #fff; }
.theme-golestan .acc .panel--hero .muted, .theme-golestan .acc .panel--hero .muted { color: #C9D0F5; }
.theme-golestan .acc .panel--hero .track li, .theme-golestan .acc .panel--hero .track li { color: #AEB7E6; }
.theme-golestan .acc .panel--hero .track li.is-now, .theme-golestan .acc .panel--hero .track li.is-now { color: #fff; }
.theme-golestan .acc .panel--hero .track li::before, .theme-golestan .acc .panel--hero .track li::before { background: rgba(255, 255, 255, .18); }
.theme-golestan .acc .panel--hero .track li.is-done::before, .theme-golestan .acc .panel--hero .track li.is-done::before { background: #2DD4C9; }
.theme-golestan .acc .panel--hero .track li.is-now::before, .theme-golestan .acc .panel--hero .track li.is-now::before { background: var(--g-saffron); }
.theme-golestan .acc .panel--hero a:not(.btn), .theme-golestan .acc .panel--hero a:not(.btn) { color: #FFD98A; }
.theme-golestan .acc .panel--hero .alert, .theme-golestan .acc .panel--hero .alert { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.theme-golestan .track li::before { height: 8px; }
.theme-golestan .step { border-radius: 18px; padding: .9rem 1rem; }
.theme-golestan .step.is-next { border-color: var(--g-saffron); box-shadow: 0 8px 24px -12px rgba(240, 178, 62, .7); }
.theme-golestan .step.is-done .step__dot { background: linear-gradient(135deg, #2DD4C9, #0E8A8E); border-color: transparent; }
.theme-golestan .step__dot { width: 34px; height: 34px; }
.theme-golestan .slot { border-radius: 24px; box-shadow: var(--g-shadow); }
.theme-golestan .invoice-alert { border-radius: 22px; background: linear-gradient(135deg, #FFF4D6, #FFE7EE); border-color: #F6D9A2; box-shadow: var(--g-shadow); }

/* ---- Admin --------------------------------------------------------------------- */
.admin.theme-golestan { background: #EEF1F9; }
.admin.theme-golestan::before { display: none; }
.theme-golestan .sidebar { background: linear-gradient(180deg, #0B1440 0%, #17226A 55%, #2B1F6B 100%); padding: 1.1rem .8rem; }
.theme-golestan .sidebar .brand { padding-bottom: 1.2rem; }
.theme-golestan .side-group { color: #8E98D8; font-size: .72rem; font-weight: 700; padding-top: 1.1rem; }
.theme-golestan .sidebar a.side-link, .theme-golestan .sidebar .side-logout { border-radius: 14px; padding: .4rem .55rem; color: #DCE1FF; font-weight: 600; font-size: .92rem; }
.theme-golestan .sidebar a.side-link:hover, .theme-golestan .sidebar .side-logout:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.theme-golestan .sidebar a.side-link[aria-current="page"] { background: linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)); box-shadow: inset 3px 0 0 var(--g-saffron); }
[dir="rtl"] .theme-golestan .sidebar a.side-link[aria-current="page"] { background: linear-gradient(270deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)); box-shadow: inset -3px 0 0 var(--g-saffron); }
.theme-golestan .topbar { background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); min-height: 64px; }
.theme-golestan .topbar h1 { font-size: 1.35rem; color: var(--g-night); }
.topbar__me { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--g-ink-2); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #FFD36E, #E58E12); color: #2A1A00; font-weight: 800; }
@media (max-width: 640px) { .topbar__name { display: none; } }
.theme-golestan .admin-body { padding-top: 1.5rem; }
.theme-golestan .kpi { border-radius: 20px; border: 1px solid var(--g-line); box-shadow: var(--g-shadow); position: relative; overflow: hidden; }
.theme-golestan .kpi::after { content: ""; position: absolute; inset-inline-end: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 164, 161, .14), transparent 70%); }
.theme-golestan .kpi b { font-family: var(--font-body); font-weight: 800; color: var(--g-night); }
.theme-golestan .kpi--green { border-inline-start: 0; background: linear-gradient(135deg, #fff 60%, #DFF6EA); }
.theme-golestan .kpi--yellow { border-inline-start: 0; background: linear-gradient(135deg, #fff 60%, #FFF2D6); }
.theme-golestan .kpi--red { border-inline-start: 0; background: linear-gradient(135deg, #fff 60%, #FFE4EC); }
.theme-golestan .table-wrap { border-radius: 20px; box-shadow: var(--g-shadow); }
.theme-golestan .table th { background: #F6F8FE; }
.theme-golestan .tabs a[aria-current="page"] { border-color: var(--g-turquoise); }
.theme-golestan .bar__fill { background: linear-gradient(90deg, #2C3DA8, #12A4A1); }
.theme-golestan .spark span { background: linear-gradient(180deg, #12A4A1, #2C3DA8); }
.theme-golestan .switch input:checked + i { background: linear-gradient(135deg, #2DD4A0, #13916A); }
.theme-golestan .bulkbar { background: linear-gradient(90deg, #0F1B4C, #2C3DA8); border-radius: 18px; }
.theme-golestan .rv-photo { border-radius: 18px; }
.theme-golestan .decision { border-radius: 24px; }

/* Print: no backgrounds */
@media print { .theme-golestan, .theme-golestan::before { background: #fff !important; } }

/* css/stage.css */
/* =============================================================================
   STAGE theme (2.2) — bright talent-show / pageant look: stage lights, deep
   night-purple, hot magenta, gold and electric cyan. No traditional ornaments.
   Loaded after golestan.css (shared modern templates) when Admin → Appearance
   activates "Stage". Classic, Golestan and Simorgh are untouched.
   ============================================================================= */
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url(/shayesteh/assets/fonts/sora-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url(/shayesteh/assets/fonts/sora-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 800; font-display: swap; src: url(/shayesteh/assets/fonts/sora-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(/shayesteh/assets/fonts/manrope-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(/shayesteh/assets/fonts/manrope-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(/shayesteh/assets/fonts/manrope-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url(/shayesteh/assets/fonts/manrope-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url(/shayesteh/assets/fonts/manrope-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-weight: 400; font-display: swap; src: url(/shayesteh/assets/fonts/vazirmatn-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; font-weight: 500; font-display: swap; src: url(/shayesteh/assets/fonts/vazirmatn-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; font-weight: 700; font-display: swap; src: url(/shayesteh/assets/fonts/vazirmatn-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; font-weight: 800; font-display: swap; src: url(/shayesteh/assets/fonts/vazirmatn-arabic-800-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; font-weight: 900; font-display: swap; src: url(/shayesteh/assets/fonts/vazirmatn-arabic-900-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }

.theme-stage {
  --st-night: #0B0420; --st-night-2: #1A0B3B; --st-ink: #120A24; --st-ink-2: #4B4466;
  --st-magenta: #FF2E93; --st-magenta-2: #E0157A; --st-violet: #7C3AED; --st-cyan: #22D3EE; --st-gold: #FFC83D; --st-gold-2: #FFB000;
  --st-hot: linear-gradient(135deg, #FF2E93 0%, #A43BF0 55%, #6D3BFF 100%);
  --st-goldg: linear-gradient(135deg, #FFE7A3 0%, #FFC83D 45%, #FFA000 100%);
  --st-beam: linear-gradient(90deg, #FF2E93, #FFC83D 50%, #22D3EE);
  --st-bg: #F7F5FC; --st-card: #FFFFFF; --st-line: #E8E3F4;
  --st-shadow: 0 1px 2px rgba(18,10,36,.06), 0 18px 40px -18px rgba(60,20,120,.28);
  --st-ease: cubic-bezier(.16, 1, .3, 1);
  /* map onto the shared modern tokens */
  --g-night: var(--st-night); --g-night-2: var(--st-night-2); --g-saffron: var(--st-gold); --g-rose: var(--st-magenta); --g-violet: var(--st-violet);
  --g-turquoise: #0FB5D4; --g-sky: #3B82F6; --g-bg: var(--st-bg); --g-card: var(--st-card); --g-ink: var(--st-ink); --g-ink-2: var(--st-ink-2); --g-line: var(--st-line);
  --g-shadow: var(--st-shadow); --g-shadow-lg: 0 30px 70px -20px rgba(60,20,120,.4);
  --lapis: #5B21B6; --lapis-deep: var(--st-night); --lapis-soft: #F1E9FF; --saffron: var(--st-gold); --saffron-deep: #C98A00; --pomegranate: var(--st-magenta); --firuzeh: #0FB5D4;
  --ink: var(--st-ink); --ink-2: var(--st-ink-2); --line: var(--st-line); --porcelain: var(--st-bg);
  --radius-l: 22px; --radius-m: 14px;
  --font-body: "Manrope", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Sora", "Vazirmatn", "Manrope", system-ui, sans-serif;
  background: var(--st-bg) !important; background-image: none !important;
  font-family: var(--font-body);
}
html[dir="rtl"] .theme-stage { --font-body: "Vazirmatn", "Manrope", system-ui, sans-serif; --font-display: "Vazirmatn", "Sora", system-ui, sans-serif; }
html[data-mode="dark"] .theme-stage { --st-bg: #0A0614; --st-card: #150D29; --st-line: #2A1F45; --st-ink: #F4F0FF; --st-ink-2: #B9B0D6; --lapis-soft: #24164A;
  --st-shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 40px -18px rgba(0,0,0,.7); }
.theme-stage h1, .theme-stage h2, .theme-stage h3 { font-family: var(--font-display); letter-spacing: -.02em; }
html[dir="rtl"] .theme-stage h1, html[dir="rtl"] .theme-stage h2, html[dir="rtl"] .theme-stage h3 { letter-spacing: 0; }
.theme-stage ::selection { background: var(--st-magenta); color: #fff; }

/* ---- Remove traditional ornaments that the shared templates carry ---- */
.theme-stage .site-footer::before, .theme-stage .g-band::before, .theme-stage .g-hero--plain::before, .theme-stage .pro2-hero::before,
.theme-stage .card-share2::before, .theme-stage .cat2__top::before, .theme-stage .s-values li::after, .theme-stage .raffle::before,
.theme-stage .s-journey::before, .theme-stage .s-journey::after, .theme-stage .acc .panel--hero::before { background-image: none !important; opacity: 0 !important; }
.theme-stage .pro2-hero__orn, .theme-stage .eslimi, .theme-stage .s-border, .theme-stage .s-toranj, .theme-stage .s-poem { display: none !important; }

/* ---- Header: dark stage bar with a light-strip underline ---- */
.theme-stage .site-header { background: rgba(11,4,32,.9) !important; backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-block-end: 0 !important; color: #fff; }
.theme-stage .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--st-beam); opacity: .9; }
.theme-stage .site-header .brand, .theme-stage .brand { color: #fff; }
.theme-stage .brand__name { font-family: var(--font-display); font-weight: 800; letter-spacing: -.01em; color: #fff; }
.theme-stage .brand__sub { color: var(--st-gold); font-weight: 700; }
.theme-stage .sidebar .brand__name { color: var(--ink); }
.theme-stage .site-header .nav a { color: rgba(255,255,255,.82); }
.theme-stage .site-header .nav a:hover, .theme-stage .site-header .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.theme-stage .site-header .nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--st-magenta); }
.theme-stage .site-header .ico--nav { display: none; }
.theme-stage .site-header .nav .nav-cta { background: var(--st-hot) !important; border: 0; box-shadow: 0 8px 24px -8px rgba(255,46,147,.7); }
.theme-stage .nav__toggle span { background: #fff; }
.theme-stage .site-header .htool { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: #fff; }
.theme-stage .site-header .htool:hover { border-color: var(--st-magenta); color: #fff; background: rgba(255,46,147,.15); }
.theme-stage .site-header .htool--lang img { display: none; }
.theme-stage .site-header .htool__label { color: #fff; }
.theme-stage .site-header .hauth__login, .theme-stage .site-header .umenu__btn { color: #fff; }
.theme-stage .site-header .umenu__btn { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.theme-stage .site-header .umenu__panel { color: var(--ink); }
.theme-stage .site-header .hauth__cta { background: var(--st-hot) !important; border: 0; }
@media (max-width: 900px) {
  .theme-stage .site-header .nav { background: #0B0420 !important; border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* ---- Buttons ---- */
.theme-stage .btn { border-radius: 999px; font-weight: 800; font-family: var(--font-body); }
.theme-stage .btn--primary { background: var(--st-hot) !important; border-color: transparent !important; color: #fff !important; box-shadow: 0 10px 28px -10px rgba(255,46,147,.65); }
.theme-stage .btn--primary:hover { filter: brightness(1.08); }
.theme-stage .btn--gold { background: var(--st-goldg) !important; color: #2A1700 !important; border-color: transparent !important; box-shadow: 0 10px 28px -10px rgba(255,176,0,.6); }
.stg-btn { display: inline-flex; align-items: center; gap: .55rem; border: 0; text-decoration: none; transition: transform .35s var(--st-ease), box-shadow .35s var(--st-ease), filter .3s; }
.stg-btn .glyph { width: 18px; height: 18px; }
.stg-btn:hover { transform: translateY(-2px); }
.stg-btn--hot { background: var(--st-hot) !important; color: #fff !important; box-shadow: 0 14px 34px -10px rgba(255,46,147,.75), inset 0 1px 0 rgba(255,255,255,.25); }
.stg-btn--hot:hover { box-shadow: 0 18px 44px -10px rgba(255,46,147,.95); }
.stg-btn--gold { background: var(--st-goldg) !important; color: #2A1700 !important; box-shadow: 0 14px 34px -10px rgba(255,176,0,.7); }
.stg-btn--glass { background: rgba(255,255,255,.12) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.3) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stg-btn--glass:hover { background: rgba(255,255,255,.2) !important; }
.stg-btn--line { background: transparent !important; color: var(--ink) !important; border: 1.5px solid var(--st-line) !important; }
.stg-btn--line:hover { border-color: var(--st-magenta) !important; color: var(--st-magenta) !important; }

/* ---- Shared bits ---- */
.stg-gold { background: var(--st-goldg); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stg-kicker { margin: 0 0 .6rem; font: 800 .78rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; background: var(--st-beam); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[dir="rtl"] .stg-kicker { letter-spacing: 0; font-size: .9rem; }
.stg-pill { display: inline-flex; align-items: center; gap: .5rem; margin: 0; padding: .45rem .9rem; border-radius: 999px; background: rgba(11,4,32,.45); border: 1px solid rgba(255,200,61,.6); color: #FFE7A3; font-weight: 700; font-size: .88rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stg-pill .glyph { width: 16px; height: 16px; }
.stg-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--st-magenta); box-shadow: 0 0 0 0 rgba(255,46,147,.7); animation: stg-ring 1.8s infinite; }
@keyframes stg-ring { 0% { box-shadow: 0 0 0 0 rgba(255,46,147,.7); } 100% { box-shadow: 0 0 0 12px rgba(255,46,147,0); } }

/* ---- Hero: the stage ---- */
.stg-hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--st-night); color: #fff; }
.stg-hero__bg { position: absolute; inset: 0; z-index: -3; }
.stg-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: stg-zoom 18s ease-in-out infinite alternate; }
@keyframes stg-zoom { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.stg-hero__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 50% 45%, rgba(11,4,32,.15), rgba(11,4,32,.75) 75%), linear-gradient(180deg, rgba(11,4,32,.35) 0%, rgba(11,4,32,0) 35%, rgba(11,4,32,.9) 100%); }
.stg-hero__beams { position: absolute; inset: 0; z-index: -2; overflow: hidden; mix-blend-mode: screen; pointer-events: none; }
.stg-hero__beams i { position: absolute; top: -10%; width: 22vw; height: 130%; transform-origin: 50% 0; filter: blur(18px); opacity: .5;
  background: linear-gradient(180deg, var(--c, #FF2E93) 0%, transparent 85%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); animation: stg-sweep 9s ease-in-out infinite alternate; }
.stg-hero__beams i:nth-child(1) { left: 2%; --c: #FF2E93; animation-duration: 8s; }
.stg-hero__beams i:nth-child(2) { left: 18%; --c: #22D3EE; animation-duration: 11s; animation-delay: -3s; }
.stg-hero__beams i:nth-child(3) { left: 38%; --c: #FFC83D; animation-duration: 9s; animation-delay: -5s; opacity: .35; }
.stg-hero__beams i:nth-child(4) { left: 56%; --c: #A78BFA; animation-duration: 12s; animation-delay: -1s; }
.stg-hero__beams i:nth-child(5) { left: 72%; --c: #FF2E93; animation-duration: 10s; animation-delay: -6s; }
.stg-hero__beams i:nth-child(6) { left: 86%; --c: #22D3EE; animation-duration: 8.5s; animation-delay: -2s; }
@keyframes stg-sweep { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
.stg-hero__in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; padding-block: 7rem 6rem; }
.stg-hero__by { display: inline-flex; align-items: center; gap: .6rem; margin: 0; padding: .45rem 1rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); font-weight: 800; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: stg-up .9s var(--st-ease) both; }
html[dir="rtl"] .stg-hero__by { letter-spacing: 0; font-size: .92rem; }
.theme-stage .stg-hero__title { color: #fff; }
.stg-hero__title { margin: 0; display: flex; flex-direction: column; align-items: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 9vw, 8.2rem); line-height: .9; letter-spacing: -.045em; text-shadow: 0 10px 50px rgba(0,0,0,.45); animation: stg-up 1s .08s var(--st-ease) both; }
.stg-hero__title .stg-gold { filter: drop-shadow(0 10px 40px rgba(255,176,0,.35)); padding-bottom: .06em; }
html[dir="rtl"] .stg-hero__title { font-size: clamp(2.6rem, 7.4vw, 6.2rem); line-height: 1.2; letter-spacing: 0; font-weight: 900; }
.stg-hero__lead { max-width: 40rem; margin: 0; font-size: clamp(1.02rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.88); animation: stg-up 1s .16s var(--st-ease) both; }
.stg-hero .stg-pill { animation: stg-up 1s .22s var(--st-ease) both; }
.stg-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: .4rem; animation: stg-up 1s .28s var(--st-ease) both; }
@keyframes stg-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.stg-hero__scroll { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: #fff; animation: stg-bob 2.4s ease-in-out infinite; }
.stg-hero__scroll .glyph { width: 20px; height: 20px; }
@keyframes stg-bob { 50% { transform: translate(-50%, 6px); } }
.stg-count { display: inline-flex; flex-direction: column; align-items: center; gap: .55rem; margin-top: 1rem; animation: stg-up 1s .34s var(--st-ease) both; }
.stg-count__label { font-weight: 800; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--st-gold); }
.stg-count__grid { display: grid; grid-template-columns: repeat(4, minmax(64px, 1fr)); gap: .5rem; direction: ltr; }
.stg-count__grid div { display: flex; flex-direction: column; align-items: center; padding: .6rem .5rem; border-radius: 16px; background: rgba(11,4,32,.5); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stg-count__grid b { font: 800 1.9rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.stg-count__grid span { font-size: .7rem; color: rgba(255,255,255,.7); margin-top: .25rem; }

/* ---- Ribbon ---- */
.stg-ribbon { overflow: hidden; background: var(--st-hot); color: #fff; border-block: 1px solid rgba(255,255,255,.2); }
.stg-ribbon__track { display: flex; align-items: center; width: max-content; padding-block: .85rem; animation: stg-marq 38s linear infinite; }
html[dir="rtl"] .stg-ribbon__track { animation-name: stg-marq-rtl; }
.stg-ribbon span { font: 800 1.05rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; padding-inline: 1.4rem; white-space: nowrap; }
html[dir="rtl"] .stg-ribbon span { letter-spacing: 0; font-size: 1.15rem; }
.stg-ribbon i { font-style: normal; color: var(--st-gold); }
@keyframes stg-marq { to { transform: translateX(-50%); } }
@keyframes stg-marq-rtl { to { transform: translateX(50%); } }

/* ---- Sections ---- */
.stg-sec { padding-block: clamp(3.5rem, 7vw, 6rem); }
.stg-sec--dark { background: radial-gradient(90% 120% at 50% 0%, #2A0F5C 0%, var(--st-night) 60%); color: #fff; }
.stg-head { max-width: 46rem; margin-bottom: 2.2rem; }
.stg-head--center { margin-inline: auto; text-align: center; }
.stg-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.stg-head h2, .stg-h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.05; color: var(--ink); }
.stg-sec--dark .stg-head h2, .stg-vote h2, .stg-final h2 { color: #fff; }
html[dir="rtl"] .stg-head h2, html[dir="rtl"] .stg-h2 { line-height: 1.35; }
.stg-head p:not(.stg-kicker) { margin: .8rem 0 0; color: var(--ink-2); font-size: 1.05rem; }
.stg-sec--dark .stg-head p:not(.stg-kicker) { color: rgba(255,255,255,.75); }

/* ---- Stats ---- */
.stg-stats { position: relative; margin-top: -1px; background: var(--st-night); color: #fff; }
.stg-stats__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; padding-block: 1.6rem; }
.stg-stat { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .8rem; text-align: center; }
.stg-stat + .stg-stat { border-inline-start: 1px solid rgba(255,255,255,.1); }
.stg-stat__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,46,147,.15); color: var(--st-magenta); }
.stg-stat__ic .glyph { width: 20px; height: 20px; }
.stg-stat b { font: 800 2.4rem/1 var(--font-display); background: var(--st-goldg); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stg-stat > span:last-child { color: rgba(255,255,255,.72); font-size: .88rem; font-weight: 600; }

/* ---- Categories ---- */
.stg-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.stg-cat { --c1: #FF2E93; --c2: #7C3AED; position: relative; overflow: hidden; isolation: isolate; padding: 1.6rem 1.4rem 1.4rem; border-radius: 24px; color: #fff; background: linear-gradient(150deg, var(--c1), var(--c2)); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c1) 70%, transparent); transition: transform .45s var(--st-ease); }
.stg-cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 85% 0%, rgba(255,255,255,.35), transparent 60%), repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 2px, transparent 2px 22px); }
.stg-cat:hover { transform: translateY(-6px) rotate(-.4deg); }
.stg-cat--cyan { --c1: #22D3EE; --c2: #2563EB; }
.stg-cat--gold { --c1: #FFC83D; --c2: #FF6A3D; }
.stg-cat--violet { --c1: #A78BFA; --c2: #5B21B6; }
.stg-cat__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.stg-cat__ic .glyph { width: 28px; height: 28px; }
.stg-cat h3 { margin: 1.1rem 0 .4rem; font-size: 1.45rem; font-weight: 800; color: #fff; }
.stg-cat__meta { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0; }
.stg-cat__meta span { padding: .25rem .65rem; border-radius: 999px; background: rgba(255,255,255,.2); font-size: .8rem; font-weight: 700; }
.stg-cat__age { margin: 1rem 0 0; font-size: .9rem; opacity: .9; }
.stg-cat__age b { font: 800 1.7rem/1 var(--font-display); }

/* ---- Top 5 ---- */
.stg-top__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; align-items: flex-end; }
.stg-top__item { flex: 0 1 200px; }
.stg-top__item--1 { order: -1; flex-basis: 230px; }
@media (min-width: 861px) { .stg-top__item--1 { order: 0; } .stg-top__item--2 { order: -1; } }
.stg-top__item a { display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; color: #fff; text-decoration: none; padding: .9rem .7rem 1.1rem; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: transform .4s var(--st-ease), background .3s; }
.stg-top__item a:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.stg-top__item--1 a { background: linear-gradient(180deg, rgba(255,200,61,.22), rgba(255,255,255,.05)); border-color: rgba(255,200,61,.55); padding-block: 1.4rem 1.4rem; }
.stg-top__ph { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.08); }
.stg-top__ph img { width: 100%; height: 100%; object-fit: cover; }
.stg-top__ph > i { display: grid; place-items: center; height: 100%; color: rgba(255,255,255,.4); }
.stg-top__rank { position: absolute; top: .55rem; inset-inline-start: .55rem; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--st-hot); font: 800 1rem/1 var(--font-display); box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.stg-top__item--1 .stg-top__rank { background: var(--st-goldg); color: #2A1700; width: 40px; height: 40px; }
.stg-top__item strong { font-size: 1.02rem; }
.stg-top__item small { color: rgba(255,255,255,.65); }
.stg-top__bar { width: 100%; height: 6px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.stg-top__bar i { display: block; height: 100%; background: var(--st-beam); border-radius: inherit; }
.stg-top__n { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; color: #FFB3D6; }
.stg-top__n .glyph { width: 14px; height: 14px; }
@media (max-width: 860px) { .stg-top__item { flex-basis: calc(50% - .5rem); } .stg-top__item--1 { flex-basis: 70%; } }

/* newest marquee cards */
.theme-stage .stg-card { border-radius: 20px; border: 0; box-shadow: var(--st-shadow); }
.theme-stage .stg-card .nm-card__badge { background: var(--st-hot); }

/* ---- Steps ---- */
.stg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: s; position: relative; }
.stg-steps::before { content: ""; position: absolute; top: 34px; inset-inline: 8%; height: 3px; border-radius: 3px; background: var(--st-beam); opacity: .5; }
.stg-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; padding: 0 .4rem; }
.stg-steps__n { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--st-card); border: 3px solid transparent; background-image: linear-gradient(var(--st-card), var(--st-card)), var(--st-hot); background-origin: border-box; background-clip: padding-box, border-box; font: 800 1.6rem/1 var(--font-display); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(255,46,147,.6); transition: transform .4s var(--st-ease); }
.stg-steps li:hover .stg-steps__n { transform: scale(1.08); }
.stg-steps__ic { color: var(--st-magenta); margin-top: .2rem; }
.stg-steps__ic .glyph { width: 22px; height: 22px; }
.stg-steps h3 { margin: 0; font-size: 1.08rem; color: var(--ink); }
.stg-steps p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 900px) {
  .stg-steps { grid-template-columns: 1fr; gap: 1.2rem; }
  .stg-steps::before { top: 0; bottom: 0; inset-inline-start: 33px; inset-inline-end: auto; width: 3px; height: auto; }
  .stg-steps li { display: grid; grid-template-columns: 68px 1fr; grid-template-rows: auto auto; column-gap: 1rem; text-align: start; align-items: center; }
  .stg-steps__n { grid-row: span 2; }
  .stg-steps__ic { display: none; }
}

/* ---- Vote band (gala) ---- */
.stg-vote { position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center; padding-block: clamp(5rem, 10vw, 8rem); background: var(--st-night); }
.stg-vote__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.stg-vote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 50% 50%, rgba(11,4,32,.35), rgba(11,4,32,.85)); }
.stg-vote__in { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.stg-vote h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
.stg-vote p:not(.stg-kicker) { margin: 0; max-width: 38rem; color: rgba(255,255,255,.85); font-size: 1.1rem; }

/* ---- Photo standards ---- */
.stg-real { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.stg-prose { color: var(--ink-2); font-size: 1.05rem; line-height: 1.75; margin: 1rem 0; }
.stg-checks { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .65rem; }
.stg-checks li { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--ink); }
.stg-checks .glyph { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--lapis-soft); color: var(--st-violet); }
@media (max-width: 900px) { .stg-real { grid-template-columns: 1fr; } }

/* ---- FAQ ---- */
.stg-faq__list { max-width: 50rem; margin-inline: auto; display: grid; gap: .7rem; }
.theme-stage .g-qa { border-radius: 18px; background: var(--st-card); border: 1px solid var(--st-line); box-shadow: none; }
.theme-stage .g-qa[open] { border-color: color-mix(in srgb, var(--st-magenta) 50%, var(--st-line)); box-shadow: 0 14px 30px -18px rgba(255,46,147,.5); }
.theme-stage .g-qa summary { font-weight: 800; color: var(--ink); }
.stg-faq__more { text-align: center; margin-top: 1rem; }

/* ---- Sponsors ---- */
.stg-sponsors { padding-block: 2.5rem; border-top: 1px solid var(--st-line); text-align: center; }

/* ---- Final call ---- */
.stg-final { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff; padding-block: clamp(4.5rem, 9vw, 7rem); background: radial-gradient(70% 120% at 50% 0%, #4C1D95 0%, #1A0B3B 45%, var(--st-night) 100%); }
.stg-final__in { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.stg-final h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; max-width: 18ch; }
.stg-final p:not(.stg-pill) { margin: 0; max-width: 36rem; color: rgba(255,255,255,.82); font-size: 1.1rem; }
.stg-final__confetti { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stg-final__confetti i { position: absolute; top: -20px; left: var(--x); width: 9px; height: 14px; border-radius: 2px; background: var(--c); opacity: .85; animation: stg-fall 7s linear infinite; animation-delay: var(--d); }
@keyframes stg-fall { from { transform: translateY(-20px) rotate(0); } to { transform: translateY(620px) rotate(540deg); } }

/* ---- Raffle band, footer and inner pages in the Stage colours ---- */
.theme-stage .raffle { background: var(--st-hot) !important; color: #fff; }
.theme-stage .raffle h2, .theme-stage .raffle p { color: #fff; }
.theme-stage .site-footer { background: #07020F !important; position: relative; }
.theme-stage .site-footer::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--st-beam); }
.theme-stage .site-footer a:hover { color: var(--st-gold); }
.theme-stage .pro2-hero { background: radial-gradient(90% 120% at 20% 0%, #4C1D95, #1A0B3B 55%, var(--st-night)) !important; }
.theme-stage .g-hero, .theme-stage .g-hero--plain { background: radial-gradient(90% 120% at 50% 0%, #4C1D95, #1A0B3B 55%, var(--st-night)) !important; }
.theme-stage .panel, .theme-stage .card { border-radius: 20px; }
.theme-stage .acc-nav a[aria-current="page"], .theme-stage .sidebar a[aria-current="page"] { color: var(--st-magenta); }
.theme-stage .badge--approved { background: rgba(34,211,238,.15); color: #0E7490; }
.theme-stage .alert--success { border-color: rgba(34,211,238,.4); }
.theme-stage input:focus, .theme-stage select:focus, .theme-stage textarea:focus { border-color: var(--st-magenta) !important; box-shadow: 0 0 0 4px rgba(255,46,147,.15) !important; outline: none; }

/* ---- Sign-in / registration art panel ---- */
.stg-auth { position: relative; height: 100%; min-height: 100%; overflow: hidden; border-radius: inherit; color: #fff; isolation: isolate; }
.stg-auth img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stg-auth::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,4,32,.1) 30%, rgba(11,4,32,.9)); }
.stg-auth__txt { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 2rem; }
.stg-auth__title { margin: 0; font: 800 clamp(2rem, 3.6vw, 3.2rem)/1 var(--font-display); letter-spacing: -.03em; }
html[dir="rtl"] .stg-auth__title { line-height: 1.35; letter-spacing: 0; }
.stg-auth__lead { margin: 0; color: rgba(255,255,255,.85); max-width: 30rem; }

/* ---- Small screens ---- */
@media (max-width: 720px) {
  .stg-hero { min-height: 88vh; min-height: 88svh; }
  .stg-hero__in { padding-block: 5.5rem 4.5rem; }
  .stg-hero__cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .stg-hero__cta .btn { justify-content: center; }
  .stg-count__grid { grid-template-columns: repeat(4, minmax(56px, 1fr)); }
  .stg-count__grid b { font-size: 1.45rem; }
  .stg-stat + .stg-stat { border-inline-start: 0; }
  .stg-stats__in { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .stg-hero__bg img, .stg-hero__beams i, .stg-ribbon__track, .stg-final__confetti i, .stg-hero__scroll, .stg-dot { animation: none !important; }
}

.theme-stage.area-home .site-footer, .theme-stage.area-home main + .site-footer { margin-block-start: 0 !important; }
.theme-stage.area-home main { padding-bottom: 0 !important; }
.theme-stage .site-header .htool { background: rgba(255,255,255,.07) !important; border-color: rgba(255,255,255,.18) !important; color: #fff !important; }
.theme-stage .site-header .htool--lang .htool__label { display: inline !important; font-weight: 800; }
@media (max-width: 600px) {
  .theme-stage .brand__name { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw; display: block; }
  html[dir="rtl"] .theme-stage .brand__name { font-size: .9rem; }
  .theme-stage .brand__sub { display: none; }
  .theme-stage .brand img, .theme-stage .brand__mark { width: 32px; height: 32px; }
}
.theme-stage .site-header .brand { min-width: 0; }
.theme-stage .site-header .brand > span { min-width: 0; overflow: hidden; }
.theme-stage .site-header .htool--lang { width: auto !important; padding: 0 .6rem !important; }
.theme-stage .site-header .hauth__login { background: transparent !important; border-color: rgba(255,255,255,.18) !important; color: #fff !important; }
@media (max-width: 600px) {
  .theme-stage .site-header .brand { max-width: 44vw; }
  .theme-stage .brand__name { max-width: 100%; }
}
@media (max-width: 400px) { .theme-stage .site-header .htool--mode { display: none; } }
@media (max-width: 600px) {
  .theme-stage .site-header .hauth__login { display: none !important; }
  .theme-stage .site-header .brand { max-width: 52vw; }
}
@media (max-width: 600px) {
  .theme-stage .site-header .hauth__cta span { display: none; }
  .theme-stage .site-header .hauth__cta { width: 40px; padding: 0 !important; justify-content: center; }
}

/* ---- Contestant page: modern spotlight frame instead of the arch + ornament ---- */
.theme-stage .pro2-portrait { border-radius: 28px; background: linear-gradient(145deg, #FF2E93, #7C3AED 50%, #22D3EE); box-shadow: 0 40px 90px -30px rgba(124,58,237,.75), 0 0 80px -20px rgba(255,46,147,.6); }
.theme-stage .pro2-portrait > a, .theme-stage .pro2-portrait__empty { border-radius: 22px; background: #1A0B3B; }
.theme-stage .pro2-portrait__orn { display: none !important; }
.theme-stage .pro-crown { background: var(--st-goldg); color: #2A1700; }
.theme-stage .pro2-cat { border-color: rgba(255,200,61,.5); }
/* contestants list */
.theme-stage .filters a[aria-current="true"], .theme-stage .filters .is-on, .theme-stage .filters a.active { background: var(--st-hot) !important; color: #fff !important; border-color: transparent !important; }
.theme-stage .page-head h1 { font-family: var(--font-display); font-weight: 800; }
.theme-stage .gallery .ph { border-radius: 22px; background: linear-gradient(160deg, #F1E9FF, #FFE4F1); }
html[data-mode="dark"] .theme-stage .gallery .ph { background: linear-gradient(160deg, #24164A, #3A1030); }
.theme-stage .pro2-name { font-family: var(--font-display); font-weight: 800; }

/* Category card actions */
.cat-acts--stage { justify-content: flex-start; margin-top: 1.2rem; }
.cat-acts--stage .stg-btn { flex: 1 1 auto; justify-content: center; padding: .62rem 1rem; border-radius: 999px; font-weight: 800; font-size: .88rem; }
.cat-acts__go { background: #fff !important; color: var(--c2, #5B21B6) !important; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.cat-acts__see { background: rgba(255,255,255,.14) !important; color: #fff !important; border: 1.5px solid rgba(255,255,255,.55) !important; }
.cat-acts__see:hover { background: rgba(255,255,255,.26) !important; }
.stg-cat { display: flex; flex-direction: column; align-items: flex-start; }
.stg-cat .cat-acts--stage { width: 100%; margin-top: auto; padding-top: 1.2rem; }

/* ---- 2.3 Header icons + phone drawer on the dark stage ---- */
.theme-stage .site-header .nv { background: rgba(255,255,255,.08); color: color-mix(in srgb, var(--nv) 70%, #fff); }
.theme-stage .site-header .nav a[aria-current="page"] { box-shadow: none; background: rgba(255,255,255,.1); }
.theme-stage .drawer__panel { background: radial-gradient(120% 60% at 100% 0%, rgba(255,46,147,.22), transparent 60%), radial-gradient(90% 50% at 0% 100%, rgba(124,58,237,.28), transparent 60%), #0B0420; color: #fff; }
.theme-stage .drawer__panel .brand__name { color: #fff; }
.theme-stage .drawer__x, .theme-stage .drawer__pill, .theme-stage .drawer__social a { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.theme-stage .drawer__nav .nv { background: rgba(255,255,255,.08); color: color-mix(in srgb, var(--nv) 70%, #fff); }
.theme-stage .drawer__nav a[aria-current="page"] { background: linear-gradient(90deg, rgba(255,46,147,.22), rgba(124,58,237,.12)); }
.theme-stage .drawer__cta { background: var(--st-hot) !important; }
.theme-stage .pwa { --pwa-accent: #FF2E93; --pwa-accent-2: #7C3AED; }

/* ---- 2.3 Category cards on phones: swipeable, compact, with a watermark icon ---- */
.stg-cat__wm { position: absolute; z-index: -1; inset-block-end: -18px; inset-inline-end: -14px; width: 150px; height: 150px; color: rgba(255,255,255,.13); transform: rotate(-12deg); pointer-events: none; }
.stg-cat__wm .glyph { width: 100%; height: 100%; stroke-width: 1.3; }
.snap-dots { display: none; }
@media (max-width: 640px) {
  .stg-cats { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter, 16px) * -1); padding: 8px var(--gutter, 16px) 22px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .stg-cats::-webkit-scrollbar { display: none; }
  .stg-cat { scroll-snap-align: center; padding: 1.25rem 1.15rem 1.15rem; border-radius: 26px; min-height: 0; transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s, opacity .4s; }
  .stg-cat:not(.is-center) { transform: scale(.94); opacity: .82; }
  .stg-cat:hover { transform: none; }
  .stg-cat.is-center { box-shadow: 0 26px 50px -22px color-mix(in srgb, var(--c1) 85%, transparent); }
  .stg-cat__ic { width: 48px; height: 48px; border-radius: 15px; }
  .stg-cat h3 { margin: .85rem 0 .45rem; font-size: 1.3rem; line-height: 1.25; }
  .stg-cat__age { margin-top: .75rem; }
  .stg-cat__age b { font-size: 1.55rem; }
  .cat-acts--stage { flex-wrap: nowrap; gap: .45rem; padding-top: 1rem !important; }
  .cat-acts--stage .stg-btn { padding: .62rem .6rem; font-size: .82rem; gap: .35rem; white-space: nowrap; }
  .cat-acts--stage .stg-btn .glyph { width: 15px; height: 15px; }
  .snap-dots { display: flex; justify-content: center; gap: 6px; margin-top: -4px; }
  .snap-dots i { width: 7px; height: 7px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 20%, transparent); transition: width .35s cubic-bezier(.22,1,.36,1), background-color .3s; }
  .snap-dots i.is-on { width: 22px; background: var(--st-hot, #FF2E93); }
}
.theme-stage .auth-card__mark--ic:not(.auth-card__mark--ok):not(.auth-card__mark--gold) { background: var(--st-hot) !important; box-shadow: 0 14px 30px -14px rgba(255,46,147,.85) !important; }
@media (max-width: 700px) { .theme-stage .auth-split__form { background: radial-gradient(120% 40% at 100% 0%, rgba(255,46,147,.12), transparent 70%), radial-gradient(80% 30% at 0% 10%, rgba(124,58,237,.1), transparent 70%), var(--surface) !important; } }

/* 2.4 Hero: content sits low so it never covers the hosts' faces in the slide photo */
.stg-hero { align-items: flex-end; }
.stg-hero__in { gap: .9rem; padding-block: 6rem 4.6rem; }
.stg-hero__title { font-size: clamp(2.6rem, 7vw, 6.4rem); }
html[dir="rtl"] .stg-hero__title { font-size: clamp(2.3rem, 5.8vw, 5rem); }
.stg-hero__shade { background: linear-gradient(180deg, rgba(11,4,32,.25) 0%, rgba(11,4,32,0) 30%, rgba(11,4,32,0) 45%, rgba(11,4,32,.82) 82%, rgba(11,4,32,.95) 100%) !important; }
.stg-hero__scroll { display: none; }
@media (max-width: 720px) { .stg-hero__in { padding-block: 5rem 2.6rem; } }

/* ==== 2.4 Phone/tablet header: two balanced groups, perfectly centred ==================================
   start: menu button + logo   ·   end: IPN TV, language, day/night, sign in, apply */
@media (max-width: 960px) {
  .site-header .container.site-header__in { width: 100%; max-width: 100%; margin-inline: auto; padding-inline: 12px !important; gap: 8px; justify-content: space-between; }
  .site-header .nav__toggle { order: -2; flex: none; }
  .site-header .brand { order: -1; margin-inline-end: auto; padding-inline-end: 10px; }
  .site-header .hdr-ipn { order: 1; }
  .site-header .htools { order: 2; margin-inline-start: 0 !important; gap: 6px !important; }
  .site-header .htools .hauth { display: flex !important; gap: 6px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; height: 36px; }
  .site-header .htools .hauth .hauth__login, .site-header .htools .hauth .hauth__cta { display: inline-grid !important; place-items: center; width: 36px !important; height: 36px !important; min-height: 36px !important; padding: 0 !important; border-radius: 11px !important; }
  .site-header .htools .hauth .hauth__login span, .site-header .htools .hauth .hauth__cta span { display: none !important; }
  .theme-stage .site-header .htools .hauth .hauth__login { border: 1px solid rgba(255,255,255,.18) !important; }
  .site-header .htool--mode { display: inline-grid !important; }
  .site-header .htool--lang { width: 36px !important; padding: 0 !important; justify-content: center; }
  .site-header .htool--lang img { display: none !important; }
  .site-header .htool--lang .htool__label { display: inline !important; font-size: .78rem; }
  .site-header a.hdr-ipn { width: 36px !important; height: 36px !important; }
  .site-header .ipn-round { width: 30px; height: 30px; }
}
@media (max-width: 480px) {
  .site-header .brand__name, .site-header .brand__sub { display: none !important; }
  .site-header .brand { padding-inline-end: 0; }
}
@media (max-width: 340px) { .site-header .htool--mode { display: none !important; } }
.theme-stage .spn { background: radial-gradient(60% 80% at 50% 0%, rgba(255,46,147,.08), transparent 70%); }
.theme-stage .spn__kicker { background: rgba(255,46,147,.1); color: #E0157A; }
.theme-stage a.spn__card:hover { border-color: #FF2E93; box-shadow: 0 24px 44px -22px rgba(255,46,147,.55); }
.theme-stage .spn__become:hover { border-color: #FF2E93; color: #E0157A; }

/* css/ui.css */
/* =============================================================================
   UI 1.5 — shared refinements for every theme (loaded after the theme CSS).
   Header & user menu · footer · back-to-top · follow IPN · OTP boxes · content pages ·
   contestant profile · share kit · compact account/admin components · mobile.
   ============================================================================= */

/* ---- Header ------------------------------------------------------------------ */
.site-header { z-index: 60; }
.site-header__in { display: flex; align-items: center; gap: .75rem; min-height: 68px; }
.site-header .brand { flex: none; }
.site-header .nav { flex: 1; justify-content: center; margin: 0; gap: .15rem; align-self: stretch; align-items: center; }
.site-header .nav a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .75rem; border-radius: 12px; font-weight: 600; font-size: .94rem; line-height: 1.2; white-space: nowrap; }
.site-header .nav a .ico--nav { width: 26px; height: 26px; }
.site-header .nav .nav-cta { margin-inline-start: .35rem; padding: .5rem 1rem; min-height: 40px; color: #fff; }
.site-header .nav .nav-cta .glyph { width: 16px; height: 16px; }
.nav__toggle { flex: none; width: 42px; height: 42px; border-radius: 12px; display: none; align-items: center; justify-content: center; flex-direction: column; padding: 0; }
.nav__toggle span { margin: 2.5px 0; }
.htools { display: flex; align-items: center; gap: .4rem; flex: none; }
.htool { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; padding: 0; transition: border-color .15s, background .15s; }
.htool:hover { border-color: var(--lapis); color: var(--lapis); }
.htool .glyph { width: 19px; height: 19px; }
.htool--lang { width: auto; padding: 0 .65rem; display: inline-flex; gap: .45rem; font-weight: 700; font-size: .85rem; }
.htool--lang img { width: 26px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); object-fit: cover; }
.htool__sun { display: none; }
[data-mode="dark"] .htool__sun { display: block; }
[data-mode="dark"] .htool__moon { display: none; }
.umenu { position: relative; }
.umenu > summary { list-style: none; }
.umenu > summary::-webkit-details-marker { display: none; }
.umenu__btn { display: inline-flex; align-items: center; gap: .5rem; height: 42px; padding: 3px .6rem 3px 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); font-weight: 700; font-size: .9rem; }
[dir="rtl"] .umenu__btn { padding: 3px 3px 3px .6rem; }
.umenu[open] .umenu__btn, .umenu__btn:hover { border-color: var(--lapis); }
.umenu__av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.umenu__av--txt { display: grid; place-items: center; background: linear-gradient(135deg, #F2D892, #C9963A); color: #2B1B05; font-weight: 800; }
.umenu__av--lg { width: 44px; height: 44px; font-size: 1.1rem; }
.umenu__name { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.umenu__chev { width: 16px; height: 16px; transition: transform .15s; }
.umenu[open] .umenu__chev { transform: rotate(180deg); }
.umenu__panel { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(10, 15, 40, .45); padding: .45rem; z-index: 80; }
.umenu__head { display: flex; gap: .7rem; align-items: center; padding: .6rem .6rem .8rem; border-bottom: 1px solid var(--line); margin-bottom: .35rem; }
.umenu__head > div { display: grid; min-width: 0; }
.umenu__head strong { font-size: .95rem; color: var(--ink); }
.umenu__head span { font-size: .78rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }
.umenu__panel a, .umenu__out { display: flex; align-items: center; gap: .65rem; width: 100%; padding: .6rem .65rem; border-radius: 12px; color: var(--ink); text-decoration: none; font: 600 .92rem/1.2 var(--font-body); background: none; border: 0; cursor: pointer; text-align: start; }
.umenu__panel a:hover, .umenu__out:hover { background: var(--porcelain); color: var(--lapis); }
.umenu__panel .glyph { width: 18px; height: 18px; color: var(--ink-3); }
.umenu__panel form { margin: .25rem 0 0; border-top: 1px solid var(--line); padding-top: .25rem; }
.umenu__out { color: var(--pomegranate); }
.umenu__out .glyph { color: var(--pomegranate); }
@media (max-width: 1040px) { .site-header .nav a .ico--nav { display: none; } .site-header .nav a { padding: .5rem .55rem; } }
@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .site-header .nav { position: fixed; inset: 68px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: .2rem; padding: .8rem 16px 1.2rem; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(10, 15, 40, .35); max-height: calc(100vh - 68px); overflow-y: auto; }
  .site-header .nav.is-open { display: flex; }
  .site-header .nav a { padding: .8rem .8rem; font-size: 1.02rem; border-radius: 14px; }
  .site-header .nav a .ico--nav { display: inline-grid; width: 32px; height: 32px; }
  .site-header .nav .nav-cta { margin: .5rem 0 0; justify-content: center; min-height: 48px; }
  .htools { margin-inline-start: auto; }
  .umenu__name, .umenu__chev, .htool__label { display: none; }
  .umenu__btn { padding: 3px; }
  .htool--lang { width: 40px; padding: 0; justify-content: center; }
}
@media (max-width: 380px) { .brand__sub { display: none; } .htools { gap: .3rem; } .htool { width: 36px; height: 36px; } }

/* ---- Back to top ------------------------------------------------------------ */
.totop { position: fixed; z-index: 55; bottom: 22px; inset-inline-start: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--lapis); display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 28px -12px rgba(10, 15, 40, .5); transition: transform .2s; }
.totop:hover { transform: translateY(-3px); }
.totop .glyph { width: 20px; height: 20px; }
.area-account .totop { bottom: 88px; }
@media (min-width: 961px) { .area-account .totop { bottom: 22px; } }

/* ---- Footer ----------------------------------------------------------------- */
.site-footer .foot { display: grid; gap: 2rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-footer .foot { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .site-footer .foot { grid-template-columns: 1.35fr 1fr 1fr 1.1fr; } }
.foot__brand p { margin: .9rem 0 1.2rem; max-width: 36ch; opacity: .85; line-height: 1.7; }
.foot__col h2 { display: flex; align-items: center; gap: .5rem; font: 700 .95rem/1.3 var(--font-body); color: #fff; margin: 0 0 .9rem; letter-spacing: 0; }
.foot__col h2 .glyph { width: 18px; height: 18px; color: var(--saffron, #E3A52B); }
.foot__h2b { margin-top: 1.6rem !important; }
.site-footer .foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer .foot__col a { display: inline-flex; align-items: center; gap: .55rem; opacity: .88; font-size: .92rem; }
.site-footer .foot__col a:hover { opacity: 1; }
.foot__col a .glyph { width: 15px; height: 15px; opacity: .7; flex: none; }
.foot__watch { margin: 0 0 .8rem; opacity: .85; font-size: .9rem; line-height: 1.6; }
.foot__social { display: flex; gap: .45rem; flex-wrap: wrap; }
.site-footer .foot__social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); opacity: 1; }
.site-footer .foot__social a:hover { background: rgba(255, 255, 255, .18); }
.foot__social .glyph { width: 19px; height: 19px; opacity: 1; }
.foot__counter { display: inline-grid; gap: .1rem; padding: .7rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); margin-bottom: 1rem; transition: box-shadow .4s; }
.foot__counter-label { display: flex; align-items: center; gap: .35rem; font-size: .76rem; opacity: .75; }
.foot__counter-label .glyph { width: 14px; height: 14px; }
.foot__counter b { font: 800 1.9rem/1.1 var(--font-body); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.foot__counter.is-bump { box-shadow: 0 0 0 3px rgba(233, 199, 123, .35); }
.site-footer .foot__base { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; align-items: center; font-size: .84rem; }
.foot__base p { margin: 0; opacity: .8; }
.foot__copy { font-weight: 600; opacity: .95 !important; }
@media (max-width: 699px) { .site-footer .foot__col ul { grid-template-columns: 1fr 1fr; gap: .55rem .8rem; } .site-footer .foot__base { justify-content: center; text-align: center; } }

/* ---- Follow IPN TV ----------------------------------------------------------- */
.follow { position: fixed; z-index: 70; inset-inline: 0; bottom: 0; display: flex; justify-content: center; padding: 16px; pointer-events: none; }
.follow__card { pointer-events: auto; position: relative; width: min(100%, 460px); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 1.2rem 1.2rem 1rem; box-shadow: 0 30px 70px -20px rgba(10, 15, 40, .55); transform: translateY(30px); opacity: 0; transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), opacity .3s; text-align: center; }
.follow.is-on .follow__card { transform: none; opacity: 1; }
.follow__x { position: absolute; top: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--porcelain); color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.follow__x .glyph { width: 16px; height: 16px; }
.follow__tv, .card-follow__tv { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; background: #E0245E; color: #fff; font: 800 .72rem/1 var(--font-body); letter-spacing: .08em; }
.follow__tv .glyph, .card-follow__tv .glyph { width: 15px; height: 15px; }
.follow h2 { font-size: 1.25rem; margin: .7rem 0 .35rem; color: var(--ink); }
.follow p { margin: 0 0 1rem; color: var(--ink-2); font-size: .95rem; }
.follow__nets { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; }
.follow__net { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .85rem; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: .88rem; }
.follow__net .glyph { width: 17px; height: 17px; }
.follow__net:hover { color: #fff; filter: brightness(1.08); }
.follow__net--youtube { background: #E62117; } .follow__net--instagram { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); }
.follow__net--facebook { background: #1877F2; } .follow__net--x { background: #111; } .follow__net--telegram { background: #229ED9; } .follow__net--tiktok { background: #111; }
.follow__done { margin-top: .9rem; background: none; border: 0; color: var(--ink-3); font: 600 .85rem var(--font-body); cursor: pointer; display: inline-flex; gap: .35rem; align-items: center; }
.follow__done .glyph { width: 15px; height: 15px; }
.follow__note { font-size: .74rem !important; color: var(--ink-3) !important; margin: .4rem 0 0 !important; }
@media (prefers-reduced-motion: reduce) { .follow__card { transition: none; } }

/* ---- OTP boxes ----------------------------------------------------------------- */
.otp { margin-block: .5rem 1rem; }
.otp__row { display: flex; gap: .5rem; justify-content: center; }
.otp__box { width: 52px !important; height: 62px; min-height: 0 !important; margin: 0 !important; padding: 0 !important; text-align: center; font: 700 1.6rem/1 var(--font-body) !important; font-variant-numeric: tabular-nums; border-radius: 14px !important; border: 1.5px solid var(--line) !important; background: var(--surface) !important; color: var(--ink); caret-color: var(--lapis); }
.otp__box:focus { border-color: var(--lapis) !important; box-shadow: 0 0 0 4px rgba(61, 91, 217, .18) !important; outline: none; }
.otp.is-done .otp__box { border-color: #239A61 !important; background: #F1FBF5 !important; }
@media (max-width: 400px) { .otp__row { gap: .35rem; } .otp__box { width: 44px !important; height: 54px; font-size: 1.35rem !important; } }

/* ---- Content pages: same width as the landing page ----------------------------- */
.page-wrap { padding-block: .5rem 3rem; }
.page-head--wide { text-align: start; padding-block: 2rem 1.2rem; }
.page-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) { .page-grid--toc { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } }
.page-toc .toc { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; font-size: .9rem; }
.page-toc .toc ol { margin: .5rem 0 0; padding-inline-start: 1.2rem; display: grid; gap: .35rem; }
.page-toc .toc a { text-decoration: none; color: var(--ink-2); }
.page-toc .toc a:hover { color: var(--lapis); }
@media (max-width: 999px) { .page-toc .toc { position: static; } }
.prose.prose--wide { max-width: none; margin: 0; padding: clamp(1.2rem, 3vw, 2.4rem); font-size: 1.02rem; line-height: 1.8; }
.prose--wide > * { max-width: 88ch; }
.prose--wide h2 { scroll-margin-top: 90px; }
.page-grid--faq .prose--wide > p:first-child { max-width: none; }
@media (min-width: 1000px) { .page-grid--faq .prose--wide { columns: 2; column-gap: 2.2rem; } .page-grid--faq .prose--wide > p:first-child { column-span: all; } .page-grid--faq .faq-group { break-inside: avoid; max-width: none; margin-top: 0; padding-bottom: 1.2rem; } }

/* ---- Contestant profile --------------------------------------------------------- */
.profile-page { padding-block: 1rem 3rem; }
.crumbs { display: flex; gap: .5rem; align-items: center; color: var(--ink-3); margin: .5rem 0 1.2rem; }
.crumbs a { display: inline-flex; gap: .35rem; align-items: center; text-decoration: none; }
.crumbs .glyph { width: 15px; height: 15px; }
.pro-hero { display: grid; gap: 1.6rem; align-items: start; }
@media (min-width: 920px) { .pro-hero { grid-template-columns: 1.05fr 1fr; gap: 2.4rem; } }
.pro-gallery { position: relative; }
.pro-gallery__main { margin: 0; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--lapis-soft); box-shadow: 0 30px 60px -30px rgba(10, 15, 40, .55); }
.pro-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.pro-gallery__thumbs { display: flex; gap: .6rem; margin-top: .8rem; }
.pro-gallery__thumbs button { width: 74px; aspect-ratio: 3 / 4; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: none; opacity: .75; }
.pro-gallery__thumbs button.is-on { border-color: var(--saffron); opacity: 1; }
.pro-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pro-crown { position: absolute; top: 14px; inset-inline-start: 14px; display: inline-flex; gap: .35rem; align-items: center; padding: .4rem .8rem; border-radius: 999px; background: linear-gradient(135deg, #FFD36E, #E58E12); color: #2A1A00; font-weight: 800; }
.pro-crown .glyph { width: 16px; height: 16px; }
.pro-stage { margin: 0 0 .6rem; }
.pro-stage .pill { display: inline-flex; gap: .35rem; align-items: center; padding: .3rem .7rem; font-size: .8rem; }
.pro-stage .glyph { width: 14px; height: 14px; }
.pro-name { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; margin: 0 0 1rem; }
[dir="rtl"] .pro-name { line-height: 1.4; }
.pro-facts { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.pro-facts li { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .75rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.pro-facts .glyph { width: 15px; height: 15px; color: var(--lapis); }
.pro-quote { margin: 0 0 1.4rem; padding: .9rem 1.1rem; border-inline-start: 3px solid var(--saffron); background: var(--surface); border-radius: 0 14px 14px 0; font-size: 1.05rem; font-style: italic; color: var(--ink-2); }
[dir="rtl"] .pro-quote { border-radius: 14px 0 0 14px; font-style: normal; }
.vote-card { border-radius: 20px; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 16px 40px -28px rgba(10, 15, 40, .6); }
.vote-card.is-open { border-color: #EBD39A; background: linear-gradient(160deg, var(--surface), #FFF8E6); }
.vote-card__top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: .7rem; }
.vote-card__top > div { display: grid; }
.vote-card__top strong { font-size: 1.1rem; }
.vote-card__n { display: inline-flex; gap: .35rem; align-items: center; font: 800 1.4rem/1 var(--font-body); color: var(--pomegranate); font-variant-numeric: tabular-nums; }
.vote-card__n .glyph { width: 20px; height: 20px; }
.vote-card__done { display: flex; gap: .4rem; align-items: center; color: #157A4B; font-weight: 700; margin: 0; }
.vote-card form { margin: 0; }
.btn--block { width: 100%; justify-content: center; }
.pro-social { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; margin-top: 1.1rem; }
.pro-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.pro-social a:hover { border-color: var(--lapis); color: var(--lapis); }
.pro-social .glyph { width: 18px; height: 18px; }
.pro-body { display: grid; gap: 1.4rem; margin-top: 2.4rem; }
@media (min-width: 920px) { .pro-body { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.pro-sections { display: grid; gap: 1rem; }
.pro-sec { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.3rem; }
.pro-sec h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; margin: 0 0 .7rem; }
.pro-sec p { margin: 0; line-height: 1.8; color: var(--ink-2); }
.pro-side { display: grid; gap: 1rem; }
.pro-share__img { width: 100%; border-radius: 14px; margin-bottom: .8rem; }
.pro-others { margin-top: 2.6rem; }
.pro-others h2 { font-size: 1.4rem; }
.gallery--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery--4 { grid-template-columns: repeat(4, 1fr); } }

/* Journey (stages) */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; position: relative; }
.journey__step { display: flex; gap: .8rem; align-items: flex-start; position: relative; padding-bottom: .9rem; }
.journey__step:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.journey__step.is-done:not(:last-child)::before { background: #239A61; }
.journey__dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--porcelain); color: var(--ink-3); border: 2px solid var(--line); }
.journey__dot .glyph { width: 16px; height: 16px; }
.journey__step.is-done .journey__dot { background: #239A61; border-color: #239A61; color: #fff; }
.journey__step.is-now .journey__dot { background: var(--saffron); border-color: var(--saffron); color: #2A1A00; box-shadow: 0 0 0 5px rgba(227, 165, 43, .2); }
.journey__step.is-out .journey__dot { background: #F3F4F8; color: #8A90A8; }
.journey__step > div { display: grid; gap: .1rem; padding-top: .3rem; }
.journey__step strong { font-size: .98rem; }
.journey__step span { font-size: .85rem; color: var(--ink-3); }
.journey__votes { display: inline-flex !important; align-items: center; gap: .3rem; color: var(--pomegranate) !important; font-weight: 700; }
.journey__votes .glyph { width: 14px; height: 14px; }

/* Dashboard cards */
.card-share { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.card-share__img { width: 150px; border-radius: 14px; box-shadow: 0 16px 30px -18px rgba(10, 15, 40, .6); }
.card-share > div { flex: 1 1 240px; }
.card-share h2 { margin: 0 0 .3rem; font-size: 1.2rem; }
.card-follow { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; background: linear-gradient(135deg, var(--surface), rgba(224, 36, 94, .06)); }
.card-follow > div { flex: 1 1 260px; }
.card-follow h2 { margin: 0 0 .3rem; font-size: 1.15rem; }
.card-follow p { margin: 0 0 .9rem; color: var(--ink-2); }
.card-follow .follow__nets { justify-content: flex-start; }
.locked { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
@media (min-width: 760px) { .locked { grid-template-columns: repeat(6, 1fr); } }
.locked__item { margin: 0; }
.locked__img { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--porcelain); }
.locked__img img { width: 100%; height: 100%; object-fit: cover; }
.locked__item.is-private .locked__img img { filter: blur(9px) saturate(.6); transform: scale(1.1); }
.locked__lock { position: absolute; inset-inline-end: 6px; bottom: 6px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 15, 40, .72); color: #fff; }
.locked__lock .glyph { width: 14px; height: 14px; }
.locked__item figcaption { display: grid; gap: .1rem; margin-top: .4rem; font-size: .8rem; }
.pstat { font-size: .74rem; font-weight: 700; color: var(--ink-3); }
.pstat--approved { color: #157A4B; } .pstat--rejected { color: var(--pomegranate); }
.card-locked > p .glyph { width: 14px; height: 14px; vertical-align: -2px; }

/* Share kit */
.banners { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1rem 0; }
@media (min-width: 760px) { .banners { grid-template-columns: 1fr .75fr 1.3fr; align-items: end; } }
.banner { margin: 0; background: var(--porcelain); border: 1px solid var(--line); border-radius: 18px; padding: .7rem; }
.banner img { width: 100%; border-radius: 12px; }
.banner figcaption { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .6rem; flex-wrap: wrap; }
.banner figcaption > span:first-child { display: grid; font-size: .85rem; }
.share-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin: .8rem 0 1.2rem; }
@media (min-width: 640px) { .share-grid { grid-template-columns: repeat(4, 1fr); } }
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; border-radius: 14px; border: 0; color: #fff; text-decoration: none; font: 700 .9rem var(--font-body); cursor: pointer; }
.share-btn:hover { color: #fff; filter: brightness(1.08); }
.share-btn .glyph { width: 18px; height: 18px; }
.share-btn--wa { background: #25D366; } .share-btn--tg { background: #229ED9; } .share-btn--fb { background: #1877F2; } .share-btn--x { background: #111; }
.share-btn--in { background: #0A66C2; } .share-btn--mail { background: #5B3BC4; } .share-btn--copy { background: var(--lapis); }
.ig-tip { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 16px; background: linear-gradient(135deg, rgba(245, 133, 41, .1), rgba(129, 52, 175, .1)); margin-bottom: 1rem; }
.ig-tip p { margin: .2rem 0 0; }
.caption-box { display: grid; gap: .4rem; }
.caption-box > span { font-weight: 700; font-size: .88rem; }
.caption-box textarea { margin: 0; }
.caption-box .btn { justify-self: start; }
.file-drop { display: flex; gap: .8rem; align-items: center; padding: .9rem 1rem; border: 1.5px dashed var(--line); border-radius: 16px; cursor: pointer; position: relative; }
.file-drop:hover { border-color: var(--lapis); }
.file-drop > .glyph { width: 24px; height: 24px; color: var(--lapis); flex: none; }
.file-drop > span { display: grid; }
.file-drop small { color: var(--ink-3); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.how-export ul { margin: .5rem 0 0; padding-inline-start: 1.2rem; display: grid; gap: .3rem; }

/* ---- Compact, modern components: applicant area, sign-in pages, admin ---------------- */
.area-account .panel, .area-auth .panel, .admin .panel { border-radius: 18px; padding: 1.1rem 1.25rem; }
@media (min-width: 760px) { .area-account .panel, .admin .panel { padding: 1.3rem 1.5rem; } }
.area-account .panel + .panel, .area-account .panel + section, .area-account section + .panel { margin-top: 1rem; }
.area-account .panel h1, .admin .panel h1 { font-size: 1.5rem; margin: 0 0 .4rem; line-height: 1.25; }
.area-account .panel h2, .admin .panel h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
.area-account .panel h3, .admin .panel h3 { font-size: 1.02rem; }
.area-account .panel__head, .admin .panel__head { margin-bottom: .8rem; }
.area-account label, .area-auth label, .admin label { font-size: .88rem; font-weight: 600; }
.area-account input[type=text], .area-account input[type=email], .area-account input[type=password], .area-account input[type=tel], .area-account input[type=date], .area-account input[type=number], .area-account input[type=url], .area-account select, .area-account textarea,
.area-auth input[type=text], .area-auth input[type=email], .area-auth input[type=password], .area-auth input[type=tel], .area-auth input[type=date], .area-auth select,
.admin input[type=text], .admin input[type=email], .admin input[type=password], .admin input[type=number], .admin input[type=url], .admin input[type=date], .admin input[type=datetime-local], .admin select, .admin textarea {
  min-height: 44px; padding: .55rem .8rem; border-radius: 12px; font-size: .95rem; font-weight: 400; margin-top: .3rem;
}
.area-account textarea, .admin textarea { min-height: 96px; line-height: 1.6; }
.area-account fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem 1.1rem; margin: 0 0 1rem; }
.area-account legend { padding: 0 .5rem; font-weight: 800; font-size: .95rem; color: var(--lapis); }
.area-account .form, .area-auth .form { display: grid; gap: .9rem; }
.area-account .btn, .area-auth .btn, .admin .btn { min-height: 42px; border-radius: 12px; font-size: .92rem; padding: .5rem 1rem; }
.area-account .btn--sm, .admin .btn--sm { min-height: 34px; padding: .3rem .7rem; font-size: .84rem; border-radius: 10px; }
.area-account .btn--lg { min-height: 50px; }
.theme-golestan.area-account .btn, .theme-golestan.admin .btn, .theme-golestan.area-auth .btn { border-radius: 999px; }
.area-account .status-hero h1 { font-size: 1.55rem; }
.area-account .track { margin-top: 1rem; }
.area-account .steps { gap: .5rem; }
.area-account .step { padding: .75rem .9rem; border-radius: 14px; }
.area-account .step__dot { width: 32px; height: 32px; font-size: .9rem; }
.area-account .step__text strong { font-size: .95rem; }
.area-account .step__text span { font-size: .84rem; }
.area-account .acc { gap: 1.4rem; padding-block: 1.4rem 2.4rem; }
@media (min-width: 961px) { .area-account .acc { grid-template-columns: 236px minmax(0, 1fr); } }
.area-account .acc-nav a, .area-account .acc-logout { padding: .5rem .6rem; font-size: .9rem; border-radius: 12px; min-height: 42px; }
.area-account .acc-nav .ico--side { width: 28px; height: 28px; }
.admin .kpi { padding: .9rem 1rem; border-radius: 16px; }
.admin .kpi b { font-size: 1.5rem; }
.admin .table th, .admin .table td { padding: .6rem .75rem; font-size: .9rem; }
.admin .table th { font-size: .8rem; font-weight: 700; }
.admin .topbar { min-height: 60px; gap: .6rem; }
.admin .topbar h1 { font-size: 1.15rem; }
.admin .sidebar a.side-link { padding: .42rem .55rem; font-size: .9rem; }
.admin .side-group { padding-top: .9rem; }
.area-auth .auth .panel h1 { font-size: 1.7rem; }

/* Applicant area on phones: bottom tab bar + slide-up menu */
.acc-tabbar { display: none; }
@media (max-width: 960px) {
  .area-account .acc-nav { display: none; }
  .area-account .acc-nav.is-sheet { display: flex; flex-direction: column; position: fixed; z-index: 75; inset: auto 0 0; max-height: 75vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: .9rem .8rem calc(80px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 50px rgba(10, 15, 40, .35); background: var(--surface); }
  body.has-sheet::after { content: ""; position: fixed; inset: 0; background: rgba(10, 15, 40, .45); z-index: 74; }
  .acc-tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; z-index: 76; inset: auto 0 0; padding: .35rem .4rem calc(.35rem + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(10, 15, 40, .4); }
  .acc-tabbar a, .acc-tabbar button { position: relative; display: grid; justify-items: center; gap: .15rem; padding: .35rem .2rem; border: 0; background: none; color: var(--ink-3); text-decoration: none; font: 600 .7rem/1.1 var(--font-body); border-radius: 12px; cursor: pointer; }
  .acc-tabbar .glyph { width: 22px; height: 22px; }
  .acc-tabbar a[aria-current="page"], .acc-tabbar button[aria-expanded="true"] { color: var(--lapis); background: var(--lapis-soft); }
  .acc-tabbar .dot { position: absolute; top: 4px; inset-inline-end: calc(50% - 16px); width: 9px; height: 9px; border-radius: 50%; background: var(--pomegranate); }
  .area-account .site-footer { padding-bottom: 80px; }
  .area-account .wa { bottom: 84px !important; }
}

/* ---- Mobile polish for public pages ----------------------------------------------- */
@media (max-width: 700px) {
  .container { padding-inline: 16px; }
  .page-head h1, .page-head--wide h1 { font-size: 1.9rem; }
  .gallery { gap: .8rem; }
  .person img, .person .ph { border-radius: 16px; }
  .person strong { font-size: .95rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .3rem; }
  .filters a { white-space: nowrap; }
  .btn--lg { width: 100%; justify-content: center; }
  .s-hero__cta .btn, .g-hero__cta .btn { flex: 1 1 100%; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  .pro-name { font-size: 2.2rem; }
  .pro-gallery__main { border-radius: 20px; }
  .vote-card.is-open { position: sticky; bottom: 12px; z-index: 20; }
  .prose.prose--wide { padding: 1.1rem; font-size: .98rem; }
}
.totop[hidden], .follow[hidden], [data-share-file][hidden] { display: none !important; }
.card-follow__tv { flex: none; align-self: flex-start; }

/* ---- v1.5.1 · WhatsApp chat button: round, logo, pulse (like the WordPress chat plugins) ---- */
.wa__fab { position: relative; width: 60px; height: 60px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; background: #25D366; box-shadow: 0 6px 18px rgba(18, 140, 70, .38), 0 2px 4px rgba(0, 0, 0, .12); animation: none; transition: transform .2s ease, background .2s ease; }
.wa__fab:hover { background: #1EBE5B; transform: scale(1.06); }
.wa__fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #25D366; }
.wa__fab .wa__logo { position: relative; z-index: 1; width: 32px; height: 32px; }
.wa__fab .wa__label { display: none; }
.wa__ring { position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .wa__ring { animation: wa-ring 2.4s cubic-bezier(.22, .61, .36, 1) infinite; }
  .wa__ring--2 { animation-delay: 1.2s; }
  .wa__fab[aria-expanded="true"] .wa__ring { animation: none; }
}
@keyframes wa-ring { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.75); opacity: 0; } }
.wa__tip { position: absolute; top: 50%; inset-inline-end: calc(100% + 12px); transform: translateY(-50%); white-space: nowrap; padding: .5rem .8rem; border-radius: 10px; background: #fff; color: #1d2b22; font: 600 .86rem/1.2 var(--font-body); box-shadow: 0 6px 20px rgba(0, 0, 0, .14); opacity: 0; visibility: hidden; transition: opacity .2s ease; pointer-events: none; }
.wa__tip::after { content: ""; position: absolute; top: 50%; inset-inline-start: 100%; margin-top: -6px; border: 6px solid transparent; border-inline-start-color: #fff; }
.wa--start .wa__tip { inset-inline-end: auto; inset-inline-start: calc(100% + 12px); }
.wa--start .wa__tip::after { inset-inline-start: auto; inset-inline-end: 100%; border-inline-start-color: transparent; border-inline-end-color: #fff; }
@media (hover: hover) { .wa__fab:hover .wa__tip { opacity: 1; visibility: visible; } }
.wa__fab[aria-expanded="true"] .wa__tip { display: none; }
@media (max-width: 640px) { .wa__fab { width: 56px; height: 56px; } .wa__fab .wa__logo { width: 30px; height: 30px; } }

/* ---- v1.5.1 · Header: sign-in / apply sit with the day-night and language tools ---- */
.site-header .nav .nav__auth { display: none; }
.hauth { display: flex; align-items: center; gap: .4rem; margin-inline-start: .35rem; padding-inline-start: .75rem; border-inline-start: 1px solid var(--line); }
.hauth__login { display: inline-flex; align-items: center; gap: .4rem; height: 40px; padding: 0 .85rem; border-radius: 12px; color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: border-color .15s, color .15s, background .15s; }
.hauth__login:hover { border-color: var(--line); background: var(--surface); color: var(--lapis); }
.hauth__login .glyph, .hauth__cta .glyph { width: 17px; height: 17px; }
.hauth__cta { height: 40px; min-height: 40px; padding: 0 1rem; gap: .4rem; white-space: nowrap; color: #fff; }
.htool--mode { color: var(--ink); }
[data-mode="dark"] .htool--mode { color: #F2D892; }
@media (max-width: 1180px) { .hauth__login span { display: none; } .hauth__login { width: 40px; padding: 0; justify-content: center; border-color: var(--line); background: var(--surface); } }
@media (max-width: 960px) {
  .hauth { display: none; }
  .site-header .nav.is-open .nav__auth { display: inline-flex; }
}

/* ---- v1.5.1 · Sign-in & sign-up cards (centered, social buttons, compact one-screen sign-up) ---- */
.auth-split__form { justify-content: center; }
@media (min-width: 980px) {
  .auth-split__form { min-height: calc(100vh - 70px); padding-block: 1.25rem; }
  .auth-split--wide { grid-template-columns: minmax(300px, .62fr) 1.38fr; }
  .theme-simorgh .auth-split--wide .auth-split__art .iwan { width: min(78%, 320px); }
}
.auth--card { display: grid; place-items: center; padding-block: 1.5rem 2.5rem; }
.auth-split__form .container.auth--card { max-width: 470px; padding-block: 0; }
.auth-split__form .container.auth--card.auth--wide { max-width: 860px; }
.auth--card:not(.auth-split__form *) .panel { max-width: 470px; }
.auth--card.auth--wide:not(.auth-split__form *) .panel { max-width: 860px; }
.area-auth .auth-split__form .auth .auth-card, .auth-card { padding: 1.6rem 1.5rem 1.4rem; }
@media (min-width: 640px) { .area-auth .auth-split__form .auth .auth-card, .auth-card { padding: 2rem 2.1rem 1.6rem; } }
.auth-card__head { text-align: center; margin-bottom: 1.2rem; }
.auth-card__mark { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; margin-bottom: .7rem; background: linear-gradient(145deg, #FFF7E3, #F5E3B6); box-shadow: inset 0 0 0 1px rgba(201, 150, 58, .45), 0 8px 20px -10px rgba(150, 100, 20, .55); }
.auth-card__mark img { width: 34px; height: 34px; }
.area-auth .auth .auth-card h1, .auth-card h1 { font-size: 1.75rem; margin: 0 0 .3rem; line-height: 1.2; }
.auth-card__head p { margin: 0; color: var(--ink-3); font-size: .95rem; }
.auth-card__head--row { display: flex; align-items: center; gap: .9rem; text-align: start; margin-bottom: 1rem; }
.auth-card__head--row .auth-card__mark { width: 50px; height: 50px; margin: 0; flex: none; border-radius: 15px; }
.auth-card__head--row .auth-card__mark img { width: 30px; height: 30px; }
.area-auth .auth .auth-card--reg h1, .auth-card--reg h1 { font-size: 1.5rem; margin: 0 0 .15rem; }
.auth-card__head--row p { font-size: .88rem; }
.auth-card__foot { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); text-align: center; display: grid; gap: .35rem; }
.auth-card__foot p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.auth-card__foot a, .reg-submit a { font-weight: 700; color: var(--lapis); text-decoration: none; }
.auth-card__foot a:hover, .reg-submit a:hover { text-decoration: underline; }

/* social buttons */
.sso { display: grid; gap: .6rem; }
.sso--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .sso--2 { grid-template-columns: 1fr; } }
.sso__btn { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px; padding: .5rem .9rem; border-radius: 12px; font: 700 .93rem/1.2 var(--font-body); text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; }
.sso__btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(10, 15, 40, .45); }
.sso__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sso__btn--google { background: #fff; color: #1F1F1F; border: 1px solid #D5D8E1; }
.sso__btn--google:hover { border-color: #AEB4C5; }
.sso__btn--facebook { background: #1877F2; color: #fff; border: 1px solid #1877F2; }
.sso__btn--facebook:hover { background: #0F66D9; }
/* 2.5 · One account: continue with the IPN TV account */
.sso__btn--ipn { width: 100%; background: linear-gradient(120deg, #E11D48, #7C3AED); color: #fff; border: 0; box-shadow: 0 10px 22px -14px rgba(124, 58, 237, .8); }
.sso__btn--ipn:hover { color: #fff; filter: brightness(1.06); }
.sso__ipn { display: inline-grid; place-items: center; min-width: 2.4rem; height: 1.55rem; padding: 0 .35rem; border-radius: 7px; background: rgba(255, 255, 255, .2); color: #fff; font: 800 .72rem/1 var(--font-body); letter-spacing: .06em; }
.sso-linked .sso__ipn { background: linear-gradient(120deg, #E11D48, #7C3AED); }
.sso__note { margin: .45rem 0 .8rem; font-size: .8rem; line-height: 1.55; color: var(--ink-3); text-align: center; }
.sso__logo { width: 20px; height: 20px; flex: none; }
.sso-or { display: flex; align-items: center; gap: .8rem; margin: 1.05rem 0 .9rem; color: var(--ink-3); font-size: .82rem; font-weight: 600; }
.sso-or::before, .sso-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sso-linked { display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem; margin-bottom: 1rem; border-radius: 14px; background: var(--firuzeh-soft); border: 1px solid #A9DCD9; }
.sso-linked > div { flex: 1; display: grid; min-width: 0; }
.sso-linked strong { font-size: .9rem; color: #0F5E5A; }
.sso-linked span { font-size: .84rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
.sso-linked form { margin: 0; }
.sso-linked__x { background: none; border: 0; color: var(--lapis); font: 700 .82rem/1.2 var(--font-body); cursor: pointer; text-decoration: underline; padding: .3rem; }

/* fields */
.auth-form { gap: .85rem; }
.fld { display: grid; gap: .3rem; margin: 0; min-width: 0; }
.fld__label { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.fld__row { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.fld__link { font-size: .82rem; font-weight: 600; color: var(--lapis); text-decoration: none; }
.fld__link:hover { text-decoration: underline; }
.fld__box { position: relative; display: block; }
.area-auth .fld input, .area-auth .fld select, .fld input, .fld select { margin-top: 0; width: 100%; }
.fld__ico { position: absolute; top: 50%; inset-inline-start: .85rem; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.area-auth .fld__box .fld__ico ~ input, .fld__box .fld__ico ~ input { padding-inline-start: 2.6rem; }
.area-auth .fld__box input[type=password], .area-auth .fld__box input[data-pw], .fld__box input[type=password] { padding-inline-end: 2.8rem; }
.fld__eye { position: absolute; top: 50%; inset-inline-end: .35rem; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--ink-3); cursor: pointer; padding: 0; }
.fld__eye:hover { color: var(--lapis); background: var(--porcelain); }
.fld__eye .glyph { width: 18px; height: 18px; }
.area-auth .fld input:focus, .area-auth .fld select:focus { border-color: var(--lapis); box-shadow: 0 0 0 3px rgba(61, 91, 217, .16); outline: none; }
.auth-form__submit { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px !important; font-size: 1rem !important; margin-top: .2rem; }
.auth-form__submit .glyph { width: 18px; height: 18px; }

/* two-option picker (gender, marital) */
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--porcelain); min-height: 44px; }
.pick label { position: relative; margin: 0; display: flex; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { flex: 1; display: grid; place-items: center; padding: .3rem .4rem; border-radius: 9px; font-size: .86rem; font-weight: 600; color: var(--ink-2); cursor: pointer; text-align: center; line-height: 1.15; transition: background .15s, color .15s; }
.pick span:hover { color: var(--lapis); }
.pick input:checked + span { background: var(--surface); color: var(--lapis); box-shadow: 0 1px 3px rgba(18, 28, 72, .18), inset 0 0 0 1px rgba(29, 44, 107, .25); font-weight: 800; }
.pick input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 1px; }

/* compact one-screen sign-up */
.reg-form { gap: .75rem; }
.reg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem .8rem; }

.area-auth .reg-grid input, .area-auth .reg-grid select { min-height: 42px; padding-block: .45rem; font-size: .93rem; }
.reg-grid .fld__label { font-size: .8rem; }
.reg-hint { display: flex; gap: .5rem; align-items: flex-start; margin: 0; padding: .55rem .75rem; border-radius: 12px; background: var(--lapis-soft); color: var(--ink-2); font-size: .8rem; line-height: 1.45; }
.reg-hint .glyph { width: 16px; height: 16px; flex: none; margin-top: .1rem; color: var(--lapis); }
.reg-consent { display: grid; gap: .4rem; }
.reg-consent .check { font-size: .8rem; font-weight: 500; line-height: 1.45; color: var(--ink-2); margin: 0; }
.reg-consent .check input { margin-top: .15rem; }
.reg-submit { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: .1rem; }
.reg-submit .btn { min-width: 220px; }
.reg-submit p { margin: 0; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 759px) { .reg-submit { flex-direction: column; align-items: stretch; text-align: center; } .reg-submit .btn { width: 100%; } }
.auth-card--reg .sso-or { margin: .8rem 0 .7rem; }
@media (max-width: 979px) { .auth-split__form { min-height: 0; } }

/* dark mode */
[data-mode="dark"] .sso__btn--google { background: #fff; color: #1F1F1F; border-color: #fff; }
[data-mode="dark"] .auth-card__mark { background: linear-gradient(145deg, #2A2B45, #1C1D33); box-shadow: inset 0 0 0 1px rgba(242, 216, 146, .35); }
[data-mode="dark"] .pick { background: rgba(255, 255, 255, .04); }
[data-mode="dark"] .pick input:checked + span { background: #2B3570; color: #fff; box-shadow: none; }
[data-mode="dark"] .reg-hint { background: rgba(108, 128, 234, .14); }
[data-mode="dark"] .reg-hint .glyph, [data-mode="dark"] .fld__link, [data-mode="dark"] .auth-card__foot a, [data-mode="dark"] .reg-submit a, [data-mode="dark"] .sso-linked__x { color: #9DAEFF; }
[data-mode="dark"] .sso-linked { background: rgba(31, 158, 152, .14); border-color: rgba(31, 158, 152, .4); }
[data-mode="dark"] .sso-linked strong { color: #7FD8D2; }
[data-mode="dark"] .fld__eye:hover { background: rgba(255, 255, 255, .06); }
.fld__eye-off { display: none; }
.fld__eye[aria-pressed="true"] .fld__eye-on { display: none; }
.fld__eye[aria-pressed="true"] .fld__eye-off { display: block; }
.form label.fld, .form .fld, .reg-consent label.check { margin-block-end: 0; }
.auth-form .check { margin-block-end: 0; }
.reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reg-grid > .m-full { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .reg-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .reg-grid > .c2 { grid-column: span 4; }
  .reg-grid > .c3 { grid-column: span 6; }
  .reg-grid > .c4 { grid-column: span 8; }
}
.pick { min-height: 42px; }
.auth-card--reg .auth-card__head { margin-bottom: .85rem; }
.sso:not(.sso--2) .sso__btn { min-height: 46px; }
/* short laptop screens: keep the whole sign-up form visible */
@media (min-width: 980px) and (max-height: 860px) {
  .auth-split__form { padding-block: .6rem; }
  .area-auth .auth-split__form .auth .auth-card--reg { padding: 1.1rem 1.6rem 1rem; }
  .auth-card--reg .auth-card__head { margin-bottom: .6rem; }
  .auth-card--reg .auth-card__mark { width: 40px; height: 40px; border-radius: 12px; }
  .auth-card--reg .auth-card__mark img { width: 24px; height: 24px; }
  .area-auth .auth .auth-card--reg h1 { font-size: 1.3rem; }
  .auth-card--reg .sso__btn { min-height: 40px; }
  .auth-card--reg .sso-or { margin: .55rem 0 .5rem; }
  .reg-form { gap: .55rem; }
  .reg-grid { gap: .5rem .7rem; }
  .area-auth .reg-grid input, .area-auth .reg-grid select { min-height: 38px; padding-block: .3rem; }
  .reg-grid .pick { min-height: 38px; }
  .reg-hint { padding: .4rem .65rem; }
  .reg-consent .check { font-size: .77rem; line-height: 1.35; }
  .reg-submit .auth-form__submit { min-height: 42px !important; }
}
body.area-auth { display: flex; flex-direction: column; min-height: 100vh; }
body.area-auth > .auth-split { flex: 1 0 auto; min-height: 0; }
@media (min-width: 980px) {
  body.area-auth .auth-split__form { min-height: 0; }
  body.area-auth .auth-split__art { height: auto; max-height: calc(100vh - 70px); }
}
@media (min-width: 980px) and (max-height: 860px) {
  .auth-card--reg .reg-hint { display: none; }
  .auth-card--reg .auth-card__head--row p { font-size: .8rem; }
}
@media (min-width: 980px) and (max-height: 860px) { .auth-split__form .auth--card { padding-block: .3rem; } }
/* email / password boxes stay left-to-right in Persian too, so the icons line up with the text */
.fld__box { direction: ltr; }
.fld__box input::placeholder { direction: inherit; }
.reg-submit { justify-content: flex-start; gap: 1.25rem; }
.auth-card a.sso__btn--facebook, .auth-card a.sso__btn--facebook:hover { color: #fff; text-decoration: none; }
.auth-card a.sso__btn--google, .auth-card a.sso__btn--google:hover { color: #1F1F1F; text-decoration: none; }
.form .fld__row label, .fld__row .fld__label { margin: 0; }


/* ---- 1.6 · Sign-up: clearly boxed choices + password strength --------------- */
fieldset.opts-fld { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.opts-fld > legend { padding: 0; margin-bottom: .3rem; float: none; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.opt { position: relative; margin: 0 !important; display: flex; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt__box { flex: 1; display: flex; align-items: center; gap: .6rem; min-height: 52px; padding: .45rem .7rem; border: 1.5px solid #CDD2E2; border-radius: 12px; background: var(--surface); cursor: pointer;
  box-shadow: 0 1px 2px rgba(18, 28, 72, .05); transition: border-color .2s ease, background-color .2s ease, box-shadow .25s ease, transform .2s var(--ease-spring, ease); }
.opt__box:hover { border-color: var(--lapis); box-shadow: 0 4px 14px -8px rgba(18, 28, 72, .35); }
.opt:active .opt__box { transform: scale(.98); }
.opt__ico { width: 22px; height: 22px; flex: none; color: var(--ink-3); transition: color .2s ease, transform .35s var(--ease-spring, ease); }
.opt__txt { flex: 1; display: grid; min-width: 0; line-height: 1.2; }
.opt__txt b { font-size: .9rem; font-weight: 700; color: var(--ink); }
.opt__txt small { font-size: .74rem; color: var(--ink-3); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opt__dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid #AEB4C8; display: grid; place-items: center; transition: border-color .2s ease; }
.opt__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lapis); transform: scale(0); transition: transform .35s var(--ease-spring, ease); }
.opt input:checked + .opt__box { border-color: var(--lapis); background: var(--lapis-soft); box-shadow: 0 0 0 3px rgba(29, 44, 107, .1); }
.opt input:checked + .opt__box .opt__ico { color: var(--lapis); transform: scale(1.1); }
.opt input:checked + .opt__box .opt__dot { border-color: var(--lapis); }
.opt input:checked + .opt__box .opt__dot::after { transform: scale(1); }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--focus); outline-offset: 2px; }
[data-mode="dark"] .opt__box { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .03); }
[data-mode="dark"] .opt input:checked + .opt__box { background: rgba(108, 128, 234, .16); border-color: #6C80EA; }
[data-mode="dark"] .opt input:checked + .opt__box .opt__ico, [data-mode="dark"] .opt__txt b { color: #E8EBF6; }
[data-mode="dark"] .opt__dot::after { background: #9DAEFF; }

.pwm { display: flex; align-items: center; gap: .55rem; margin-top: .4rem; min-height: 16px; }
.pwm__bar { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; max-width: 200px; }
.pwm__bar i { height: 5px; border-radius: 3px; background: #E2E5EE; position: relative; overflow: hidden; }
.pwm__bar i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--pw-c, #C9CEDE); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out, ease), background-color .3s ease; }
[dir="rtl"] .pwm__bar i::after { transform-origin: right; }
.pwm[data-level="1"] { --pw-c: #D23B55; } .pwm[data-level="2"] { --pw-c: #E39B2B; } .pwm[data-level="3"] { --pw-c: #3E9E6A; } .pwm[data-level="4"] { --pw-c: #1F8A5B; }
.pwm[data-level="1"] i:nth-child(-n+1)::after, .pwm[data-level="2"] i:nth-child(-n+2)::after, .pwm[data-level="3"] i:nth-child(-n+3)::after, .pwm[data-level="4"] i::after { transform: scaleX(1); }
.pwm__bar i:nth-child(2)::after { transition-delay: .04s; } .pwm__bar i:nth-child(3)::after { transition-delay: .08s; } .pwm__bar i:nth-child(4)::after { transition-delay: .12s; }
.pwm__txt { font-size: .74rem; font-weight: 700; color: var(--ink-3); white-space: nowrap; transition: color .3s ease; }
.pwm:not([data-level="0"]) .pwm__txt { color: var(--pw-c); }
[data-mode="dark"] .pwm__bar i { background: rgba(255, 255, 255, .1); }
input.is-match { border-color: #3E9E6A !important; box-shadow: 0 0 0 3px rgba(62, 158, 106, .15) !important; }
input.is-mismatch { border-color: #D23B55 !important; }
.reg-grid .opts .opt__box { min-height: 48px; }
@media (min-width: 980px) and (max-height: 860px) { .reg-grid .opts .opt__box { min-height: 42px; padding-block: .3rem; } .pwm { margin-top: .25rem; } }
.form .fld > label.fld__label { margin: 0; }
.opt__txt small { white-space: normal; line-height: 1.25; }
.reg-hint { padding-block: .45rem; }
@media (min-width: 980px) and (max-height: 940px) {
  .auth-split__form { padding-block: .6rem; }
  .area-auth .auth-split__form .auth .auth-card--reg { padding: 1.1rem 1.6rem 1rem; }
  .auth-split__form .auth--card { padding-block: .3rem; }
  .auth-card--reg .auth-card__head { margin-bottom: .6rem; }
  .auth-card--reg .auth-card__mark { width: 40px; height: 40px; border-radius: 12px; }
  .auth-card--reg .auth-card__mark img { width: 24px; height: 24px; }
  .area-auth .auth .auth-card--reg h1 { font-size: 1.3rem; }
  .auth-card--reg .auth-card__head--row p { font-size: .8rem; }
  .auth-card--reg .sso__btn { min-height: 40px; }
  .auth-card--reg .sso-or { margin: .55rem 0 .5rem; }
  .reg-form { gap: .55rem; }
  .reg-grid { gap: .5rem .7rem; }
  .area-auth .reg-grid input, .area-auth .reg-grid select { min-height: 38px; padding-block: .3rem; }
  .reg-grid .opts .opt__box { min-height: 44px; padding-block: .3rem; }
  .reg-consent .check { font-size: .77rem; line-height: 1.35; }
  .reg-submit .auth-form__submit { min-height: 42px !important; }
  .auth-card--reg .reg-hint { display: flex; padding-block: .35rem; }
}
@media (min-width: 980px) and (max-height: 800px) { .auth-card--reg .reg-hint { display: none; } .auth-card--reg .auth-card__head--row p { display: none; } }
@media (min-width: 980px) and (max-height: 800px) { .reg-grid .opts .opt__box { min-height: 40px; } .reg-consent .check { font-size: .74rem; } }

/* ---- 1.6 · Contestant page: cover hero, section tabs, glance grid, sticky support column ---- */
.btn--wa { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: #25D366; border-color: #25D366; color: #fff !important; font-weight: 700; }
.btn--wa:hover { background: #1EBE5B; border-color: #1EBE5B; color: #fff; }
.btn--wa .glyph { width: 20px; height: 20px; }
.pro2-hero { position: relative; overflow: hidden; color: #F6F1E4; background: radial-gradient(1200px 500px at 15% 0%, rgba(227, 165, 43, .18), transparent 60%), linear-gradient(160deg, #0B1438, #15245E 55%, #2A1747); padding: 1rem 0 2.6rem; }
.pro2-hero::before { content: ""; position: absolute; inset: 0; background: url("/shayesteh/assets/img/simorgh/tile.svg") 0 0 / 84px; opacity: .14; pointer-events: none; }
.pro2-hero > .container { position: relative; }
.pro2-crumbs, .pro2-crumbs a { color: rgba(246, 241, 228, .75); }
.pro2-crumbs a:hover { color: #F2D892; }
.pro2-hero__grid { display: grid; gap: 1.6rem; align-items: center; margin-top: .8rem; }
@media (min-width: 900px) { .pro2-hero__grid { grid-template-columns: minmax(280px, 400px) 1fr; gap: 3rem; } }
.pro2-portrait { position: relative; margin: 0 auto; width: min(100%, 400px); aspect-ratio: 4 / 5; padding: 8px; border-radius: 50% 50% 22px 22px / 34% 34% 22px 22px; background: linear-gradient(160deg, #F2D892, #B9811A 55%, #F2D892); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.pro2-portrait > a, .pro2-portrait__empty { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; background: #1B2A78; }
.pro2-portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out, ease); }
.pro2-portrait:hover img { transform: scale(1.04); }
.pro2-portrait__empty { display: grid; place-items: center; color: rgba(255, 255, 255, .4); }
.pro2-portrait__empty .glyph { width: 80px; height: 80px; }
.pro2-portrait .pro-crown { position: absolute; top: auto; bottom: 18px; inset-inline-start: 50%; transform: translateX(-50%); }
[dir="rtl"] .pro2-portrait .pro-crown { transform: translateX(50%); }
.pro2-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.pro2-cat, .pro2-stage { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.pro2-cat { background: rgba(242, 216, 146, .16); color: #F2D892; box-shadow: inset 0 0 0 1px rgba(242, 216, 146, .4); }
.pro2-stage { background: rgba(255, 255, 255, .1); color: #fff; }
.pro2-cat .glyph, .pro2-stage .glyph { width: 15px; height: 15px; }
.pro2-name { margin: .6rem 0 .9rem; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; color: #fff; }
.pro2-stats { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.pro2-stats li { min-width: 108px; padding: .65rem .9rem; border-radius: 14px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); display: grid; gap: .1rem; }
.pro2-stats b { font-size: 1.15rem; color: #fff; line-height: 1.2; }
.pro2-stats span { font-size: .75rem; color: rgba(246, 241, 228, .65); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
[dir="rtl"] .pro2-stats span { text-transform: none; letter-spacing: 0; }
.pro2-quote { margin: 0 0 1.2rem; padding: .2rem 1rem; border-inline-start: 3px solid #E3A52B; font-style: italic; font-size: 1.05rem; color: rgba(246, 241, 228, .9); max-width: 46ch; }
.pro2-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.pro2-actions .btn { min-height: 50px; padding-inline: 1.3rem; }
.pro2-social { display: flex; align-items: center; gap: .45rem; margin-top: 1.1rem; }
.pro2-social span { font-size: .8rem; color: rgba(246, 241, 228, .65); margin-inline-end: .2rem; }
.pro2-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); transition: background .2s, transform .2s; }
.pro2-social a:hover { background: rgba(242, 216, 146, .2); transform: translateY(-2px); }
.pro2-social .glyph { width: 18px; height: 18px; }

.pro2-tabs { position: sticky; top: 68px; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px -16px rgba(10, 15, 40, .35); }
.theme-golestan .pro2-tabs { background: rgba(255, 252, 245, .92); backdrop-filter: blur(10px); }
.pro2-tabs__in { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.pro2-tabs__in a { padding: .85rem .9rem; font-weight: 700; font-size: .92rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; border-radius: 10px; }
.pro2-tabs__in a:hover, .pro2-tabs__in a.is-on { color: var(--lapis); }
.pro2-body { display: grid; gap: 1.2rem; padding-block: 1.6rem 2.4rem; align-items: start; }
@media (min-width: 980px) { .pro2-body { grid-template-columns: minmax(0, 1fr) 360px; gap: 1.6rem; } .pro2-side { position: sticky; top: 130px; } }
.pro2-main, .pro2-side { display: grid; gap: 1.1rem; min-width: 0; }
.pro2-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.3rem; box-shadow: 0 1px 2px rgba(18, 28, 72, .05); scroll-margin-top: 130px; }
.pro2-card h2 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .85rem; font-size: 1.12rem; }
.pro2-card p { margin: 0; line-height: 1.8; color: var(--ink-2); }
.pro2-glance { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; margin: 0; }
.pro2-glance > div { padding: .7rem .8rem; border-radius: 14px; background: var(--porcelain); }
.pro2-glance dt { display: flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 700; color: var(--ink-3); margin-bottom: .2rem; }
.pro2-glance dt .glyph { width: 14px; height: 14px; color: var(--saffron-deep); }
.pro2-glance dd { margin: 0; font-weight: 700; color: var(--ink); font-size: .95rem; }
.pro2-secs { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .pro2-secs { grid-template-columns: 1fr 1fr; } .pro2-sec--wide { grid-column: 1 / -1; } }
.pro2-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.pro2-photo { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--lapis-soft); }
.pro2-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out, ease); }
.pro2-photo:hover img { transform: scale(1.05); }
.pro2-photo span { position: absolute; inset: auto 0 0; padding: 1.4rem .6rem .5rem; font-size: .75rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.pro2-side .vote-card { margin: 0; position: static; scroll-margin-top: 130px; }
.pro2-support__img { display: block; width: 100%; border-radius: 14px; margin-bottom: .7rem; box-shadow: 0 16px 30px -20px rgba(10, 15, 40, .6); }
.pro2-support .small { margin-bottom: .7rem; }
.pro2-more { margin-top: .7rem; }
.pro2-more > summary { cursor: pointer; font-size: .86rem; font-weight: 700; color: var(--lapis); list-style: none; padding: .3rem 0; }
.pro2-more > summary::-webkit-details-marker { display: none; }
.pro2-more .share { margin-top: .5rem; }
.pro2-more .share__title { display: none; }
.pro2 .pro-others { padding-bottom: 2.5rem; }
@media (max-width: 899px) {
  .pro2-hero { padding-bottom: 1.8rem; text-align: center; }
  .pro2-portrait { width: min(78%, 320px); }
  .pro2-tags, .pro2-stats, .pro2-actions, .pro2-social { justify-content: center; }
  .pro2-quote { margin-inline: auto; border-inline-start: 0; border-top: 2px solid #E3A52B; padding-top: .6rem; }
  .pro2-actions .btn { flex: 1 1 160px; }
  .pro2-stats li { min-width: 0; flex: 1 1 90px; }
}
[data-mode="dark"] .pro2-card { background: #161B36; border-color: #262D52; }
[data-mode="dark"] .pro2-glance > div { background: rgba(255, 255, 255, .04); }
[data-mode="dark"] .pro2-glance dd { color: #E8EBF6; }
[data-mode="dark"] .pro2-tabs, [data-mode="dark"] .theme-golestan .pro2-tabs { background: rgba(14, 18, 38, .92); border-color: #232A4C; }
[data-mode="dark"] .pro2-tabs__in a { color: #B9C0DC; }
[data-mode="dark"] .pro2-tabs__in a:hover, [data-mode="dark"] .pro2-tabs__in a.is-on { color: #F2D892; }
[data-mode="dark"] .pro2-more > summary { color: #9DAEFF; }
.pro2-hero h1.pro2-name, .theme-golestan .pro2-hero h1.pro2-name, html[data-mode] .pro2-hero h1.pro2-name { color: #FFFFFF; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
html[data-mode="dark"] .btn--wa, html[data-mode="dark"] .btn.btn--wa { background: #25D366; border-color: #25D366; color: #fff; }
html[data-mode="dark"] .btn--wa:hover { background: #1EBE5B; }
@media (max-width: 599px) { .pro2-glance { grid-template-columns: 1fr 1fr; } .pro2-card { padding: 1rem; } .pro2-photos { gap: .4rem; } }
.wa-cta { display: flex; align-items: center; gap: .9rem; margin: 1rem 0 .4rem; padding: .9rem 1rem; border-radius: 16px; background: linear-gradient(135deg, rgba(37, 211, 102, .12), rgba(37, 211, 102, .04)); border: 1px solid rgba(37, 211, 102, .35); }
.wa-cta__logo { width: 34px; height: 34px; color: #25D366; flex: none; }
.wa-cta > div { flex: 1; display: grid; gap: .15rem; min-width: 0; }
.wa-cta strong { font-size: 1rem; }
@media (max-width: 560px) { .wa-cta { flex-wrap: wrap; } .wa-cta .btn { width: 100%; } }

/* ---- 1.7 · Account layout: sidebar aligned with the first card, stays in view, never runs into the footer ---- */
@media (min-width: 961px) {
  .area-account .acc { align-items: start; }
  .area-account .acc-nav { position: sticky; top: 84px; align-self: start; margin: 0; max-height: calc(100vh - 100px); overflow-y: auto; gap: 2px; }
  .area-account .acc-nav a, .area-account .acc-logout { min-height: 38px; padding: .4rem .55rem; font-size: .88rem; }
  .area-account .acc-nav .ico--side { width: 26px; height: 26px; }
}

/* ---- 1.7 · Header: main menu sits beside the logo, tools & account on the opposite side ---- */
@media (min-width: 961px) {
  .site-header .nav { flex: 1; justify-content: flex-start; margin-inline-start: 1.4rem; }
  .site-header .htools { margin-inline-start: auto; }
}

/* ---- 1.7 · Buttons: one refined, compact system for every page and theme ---- */
.btn, .theme-golestan .btn, .theme-simorgh .btn, .area-account .btn, .area-auth .btn, .admin .btn,
.theme-golestan.area-account .btn, .theme-golestan.admin .btn, .theme-golestan.area-auth .btn {
  min-height: 40px; padding: .45rem 1rem; gap: .45rem; border-radius: 11px; font: 650 .9rem/1.2 var(--font-body); letter-spacing: .005em; border-width: 1px; border-style: solid;
}
/* colours stay at single-class weight so every variant (.btn--gold, --primary, --ghost…) wins over them */
.btn { background: var(--surface); color: var(--ink); border-color: #D6DAE6; box-shadow: 0 1px 2px rgba(16, 24, 64, .06), inset 0 -1px 0 rgba(16, 24, 64, .04); }
.btn:hover { border-color: #AEB6D0; background: #FAFBFE; color: var(--lapis); box-shadow: 0 4px 12px -6px rgba(16, 24, 64, .25); }
.btn:focus-visible { outline: 3px solid rgba(61, 91, 217, .35); outline-offset: 2px; }
.btn .glyph { width: 17px; height: 17px; }
.btn--sm, .theme-golestan .btn--sm, .area-account .btn--sm, .admin .btn--sm, .theme-golestan.area-account .btn--sm, .theme-golestan.admin .btn--sm { min-height: 32px; padding: .28rem .7rem; font-size: .82rem; border-radius: 9px; }
.btn--sm .glyph { width: 15px; height: 15px; }
.btn--lg, .theme-golestan .btn--lg, .area-account .btn--lg { min-height: 46px; padding: .6rem 1.3rem; font-size: .97rem; border-radius: 13px; }
.btn--primary, .theme-golestan .btn--primary, .theme-simorgh .btn--primary {
  background: linear-gradient(180deg, #2B3B90, #1A2869); color: #fff; border-color: #15205A;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 1px 2px rgba(16, 24, 64, .25), 0 6px 14px -8px rgba(27, 42, 110, .7);
}
.btn--primary:hover, .theme-golestan .btn--primary:hover, .theme-simorgh .btn--primary:hover { background: linear-gradient(180deg, #3446A3, #1F2E78); color: #fff; border-color: #15205A; }
.btn--gold, .theme-golestan .btn--gold, .theme-simorgh .btn--gold {
  background: linear-gradient(180deg, #F6DE9C, #E2B65A 58%, #CB9C3F); color: #2B1B05; border-color: #B88D35;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 1px 2px rgba(120, 80, 10, .25), 0 6px 14px -8px rgba(185, 129, 26, .8);
}
.btn--gold:hover, .theme-golestan .btn--gold:hover, .theme-simorgh .btn--gold:hover { background: linear-gradient(180deg, #F9E6B2, #E8C06A 58%, #D2A54A); color: #2B1B05; border-color: #B88D35; }
.btn--ok, .theme-golestan .btn--ok { background: linear-gradient(180deg, #2BB3A9, #17807B); color: #fff; border-color: #146F6A; }
.btn--ok:hover, .theme-golestan .btn--ok:hover { background: linear-gradient(180deg, #33C2B7, #1A8C86); color: #fff; }
.btn--danger, .theme-golestan .btn--danger { background: var(--surface); color: var(--pomegranate); border-color: #EBC0CB; }
.btn--danger:hover, .theme-golestan .btn--danger:hover { background: var(--pomegranate); color: #fff; border-color: var(--pomegranate); }
.btn--ghost, .theme-golestan .btn--ghost, .area-account .btn--ghost { background: transparent; border-color: transparent; box-shadow: none; }
.btn--ghost:hover { background: rgba(29, 44, 107, .06); border-color: transparent; box-shadow: none; }
.theme-simorgh .btn--ivory, .theme-golestan .btn--glass { border-radius: 11px; }
.btn--wa, .theme-golestan .btn--wa, .theme-simorgh .btn--wa { background: linear-gradient(180deg, #2EDB72, #1FB956); color: #fff; border-color: #1AA34B; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 14px -8px rgba(31, 185, 86, .8); }
.btn--wa:hover, .theme-golestan .btn--wa:hover, .theme-simorgh .btn--wa:hover { background: linear-gradient(180deg, #3CE27E, #22C25D); color: #fff; border-color: #1AA34B; }
.auth-form__submit { min-height: 44px !important; font-size: .95rem !important; }
.site-header .nav .nav-cta, .hauth__cta { border-radius: 11px; }
html[data-mode="dark"] .btn:not(.btn--primary):not(.btn--gold):not(.btn--ok):not(.btn--wa):not(.btn--danger):not(.btn--ghost):not(.btn--ivory):not(.btn--glass) { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: #E8EBF6; box-shadow: none; }
html[data-mode="dark"] .btn:not(.btn--primary):not(.btn--gold):not(.btn--ok):not(.btn--wa):not(.btn--danger):not(.btn--ghost):hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
html[data-mode="dark"] .btn--primary { background: linear-gradient(180deg, #5468D6, #3A4DB8); border-color: #3245A6; }

/* ---- 1.7 · Support kit: network tabs, banners, animated video ---- */
.kit { display: grid; gap: 1rem; }
.kit-tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: .25rem; margin: -.25rem; }
.kit-tabs::-webkit-scrollbar { display: none; }
.kit-tab { --net: var(--lapis); flex: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .35rem .8rem .35rem .45rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 700 .86rem/1 var(--font-body); cursor: pointer; transition: border-color .2s, color .2s, background .2s, box-shadow .25s, transform .2s var(--ease-spring, ease); }
[dir="rtl"] .kit-tab { padding: .35rem .45rem .35rem .8rem; }
.kit-tab__ico { width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: color-mix(in srgb, var(--net) 12%, transparent); color: var(--net); flex: none; transition: background .2s, color .2s, transform .35s var(--ease-spring, ease); }
.kit-tab:hover { border-color: color-mix(in srgb, var(--net) 50%, var(--line)); color: var(--ink); }
.kit-tab:hover .kit-tab__ico { transform: scale(1.08) rotate(-6deg); }
.kit-tab[aria-selected="true"] { border-color: var(--net); color: var(--ink); background: color-mix(in srgb, var(--net) 7%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--net) 16%, transparent); }
.kit-tab[aria-selected="true"] .kit-tab__ico { background: var(--net); color: #fff; }
.kit-tab:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.kit-tab--video .kit-tab__ico { background: linear-gradient(135deg, #F6DE9C, #C99A3C); color: #2B1B05; }
@keyframes kit-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.kit-panel.is-in { animation: kit-in .4s var(--ease-out, ease); }
.kit-tip { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 .9rem; padding: .65rem .8rem; border-radius: 12px; background: color-mix(in srgb, var(--net, var(--lapis)) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--net, var(--lapis)) 22%, transparent); font-size: .86rem; color: var(--ink-2); line-height: 1.55; }
.kit-tip .glyph { width: 18px; height: 18px; flex: none; color: var(--net, var(--lapis)); margin-top: .1rem; }
.kit-banners { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: end; }
.kit-banner { margin: 0; display: grid; gap: .55rem; }
.kit-banner__frame { position: relative; overflow: hidden; border-radius: 14px; background: #101a4a; box-shadow: 0 18px 34px -22px rgba(10, 15, 40, .7), 0 0 0 1px rgba(10, 15, 40, .08); transform: perspective(900px) rotateX(0); transition: transform .5s var(--ease-out, ease), box-shadow .5s; }
.kit-banner__frame img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
.kit-banner:hover .kit-banner__frame { transform: perspective(900px) rotateX(3deg) translateY(-3px); box-shadow: 0 26px 40px -22px rgba(10, 15, 40, .8); }
.kit-banner__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .kit-panel.is-in .kit-banner__shine, .kit-banner:hover .kit-banner__shine { animation: kit-shine 1.4s var(--ease-out, ease) .2s; } }
@keyframes kit-shine { to { transform: translateX(120%); } }
.kit-banner--story .kit-banner__frame { max-width: 260px; margin-inline: auto; width: 100%; }
.kit-banners--1 .kit-banner--story .kit-banner__frame { max-width: 240px; }
.kit-banner figcaption { display: grid; gap: .5rem; }
.kit-banner__meta { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.kit-banner__meta strong { font-size: .86rem; }
.kit-banner__meta small { color: var(--ink-3); font-size: .74rem; }
.kit-banner__acts { display: flex; gap: .4rem; }
.kit-send { flex: 1; background: var(--net) !important; border-color: var(--net) !important; color: #fff !important; box-shadow: 0 6px 14px -8px var(--net) !important; }
.kit-send:hover { filter: brightness(1.08); }
.kit-send .glyph { width: 16px; height: 16px; }
.btn--icon, .theme-golestan .btn--icon { width: 32px; min-width: 32px; padding: 0 !important; justify-content: center; }
.kit-caption { margin-top: .9rem; display: grid; gap: .4rem; padding: .8rem .9rem; border-radius: 14px; border: 1px dashed var(--line); background: var(--porcelain); }
.kit-caption__label { font-size: .76rem; font-weight: 700; color: var(--ink-3); }
.kit-caption p { margin: 0; font-size: .88rem; line-height: 1.7; color: var(--ink); }
.kit-caption .btn { justify-self: start; }
.kit-video__stage { display: grid; place-items: center; padding: .8rem; border-radius: 16px; background: radial-gradient(circle at 50% 30%, #1C2A6E, #0B1236); }
.kit-video canvas { display: block; width: auto; height: min(62vh, 520px); max-width: 100%; border-radius: 12px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); }
.kit-video.is-square canvas { height: auto; width: min(100%, 440px); }
.kit-video__bar { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin-top: .8rem; }
.kit-video__fmt { display: inline-flex; gap: .3rem; padding: 3px; border-radius: 11px; background: var(--porcelain); border: 1px solid var(--line); }
.kit-chip { position: relative; margin: 0 !important; }
.kit-chip input { position: absolute; opacity: 0; pointer-events: none; }
.kit-chip span { display: block; padding: .35rem .75rem; border-radius: 8px; font-size: .82rem; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.kit-chip input:checked + span { background: var(--surface); color: var(--lapis); box-shadow: 0 1px 3px rgba(16, 24, 64, .18); }
.kit-chip input:focus-visible + span { outline: 2px solid var(--focus); }
.kit-video__out { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.kit-video__out[hidden] { display: none; }
.kit-video__status { flex: 1 1 100%; color: var(--ink-2); font-weight: 600; }
.kit-toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; max-width: min(92vw, 460px); padding: .75rem 1rem; border-radius: 14px; background: #121A45; color: #fff; font-size: .9rem; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: transform .35s var(--ease-spring, ease), opacity .25s; }
.kit-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
/* compact kit (contestant page sidebar) */
.kit--compact .kit-tabs { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; gap: .35rem; }
.kit--compact .kit-tab { padding: 0; width: 40px; justify-content: center; }
.kit--compact .kit-tab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kit--compact .kit-tab__ico { width: 30px; height: 30px; }
.kit--compact .kit-banners { grid-template-columns: 1fr; }
.kit--compact .kit-video canvas { height: 360px; }
.kit--compact .kit-tip { font-size: .8rem; }
[data-mode="dark"] .kit-tab { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); color: #C8CEE6; }
[data-mode="dark"] .kit-tab[aria-selected="true"] { color: #fff; background: color-mix(in srgb, var(--net) 18%, #141A3A); }
[data-mode="dark"] .kit-caption, [data-mode="dark"] .kit-video__fmt { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); }
[data-mode="dark"] .kit-caption p { color: #E8EBF6; }
[data-mode="dark"] .kit-chip input:checked + span { background: #2B3570; color: #fff; }
[data-mode="dark"] .kit-tip { background: color-mix(in srgb, var(--net, #6C80EA) 12%, #141A3A); color: #C8CEE6; }

/* ---- 1.7 · Dashboard: support kit card ---- */
.card-share2 { position: relative; overflow: hidden; display: grid; gap: 1.2rem; align-items: center; padding: 1.3rem !important; color: #F6F1E4; border: 0 !important;
  background: radial-gradient(700px 300px at 0% 0%, rgba(227, 165, 43, .22), transparent 60%), linear-gradient(135deg, #0D1640, #1B2A6E 60%, #3A1A55) !important; box-shadow: 0 24px 50px -30px rgba(10, 15, 40, .8); }
.card-share2::before { content: ""; position: absolute; inset: 0; background: url("/shayesteh/assets/img/simorgh/tile.svg") 0 0 / 70px; opacity: .1; pointer-events: none; }
@media (min-width: 720px) { .card-share2 { grid-template-columns: 250px 1fr; padding: 1.4rem 1.6rem !important; } }
.card-share2__art { position: relative; height: 210px; }
.card-share2__b { position: absolute; border-radius: 10px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(233, 199, 123, .35); transition: transform .6s var(--ease-out, ease); }
.card-share2__b--1 { height: 200px; left: 50%; top: 4px; transform: translateX(-50%) rotate(0); z-index: 2; }
.card-share2__b--2 { height: 160px; left: calc(50% - 118px); top: 30px; transform: rotate(-9deg); opacity: .92; }
.card-share2__b--3 { height: 128px; left: calc(50% + 36px); top: 60px; transform: rotate(8deg); opacity: .92; }
.card-share2:hover .card-share2__b--2 { transform: rotate(-13deg) translateX(-8px); }
.card-share2:hover .card-share2__b--3 { transform: rotate(12deg) translateX(8px); }
.card-share2:hover .card-share2__b--1 { transform: translateX(-50%) translateY(-6px); }
@media (prefers-reduced-motion: no-preference) { .card-share2__b--1 { animation: cs-float 5s ease-in-out infinite; } }
@keyframes cs-float { 50% { transform: translateX(-50%) translateY(-6px); } }
.card-share2__body { position: relative; display: grid; gap: .55rem; justify-items: start; }
.card-share2__kicker { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #F2D892; background: rgba(242, 216, 146, .12); box-shadow: inset 0 0 0 1px rgba(242, 216, 146, .35); }
.card-share2__kicker .glyph { width: 13px; height: 13px; }
.area-account .card-share2 h2, .card-share2 h2 { margin: 0; color: #fff; font-size: 1.3rem; }
.card-share2 p { margin: 0; color: rgba(246, 241, 228, .78); font-size: .9rem; line-height: 1.6; max-width: 52ch; }
.card-share2__nets { display: flex; gap: .35rem; flex-wrap: wrap; margin: .1rem 0 .2rem; }
.card-share2__nets span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: background .2s, transform .25s var(--ease-spring, ease); }
.card-share2__nets span:hover { background: var(--net); transform: translateY(-2px); }
.card-share2__nets .glyph { width: 15px; height: 15px; }
.card-share2__acts { display: flex; gap: .5rem; flex-wrap: wrap; }
.btn--glassy, .theme-golestan .btn--glassy, .area-account .btn--glassy, .theme-golestan.area-account .btn--glassy { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); box-shadow: none; }
.btn--glassy:hover, .theme-golestan .btn--glassy:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .5); }
@media (max-width: 719px) { .card-share2__art { height: 180px; } .card-share2__b--1 { height: 172px; } .card-share2__b--2 { height: 138px; } .card-share2__b--3 { height: 110px; } }

/* ---- 1.7 · Photo protection (public pages) ---- */
[data-protect] img[src*="/media/"] { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none; }
[data-protect] .lightbox img { pointer-events: auto; }
[data-protect] img[src*="/media/"], [data-protect] .kit-video canvas { transition: filter .25s ease; }
html.is-shielded [data-protect] img[src*="/media/"], html.is-shielded [data-protect] .kit-video canvas { filter: blur(22px) brightness(.8); }
@media print { [data-protect] img[src*="/media/"], [data-protect] .kit-video canvas { visibility: hidden !important; } }

.kit:not(.kit--compact) .kit-tabs { flex-wrap: wrap; overflow: visible; }
.kit:not(.kit--compact) .kit-banner--square .kit-banner__frame, .kit:not(.kit--compact) .kit-banner--post .kit-banner__frame { max-width: 320px; width: 100%; margin-inline: auto; }
.kit:not(.kit--compact) .kit-banner--story .kit-banner__frame { max-width: 220px; }
.kit:not(.kit--compact) .kit-banner figcaption { max-width: 360px; width: 100%; margin-inline: auto; }
.acc-logout.btn { box-shadow: none; }
.kit-caption p span { display: block; text-align: start; unicode-bidi: plaintext; }
.card-share2__art { max-width: 250px; width: 100%; justify-self: center; }
.card-share2__b--2 { left: 0; }
.card-share2__b--3 { left: auto; right: 0; }
[dir="rtl"] .card-share2__b--2 { left: auto; right: 0; } [dir="rtl"] .card-share2__b--3 { right: auto; left: 0; }
@media (max-width: 700px) { .kit:not(.kit--compact) .kit-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scroll-snap-type: x proximity; } .kit:not(.kit--compact) .kit-tab { scroll-snap-align: start; } }

/* ---- 1.8 · Landing: illustrated photo samples (viewfinder) ---- */
.ss { display: block; width: 100%; height: auto; }
.ss-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; perspective: 1000px; }
.ss-shot { margin: 0; display: grid; gap: .75rem; }
.ss-shot--half { margin-top: 18px; }
.ss-shot__card { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 50px -28px rgba(10, 15, 40, .75), 0 0 0 1px rgba(201, 160, 78, .45), 0 0 0 6px rgba(255, 252, 245, .9), 0 0 0 7px rgba(201, 160, 78, .35);
  transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out, ease), box-shadow .5s; will-change: transform; }
.ss-shot:hover .ss-shot__card { box-shadow: 0 40px 60px -26px rgba(10, 15, 40, .8), 0 0 0 1px rgba(201, 160, 78, .6), 0 0 0 6px rgba(255, 252, 245, .95), 0 0 0 7px rgba(201, 160, 78, .5); }
.ss-shot__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .22), transparent 40%); opacity: 0; transition: opacity .3s; }
.ss-shot:hover .ss-shot__shine { opacity: 1; }
.ss-shot figcaption { display: grid; grid-template-columns: auto 1fr; gap: 0 .55rem; align-items: center; }
.ss-shot__n { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #2B1B05; background: linear-gradient(180deg, #F6DE9C, #C99A3C); box-shadow: 0 4px 10px -4px rgba(185, 129, 26, .8); }
.ss-shot figcaption strong { font-size: .92rem; color: var(--s-ink, var(--ink)); line-height: 1.2; }
.ss-shot figcaption small { font-size: .78rem; color: var(--s-ink-2, var(--ink-3)); line-height: 1.3; }
@media (prefers-reduced-motion: no-preference) {
  .ss-shot__card { animation: ss-float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -2s); }
  .ss__focus { transform-box: fill-box; transform-origin: center; animation: ss-focus 3s var(--ease-out, ease) infinite; animation-delay: calc(var(--i, 0) * .5s); }
  .ss__brackets { transform-box: fill-box; transform-origin: center; animation: ss-brackets 6s ease-in-out infinite; }
  .ss__rec circle { animation: ss-rec 1.2s steps(2, jump-none) infinite; }
  .ss__flash { animation: ss-flash 6s ease-out infinite; }
  .ss-shot--close .ss__flash { animation-delay: .8s; } .ss-shot--half .ss__flash { animation-delay: 2.8s; } .ss-shot--full .ss__flash { animation-delay: 4.8s; }
  .ss__fig { animation: ss-breathe 5s ease-in-out infinite; transform-box: view-box; }
}
@keyframes ss-float { 50% { translate: 0 -8px; } }
@keyframes ss-focus { 0% { opacity: 0; transform: scale(1.25); } 18% { opacity: 1; transform: scale(.96); } 26% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: .55; transform: scale(1); } }
@keyframes ss-brackets { 50% { transform: scale(.97); } }
@keyframes ss-rec { 50% { opacity: .2; } }
@keyframes ss-flash { 0%, 86% { opacity: 0; } 88% { opacity: .85; } 100% { opacity: 0; } }
@keyframes ss-breathe { 50% { opacity: .97; } }
.g-shot .ss { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-shot { padding: 0; }
.g-shot > span { position: relative; z-index: 1; margin: auto auto .6rem; padding: .2rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .9); }
@media (max-width: 560px) {
  .ss-shots { gap: .55rem; }
  .ss-shot--half { margin-top: 10px; }
  .ss-shot figcaption { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: .2rem; }
  .ss-shot__n { grid-row: auto; width: 24px; height: 24px; font-size: .75rem; }
  .ss-shot figcaption small { display: none; }
  .ss-shot__card { border-radius: 14px; }
}

/* ---- 1.8 · Landing: category cards ---- */
.cat2s { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .cat2s { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.3rem; } }
.cat2 { position: relative; display: grid; justify-items: center; text-align: center; gap: .55rem; padding: 0 1rem 1.2rem; border-radius: 22px; background: var(--surface, #fff); border: 1px solid rgba(201, 160, 78, .45);
  box-shadow: 0 1px 2px rgba(18, 28, 72, .06), 0 20px 40px -30px rgba(18, 28, 72, .5); transition: transform .45s var(--ease-out, ease), box-shadow .45s; overflow: hidden; isolation: isolate; }
.cat2::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(240px 140px at 50% 0%, color-mix(in srgb, var(--tone, #2C3DA8) 12%, transparent), transparent 70%); }
.cat2:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(18, 28, 72, .06), 0 30px 50px -28px color-mix(in srgb, var(--tone, #2C3DA8) 70%, transparent); }
.cat2__top { position: relative; width: calc(100% + 2rem); height: 128px; display: grid; place-items: center; margin-bottom: .2rem;
  background: var(--tone-grad, linear-gradient(135deg, #3A4FC7, #1A2672)); }
.cat2__top::before { content: ""; position: absolute; inset: 0; background: url("/shayesteh/assets/img/simorgh/tile.svg") center / 56px; opacity: .22; mix-blend-mode: soft-light; }
.cat2__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: var(--surface, #fff); clip-path: ellipse(60% 100% at 50% 100%); }
.cat2__medal { position: relative; z-index: 1; width: 92px; height: 92px; margin-top: 46px; display: grid; place-items: center; }
.cat2__ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from var(--a, 0deg), #F6DE9C, #B98A34, #FFF4D2, #C99A3C, #F6DE9C); box-shadow: 0 14px 26px -10px rgba(0, 0, 0, .55); }
.cat2__core { position: absolute; inset: 6px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--tone-grad); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35), inset 0 -6px 14px rgba(0, 0, 0, .25); }
.cat2__core .glyph { width: 38px; height: 38px; stroke-width: 1.7; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); transition: transform .6s var(--ease-spring, ease); }
.cat2:hover .cat2__core .glyph { transform: scale(1.12) rotate(-8deg); }
.cat2__spark { position: absolute; width: 8px; height: 8px; background: #FFF4D2; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: .9; }
.cat2__spark--1 { top: 22px; left: 22%; } .cat2__spark--2 { top: 48px; right: 20%; width: 11px; height: 11px; } .cat2__spark--3 { top: 82px; left: 16%; width: 6px; height: 6px; }
.cat2 h3 { margin: .2rem 0 0; font-size: 1.15rem; line-height: 1.35; color: var(--s-ink, var(--ink)); }
[dir="rtl"] .cat2 h3 { font-size: 1.05rem; }
.cat2__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.cat2__chips span { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--tone, var(--lapis)); background: color-mix(in srgb, var(--tone, #2C3DA8) 10%, transparent); }
.cat2__chips .glyph { width: 14px; height: 14px; }
.cat2__age { display: inline-flex; align-items: baseline; gap: .35rem; padding: .35rem .9rem; border-radius: 12px; border: 1px dashed rgba(201, 160, 78, .7); background: rgba(246, 222, 156, .14); }
.cat2__age b { font-size: 1.15rem; color: var(--s-ink, var(--ink)); }
.cat2__age span { font-size: .78rem; color: var(--s-ink-2, var(--ink-3)); font-weight: 600; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@media (prefers-reduced-motion: no-preference) {
  .cat2__ring { animation: cat2-spin 8s linear infinite; }
  .cat2__medal { animation: cat2-bob 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
  .cat2__spark { animation: cat2-twinkle 2.6s ease-in-out infinite; } .cat2__spark--2 { animation-delay: .9s; } .cat2__spark--3 { animation-delay: 1.6s; }
}
@keyframes cat2-spin { to { --a: 360deg; } }
@keyframes cat2-bob { 50% { transform: translateY(-5px); } }
@keyframes cat2-twinkle { 0%, 100% { transform: scale(.4) rotate(0); opacity: .2; } 50% { transform: scale(1) rotate(90deg); opacity: 1; } }
@media (max-width: 560px) { .cat2 { padding: 0 .6rem 1rem; border-radius: 18px; } .cat2__top { height: 100px; width: calc(100% + 1.2rem); } .cat2__medal { width: 74px; height: 74px; margin-top: 36px; } .cat2__core .glyph { width: 30px; height: 30px; } .cat2 h3 { font-size: .95rem !important; } .cat2__chips span { font-size: .7rem; padding: .2rem .45rem; } }
[data-mode="dark"] .cat2 { background: #161B36; border-color: #2E3560; }
[data-mode="dark"] .cat2__top::after { background: #161B36; }
[data-mode="dark"] .cat2 h3, [data-mode="dark"] .cat2__age b { color: #E8EBF6; }
[data-mode="dark"] .ss-shot__card { box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .8), 0 0 0 1px rgba(201, 160, 78, .45), 0 0 0 6px #161B36, 0 0 0 7px rgba(201, 160, 78, .35); }

/* =============================================================================
   1.8 · App experience on phones
   ============================================================================= */
.app-tabs { display: none; }
.pwa-sheet[hidden] { display: none; }
/* 2.8 · The cross-document view-transition opt-in (`@view-transition { navigation: auto }`) is gone: a page shown inside the
   IPN Studio / IPN account frame, a hidden tab or a back-forward load cannot run it, and the browser then reports
   "Transition was aborted … ViewTransition opt-in disabled" as a page error. Page reveal motion is the theme's job (prime.js). */
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .28s var(--ease-out, ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

@media (max-width: 960px) {
  /* tab bar */
  .app-tabs { position: fixed; z-index: 70; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    height: 64px; padding: 0 4px; border-radius: 22px; background: rgba(255, 253, 248, .86); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
    box-shadow: 0 18px 40px -16px rgba(12, 18, 50, .45), 0 0 0 1px rgba(201, 160, 78, .35); }
  .app-tabs a { position: relative; height: 64px; display: grid; justify-items: center; align-content: center; gap: 3px; color: #6C7190; text-decoration: none; font-size: .66rem; font-weight: 700; -webkit-tap-highlight-color: transparent; }
  .app-tabs a .glyph { width: 23px; height: 23px; transition: transform .35s var(--ease-spring, ease), color .2s; }
  .app-tabs a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-inline: 2px; }
  .app-tabs a[aria-current="page"] { color: var(--lapis, #1D2C6B); }
  .app-tabs a[aria-current="page"]:not(.app-tabs__main)::before { content: ""; position: absolute; top: 7px; width: 42px; height: 30px; border-radius: 12px; background: rgba(29, 44, 107, .09); z-index: -1; animation: tab-pill .35s var(--ease-spring, ease); }
  .app-tabs a[aria-current="page"] .glyph { transform: translateY(-1px) scale(1.06); }
  .app-tabs a:active .glyph { transform: scale(.86); }
  @keyframes tab-pill { from { transform: scale(.4); opacity: 0; } }
  .app-tabs__main { align-content: end !important; padding-bottom: 9px; color: var(--ink, #161A33) !important; }
  .app-tabs__fab { width: 54px; height: 54px; margin-top: -26px; margin-bottom: 1px; border-radius: 18px; display: grid; place-items: center; color: #2B1B05;
    background: linear-gradient(160deg, #F9E6B2, #E2B65A 55%, #C99A3C); box-shadow: 0 10px 22px -8px rgba(185, 129, 26, .9), inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 4px rgba(255, 253, 248, .95); transition: transform .3s var(--ease-spring, ease); }
  .app-tabs__fab .glyph { width: 25px !important; height: 25px !important; }
  .app-tabs__main:active .app-tabs__fab { transform: scale(.9); }
  .app-tabs__av { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(201, 160, 78, .7); }
  body:has(.app-tabs) { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  body:has(.app-tabs) .wa { bottom: calc(92px + env(safe-area-inset-bottom)) !important; }
  body:has(.app-tabs) .totop { bottom: calc(160px + env(safe-area-inset-bottom)); }
  .site-header .nav .nav__auth { display: none !important; }
  [data-mode="dark"] .app-tabs { background: rgba(18, 23, 48, .86); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7), 0 0 0 1px rgba(201, 160, 78, .3); }
  [data-mode="dark"] .app-tabs a { color: #9AA1C2; }
  [data-mode="dark"] .app-tabs a[aria-current="page"] { color: #F2D892; }
  [data-mode="dark"] .app-tabs a[aria-current="page"]::before { background: rgba(242, 216, 146, .12); }
  [data-mode="dark"] .app-tabs__fab { box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 4px #12172F; }
}

@media (max-width: 700px) {
  html { -webkit-text-size-adjust: 100%; }
  body { overscroll-behavior-y: none; -webkit-tap-highlight-color: transparent; }
  .container { padding-inline: 16px; }
  /* compact header & announcement */
  .announce { font-size: .78rem; padding-block: .35rem; }
  .site-header__in { min-height: 58px; gap: .5rem; }
  .site-header .brand__mark, .site-header .brand img { width: 30px; height: 30px; }
  .site-header .nav { inset: 58px 0 auto; }
  .htool, .nav__toggle { width: 38px; height: 38px; border-radius: 12px; }
  .umenu__btn { height: 38px; }
  /* section rhythm */
  .s-section { padding-block: 2.4rem; }
  .s-title, [dir="rtl"] .s-title { font-size: 1.55rem; line-height: 1.35; margin-bottom: .6rem; }
  .s-head { margin-bottom: 1.2rem; }
  .s-head p, .s-prose { font-size: .94rem; line-height: 1.8; }
  /* hero: compact, app-like */
  .s-hero__in { padding-block: 1.2rem 2.4rem; gap: 1.2rem; }
  .s-hero .iwan { width: min(64%, 260px); }
  .s-poem--hero { font-size: .92em; margin-bottom: .4rem; }
  .s-hero__title { font-size: 2.05rem !important; line-height: 1.25; margin-bottom: .6rem; }
  .s-hero__lead { font-size: .95rem; line-height: 1.8; }
  .s-hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .s-hero__cta .btn { width: 100%; min-height: 48px; }
  .s-countdown { margin-top: 1.2rem; display: grid; gap: .5rem; justify-items: stretch; }
  .s-countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
  .s-countdown__grid div { min-width: 0; padding: .45rem .2rem; border-radius: 14px; background: rgba(255, 255, 255, .06); }
  .s-countdown__grid b { font-size: 1.35rem; }
  /* swipeable rows */
  .s-pillars__in, .s-values, .cat2s, .s-steps { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: .7rem; margin-inline: -16px; padding: .2rem 16px .9rem; scroll-padding-inline: 16px; }
  .s-pillars__in::-webkit-scrollbar, .s-values::-webkit-scrollbar, .cat2s::-webkit-scrollbar, .s-steps::-webkit-scrollbar { display: none; }
  .s-pillars__in { padding-block: .8rem; }
  .s-pillars p { flex: none; scroll-snap-align: start; padding: .45rem .8rem .45rem .5rem; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--s-line, #E6DCC3); font-size: .82rem; white-space: nowrap; }
  .s-values li { flex: 0 0 80%; scroll-snap-align: center; padding: 1rem; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--s-line, #E6DCC3), 0 14px 30px -24px rgba(19, 35, 91, .5); }
  .cat2 { flex: 0 0 64%; scroll-snap-align: center; }
  .cat2 h3 { font-size: 1rem !important; }
  .cat2__chips span { font-size: .74rem; }
  .s-manuscript { padding: 3.2rem 0 2.8rem; border-radius: 22px; }
  .s-manuscript .s-head { padding-inline: 16px; }
  .s-steps { margin-inline: 0; padding-inline: 16px; }
  .s-steps li { flex: 0 0 72%; scroll-snap-align: center; padding: 1.1rem .9rem; border-radius: 18px; background: #FBF6EA; box-shadow: inset 0 0 0 1px var(--s-line, #E6DCC3); }
  .s-steps__n { width: 46px; height: 46px; margin-bottom: .6rem; }
  .s-verse { padding-block: 2.6rem; }
  .s-poem--band { font-size: .82em; }
  .s-real { gap: 1.6rem; }
  .s-checks li { font-size: .9rem; }
  .s-final { padding-block: 2.6rem; }
  .s-final h2 { font-size: 1.6rem !important; }
  .s-final .btn { width: 100%; }
  .s-faq .g-qa summary { padding: .85rem .9rem; font-size: .92rem; }
  .s-toranj { margin-block: 1rem; transform: scale(.8); }
  /* contestants grid */
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .7rem !important; }
  /* footer: compact with folding groups */
  .site-footer { padding-top: 1.6rem; }
  .foot { gap: .2rem !important; grid-template-columns: 1fr !important; }
  .foot__brand { padding-bottom: 1rem; }
  details.foot__col { border-top: 1px solid rgba(255, 255, 255, .1); }
  details.foot__col > summary { list-style: none; cursor: pointer; padding: .85rem 0; display: flex; align-items: center; justify-content: space-between; }
  details.foot__col > summary::-webkit-details-marker { display: none; }
  details.foot__col > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease-spring, ease); opacity: .7; margin-inline-end: 4px; }
  details.foot__col[open] > summary::after { transform: rotate(225deg); }
  details.foot__col > summary h2 { margin: 0; }
  details.foot__col ul { padding-bottom: .8rem; }
  .foot__col--join { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: .85rem; }
  .foot__base { padding-bottom: .5rem; }
  /* toasts and sheets clear the tab bar */
  .kit-toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .follow { bottom: calc(92px + env(safe-area-inset-bottom)) !important; }
}
details.foot__col > summary { list-style: none; }
details.foot__col > summary::-webkit-details-marker { display: none; }
@media (min-width: 701px) { details.foot__col > summary { cursor: default; pointer-events: none; } details.foot__col > summary h2 { margin-top: 0; } }

/* install sheet */
.pwa-sheet { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto 1fr; gap: .4rem .8rem; align-items: center; padding: .9rem; border-radius: 20px;
  background: linear-gradient(135deg, #121A45, #2A1747); color: #F6F1E4; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(233, 199, 123, .4); transform: translateY(140%); transition: transform .5s var(--ease-spring, ease); }
.pwa-sheet.is-open { transform: none; }
.pwa-sheet img { width: 52px; height: 52px; border-radius: 14px; }
.pwa-sheet strong { display: block; font-size: .98rem; }
.pwa-sheet span { font-size: .8rem; color: rgba(246, 241, 228, .75); line-height: 1.5; }
.pwa-sheet__acts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.pwa-sheet .btn--ghost { color: #F6F1E4; }

/* standalone (installed app): no browser chrome, so tighten the page */
@media (display-mode: standalone) {
  .announce { display: none; }
  .site-header { padding-top: env(safe-area-inset-top); }
}
@media (max-width: 700px) {
  .wa__fab { width: 52px; height: 52px; }
  .wa__fab .wa__logo { width: 28px; height: 28px; }
  .totop { width: 40px; height: 40px; }
}
@media (max-width: 960px) {
  .acc-tabbar { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); inset-inline: 10px; padding: .3rem; height: 62px; border-radius: 22px; border: 0;
    background: rgba(255, 253, 248, .88); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 18px 40px -16px rgba(12, 18, 50, .45), 0 0 0 1px rgba(201, 160, 78, .35); }
  .acc-tabbar a, .acc-tabbar button { align-content: center; font-size: .64rem; font-weight: 700; color: #6C7190; border-radius: 16px; -webkit-tap-highlight-color: transparent; }
  .acc-tabbar a .glyph, .acc-tabbar button .glyph { transition: transform .35s var(--ease-spring, ease); }
  .acc-tabbar a[aria-current="page"], .acc-tabbar button[aria-expanded="true"] { color: var(--lapis); background: rgba(29, 44, 107, .08); }
  .acc-tabbar a[aria-current="page"] .glyph { transform: scale(1.08); }
  .acc-tabbar a:active .glyph { transform: scale(.86); }
  .area-account { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .area-account .wa { bottom: calc(86px + env(safe-area-inset-bottom)) !important; }
  [data-mode="dark"] .acc-tabbar { background: rgba(18, 23, 48, .88); }
  [data-mode="dark"] .acc-tabbar a[aria-current="page"] { color: #F2D892; background: rgba(242, 216, 146, .12); }
}
@media (max-width: 700px) {
  .area-account .acc { padding-block: .8rem 1.6rem; gap: .8rem; }
  .area-account .panel { border-radius: 20px; padding: 1rem; }
  .area-account .panel h1 { font-size: 1.25rem; }
  .card-share2 { padding: 1rem !important; }
}

/* ---- 1.8 · Small finishing touches ---- */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
::selection { background: rgba(227, 165, 43, .35); color: inherit; }
@media (hover: hover) and (min-width: 961px) {
  html { scrollbar-width: thin; scrollbar-color: rgba(185, 138, 52, .55) transparent; }
  ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: rgba(185, 138, 52, .45); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
}
.read-progress { position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: 3px; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #F6DE9C, #C99A3C, #B0173F); pointer-events: none; }
[dir="rtl"] .read-progress { transform-origin: 100% 50%; }
@keyframes skel { to { background-position: -200% 0; } }
.person img, .pro2-photo img, .kit-banner__frame img, .card-share2__b, .gallery img { background: linear-gradient(90deg, rgba(29, 44, 107, .06) 25%, rgba(29, 44, 107, .12) 37%, rgba(29, 44, 107, .06) 63%) 0 0 / 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .person img:not(.is-loaded), .gallery img:not(.is-loaded), .kit-banner__frame img:not(.is-loaded) { animation: skel 1.4s ease infinite; } }
img.is-loaded { animation: none !important; }

/* ---- 1.9 · Messages: iMessage-style chat ---- */
.panel--chat { padding: 0 !important; overflow: hidden; }
.chat { --me1: #3B82F6; --me2: #2563EB; --them: #E9E9EF; --them-ink: #111827; display: flex; flex-direction: column; height: min(78vh, 760px); min-height: 460px; background: var(--surface); }
.chat__head { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); position: relative; z-index: 2; }
.chat__av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: linear-gradient(145deg, #FFF7E3, #F2D892); padding: 0; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(201, 160, 78, .6); }
.chat--user .chat__av { padding: 8px; object-fit: contain; }
.chat__av--txt { display: grid; place-items: center; font-weight: 800; color: #2B1B05; }
.chat__who { display: grid; min-width: 0; flex: 1; }
.chat__who strong { font-size: 1rem; color: var(--ink); }
.chat__who span { font-size: .78rem; color: var(--ink-3); display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.chat__scroll { flex: 1; overflow-y: auto; padding: 1rem 1rem .6rem; display: flex; flex-direction: column; gap: 2px; scroll-behavior: smooth; overscroll-behavior: contain;
  background: radial-gradient(800px 400px at 100% 0%, rgba(59, 130, 246, .05), transparent 60%), var(--surface); }
.chat__scroll:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.chat__day { display: flex; justify-content: center; margin: .9rem 0 .5rem; pointer-events: none; }
.chat__day span { padding: .2rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; color: var(--ink-3); background: color-mix(in srgb, var(--surface) 80%, #E9E9EF); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.bub { position: relative; max-width: 80%; display: grid; margin-top: 2px; }
.bub--tail { margin-bottom: 8px; }
.bub--me { align-self: flex-end; justify-items: end; }
.bub--them { align-self: flex-start; justify-items: start; }
.bub__from { font-size: .7rem; font-weight: 700; color: var(--ink-3); margin: 0 .8rem .2rem; }
.bub__body { padding: .55rem .85rem; border-radius: 20px; font-size: .95rem; line-height: 1.45; overflow-wrap: anywhere; white-space: normal; }
.bub--me .bub__body { background: linear-gradient(180deg, var(--me1), var(--me2)); color: #fff; }
.bub--them .bub__body { background: var(--them); color: var(--them-ink); }
.bub__body a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* bubble corners: tighter where messages stack, tail on the last one */
.bub--me.bub--cont .bub__body { border-start-end-radius: 6px; }
.bub--me:not(.bub--tail) .bub__body { border-end-end-radius: 6px; }
.bub--them.bub--cont .bub__body { border-start-start-radius: 6px; }
.bub--them:not(.bub--tail) .bub__body { border-end-start-radius: 6px; }
.bub--tail .bub__body::after { content: ""; position: absolute; bottom: 18px; width: 14px; height: 14px; }
.bub--me.bub--tail .bub__body { border-end-end-radius: 4px; }
.bub--them.bub--tail .bub__body { border-end-start-radius: 4px; }
.bub__time { font-size: .66rem; color: var(--ink-3); margin: .2rem .6rem 0; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) { .bub--new { animation: bub-in .45s var(--ease-spring, ease) both; } }
@keyframes bub-in { from { opacity: 0; transform: translateY(10px) scale(.92); } }
.bub--me.bub--new { transform-origin: 100% 100%; } .bub--them.bub--new { transform-origin: 0 100%; }
[dir="rtl"] .bub--me.bub--new { transform-origin: 0 100%; } [dir="rtl"] .bub--them.bub--new { transform-origin: 100% 100%; }
.chat__receipt { align-self: flex-end; display: inline-flex; align-items: center; gap: .25rem; margin: -4px .4rem 6px; font-size: .68rem; font-weight: 600; color: var(--ink-3); }
.chat__receipt .glyph { width: 13px; height: 13px; color: var(--me1); }
.chat__empty { margin: auto; display: grid; justify-items: center; gap: .4rem; text-align: center; max-width: 340px; color: var(--ink-3); padding: 2rem 1rem; }
.chat__empty .glyph { width: 44px; height: 44px; padding: 10px; border-radius: 16px; color: #fff; background: linear-gradient(180deg, var(--me1), var(--me2)); }
.chat__empty strong { color: var(--ink); font-size: 1rem; }
.chat__empty span { font-size: .86rem; line-height: 1.6; }
/* composer */
.chat__composer { position: relative; border-top: 1px solid var(--line); padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--surface) 92%, #F2F2F7); margin: 0; }
.chat__bar { display: flex; align-items: flex-end; gap: .4rem; }
.chat__tools { display: flex; gap: .15rem; padding-bottom: 3px; }
.chat__tool { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); cursor: pointer; transition: background .2s, color .2s, transform .25s var(--ease-spring, ease); }
.chat__tool:hover, .chat__tool.is-on { background: rgba(59, 130, 246, .1); color: var(--me2); }
.chat__tool:active { transform: scale(.88); }
.chat__tool .glyph { width: 21px; height: 21px; }
.chat__field { flex: 1; position: relative; margin: 0 !important; display: block; }
.chat__field textarea, .area-account .chat__field textarea, .admin .chat__field textarea { display: block; width: 100%; min-height: 42px !important; max-height: 160px; margin: 0 !important; padding: .6rem 3rem .6rem 1rem !important; border-radius: 22px !important; border: 1px solid #D1D1D6; background: var(--surface); font: 400 .95rem/1.4 var(--font-body); resize: none; overflow-y: auto; box-shadow: none; }
[dir="rtl"] .chat__field textarea { padding: .6rem 1rem .6rem 3rem !important; }
.chat__field textarea:focus { border-color: var(--me1) !important; box-shadow: 0 0 0 3px rgba(59, 130, 246, .15) !important; }
.chat__count { position: absolute; inset-inline-end: 12px; bottom: 11px; font-size: .7rem; font-weight: 700; color: var(--ink-3); }
.chat__count.is-low { color: var(--pomegranate); }
.chat__send { flex: none; width: 38px; height: 38px; margin-bottom: 2px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #C7C7CC; color: #fff; cursor: pointer; transition: background .25s, transform .3s var(--ease-spring, ease); }
.chat__send .glyph { width: 20px; height: 20px; stroke-width: 2.6; }
.chat__send.is-ready { background: linear-gradient(180deg, var(--me1), var(--me2)); transform: scale(1.04); box-shadow: 0 6px 14px -6px rgba(37, 99, 235, .8); }
.chat__send:active { transform: scale(.88); }
.chat__send:disabled { cursor: default; }
.chat__send.is-sending .glyph { animation: send-fly .5s ease forwards; }
@keyframes send-fly { to { transform: translateY(-14px); opacity: 0; } }
.chat__hint { margin: .35rem 0 0; font-size: .68rem; color: var(--ink-3); text-align: center; }
@media (pointer: coarse) { .chat__hint { display: none; } }
.chat__emoji, .chat__quick { position: absolute; bottom: calc(100% + 6px); inset-inline: .7rem; z-index: 3; padding: .5rem; border-radius: 18px; background: var(--surface); box-shadow: 0 20px 40px -18px rgba(10, 15, 40, .45), 0 0 0 1px var(--line); animation: pop-in .25s var(--ease-out, ease); }
.chat__emoji[hidden], .chat__quick[hidden] { display: none; }
.chat__emoji { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 2px; max-height: 210px; overflow-y: auto; }
.chat__emoji button { height: 40px; border: 0; border-radius: 10px; background: none; font-size: 1.35rem; cursor: pointer; transition: transform .2s var(--ease-spring, ease), background .15s; }
.chat__emoji button:hover { background: rgba(59, 130, 246, .08); transform: scale(1.18); }
.chat__quick { display: flex; flex-direction: column; gap: .35rem; max-height: 260px; overflow-y: auto; }
.chat__chip { text-align: start; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 14px; background: var(--porcelain); color: var(--ink); font: 500 .86rem/1.45 var(--font-body); cursor: pointer; transition: border-color .15s, background .15s; }
.chat__chip:hover { border-color: var(--me1); background: rgba(59, 130, 246, .06); }
@media (max-width: 700px) {
  .chat { height: calc(100dvh - 58px - 96px - env(safe-area-inset-bottom)); min-height: 420px; border-radius: 0; }
  .panel--chat { border-radius: 20px !important; }
  .bub { max-width: 84%; }
}
[data-mode="dark"] .chat { --them: #2C2C33; --them-ink: #F2F2F7; }
[data-mode="dark"] .chat__composer { background: #12162E; border-color: #262D52; }
[data-mode="dark"] .chat__field textarea { background: #1B2040 !important; border-color: #343B66 !important; color: #E8EBF6; }
[data-mode="dark"] .chat__head { background: rgba(20, 25, 52, .9); border-color: #262D52; }
[data-mode="dark"] .chat__scroll { background: #141935; }
[data-mode="dark"] .chat__day span { background: rgba(44, 44, 51, .9); color: #B9C0DC; }
[data-mode="dark"] .chat__emoji, [data-mode="dark"] .chat__quick { background: #1B2040; }
[data-mode="dark"] .chat__chip { background: #222850; color: #E8EBF6; border-color: #343B66; }
[data-mode="dark"] .chat__send { background: #3A3A44; }

/* admin inbox */
.inbox { padding: 0 !important; overflow: hidden; }
.inbox__search { display: flex; align-items: center; gap: .5rem; margin: .8rem; padding: 0 .8rem; border-radius: 12px; background: var(--porcelain); }
.inbox__search .glyph { width: 17px; height: 17px; color: var(--ink-3); }
.inbox__search input, .admin .inbox__search input { flex: 1; border: 0 !important; background: transparent !important; min-height: 40px !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; }
.inbox__list { list-style: none; margin: 0; padding: 0; }
.inbox__row { display: flex; align-items: center; gap: .8rem; padding: .75rem 1rem; text-decoration: none; color: inherit; border-top: 1px solid var(--line); transition: background .15s; position: relative; }
.inbox__row:hover { background: rgba(59, 130, 246, .05); }
.inbox__row.is-unread::before { content: ""; position: absolute; inset-inline-start: 6px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #3B82F6; }
.inbox__av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.inbox__av--txt { display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(145deg, #8EA2FF, #3B4FC8); }
.inbox__main { flex: 1; min-width: 0; display: grid; gap: .15rem; }
.inbox__top { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.inbox__top strong { font-size: .95rem; color: var(--ink); }
.inbox__top time { font-size: .74rem; color: var(--ink-3); white-space: nowrap; }
.inbox__row.is-unread .inbox__top strong { font-weight: 800; }
.inbox__snip { font-size: .86rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox__snip em { font-style: normal; color: var(--ink-2); }
.inbox__side { display: grid; justify-items: end; gap: .3rem; flex: none; }
.inbox__badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #fff; background: #3B82F6; }
[data-mode="dark"] .inbox__search { background: rgba(255, 255, 255, .05); }
@media (max-width: 960px) {
  body:has(.chat) .wa { display: none !important; }
  .area-account .chat { height: calc(100dvh - 250px - env(safe-area-inset-bottom)); min-height: 380px; }
  body:has(.announce) .area-account .chat, .area-account:has(.announce) .chat { height: calc(100dvh - 290px - env(safe-area-inset-bottom)); }
}

/* ---- 1.9 · Applicant sidebar: hover & selected ---- */
.area-account .acc-nav { --nav-hover: rgba(29, 44, 107, .06); }
.area-account .acc-nav .mhl { background: var(--nav-hover); border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(29, 44, 107, .06); }
.area-account .acc-nav a, .area-account .acc-nav .acc-logout { position: relative; transition: color .2s ease, background .25s ease, transform .2s var(--ease-spring, ease); }
.area-account .acc-nav a .acc-nav__label, .area-account .acc-logout .acc-nav__label { transition: transform .3s var(--ease-spring, ease); }
.area-account .acc-nav a:hover .acc-nav__label, .area-account .acc-logout:hover .acc-nav__label { transform: translateX(3px); }
[dir="rtl"] .area-account .acc-nav a:hover .acc-nav__label, [dir="rtl"] .area-account .acc-logout:hover .acc-nav__label { transform: translateX(-3px); }
.area-account .acc-nav a:hover .ico--side, .area-account .acc-logout:hover .ico--side { transform: scale(1.1) rotate(-6deg); }
.area-account .acc-nav .ico--side { transition: transform .35s var(--ease-spring, ease), box-shadow .3s; }
.area-account .acc-nav a:active { transform: scale(.98); }
.area-account .acc-nav a:not([aria-current="page"]):hover { color: var(--lapis); }
/* selected item: deep lapis card, gold accent, glowing icon */
.area-account .acc-nav a[aria-current="page"], .theme-golestan .acc-nav a[aria-current="page"], .theme-simorgh .acc-nav a[aria-current="page"], [dir="rtl"] .theme-simorgh .acc-nav a[aria-current="page"], [dir="rtl"] .theme-golestan .acc-nav a[aria-current="page"] {
  background: linear-gradient(135deg, #22337E, #15205A); color: #fff; box-shadow: 0 10px 22px -12px rgba(21, 32, 90, .9), inset 0 1px 0 rgba(255, 255, 255, .12); }
.area-account .acc-nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline-start: -1px; top: 50%; width: 4px; height: 22px; margin-top: -11px; border-radius: 4px; background: linear-gradient(180deg, #F6DE9C, #C99A3C); box-shadow: 0 0 10px rgba(242, 216, 146, .8); }
.area-account .acc-nav a[aria-current="page"] .ico--side { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 0 14px rgba(242, 216, 146, .55); }
.area-account .acc-nav a[aria-current="page"] .count { background: #F2D892; color: #2B1B05; }
@media (prefers-reduced-motion: no-preference) { .area-account .acc-nav a[aria-current="page"] { animation: nav-sel .45s var(--ease-spring, ease); } }
@keyframes nav-sel { from { transform: scale(.96); opacity: .6; } }
html[data-mode="dark"] .area-account .acc-nav { --nav-hover: rgba(255, 255, 255, .06); }
html[data-mode="dark"] .area-account .acc-nav a[aria-current="page"], html[data-mode="dark"] .theme-simorgh .acc-nav a[aria-current="page"], html[data-mode="dark"] .theme-golestan .acc-nav a[aria-current="page"] { background: linear-gradient(135deg, #3A4DB8, #26348A); color: #fff; }
html[data-mode="dark"] .area-account .acc-nav a:not([aria-current="page"]):hover { color: #F2D892; }

/* ---- 1.9 · Landing boxes: pillars, values, journey steps (light, dark, phone) ---- */
:root { --cardx-bg: #FFFFFF; --cardx-bg2: #FFFBF1; --cardx-line: rgba(201, 160, 78, .38); --cardx-ink: var(--s-ink, #161A33); --cardx-ink2: var(--s-ink-2, #4A5070); --cardx-shadow: 0 1px 2px rgba(19, 35, 91, .05), 0 18px 34px -26px rgba(19, 35, 91, .45); }
html[data-mode="dark"] { --cardx-bg: #1A2046; --cardx-bg2: #151A3B; --cardx-line: rgba(233, 199, 123, .24); --cardx-ink: #F3EEE2; --cardx-ink2: #B9C0DC; --cardx-shadow: 0 18px 34px -24px rgba(0, 0, 0, .8); }

/* pillars */
.s-pillars { background: transparent; border-bottom: 0; }
.s-pillars__in { gap: .8rem; padding-block: 1.2rem; }
.s-pillars p, html[data-mode="dark"] .s-pillars p { margin: 0; display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 16px; background: linear-gradient(180deg, var(--cardx-bg), var(--cardx-bg2)); border: 1px solid var(--cardx-line); box-shadow: var(--cardx-shadow); color: var(--cardx-ink); font-weight: 700; font-size: .9rem; transition: transform .35s var(--ease-out, ease), box-shadow .35s; }
.s-pillars p:hover { transform: translateY(-3px); }
.s-pillars p .ico { flex: none; transition: transform .4s var(--ease-spring, ease); }
.s-pillars p:hover .ico { transform: scale(1.1) rotate(-6deg); }
html[data-mode="dark"] .s-pillars { background: transparent; }

/* values */
.s-values { gap: .9rem; }
.s-values li, html[data-mode="dark"] .s-values li { position: relative; display: flex; gap: 1rem; align-items: flex-start; padding: 1.05rem 1.1rem; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, var(--cardx-bg), var(--cardx-bg2)); border: 1px solid var(--cardx-line); box-shadow: var(--cardx-shadow); transition: transform .4s var(--ease-out, ease), box-shadow .4s; }
.s-values li::after { content: ""; position: absolute; inset-inline-end: -26px; top: -26px; width: 92px; height: 92px; background: url("/shayesteh/assets/img/simorgh/shamseh.svg") center / contain no-repeat; opacity: .12; transition: transform 1.2s var(--ease-out, ease); }
.s-values li:hover { transform: translateY(-3px); }
.s-values li:hover::after { transform: rotate(45deg); }
.s-values li .ico { flex: none; }
.s-values h3, [dir="rtl"] .s-values h3 { margin: .1rem 0 .25rem; font-size: 1.12rem; color: var(--cardx-ink); }
.s-values p { margin: 0; font-size: .9rem; line-height: 1.7; color: var(--cardx-ink2); }

/* journey steps */
.s-steps li, html[data-mode="dark"] .s-steps li { padding: 1.2rem .9rem 1.1rem; border-radius: 20px; background: linear-gradient(180deg, var(--cardx-bg), var(--cardx-bg2)); border: 1px solid var(--cardx-line); box-shadow: var(--cardx-shadow); transition: transform .4s var(--ease-out, ease), box-shadow .4s; }
.s-steps li:hover { transform: translateY(-4px); }
.s-steps h3, [dir="rtl"] .s-steps h3 { color: var(--cardx-ink); font-size: 1.02rem; margin: 0 0 .3rem; }
.s-steps p { color: var(--cardx-ink2); font-size: .86rem; line-height: 1.65; }
.s-steps__n { transition: transform .5s var(--ease-spring, ease); }
.s-steps li:hover .s-steps__n { transform: rotate(22.5deg) scale(1.06); }
@media (min-width: 900px) { .s-steps::before { top: calc(1.2rem + 28px) !important; } .s-steps li { z-index: 0; } }
html[data-mode="dark"] .s-manuscript { background: #12173A; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); }
html[data-mode="dark"] .s-steps__n { color: #121A45; }

/* phone sizes */
@media (max-width: 700px) {
  .s-section .s-prose, .s-why .s-prose { font-size: .95rem; line-height: 1.85; }
  .s-pillars__in { padding-block: .8rem 1rem; }
  .s-pillars p, html[data-mode="dark"] .s-pillars p { flex: none; padding: .5rem .8rem .5rem .5rem; border-radius: 999px; font-size: .8rem; white-space: nowrap; box-shadow: none; }
  [dir="rtl"] .s-pillars p { padding: .5rem .5rem .5rem .8rem; }
  .s-pillars p .ico { width: 28px; height: 28px; }
  .s-values li, html[data-mode="dark"] .s-values li { flex: 0 0 78%; padding: .95rem; }
  .s-values h3, [dir="rtl"] .s-values h3 { font-size: 1rem; }
  .s-values p { font-size: .84rem; }
  .s-values li .ico { width: 44px; height: 44px; }
  .s-steps li, html[data-mode="dark"] .s-steps li { flex: 0 0 66%; padding: 1rem .8rem; }
  .s-steps h3, [dir="rtl"] .s-steps h3 { font-size: .95rem; }
  .s-steps p { font-size: .8rem; }
}
html[data-mode="dark"] .s-values li::after { opacity: .06; filter: invert(1) sepia(1) saturate(3) hue-rotate(5deg); }
@media (max-width: 700px) { html:not([dir="rtl"]) .theme-simorgh .s-prose { font-size: 1.14rem; line-height: 1.6; } }
html[data-mode="dark"] body.area-account .acc-nav a[aria-current="page"] { background: linear-gradient(135deg, #3A4DB8, #26348A); color: #fff; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .14); }
html[data-mode="dark"] body.area-account .acc-nav .mhl { background: rgba(255, 255, 255, .07); }

/* ---- 2.0 · No sideways page scroll on phones (floating rings, rails) ---- */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
.wa { contain: layout; }

/* ---- 2.0 · Phone landing: full-screen slider with the hero text on top ---- */
@media (max-width: 700px) {
  .theme-simorgh .s-hero { min-height: calc(100svh - 58px); display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
  .theme-simorgh .s-hero__in { position: static; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-block: 5.5rem 2.6rem; gap: 0; }
  .theme-simorgh .s-hero__art { position: absolute; inset: 0; z-index: -1; order: 0; }
  .theme-simorgh .s-hero__art .iwan { width: 100% !important; height: 100%; max-width: none; margin: 0; }
  .theme-simorgh .s-hero__art .iwan__frame { aspect-ratio: auto; height: 100%; padding: 0; border: 0; border-radius: 0; background: #0B1438; box-shadow: none; outline: 0; }
  .theme-simorgh .s-hero__art .iwan__frame::before, .theme-simorgh .s-hero__art .iwan__frame::after { display: none; }
  .theme-simorgh .s-hero__art .iwan__window { clip-path: none !important; height: 100%; }
  .theme-simorgh .s-hero__art .iwan__line, .theme-simorgh .s-hero__art .iwan__lamp, .theme-simorgh .s-hero__art .slider__nav, .theme-simorgh .s-hero__art .slide__cap { display: none !important; }
  .theme-simorgh .s-hero__art .slide img { width: 100%; height: 100%; object-fit: cover; }
  .theme-simorgh .s-hero__art .slide::after, [dir="rtl"] .theme-simorgh .s-hero__art .slide::after { background: linear-gradient(180deg, rgba(8, 13, 40, .55) 0%, rgba(8, 13, 40, .15) 30%, rgba(8, 13, 40, .72) 62%, rgba(8, 13, 40, .94) 100%); }
  .theme-simorgh .s-hero__art .slider__dots { top: 4.2rem; bottom: auto; }
  .theme-simorgh .s-hero::before { opacity: .12; z-index: 0; pointer-events: none; }
  .theme-simorgh .s-hero__text { position: relative; z-index: 1; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
  .theme-simorgh .s-hero__text .s-kicker { margin-bottom: .4rem; }
  .theme-simorgh .s-hero__text .s-poem--hero { margin-bottom: .2rem; }
  .theme-simorgh .s-hero .s-countdown__grid div { background: rgba(8, 13, 40, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .theme-simorgh .s-hero .btn--ivory { background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .theme-simorgh .s-hero .s-border { position: relative; z-index: 1; }
  .s-hero__scroll { display: grid; }
}
.s-hero__scroll { display: none; }

/* ---- 2.0 · Phone sign-in & sign-up: no slider, the whole form is visible ---- */
@media (max-width: 979px) {
  .area-auth .auth-split__art { display: none !important; }
  .area-auth .auth-split__form { padding-top: 1rem; }
}

/* ---- 2.0 · Header tools: notification bell, unpaid invoice, equal heights ---- */
.htools { gap: .4rem; }
.htool, .umenu__btn { height: 40px; }
.htool { width: 40px; }
.umenu__btn { padding-block: 3px; box-sizing: border-box; }
.umenu__av { width: 32px; height: 32px; }
.htool--badge { position: relative; }
.htool__count { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center; font: 800 .66rem/1 var(--font-body); color: #fff; background: #E11D48; box-shadow: 0 0 0 2px var(--surface, #fff); }
.htool--invoice { color: #B0173F; border-color: rgba(176, 23, 63, .35); background: rgba(176, 23, 63, .06); }
.htool--invoice .htool__count { background: #B0173F; }
@media (prefers-reduced-motion: no-preference) {
  .htool.has-new .htool__count { animation: badge-pop .5s var(--ease-spring, ease) both, badge-pulse 2.4s ease-in-out 1s infinite; }
  .htool.has-new .htool__bell { transform-origin: 50% 8%; animation: ico-ring 1.2s ease-in-out 1.2s 2; }
}
@keyframes badge-pop { from { transform: scale(0); } }
@keyframes badge-pulse { 50% { box-shadow: 0 0 0 2px var(--surface, #fff), 0 0 0 6px rgba(225, 29, 72, .25); } }
[data-mode="dark"] .htool__count { box-shadow: 0 0 0 2px #12172F; }
[data-mode="dark"] .htool--invoice { color: #FF8FAB; background: rgba(255, 143, 171, .08); border-color: rgba(255, 143, 171, .3); }
@media (max-width: 960px) {
  .site-header__in { gap: .35rem; }
  .site-header .htools { gap: .3rem; margin-inline-start: auto; margin-inline-end: 0; }
  .htool, .umenu__btn, .nav__toggle { height: 38px; }
  .htool { width: 38px; }
  .umenu__btn { width: 38px; padding: 2px; justify-content: center; }
  .umenu__av { width: 32px; height: 32px; }
  .site-header .brand__sub { font-size: .66rem; }
}
@media (max-width: 380px) { .site-header .brand__sub { display: none; } .htools { gap: .2rem !important; } .htool, .umenu__btn, .nav__toggle { width: 34px; height: 34px; } .umenu__av { width: 28px; height: 28px; } }

/* back-to-top sits above the WhatsApp button on phones, a little bigger */
@media (max-width: 960px) {
  .totop { width: 46px !important; height: 46px !important; inset-inline-end: auto; }
  .totop .glyph { width: 22px; height: 22px; }
  body:has(.wa--end) .totop { inset-inline-end: 19px; inset-inline-start: auto; }
  body:has(.wa--start) .totop { inset-inline-start: 19px; inset-inline-end: auto; }
  body:has(.app-tabs) .totop { bottom: calc(160px + env(safe-area-inset-bottom)) !important; }
  body:not(:has(.wa)) .totop { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
}

/* ---- 2.0 · Photo protection: watermark layer over contestant photos and the zoom view ---- */
[data-protect] { --wm: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22260%22%20height%3D%22170%22%3E%3Cg%20transform%3D%22rotate%28-28%20130%2085%29%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-weight%3D%22700%22%20font-size%3D%2217%22%20text-anchor%3D%22middle%22%3E%3Ctext%20x%3D%22130%22%20y%3D%2280%22%20fill%3D%22%23000%22%20fill-opacity%3D%22.18%22%3Eipntv2.com%20%C2%B7%20IPN%20TV%3C/text%3E%3Ctext%20x%3D%22129%22%20y%3D%2279%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.34%22%3Eipntv2.com%20%C2%B7%20IPN%20TV%3C/text%3E%3C/g%3E%3C/svg%3E"); }
[data-protect] .lightbox.is-open::after {
  content: ""; position: absolute; inset: auto 0 0; height: 70px; z-index: 2; pointer-events: none; background: var(--wm) 0 50% / 260px 170px repeat-x, linear-gradient(0deg, rgba(8, 12, 32, .9), transparent); }
[data-protect] .lightbox img { pointer-events: none !important; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
[data-protect] .lightbox.is-open::before { content: "© IPN TV · ipntv2.com"; position: absolute; z-index: 3; bottom: 16px; left: 50%; transform: translateX(-50%); padding: .35rem .8rem; border-radius: 999px; background: rgba(10, 15, 45, .7); color: #F2D892; font: 700 .8rem/1 var(--font-body); pointer-events: none; }
@media (max-width: 960px) { .area-account .totop { bottom: calc(150px + env(safe-area-inset-bottom)) !important; } }

/* ---- 2.0 · Landing: live numbers ---- */
.hstats { position: relative; }
.hstats__grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .hstats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hstats__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.hstat { position: relative; overflow: hidden; display: grid; justify-items: center; gap: .3rem; padding: 1.2rem .8rem 1.1rem; text-align: center; border-radius: 20px; background: linear-gradient(180deg, var(--cardx-bg), var(--cardx-bg2)); border: 1px solid var(--cardx-line); box-shadow: var(--cardx-shadow); transition: transform .4s var(--ease-out, ease); }
.hstat:hover { transform: translateY(-4px); }
.hstat::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #F6DE9C, #C99A3C, #B0173F); }
.hstat__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: #2B1B05; background: linear-gradient(160deg, #F9E6B2, #E2B65A 60%, #C99A3C); box-shadow: 0 8px 18px -10px rgba(185, 129, 26, .9); }
.hstat__ico .glyph { width: 22px; height: 22px; }
.hstat__n { font: 800 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--font-body); color: var(--cardx-ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hstat__l { font-size: .82rem; font-weight: 600; color: var(--cardx-ink2); }

/* ---- 2.0 · Landing: newest contestants, auto-scrolling ---- */
.nm__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.nm__head .btn .glyph { width: 15px; height: 15px; }
.nm__viewport { overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); padding-block: .6rem 1.2rem; }
.nm__track { display: flex; gap: 1rem; width: max-content; animation: nm-scroll var(--nm-dur, 45s) linear infinite; }
.nm__viewport:hover .nm__track, .nm__viewport.is-paused .nm__track { animation-play-state: paused; }
@keyframes nm-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nm__track { animation: none; } .nm__viewport { overflow-x: auto; } }
.nm-card { flex: none; width: 190px; display: grid; gap: .55rem; text-decoration: none; color: inherit; direction: rtl; }
[dir="ltr"] .nm-card, html:not([dir="rtl"]) .nm-card { direction: ltr; }
.nm-card__ph { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 50% 50% 18px 18px / 30% 30% 18px 18px; background: linear-gradient(160deg, #1C2A6E, #0B1236); box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(201, 160, 78, .55), 0 20px 34px -22px rgba(10, 15, 40, .8); transition: transform .5s var(--ease-out, ease); }
.nm-card:hover .nm-card__ph { transform: translateY(-6px); }
.nm-card__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out, ease); }
.nm-card:hover .nm-card__ph img { transform: scale(1.06); }
.nm-card__ph > i { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .35); }
.nm-card__ph > i .glyph { width: 48px; height: 48px; }
.nm-card__badge { position: absolute; z-index: 3; left: 50%; bottom: 10px; transform: translateX(-50%); padding: .2rem .65rem; border-radius: 999px; font: 800 .7rem/1.2 var(--font-body); font-style: normal; color: #2B1B05; background: linear-gradient(180deg, #F6DE9C, #C99A3C); white-space: nowrap; }
.nm-card__body { display: grid; text-align: center; gap: .1rem; }
.nm-card__body strong { font-size: .95rem; color: var(--cardx-ink); }
.nm-card__body small { font-size: .76rem; color: var(--cardx-ink2); }
[data-mode="dark"] .nm-card__ph { box-shadow: 0 0 0 3px #12172F, 0 0 0 4px rgba(201, 160, 78, .5), 0 20px 34px -22px rgba(0, 0, 0, .9); }
@media (max-width: 700px) { .nm-card { width: 150px; } .nm__track { gap: .75rem; } }

/* ---- 2.0 · Landing: top 5 so far ---- */
.top5__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); counter-reset: none; }
@media (min-width: 900px) { .top5__list { grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr; align-items: end; } }
.top5__item a { position: relative; display: grid; gap: .6rem; padding: .7rem .7rem 1rem; border-radius: 22px; text-decoration: none; color: inherit; background: linear-gradient(180deg, var(--cardx-bg), var(--cardx-bg2)); border: 1px solid var(--cardx-line); box-shadow: var(--cardx-shadow); transition: transform .45s var(--ease-out, ease), box-shadow .45s; }
.top5__item a:hover { transform: translateY(-6px); }
.top5__item--1 { grid-column: 1 / -1; }
@media (min-width: 900px) { .top5__item--1 { grid-column: auto; } }
.top5__item--1 a { background: radial-gradient(400px 220px at 50% 0%, rgba(246, 222, 156, .35), transparent 70%), linear-gradient(180deg, var(--cardx-bg), var(--cardx-bg2)); border-color: rgba(201, 160, 78, .8); box-shadow: 0 30px 50px -28px rgba(185, 129, 26, .7); }
.top5__ph { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: linear-gradient(160deg, #1C2A6E, #0B1236); }
.top5__item--1 .top5__ph { aspect-ratio: 4 / 4.4; }
.top5__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out, ease); }
.top5__item a:hover .top5__ph img { transform: scale(1.05); }
.top5__ph > i { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .35); }
.top5__rank { position: absolute; z-index: 4; top: .2rem; inset-inline-start: .2rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(160deg, #3446A3, #15205A); box-shadow: 0 0 0 3px var(--surface, #fff), 0 8px 18px -8px rgba(0, 0, 0, .6); font: 800 1rem/1 var(--font-body); }
.top5__rank .glyph { position: absolute; top: -13px; width: 20px; height: 20px; color: #E2B65A; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .4)); }
.top5__item--1 .top5__rank { width: 54px; height: 54px; font-size: 1.25rem; color: #2B1B05; background: linear-gradient(160deg, #F9E6B2, #E2B65A 55%, #C99A3C); }
.top5__item--2 .top5__rank { color: #1F2937; background: linear-gradient(160deg, #F3F4F6, #C9CED8 60%, #9CA3AF); }
.top5__item--3 .top5__rank { color: #2B1606; background: linear-gradient(160deg, #F6C9A1, #CD7F32 60%, #9A5B21); }
.top5__body { display: grid; gap: .15rem; text-align: center; padding-inline: .2rem; }
.top5__body strong { font-size: 1rem; color: var(--cardx-ink); }
.top5__item--1 .top5__body strong { font-size: 1.2rem; }
.top5__body small { font-size: .78rem; color: var(--cardx-ink2); }
.top5__bar { display: block; height: 6px; margin-top: .45rem; border-radius: 6px; background: rgba(29, 44, 107, .08); overflow: hidden; }
.top5__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #F6DE9C, #C99A3C, #B0173F); transform-origin: 0 50%; }
[dir="rtl"] .top5__bar i { transform-origin: 100% 50%; margin-inline-start: auto; }
@media (prefers-reduced-motion: no-preference) { .top5__item.is-in .top5__bar i, .top5__item:not(.reveal-up) .top5__bar i { animation: bar-grow 1.2s var(--ease-out, ease) .3s both; } }
@keyframes bar-grow { from { transform: scaleX(0); } }
.top5__n { display: inline-flex; justify-content: center; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 700; color: #B0173F; }
.top5__n .glyph { width: 14px; height: 14px; }
[data-mode="dark"] .top5__rank { box-shadow: 0 0 0 3px #12172F, 0 8px 18px -8px rgba(0, 0, 0, .8); }
[data-mode="dark"] .top5__bar { background: rgba(255, 255, 255, .08); }
[data-mode="dark"] .top5__n { color: #FF8FAB; }
@media (max-width: 700px) {
  .hstats__grid { gap: .6rem; }
  .hstat { padding: .9rem .6rem .8rem; border-radius: 18px; }
  .hstat__ico { width: 38px; height: 38px; }
  .top5__list { gap: .6rem; }
  .top5__item a { padding: .55rem .55rem .8rem; border-radius: 18px; }
  .top5__body strong { font-size: .9rem; }
}

/* ---- 2.0 · Contestant hero: background tuned to the portrait + eslimi ornament ---- */
.pro2-hero--tint { background: radial-gradient(900px 520px at 22% 40%, color-mix(in srgb, var(--pc2) 70%, transparent), transparent 62%), radial-gradient(700px 400px at 85% 10%, color-mix(in srgb, var(--pc3) 28%, transparent), transparent 60%), linear-gradient(160deg, var(--pc1), #0B1438 70%, #1C0F33); }
[dir="rtl"] .pro2-hero--tint { background: radial-gradient(900px 520px at 78% 40%, color-mix(in srgb, var(--pc2) 70%, transparent), transparent 62%), radial-gradient(700px 400px at 15% 10%, color-mix(in srgb, var(--pc3) 28%, transparent), transparent 60%), linear-gradient(200deg, var(--pc1), #0B1438 70%, #1C0F33); }
.pro2-hero--tint .pro2-portrait { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 90px -10px color-mix(in srgb, var(--pc2) 85%, transparent); }
.pro2-portrait__orn { position: absolute; z-index: 3; left: 50%; bottom: -2.5%; width: 104%; max-width: none; transform: translateX(-50%); pointer-events: none; -webkit-user-drag: none; user-select: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
.pro2-portrait > a { position: relative; }
.pro2-portrait > a::before { content: ""; position: absolute; inset: auto 0 0; height: 34%; z-index: 1; pointer-events: none; background: linear-gradient(0deg, color-mix(in srgb, var(--pc1, #0B1438) 92%, #000), transparent); border-radius: 0 0 inherit inherit; }
.pro2-portrait .pro-crown { top: 16px; bottom: auto; z-index: 4; }
@media (prefers-reduced-motion: no-preference) {
  .pro2-portrait__orn { animation: orn-in 1.1s var(--ease-out, ease) .2s both; }
}
@keyframes orn-in { from { opacity: 0; transform: translateX(-50%) translateY(12px) scale(.94); } }

.pro2-portrait img.pro2-portrait__orn { height: auto; object-fit: contain; }
.htool--lang { width: auto !important; }
@media (max-width: 960px) { .htool--lang { width: 38px !important; } }
@media (max-width: 700px) {
  .theme-simorgh .s-hero__art .slide::after, [dir="rtl"] .theme-simorgh .s-hero__art .slide::after { background: linear-gradient(180deg, rgba(8, 13, 40, .5) 0%, rgba(8, 13, 40, .35) 22%, rgba(8, 13, 40, .78) 48%, rgba(8, 13, 40, .96) 75%, #080D28 100%); }
  .theme-simorgh .s-hero__text .s-poem--hero figcaption { display: none; }
  .theme-simorgh .s-hero__text .s-poem--hero blockquote { font-size: .95em; }
  .theme-simorgh .s-hero__lead { font-size: .9rem !important; line-height: 1.75; }
  .theme-simorgh .s-hero__in { padding-block: 4.8rem 2rem; }
}
@media (min-width: 900px) {
  .top5__list { display: flex; justify-content: center; align-items: flex-end; gap: 1rem; }
  .top5__item { flex: 0 1 210px; }
  .top5__item--1 { flex-basis: 270px; order: 0; }
}
@media (max-width: 960px) {
  .site-header .container.site-header__in { padding-inline: 10px; }
  .site-header .brand { min-width: 0; flex: 0 1 auto; }
  .site-header .brand__name { font-size: 1.15rem; }
  .site-header .htools { gap: .25rem; }
  .htool, .umenu__btn, .nav__toggle { width: 36px !important; height: 36px !important; border-radius: 11px; }
  .umenu__av { width: 30px; height: 30px; }
  .htool__count { top: -5px; inset-inline-end: -5px; min-width: 17px; height: 17px; font-size: .6rem; }
  .totop { inset-inline-start: 21px !important; inset-inline-end: auto !important; }
  body:has(.wa--end) .totop { inset-inline-end: 21px !important; inset-inline-start: auto !important; }
}
@media (max-width: 400px) { .site-header .brand__sub { display: none; } .site-header .brand img, .site-header .brand__mark, .site-header .brand > svg { width: 28px; height: 28px; } }
@media (max-width: 360px) { .site-header .brand__name { font-size: 1rem; } .htool--lang { display: none !important; } }
.htools { align-items: center; }
.htools > .umenu, .htools > .hauth { display: flex; align-items: center; height: 40px; }
.umenu > summary { display: flex; align-items: center; }
@media (max-width: 960px) { .htools > .umenu { height: 36px; } }

/* ---- 2.1 · Admin sidebar: hover & selected, same language as the applicant area ---- */
.admin .sidebar .mhl { background: rgba(255, 255, 255, .08); border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.admin .sidebar a.side-link { position: relative; border-radius: 13px; transition: color .2s ease, background .25s ease, transform .2s var(--ease-spring, ease); }
.admin .sidebar.has-mhl a.side-link:not([aria-current="page"]):hover { background: transparent; color: #fff; }
.admin .sidebar a.side-link .side-link__label { transition: transform .3s var(--ease-spring, ease); }
.admin .sidebar a.side-link:hover .side-link__label { transform: translateX(3px); }
[dir="rtl"] .admin .sidebar a.side-link:hover .side-link__label { transform: translateX(-3px); }
.admin .sidebar a.side-link .ico--side { transition: transform .35s var(--ease-spring, ease), box-shadow .3s; }
.admin .sidebar a.side-link:hover .ico--side { transform: scale(1.1) rotate(-6deg); }
.admin .sidebar a.side-link:active { transform: scale(.98); }
.admin .sidebar a.side-link[aria-current="page"], .theme-golestan .sidebar a.side-link[aria-current="page"], .theme-simorgh .sidebar a.side-link[aria-current="page"],
[dir="rtl"] .theme-golestan .sidebar a.side-link[aria-current="page"], [dir="rtl"] .theme-simorgh .sidebar a.side-link[aria-current="page"] {
  background: linear-gradient(135deg, rgba(246, 222, 156, .22), rgba(201, 154, 60, .1)); color: #fff; box-shadow: inset 0 0 0 1px rgba(242, 216, 146, .35), 0 10px 22px -14px rgba(0, 0, 0, .9); }
.admin .sidebar a.side-link[aria-current="page"]::after { content: ""; position: absolute; inset-inline-start: -1px; top: 50%; width: 4px; height: 22px; margin-top: -11px; border-radius: 4px; background: linear-gradient(180deg, #F6DE9C, #C99A3C); box-shadow: 0 0 10px rgba(242, 216, 146, .8); }
.admin .sidebar a.side-link[aria-current="page"] .ico--side { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 0 14px rgba(242, 216, 146, .6); }
.admin .sidebar a.side-link[aria-current="page"] .side-link__label > span:last-child { color: #F6DE9C; }
@media (prefers-reduced-motion: no-preference) { .admin .sidebar a.side-link[aria-current="page"] { animation: nav-sel .45s var(--ease-spring, ease); } }

/* ---- 2.1 · "Your path to the stage": full width like the sections around it ---- */
.s-journey { position: relative; background: linear-gradient(180deg, #FFFDF8, #F7EEDB); padding-block: 4.6rem; }
.s-journey::before, .s-journey::after { content: ""; position: absolute; inset-inline: 0; height: 26px; background: url("/shayesteh/assets/img/simorgh/border.svg") repeat-x; background-size: auto 26px; }
.s-journey::before { top: 0; } .s-journey::after { bottom: 0; }
.s-journey .s-manuscript, .s-journey .s-manuscript[class] { background: transparent; border: 0; outline: 0; box-shadow: none; border-radius: 0; padding: 0; }
.s-journey .s-manuscript::before, .s-journey .s-manuscript::after { display: none; }
@media (min-width: 900px) { .s-journey .s-steps { gap: 1.2rem; } }
html[data-mode="dark"] .s-journey { background: linear-gradient(180deg, #10153A, #151A3F); }
html[data-mode="dark"] .s-journey .s-manuscript { background: transparent; box-shadow: none; }
@media (max-width: 700px) { .s-journey { padding-block: 3.2rem; } .s-journey .s-manuscript { padding: 0 !important; } .s-journey .s-manuscript .s-head { padding-inline: 0; } .s-journey .s-steps { margin-inline: -16px; } }

/* ---- 2.1 · Voter prize draw band ---- */
.raffle { position: relative; overflow: hidden; color: #F6F1E4; background: radial-gradient(700px 360px at 85% 50%, rgba(246, 222, 156, .25), transparent 60%), linear-gradient(120deg, #3A0F2A, #7A1238 45%, #B0173F); padding-block: 2.6rem; isolation: isolate; }
[dir="rtl"] .raffle { background: radial-gradient(700px 360px at 15% 50%, rgba(246, 222, 156, .25), transparent 60%), linear-gradient(240deg, #3A0F2A, #7A1238 45%, #B0173F); }
.raffle::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/shayesteh/assets/img/simorgh/tile.svg") 0 0 / 80px; opacity: .14; }
.raffle__in { display: grid; gap: 1.4rem; align-items: center; }
@media (min-width: 860px) { .raffle__in { grid-template-columns: auto 1fr auto; gap: 2rem; } }
.raffle__art { position: relative; width: 130px; height: 120px; margin-inline: auto; }
.raffle__ticket, .raffle__gift { position: absolute; display: grid; place-items: center; border-radius: 24px; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .7); }
.raffle__ticket { width: 84px; height: 84px; inset-inline-start: 0; top: 18px; color: #fff; background: linear-gradient(145deg, #E0476B, #8E1233); transform: rotate(-14deg); }
.raffle__gift { width: 92px; height: 92px; inset-inline-end: 0; top: 4px; color: #2B1B05; background: linear-gradient(160deg, #F9E6B2, #E2B65A 55%, #C99A3C); transform: rotate(8deg); }
.raffle__ticket .glyph { width: 40px; height: 40px; } .raffle__gift .glyph { width: 46px; height: 46px; }
.raffle__art i { position: absolute; width: 8px; height: 8px; background: #FFF4D2; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.raffle__art i:nth-of-type(1) { top: 0; left: 40%; } .raffle__art i:nth-of-type(2) { top: 50%; left: -10px; width: 11px; height: 11px; } .raffle__art i:nth-of-type(3) { bottom: 0; right: 10%; } .raffle__art i:nth-of-type(4) { top: 8px; right: -8px; width: 6px; height: 6px; } .raffle__art i:nth-of-type(5) { bottom: 10px; left: 30%; width: 6px; height: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .raffle__gift { animation: raffle-bob 3.6s ease-in-out infinite; } .raffle__ticket { animation: raffle-bob2 4.2s ease-in-out infinite; }
  .raffle__art i { animation: cat2-twinkle 2.4s ease-in-out infinite; } .raffle__art i:nth-of-type(2n) { animation-delay: .8s; } .raffle__art i:nth-of-type(3n) { animation-delay: 1.5s; }
}
@keyframes raffle-bob { 50% { transform: rotate(4deg) translateY(-8px); } }
@keyframes raffle-bob2 { 50% { transform: rotate(-18deg) translateY(4px); } }
.raffle__kicker { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 800; color: #F6DE9C; background: rgba(246, 222, 156, .12); box-shadow: inset 0 0 0 1px rgba(246, 222, 156, .4); }
.raffle__kicker .glyph { width: 14px; height: 14px; }
.raffle h2 { margin: .5rem 0 .4rem; color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; }
.raffle p { margin: 0; color: rgba(246, 241, 228, .85); line-height: 1.75; max-width: 62ch; }
.raffle p strong { color: #F6DE9C; }
.raffle__acts { display: flex; gap: .6rem; flex-wrap: wrap; }
@media (max-width: 859px) { .raffle__text { text-align: center; } .raffle p { margin-inline: auto; } .raffle__acts { justify-content: center; } }
.raffle--compact { padding: 1.2rem !important; border: 0 !important; margin-top: 1rem; }
.raffle--compact .raffle__in { grid-template-columns: auto 1fr; }
.raffle--compact .raffle__art { width: 90px; height: 84px; }
.raffle--compact .raffle__ticket { width: 58px; height: 58px; border-radius: 16px; } .raffle--compact .raffle__gift { width: 62px; height: 62px; border-radius: 16px; }
.raffle--compact .raffle__ticket .glyph, .raffle--compact .raffle__gift .glyph { width: 28px; height: 28px; }
.raffle--compact h2 { font-size: 1.15rem; } .raffle--compact p { font-size: .86rem; }
.raffle--compact .raffle__acts { grid-column: 1 / -1; }
.vote-card__raffle { display: flex; align-items: center; gap: .5rem; margin-top: .7rem; padding: .55rem .7rem; border-radius: 12px; font-size: .8rem; font-weight: 600; line-height: 1.45; text-decoration: none; color: #8E1233; background: rgba(176, 23, 63, .07); border: 1px dashed rgba(176, 23, 63, .35); }
.vote-card__raffle .glyph { width: 18px; height: 18px; flex: none; }
[data-mode="dark"] .vote-card__raffle { color: #FF9EB5; background: rgba(255, 158, 181, .08); }

/* ---- 2.1 · My votes ---- */
.myv-sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.myv-sum > div:not(.myv-sum__raffle) { padding: .8rem 1rem; border-radius: 16px; background: var(--porcelain); display: grid; }
.myv-sum b { font-size: 1.5rem; color: var(--ink); }
.myv-sum span { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.myv-sum__raffle { grid-column: 1 / -1; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .7rem .9rem; border-radius: 14px; background: rgba(176, 23, 63, .06); border: 1px dashed rgba(176, 23, 63, .35); color: #8E1233; }
.myv-sum__raffle .glyph { width: 20px; height: 20px; }
.myv-sum__raffle span { flex: 1; font-size: .85rem; font-weight: 600; color: inherit; }
.myv-sum__raffle a { font-size: .82rem; font-weight: 700; color: #8E1233; }
.myv { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.myv__row { display: flex; align-items: center; gap: .8rem; padding: .6rem .7rem; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .25s var(--ease-out, ease); }
.myv__row:hover { border-color: rgba(201, 160, 78, .6); transform: translateY(-1px); }
.myv__ph { width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, #1C2A6E, #0B1236); color: rgba(255, 255, 255, .5); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(201, 160, 78, .6); }
.myv__ph img { width: 100%; height: 100%; object-fit: cover; }
.myv__main { flex: 1; min-width: 0; display: grid; gap: .1rem; }
.myv__main strong { font-size: .95rem; color: var(--ink); display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.myv__main small { font-size: .78rem; color: var(--ink-3); }
.myv__n { display: inline-flex; align-items: center; gap: .25rem; color: #B0173F; font-weight: 800; }
.myv__n .glyph { width: 16px; height: 16px; }
.raffle-win { display: flex; gap: 1rem; align-items: center; color: #2B1B05; background: linear-gradient(135deg, #F9E6B2, #E2B65A) !important; border: 0 !important; }
.raffle-win__ico { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 16px; background: #B0173F; color: #fff; }
.raffle-win p { margin: .2rem 0 0; font-size: .9rem; }
[data-mode="dark"] .myv-sum > div:not(.myv-sum__raffle) { background: rgba(255, 255, 255, .05); }
[data-mode="dark"] .myv__row { background: rgba(255, 255, 255, .03); }
@media (max-width: 560px) { .myv__row { flex-wrap: wrap; } .myv__row .btn { width: 100%; } }
@media (max-width: 700px) {
  .hstats__grid { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: .7rem; margin-inline: -16px; padding: .2rem 16px .9rem; scroll-padding-inline: 16px; }
  .hstats__grid::-webkit-scrollbar { display: none; }
  .hstat { flex: 0 0 44%; scroll-snap-align: start; }
  [data-autorail] { scroll-behavior: smooth; }
}

/* ---- 2.1 · Sign-up choices: same size, single line ---- */
.opts { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.opt { min-width: 0; }
.opt__box { min-width: 0; height: 100%; min-height: 50px; padding: .4rem .6rem; gap: .5rem; }
.opt__ico { width: 20px; height: 20px; }
.opt__txt { min-width: 0; }
.opt__txt b, .opt__txt small, .opt__txt small[class] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.opt__txt b { font-size: .86rem; }
.opt__txt small { font-size: .7rem; }
.reg-grid .opts .opt__box { min-height: 46px; }
@media (min-width: 980px) and (max-height: 940px) { .reg-grid .opts .opt__box { min-height: 44px; } }

/* 2.2 · "U.S. residents only" note on the application form */
.us-note { display: inline-flex; align-items: center; gap: .45rem; margin: .4rem 0 0; padding: .35rem .75rem; border-radius: 999px; background: var(--lapis-soft, #EEF1FB); color: var(--lapis, #1D2C6B); font-weight: 700; font-size: .85rem; }
.us-note .glyph { width: 15px; height: 15px; flex: none; }
.theme-stage .us-note { background: #FFF1D6; color: #8A5A00; }

/* Category card actions (apply · see contestants) — every theme */
.cat-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1rem; }
.cat-acts .btn { flex: 1 1 auto; justify-content: center; min-height: 40px; }
.cat-acts .glyph { width: 16px; height: 16px; }
.g-cat .cat-acts, .cat .cat-acts { justify-content: flex-start; }
.cat2 .cat-acts { width: 100%; margin-top: .4rem; }
@media (max-width: 560px) { .cat-acts .btn { font-size: .8rem; padding-inline: .7rem; } }
.g-cat, .cat { display: flex; flex-direction: column; }
.g-cat .cat-acts, .cat .cat-acts { margin-top: auto; padding-top: 1rem; }
.g-cat { align-items: flex-start; }
.g-cat .cat-acts, .cat .cat-acts { width: 100%; }
.cat-acts .btn--ghost { border: 1.5px solid color-mix(in srgb, currentColor 28%, transparent); }
.cat-acts .btn--ghost:hover { border-color: currentColor; }

/* Slides: phones crop the desktop picture around the admin-chosen focal point */
.slide picture, .slide picture img { display: block; width: 100%; height: 100%; }
@media (max-width: 760px) { img[style*="--fp"]:not([data-has-m]) { object-position: var(--fp) !important; } }

/* ==== 2.3 Header: coloured menu icons, IPN TV button, phone drawer ==================================== */
.nv { --nv: #2563EB; flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; font-style: normal;
  color: var(--nv); background: color-mix(in srgb, var(--nv) 14%, transparent); transition: transform .45s cubic-bezier(.34,1.56,.64,1), background-color .25s, color .25s, box-shadow .3s; }
.nv .glyph { width: 16px; height: 16px; }
.nv--home { --nv: #3B82F6; } .nv--people { --nv: #F59E0B; } .nv--rules { --nv: #8B5CF6; } .nv--faq { --nv: #14B8A6; }
.nv--login { --nv: #22C55E; } .nv--contact { --nv: #EC4899; } .nv--me { --nv: #F43F5E; }
[data-mode="dark"] .nv { background: color-mix(in srgb, var(--nv) 24%, transparent); color: color-mix(in srgb, var(--nv) 72%, #fff); }
.site-header .nav a .nv { margin-inline-end: .1rem; }
.site-header .nav a:hover .nv, .drawer__nav a:hover .nv { transform: translateY(-2px) rotate(-8deg) scale(1.08); }
.site-header .nav a:hover .nv .glyph, .drawer__nav a:hover .nv .glyph { animation: nv-pop .5s ease; }
.site-header .nav a[aria-current="page"] .nv, .drawer__nav a[aria-current="page"] .nv { color: #fff; background: linear-gradient(135deg, var(--nv), color-mix(in srgb, var(--nv) 62%, #000)); box-shadow: 0 6px 16px -6px var(--nv); }
@keyframes nv-pop { 0% { transform: scale(1); } 40% { transform: scale(.8); } 75% { transform: scale(1.15); } 100% { transform: scale(1); } }
@media (max-width: 1180px) { .site-header .nav a .nv { display: none; } }

/* IPN TV button — mirrors the event button on the IPN site */
.hdr-ipn { flex: none; display: inline-flex; align-items: center; gap: .5rem; height: 40px; padding-inline: 4px 14px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .88rem; white-space: nowrap;
  color: #fff; background: linear-gradient(120deg, #0E1726, #1D2A44); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 8px 20px -10px rgba(225,29,72,.7); position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; }
.hdr-ipn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); animation: ipn-shine 6s ease-in-out 3s infinite; pointer-events: none; }
.hdr-ipn:hover { transform: translateY(-1px); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 12px 26px -10px rgba(225,29,72,.9); }
.hdr-ipn__logo { display: inline-flex; height: 32px; border-radius: 999px; overflow: hidden; font: 900 .78rem/1 var(--font-display, inherit); letter-spacing: .02em; direction: ltr; }
.hdr-ipn__logo b { display: grid; place-items: center; padding: 0 .45rem 0 .6rem; background: #E11D48; color: #fff; }
.hdr-ipn__logo i { display: grid; place-items: center; padding: 0 .55rem 0 .4rem; background: #fff; color: #0E1726; font-style: normal; }
@keyframes ipn-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (max-width: 1280px) { .hdr-ipn { padding-inline: 4px; } .hdr-ipn__txt { display: none; } }

/* Phone drawer */
.drawer { position: fixed; inset: 0; z-index: 120; background: rgba(8,6,24,.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s ease; }
.drawer.is-open { opacity: 1; }
.drawer__panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(88vw, 370px); display: flex; flex-direction: column; gap: 14px; padding: max(16px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
  background: var(--surface, #fff); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; transform: translateX(-104%); transition: transform .45s cubic-bezier(.22,1,.36,1); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
[dir="rtl"] .drawer__panel { transform: translateX(104%); }
.drawer.is-open .drawer__panel { transform: none; }
html.drawer-lock, html.drawer-lock body { overflow: hidden; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-bottom: 6px; }
.drawer__top .brand { min-width: 0; }
.drawer__x { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
.drawer__x .glyph { width: 20px; height: 20px; }
.drawer__cta { justify-content: center; min-height: 50px; font-size: 1rem; }
.drawer__nav { display: flex; flex-direction: column; gap: 4px; }
.drawer__nav a { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 12px; border-radius: 14px; color: inherit; text-decoration: none; font-weight: 700; font-size: 1.02rem; transition: background-color .2s; }
.drawer__nav a > span { flex: 1; }
.drawer__nav a:hover, .drawer__nav a[aria-current="page"] { background: color-mix(in srgb, currentColor 7%, transparent); }
.drawer__nav .nv { width: 38px; height: 38px; border-radius: 12px; }
.drawer__nav .nv .glyph { width: 20px; height: 20px; }
.drawer__chev { width: 18px; height: 18px; opacity: .35; }
.drawer.is-open .drawer__nav a { animation: drawer-in .5s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(80ms + var(--i, 0) * 45ms); }
@keyframes drawer-in { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
[dir="rtl"] .drawer.is-open .drawer__nav a { animation-name: drawer-in-rtl; }
@keyframes drawer-in-rtl { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.drawer__ipn { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; text-decoration: none; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #E11D48 0%, #7F1D3A 38%, #0E1726 75%); box-shadow: 0 16px 34px -18px rgba(225,29,72,.8); }
.drawer__ipn > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.drawer__ipn strong { font-size: .98rem; }
.drawer__ipn small { font-size: .78rem; opacity: .8; }
.drawer__ipn > .glyph { width: 20px; height: 20px; }
.drawer__row { display: flex; gap: 8px; }
.drawer__pill { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: inherit; font: 700 .9rem var(--font-body, inherit); text-decoration: none; cursor: pointer; }
.drawer__pill .glyph { width: 18px; height: 18px; }
.drawer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.drawer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: inherit; }
.drawer__social .glyph { width: 19px; height: 19px; }
@media (max-width: 960px) {
  .site-header .nav, .site-header .nav.is-open { display: none !important; }
  .site-header .hauth__cta, .site-header .hauth__login { display: none !important; }
}
@media (min-width: 961px) { .drawer { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer__panel, .drawer__nav a, .nv, .hdr-ipn { transition: none !important; animation: none !important; } .hdr-ipn::after { display: none; } }
.pwa { --pwa-accent: #C9963A; --pwa-accent-2: #8A5A12; }

/* ==== 2.3 Footer: IPN + install actions; on phones an app-style footer ================================= */
.foot__acts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.foot__ipn, .foot__install { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding-inline: 5px 14px; border-radius: 999px; font: 700 .86rem var(--font-body, inherit); text-decoration: none; cursor: pointer; }
.site-footer .foot__ipn { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); opacity: 1; }
.site-footer .foot__ipn:hover { background: rgba(225,29,72,.22); border-color: rgba(225,29,72,.6); }
.foot__install { padding-inline: 14px; border: 0; color: #2A1700; background: linear-gradient(135deg, #FFE08A, #F5B700); box-shadow: 0 10px 24px -12px rgba(245,183,0,.8); }
.foot__install[hidden] { display: none; }
.foot__install .glyph { width: 17px; height: 17px; }
.foot-quick, .foot__social--m { display: none; }
@media (max-width: 700px) {
  .site-footer { padding-top: 2rem; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .foot__brand { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 1.2rem !important; }
  .foot__brand .brand { justify-content: center; }
  .foot__brand p { margin: .7rem auto 1rem; font-size: .88rem; line-height: 1.75; }
  .foot__counter { justify-items: center; }
  .foot__acts { justify-content: center; width: 100%; }
  .foot__acts > * { flex: 1 1 140px; justify-content: center; }
  .foot__social--m { display: flex; justify-content: center; gap: .55rem; margin-top: 1rem; }
  .site-footer .foot__social--m a { width: 44px; height: 44px; border-radius: 50%; }
  .site-footer .soc--youtube:hover { background: #FF0033; } .site-footer .soc--instagram:hover { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
  .site-footer .soc--telegram:hover { background: #229ED9; } .site-footer .soc--facebook:hover { background: #1877F2; } .site-footer .soc--x:hover, .site-footer .soc--tiktok:hover { background: #000; }
  .foot-quick { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: .4rem 0 1rem; }
  .site-footer .fq { display: flex; align-items: center; gap: .6rem; min-height: 60px; padding: .55rem .7rem; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; opacity: 1; font-weight: 700; font-size: .88rem; line-height: 1.3; text-decoration: none; transition: transform .2s, background-color .2s; }
  .site-footer .fq:active { transform: scale(.97); background: rgba(255,255,255,.12); }
  .fq .nv { width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,.08); color: color-mix(in srgb, var(--nv) 75%, #fff); }
  .fq .nv .glyph { width: 18px; height: 18px; }
  .fq--apply { background: linear-gradient(135deg, rgba(255,46,147,.28), rgba(124,58,237,.22)) !important; border-color: rgba(255,46,147,.35) !important; }
  details.foot__col { border: 1px solid rgba(255,255,255,.1) !important; border-radius: 18px; background: rgba(255,255,255,.04); padding: 0 .9rem; margin-top: .55rem; }
  details.foot__col > summary { padding: .9rem 0 !important; }
  details.foot__col > summary h2 { font-size: .95rem !important; }
  details.foot__col > summary h2 .glyph { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: rgba(255,255,255,.08); }
  details.foot__col ul { grid-template-columns: 1fr !important; gap: .15rem !important; padding-bottom: .7rem !important; }
  .site-footer details.foot__col a { display: flex; padding: .6rem .5rem; border-radius: 12px; font-size: .9rem; }
  .site-footer details.foot__col a:active { background: rgba(255,255,255,.08); }
  details.foot__col[open] { background: rgba(255,255,255,.07); }
  .foot__col--join { display: none !important; }
  .site-footer .foot__base { flex-direction: column; gap: .3rem; margin-top: 1.4rem; text-align: center; font-size: .78rem; }
  .foot__copy { line-height: 1.7; }
}

/* ==== 2.3 Sign-in pages: icon headers, hints, and a full-screen form on phones ======================== */
.auth-card__mark--ic { color: #fff; background: linear-gradient(145deg, #E9C77B, #C9963A 55%, #8A5A12) !important; box-shadow: 0 14px 30px -14px rgba(150,100,20,.9) !important; }
.auth-card__mark--ic .glyph { width: 28px; height: 28px; }
.auth-card__mark--ok { background: linear-gradient(145deg, #34D399, #059669) !important; box-shadow: 0 14px 30px -14px rgba(5,150,105,.85) !important; }
.auth-card__mark--rose { background: linear-gradient(145deg, #FB7185, #E11D48) !important; box-shadow: 0 14px 30px -14px rgba(225,29,72,.85) !important; }
.auth-card__mark--gold { background: linear-gradient(145deg, #FCD34D, #F59E0B) !important; box-shadow: 0 14px 30px -14px rgba(245,158,11,.85) !important; }
.auth-hint { display: flex; align-items: center; gap: .7rem; margin: .2rem 0 .4rem; padding: .8rem .9rem; border-radius: 14px; background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink-2); font-size: .86rem; line-height: 1.65; }
.auth-hint .glyph { flex: none; width: 20px; height: 20px; color: #059669; }
.auth-card--2fa .otp { margin-block: .4rem .6rem; }
.auth-card--2fa .otp__box { width: 54px !important; height: 64px; }
.auth-card--2fa .otp__row { gap: .55rem; }
.auth-trust { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 1rem 0 0; color: var(--ink-3); font-size: .8rem; }
.auth-trust .glyph { width: 14px; height: 14px; }
.auth-card .fld__box input { min-height: 52px; font-size: 1rem; }
@media (max-width: 700px) {
  .area-auth .auth-split__art { display: none !important; }
  .area-auth .auth-split { min-height: 0; }
  .area-auth .auth-split__form, .auth-split__form { padding: 0 !important; min-height: calc(100dvh - 68px); justify-content: flex-start; background: radial-gradient(120% 40% at 100% 0%, color-mix(in srgb, var(--lapis, #3D5BD9) 12%, transparent), transparent 70%), var(--surface); }
  .auth--card { padding: 0 !important; display: block; max-width: none !important; width: 100%; }
  .auth--card .panel.auth-card, .area-auth .auth-split__form .auth .auth-card { max-width: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important;
    padding: 2rem 20px calc(110px + env(safe-area-inset-bottom)) !important; min-height: calc(100dvh - 68px); display: flex; flex-direction: column; }
  .auth-card__head { margin-bottom: 1.6rem; }
  .auth-card .auth-card__head:not(.auth-card__head--row) { text-align: start; }
  .auth-card__mark--ic { width: 60px; height: 60px; border-radius: 18px; margin-bottom: 1rem; }
  .area-auth .auth .auth-card h1, .auth-card h1 { font-size: 1.85rem; }
  .auth-card__foot { margin-top: auto; border-top: 0; padding-top: 1.4rem; }
  .auth-trust { display: none; }
  .auth-card--2fa .otp__row { justify-content: space-between; gap: .4rem; }
  .auth-card--2fa .otp__box { width: 100% !important; max-width: 58px; height: 60px; }
}

/* 2FA is on (2.3) */
.tfa-on { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(5,150,105,.05)); border: 1px solid rgba(16,185,129,.3); }
.tfa-on__shield { position: relative; flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #34D399, #059669); box-shadow: 0 12px 26px -12px rgba(5,150,105,.9); }
.tfa-on__shield .glyph { width: 27px; height: 27px; }
.tfa-on__shield i { position: absolute; inset: -4px; border-radius: 19px; border: 2px solid rgba(16,185,129,.45); animation: tfa-pulse 2.4s ease-out infinite; }
.tfa-on strong { display: block; color: #047857; font-size: 15.5px; }
html[data-mode="dark"] .tfa-on strong { color: #6EE7B7; }
.tfa-on small { display: block; margin-top: 3px; color: var(--ink-3); font-size: 13px; line-height: 1.5; }
.tfa-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.tfa-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.tfa-list .glyph { flex: none; width: 17px; height: 17px; margin-top: 2px; color: #059669; }
.tfa-off { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.tfa-off summary { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; color: var(--ink-3); font-size: 13.5px; font-weight: 700; list-style: none; }
.tfa-off summary::-webkit-details-marker { display: none; }
.tfa-off summary .glyph { width: 16px; height: 16px; }
.tfa-off[open] summary { margin-bottom: 10px; color: var(--ink); }
.tfa-req { display: flex; gap: 8px; margin: 14px 0 0; color: var(--ink-3); font-size: 13px; }
.tfa-req .glyph { flex: none; width: 16px; height: 16px; margin-top: 2px; }
@keyframes tfa-pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
/* keep the IPN button readable in every theme */
.site-header a.hdr-ipn, .site-header a.hdr-ipn:hover, a.drawer__ipn, a.drawer__ipn strong, a.drawer__ipn > .glyph, .site-footer a.foot__ipn { color: #fff !important; }
.hdr-ipn__logo, .hdr-ipn__logo b, .hdr-ipn__logo i { font-family: "Sora", "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important; font-weight: 900 !important; }
.hdr-ipn__logo i { color: #0E1726 !important; }

/* ==== 2.4 IPN TV button: round IPN badge in the corner, glassy pill ==================================== */
.ipn-round { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; direction: ltr;
  background: radial-gradient(circle at 30% 25%, #FF6B85 0%, #E11D48 45%, #9F1239 100%); box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 6px 16px -6px rgba(225,29,72,.9); }
.ipn-round b { font: 900 .62rem/1 "Sora", "Manrope", system-ui, sans-serif !important; letter-spacing: .02em; color: #fff !important; }
/* 2.17.2 · the uploaded IPN logo inside the round colour chip (keeps the circle, drops the "IPN" text) */
.ipn-round .ipn-logo-img { inline-size: 74%; block-size: 74%; object-fit: contain; }
.ipn-round i { position: absolute; top: -2px; inset-inline-end: -2px; width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 2px #fff; }
.ipn-round i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid rgba(34,197,94,.6); animation: ipn-ping 1.8s ease-out infinite; }
@keyframes ipn-ping { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.site-header a.hdr-ipn { gap: .55rem; height: 42px; padding-inline: 4px 14px !important; background: linear-gradient(120deg, rgba(255,255,255,.14), rgba(255,255,255,.04)) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 10px 24px -14px rgba(225,29,72,.8) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header a.hdr-ipn:hover { background: linear-gradient(120deg, rgba(225,29,72,.35), rgba(124,58,237,.18)) !important; }
.hdr-ipn__txt { display: flex; flex-direction: column; line-height: 1.05; }
.hdr-ipn__txt b { font: 900 .82rem/1.1 "Sora", "Manrope", system-ui, sans-serif; letter-spacing: .01em; direction: ltr; }
.hdr-ipn__txt small { font-size: .68rem; font-weight: 700; opacity: .75; }
/* light themes: dark pill so it stands out */
body:not(.theme-stage) .site-header a.hdr-ipn { background: linear-gradient(120deg, #111A2E, #22304D) !important; }
@media (max-width: 1280px) { .site-header a.hdr-ipn { padding-inline: 4px 10px !important; } .hdr-ipn__txt small { display: none; } }
@media (max-width: 960px) { .site-header a.hdr-ipn { padding: 0 !important; width: 42px; justify-content: center; } .hdr-ipn__txt { display: none !important; } }
.drawer__ipn .ipn-round, .foot__ipn .ipn-round { width: 40px; height: 40px; }
.drawer__ipn .ipn-round b, .foot__ipn .ipn-round b { font-size: .7rem !important; }
.foot__ipn { padding-inline: 4px 16px !important; }
@media (prefers-reduced-motion: reduce) { .ipn-round i::after { animation: none; } }
@media (min-width: 961px) and (max-width: 1280px) { .site-header a.hdr-ipn { padding-inline: 4px !important; } }

/* ==== 2.4 Sponsors: big logo cards on an endless marquee ============================================== */
.spn { padding-block: clamp(2.6rem, 6vw, 4.5rem); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ink) 3%, transparent)); overflow: hidden; }
.spn__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .45rem; margin-bottom: 1.8rem; }
.spn__kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0; padding: .35rem .85rem; border-radius: 999px; background: color-mix(in srgb, var(--lapis, #3D5BD9) 10%, transparent); color: var(--lapis, #3D5BD9); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
[dir="rtl"] .spn__kicker { letter-spacing: 0; font-size: .85rem; }
.spn__kicker .glyph { width: 16px; height: 16px; }
.spn__head h2 { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.spn__lead { margin: 0; max-width: 40rem; color: var(--ink-3); }
.spn__view { position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.spn__track { display: flex; gap: 18px; width: max-content; padding-block: 10px 18px; animation: spn-run var(--spn-dur, 40s) linear infinite; }
[dir="rtl"] .spn__track { animation-name: spn-run-rtl; }
.spn__view:hover .spn__track, .spn__view:focus-within .spn__track { animation-play-state: paused; }
.spn__card { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: .55rem; width: 230px; padding: 16px 16px 12px; border-radius: 22px; text-decoration: none; color: var(--ink-2);
  background: var(--surface, #fff); border: 1px solid var(--line); box-shadow: 0 14px 34px -24px rgba(10,15,40,.45); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .3s; }
.spn__logo { display: grid; place-items: center; width: 100%; height: 110px; border-radius: 14px; background: #fff; padding: 12px; }
.spn__logo img { max-width: 100%; max-height: 86px; object-fit: contain; filter: grayscale(.25); transition: filter .3s, transform .4s; }
.spn__name { font-size: .84rem; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spn__go { position: absolute; top: 10px; inset-inline-end: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface, #fff); border: 1px solid var(--line); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .3s; }
.spn__go .glyph { width: 14px; height: 14px; }
a.spn__card:hover { transform: translateY(-6px); border-color: var(--lapis, #3D5BD9); box-shadow: 0 24px 44px -24px rgba(10,15,40,.55); }
a.spn__card:hover .spn__logo img { filter: none; transform: scale(1.05); }
a.spn__card:hover .spn__go { opacity: 1; transform: none; }
.spn__foot { display: flex; justify-content: center; margin-top: 1.2rem; }
.spn__become { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); font-weight: 800; font-size: .92rem; text-decoration: none; transition: border-color .2s, color .2s, background-color .2s; }
.spn__become:hover { border-color: var(--lapis, #3D5BD9); color: var(--lapis, #3D5BD9); }
.spn__become .glyph { width: 18px; height: 18px; }
@keyframes spn-run { to { transform: translateX(-50%); } }
@keyframes spn-run-rtl { to { transform: translateX(50%); } }
@media (max-width: 600px) { .spn__card { width: 170px; border-radius: 18px; padding: 12px 12px 10px; } .spn__logo { height: 84px; } .spn__logo img { max-height: 64px; } }
@media (prefers-reduced-motion: reduce) { .spn__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .spn__track [aria-hidden="true"] { display: none; } }
[data-mode="dark"] .spn__logo { background: #fff; }
.tg-help h3 { display: flex; align-items: center; gap: .5rem; margin-top: 0; }
.tg-help ol { margin: .4rem 0 1rem; padding-inline-start: 1.2rem; display: grid; gap: .45rem; line-height: 1.7; }
.tg-help__acts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }

/* 2.6 · One public account: "Continue with your IPN account" */
.ipn-gate { display: grid; gap: .75rem; margin-top: .4rem; }
.ipn-gate__go { display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 56px; padding: .6rem 1.1rem; border-radius: 16px; background: linear-gradient(120deg, #E11D48, #7C3AED); color: #fff; font: 800 1.02rem/1.2 var(--font-body); text-decoration: none; box-shadow: 0 16px 30px -16px rgba(124, 58, 237, .9); transition: transform .15s, filter .15s; }
.ipn-gate__go:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.06); }
.ipn-gate__go .glyph, .ipn-gate__go svg { width: 18px; height: 18px; }
.ipn-gate__new { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line, rgba(0,0,0,.12)); color: var(--ink); font-weight: 700; text-decoration: none; }
.ipn-gate__new:hover { border-color: #7C3AED; color: var(--ink); }
.ipn-gate__new svg { width: 17px; height: 17px; }
.ipn-gate__why { list-style: none; margin: .4rem 0 0; padding: .9rem 1rem; display: grid; gap: .55rem; border-radius: 14px; background: color-mix(in srgb, #7C3AED 7%, transparent); }
.ipn-gate__why li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
.ipn-gate__why svg { flex: none; width: 17px; height: 17px; margin-top: .15rem; color: #7C3AED; }
.ipn-gate__note { display: flex; gap: .5rem; align-items: flex-start; margin: .4rem 0 0; font-size: .88rem; color: var(--ink-2); }
.ipn-gate__note svg { flex: none; width: 16px; height: 16px; margin-top: .2rem; }
.ipn-gate__note a { color: #7C3AED; font-weight: 700; }
.ipn-gate__team { margin: 1rem 0 0; text-align: center; font-size: .82rem; }
.ipn-gate__team a { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink-3); text-decoration: none; }
.ipn-gate__team a:hover { color: var(--ink); text-decoration: underline; }
.ipn-gate__team svg { width: 14px; height: 14px; }
html[data-mode="dark"] .ipn-gate__why { background: rgba(167, 139, 250, .1); }
html[data-mode="dark"] .ipn-gate__why svg, html[data-mode="dark"] .ipn-gate__note a { color: #C4B5FD; }
/* 2.6.1 · partner network (4UTV) logo beside "Watch" */
.hdr-ipn__watch { display: inline-flex; align-items: center; gap: 4px; }
.hdr-ipn__watch img { height: 13px; width: auto; border-radius: 3px; opacity: 1; }
/* 2.6.3 · member pages inside the IPN account: content only, transparent page */
body.is-embed { background: transparent !important; min-height: 0; }
body.is-embed::before, body.is-embed::after { display: none !important; }
.emb { padding: 4px 2px 24px; max-width: none; }
.emb > .container { padding: 0; }

/* ===== 2.7 · IPN account chip (no sign-in / sign-up buttons on this site) + both votes of a stage ===== */
.hipn { position: relative; display: inline-flex; align-items: center; gap: .45rem; height: 40px; padding: 3px .8rem 3px 3px; margin-inline-start: .35rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap; box-sizing: border-box; transition: border-color .15s, box-shadow .15s, transform .15s; }
[dir="rtl"] .hipn { padding: 3px 3px 3px .8rem; }
.hipn:hover { border-color: #C9963A; box-shadow: 0 6px 18px -10px rgba(201, 150, 58, .8); transform: translateY(-1px); color: var(--ink); }
.hipn__av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.hipn__av--txt, .hipn__av--ic { display: grid; place-items: center; background: linear-gradient(135deg, #F2D892, #C9963A); color: #2B1B05; font-weight: 800; }
.hipn__av--ic .glyph { width: 17px; height: 17px; }
.hipn.is-in .hipn__av { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px #22A06B; }
.hipn__n { position: absolute; top: -4px; inset-inline-start: 22px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #E11D48; color: #fff; font: 800 .68rem/18px var(--font-body, inherit); text-align: center; }
@media (max-width: 1180px) { .hipn__txt { display: none; } .hipn, [dir="rtl"] .hipn { padding: 3px; width: 40px; justify-content: center; } }
html[data-mode="dark"] .hipn { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: #E8EBF6; }
.vote-card__form + .vote-card__sub, .vote-card__done + .vote-card__sub { margin-top: .6rem; }
.vote-card__sub { display: flex; gap: .4rem; align-items: center; margin: .5rem 0 0; color: var(--ink-soft, #5B6178); }
.vote-card__sub .glyph, .vote-card__hint .glyph, .vote-card__selflink .glyph { width: 16px; height: 16px; flex: none; }
.vote-card__hint { display: flex; gap: .45rem; align-items: center; margin: 0 0 .6rem; font-weight: 700; color: #9A6B12; }
.vote-card__self { animation: hipnPulse 2.4s ease-in-out infinite; }
.vote-card__selflink { display: flex; gap: .5rem; align-items: center; margin-top: .7rem; padding: .6rem .75rem; border-radius: 12px; background: linear-gradient(135deg, rgba(242, 216, 146, .35), rgba(201, 150, 58, .18)); border: 1px dashed #C9963A; color: #7A5410; font-weight: 700; font-size: .9rem; text-decoration: none; }
.vote-card__selflink span { flex: 1; }
.vote-card__selflink:hover { background: linear-gradient(135deg, rgba(242, 216, 146, .55), rgba(201, 150, 58, .3)); }
html[data-mode="dark"] .vote-card__hint, html[data-mode="dark"] .vote-card__selflink { color: #F2D892; }
html[data-mode="dark"] .vote-card__sub { color: #AEB4CC; }
@keyframes hipnPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(227, 165, 43, .45); } 50% { box-shadow: 0 0 0 8px rgba(227, 165, 43, 0); } }
@media (prefers-reduced-motion: reduce) { .vote-card__self { animation: none; } .hipn:hover { transform: none; } }
.myv-stage { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: .2rem 0 1rem; padding: .75rem .9rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.myv-stage > strong { display: inline-flex; gap: .4rem; align-items: center; margin-inline-end: auto; }
.myv-stage .glyph { width: 17px; height: 17px; }
.myv-stage__it { display: inline-flex; gap: .4rem; align-items: center; padding: .35rem .7rem; border-radius: 999px; font-size: .85rem; }
.myv-stage__it small { opacity: .8; }
.myv-stage__it.is-done { background: rgba(34, 160, 107, .12); color: #157A4B; }
.myv-stage__it.is-wait { background: rgba(225, 29, 72, .1); color: #BE123C; }
.myv__self { display: inline-flex; gap: .25rem; align-items: center; font-size: .72rem; }
.myv__self .glyph { width: 12px; height: 12px; }
/* 2.7 · site version in the footer */
.foot__ver { display: inline-flex; gap: 4px; align-items: center; margin-inline-start: 8px; padding: 2px 9px; border-radius: 99px; background: rgba(127,127,127,.12); font-size: .78rem; }
.foot__ver b { font-weight: 800; }

/* 2.25 · a chat bubble's colour is its body only (a look painted the whole bubble, leaving a pale strip under the time) */
.chat .bub, .bub { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.bub__body { overflow-wrap: anywhere; }

/* css/motion.css */
/* =============================================================================
   Motion 1.6 — the interaction patterns of Animate UI (animate-ui.com), rebuilt
   in plain CSS + a little JS (app.js) because the site runs without React:
   sliding highlight on menus, animated tab indicator, spring switches, checkboxes
   and radios, pop-in dropdown, button press + ripple, smooth accordions, toasts.
   Everything is switched off for people who ask for reduced motion.
   ============================================================================= */
:root {
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --mhl-bg: rgba(29, 44, 107, .07);
}
[data-mode="dark"] { --mhl-bg: rgba(255, 255, 255, .08); }

/* ---- Sliding highlight (menus, sidebars, tabs) ------------------------------ */
[data-mhl] { isolation: isolate; }
.mhl { position: absolute; z-index: -1; left: 0; top: 0; width: 0; height: 0; border-radius: 12px; background: var(--mhl-bg); opacity: 0; pointer-events: none;
  transition: transform .38s var(--ease-out), width .38s var(--ease-out), height .38s var(--ease-out), opacity .2s ease; }
.mhl.is-on { opacity: 1; }
.mhl--line { height: 3px !important; border-radius: 3px; background: var(--saffron, #E3A52B); opacity: 1; }
.admin .sidebar .mhl { background: rgba(255, 255, 255, .09); border-radius: 10px; }
.umenu__panel .mhl { border-radius: 12px; }
.has-mhl > a:not([aria-current="page"]):hover, .has-mhl > form .umenu__out:hover, .has-mhl > form .acc-logout:hover { background-color: transparent; }

/* ---- Icon micro-animations (hover) ------------------------------------------ */
@keyframes ico-pop { 0% { transform: scale(1) rotate(0); } 35% { transform: scale(1.14) rotate(-8deg); } 70% { transform: scale(.96) rotate(4deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes ico-ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(9deg); } 60% { transform: rotate(-6deg); } 75% { transform: rotate(3deg); } }
.site-header .nav a:hover .ico, .acc-nav a:hover .ico, .admin .sidebar a:hover .ico, .foot a:hover .ico, .btn:hover > .glyph:first-child { animation: ico-pop .55s var(--ease-out); }
a:hover .ico [href="#i-bell"], .htool:hover .glyph { transform-origin: 50% 10%; }
.htool--mode:hover .glyph { animation: ico-pop .55s var(--ease-out); }

/* ---- Dropdown (user menu) pops in, items cascade ---------------------------- */
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes item-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.umenu[open] .umenu__panel { transform-origin: top right; animation: pop-in .26s var(--ease-out); }
[dir="rtl"] .umenu[open] .umenu__panel { transform-origin: top left; }
.umenu[open] .umenu__panel > a, .umenu[open] .umenu__panel > form { animation: item-in .32s var(--ease-out) both; }
.umenu[open] .umenu__panel > :nth-child(2) { animation-delay: .03s; } .umenu[open] .umenu__panel > :nth-child(3) { animation-delay: .06s; }
.umenu[open] .umenu__panel > :nth-child(4) { animation-delay: .09s; } .umenu[open] .umenu__panel > :nth-child(5) { animation-delay: .12s; }
.umenu[open] .umenu__panel > :nth-child(6) { animation-delay: .15s; } .umenu[open] .umenu__panel > :nth-child(n+7) { animation-delay: .18s; }
.site-header .nav.is-open { animation: pop-in .28s var(--ease-out); }
.site-header .nav.is-open > a { animation: item-in .34s var(--ease-out) both; }
.site-header .nav.is-open > a:nth-child(2) { animation-delay: .04s; } .site-header .nav.is-open > a:nth-child(3) { animation-delay: .08s; }
.site-header .nav.is-open > a:nth-child(4) { animation-delay: .12s; } .site-header .nav.is-open > a:nth-child(n+5) { animation-delay: .16s; }

/* ---- Buttons: press + ripple ------------------------------------------------- */
.btn, .sso__btn, .htool, .hauth__login, .opt__box, .wa__fab { -webkit-tap-highlight-color: transparent; }
.btn { position: relative; overflow: hidden; transition: transform .18s var(--ease-spring), box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn:active, .sso__btn:active, .htool:active, .hauth__login:active { transform: scale(.965); }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .22; transform: scale(0); animation: ripple .6s var(--ease-out) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---- Switch: spring thumb that stretches while pressed ---------------------- */
.switch i { transition: background-color .25s ease; }
.switch i::after { transition: inset-inline-start .38s var(--ease-spring), width .2s var(--ease-out); }
.switch:active i::after { width: 26px; }
.switch input:checked + i::after { inset-inline-start: 21px; }
.switch:active input:checked + i::after { inset-inline-start: 15px; }
.switch input:focus-visible + i { outline: 3px solid var(--focus, #3D5BD9); outline-offset: 2px; }

/* ---- Checkboxes with an animated tick --------------------------------------- */
.check input[type="checkbox"], .form input[type="checkbox"]:not(.switch input), .admin td input[type="checkbox"], .admin th input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; flex: none; margin: .15rem 0 0; border: 1.5px solid #AEB4C8; border-radius: 6px; background: var(--surface, #fff) center / 0 no-repeat;
  display: inline-grid; place-content: center; cursor: pointer; vertical-align: middle;
  transition: background-color .2s ease, border-color .2s ease, background-size .32s var(--ease-spring), box-shadow .2s ease;
}
.check input[type="checkbox"]:hover, .form input[type="checkbox"]:hover { border-color: var(--lapis); }
.check input[type="checkbox"]:checked, .form input[type="checkbox"]:checked, .admin td input[type="checkbox"]:checked, .admin th input[type="checkbox"]:checked {
  border-color: var(--lapis); background-color: var(--lapis); background-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.check input[type="checkbox"]:focus-visible, .form input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(61, 91, 217, .25); }
.check input[type="checkbox"]:active { transform: scale(.9); }
[data-mode="dark"] .check input[type="checkbox"]:checked, [data-mode="dark"] .form input[type="checkbox"]:checked { background-color: #6C80EA; border-color: #6C80EA; }

/* ---- Accordions (FAQ, rules) open smoothly ---------------------------------- */
@keyframes acc-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
details[open] > :not(summary) { animation: acc-open .32s var(--ease-out); }
details > summary::after { transition: transform .3s var(--ease-spring); }
details[open] > summary::after { transform: rotate(180deg); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease-out), content-visibility .35s allow-discrete; }
  details[open]::details-content { height: auto; }
}

/* ---- Toast-style messages ---------------------------------------------------- */
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
.flashes .alert { position: relative; animation: toast-in .4s var(--ease-out) both; padding-inline-end: 2.6rem; overflow: hidden; }
.flashes .alert + .alert { animation-delay: .08s; }
.alert__x { position: absolute; top: 50%; inset-inline-end: .5rem; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: inherit; opacity: .6; cursor: pointer; font-size: 1.15rem; line-height: 1; }
.alert__x:hover { opacity: 1; background: rgba(0, 0, 0, .06); }
.alert__timer { position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: 100%; background: currentColor; opacity: .25; transform-origin: left; animation: toast-timer 7s linear forwards; }
[dir="rtl"] .alert__timer { transform-origin: right; }
@keyframes toast-timer { to { transform: scaleX(0); } }
.alert.is-leaving { transition: opacity .3s ease, transform .3s ease, max-height .35s ease .1s, margin .35s ease .1s, padding .35s ease .1s; opacity: 0; transform: translateY(-6px); max-height: 0 !important; margin: 0; padding-block: 0; }

/* ---- Cards lift, inputs glow -------------------------------------------------- */
.card, .pro-card, .g-card, .s-card { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
input, select, textarea { transition: border-color .2s ease, box-shadow .25s ease, background-color .2s ease; }

/* ---- In-view reveal for sections (added by app.js) --------------------------- */
.reveal-up { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-up.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-up { opacity: 1; transform: none; }
  .mhl { display: none; }
}

/* css/dark.css */
/* Night mode — generated by tools from the theme stylesheets (see gen_dark.py), plus hand-tuned tokens. */
html[data-mode="dark"], 
/* ---- generated ---- */
html[data-mode="dark"] .alert--success { border-color: #303E50; }
html[data-mode="dark"] .alert--info { border-color: #363B53; }
html[data-mode="dark"] .badge { background: #282C42; }
html[data-mode="dark"] .badge--draft { background: #282C42; }
html[data-mode="dark"] .badge--changes_requested { background: #333445; }
html[data-mode="dark"] .badge--withdrawn { background: #282C42; }
html[data-mode="dark"] .hero__cta .btn:not(.btn--gold):hover { border-color: #414558; }
html[data-mode="dark"] .track li::before { background: #2F3349; }
html[data-mode="dark"] .progress { background: #2F3349; }
html[data-mode="dark"] .challenge { border: 1px solid #3F3E48; }
html[data-mode="dark"] .msg--me { border-color: #373C54; }
html[data-mode="dark"] .table th { background: #292D43; }
html[data-mode="dark"] .table td { border-block-end: 1px solid #3E4156; }
html[data-mode="dark"] .table tbody tr:hover { background: #292D43; }
html[data-mode="dark"] .qr { background: #1E2238; }
html[data-mode="dark"] .doc-page { background: #282B42; }
html[data-mode="dark"] .invoice-alert { border: 1px solid #3D3B41; }
html[data-mode="dark"] .inv-line { border-block-start: 1px solid #3E4156; }
html[data-mode="dark"] .wa__panel { background: #1E2238; border: 1px solid #3C4055; }
html[data-mode="dark"] .wa__bubble { background: #1E2238; color: #989AA1; }
html[data-mode="dark"] .share--x { color: #CBCBCB; }
html[data-mode="dark"] .admin { background: #282C42; }
html[data-mode="dark"] .bar__track { background: #282C42; }
html[data-mode="dark"] .flag { background: #282C42; }
html[data-mode="dark"] .set-row { border-block-end: 1px solid #3E4156; }
html[data-mode="dark"] .switch i::after { background: #1E2238; }
html[data-mode="dark"] .theme-card { background: #1E2238; }
html[data-mode="dark"] .theme-card__art--classic { background: #292C42; }
html[data-mode="dark"] .theme-card__art--classic i:nth-child(1) { background: #1E2238; border: 1px solid #3C4055; }
html[data-mode="dark"] .theme-card__art--classic i:nth-child(3) { background: #1E2238; border: 1px solid #3C4055; }
html[data-mode="dark"] .theme-card__art--golestan i:nth-child(3) { background: linear-gradient(135deg, #1E2238 55%, #2A2B41); }
html[data-mode="dark"] .slide-row { background: #1E2238; }
html[data-mode="dark"] .slide-row__img { background: #282C42; }
html[data-mode="dark"] .slide-form { background: #292D43; }
html[data-mode="dark"] .chip { background: #1E2238; }
html[data-mode="dark"] .delta--up { background: #2F3548; }
html[data-mode="dark"] .delta--down { background: #2A2B41; }
html[data-mode="dark"] .delta--flat { background: #282C42; }
html[data-mode="dark"] .rank li::before { background: #282C43; }
html[data-mode="dark"] .score--low { background: #282C42; }
html[data-mode="dark"] .score--mid { background: #333546; }
html[data-mode="dark"] .score--high { background: #2A2B41; }
html[data-mode="dark"] .ev { background: #282C42; }
html[data-mode="dark"] .ev--probe, html[data-mode="dark"] .ev--honeypot { background: #2A2B41; }
html[data-mode="dark"] .ev--login_failed, html[data-mode="dark"] .ev--rate_limited { background: #333546; }
html[data-mode="dark"] .ev--captcha_failed { background: #282B43; color: #B5A7E4; }
html[data-mode="dark"] .rule { border: 1px solid #3F394F; background: #2A2C42; }
html[data-mode="dark"] .rule.is-expired { background: #1E2238; }
html[data-mode="dark"] .theme-golestan .rank li::before { background: linear-gradient(90deg, #272B42, #2E354A); }
html[data-mode="dark"] .theme-card__art--simorgh i:nth-child(3) { background: #292C41; }
html[data-mode="dark"] .btn--warn { border-color: #3D3A40; }
html[data-mode="dark"] .act-danger__box { background: #1E2238; border: 1px solid #3F394F; }
html[data-mode="dark"] .status-tab { background: #1E2238; }
html[data-mode="dark"] .status-tab b { background: #282C42; }
html[data-mode="dark"] .status-tab--pending_review b { background: #333546; }
html[data-mode="dark"] .status-tab--rejected b { background: #2A2B41; }
html[data-mode="dark"] .status-tab--finalist b, html[data-mode="dark"] .status-tab--winner b { background: #323445; }
html[data-mode="dark"] .seg__opt span { background: #1E2238; }
html[data-mode="dark"] .stages__item { background: #1E2238; }
html[data-mode="dark"] .stages__item.is-done { background: #292D43; }
html[data-mode="dark"] .stages__item--fixed .stages__dot { background: #282C42; }
html[data-mode="dark"] .pill { background: #282C42; }
html[data-mode="dark"] .pill--open { background: #2F3548; }
html[data-mode="dark"] .pill--closed { background: #333546; }
html[data-mode="dark"] .pill--done { background: #282B43; color: #B5A7E4; }
html[data-mode="dark"] .pill--res-advanced, html[data-mode="dark"] .pill--res-wildcard { background: #2F3548; }
html[data-mode="dark"] .pill--res-eliminated { background: #282C42; }
html[data-mode="dark"] .pill--res-runner_up_1, html[data-mode="dark"] .pill--res-runner_up_2 { background: #323445; }
html[data-mode="dark"] .board__total { background: #282C42; }
html[data-mode="dark"] .board tr.res-advanced .board__total, html[data-mode="dark"] .board tr.res-wildcard .board__total, html[data-mode="dark"] .board tr.res-winner .board__total { background: #2F3548; }
html[data-mode="dark"] .finalize-box { background: linear-gradient(135deg, #2A2D40, #323445); border: 1px solid #3D3C44; }
html[data-mode="dark"] .stage-banner { background: #282C43; border: 1px solid #3B3C58; }
html[data-mode="dark"] .theme-golestan .btn--glass:hover { border-color: #414558; }
html[data-mode="dark"] .theme-golestan input[type=text], html[data-mode="dark"] .theme-golestan input[type=email], html[data-mode="dark"] .theme-golestan input[type=password], html[data-mode="dark"] .theme-golestan input[type=tel], html[data-mode="dark"] .theme-golestan input[type=date], html[data-mode="dark"] .theme-golestan input[type=number], html[data-mode="dark"] .theme-golestan input[type=url], html[data-mode="dark"] .theme-golestan select, html[data-mode="dark"] .theme-golestan textarea { background: #292D43; border-color: #3A3F55; }
html[data-mode="dark"] .theme-golestan input:not([type=checkbox]):not([type=radio]):focus, html[data-mode="dark"] .theme-golestan select:focus, html[data-mode="dark"] .theme-golestan textarea:focus { background: #1E2238; }
html[data-mode="dark"] .theme-golestan .choice input:checked + span { background: linear-gradient(135deg, #272B42, #2E354A); }
html[data-mode="dark"] .theme-golestan .nav a:hover, html[data-mode="dark"] .theme-golestan .nav a[aria-current="page"] { background: #282C42; }
html[data-mode="dark"] .g-sponsors { background: #1E2238; }
html[data-mode="dark"] .theme-golestan .acc-nav a:hover { background: #282C42; }
html[data-mode="dark"] .theme-golestan .acc-nav a[aria-current="page"] { background: linear-gradient(135deg, #282C43, #2F354A); }
html[data-mode="dark"] .theme-golestan .invoice-alert { background: linear-gradient(135deg, #333546, #2A2B41); border-color: #403D45; }
html[data-mode="dark"] .admin.theme-golestan { background: #282C42; }
html[data-mode="dark"] .theme-golestan .kpi--green { background: linear-gradient(135deg, #1E2238 60%, #2F3548); }
html[data-mode="dark"] .theme-golestan .kpi--yellow { background: linear-gradient(135deg, #1E2238 60%, #333546); }
html[data-mode="dark"] .theme-golestan .kpi--red { background: linear-gradient(135deg, #1E2238 60%, #2A2B41); }
html[data-mode="dark"] .theme-golestan .table th { background: #292D43; }
html[data-mode="dark"] .theme-simorgh input[type=text], html[data-mode="dark"] .theme-simorgh input[type=email], html[data-mode="dark"] .theme-simorgh input[type=password], html[data-mode="dark"] .theme-simorgh input[type=tel], html[data-mode="dark"] .theme-simorgh input[type=date], html[data-mode="dark"] .theme-simorgh input[type=number], html[data-mode="dark"] .theme-simorgh input[type=url], html[data-mode="dark"] .theme-simorgh select, html[data-mode="dark"] .theme-simorgh textarea { background: #2A2D42; border-color: #3C3C49; }
html[data-mode="dark"] .theme-simorgh .choice input:checked + span { background: #323445; }
html[data-mode="dark"] .theme-simorgh .panel { background: #2A2D42; }
html[data-mode="dark"] .theme-simorgh .nav a:hover, html[data-mode="dark"] .theme-simorgh .nav a[aria-current="page"] { background: #323445; }
html[data-mode="dark"] .iwan__lamp { background: #33333F; }
html[data-mode="dark"] .s-pillars { background: #2A2D42; }
html[data-mode="dark"]:not([dir="rtl"]) .theme-simorgh .s-prose { color: #D5D3DA; }
html[data-mode="dark"] .s-cat__age { background: #2A2D42; }
html[data-mode="dark"] .s-manuscript { background: #2A2D42; }
html[data-mode="dark"] .s-frame__in { background: #323446; }
html[data-mode="dark"] .theme-simorgh .g-qa, html[data-mode="dark"] .theme-simorgh .prose details { background: #2A2D42; }
html[data-mode="dark"] .s-sponsors { background: #2A2D42; }
html[data-mode="dark"] .theme-simorgh .prose .toc { background: #323446; }
html[data-mode="dark"] .theme-simorgh .prose .note { background: #323445; }
html[data-mode="dark"] .theme-simorgh .acc-nav { background: #2A2D42; }
html[data-mode="dark"] .theme-simorgh .acc-nav a[aria-current="page"] { background: #323445; }
html[data-mode="dark"] .theme-simorgh .invoice-alert { background: #323445; }
html[data-mode="dark"] .admin.theme-simorgh { background: #323547; }
html[data-mode="dark"] .theme-simorgh .kpi { background: #2A2D42; }
html[data-mode="dark"] .theme-simorgh .table th { background: #323446; }
html[data-mode="dark"] .theme-simorgh .table-wrap { background: #2A2D42; }
html[data-mode="dark"] .theme-simorgh .rank li::before { background: #323445; }
html[data-mode="dark"] .otp.is-done .otp__box { background: #282D42 !important; }
html[data-mode="dark"] .vote-card.is-open { border-color: #3D3C44; background: linear-gradient(160deg, var(--surface), #2A2D40); }
html[data-mode="dark"] .journey__step.is-out .journey__dot { background: #282C42; }

/* ---- hand-tuned (wins over generated) ---- */
html[data-mode="dark"] body { color-scheme: dark;
  --porcelain: #0E1226; --surface: #161B33; --ink: #ECEEF8; --ink-2: #B9BEDA; --ink-3: #8D93B3; --line: #2A3154;
  --lapis: #6C80EA; --lapis-soft: #232B55; --saffron-soft: #3A2F16; --pomegranate: #FF6B8E; --pomegranate-soft: #3B1823; --firuzeh-soft: #133533;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  --g-bg: #0D1230; --g-card: #151B3A; --g-ink: #ECEEF8; --g-ink-2: #B9BEDA; --g-line: #283058; --g-night: #C9D2FF;
  --g-shadow: 0 1px 2px rgba(0,0,0,.5), 0 14px 34px rgba(0,0,0,.4);
  --s-paper: #0F1430; --s-paper-2: #171C3D; --s-ink: #F1ECDD; --s-ink-2: #C3BCD6; --s-line: #2E3358; --s-lapis: #A9B7FF;
  --lapis-deep: #0A0E22; --font-dummy: 0; }
html[data-mode="dark"] body { background-color: #0E1226; color: #ECEEF8; }
html[data-mode="dark"] .theme-golestan, html[data-mode="dark"] .theme-simorgh { background-color: #0D1230; background-blend-mode: normal; }
html[data-mode="dark"] .theme-golestan::before { background: linear-gradient(180deg, rgba(13,18,48,.94), rgba(13,18,48,.97)); }
html[data-mode="dark"] .theme-simorgh { background-image: none; }
html[data-mode="dark"] h1, html[data-mode="dark"] h2, html[data-mode="dark"] h3, html[data-mode="dark"] h4 { color: #F2F3FB; }
html[data-mode="dark"] .theme-simorgh h1, html[data-mode="dark"] .theme-simorgh h2, html[data-mode="dark"] .theme-simorgh h3 { color: #F1ECDD; }
html[data-mode="dark"] a { color: #A9B7FF; }
html[data-mode="dark"] .btn:not(.btn--gold):not(.btn--primary):not(.btn--ok):not(.btn--glass):not(.btn--ivory):not(.btn--danger):not(.btn--warn):not(.btn--wa):not(.btn--ghost) { background: #1D2342; color: #ECEEF8; border-color: #333B66; }
html[data-mode="dark"] .btn:not(.btn--gold):not(.btn--primary):not(.btn--ok):not(.btn--glass):not(.btn--ivory):not(.btn--danger):not(.btn--warn):not(.btn--wa):not(.btn--ghost):hover { background: #262D55; color: #fff; }
html[data-mode="dark"] .btn--primary { background: #4A5FD6; border-color: #4A5FD6; color: #fff; }
html[data-mode="dark"] .btn--gold { color: #2B1B05; }
html[data-mode="dark"] .btn--warn { background: transparent; color: #F6C46B; border-color: #6B5320; }
html[data-mode="dark"] .btn--ok { background: #1F8A5A; border-color: #1F8A5A; color: #fff; }
html[data-mode="dark"] .btn--danger { background: transparent; color: #FF8BA6; border-color: #6A2A3C; }
html[data-mode="dark"] .btn--danger:hover { background: #B0173F; color: #fff; }
html[data-mode="dark"] .btn--ghost { background: transparent; }
/* 2.17 (R11) · never a `background` SHORTHAND on a tick box: the shorthand resets background-image and
   background-size, so it erases the tick that formcheck.css paints on `.ck__in:checked`. Checkboxes and
   radios bring their own dark palette (formcheck.css, `--ck-*`) and their own accent-color. */
html[data-mode="dark"] input:not([type=checkbox]):not([type=radio]), html[data-mode="dark"] select, html[data-mode="dark"] textarea { background: #11152B !important; color: #ECEEF8; border-color: #333B66 !important; }
html[data-mode="dark"] input::placeholder, html[data-mode="dark"] textarea::placeholder { color: #7D84A6; }
html[data-mode="dark"] .site-header, html[data-mode="dark"] .theme-golestan .site-header, html[data-mode="dark"] .theme-simorgh .site-header { background: rgba(14, 18, 38, .92); border-color: #232A4C; box-shadow: none; }
html[data-mode="dark"] .brand { color: #F2F3FB; }
html[data-mode="dark"] .nav a { color: #D3D7EE; }
html[data-mode="dark"] .site-header .nav a:hover, html[data-mode="dark"] .site-header .nav a[aria-current="page"] { background: #1F2650; color: #fff; }
html[data-mode="dark"] .htool, html[data-mode="dark"] .umenu__btn, html[data-mode="dark"] .umenu__panel, html[data-mode="dark"] .totop, html[data-mode="dark"] .follow__card { background: #161B33; border-color: #2E3560; color: #ECEEF8; }
html[data-mode="dark"] .umenu__panel a:hover, html[data-mode="dark"] .umenu__out:hover { background: #1F2650; }
html[data-mode="dark"] .panel, html[data-mode="dark"] .theme-golestan .panel, html[data-mode="dark"] .theme-simorgh .panel { background: #151B3A; border-color: #283058; }
html[data-mode="dark"] .theme-simorgh .panel::after { border-color: rgba(201, 160, 78, .2); }
html[data-mode="dark"] .table th { background: #1A2044 !important; color: #D8DCF2; }
html[data-mode="dark"] .table td { border-color: #262D52; }
html[data-mode="dark"] .table tr:hover td { background: #1A2044; }
html[data-mode="dark"] .admin, html[data-mode="dark"] .admin.theme-golestan, html[data-mode="dark"] .admin.theme-simorgh { background: #0C1024; }
html[data-mode="dark"] .topbar, html[data-mode="dark"] .theme-golestan .topbar, html[data-mode="dark"] .theme-simorgh .topbar { background: rgba(14, 18, 38, .94); border-color: #232A4C; }
html[data-mode="dark"] .muted, html[data-mode="dark"] .small.muted { color: #9EA4C4; }
html[data-mode="dark"] .alert--info { background: #172042; border-color: #2B3870; color: #D7DCF6; }
html[data-mode="dark"] .alert--success { background: #12301F; border-color: #1E5A3A; color: #C9F0D9; }
html[data-mode="dark"] .alert--error { background: #3A1520; border-color: #6A2A3C; color: #FFD3DD; }
html[data-mode="dark"] .chip, html[data-mode="dark"] .status-tab, html[data-mode="dark"] .seg__opt span, html[data-mode="dark"] .pro-facts li, html[data-mode="dark"] .pro-social a { background: #161B33; border-color: #2E3560; color: #D3D7EE; }
html[data-mode="dark"] .chip.is-on, html[data-mode="dark"] .status-tab.is-on, html[data-mode="dark"] .seg__opt input:checked + span { background: #4A5FD6; border-color: #4A5FD6; color: #fff; }
html[data-mode="dark"] .kpi b, html[data-mode="dark"] .theme-golestan .kpi b, html[data-mode="dark"] .theme-simorgh .kpi b { color: #F2F3FB; }
html[data-mode="dark"] .vote-card.is-open { background: linear-gradient(160deg, #161B33, #2A2412); border-color: #5C4A1E; }
html[data-mode="dark"] .otp.is-done .otp__box { background: #12301F !important; }
html[data-mode="dark"] .site-footer { background-color: #080B1C; }
html[data-mode="dark"] .s-pillars, html[data-mode="dark"] .s-sponsors, html[data-mode="dark"] .g-sponsors { background: #11163A; border-color: #262D52; }
html[data-mode="dark"] .s-manuscript, html[data-mode="dark"] .s-cat__age, html[data-mode="dark"] .g-stat, html[data-mode="dark"] .g-cat, html[data-mode="dark"] .g-step, html[data-mode="dark"] .g-checks li { background: #151B3A; border-color: #2E3358; }
html[data-mode="dark"] .s-cats-wrap, html[data-mode="dark"] .g-section--tint { background: linear-gradient(180deg, transparent, rgba(30, 36, 80, .5)); }
html[data-mode="dark"] .s-frame__in { background: #1A1F42; }
html[data-mode="dark"] .s-prose, html[data-mode="dark"]:not([dir="rtl"]) .theme-simorgh .s-prose { color: #C9C3DC; }
html[data-mode="dark"] .pro-quote { background: #161B33; }
html[data-mode="dark"] .stages__item, html[data-mode="dark"] .theme-card, html[data-mode="dark"] .slide-row, html[data-mode="dark"] .banner, html[data-mode="dark"] .locked__img { background: #151B3A; border-color: #2A3154; }
html[data-mode="dark"] .finalize-box { background: linear-gradient(135deg, #2A2412, #231C0E); border-color: #5C4A1E; }
html[data-mode="dark"] img.thumb, html[data-mode="dark"] .person img { filter: brightness(.95); }

/* css/glass-site.css */
/* ============================================================================================
   Glass Stage — a public site theme (2.4). The Stage layout, re-skinned with frosted glass,
   a soft aurora background and floating stat / step / FAQ cards. Activate in Admin → Appearance.
   ============================================================================================ */
.theme-glass {
  --gl-glass: rgba(255,255,255,.55); --gl-glass2: rgba(255,255,255,.75); --gl-rim: rgba(255,255,255,.85);
  --gl-blur: blur(20px) saturate(180%);
  --gl-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 24px 60px -34px rgba(60,20,140,.45);
  --st-bg: #F5F2FC;
  background: #F5F2FC !important;
  background-image:
    radial-gradient(42rem 34rem at -5% 15%, rgba(167,139,250,.32), transparent 70%),
    radial-gradient(36rem 30rem at 105% 35%, rgba(244,114,182,.26), transparent 70%),
    radial-gradient(40rem 32rem at 30% 75%, rgba(103,232,249,.22), transparent 70%),
    radial-gradient(34rem 28rem at 90% 95%, rgba(253,224,71,.18), transparent 70%) !important;
  background-attachment: fixed !important;
}
html[data-mode="dark"] .theme-glass {
  --gl-glass: rgba(28,22,56,.55); --gl-glass2: rgba(36,30,70,.72); --gl-rim: rgba(255,255,255,.12);
  --gl-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 70px -36px rgba(0,0,0,.9);
  background: #08061A !important;
  background-image:
    radial-gradient(42rem 34rem at -5% 15%, rgba(124,58,237,.35), transparent 70%),
    radial-gradient(36rem 30rem at 105% 35%, rgba(236,72,153,.26), transparent 70%),
    radial-gradient(40rem 32rem at 30% 75%, rgba(6,182,212,.2), transparent 70%) !important;
}

/* header: deep frosted glass that lets the aurora glow through */
.theme-glass .site-header { background: linear-gradient(120deg, rgba(30,12,70,.72), rgba(60,16,90,.62)) !important; border-block-end: 1px solid rgba(255,255,255,.14) !important; box-shadow: 0 14px 40px -22px rgba(60,20,140,.6); -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); }

/* hero: softer, glassy CTA row */
.theme-glass .stg-hero__shade { background: linear-gradient(180deg, rgba(20,8,50,.1) 0%, rgba(20,8,50,.0) 35%, rgba(30,10,70,.72) 100%) !important; }
.theme-glass .stg-hero__cta .stg-btn--glass, .theme-glass .stg-pill { background: rgba(255,255,255,.18) !important; border: 1px solid rgba(255,255,255,.45) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.theme-glass .stg-ribbon { background: linear-gradient(90deg, rgba(124,58,237,.9), rgba(236,72,153,.9), rgba(6,182,212,.9)); }

/* stats: a floating glass strip */
.theme-glass .stg-stats { background: transparent !important; color: var(--st-ink); padding-inline: 16px; }
.theme-glass .stg-stats__in { margin-top: 22px; position: relative; z-index: 3; border-radius: 28px; background: var(--gl-glass2); border: 1px solid var(--gl-rim); box-shadow: var(--gl-shadow); -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); }
.theme-glass .stg-stat + .stg-stat { border-inline-start-color: rgba(60,20,140,.1) !important; }
.theme-glass .stg-stat > span:last-child { color: var(--st-ink-2) !important; }
.theme-glass .stg-stat b { background: linear-gradient(120deg, #7C3AED, #EC4899) !important; -webkit-background-clip: text !important; background-clip: text !important; }
html[data-mode="dark"] .theme-glass .stg-stat b { background: linear-gradient(120deg, #C4B5FD, #F9A8D4) !important; -webkit-background-clip: text !important; background-clip: text !important; }

/* sections float on the aurora */
.theme-glass .stg-sec:not(.stg-sec--dark) { background: transparent !important; }
.theme-glass .stg-cat { border: 1px solid rgba(255,255,255,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 26px 50px -26px color-mix(in srgb, var(--c1) 70%, transparent); }
.theme-glass .stg-cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(255,255,255,.28), transparent 45%); pointer-events: none; }
.theme-glass .stg-steps li { padding: 1.4rem .8rem 1.2rem; border-radius: 24px; background: var(--gl-glass); border: 1px solid var(--gl-rim); box-shadow: var(--gl-shadow); -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); transition: transform .45s cubic-bezier(.16,1,.3,1); }
.theme-glass .stg-steps li:hover { transform: translateY(-6px); }
.theme-glass .stg-steps::before { display: none; }
.theme-glass .g-qa { background: var(--gl-glass) !important; border: 1px solid var(--gl-rim) !important; box-shadow: var(--gl-shadow) !important; -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); }
.theme-glass .g-qa[open] { box-shadow: inset 0 0 0 2px rgba(236,72,153,.35), 0 18px 40px -22px rgba(236,72,153,.6) !important; }
.theme-glass .spn { background: transparent !important; }
.theme-glass .spn__card { background: var(--gl-glass2) !important; border: 1px solid var(--gl-rim) !important; -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); }

/* dark bands keep their night colours but gain a glow edge */
.theme-glass .stg-sec--dark, .theme-glass .stg-vote, .theme-glass .stg-final { margin-inline: clamp(0px, 2vw, 24px); border-radius: clamp(0px, 3vw, 40px); box-shadow: 0 40px 80px -40px rgba(76,29,149,.7); }
.theme-glass .stg-top__item .stg-top__ph { border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 22px 40px -22px rgba(0,0,0,.7); }

/* inner pages (contestants, rules, contact …) */
.theme-glass .panel, .theme-glass .card, .theme-glass .g-card { background: var(--gl-glass) !important; border: 1px solid var(--gl-rim) !important; box-shadow: var(--gl-shadow) !important; -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); border-radius: 24px !important; }

@media (max-width: 720px) {
  .theme-glass .stg-stats__in { margin-top: 14px; border-radius: 22px; }
  .theme-glass .stg-steps li { flex-direction: row; text-align: start; }
}

/* css/prime-core.css */
/* =====================================================================================================
   PRIME (پرایم) · 1.10 / 2.8 — the default look of IPN TV and Mr & Miss Iran.
   A quiet, professional system: neutral canvas, hairline borders, one accent, strong type, short motion.
   Shared primitives (tokens, buttons, fields, cards, tables, tabs, badges, menus, modal, reveal) for both
   platforms. Scoped to <html class="prime-ui">; area files (prime-ipn.css / prime-shy.css) map components.
   ===================================================================================================== */

html.prime-ui {
  /* canvas + surfaces */
  --p-bg: #F6F6F7;
  --p-surface: #FFFFFF;
  --p-surface-2: #F1F1F3;
  --p-surface-3: #E9E9EC;
  --p-line: #E4E4E8;
  --p-line-2: #D2D2D8;
  --p-ink: #111114;
  --p-ink-2: #3B3B43;
  --p-muted: #6F6F7A;
  --p-faint: #9A9AA5;
  /* accent */
  --p-accent: #E8313F;
  --p-accent-ink: #C8202E;
  --p-accent-soft: #FDEBED;
  --p-gold: #B8860B;
  --p-gold-soft: #FBF3DF;
  --p-ok: #15803D; --p-ok-soft: #E7F6EC;
  --p-warn: #B45309; --p-warn-soft: #FDF2E2;
  --p-bad: #B91C1C; --p-bad-soft: #FDECEC;
  --p-info: #1D4ED8; --p-info-soft: #E8EEFC;
  /* shape + motion */
  --p-r: 12px; --p-r-lg: 18px; --p-r-xl: 24px;
  --p-shadow-1: 0 1px 2px rgba(17,17,20,.05), 0 1px 1px rgba(17,17,20,.03);
  --p-shadow-2: 0 2px 4px rgba(17,17,20,.05), 0 12px 32px -16px rgba(17,17,20,.18);
  --p-shadow-3: 0 24px 60px -24px rgba(17,17,20,.3);
  --p-focus: 0 0 0 3px rgba(232,49,63,.22);
  --p-t: 180ms cubic-bezier(.2,.7,.2,1);
  --p-t-slow: 320ms cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
html.prime-ui[data-mode="dark"] {
  --p-bg: #0B0C10;
  --p-surface: #15171C;
  --p-surface-2: #1C1F26;
  --p-surface-3: #242830;
  --p-line: #262930;
  --p-line-2: #343843;
  --p-ink: #F3F3F5;
  --p-ink-2: #C9CAD1;
  --p-muted: #8E909B;
  --p-faint: #5F6170;
  --p-accent: #FF4D5B;
  --p-accent-ink: #FF6B77;
  --p-accent-soft: rgba(255,77,91,.14);
  --p-gold: #E2B343;
  --p-gold-soft: rgba(226,179,67,.14);
  --p-ok: #4ADE80; --p-ok-soft: rgba(74,222,128,.12);
  --p-warn: #FBBF24; --p-warn-soft: rgba(251,191,36,.12);
  --p-bad: #F87171; --p-bad-soft: rgba(248,113,113,.12);
  --p-info: #7AA2FF; --p-info-soft: rgba(122,162,255,.12);
  --p-shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --p-shadow-2: 0 2px 4px rgba(0,0,0,.4), 0 16px 40px -20px rgba(0,0,0,.8);
  --p-shadow-3: 0 30px 70px -30px rgba(0,0,0,.9);
  --p-focus: 0 0 0 3px rgba(255,77,91,.3);
  color-scheme: dark;
}
html.prime-ui body { background: var(--p-bg); color: var(--p-ink); -webkit-font-smoothing: antialiased; }
html.prime-ui ::selection { background: var(--p-accent); color: #fff; }
html.prime-ui { scrollbar-color: var(--p-line-2) transparent; }
html.prime-ui ::-webkit-scrollbar { width: 10px; height: 10px; }
html.prime-ui ::-webkit-scrollbar-thumb { background: var(--p-line-2); border-radius: 99px; border: 3px solid transparent; background-clip: padding-box; }

/* ---------- Buttons ---------------------------------------------------------------------------------- */
html.prime-ui :is(.btn, .ac-btn, .ld-btn, .stg-btn, .gbtn, .sso__btn, .p-btn) {
  --b: var(--p-surface); --c: var(--p-ink); --bd: var(--p-line-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border-radius: 10px; border: 1px solid var(--bd); background: var(--b); color: var(--c); font-weight: 600; letter-spacing: 0;
  box-shadow: var(--p-shadow-1); transition: background-color var(--p-t), border-color var(--p-t), color var(--p-t), transform var(--p-t), box-shadow var(--p-t);
  text-decoration: none !important; overflow: hidden; isolation: isolate;
}
html.prime-ui :is(.btn, .ac-btn, .ld-btn, .stg-btn, .gbtn, .p-btn):hover { --bd: var(--p-faint); transform: translateY(-1px); box-shadow: var(--p-shadow-2); }
html.prime-ui :is(.btn, .ac-btn, .ld-btn, .stg-btn, .gbtn, .p-btn):active { transform: translateY(0); box-shadow: none; transition-duration: 60ms; }
html.prime-ui :is(.btn, .ac-btn, .ld-btn, .stg-btn, .gbtn, .p-btn):focus-visible { outline: none; box-shadow: var(--p-focus); }
html.prime-ui :is(.btn--red, .btn--primary, .ac-btn--primary, .ld-btn--primary, .stg-btn--primary, .stg-btn.is-primary, .gbtn, .sso__btn, .p-btn--primary) { --b: var(--p-accent); --c: #fff; --bd: var(--p-accent); background-image: none !important; animation: none !important; }
html.prime-ui :is(.btn--red, .btn--primary, .ac-btn--primary, .ld-btn--primary, .p-btn--primary):hover { --b: var(--p-accent-ink); --bd: var(--p-accent-ink); color: #fff; }
html.prime-ui :is(.btn--gold) { --b: var(--p-ink); --c: var(--p-bg); --bd: var(--p-ink); background-image: none !important; animation: none !important; }
html.prime-ui :is(.btn--gold):hover { --b: var(--p-ink-2); }
html.prime-ui :is(.btn--ghost, .ac-btn--ghost, .btn--light, .btn--glass, .p-btn--ghost) { --b: transparent; --bd: var(--p-line-2); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.prime-ui :is(.btn--ghost, .ac-btn--ghost, .p-btn--ghost):hover { --b: var(--p-surface-2); }
html.prime-ui :is(.btn--ink) { --b: var(--p-ink); --c: var(--p-bg); --bd: var(--p-ink); }
html.prime-ui :is(.btn--danger, .act-danger .btn) { --b: var(--p-bad-soft); --c: var(--p-bad); --bd: transparent; }
html.prime-ui :is(.btn, .ac-btn) .ripple, html.prime-ui .au-ripple { opacity: .12; }
html.prime-ui .btn .ic, html.prime-ui .ac-btn .ic { width: 1.1em; height: 1.1em; }
/* icon buttons */
html.prime-ui :is(.hdr__icon, .ac-icon, .st-icon, .st-ibtn, .htool__btn, .rail__btn) { border-radius: 10px !important; transition: background-color var(--p-t), color var(--p-t), transform var(--p-t); }
html.prime-ui :is(.hdr__icon, .ac-icon, .st-icon, .st-ibtn, .htool__btn):hover { background: var(--p-surface-2) !important; color: var(--p-ink) !important; }

/* ---------- Fields ------------------------------------------------------------------------------------ */
html.prime-ui :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="submit"]):not([type="button"]), select, textarea) {
  border-radius: 10px !important; border: 1px solid var(--p-line-2) !important; background: var(--p-surface) !important; color: var(--p-ink) !important;
  box-shadow: none !important; transition: border-color var(--p-t), box-shadow var(--p-t);
}
html.prime-ui :is(input, select, textarea)::placeholder { color: var(--p-faint); }
html.prime-ui :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus { outline: none !important; border-color: var(--p-accent) !important; box-shadow: var(--p-focus) !important; }
html.prime-ui input[type="checkbox"], html.prime-ui input[type="radio"] { accent-color: var(--p-accent); width: 18px; height: 18px; cursor: pointer; }
html.prime-ui label { cursor: pointer; }
/* custom checks of both platforms keep working but look like the system */
html.prime-ui .mk-check__box, html.prime-ui .mk-switch__track { border-color: var(--p-line-2) !important; }
html.prime-ui .mk-check input:checked ~ .mk-check__box, html.prime-ui .mk-switch input:checked ~ .mk-switch__track, html.prime-ui .st-switch input:checked + * { background: var(--p-accent) !important; border-color: var(--p-accent) !important; }

/* ---------- Surfaces --------------------------------------------------------------------------------- */
html.prime-ui .p-card, html.prime-ui [data-p-card] { background: var(--p-surface); border: 1px solid var(--p-line); border-radius: var(--p-r-lg); box-shadow: var(--p-shadow-1); }
html.prime-ui .p-lift { transition: transform var(--p-t), box-shadow var(--p-t), border-color var(--p-t); }
html.prime-ui .p-lift:hover { transform: translateY(-2px); box-shadow: var(--p-shadow-2); border-color: var(--p-line-2); }
html.prime-ui .p-chip, html.prime-ui .pi-chip { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--p-accent-soft); color: var(--p-accent-ink); flex: none; }
html.prime-ui .p-chip svg, html.prime-ui .pi-chip svg { width: 20px; height: 20px; }
html.prime-ui .p-chip--gold { background: var(--p-gold-soft); color: var(--p-gold); }
html.prime-ui .p-chip--ok { background: var(--p-ok-soft); color: var(--p-ok); }
html.prime-ui .p-chip--warn { background: var(--p-warn-soft); color: var(--p-warn); }
html.prime-ui .p-chip--info { background: var(--p-info-soft); color: var(--p-info); }
html.prime-ui .p-chip--muted { background: var(--p-surface-2); color: var(--p-muted); }

/* badges / tags */
html.prime-ui :is(.badge, .st-tag, .pill, .vcard__tag, .evc__tag, .ac-tag) { border-radius: 8px !important; font-weight: 600; letter-spacing: 0; }
html.prime-ui .live-pill { background: var(--p-accent) !important; color: #fff !important; border-radius: 8px !important; box-shadow: none !important; }
html.prime-ui .live-pill--off { background: var(--p-surface-2) !important; color: var(--p-muted) !important; }

/* tables */
html.prime-ui :is(.st-table, .table, .ac-table) { border-collapse: separate; border-spacing: 0; }
html.prime-ui :is(.st-table, .table, .ac-table) th { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--p-muted); background: var(--p-surface-2); border-bottom: 1px solid var(--p-line) !important; }
html.prime-ui :is(.st-table, .table, .ac-table) td { border-bottom: 1px solid var(--p-line) !important; }
html.prime-ui :is(.st-table, .table, .ac-table) tbody tr { transition: background-color var(--p-t); }
html.prime-ui :is(.st-table, .table, .ac-table) tbody tr:hover { background: var(--p-surface-2); }

/* tabs & segmented controls */
html.prime-ui :is(.st-tabs, .st-seg, .tabs, .seg, .status-tabs, .cx-tabs, .evbar, .an-nav, .tk-nav) .mk-hl { background: var(--p-surface) !important; box-shadow: var(--p-shadow-1); border-radius: 9px !important; }
html.prime-ui :is(.st-seg, .seg) { background: var(--p-surface-2); border-radius: 11px; padding: 3px; }
html.prime-ui :is(.st-seg, .seg) > * { border-radius: 9px; font-weight: 600; }
html.prime-ui [data-scrollnav] { scrollbar-width: none; }
html.prime-ui [data-scrollnav]::-webkit-scrollbar { display: none; }

/* headings */
html.prime-ui :is(h1, h2, h3) { letter-spacing: -.015em; }
html.prime-ui :is(.st-card__title, .panel__head h2, .ac-card__h, .rail__title, .sec__title) { font-weight: 700; }

/* ---------- User menu (avatar + name + dropdown) ------------------------------------------------------ */
html.prime-ui .umenu { position: relative; }
html.prime-ui .umenu > summary, html.prime-ui .umenu__btn { list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 3px 10px 3px 3px; border-radius: 999px; border: 1px solid var(--p-line); background: var(--p-surface); color: var(--p-ink); cursor: pointer; font-weight: 600; font-size: 14px; transition: border-color var(--p-t), background-color var(--p-t); }
html.prime-ui[dir="rtl"] .umenu > summary, html.prime-ui[dir="rtl"] .umenu__btn { padding: 3px 3px 3px 10px; }
html.prime-ui .umenu > summary::-webkit-details-marker { display: none; }
html.prime-ui .umenu > summary:hover, html.prime-ui .umenu__btn:hover { border-color: var(--p-line-2); background: var(--p-surface-2); }
html.prime-ui .umenu__av, html.prime-ui .st-av, html.prime-ui .ac-av, html.prime-ui .gav { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--p-ink) !important; color: var(--p-bg) !important; font-weight: 700; font-size: 13px; box-shadow: none !important; overflow: hidden; }
html.prime-ui .umenu__av img { width: 100%; height: 100%; object-fit: cover; }
html.prime-ui .umenu__name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.prime-ui .umenu > summary .ic:last-child { width: 16px; height: 16px; color: var(--p-muted); transition: transform var(--p-t); }
html.prime-ui .umenu[open] > summary .ic:last-child { transform: rotate(180deg); }
html.prime-ui :is(.umenu__panel, .st-user__menu) { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 260px; padding: 6px; border-radius: 14px; background: var(--p-surface); border: 1px solid var(--p-line); box-shadow: var(--p-shadow-3); animation: p-pop var(--p-t) both; }
@keyframes p-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
html.prime-ui :is(.umenu__panel, .st-user__menu) :is(a, button) { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: none; color: var(--p-ink); font: inherit; font-size: 14px; font-weight: 500; text-align: start; cursor: pointer; transition: background-color var(--p-t); }
html.prime-ui :is(.umenu__panel, .st-user__menu) :is(a, button):hover { background: var(--p-surface-2); }
html.prime-ui :is(.umenu__panel, .st-user__menu) .ic { width: 18px; height: 18px; color: var(--p-muted); }
html.prime-ui :is(.umenu__panel, .st-user__menu) hr { border: 0; border-top: 1px solid var(--p-line); margin: 6px 4px; }
html.prime-ui .umenu__who, html.prime-ui .st-user__who { display: flex; flex-direction: column; gap: 2px; padding: 10px 10px 8px; }
html.prime-ui .umenu__who strong, html.prime-ui .st-user__who strong { font-size: 14px; }
html.prime-ui .umenu__who small, html.prime-ui .st-user__who small { color: var(--p-muted); font-size: 12px; direction: ltr; text-align: start; }
html.prime-ui .umenu__n { margin-inline-start: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--p-accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
html.prime-ui .umenu__danger { color: var(--p-bad) !important; }

/* ---------- Back to top ------------------------------------------------------------------------------- */
html.prime-ui .totop, html.prime-ui .p-totop { position: fixed; inset-inline-end: 18px; bottom: 84px; z-index: 70; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--p-line); background: var(--p-surface) !important; color: var(--p-ink) !important; box-shadow: var(--p-shadow-2) !important; cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity var(--p-t), transform var(--p-t); }
html.prime-ui :is(.totop, .p-totop).is-on, html.prime-ui :is(.totop, .p-totop):not([hidden]).is-show { opacity: 1; transform: none; pointer-events: auto; }
html.prime-ui :is(.totop, .p-totop) .ic { width: 20px; height: 20px; }
html.prime-ui :is(.totop, .p-totop):hover { background: var(--p-ink) !important; color: var(--p-bg) !important; }
@media (min-width: 1024px) { html.prime-ui .totop, html.prime-ui .p-totop { bottom: 28px; } }

/* ---------- Confirm modal (IPN.confirm / SHS.confirm) -------------------------------------------------- */
.p-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(10,10,14,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: p-fade var(--p-t, 180ms) both; }
.p-modal__box { width: min(440px, 100%); padding: 22px; border-radius: 18px; background: var(--p-surface, #fff); color: var(--p-ink, #111); border: 1px solid var(--p-line, #e4e4e8); box-shadow: var(--p-shadow-3, 0 30px 70px -30px rgba(0,0,0,.6)); animation: p-pop 200ms both; }
.p-modal__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--p-warn-soft, #FDF2E2); color: var(--p-warn, #B45309); margin-bottom: 12px; }
.p-modal__ic.is-danger { background: var(--p-bad-soft, #FDECEC); color: var(--p-bad, #B91C1C); }
.p-modal__ic svg { width: 22px; height: 22px; }
.p-modal__t { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.p-modal__p { margin: 0 0 18px; color: var(--p-muted, #666); line-height: 1.7; font-size: 14.5px; white-space: pre-line; }
.p-modal__acts { display: flex; gap: 8px; justify-content: flex-end; }
.p-modal__acts button { min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--p-line-2, #d2d2d8); background: var(--p-surface, #fff); color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.p-modal__acts button.is-ok { background: var(--p-ink, #111); color: var(--p-bg, #fff); border-color: transparent; }
.p-modal__acts button.is-danger { background: var(--p-bad, #B91C1C); color: #fff; border-color: transparent; }
@keyframes p-fade { from { opacity: 0; } }

/* ---------- Toasts ---------------------------------------------------------------------------------- */
html.prime-ui .mk-toast { border-radius: 12px !important; background: var(--p-ink) !important; color: var(--p-bg) !important; box-shadow: var(--p-shadow-3) !important; border: 0 !important; }

/* ---------- Scroll reveal (prime.js adds .p-in) --------------------------------------------------------- */
html.prime-ui.p-js .p-rv { opacity: 0; transform: translateY(12px); transition: opacity var(--p-t-slow), transform var(--p-t-slow); transition-delay: calc(var(--ri, 0) * 40ms); }
html.prime-ui.p-js .p-rv.p-in { opacity: 1; transform: none; }

/* ---------- Loading bar ------------------------------------------------------------------------------- */
.p-bar { position: fixed; inset: 0 0 auto; height: 2px; z-index: 9999; background: var(--p-accent, #E8313F); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; transition: transform 6s cubic-bezier(.1,.6,.1,1), opacity .3s; pointer-events: none; }
[dir="rtl"] .p-bar { transform-origin: 100% 50%; }
.p-bar.is-on { opacity: 1; transform: scaleX(.85); }

/* ---------- Icon micro-motion (subtle) --------------------------------------------------------------- */
html.prime-ui svg[class*="ic--"] { transform-box: fill-box; transform-origin: center; transition: transform var(--p-t); }
html.prime-ui :is(a, button, summary, label):is(:hover, :focus-visible) :is(.ic--arrow-right, .ic--chevron-right, .ic--arrow-up-right, .ic--external-link) { transform: translateX(2px); }
html.prime-ui :is(a, button, summary, label):is(:hover, :focus-visible) :is(.ic--arrow-left, .ic--chevron-left) { transform: translateX(-2px); }
html.prime-ui :is(a, button, summary, label):is(:hover, :focus-visible) :is(.ic--bell, .ic--bell-ring) { transform: rotate(-12deg); }
html.prime-ui :is(a, button, summary, label):is(:hover, :focus-visible) :is(.ic--heart, .ic--star, .ic--crown, .ic--sparkles, .ic--trophy) { transform: scale(1.15); }
html.prime-ui :is(a, button, summary, label):is(:hover, :focus-visible) :is(.ic--settings, .ic--refresh-cw, .ic--refresh-ccw) { transform: rotate(45deg); }
html.prime-ui :is(a, button, summary, label):is(:hover, :focus-visible) :is(.ic--download, .ic--chevron-down) { transform: translateY(2px); }
html.prime-ui :is(a, button, summary, label):is(:hover, :focus-visible) :is(.ic--upload, .ic--arrow-up, .ic--chevron-up, .ic--rocket) { transform: translateY(-2px); }
html.prime-ui :is(a, button, summary, label):is(:hover, :focus-visible) :is(.ic--search, .ic--scan-line, .ic--eye) { transform: scale(1.1) rotate(-6deg); }
html.prime-ui :is(a, button, summary, label):is(:hover, :focus-visible) :is(.ic--play, .ic--circle-play) { transform: scale(1.12); }
html.prime-ui :is(a, button, summary, label):is(:hover, :focus-visible) :is(.ic--trash-2, .ic--x, .ic--ban) { transform: rotate(8deg); }
html.prime-ui :is(a, button, summary, label):is(:hover, :focus-visible) :is(.ic--send, .ic--mail, .ic--send-horizontal) { transform: translate(2px, -2px); }
html.prime-ui .is-live .ic--radio, html.prime-ui .ic--radio.is-live { animation: p-pulse 1.8s ease-in-out infinite; }
@keyframes p-pulse { 50% { opacity: .55; transform: scale(1.08); } }

/* remove the louder effects of older looks when they are also loaded */
html.prime-ui .au-sky, html.prime-ui .sc-bg .sc-noise { display: none !important; }
html.prime-ui :is(.btn, .ac-btn)::after { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html.prime-ui *, html.prime-ui *::before, html.prime-ui *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html.prime-ui.p-js .p-rv { opacity: 1; transform: none; }
}

/* broken pictures → quiet placeholder */
img.is-broken { object-fit: cover; color: transparent; background: linear-gradient(135deg, var(--p-surface-2), var(--p-surface-3)); position: relative; }
img.is-broken::before { content: ""; position: absolute; inset: 0; background: inherit; }
.has-broken { background: linear-gradient(135deg, var(--p-surface-2), var(--p-surface-3)); }

/* css/prime-shy.css */
/* =====================================================================================================
   PRIME · Mr & Miss Iran areas — public (Stage templates), member pages and admin (own and inside Studio).
   ===================================================================================================== */
html.prime-ui body {
  --surface: var(--p-surface); --porcelain: var(--p-surface-2); --line: var(--p-line); --ink: var(--p-ink); --ink-2: var(--p-ink-2); --ink-3: var(--p-muted);
  --lapis: var(--p-ink); --lapis-deep: #0B0C10; --lapis-soft: var(--p-surface-2); --saffron: var(--p-gold); --saffron-deep: var(--p-gold); --saffron-soft: var(--p-gold-soft);
  --pomegranate: var(--p-accent); --pomegranate-soft: var(--p-accent-soft); --firuzeh: var(--p-ink-2); --firuzeh-soft: var(--p-surface-2);
  --radius-s: 8px; --radius-m: var(--p-r); --radius-l: var(--p-r-lg); --shadow: var(--p-shadow-1); --focus: var(--p-accent);
  /* stage tokens */
  --st-night: #0B0C10; --st-night-2: #15171C; --st-ink: var(--p-ink); --st-ink-2: var(--p-ink-2); --st-magenta: var(--p-accent); --st-magenta-2: var(--p-accent-ink);
  --st-violet: var(--p-ink-2); --st-cyan: var(--p-ink-2); --st-gold: #D4A017; --st-gold-2: #B8860B;
  --st-hot: var(--p-accent); --st-goldg: linear-gradient(135deg, #E2B343, #D4A017); --st-beam: var(--p-accent);
  --st-bg: var(--p-bg); --st-card: var(--p-surface); --st-line: var(--p-line); --st-shadow: var(--p-shadow-1);
  background: var(--p-bg) !important; background-image: none !important;
}
html.prime-ui body.ui-glass {
  --g-a: var(--p-accent); --g-a2: var(--p-accent-ink); --g-a3: var(--p-ink-2); --g-ink: var(--p-ink); --g-ink2: var(--p-ink-2); --g-mut: var(--p-muted); --g-line: var(--p-line);
  --g-glass: var(--p-surface); --g-glass2: var(--p-surface); --g-rim: var(--p-line); --g-shadow: none; --g-blur: none; --g-r: var(--p-r-lg);
  background: var(--p-bg) !important; background-image: none !important;
}
html.prime-ui[data-au="embed"] body { background: transparent !important; }

/* header */
html.prime-ui .site-header { background: color-mix(in srgb, #0B0C10 92%, transparent) !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08) !important; }
html.prime-ui .site-header::after { display: none !important; }
html.prime-ui .site-header .nav a { font-weight: 500; }
html.prime-ui .site-header .ico, html.prime-ui .nav .ico { display: none !important; }
html.prime-ui .site-header .btn { border-radius: 10px; }
html.prime-ui .hdr-ipn, html.prime-ui .htool { border-radius: 10px !important; }

/* hero + sections (stage templates) */
html.prime-ui .stg-hero { background: #0B0C10; }
html.prime-ui .stg-hero h1, html.prime-ui .stg-auth__title { font-weight: 800; letter-spacing: -.03em; }
html.prime-ui .stg-gold { background: none !important; -webkit-text-fill-color: #E2B343 !important; color: #E2B343 !important; animation: none !important; }
html.prime-ui .stg-kicker, html.prime-ui .stg-pill { border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; }
html.prime-ui .stg-ribbon, html.prime-ui .stg-dot { display: none !important; }
html.prime-ui .stg-btn { border-radius: 10px !important; box-shadow: none !important; }
html.prime-ui .stg-btn--primary, html.prime-ui .stg-btn.is-primary { background: var(--p-accent) !important; color: #fff !important; }
html.prime-ui .stg-btn:not(.stg-btn--primary):not(.is-primary) { background: rgba(255,255,255,.1) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.25) !important; }
html.prime-ui .stg-stats { background: #0B0C10 !important; border-top: 1px solid rgba(255,255,255,.08); }
html.prime-ui .stg-stat__ic { background: rgba(255,255,255,.08) !important; color: #fff !important; border-radius: 10px; }
html.prime-ui .stg-stat b { background: none !important; -webkit-text-fill-color: #fff !important; color: #fff !important; font-weight: 700; }
html.prime-ui .stg-sec { padding-block: clamp(40px, 6vw, 80px); }
html.prime-ui .stg-head h2, html.prime-ui .section-title, html.prime-ui .sec-head h2 { font-weight: 700; letter-spacing: -.02em; }
html.prime-ui .stg-cat, html.prime-ui .cat2 { --c1: var(--p-ink); --c2: var(--p-ink-2); background: var(--p-surface) !important; border: 1px solid var(--p-line) !important; border-radius: var(--p-r-lg) !important; box-shadow: none !important; transition: transform var(--p-t), box-shadow var(--p-t), border-color var(--p-t); }
html.prime-ui .stg-cat:hover, html.prime-ui .cat2:hover { transform: translateY(-2px); box-shadow: var(--p-shadow-2) !important; border-color: var(--p-line-2) !important; }
html.prime-ui .stg-cat::before, html.prime-ui .stg-cat::after { display: none !important; }
html.prime-ui .stg-top__item a { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--p-r-lg); }
html.prime-ui .stg-top__item a:hover { transform: translateY(-3px); background: rgba(255,255,255,.08); }
html.prime-ui .stg-steps li::before, html.prime-ui .stg-checks li::before { background: var(--p-ink) !important; }
html.prime-ui .stg-vote, html.prime-ui .vote-card, html.prime-ui .stg-final { border-radius: var(--p-r-lg) !important; }

/* contestant cards & grids */
html.prime-ui :is(.c-card, .contestant-card, .nm-card, .pro2-portrait, .follow_card, .raffle, .kit, .card-share2) { background: var(--p-surface) !important; border: 1px solid var(--p-line) !important; border-radius: var(--p-r-lg) !important; box-shadow: none !important; transition: transform var(--p-t), box-shadow var(--p-t); }
html.prime-ui :is(.c-card, .contestant-card):hover { transform: translateY(-2px); box-shadow: var(--p-shadow-2) !important; }
html.prime-ui .badge { border-radius: 7px; font-weight: 600; }

/* panels / member area / admin */
html.prime-ui :is(.panel, .kpi, .card, .stat, .gcard, .gtile, .table-wrap, .acc-nav, .inb-panel, .inb-stat, .inb-list, .ghero, .slide-row, .theme-card, details.panel, .tg-help, .auth-card, .journey) {
  background: var(--p-surface) !important; border: 1px solid var(--p-line) !important; border-radius: var(--p-r-lg) !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; color: var(--p-ink);
}
html.prime-ui .panel__head h2, html.prime-ui .panel h2.with-ico { font-size: 16px; font-weight: 700; }
html.prime-ui .ico { background: var(--p-surface-2) !important; color: var(--p-ink) !important; box-shadow: none !important; border-radius: 10px !important; }
html.prime-ui .ico svg { color: var(--p-ink) !important; }
/* 2.13.2 · `color` has to be !important here: glass-ui.css paints these numbers with a gradient and
   `color: transparent !important`, which an ordinary declaration cannot beat however specific it is — the
   figures on every .kpi page (admin → analytics, security, …) were invisible in the Prime look. */
html.prime-ui .kpi strong, html.prime-ui .kpi b, html.prime-ui .stat strong, html.prime-ui .gtile strong { background: none !important; -webkit-text-fill-color: initial !important; color: var(--p-ink) !important; font-weight: 700; letter-spacing: -.02em; }
html.prime-ui .kpi .ico, html.prime-ui .gtile .ico { width: 40px; height: 40px; }
html.prime-ui .acc-nav a { border-radius: 10px; font-weight: 500; }
html.prime-ui .acc-nav a[aria-current="page"] { background: var(--p-accent-soft) !important; color: var(--p-accent-ink) !important; box-shadow: none; }
html.prime-ui .acc-nav a[aria-current="page"] .ico, html.prime-ui .acc-nav a[aria-current="page"] .ico svg { color: var(--p-accent-ink) !important; background: transparent !important; }
html.prime-ui .status-tab.is-on, html.prime-ui .status-tabs a[aria-current], html.prime-ui .tabs a.is-on, html.prime-ui .seg .is-on { background: var(--p-ink) !important; color: var(--p-bg) !important; border-radius: 9px; }
html.prime-ui .bulkbar { border-radius: 14px; background: var(--p-ink) !important; color: var(--p-bg) !important; box-shadow: var(--p-shadow-3); }
html.prime-ui .bulkbar .btn { --b: rgba(255,255,255,.12); --c: #fff; --bd: rgba(255,255,255,.2); box-shadow: none; }
html.prime-ui .bulkbar .btn--ok { --b: var(--p-ok); --bd: var(--p-ok); } html.prime-ui .bulkbar .btn--danger { --b: var(--p-bad); --bd: var(--p-bad); }
html.prime-ui .switch input:checked + * { background: var(--p-accent) !important; }
html.prime-ui .alert { border-radius: 12px; border: 1px solid var(--p-line); }
html.prime-ui .alert--error { background: var(--p-bad-soft); border-color: color-mix(in srgb, var(--p-bad) 40%, transparent); }
html.prime-ui .alert--success { background: var(--p-ok-soft); border-color: color-mix(in srgb, var(--p-ok) 40%, transparent); }
html.prime-ui .alert--info { background: var(--p-info-soft); border-color: color-mix(in srgb, var(--p-info) 35%, transparent); }

/* admin shell (opened directly) */
html.prime-ui .sidebar { background: var(--p-surface) !important; border: 0 !important; border-inline-end: 1px solid var(--p-line) !important; color: var(--p-ink) !important; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none !important; border-radius: 0 !important; }
html.prime-ui .sidebar .brand, html.prime-ui .sidebar .brand__sub { color: var(--p-ink) !important; }
html.prime-ui .sidebar .brand__sub { color: var(--p-muted) !important; }
html.prime-ui .side-group { background: none !important; -webkit-text-fill-color: initial; color: var(--p-faint) !important; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600 !important; }
html.prime-ui .sidebar a.side-link { color: var(--p-ink-2) !important; border-radius: 9px; font-weight: 500; transition: background-color var(--p-t), color var(--p-t); }
html.prime-ui .sidebar a.side-link:hover { background: var(--p-surface-2) !important; color: var(--p-ink) !important; }
html.prime-ui .sidebar a.side-link[aria-current="page"] { background: var(--p-accent-soft) !important; color: var(--p-accent-ink) !important; box-shadow: none !important; animation: none !important; font-weight: 600; }
html.prime-ui .sidebar a.side-link .ico { display: none !important; }
html.prime-ui .sidebar .count { background: var(--p-ink); color: var(--p-bg); border-radius: 99px; }
html.prime-ui .topbar { background: color-mix(in srgb, var(--p-bg) 85%, transparent) !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--p-line) !important; box-shadow: none !important; }
html.prime-ui .topbar h1 { font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
html.prime-ui .via-studio { border-radius: 10px; background: var(--p-surface-2); }
/* 2.13.2 · only the bar is painted: `.chart__hit` is the invisible hover target that covers the whole column,
   and giving it --p-ink turned the entire plot area into a solid block (white in night mode). */
html.prime-ui .chart__col .chart__bar { fill: var(--p-ink); }
html.prime-ui .chart__col .chart__hit { fill: transparent; }
html.prime-ui .chart__col.is-hover .chart__hit { fill: color-mix(in srgb, var(--p-ink) 7%, transparent); }
html.prime-ui .gchart__line { stroke: var(--p-ink) !important; } html.prime-ui .gchart__area { fill: var(--p-surface-3) !important; }
html.prime-ui .theme-card.is-on { border-color: var(--p-accent) !important; }
html.prime-ui .lightbox { background: rgba(10,10,14,.85); }

/* 2.8 · glass-ui.css wins over prime-core on buttons (.ui-glass .btn is more specific and !important): under Prime the primary
   button lost its background (pale / invisible inside the Studio). Re-assert the Prime buttons for every variant. */
html.prime-ui .ui-glass .btn { border-radius: 10px !important; background: var(--p-surface) !important; color: var(--p-ink) !important; border: 1px solid var(--p-line-2) !important; box-shadow: var(--p-shadow-1) !important; transition: background-color var(--p-t), border-color var(--p-t), color var(--p-t), transform var(--p-t), box-shadow var(--p-t) !important; }
html.prime-ui .ui-glass .btn:hover { transform: translateY(-1px); border-color: var(--p-faint) !important; box-shadow: var(--p-shadow-2) !important; }
html.prime-ui .ui-glass .btn--primary, html.prime-ui .ui-glass .btn--red { background: var(--p-accent) !important; border-color: var(--p-accent) !important; color: #fff !important; }
html.prime-ui .ui-glass .btn--primary:hover, html.prime-ui .ui-glass .btn--red:hover { background: var(--p-accent-ink) !important; border-color: var(--p-accent-ink) !important; }
html.prime-ui .ui-glass .btn--primary::after, html.prime-ui .ui-glass .btn--gold::after { display: none !important; }
html.prime-ui .ui-glass .btn--gold, html.prime-ui .ui-glass .btn--ink { background: var(--p-ink) !important; border-color: var(--p-ink) !important; color: var(--p-bg) !important; }
html.prime-ui .ui-glass .btn--gold:hover, html.prime-ui .ui-glass .btn--ink:hover { background: var(--p-ink-2) !important; border-color: var(--p-ink-2) !important; }
html.prime-ui .ui-glass .btn--ok { background: var(--p-ok) !important; border-color: var(--p-ok) !important; color: #fff !important; }
html.prime-ui .ui-glass .btn--danger { background: var(--p-bad-soft) !important; border-color: transparent !important; color: var(--p-bad) !important; }
html.prime-ui .ui-glass .btn--danger:hover { background: var(--p-bad) !important; color: #fff !important; }
html.prime-ui .ui-glass .btn--wa { background: #25D366 !important; border-color: #25D366 !important; color: #fff !important; }
html.prime-ui .ui-glass .btn--ghost, html.prime-ui .ui-glass .btn--light, html.prime-ui .ui-glass .btn--glass { background: transparent !important; border-color: var(--p-line-2) !important; color: var(--p-ink) !important; box-shadow: none !important; }
html.prime-ui .ui-glass .btn--ghost:hover, html.prime-ui .ui-glass .btn--light:hover { background: var(--p-surface-2) !important; }
html.prime-ui .ui-glass .btn--icon { border-radius: 10px !important; }
html.prime-ui .ui-glass .btn[disabled], html.prime-ui .ui-glass .btn:disabled { opacity: .55; transform: none; box-shadow: none !important; }
html.prime-ui .ui-glass .bulkbar .btn { background: rgba(255,255,255,.12) !important; color: #fff !important; border-color: rgba(255,255,255,.2) !important; }
html.prime-ui .ui-glass .bulkbar .btn--ok { background: var(--p-ok) !important; } html.prime-ui .ui-glass .bulkbar .btn--danger { background: var(--p-bad) !important; }

/* member chat / messages */
html.prime-ui .bub { border-radius: 14px; }
html.prime-ui .bub--me { background: var(--p-ink); color: var(--p-bg); }

/* footer */
html.prime-ui .site-footer, html.prime-ui .foot { background: #0B0C10 !important; color: var(--p-faint); border-top: 1px solid rgba(255,255,255,.08); }
html.prime-ui .site-footer::before { display: none !important; }
html.prime-ui .site-footer a { color: #C9CAD1; } html.prime-ui .site-footer a:hover { color: #fff; }
html.prime-ui .site-footer .ico, html.prime-ui .foot .ico { display: none !important; }
html.prime-ui .foot__ver { background: rgba(255,255,255,.08); }

/* auth split */
html.prime-ui .auth-split__art { background: #0B0C10; }
html.prime-ui .stg-auth__txt { background: linear-gradient(0deg, rgba(11,12,16,.9), transparent); }

/* fixes after the first pass: calmer stage hero + header */
html.prime-ui .stg-hero__beams { opacity: .25; }
html.prime-ui .stg-hero__bg img, html.prime-ui .stg-hero__bg { filter: saturate(.55) brightness(.85); }
html.prime-ui .stg-hero__shade { background: linear-gradient(0deg, #0B0C10 0%, rgba(11,12,16,.5) 50%, rgba(11,12,16,.3) 100%) !important; }
html.prime-ui .stg-btn--hot { background: var(--p-accent) !important; color: #fff !important; }
html.prime-ui .stg-btn--gold { background: #fff !important; color: #111 !important; }
html.prime-ui .stg-btn--glass { background: rgba(255,255,255,.1) !important; border: 1px solid rgba(255,255,255,.25) !important; color: #fff !important; }
html.prime-ui .stg-hero__by { border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
html.prime-ui .site-header .nav a[aria-current="page"], html.prime-ui .site-header .nav a.is-on { background: rgba(255,255,255,.1) !important; border-radius: 9px; }
html.prime-ui .brand__mark, html.prime-ui .brand img { border-radius: 10px; }
html.prime-ui .stg-stats__in, html.prime-ui .theme-glass .stg-stats__in { background: transparent !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.prime-ui .stg-stat > span:last-child { color: rgba(255,255,255,.7); }

/* 2.8 · the glass theme's dark body/veil rules outrank the token reset on every page — settle it here for all Prime pages */
html.prime-ui body { background: var(--p-bg) !important; color: var(--p-ink); }
html.prime-ui body::before, html.prime-ui .theme-golestan::before, html.prime-ui .theme-simorgh::before { display: none !important; }
html.prime-ui[data-mode="dark"] a:not([class]) { color: var(--p-ink); }
html.prime-ui .gtile { background: var(--p-surface-2) !important; color: var(--p-ink) !important; box-shadow: none !important; }

/* css/scrollnav.css */
/* IPN 1.10 · Horizontal tab bars / chip rows that overflow: [data-scrollnav] (assets/js/scrollnav.js).
   Scrolls sideways with a hidden scrollbar, momentum, edge fades, drag and wheel. Layout only — the theme styles the items. */
[data-scrollnav] { flex-wrap: nowrap !important; overflow-x: auto; overflow-y: hidden; max-width: 100%; min-width: 0; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scroll-behavior: smooth; cursor: default; user-select: none; -webkit-user-select: none; }
[data-scrollnav]::-webkit-scrollbar { display: none; height: 0; }
[data-scrollnav] > * { flex: none; }
[data-scrollnav].is-dragging { cursor: grabbing; scroll-behavior: auto; }
[data-scrollnav].is-dragging > * { pointer-events: none; }
/* edge fades: the mask follows the scroll position (is-start / is-end are set by the script) */
[data-scrollnav].sn-fade { --sn-l: 24px; --sn-r: 24px; -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--sn-l), #000 calc(100% - var(--sn-r)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--sn-l), #000 calc(100% - var(--sn-r)), transparent); }
[data-scrollnav].sn-fade.is-start { --sn-l: 0px; }
[data-scrollnav].sn-fade.is-end { --sn-r: 0px; }
html[dir="rtl"] [data-scrollnav].sn-fade.is-start { --sn-l: 24px; --sn-r: 0px; }
html[dir="rtl"] [data-scrollnav].sn-fade.is-end { --sn-r: 24px; --sn-l: 0px; }
html[dir="rtl"] [data-scrollnav].sn-fade.is-start.is-end, [data-scrollnav].sn-fade.is-start.is-end { --sn-l: 0px; --sn-r: 0px; }
@media (prefers-reduced-motion: reduce) { [data-scrollnav] { scroll-behavior: auto; } }

