/* ============================================================
   آکادمی میرزایی — اپلیکیشن آموزشی نسخهٔ ۲
   پالت رسمی: سرمه‌ای #1a2d4d | کرم #fdf5ea | قهوه‌ای #cc9a79
   فونت: Vazirmatn (میزبانی محلی + fallback)
   ============================================================ */

@font-face { font-family:'Vazirmatn'; font-weight:400; font-style:normal; font-display:swap;
  src: url('/fonts/Vazirmatn-Regular.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2'); }
@font-face { font-family:'Vazirmatn'; font-weight:500; font-style:normal; font-display:swap;
  src: url('/fonts/Vazirmatn-Medium.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Medium.woff2') format('woff2'); }
@font-face { font-family:'Vazirmatn'; font-weight:700; font-style:normal; font-display:swap;
  src: url('/fonts/Vazirmatn-Bold.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2'); }
@font-face { font-family:'Vazirmatn'; font-weight:800; font-style:normal; font-display:swap;
  src: url('/fonts/Vazirmatn-ExtraBold.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-ExtraBold.woff2') format('woff2'); }
@font-face { font-family:'Vazirmatn'; font-weight:900; font-style:normal; font-display:swap;
  src: url('/fonts/Vazirmatn-Black.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Black.woff2') format('woff2'); }

:root {
  --navy: #1a2d4d;
  --navy-deep: #14233d;
  --navy-ink: #0d1930;
  --navy-soft: #2a4066;
  --cream: #fdf5ea;
  --cream-2: #f7ecdc;
  --brown: #cc9a79;
  --brown-deep: #b18266;
  --brown-bright: #e6b795;
  --brown-tint: rgba(204,154,121,.12);
  --white: #ffffff;
  --ink: #1a2d4d;
  --muted: #75809b;
  --muted-2: #9aa4bc;
  --hair: rgba(26,45,77,.09);
  --good: #2e8f63;
  --good-tint: rgba(46,143,99,.1);
  --bad: #b45555;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow-1: 0 10px 30px -14px rgba(26,45,77,.22);
  --shadow-2: 0 18px 44px -20px rgba(26,45,77,.32);
  --tabbar-h: 62px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
  background: var(--cream);
  color: var(--ink);
  direction: rtl;
  overflow-x: hidden;
}
button { font-family: inherit; border: 0; cursor: pointer; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; }
::selection { background: var(--brown); color: #fff; }

/* ── فاز دسکتاپ: قاب گوشی ─────────────────────────────── */
body.framed {
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(204,154,121,.16), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(204,154,121,.10), transparent 55%),
    linear-gradient(160deg, #16263f, #0d1930 70%);
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 34px 16px 26px;
  gap: 18px;
}
.stage { display: none; }
body.framed .stage { display: block; }

.phone {
  width: 396px; height: 848px; max-height: calc(100vh - 90px);
  background: linear-gradient(145deg, #2a3a55, #101d33);
  border-radius: 54px;
  padding: 12px;
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06) inset;
  position: relative;
  flex: none;
}
.phone::after { /* دکمه‌های کناری */
  content: ''; position: absolute; left: -2.5px; top: 190px; width: 3px; height: 88px;
  background: #26344c; border-radius: 3px;
}
.phone::before {
  content: ''; position: absolute; right: -2.5px; top: 210px; width: 3px; height: 62px;
  background: #26344c; border-radius: 3px;
  box-shadow: 0 84px 0 0 #26344c;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 42px; overflow: hidden;
  background: var(--cream); position: relative;
}
.punch {
  position: absolute; top: 12px; right: 50%; transform: translateX(50%);
  width: 13px; height: 13px; border-radius: 50%;
  background: #060b14; z-index: 60; box-shadow: 0 0 0 2px rgba(0,0,0,.35);
}
.fstatus {
  position: absolute; top: 0; left: 0; right: 0; height: 40px; z-index: 55;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; pointer-events: none;
  color: var(--navy); font-size: 12.5px; font-weight: 800;
}
.fstatus .fs-icons { display: flex; align-items: center; gap: 5px; color: var(--navy); }
.fstatus svg { width: 15px; height: 15px; }
.fstatus.on-dark { color: #fff; }
.fstatus.on-dark .fs-icons { color: #fff; }

.caption { text-align: center; color: rgba(255,255,255,.82); user-select: none; }
.caption h1 { margin: 0; font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -.2px; }
.caption p { margin: 7px 0 0; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.55); }
.caption .cap-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; }
.caption .cap-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85); border-radius: 999px; padding: 6px 14px; font-size: 11.5px; font-weight: 700;
}
.caption .cap-chip svg { width: 13px; height: 13px; }
.caption .cap-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brown-bright); }

/* ── اپ موبایل ─────────────────────────────────────────── */
#app {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: var(--cream);
}
body:not(.framed) #app { position: fixed; height: 100vh; height: 100dvh; }
/* موبایل واقعی (بدون قاب): خود گوشی هم باید تمام‌صفحه دیده شود */
body:not(.framed) .stage.phone {
  display: block; width: 100vw; height: 100vh; height: 100dvh; max-height: none;
  border-radius: 0; padding: 0; box-shadow: none; background: var(--cream);
}
body:not(.framed) .stage.phone::before, body:not(.framed) .stage.phone::after { display: none; }
body:not(.framed) .phone-screen { border-radius: 0; }
body:not(.framed) .caption { display: none !important; }

/* نوار وضعیت و punch فقط در حالت قاب دسکتاپ */
.fstatus, .punch { display: none; }
body.framed .fstatus { display: flex; }
body.framed .punch { display: block; }
body.framed .appbar { padding-top: 46px; }
body.framed .player-page { padding-top: 40px; }

#view {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; overscroll-behavior-y: contain;
}
#view::-webkit-scrollbar { display: none; }
#view.no-tabbar { padding-bottom: 0 !important; }
#view { padding-bottom: calc(var(--tabbar-h) + 18px); }

.page { animation: pageIn .34s cubic-bezier(.22,.9,.3,1) both; }
.page.back { animation: pageBack .3s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes pageBack { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }

/* ── اسپلش / پری‌لودر ورود به اپ ───────────────────────── */
#splash {
  position: absolute; inset: 0; z-index: 90;
  background:
    radial-gradient(500px 360px at 50% 24%, rgba(204,154,121,.20), transparent 70%),
    linear-gradient(170deg, #1d3255 0%, var(--navy) 55%, var(--navy-ink) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0; transition: opacity .55s ease, visibility .55s, transform .55s ease;
}
#splash.hide { opacity: 0; visibility: hidden; transform: scale(1.07); }
.splash-glow {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(204,154,121,.16), transparent 65%);
  animation: glowPulse 2.6s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100% { transform: scale(.92); opacity: .65; } 50% { transform: scale(1.22); opacity: 1; } }
