/* =============================================================================
   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("../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("../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("../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: min(76%, 520px); 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("../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 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("../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("../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; }
.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; }