.splash-mark { position: relative; animation: markIn .8s cubic-bezier(.2,.9,.3,1.2) both; }
.splash-logo {
  display: block; width: min(330px, 76vw); height: auto;
  filter: drop-shadow(0 10px 30px rgba(8,14,30,.5)) drop-shadow(0 0 46px rgba(204,154,121,.18));
  animation: logoFloat 3.4s 1.1s ease-in-out infinite alternate;
}
@keyframes logoFloat { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes markIn { from { opacity: 0; transform: scale(.72) translateY(10px); } to { opacity: 1; transform: none; } }
.splash-tag { margin-top: 20px; color: rgba(255,255,255,.6); font-size: 12.5px; font-weight: 500; animation: fadeUp .6s .32s both; }
.splash-progress {
  margin-top: 40px; width: 212px; height: 5px; border-radius: 99px;
  background: rgba(255,255,255,.13); overflow: hidden; position: relative;
  animation: fadeUp .6s .44s both;
}
.splash-progress i {
  display: block; height: 100%; width: 0%; border-radius: 99px;
  background: linear-gradient(270deg, var(--brown-bright), var(--brown));
  transition: width .38s cubic-bezier(.3,.8,.4,1); position: relative; overflow: hidden;
}
.splash-progress i::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: shine 1.3s linear infinite;
}
@keyframes shine { from { transform: translateX(120%); } to { transform: translateX(-120%); } }
.splash-row { margin-top: 13px; display: flex; align-items: center; gap: 9px; animation: fadeUp .6s .52s both; max-width: 240px; }
.splash-pct {
  color: var(--brown-bright); font-size: 12.5px; font-weight: 900;
  min-width: 36px; text-align: center; flex: none;
}
.splash-status { color: rgba(255,255,255,.6); font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.splash-foot {
  position: absolute; bottom: 24px; color: rgba(255,255,255,.32);
  font-size: 10px; font-weight: 600; animation: fadeUp .6s .7s both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ── نوار بالای اپ ─────────────────────────────────────── */
.appbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px 10px;
  background: linear-gradient(to bottom, var(--cream) 78%, rgba(253,245,234,0));
}
.appbar.solid { background: var(--cream); border-bottom: 1px solid var(--hair); }
.appbar .bar-logo { display: flex; align-items: center; gap: 9px; }
.appbar .bar-logo-img { height: 27px; width: auto; display: block; }
.appbar .bar-logo .mark-img { height: 30px; width: auto; display: block; }
.bar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--hair);
  color: var(--navy); position: relative;
  box-shadow: 0 4px 14px -8px rgba(26,45,77,.25);
  transition: transform .15s;
}
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .dot { position: absolute; top: 9px; left: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--brown-deep); border: 1.5px solid #fff; }

/* ── منوی کشویی ────────────────────────────────────────── */
.overlay {
  position: absolute; inset: 0; z-index: 70;
  background: rgba(13,25,48,.45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: .3s;
}
.overlay.show { opacity: 1; visibility: visible; }
.drawer {
  position: absolute; top: 0; bottom: 0; right: 0; z-index: 71;
  width: 302px; max-width: 84%;
  background: linear-gradient(175deg, #21365b 0%, var(--navy) 45%, var(--navy-ink) 100%);
  transform: translateX(105%); transition: transform .36s cubic-bezier(.22,.9,.3,1);
  display: flex; flex-direction: column;
  border-radius: 0 0 0 30px;
  box-shadow: -30px 0 70px -30px rgba(0,0,0,.5);
}
.drawer.show { transform: none; }
.drawer-head { padding: 28px 22px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; border-bottom: 1px solid rgba(255,255,255,.09); }
.drawer-logo { width: 176px; max-width: 100%; height: auto; filter: drop-shadow(0 4px 16px rgba(0,0,0,.35)); }
.drawer-head .t2 { color: rgba(255,255,255,.55); font-size: 11px; font-weight: 500; }
.drawer-body { flex: 1; padding: 14px 14px; overflow-y: auto; }
.drawer-item {
  display: flex; align-items: center; gap: 13px;
  padding: 12.5px 12px; border-radius: 14px; margin-bottom: 2px;
  color: rgba(255,255,255,.82); font-size: 14px; font-weight: 600;
  transition: background .2s;
  width: 100%; text-align: right;
}
.drawer-item svg { width: 20px; height: 20px; opacity: .8; flex: none; }
.drawer-item:active { background: rgba(255,255,255,.08); }
.drawer-item.on { background: rgba(204,154,121,.18); color: #fff; }
.drawer-item.on svg { opacity: 1; color: var(--brown-bright); }
.drawer-foot { padding: 16px 22px 22px; border-top: 1px solid rgba(255,255,255,.09); }
.drawer-foot .v { color: rgba(255,255,255,.45); font-size: 10.5px; font-weight: 500; }
.drawer-foot .w { color: rgba(255,255,255,.75); font-size: 12px; font-weight: 700; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.drawer-foot svg { width: 14px; height: 14px; }

/* ── کارت ورود / کارت کاربر در منو ───────────────────── */
.drawer-login {
  margin: 14px 14px 8px; width: calc(100% - 28px); border-radius: 20px; padding: 15px;
  background: linear-gradient(140deg, rgba(204,154,121,.24), rgba(204,154,121,.08));
  border: 1px solid rgba(204,154,121,.4); display: flex; align-items: center; gap: 12px;
  text-align: right; transition: transform .15s;
}
.drawer-login:active { transform: scale(.98); }
.dl-av {
  width: 46px; height: 46px; border-radius: 16px; flex: none;
  background: rgba(204,154,121,.22); border: 1.6px dashed rgba(230,183,149,.7); color: var(--brown-bright);
  display: flex; align-items: center; justify-content: center;
}
.dl-av svg { width: 22px; height: 22px; }
.dl-body { flex: 1; min-width: 0; }
.dl-t { color: #fff; font-size: 13.5px; font-weight: 900; }
.dl-s { color: rgba(255,255,255,.55); font-size: 10.5px; font-weight: 500; margin-top: 4px; }
.dl-go {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  background: linear-gradient(135deg, var(--brown), var(--brown-deep)); color: #fff;
  font-size: 11px; font-weight: 900; padding: 7.5px 13px; border-radius: 99px;
  box-shadow: 0 10px 20px -10px rgba(204,154,121,.8);
}
.dl-go svg { width: 12px; height: 12px; }
.drawer-user {
  margin: 14px 14px 8px; width: calc(100% - 28px); border-radius: 20px; padding: 14px 15px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; gap: 12px;
}
.du-av {
  width: 46px; height: 46px; border-radius: 16px; flex: none;
  background: linear-gradient(135deg, var(--brown), var(--brown-deep)); color: #fff;
  font-size: 17px; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.du-t { color: #fff; font-size: 13.5px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.du-s { color: rgba(255,255,255,.55); font-size: 10.5px; font-weight: 500; margin-top: 4px; }

/* ── نوار پایین (تب‌ها) ─────────────────────────────────── */
.tabbar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 40;
  height: var(--tabbar-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--hair);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
}
body.no-tab .tabbar { display: none; }
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted-2); font-size: 10.5px; font-weight: 600;
  border-radius: 14px; position: relative; transition: color .2s;
}
.tab svg { width: 22px; height: 22px; }
.tab .ic { position: relative; display: flex; padding: 3px 14px; border-radius: 999px; transition: background .25s; }
.tab.on { color: var(--navy); font-weight: 800; }
.tab.on .ic { background: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(204,154,121,.5); }
.tab.on::after {
  content: ''; position: absolute; bottom: 1px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--brown-deep);
}
.tab:active svg { transform: scale(.9); }

/* ── اجزای عمومی ───────────────────────────────────────── */
.wrap { padding: 0 18px; }
.section-h { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 13px; }
.section-h .sh-t { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--navy); }
.section-h .sh-t::before { content: ''; width: 4px; height: 17px; border-radius: 4px; background: var(--brown); }
.section-h .sh-more { font-size: 11.5px; font-weight: 700; color: var(--brown-deep); display: flex; align-items: center; gap: 3px; }
.section-h .sh-more svg { width: 14px; height: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 16px; padding: 14px 22px;
  font-size: 14px; font-weight: 800;
  transition: transform .15s, filter .2s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(120deg, var(--brown) 0%, var(--brown-deep) 100%); color: #fff; box-shadow: 0 12px 26px -12px rgba(177,130,102,.75); }
.btn-primary:active { filter: brightness(.96); }
.btn-dark { background: var(--navy); color: #fff; box-shadow: 0 12px 26px -14px rgba(26,45,77,.7); }
.btn-ghost { background: var(--white); color: var(--navy); border: 1.5px solid var(--hair); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8.5px 16px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--hair);
  font-size: 12px; font-weight: 700; color: var(--navy-soft);
  white-space: nowrap; transition: .2s;
}
.chip svg { width: 14px; height: 14px; }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 8px 18px -10px rgba(26,45,77,.6); }
.rail { display: flex; gap: 9px; overflow-x: auto; padding: 2px 18px 4px; scrollbar-width: none; margin: 0 -18px; }
.rail::-webkit-scrollbar { display: none; }

.card { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--hair); box-shadow: var(--shadow-1); }
.field { display: block; margin-bottom: 14px; }
.field .f-l { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--hair); background: var(--cream);
  border-radius: 14px; padding: 13px 15px; font-size: 14px; font-weight: 600; color: var(--ink);
  outline: none; transition: border .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--brown); background: #fff;
  box-shadow: 0 0 0 4px var(--brown-tint);
}
.field input::placeholder { color: var(--muted-2); font-weight: 500; }
.form-error {
  background: rgba(180,85,85,.09); border: 1px solid rgba(180,85,85,.25); color: var(--bad);
  border-radius: 13px; padding: 11px 14px; font-size: 12px; font-weight: 700; line-height: 1.9;
}
.form-ok {
  background: var(--good-tint); border: 1px solid rgba(46,143,99,.3); color: var(--good);
  border-radius: 13px; padding: 11px 14px; font-size: 12px; font-weight: 700; line-height: 1.9;
}

/* ── خانه ──────────────────────────────────────────────── */
.greet { padding: 6px 18px 0; text-align: center; }
.greet .g1 { font-size: 21px; font-weight: 900; color: var(--navy); letter-spacing: -.3px; }
.greet .g2 { font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 5px; line-height: 2; }

.continue {
  margin: 16px 18px 0; border-radius: var(--r-lg);
  background: linear-gradient(135deg, #223a61 0%, var(--navy) 55%, var(--navy-ink) 100%);
  box-shadow: var(--shadow-2);
  display: flex; align-items: center; gap: 13px; padding: 15px;
  position: relative; overflow: hidden;
}
.continue::before {
  content: ''; position: absolute; left: -40px; top: -55px; width: 170px; height: 170px;
  border-radius: 50%; background: radial-gradient(circle, rgba(204,154,121,.28), transparent 70%);
}
.continue .c-box { position: relative; width: 86px; height: 64px; border-radius: 14px; overflow: hidden; flex: none; background: linear-gradient(135deg, var(--navy-soft), var(--navy-ink)); }
.continue .c-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 20px; }
.continue .c-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.continue .c-body { flex: 1; min-width: 0; position: relative; }
.continue .c-label { font-size: 9.5px; font-weight: 800; color: var(--brown-bright); letter-spacing: .3px; display: flex; align-items: center; gap: 5px; }
.continue .c-label svg { width: 12px; height: 12px; }
.continue .c-title { color: #fff; font-size: 13.5px; font-weight: 800; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.continue .c-bar { height: 5px; background: rgba(255,255,255,.14); border-radius: 99px; margin-top: 9px; overflow: hidden; }
.continue .c-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brown-bright), var(--brown)); border-radius: 99px; }
.continue .c-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.continue .c-pct { font-size: 10px; color: rgba(255,255,255,.55); font-weight: 600; }
.continue .c-go { font-size: 11px; font-weight: 800; color: #fff; background: var(--brown); padding: 6px 14px; border-radius: 999px; display: flex; align-items: center; gap: 4px; }
.continue .c-go svg { width: 13px; height: 13px; }

.search-pill {
  margin: 18px 18px 0; width: calc(100% - 36px); height: 52px; border-radius: 18px;
  background: var(--white); border: 1px solid var(--hair);
  display: flex; align-items: center; gap: 11px; padding: 0 17px;
  box-shadow: 0 8px 24px -14px rgba(26,45,77,.3);
  color: var(--muted); font-size: 13px; font-weight: 600;
}
.search-pill svg { width: 19px; height: 19px; color: var(--brown-deep); }
.search-pill .sp-kbd { margin-right: auto; font-size: 9.5px; font-weight: 700; color: var(--muted-2); border: 1px solid var(--hair); border-radius: 7px; padding: 3px 8px; }

.featured { margin: 20px 18px 0; border-radius: 26px; overflow: hidden; position: relative; height: 216px; box-shadow: var(--shadow-2); }
.featured .f-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.featured .f-ph { position: absolute; inset: 0; background: linear-gradient(140deg, var(--navy-soft), var(--navy-ink)); }
.featured .f-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(13,25,48,.92) 8%, rgba(13,25,48,.42) 46%, rgba(13,25,48,.08) 75%); }
.featured .f-body { position: absolute; inset: 0; z-index: 3; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; }
.f-badge { position: absolute; top: 16px; right: 16px; display: flex; gap: 7px; z-index: 4; }
.f-badge span { font-size: 10px; font-weight: 800; padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(6px); }
.f-badge .b1 { background: rgba(204,154,121,.92); color: #fff; }
.f-badge .b2 { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.featured .f-cat { color: var(--brown-bright); font-size: 10.5px; font-weight: 800; }
.featured .f-title { color: #fff; font-size: 18px; font-weight: 900; margin-top: 6px; line-height: 1.6; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.featured .f-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.f-price { display: flex; align-items: baseline; gap: 8px; color: #fff; }
.f-price .p { font-size: 16.5px; font-weight: 900; }
.f-price .u { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.65); }
.f-price del { font-size: 11px; color: rgba(255,255,255,.5); }
.f-go { width: 42px; height: 42px; border-radius: 14px; background: var(--brown); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 10px 22px -8px rgba(0,0,0,.5); }
.f-go svg { width: 19px; height: 19px; }

.hscroll { display: flex; gap: 13px; overflow-x: auto; padding: 4px 18px 8px; scrollbar-width: none; margin: 0 -18px; scroll-snap-type: x mandatory; }
.hscroll::-webkit-scrollbar { display: none; }

.cc {
  width: 236px; flex: none; scroll-snap-align: start;
  background: var(--white); border-radius: 22px; border: 1px solid var(--hair);
  box-shadow: var(--shadow-1); overflow: hidden;
  transition: transform .18s;
}
.cc:active { transform: scale(.975); }
.cc .cc-cover { position: relative; height: 134px; background: linear-gradient(140deg, var(--cream-2), #e8dbc8); }
.cc .cc-cover img { width: 100%; height: 100%; object-fit: cover; }
.cc .cc-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 900; color: var(--brown-deep); opacity: .55; }
.cc .cc-flag { position: absolute; top: 10px; right: 10px; font-size: 9.5px; font-weight: 800; color: #fff; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.cc .cc-flag.off { background: rgba(204,154,121,.94); }
.cc .cc-flag.free { background: rgba(46,143,99,.92); }
.cc .cc-body { padding: 12px 14px 14px; }
.cc .cc-cat { font-size: 9.5px; font-weight: 700; color: var(--brown-deep); }
.cc .cc-title { font-size: 13.5px; font-weight: 800; color: var(--navy); line-height: 1.7; margin-top: 4px; height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cc .cc-meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.cc .cc-meta span { display: flex; align-items: center; gap: 4px; }
.cc .cc-meta svg { width: 13px; height: 13px; }
.cc .cc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--hair); }
.cc .cc-price { font-size: 14px; font-weight: 900; color: var(--navy); }
.cc .cc-price small { font-size: 9.5px; font-weight: 600; color: var(--muted); }
.cc .cc-price .fr { color: var(--good); font-size: 12.5px; font-weight: 800; }
.cc .cc-price del { font-size: 10px; color: var(--muted-2); font-weight: 600; margin-right: 6px; }
.cc .cc-arrow { width: 30px; height: 30px; border-radius: 10px; background: var(--cream); display: flex; align-items: center; justify-content: center; color: var(--brown-deep); }
.cc .cc-arrow svg { width: 15px; height: 15px; }

.rows { display: flex; flex-direction: column; gap: 12px; padding: 0 18px; }
.rowc {
  display: flex; gap: 13px; align-items: center;
  background: var(--white); border: 1px solid var(--hair); border-radius: 20px;
  padding: 12px; box-shadow: var(--shadow-1); transition: transform .18s;
}
.rowc:active { transform: scale(.977); }
.rowc .r-cover { position: relative; width: 104px; height: 80px; border-radius: 15px; overflow: hidden; flex: none; background: linear-gradient(140deg, var(--cream-2), #e8dbc8); }
.rowc .r-cover img { width: 100%; height: 100%; object-fit: cover; }
.rowc .r-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 900; color: var(--brown-deep); opacity: .55; }
.rowc .r-body { flex: 1; min-width: 0; }
.rowc .r-cat { font-size: 9.5px; font-weight: 700; color: var(--brown-deep); }
.rowc .r-title { font-size: 13.5px; font-weight: 800; color: var(--navy); line-height: 1.65; margin-top: 3px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rowc .r-meta { display: flex; gap: 11px; margin-top: 6px; color: var(--muted); font-size: 10px; font-weight: 600; }
.rowc .r-meta span { display: flex; align-items: center; gap: 4px; }
.rowc .r-meta svg { width: 12.5px; height: 12.5px; }
.rowc .r-side { text-align: center; flex: none; padding-left: 4px; }
.rowc .r-price { font-size: 13.5px; font-weight: 900; color: var(--navy); }
.rowc .r-price small { font-size: 9px; color: var(--muted); font-weight: 600; }
.rowc .r-price .fr { color: var(--good); font-size: 12px; font-weight: 800; }
.rowc .r-price del { display: block; font-size: 9.5px; color: var(--muted-2); margin-top: 3px; }

.stats-band {
  margin: 26px 18px 0; border-radius: var(--r-lg);
  background: linear-gradient(140deg, #223a61, var(--navy-ink));
  padding: 18px 10px; display: grid; grid-template-columns: repeat(4, 1fr);
  box-shadow: var(--shadow-2);
}
.stats-band .st { text-align: center; position: relative; }
.stats-band .st:not(:last-child)::after { content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: rgba(255,255,255,.1); }
.stats-band .n { color: #fff; font-size: 17px; font-weight: 900; }
.stats-band .n em { font-style: normal; color: var(--brown-bright); font-size: 11px; margin-right: 2px; }
.stats-band .l { color: rgba(255,255,255,.55); font-size: 9.5px; font-weight: 600; margin-top: 4px; }

.teacher {
  margin: 16px 18px 0; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--hair); box-shadow: var(--shadow-1);
  display: flex; align-items: center; gap: 13px; padding: 15px;
}
.teacher .t-av { width: 52px; height: 52px; border-radius: 18px; background: linear-gradient(140deg, var(--navy), var(--navy-ink)); color: #fff; font-size: 21px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 10px 20px -10px rgba(26,45,77,.6); }
.teacher .t-body { flex: 1; }
.teacher .t-name { font-size: 14px; font-weight: 800; color: var(--navy); }
.teacher .t-sub { font-size: 10.5px; font-weight: 500; color: var(--muted); margin-top: 4px; line-height: 1.8; }
.teacher .t-chv { color: var(--muted-2); } .teacher .t-chv svg { width: 18px; height: 18px; }

.foot-note { text-align: center; padding: 26px 0 8px; color: var(--muted-2); font-size: 10px; font-weight: 500; line-height: 2.1; }
.foot-note b { color: var(--brown-deep); font-weight: 700; }

/* ── صفحهٔ دوره‌ها ─────────────────────────────────────── */
.page-head { padding: 8px 18px 0; }
.page-head .ph-t { font-size: 21px; font-weight: 900; color: var(--navy); letter-spacing: -.2px; }
.page-head .ph-s { font-size: 11.5px; color: var(--muted); margin-top: 5px; font-weight: 500; }
.search-box { margin: 16px 18px 0; position: relative; }
.search-box input {
  width: 100%; height: 50px; border-radius: 17px; border: 1.5px solid var(--hair);
  background: var(--white); padding: 0 48px 0 15px; font-size: 13.5px; font-weight: 600; color: var(--ink);
  outline: none; transition: .2s; box-shadow: var(--shadow-1);
}
.search-box input:focus { border-color: var(--brown); box-shadow: 0 0 0 4px var(--brown-tint); }
.search-box > svg { position: absolute; right: 16px; top: 15px; width: 20px; height: 20px; color: var(--brown-deep); pointer-events: none; }
.search-clear { position: absolute; left: 12px; top: 11px; width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--muted); background: var(--cream); }
.search-clear svg { width: 15px; height: 15px; }
.empty { text-align: center; padding: 60px 30px; color: var(--muted); }
.empty .e-ic { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 26px; background: var(--white); border: 1px solid var(--hair); display: flex; align-items: center; justify-content: center; color: var(--brown); box-shadow: var(--shadow-1); }
.empty .e-ic svg { width: 34px; height: 34px; }
.empty .e-t { font-size: 14.5px; font-weight: 800; color: var(--navy); }
.empty .e-s { font-size: 11.5px; margin-top: 7px; line-height: 2; }

/* ── جزئیات دوره ───────────────────────────────────────── */
.pd-hero { position: relative; height: 264px; background: var(--navy-ink); }
.pd-hero img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.pd-hero .pd-ph { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; font-size: 64px; font-weight: 900; color: rgba(255,255,255,.2); background: linear-gradient(140deg, var(--navy-soft), var(--navy-ink)); }
.pd-hero .pd-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(13,25,48,.85), rgba(13,25,48,.15) 55%); }
.pd-top { position: absolute; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; z-index: 5; }
.pd-fab { width: 40px; height: 40px; border-radius: 13px; background: rgba(253,245,234,.94); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; color: var(--navy); box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }
.pd-fab svg { width: 19px; height: 19px; }
.pd-sheet {
  position: relative; margin-top: -30px; border-radius: 30px 30px 0 0;
  background: var(--cream); padding: 22px 18px 30px; min-height: 60vh;
}
.pd-grab { width: 44px; height: 4.5px; border-radius: 99px; background: var(--hair); margin: 0 auto 16px; }
.pd-title { font-size: 19px; font-weight: 900; color: var(--navy); line-height: 1.75; }
.pd-tags { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pd-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--hair); color: var(--navy-soft); }
.pd-tag svg { width: 13px; height: 13px; color: var(--brown-deep); }
.pd-tag.acc { background: var(--brown-tint); border-color: rgba(204,154,121,.3); color: var(--brown-deep); }

.pd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.pd-stat { background: var(--white); border: 1px solid var(--hair); border-radius: 16px; padding: 12px 6px; text-align: center; }
.pd-stat svg { width: 17px; height: 17px; color: var(--brown-deep); }
.pd-stat .v { font-size: 13.5px; font-weight: 900; color: var(--navy); margin-top: 6px; }
.pd-stat .l { font-size: 9px; font-weight: 600; color: var(--muted); margin-top: 3px; }

.pd-block-t { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--navy); margin: 24px 0 12px; }
.pd-block-t svg { width: 17px; height: 17px; color: var(--brown-deep); }
.pd-desc { font-size: 13px; font-weight: 500; color: var(--navy-soft); line-height: 2.2; background: var(--white); border: 1px solid var(--hair); border-radius: 18px; padding: 16px; box-shadow: var(--shadow-1); }

.cur { display: flex; flex-direction: column; gap: 9px; }
.cur-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--hair); border-radius: 16px; padding: 12px 13px;
  box-shadow: 0 6px 16px -12px rgba(26,45,77,.25);
}
.cur-item.playable { border-color: rgba(204,154,121,.4); }
.cur-ix { width: 30px; height: 30px; border-radius: 11px; background: var(--cream); color: var(--brown-deep); font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex: none; }
.cur-item.playable .cur-ix { background: var(--brown); color: #fff; }
.cur-t { flex: 1; min-width: 0; }
.cur-name { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cur-sub { font-size: 9.5px; color: var(--muted); margin-top: 3px; font-weight: 500; }
.cur-st { flex: none; display: flex; align-items: center; gap: 6px; }
.cur-st svg { width: 16px; height: 16px; }
.cur-st .lock { color: var(--muted-2); }
.cur-st .play { color: var(--good); }
.cur-st .free-badge { font-size: 8.5px; font-weight: 800; color: var(--good); background: var(--good-tint); border-radius: 99px; padding: 3px 8px; }

.buy-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 45;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--hair);
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 14px;
}
.buy-bar .bb-price { flex: none; }
.buy-bar .bb-p { font-size: 16.5px; font-weight: 900; color: var(--navy); }
.buy-bar .bb-p small { font-size: 10px; font-weight: 600; color: var(--muted); }
.buy-bar .bb-p .fr { color: var(--good); }
.buy-bar .bb-p del { display: block; font-size: 10px; color: var(--muted-2); font-weight: 600; margin-top: 2px; }
.buy-bar .btn { flex: 1; padding: 14px 10px; }
body.no-tab .buy-bar { bottom: 0; }

/* ── پلیر ──────────────────────────────────────────────── */
.player-page { background: var(--navy-ink); min-height: 100%; padding-bottom: 26px; }
.pl-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px; }
.pl-top .pd-fab { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.14); }
.pl-top .pl-t { color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.pl-top .pl-c { color: rgba(255,255,255,.5); font-size: 10px; font-weight: 600; }
.vid-wrap { position: relative; margin: 6px 14px 0; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 16/9; box-shadow: 0 24px 60px -30px rgba(0,0,0,.8); }
.vid-wrap video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.vid-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(150deg, #223a61, var(--navy-ink)); text-align: center; padding: 20px; }
.vid-lock .vl-ic { width: 56px; height: 56px; border-radius: 20px; background: rgba(204,154,121,.16); display: flex; align-items: center; justify-content: center; color: var(--brown-bright); }
.vid-lock .vl-ic svg { width: 26px; height: 26px; }
.vid-lock .vl-t { color: #fff; font-size: 14px; font-weight: 800; }
.vid-lock .vl-s { color: rgba(255,255,255,.6); font-size: 11px; font-weight: 500; line-height: 2; }
.vid-lock .btn { padding: 11px 20px; font-size: 12.5px; border-radius: 13px; }
.vid-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vid-loading i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--brown-bright); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pl-note {
  margin: 12px 14px 0; display: flex; align-items: center; gap: 8px;
  background: rgba(204,154,121,.1); border: 1px solid rgba(204,154,121,.25);
  color: var(--brown-bright); border-radius: 13px; padding: 10px 14px;
  font-size: 10.5px; font-weight: 700;
}
.pl-note svg { width: 15px; height: 15px; flex: none; }
.pl-card { margin: 14px 14px 0; background: var(--white); border-radius: 20px; padding: 16px; border: 1px solid var(--hair); }
.pl-card .pc-course { font-size: 10px; font-weight: 700; color: var(--brown-deep); }
.pl-card .pc-title { font-size: 16px; font-weight: 900; color: var(--navy); margin-top: 5px; line-height: 1.8; }
.pl-actions { display: flex; gap: 9px; margin-top: 14px; }
.pl-actions .btn { flex: 1; padding: 12px 8px; font-size: 12px; border-radius: 14px; }
.pl-actions .btn.done { background: var(--good-tint); color: var(--good); border: 1.5px solid rgba(46,143,99,.35); }
.pl-list-t { color: #fff; font-size: 14px; font-weight: 800; margin: 22px 18px 12px; display: flex; align-items: center; gap: 8px; }
.pl-list-t svg { width: 16px; height: 16px; color: var(--brown-bright); }
.pl-lesson {
  display: flex; align-items: center; gap: 12px; margin: 0 14px 9px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 12px 14px; width: auto;
}
.pl-lesson.on { background: rgba(204,154,121,.18); border-color: rgba(204,154,121,.4); }
.pl-lesson .cur-ix { background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); }
.pl-lesson.on .cur-ix { background: var(--brown); color: #fff; }
.pl-lesson .cur-name { color: rgba(255,255,255,.85); }
.pl-lesson .lock { color: rgba(255,255,255,.4); } .pl-lesson .play { color: var(--brown-bright); }

/* ── دوره‌های من ───────────────────────────────────────── */
.my-card { margin: 0 18px 13px; background: var(--white); border: 1px solid var(--hair); border-radius: 20px; box-shadow: var(--shadow-1); overflow: hidden; }
.my-top { display: flex; gap: 13px; padding: 13px; align-items: center; }
.my-cover { position: relative; width: 108px; height: 78px; border-radius: 15px; overflow: hidden; flex: none; background: linear-gradient(140deg, var(--cream-2), #e8dbc8); }
.my-cover img { width: 100%; height: 100%; object-fit: cover; }
.my-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 900; color: var(--brown-deep); opacity: .55; }
.my-body { flex: 1; min-width: 0; }
.my-title { font-size: 13.5px; font-weight: 800; color: var(--navy); line-height: 1.65; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.my-meta { display: flex; gap: 11px; margin-top: 7px; color: var(--muted); font-size: 10px; font-weight: 600; }
.my-meta span { display: flex; align-items: center; gap: 4px; }
.my-meta svg { width: 13px; height: 13px; }
.my-bar { height: 5px; background: var(--cream-2); border-radius: 99px; margin: 0 13px 12px; overflow: hidden; }
.my-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brown-bright), var(--brown-deep)); transition: width .4s; }
.my-foot { display: flex; align-items: center; justify-content: space-between; padding: 0 13px 13px; }
.my-pct { font-size: 10px; color: var(--muted); font-weight: 700; }
.my-go { display: flex; align-items: center; gap: 5px; background: var(--brown); color: #fff; font-size: 11.5px; font-weight: 800; padding: 8px 16px; border-radius: 999px; }
.my-go svg { width: 13px; height: 13px; }

/* ── ورود ──────────────────────────────────────────────── */
.auth-head { text-align: center; padding: 14px 0 4px; }
.auth-head .a-mark { height: 40px; width: auto; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.auth-head .a-mark img { height: 40px; width: auto; }
.auth-head .a-t { font-size: 18px; font-weight: 900; color: var(--navy); margin-top: 14px; }
.auth-head .a-s { font-size: 11.5px; color: var(--muted); margin-top: 7px; line-height: 2.1; padding: 0 30px; }
.seg { display: flex; background: var(--cream-2); border-radius: 15px; padding: 4px; margin: 18px 18px 0; }
.seg button { flex: 1; padding: 10px; border-radius: 12px; font-size: 12.5px; font-weight: 700; color: var(--muted); transition: .25s; }
.seg button.on { background: var(--white); color: var(--navy); font-weight: 800; box-shadow: 0 6px 16px -10px rgba(26,45,77,.35); }
.otp-boxes { display: flex; gap: 8px; direction: ltr; justify-content: center; margin: 20px 0 4px; }
.otp-boxes input {
  width: 44px; height: 54px; border-radius: 14px; border: 1.5px solid var(--hair);
  background: var(--white); text-align: center; font-size: 19px; font-weight: 900; color: var(--navy);
  outline: none; transition: .2s;
}
.otp-boxes input:focus { border-color: var(--brown); box-shadow: 0 0 0 4px var(--brown-tint); }
.otp-meta { text-align: center; font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 14px; line-height: 2; }
.otp-meta b { color: var(--navy); }
.resend { color: var(--brown-deep); font-weight: 800; }
.resend[disabled] { color: var(--muted-2); }

/* ── پروفایل ───────────────────────────────────────────── */
.prof-head {
  margin: 10px 18px 0; border-radius: 26px; padding: 20px;
  background: linear-gradient(140deg, #223a61, var(--navy-ink));
  box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 15px;
  position: relative; overflow: hidden;
}
.prof-head::before { content: ''; position: absolute; right: -46px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(204,154,121,.25), transparent 70%); }
.prof-av { width: 60px; height: 60px; border-radius: 22px; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.25); color: #fff; font-size: 23px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex: none; }
.prof-name { color: #fff; font-size: 16.5px; font-weight: 900; }
.prof-phone { color: rgba(255,255,255,.6); font-size: 11.5px; font-weight: 600; margin-top: 5px; direction: ltr; text-align: right; }
.prof-tag { font-size: 9px; font-weight: 800; color: var(--brown-bright); background: rgba(204,154,121,.18); border: 1px solid rgba(204,154,121,.35); padding: 4px 10px; border-radius: 99px; display: inline-flex; margin-top: 7px; }
.menu-list { margin: 18px 18px 0; background: var(--white); border: 1px solid var(--hair); border-radius: 20px; box-shadow: var(--shadow-1); overflow: hidden; }
.menu-row { display: flex; align-items: center; gap: 13px; padding: 15px 16px; width: 100%; text-align: right; border-bottom: 1px solid var(--hair); transition: background .15s; }
.menu-row:last-child { border-bottom: 0; }
.menu-row:active { background: var(--cream); }
.menu-ic { width: 38px; height: 38px; border-radius: 13px; background: var(--cream); color: var(--brown-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.menu-ic svg { width: 18px; height: 18px; }
.menu-row > span[style] { display: flex; flex-direction: column; min-width: 0; }
.menu-t { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.menu-s { display: block; font-size: 10px; color: var(--muted); font-weight: 500; margin-top: 3px; }
.menu-row .chv { color: var(--muted-2); } .menu-row .chv svg { width: 16px; height: 16px; }
.menu-row.danger .menu-ic { background: rgba(180,85,85,.1); color: var(--bad); }
.menu-row.danger .menu-t { color: var(--bad); }

/* ── کارت ورود مهمان در پروفایل ───────────────────────── */
.prof-login-card {
  margin: 10px 18px 0; width: calc(100% - 36px); border-radius: 26px; padding: 20px;
  background: linear-gradient(140deg, #223a61, var(--navy-ink));
  box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 14px;
  position: relative; overflow: hidden; text-align: right; transition: transform .15s;
}
.prof-login-card::before { content: ''; position: absolute; right: -46px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(204,154,121,.28), transparent 70%); }
.prof-login-card::after { content: ''; position: absolute; left: -34px; bottom: -78px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(204,154,121,.15), transparent 70%); }
.prof-login-card:active { transform: scale(.985); }
.plc-av {
  width: 58px; height: 58px; border-radius: 21px; position: relative; z-index: 1; flex: none;
  background: rgba(204,154,121,.18); border: 1.6px dashed rgba(230,183,149,.65); color: var(--brown-bright);
  display: flex; align-items: center; justify-content: center;
}
.plc-av svg { width: 27px; height: 27px; }
.plc-body { flex: 1; min-width: 0; position: relative; z-index: 1; }
.plc-t { color: #fff; font-size: 15.5px; font-weight: 900; }
.plc-s { color: rgba(255,255,255,.6); font-size: 10.5px; font-weight: 500; margin-top: 5px; line-height: 1.9; }
.plc-btn {
  margin-top: 13px; display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--brown), var(--brown-deep)); color: #fff;
  font-size: 12.5px; font-weight: 900; padding: 9.5px 17px; border-radius: 99px;
  box-shadow: 0 12px 24px -10px rgba(204,154,121,.75);
}
.plc-btn svg { width: 14px; height: 14px; }

/* ردیف ورود برجسته در فهرست منو */
.menu-row.login-hl { background: linear-gradient(135deg, rgba(204,154,121,.16), rgba(204,154,121,.05)); }
.menu-row.login-hl:active { background: rgba(204,154,121,.24); }
.menu-row.login-hl .menu-ic {
  background: linear-gradient(135deg, var(--brown), var(--brown-deep)); color: #fff;
  box-shadow: 0 8px 16px -8px rgba(204,154,121,.7);
}
.menu-row.login-hl .menu-t { color: var(--brown-deep); font-weight: 900; }
.menu-row.login-hl .menu-s { color: rgba(177,130,102,.75); }
.menu-row.login-hl .chv { color: var(--brown-deep); }

/* ── ثبت فیش ───────────────────────────────────────────── */
.steps { display: flex; align-items: center; margin: 18px 18px 4px; }
.step { flex: 1; text-align: center; position: relative; }
.step .s-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--hair); color: var(--muted); font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto; position: relative; z-index: 2; transition: .3s; }
.step .s-l { font-size: 9.5px; font-weight: 700; color: var(--muted); margin-top: 7px; }
.step.on .s-dot { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 8px 18px -8px rgba(26,45,77,.55); }
.step.on .s-l { color: var(--navy); }
.step.done .s-dot { background: var(--good); border-color: var(--good); color: #fff; }
.step-line { position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--hair); z-index: 1; }
.step.done .step-line, .step.on .step-line { background: var(--brown); }
.pay-info {
  margin: 16px 18px 0; border-radius: 20px;
  background: linear-gradient(150deg, #223a61, var(--navy-ink));
  padding: 17px; color: #fff; box-shadow: var(--shadow-2);
}
.pay-info .pi-t { font-size: 13.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.pay-info .pi-t svg { width: 16px; height: 16px; color: var(--brown-bright); }
.pay-info .pi-s { font-size: 10.5px; color: rgba(255,255,255,.6); margin-top: 6px; line-height: 2; font-weight: 500; }
.bank-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 13px; margin-top: 11px; }
.bank-card .bc-row { display: flex; align-items: center; justify-content: space-between; }
.bank-card .bc-bank { font-size: 10px; font-weight: 800; background: rgba(255,255,255,.12); padding: 4px 10px; border-radius: 8px; }
.bank-card .bc-name { font-size: 10px; color: rgba(255,255,255,.6); font-weight: 600; }
.bank-card .bc-num { text-align: center; direction: ltr; font-size: 16.5px; font-weight: 900; letter-spacing: 2.5px; margin: 10px 0; font-variant-numeric: tabular-nums; }
.copy-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; background: var(--brown); color: #fff; font-size: 11.5px; font-weight: 800; border-radius: 11px; padding: 9px; }
.copy-btn svg { width: 14px; height: 14px; }
.pick-zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 2px dashed rgba(204,154,121,.5); background: rgba(204,154,121,.06);
  border-radius: 18px; padding: 26px 16px; text-align: center; cursor: pointer; transition: .2s;
}
.pick-zone:active { background: rgba(204,154,121,.14); }
.pick-zone .pz-ic { width: 46px; height: 46px; border-radius: 16px; background: var(--brown-tint); color: var(--brown-deep); display: flex; align-items: center; justify-content: center; }
.pick-zone .pz-ic svg { width: 22px; height: 22px; }
.pick-zone .pz-t { font-size: 12.5px; font-weight: 800; color: var(--navy); }
.pick-zone .pz-s { font-size: 10px; color: var(--muted); font-weight: 500; line-height: 1.9; }
.pick-preview { margin-top: 12px; border-radius: 16px; overflow: hidden; border: 1px solid var(--hair); position: relative; }
.pick-preview img { width: 100%; max-height: 210px; object-fit: contain; background: var(--cream-2); }
.pick-preview .pv-x { position: absolute; top: 8px; left: 8px; width: 30px; height: 30px; border-radius: 10px; background: rgba(13,25,48,.7); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.pick-preview .pv-x svg { width: 15px; height: 15px; }
.order-chip { display: flex; align-items: center; justify-content: space-between; background: var(--cream-2); border-radius: 13px; padding: 11px 14px; margin-top: 14px; font-size: 11px; font-weight: 700; color: var(--navy-soft); }
.order-chip b { direction: ltr; letter-spacing: .5px; font-size: 12px; }
.done-card { text-align: center; padding: 40px 26px; }
.done-card .d-ic { width: 74px; height: 74px; border-radius: 26px; background: var(--good-tint); color: var(--good); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; border: 1.5px solid rgba(46,143,99,.3); }
.done-card .d-ic svg { width: 34px; height: 34px; }
.done-card .d-t { font-size: 18px; font-weight: 900; color: var(--navy); }
.done-card .d-s { font-size: 12px; color: var(--muted); line-height: 2.2; margin-top: 10px; }
.done-card .d-s b { color: var(--navy); }

/* ── توست ──────────────────────────────────────────────── */
.toast {
  position: absolute; bottom: calc(var(--tabbar-h) + 16px); left: 50%; transform: translateX(50%) translateY(14px);
  background: rgba(13,25,48,.94); color: #fff; font-size: 12px; font-weight: 700;
  padding: 12px 18px; border-radius: 15px; z-index: 80; max-width: 82%;
  text-align: center; opacity: 0; visibility: hidden; transition: .3s;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.5); line-height: 1.9;
}
body.no-tab .toast { bottom: 20px; }
.toast.show { opacity: 1; visibility: visible; transform: translateX(50%) translateY(0); }

/* ── اسکلت ─────────────────────────────────────────────── */
.sk { background: linear-gradient(100deg, var(--cream-2) 40%, #fff8ee 50%, var(--cream-2) 60%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 14px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── درباره/پشتیبانی ───────────────────────────────────── */
.about-hero { text-align: center; padding: 30px 26px 8px; }
.about-hero .a-mark { width: auto; height: 44px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.about-hero .a-mark img { height: 44px; width: auto; }
.about-hero .a-s { font-size: 12px; color: var(--muted); margin-top: 10px; font-weight: 500; }
.about-txt { margin: 18px 18px 0; background: var(--white); border: 1px solid var(--hair); border-radius: 20px; padding: 18px; font-size: 12.5px; line-height: 2.3; color: var(--navy-soft); font-weight: 500; box-shadow: var(--shadow-1); }
.faq-item { margin: 0 18px 11px; background: var(--white); border: 1px solid var(--hair); border-radius: 17px; overflow: hidden; box-shadow: 0 6px 16px -12px rgba(26,45,77,.25); }
.faq-q { display: flex; align-items: center; gap: 11px; padding: 14px 16px; font-size: 12.5px; font-weight: 800; color: var(--navy); width: 100%; text-align: right; }
.faq-q .fq-ic { width: 30px; height: 30px; border-radius: 11px; background: var(--cream); color: var(--brown-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.faq-q .fq-ic svg { width: 15px; height: 15px; }
.faq-q .chv { margin-right: auto; color: var(--muted-2); transition: transform .25s; }
.faq-q .chv svg { width: 15px; height: 15px; }
.faq-item.open .chv { transform: rotate(90deg); }
.faq-a { display: none; padding: 0 16px 15px 57px; font-size: 11.5px; color: var(--muted); line-height: 2.2; font-weight: 500; }
.faq-item.open .faq-a { display: block; }

/* ── موبایل واقعی: بدون قاب ────────────────────────────── */
@media (max-width: 899px) {
  body.framed { padding: 0; gap: 0; }
  body.framed .stage, body.framed .caption { display: none; }
  body.framed .phone { width: 100vw; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; padding: 0; box-shadow: none; background: var(--cream); }
  body.framed .phone::before, body.framed .phone::after { display: none; }
  body.framed .phone-screen { border-radius: 0; }
  body.framed .punch { display: none; }
  body.framed .fstatus { display: none !important; }
  body.framed .appbar { padding-top: 12px; }
  body.framed .player-page { padding-top: 0; }
}

/* ══════════ v2.3 — گیت ورود، نوار خانه، ذخیرهٔ آفلاین ══════════ */
.login-gate{margin:14px 16px 6px;background:linear-gradient(150deg,#fff7ec,#ffefd8);border:1.5px solid #e7c98f;border-radius:18px;padding:16px 15px;box-shadow:0 10px 26px -14px rgba(180,120,30,.45)}
.login-gate .lg-row{display:flex;gap:10px;align-items:center}
.login-gate .lg-ic{width:40px;height:40px;min-width:40px;border-radius:13px;background:linear-gradient(145deg,#c98a5e,#a5663d);color:#fff;display:flex;align-items:center;justify-content:center}
.login-gate .lg-ic svg{width:22px;height:22px}
.login-gate .lg-t{font-size:14.5px;font-weight:900;color:#7a4a1c;line-height:2}
.login-gate .lg-s{font-size:12px;font-weight:500;color:#8a6a42;line-height:2.1;margin:8px 0 12px}
.login-gate .btn{width:100%}
.home-strip{display:flex;gap:11px;align-items:center;width:calc(100% - 32px);margin:12px 16px 0;background:linear-gradient(150deg,#10233f,#1a2d4d);border:1px solid rgba(224,168,120,.35);border-radius:16px;padding:13px 14px;color:#f6f1e7;text-align:right;cursor:pointer}
.home-strip svg{width:20px;height:20px;color:#e0a878;flex:none}
.home-strip b{display:block;font-size:13px;font-weight:800;line-height:1.9}
.home-strip i{display:block;font-style:normal;font-size:11px;color:#b9c4d8;margin-top:2px;line-height:1.8}
.home-strip .hs-btn{flex:none;background:linear-gradient(150deg,#c98a5e,#a5663d);color:#fff;font-size:12.5px;font-weight:900;border-radius:12px;padding:9px 14px}
.dl-card{margin:16px 16px 0;background:linear-gradient(150deg,#f4f7ec,#eef4e2);border:1.5px solid #cdd9a8;border-radius:18px;padding:15px}
.dl-card .dl-l{display:flex;gap:10px;align-items:flex-start}
.dl-card .dl-l>svg{width:22px;height:22px;color:#5a7d2a;margin-top:3px;flex:none}
.dl-card .dl-t{font-size:14px;font-weight:900;color:#3e5518;line-height:1.9}
.dl-card .dl-s{font-size:11.5px;font-weight:500;color:#6a7d4a;line-height:2;margin-top:4px}
.dl-card .btn{margin-top:12px}
.dl-card .dl-prog{font-size:12px;font-weight:800;color:#4a6420;text-align:center;margin-top:8px;min-height:16px}

/* ═══ پلیر حرفه‌ای درس — v2.4 ═══════════════════════════════ */
.vid-wrap { touch-action: manipulation; }
.vid-wrap video { transition: transform .3s; }
.vid-wrap.vz-fill video { object-fit: cover; }
.vid-wrap.vz-125 video { transform: scale(1.25); }
.vid-wrap.vz-150 video { transform: scale(1.5); }
.vid-wrap.fs { position: fixed; inset: 0; z-index: 98; margin: 0; border-radius: 0; aspect-ratio: auto; box-shadow: none; }
.vid-wrap.fs video { object-fit: contain; }
body.vp-fs #view { overflow: hidden; }
.vp-big, .vp-spin, .vp-wm, .vp-rip, .vp-resume, .vp-lock { display: none; }
.vid-wrap.vp-on .vp-wm { display: block; }
.vid-wrap.vp-on .vp-big.show { display: grid; }
.vid-wrap.vp-on .vp-spin.show { display: grid; }
.vp-ctrl { display: none; }
.vid-wrap.vp-on .vp-ctrl { display: block; position: absolute; right: 0; left: 0; bottom: 0; z-index: 14; padding: 24px 12px 10px; background: linear-gradient(180deg, transparent, rgba(2,8,18,.82) 62%); transition: opacity .3s, visibility .3s; }
.vid-wrap.vp-on .vp-ctrl.hide { opacity: 0; visibility: hidden; }
.vp-seekrow { display: flex; align-items: center; gap: 8px; direction: ltr; }
.vp-t { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.85); min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }
.vp-seek { position: relative; flex: 1; height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.vp-track { position: relative; width: 100%; height: 4px; border-radius: 99px; background: rgba(255,255,255,.24); }
.vp-buf { position: absolute; inset: 0; width: 0; border-radius: 99px; background: rgba(255,255,255,.34); }
.vp-played { position: absolute; inset: 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--brown-bright), var(--brown)); }
.vp-thumb { position: absolute; top: 50%; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; transform: translate(-50%,-50%) scale(0); box-shadow: 0 2px 10px rgba(0,0,0,.6), 0 0 0 4px rgba(230,183,149,.3); transition: transform .15s; }
.vp-seek:hover .vp-thumb, .vp-seek.drag .vp-thumb { transform: translate(-50%,-50%) scale(1); }
.vp-tip { position: absolute; bottom: 20px; transform: translateX(-50%); background: rgba(8,15,30,.95); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 9.5px; font-weight: 800; padding: 3px 8px; border-radius: 8px; white-space: nowrap; display: none; }
.vp-seek.drag .vp-tip { display: block; }
.vp-chiprow { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.vp-chip { height: 29px; padding: 0 10px; border-radius: 99px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 10.5px; font-weight: 800; display: flex; align-items: center; gap: 5px; flex: none; }
.vp-chip:active { background: rgba(230,183,149,.32); }
.vp-chip svg { width: 14px; height: 14px; }
.vp-row { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.vp-btn { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.vp-btn:active { background: rgba(255,255,255,.16); }
.vp-btn svg { width: 19px; height: 19px; }
.vp-btn.skip { position: relative; }
.vp-btn.skip svg { width: 21px; height: 21px; }
.vp-btn.skip .vp-sk { position: absolute; font-size: 7.5px; font-weight: 900; color: rgba(255,255,255,.9); bottom: 5px; }
.vp-gap { flex: 1; }
.vp-big { position: absolute; inset: 0; z-index: 15; place-items: center; background: transparent; padding: 0; border: 0; width: 100%; pointer-events: none; }
.vp-big .b-in { pointer-events: auto; }
.vp-big .b-in { position: relative; width: 72px; height: 72px; display: grid; place-items: center; }
.vp-big .b-ring { position: absolute; inset: 0; border-radius: 50%; background: var(--brown-bright); opacity: .32; animation: vpPulse 2.2s ease-out infinite; }
.vp-big .b-bg { position: absolute; inset: 9px; border-radius: 50%; background: rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.22); }
.vp-big .b-core { position: relative; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(145deg, var(--brown-bright), var(--brown-deep)); display: grid; place-items: center; color: #2b1a0d; box-shadow: 0 16px 44px rgba(0,0,0,.6); }
.vp-big .b-core svg { width: 23px; height: 23px; margin-right: 3px; }
@keyframes vpPulse { 0% { transform: scale(.8); opacity: .5 } 70% { transform: scale(1.3); opacity: 0 } 100% { transform: scale(1.3); opacity: 0 } }
.vp-spin { position: absolute; inset: 0; z-index: 11; place-items: center; }
.vp-spin i { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255,255,255,.18); border-top-color: var(--brown-bright); animation: spin .8s linear infinite; }
.vp-rip { position: absolute; top: 50%; transform: translateY(-50%) scale(.55); width: 110px; height: 110px; border-radius: 50%; background: rgba(0,0,0,.55); flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; z-index: 12; pointer-events: none; }
.vp-rip.ripL { left: 8%; }
.vp-rip.ripR { right: 8%; }
.vp-rip.show { display: flex; animation: vpRip .55s ease-out forwards; }
.vp-rip svg { width: 24px; height: 24px; }
.vp-rip span { font-size: 10px; font-weight: 800; }
@keyframes vpRip { 0% { opacity: .9; transform: translateY(-50%) scale(.55) } 55% { opacity: .9; transform: translateY(-50%) scale(1) } 100% { opacity: 0; transform: translateY(-50%) scale(1.06) } }
.vp-resume { position: absolute; z-index: 13; top: 10px; left: 10px; align-items: center; gap: 8px; background: rgba(13,25,48,.92); border: 1px solid rgba(255,255,255,.14); color: #fff; border-radius: 14px; padding: 6px 8px 6px 10px; font-size: 11px; font-weight: 700; }
.vp-resume.show { display: flex; }
.vp-resume button { background: linear-gradient(135deg, var(--brown-bright), var(--brown)); color: #2b1a0d; font-size: 10.5px; font-weight: 900; border-radius: 9px; padding: 5px 10px; }
.vp-resume button.vp-rx { background: rgba(255,255,255,.12); color: #fff; padding: 5px 8px; }
.vp-resume button.vp-rx svg { width: 12px; height: 12px; display: block; }
.vp-wm { position: absolute; z-index: 9; font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,.8); background: rgba(0,0,0,.42); padding: 3px 9px; border-radius: 8px; transition: top 1s, left 1s; pointer-events: none; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.vp-lock { position: absolute; inset: 0; z-index: 18; place-items: center; background: rgba(2,8,18,.45); }
.vp-lock.show { display: grid; }
.vp-lock .lk-in { display: flex; flex-direction: column; align-items: center; gap: 9px; color: #fff; }
.vp-lock .lk-ic { width: 50px; height: 50px; border-radius: 17px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.vp-lock .lk-ic svg { width: 23px; height: 23px; }
.vp-lock .lk-t { font-size: 11px; font-weight: 800; }
.vp-lock .lk-s { font-size: 9.5px; color: rgba(255,255,255,.65); }
.vp-lock .lk-btn { background: linear-gradient(135deg, var(--brown-bright), var(--brown)); color: #2b1a0d; font-size: 10.5px; font-weight: 900; border-radius: 10px; padding: 6px 16px; }
.vp-veil { position: fixed; inset: 0; z-index: 99; background: rgba(2,6,14,.55); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.vp-veil.show { opacity: 1; visibility: visible; }
.vp-sheet { position: fixed; right: 0; left: 0; bottom: 0; z-index: 100; background: rgba(13,25,48,.97); border-radius: 22px 22px 0 0; border-top: 1px solid rgba(255,255,255,.1); padding: 8px 16px 22px; transform: translateY(105%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility .3s; max-height: 70vh; overflow-y: auto; }
.vp-sheet.show { transform: none; visibility: visible; }
.vps-grip { width: 42px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.22); margin: 4px auto 10px; }
.vps-t { font-size: 13px; font-weight: 900; color: #fff; margin: 2px 0 10px; display: flex; align-items: center; gap: 8px; }
.vps-t svg { width: 16px; height: 16px; color: var(--brown-bright); }
.vps-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 6px; border-radius: 12px; font-size: 12.5px; font-weight: 700; color: #dfe7f2; background: none; border: 0; text-align: right; }
.vps-row:active { background: rgba(255,255,255,.08); }
.vps-row svg { width: 17px; height: 17px; color: rgba(255,255,255,.6); flex: none; }
.vps-row .vp-chk { width: 16px; height: 16px; margin-right: auto; color: var(--brown-bright); visibility: hidden; }
.vps-row.on { color: var(--brown-bright); }
.vps-row.on svg { color: var(--brown-bright); }
.vps-row.on .vp-chk { visibility: visible; }
.vps-note { font-size: 11px; color: #9fb2cc; padding: 8px 6px 2px; line-height: 1.9; }
