/* ===== آیات الرحمن — بازی قرآن‌آموز ===== */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --bg1: #2e1065;
  --bg2: #5b21b6;
  --card: #ffffff;
  --ink: #2d2440;
  --ink-soft: #6b5f85;
  --gold: #fbbf24;
  --teal: #2dd4bf;
  --green: #22c55e;
  --red: #f87171;
  --purple: #8b5cf6;
  --radius: 22px;
  --fa: 'Vazirmatn', 'Tahoma', sans-serif;
  --ar: 'Scheherazade New', 'Amiri', serif;
  --display: 'Lalezar', 'Vazirmatn', sans-serif;
}

html, body { height: 100%; }
body {
  font-family: var(--fa);
  background: linear-gradient(170deg, var(--bg1), var(--bg2) 60%, #7c3aed);
  background-attachment: fixed;
  color: #fff;
  min-height: 100dvh;
  overflow-x: hidden;
}

.hidden { display: none !important; }

.screen {
  max-width: 520px;
  margin: 0 auto;
  padding: 16px 16px 96px;
  min-height: 100dvh;
}

/* ===== سرصفحهٔ خانه ===== */
.home-header { padding-top: 8px; }
.stats-row { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.stat {
  background: rgba(255,255,255,.14);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 800;
  font-size: 15px;
  backdrop-filter: blur(6px);
}

.coverage-card {
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.coverage-title { font-size: 14px; font-weight: 600; opacity: .92; margin-bottom: 10px; }
.coverage-bar {
  height: 18px;
  background: rgba(0,0,0,.25);
  border-radius: 999px;
  overflow: hidden;
}
.coverage-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #f59e0b);
  box-shadow: 0 0 12px rgba(251,191,36,.55);
  transition: width 1.2s cubic-bezier(.22,1,.36,1);
}
.coverage-label { margin-top: 8px; font-size: 22px; font-weight: 800; color: var(--gold); }

/* ===== مسیرِ نور = آسمانِ نورستان ===== */
.path { padding: 18px 0 0; position: relative; --node: 92px; --row: 118px; }

/* هر درس یک نوارِ آسمان، تمام‌عرض */
.lesson {
  position: relative;
  margin-inline: calc(50% - 50vw);
  padding: 22px calc(50vw - 50%) 8px;
  background-color: var(--sky-a, var(--bg1));
}
.lesson-head { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 4px; }
/* سرِ درسِ باز چسبان می‌ماند تا همیشه معلوم باشد کجای آسمانی */
.lesson.open:not(.folded):not(.lesson-fog) .lesson-head { position: sticky; top: 6px; z-index: 7; width: fit-content; margin: 0 auto 4px; padding: 3px 16px; border-radius: 999px; background: rgba(20,8,56,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* درسِ جمع‌شده */
.lesson.folded { padding-bottom: 14px; }
.fold-head { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; width: 100%; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.fold-head .lesson-num { font-size: 24px; }
.fold-stats { font-size: 12.5px; font-weight: 800; background: rgba(255,255,255,.14); border-radius: 999px; padding: 3px 10px; }
.fold-chev { font-size: 13px; opacity: .8; }
.fold-constels { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.fold-constels .constel { position: static; width: 46%; max-width: 170px; height: auto; }
.fold-constels .constel svg { max-width: 118px; }
.fold-constels .constel-name { font-size: 15px; }
.lesson.folded .constel.complete .figure { animation: none; stroke-dashoffset: 0; }
.fold-hint { text-align: center; font-size: 12px; opacity: .78; margin-top: 4px; }
.fold-close { font: inherit; font-size: 11.5px; font-weight: 800; background: rgba(255,255,255,.14); color: inherit; border: 0; border-radius: 999px; padding: 2px 10px; margin-inline-start: 6px; cursor: pointer; }
/* آسمان‌های بعدی (مه) */
.lesson-fog { padding-bottom: 14px; }
.lesson-fog .lesson-num { font-size: 22px; }
.fog-list { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 2px 0 6px; position: relative; z-index: 7; }
.fog-item { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 700; opacity: .85; }
/* دکمهٔ شناورِ ادامهٔ مسیر */
.jump-current { position: fixed; bottom: calc(86px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 8; background: var(--gold); color: #3b2300; border: 0; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 13.5px; font-weight: 800; box-shadow: 0 8px 22px rgba(0,0,0,.35); cursor: pointer; animation: jump-in .3s ease-out; }
@keyframes jump-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.lesson-num {
  font-family: var(--display); font-size: 27px; letter-spacing: .5px; line-height: 1.2;
  color: #fde68a; text-shadow: 0 0 18px rgba(253,230,138,.45);
}
.sky-name { font-family: var(--display); font-size: 18px; opacity: .85; line-height: 1.2; }
.lesson-sub { text-align: center; font-size: 12px; opacity: .72; margin-bottom: 12px; padding: 0 8px; }

/* شبِ نرسیده: درس‌های قفل هنوز روشن نشده‌اند — یک پردهٔ تاریکِ نرم (بدون تاری) که با باز شدن درس بالا می‌رود */
.veil {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: linear-gradient(180deg, rgba(18,7,48,0) 0, rgba(18,7,48,.58) 170px, rgba(18,7,48,.7) 60%, rgba(18,7,48,.74));
}
.lesson.open .veil { opacity: 0; }
.lesson.open.reveal .veil { animation: veillift 2.2s ease-out both; }
@keyframes veillift { from { opacity: 1; } to { opacity: 0; } }
.lesson:not(.open) .session, .lesson:not(.open) .lesson-head { filter: saturate(.55); }
.lesson:not(.open) .lesson-num { text-shadow: none; }

/* جلسه: برچسب، صورت فلکی در کنارِ خالی، مارپیچِ گره‌ها */
.session { position: relative; padding-top: 4px; }
.session-chip {
  margin: 10px auto 18px;
  width: fit-content;
  background: rgba(255,255,255,.16);
  border: 1.5px solid rgba(255,255,255,.25);
  padding: 7px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  position: relative; z-index: 2;
}
.rows { position: relative; }
.row { position: relative; height: var(--row); }
.trail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.trail path { fill: none; stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 0.1 12; }
.trail .dim { stroke: rgba(255,255,255,.38); }
.trail .lit { stroke: #fde68a; filter: drop-shadow(0 0 5px rgba(251,191,36,.9)); }

.node {
  position: absolute; top: 0; left: calc(var(--x, 50) * 1% - var(--node) / 2);
  width: var(--node); height: var(--node);
  border-radius: 50%;
  border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-family: var(--fa);
  z-index: 2;
  transition: transform .15s;
}
.node:active { transform: scale(.93); }
.node:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.node .node-emoji { font-size: 30px; line-height: 1; }
.node .node-stars { font-size: 11px; letter-spacing: 1px; }
.node-label {
  position: absolute; top: 100%; right: 50%; transform: translateX(50%);
  margin-top: 6px;
  font-size: 11.5px; font-weight: 600;
  white-space: nowrap;
  opacity: .95;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.node.done {
  background: radial-gradient(circle at 32% 28%, #fde68a, var(--gold) 65%);
  box-shadow: 0 6px 0 #b45309, 0 0 18px rgba(251,191,36,.5);
  color: #6b3f00;
}
.node.current {
  background: radial-gradient(circle at 32% 28%, #99f6e4, var(--teal) 65%);
  box-shadow: 0 6px 0 #0f766e, 0 0 22px rgba(45,212,191,.6);
  color: #073c37;
  animation: bounce 1.6s ease-in-out infinite;
}
.node.locked {
  background: rgba(255,255,255,.14);
  box-shadow: 0 6px 0 rgba(0,0,0,.25);
  color: rgba(255,255,255,.55);
  cursor: default;
}
.noori-rider {
  position: absolute; top: -44px; left: calc(var(--x, 50) * 1% + var(--node) / 2 - 28px);
  z-index: 3; pointer-events: none; animation: floaty 2.6s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* صورت فلکی جلسه: ۸ ستاره = ۸ مرحله */
.constel {
  position: absolute; top: 40px; width: 44%; height: calc(var(--row) * 3 - 10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  z-index: 1;
}
.session.side-left .constel { left: 0; }
.session.side-right .constel { right: 0; }
.constel svg { width: 100%; max-width: 190px; height: auto; overflow: visible; }
.constel .figure { fill: none; stroke: #fde68a; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.constel.complete .figure { opacity: .75; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s ease forwards; }
.constel .fill { fill: transparent; transition: fill 1.2s ease; }
.constel.complete .fill { fill: rgba(253,230,138,.10); }
.constel .star { fill: rgba(255,255,255,.25); }
.constel .star.on { fill: #fde68a; filter: drop-shadow(0 0 5px #fde68a); animation: skytwinkle 2.2s ease-in-out infinite; }
.constel-name { font-family: var(--display); font-size: 17px; line-height: 1.2; opacity: .55; }
.constel.complete .constel-name { opacity: 1; color: #fde68a; text-shadow: 0 0 14px rgba(253,230,138,.5); }
.constel-count { font-size: 11.5px; opacity: .7; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes skytwinkle {
  0%, 100% { opacity: .75; }
  50% { opacity: 1; }
}
.spark {
  position: fixed; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%;
  background: #fff7cc; box-shadow: 0 0 14px 6px rgba(253,230,138,.85); z-index: 30; pointer-events: none;
}

/* افق و طلوع در انتهای مسیر */
.horizon {
  position: relative; height: 360px; overflow: hidden;
  margin-inline: calc(50% - 50vw);
  margin-bottom: -96px; padding-bottom: 96px;
}
.hz-glow {
  position: absolute; left: 50%; bottom: 200px; width: 900px; height: 500px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 100%, rgba(251,146,60,.85), rgba(251,191,36,.35) 45%, transparent 72%);
  opacity: var(--rise, 0); transition: opacity 1.2s ease;
}
.hz-sun {
  position: absolute; left: 50%; bottom: 190px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff7cc, var(--gold) 55%, #fb923c 100%);
  box-shadow: 0 0 60px 16px rgba(251,191,36,.55);
  transform: translate(-50%, calc((1 - var(--rise, 0)) * 165px));
  transition: transform 1.2s cubic-bezier(.22,1,.36,1);
}
.hz-hills {
  position: absolute; left: 50%; bottom: 0; width: 1400px; height: 200px; transform: translateX(-50%);
  background: radial-gradient(50% 100% at 50% 100%, #1a0b3e 60%, #120730 100%);
  border-radius: 50% 50% 0 0;
}
.hz-hills::before {
  content: ""; position: absolute; left: 20%; bottom: 0; width: 60%; height: 160px;
  background: #1a0b3e; border-radius: 50% 50% 0 0;
}
.hz-caption { position: absolute; left: 0; right: 0; bottom: 108px; text-align: center; z-index: 2; padding: 0 20px; }
.hz-caption b { font-family: var(--display); font-weight: 400; font-size: 22px; color: #fde68a; display: block; line-height: 1.3; }
.hz-caption span { font-size: 12.5px; opacity: .88; }

/* ===== گنجینه ===== */
.treasury-header { text-align: center; padding: 12px 0 18px; }
.treasury-header h1 { font-size: 24px; font-weight: 800; }
.treasury-header p { opacity: .85; font-size: 14px; margin-top: 4px; }
.treasury-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 10px;
}
.gem-card {
  border-radius: 18px;
  padding: 12px 8px 10px;
  text-align: center;
  border: 2px solid transparent;
  min-height: 118px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
}
.gem-card .g-ar { font-family: var(--ar); font-size: 26px; line-height: 1.4; }
.gem-card .g-fa { font-size: 12px; font-weight: 600; }
.gem-card .g-freq { font-size: 10.5px; opacity: .8; }
.gem-card .g-tier { font-size: 10px; font-weight: 800; border-radius: 999px; padding: 2px 8px; margin-top: 3px; }
.gem-card.tier-leg { background: linear-gradient(160deg, #fff7e0, #ffe9a8); color: #7a4c00; border-color: #f5c542; box-shadow: 0 0 14px rgba(245,197,66,.45); }
.gem-card.tier-leg .g-tier { background: #f5c542; color: #5d3a00; }
.gem-card.tier-epic { background: linear-gradient(160deg, #f4e8ff, #e0c8ff); color: #4c1d95; border-color: #a855f7; }
.gem-card.tier-epic .g-tier { background: #a855f7; color: #fff; }
.gem-card.tier-rare { background: linear-gradient(160deg, #dffcf7, #b5f2e6); color: #065f56; border-color: #2dd4bf; }
.gem-card.tier-rare .g-tier { background: #14b8a6; color: #fff; }
.gem-card.tier-common { background: linear-gradient(160deg, #f2f4f8, #dde3ee); color: #37415c; border-color: #9aa8c7; }
.gem-card.tier-common .g-tier { background: #64748b; color: #fff; }
.gem-card.locked-gem {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.4);
}
.gem-card.locked-gem .g-ar { filter: blur(3px); }

/* ===== صفحهٔ بازی ===== */
.game-header {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0 16px;
}
.icon-btn {
  background: rgba(255,255,255,.15);
  border: none; color: #fff;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 16px; cursor: pointer;
  flex-shrink: 0;
}
.game-progress {
  flex: 1; height: 14px;
  background: rgba(0,0,0,.25);
  border-radius: 999px; overflow: hidden;
}
.game-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--teal), #34d399);
  border-radius: 999px;
  transition: width .4s ease;
}
.hearts { font-size: 15px; letter-spacing: 1px; flex-shrink: 0; min-width: 60px; text-align: left; }

.exercise-area { display: flex; flex-direction: column; gap: 14px; }
.ex-question { font-size: 17px; font-weight: 800; text-align: center; opacity: .95; }
.ex-sub { font-size: 13px; text-align: center; opacity: .75; margin-top: -8px; }

/* کارت معرفی واژه */
.intro-card {
  background: var(--card); color: var(--ink);
  border-radius: var(--radius);
  padding: 30px 20px 24px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.intro-card .i-ar { font-family: var(--ar); font-size: 54px; line-height: 1.6; color: #4c1d95; }
.intro-card .i-fa { font-size: 24px; font-weight: 800; margin-top: 6px; }
.intro-card .i-freq {
  margin-top: 14px;
  display: inline-block;
  background: #fef3c7; color: #92400e;
  font-size: 13.5px; font-weight: 700;
  padding: 7px 16px; border-radius: 999px;
}

/* آیهٔ عربی */
.verse-box {
  background: rgba(255,255,255,.13);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 18px 16px 12px;
  text-align: center;
}
.verse-ar { font-family: var(--ar); font-size: 30px; line-height: 2; }
.verse-ar .blank {
  display: inline-block;
  min-width: 70px;
  border-bottom: 3px dashed var(--gold);
  color: transparent;
}
.verse-ar .hl { color: var(--gold); }
.verse-src { font-size: 12px; opacity: .7; margin-top: 6px; }
.verse-fa-line { font-size: 16px; font-weight: 600; margin-top: 10px; line-height: 1.9; }
.verse-fa-line .blank-fa {
  display: inline-block; min-width: 74px;
  border-bottom: 3px dashed var(--gold);
}
.verse-fa-line .hl { color: var(--gold); font-weight: 800; }

/* گزینه‌ها */
.options { display: flex; flex-direction: column; gap: 10px; }
.options.grid2 { display: grid; grid-template-columns: 1fr 1fr; }
.opt {
  background: var(--card); color: var(--ink);
  border: none;
  border-radius: 18px;
  padding: 15px 14px;
  font-family: var(--fa);
  font-size: 17px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0,0,0,.22);
  transition: transform .1s;
}
.opt:active { transform: translateY(2px); }
.opt.ar { font-family: var(--ar); font-size: 26px; }
.opt.correct { background: #d1fae5; color: #065f46; box-shadow: 0 4px 0 #10b981; }
.opt.wrong { background: #fee2e2; color: #991b1b; box-shadow: 0 4px 0 #ef4444; animation: shake .4s; }
.opt:disabled { cursor: default; opacity: .85; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* جفت‌سازی */
.pairs-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair-col { display: flex; flex-direction: column; gap: 10px; }
.pair-btn {
  background: var(--card); color: var(--ink);
  border: 2.5px solid transparent; border-radius: 16px;
  padding: 12px 10px;
  font-family: var(--fa); font-size: 15.5px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0,0,0,.22);
  min-height: 58px;
}
.pair-btn.ar { font-family: var(--ar); font-size: 24px; }
.pair-btn.selected { border-color: var(--purple); background: #ede9fe; }
.pair-btn.matched { background: #d1fae5; color: #059669; border-color: #10b981; opacity: .65; cursor: default; }
.pair-btn.pair-wrong { border-color: #ef4444; background: #fee2e2; animation: shake .4s; }

/* آیه‌ساز */
.builder-answer {
  min-height: 64px;
  background: rgba(0,0,0,.2);
  border: 2px dashed rgba(255,255,255,.35);
  border-radius: 18px;
  padding: 10px;
  display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start;
}
.builder-bank { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tile {
  background: var(--card); color: var(--ink);
  border: none; border-radius: 14px;
  padding: 10px 14px;
  font-family: var(--fa); font-size: 16px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0,0,0,.25);
}
.tile:active { transform: translateY(2px); }
.tile.ghost { background: rgba(255,255,255,.12); color: transparent; box-shadow: none; cursor: default; }
.btn-check-wrap { margin-top: 6px; }

/* درست یا غلط */
.tf-claim { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 8px; }

/* سؤال طلایی */
.golden-badge {
  background: linear-gradient(90deg, #fde68a, var(--gold), #fde68a);
  color: #6b3f00;
  font-size: 15px; font-weight: 800;
  text-align: center;
  border-radius: 999px;
  padding: 9px 14px;
  box-shadow: 0 0 18px rgba(251,191,36,.65);
  animation: goldpulse 1.4s ease-in-out infinite;
}
@keyframes goldpulse {
  0%, 100% { box-shadow: 0 0 10px rgba(251,191,36,.45); }
  50% { box-shadow: 0 0 24px rgba(251,191,36,.85); }
}
.exercise-area.golden .ex-question { color: var(--gold); }

/* واژه را در آیه پیدا کن */
.word-chips {
  display: flex; flex-wrap: wrap; gap: 9px;
  justify-content: center;
  padding: 6px 0 10px;
}
.word-chip {
  font-family: var(--ar);
  font-size: 27px; line-height: 1.5;
  background: var(--card); color: var(--ink);
  border: none; border-radius: 14px;
  padding: 6px 14px;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0,0,0,.25);
}
.word-chip:active { transform: translateY(2px); }
.word-chip.correct { background: #d1fae5; color: #065f46; box-shadow: 0 4px 0 #10b981; }
.word-chip.wrong { background: #fee2e2; color: #991b1b; box-shadow: 0 4px 0 #ef4444; animation: shake .4s; }
.word-chip:disabled { cursor: default; opacity: .9; }

/* واژه را در آیه پیدا کن: معنیِ هدف درشت و اول؛ آیه مثل یک سطرِ متن (نه کاشی) تا با آیه‌ساز اشتباه نشود */
.tap-target {
  background: var(--card); color: var(--ink);
  border-radius: var(--radius); padding: 12px 16px 10px;
  text-align: center;
  box-shadow: 0 6px 0 rgba(0,0,0,.18);
}
.tap-target-label { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.tap-target-fa { font-size: 30px; font-weight: 800; line-height: 1.5; color: #4c1d95; }
.tap-target-hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.tap-verse { padding-top: 12px; }
.tap-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 2px; line-height: 1.5; padding: 2px 0 6px; }
.tap-word {
  font-family: var(--ar); font-size: 32px; line-height: 1.5; color: #fff;
  background: none; border: none; border-radius: 12px;
  padding: 2px 10px 6px;
  border-bottom: 3px dotted rgba(255,255,255,.38);
  cursor: pointer;
}
.tap-word:active { background: rgba(255,255,255,.14); }
.tap-word.correct { background: rgba(16,185,129,.3); border-bottom-color: #34d399; color: #d1fae5; }
.tap-word.wrong { background: rgba(239,68,68,.3); border-bottom-color: #f87171; color: #fecaca; animation: shake .4s; }
.tap-word:disabled { cursor: default; }

/* دکمه‌های پخش تلاوت */
.i-hint {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.i-hint b { font-family: var(--ar); font-size: 17px; color: #4c1d95; }

.speak-btn {
  background: #ede9fe; color: #4c1d95;
  border: none; border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 21px; cursor: pointer;
  margin-top: 12px;
  box-shadow: 0 3px 0 #c4b5fd;
}
.speak-btn:active { transform: translateY(2px); }
.play-verse {
  background: var(--teal); color: #073c37;
  border: none; border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 19px; cursor: pointer;
  box-shadow: 0 3px 0 #0f766e;
  margin-bottom: 8px;
}
.play-verse:active { transform: translateY(2px); }
.play-verse.playing, .speak-btn.playing {
  animation: speakpulse 0.9s ease-in-out infinite;
}
@keyframes speakpulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}
.gem-card:not(.locked-gem) { cursor: pointer; }

/* جایزهٔ کمبو */
.combo-note { margin-top: 6px; font-size: 14px; font-weight: 800; }
.feedback.good .combo-note { color: #047857; }
.feedback.bad .combo-note { color: #92400e; }

/* دکمه‌ها */
.btn {
  display: block; width: 100%;
  border: none; border-radius: 18px;
  padding: 16px;
  font-family: var(--fa); font-size: 18px; font-weight: 800;
  cursor: pointer;
  transition: transform .1s;
}
.btn:active { transform: translateY(2px); }
.btn-primary { background: var(--gold); color: #5d3a00; box-shadow: 0 5px 0 #b45309; }
.btn-primary:disabled { opacity: .45; cursor: default; box-shadow: 0 5px 0 rgba(180,83,9,.4); }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; box-shadow: 0 5px 0 rgba(0,0,0,.25); }

/* بازخورد */
.feedback {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  max-width: 520px; margin: 0 auto;
  padding: 16px 16px 14px;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  animation: slideup .28s cubic-bezier(.2,.9,.3,1.1);
  z-index: 30;
}
.feedback .feedback-inner { max-width: 520px; margin: 0 auto; }
.feedback.good { background: #d1fae5; }
.feedback.bad { background: #fee2e2; }
.feedback-msg { max-width: 520px; margin: 0 auto 12px; font-size: 17px; font-weight: 800; }
.feedback.good .feedback-msg { color: #065f46; }
.feedback.bad .feedback-msg { color: #991b1b; }
.feedback .btn { max-width: 520px; margin: 0 auto; }
.feedback.good .btn { background: #10b981; color: #fff; box-shadow: 0 5px 0 #047857; }
.feedback.bad .btn { background: #ef4444; color: #fff; box-shadow: 0 5px 0 #b91c1c; }
@keyframes slideup { from { transform: translateY(110%); opacity: .6; } to { transform: translateY(0); opacity: 1; } }

/* ===== نتیجه ===== */
#screen-results { display: flex; align-items: center; justify-content: center; }
.results-card {
  background: var(--card); color: var(--ink);
  border-radius: 28px;
  padding: 30px 22px 24px;
  width: 100%; max-width: 420px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
  position: relative; z-index: 2;
}
.results-mascot { font-size: 64px; animation: bounce 1.4s infinite; }
.results-card h1 { font-size: 28px; font-weight: 800; margin: 8px 0 4px; }
.results-stars { font-size: 38px; letter-spacing: 6px; margin: 6px 0 12px; }
.results-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 16px; }
.results-coverage { background: #f5f3ff; border: 1.5px solid #ddd6fe; margin-bottom: 16px; }
.results-coverage .coverage-title { color: var(--ink-soft); }
.results-coverage .coverage-bar { background: #e4e0f2; }
.results-coverage .coverage-label { color: #b45309; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 1; }

/* ===== صفحهٔ معرفی ===== */
#screen-intro {
  display: flex; flex-direction: column;
  padding-bottom: 24px;
  position: relative; overflow: hidden;
}
.intro-stars { position: absolute; inset: 0; pointer-events: none; }
.intro-stars i {
  position: absolute;
  width: 5px; height: 5px; border-radius: 50%;
  background: #fff;
  opacity: .7;
  animation: twinkle 2.6s ease-in-out infinite;
}
.intro-stars i:nth-child(1)  { top: 6%;  right: 12%; animation-delay: 0s; }
.intro-stars i:nth-child(2)  { top: 11%; left: 18%;  animation-delay: .4s; width: 3px; height: 3px; }
.intro-stars i:nth-child(3)  { top: 20%; right: 28%; animation-delay: .9s; width: 4px; height: 4px; }
.intro-stars i:nth-child(4)  { top: 27%; left: 8%;   animation-delay: 1.3s; }
.intro-stars i:nth-child(5)  { top: 35%; right: 7%;  animation-delay: .6s; width: 3px; height: 3px; }
.intro-stars i:nth-child(6)  { top: 46%; left: 14%;  animation-delay: 1.8s; }
.intro-stars i:nth-child(7)  { top: 55%; right: 20%; animation-delay: .2s; width: 4px; height: 4px; }
.intro-stars i:nth-child(8)  { top: 63%; left: 25%;  animation-delay: 1.1s; width: 3px; height: 3px; }
.intro-stars i:nth-child(9)  { top: 72%; right: 10%; animation-delay: 1.5s; }
.intro-stars i:nth-child(10) { top: 80%; left: 10%;  animation-delay: .8s; width: 4px; height: 4px; }
.intro-stars i:nth-child(11) { top: 87%; right: 30%; animation-delay: 2s; width: 3px; height: 3px; }
.intro-stars i:nth-child(12) { top: 15%; left: 40%;  animation-delay: 2.2s; }
@keyframes twinkle {
  0%, 100% { opacity: .25; transform: scale(1); }
  50% { opacity: .9; transform: scale(1.35); }
}
.intro-skip {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.14);
  border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: var(--fa); font-size: 13px; font-weight: 700;
  cursor: pointer; z-index: 5;
}
.intro-slides { flex: 1; position: relative; min-height: 430px; }
.intro-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 26px 10px;
  opacity: 0; transform: translateX(var(--from, -40px));
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.intro-slide.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
/* راهنمای ورق زدن: صفحه‌ها راست‌به‌چپ می‌روند، پس «بعدی» سمتِ چپ است */
.intro-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.intro-nav .intro-dots { margin-bottom: 0; }
.intro-arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.14); color: #fff; font-size: 20px; font-weight: 800; cursor: pointer; font-family: var(--fa);
}
.intro-arrow-ghost { border: none; background: none; }
.swipe-hint {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 13px; font-weight: 700; opacity: .9; margin-bottom: 10px;
}
.swipe-hand { display: inline-block; font-size: 22px; animation: swipeleft 1.6s ease-in-out infinite; }
@keyframes swipeleft {
  0% { transform: translateX(14px); opacity: .4; }
  40% { transform: translateX(-14px); opacity: 1; }
  100% { transform: translateX(-14px); opacity: 0; }
}
.link-btn {
  background: none; border: none; color: rgba(255,255,255,.85); text-decoration: underline;
  font-family: var(--fa); font-size: 13.5px; font-weight: 700; margin-top: 14px; cursor: pointer;
}
.profile-recover { border-style: dashed; font-size: 14px; opacity: .9; }
@media (prefers-reduced-motion: reduce) { .swipe-hand { animation: none; } }
.intro-art { font-size: 96px; line-height: 1.2; filter: drop-shadow(0 8px 22px rgba(0,0,0,.35)); }
.float-anim { animation: floaty 3s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}
.intro-title {
  font-size: 40px; font-weight: 800; margin-top: 10px;
  background: linear-gradient(90deg, #fde68a, var(--gold), #fde68a);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.intro-tag { font-size: 18px; font-weight: 700; color: var(--teal); margin-top: 2px; }
.intro-h2 { font-size: 26px; font-weight: 800; margin: 14px 0 4px; text-wrap: balance; }
.intro-body { font-size: 16.5px; line-height: 2.1; margin-top: 10px; opacity: .95; }
.intro-body b { color: var(--gold); }
.intro-note { font-size: 13px; opacity: .75; }
.ring-wrap { position: relative; width: 170px; height: 170px; }
.ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track, .ring-fill {
  fill: none; stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 326.7;
}
.ring-track { stroke: rgba(255,255,255,.18); stroke-dashoffset: 0; }
.ring-fill {
  stroke: var(--gold);
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.6s cubic-bezier(.22,1,.36,1);
  filter: drop-shadow(0 0 8px rgba(251,191,36,.6));
}
.intro-slide.active .ring-fill { stroke-dashoffset: 98; } /* ۷۰٪ */
.ring-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ring-label b { font-size: 44px; color: var(--gold); line-height: 1; }
.ring-label span { font-size: 14px; opacity: .85; margin-top: 4px; }
.intro-feats { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; width: 100%; max-width: 340px; }
.feat {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 18px;
  padding: 13px 16px;
  text-align: right;
}
.feat-emoji { font-size: 30px; flex-shrink: 0; }
.feat p { font-size: 15.5px; font-weight: 700; line-height: 1.8; }
.intro-meter { margin-top: 20px; width: 100%; max-width: 340px; }
.intro-meter p { font-size: 13.5px; opacity: .85; margin-bottom: 8px; }
.intro-meter-fill { width: 0%; }
.intro-slide.active .intro-meter-fill { width: 70%; transition: width 1.6s cubic-bezier(.22,1,.36,1) .3s; }
.intro-footer { position: relative; z-index: 4; }
.intro-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.intro-dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: all .3s;
}
.intro-dots i.on { background: var(--gold); width: 26px; border-radius: 999px; }
.fluent-note {
  font-size: 13.5px; font-weight: 600;
  margin-top: 7px; opacity: .92;
  line-height: 1.9;
}
.help-btn {
  background: rgba(255,255,255,.14);
  border: 1.5px solid rgba(255,255,255,.22);
  color: #fff;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 15px; cursor: pointer;
  flex-shrink: 0;
}
.home-header { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .float-anim, .intro-stars i, .node.current, .noori-rider, .constel .star.on { animation: none; }
  .constel.complete .figure { animation: none; stroke-dashoffset: 0; }
  .lesson.open.reveal .veil { animation: none; opacity: 0; }
  .hz-sun, .hz-glow, .constel .fill { transition: none; }
}

/* ===== نوری ===== */
.noori-wing { transform-origin: 60px 52px; animation: flutter .5s ease-in-out infinite alternate; }
.noori-wing-l { animation-delay: .1s; }
@keyframes flutter {
  from { transform: rotate(0deg); }
  to { transform: rotate(8deg); }
}
.noori-tail { animation: tailglow 1.5s ease-in-out infinite; }
@keyframes tailglow {
  0%, 100% { opacity: .75; }
  50% { opacity: 1; filter: drop-shadow(0 0 6px #fde68a); }
}
.noori-halo { animation: halopulse 2.4s ease-in-out infinite; }
@keyframes halopulse {
  0%, 100% { transform: scale(1); transform-origin: 60px 60px; }
  50% { transform: scale(1.08); transform-origin: 60px 60px; }
}
#noori-perch {
  position: absolute; top: -34px; left: 6px;
  background: none; border: none; cursor: pointer; padding: 0;
  animation: floaty 3.4s ease-in-out infinite;
  z-index: 3;
}
.profile-chip {
  background: rgba(255,255,255,.14);
  border: 1.5px solid rgba(255,255,255,.22);
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 19px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.noori-bubble-row {
  display: flex; align-items: flex-end; gap: 6px;
  margin-bottom: -4px;
}
.noori-bubble {
  background: var(--card); color: var(--ink);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 14px;
  font-size: 14.5px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  flex: 1;
}

/* ===== مأموریت‌های روزانه ===== */
.quests-card {
  margin-top: 12px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 12px 16px 14px;
  backdrop-filter: blur(6px);
}
.quests-title {
  font-size: 14px; font-weight: 800; margin-bottom: 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.quests-title .chest { font-size: 20px; }
.quest-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.quest-row:last-child { margin-bottom: 0; }
.quest-icon { font-size: 18px; flex-shrink: 0; width: 24px; text-align: center; }
.quest-info { flex: 1; }
.quest-label { font-size: 12.5px; font-weight: 700; margin-bottom: 4px; }
.quest-bar { height: 9px; background: rgba(0,0,0,.28); border-radius: 999px; overflow: hidden; }
.quest-bar-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), #34d399);
  transition: width .5s ease;
}
.quest-done .quest-bar-fill { background: linear-gradient(90deg, var(--gold), #f59e0b); }
.quest-check { font-size: 12px; font-weight: 800; min-width: 40px; text-align: center; }

/* ===== بازیکن‌ها ===== */
.profiles-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.profile-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 18px;
  padding: 12px 14px;
  cursor: pointer;
}
.profile-row.active-profile { border-color: var(--gold); background: rgba(251,191,36,.15); }
.profile-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.16);
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.profile-info { flex: 1; }
.profile-name { font-size: 16px; font-weight: 800; }
.profile-meta { font-size: 12px; opacity: .8; margin-top: 2px; }
.profile-del {
  background: none; border: none; color: rgba(255,255,255,.55);
  font-size: 15px; cursor: pointer; padding: 6px;
}
.profile-add {
  justify-content: center; font-weight: 800; font-size: 15px;
  border-style: dashed;
}
.profile-create { text-align: center; }
.profile-create h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.avatar-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  margin-bottom: 16px;
}
.avatar-opt {
  font-size: 30px;
  background: rgba(255,255,255,.12);
  border: 2.5px solid transparent;
  border-radius: 16px;
  padding: 10px 0;
  cursor: pointer;
}
.avatar-opt.picked { border-color: var(--gold); background: rgba(251,191,36,.2); }
.name-input {
  width: 100%;
  background: rgba(255,255,255,.14);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 16px;
  color: #fff;
  font-family: var(--fa); font-size: 17px; font-weight: 700;
  text-align: center;
  padding: 13px;
  margin-bottom: 14px;
  outline: none;
}
.name-input::placeholder { color: rgba(255,255,255,.5); }
.name-input:focus { border-color: var(--teal); }

/* ===== رتبه‌ها ===== */
.board-list { display: flex; flex-direction: column; gap: 10px; }
.board-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 18px;
  padding: 12px 14px;
}
.board-row.me { border-color: var(--teal); background: rgba(45,212,191,.14); }
.board-rank { font-size: 20px; width: 30px; text-align: center; flex-shrink: 0; }
.board-xp { font-weight: 800; font-size: 15px; color: var(--gold); }
.board-note { text-align: center; font-size: 12.5px; opacity: .75; margin-top: 16px; }

/* ===== اتاق نوری ===== */
.noori-stage-box {
  text-align: center;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 18px 10px 12px;
  margin-bottom: 16px;
}
.noori-coins { font-size: 15px; font-weight: 800; color: var(--gold); margin-top: 4px; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-item {
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 18px;
  padding: 14px 10px;
  text-align: center;
}
.shop-item.owned { border-color: var(--teal); }
.shop-item .s-emoji { font-size: 32px; }
.shop-item .s-name { font-size: 14.5px; font-weight: 800; margin-top: 6px; }
.shop-item .s-desc { font-size: 11.5px; opacity: .8; margin-top: 3px; min-height: 28px; }
.shop-btn {
  margin-top: 8px;
  border: none; border-radius: 12px;
  font-family: var(--fa); font-size: 13px; font-weight: 800;
  padding: 8px 14px; cursor: pointer;
  background: var(--gold); color: #5d3a00;
  box-shadow: 0 3px 0 #b45309;
}
.shop-btn:active { transform: translateY(2px); }
.shop-btn.equipped-btn { background: var(--teal); color: #073c37; box-shadow: 0 3px 0 #0f766e; }
.shop-btn:disabled { opacity: .45; cursor: default; }

/* ===== اعلان‌ها ===== */
.toasts {
  position: fixed; top: 14px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 80; pointer-events: none;
}
.toast {
  background: var(--card); color: var(--ink);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.5px; font-weight: 800;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  animation: toastin .3s ease, toastout .3s ease 2.2s forwards;
}
@keyframes toastin { from { transform: translateY(-16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toastout { to { transform: translateY(-16px); opacity: 0; } }

/* دکمهٔ دوم در نوار بازخورد */
.btn-secondary {
  background: #fff; color: var(--ink);
  box-shadow: 0 5px 0 rgba(0,0,0,.2);
  margin-bottom: 10px;
}

/* نشانهٔ تصویری روی کارت واژه */
.i-pic {
  position: absolute; top: 12px; left: 14px;
  font-size: 30px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.18));
}
.intro-card { position: relative; }
.gem-card .g-pic { font-size: 20px; line-height: 1; }

/* ===== مرور روزانه ===== */
.review-card {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  width: 100%;
  background: rgba(45,212,191,.16);
  border: 2px solid rgba(45,212,191,.5);
  border-radius: 18px;
  padding: 13px 16px;
  margin-bottom: 18px;
  color: #fff;
  font-family: var(--fa); font-size: 15px; font-weight: 800;
  cursor: pointer;
}
.review-card:active { transform: translateY(1px); }
.review-card .review-sub { font-size: 12px; font-weight: 600; opacity: .85; }
.review-card.review-done { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); opacity: .8; }

/* ===== چالش نور ===== */
.boss-node.boss-ready {
  background: radial-gradient(circle at 32% 28%, #fcd34d, #d97706 70%);
  box-shadow: 0 6px 0 #92400e, 0 0 26px rgba(251,191,36,.65);
  color: #451a03;
  animation: bounce 1.6s ease-in-out infinite;
}
.boss-node.boss-won {
  background: radial-gradient(circle at 32% 28%, #e9d5ff, #a855f7 70%);
  box-shadow: 0 6px 0 #6b21a8, 0 0 22px rgba(168,85,247,.55);
  color: #3b0764;
}
.boss-bar {
  height: 10px;
  background: rgba(0,0,0,.3);
  border-radius: 999px;
  overflow: hidden;
}
.boss-bar-fill {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, #f87171, #fbbf24);
  border-radius: 999px;
  transition-property: width;
  transition-timing-function: linear;
}

/* ===== تصویر و واژه ===== */
.pic-big { font-size: 76px; line-height: 1.3; }

/* ===== مدال واژه‌ها ===== */
.g-lv { position: absolute; top: 6px; right: 8px; font-size: 16px; }
.gem-card { position: relative; }
.gem-card .g-pic { position: absolute; top: 6px; left: 8px; font-size: 16px; }
.gem-card.gold-word { box-shadow: 0 0 16px rgba(251,191,36,.55); }
.medal-legend { font-size: 11.5px; opacity: .8; }

/* ===== حالت تست ===== */
.node.dev-open {
  background: rgba(45,212,191,.3);
  box-shadow: 0 6px 0 rgba(15,118,110,.6);
  color: #fff;
}
.dev-badge {
  display: block; width: 100%;
  margin-top: 10px;
  background: rgba(251,191,36,.18);
  border: 1.5px dashed var(--gold);
  color: var(--gold);
  border-radius: 14px;
  padding: 8px 12px;
  font-family: var(--fa); font-size: 12.5px; font-weight: 800;
  cursor: pointer;
}

/* ===== نمایش درون‌متنی واژه (هستهٔ رنگی + بخش چسبیده کم‌رنگ) ===== */
/* هسته با ماژیکِ زرد مشخص می‌شود؛ بخشِ چسبیده خاکستری و کم‌رنگ */
.w-core { color: #3b2300; background: linear-gradient(transparent 22%, #fde68a 22%, #fde68a 88%, transparent 88%); border-radius: 6px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.w-affix { color: #9ca3af; opacity: .9; }
.i-ctx {
  margin-top: 10px;
  background: #f5f3ff; color: #4c1d95;
  border-radius: 14px;
  padding: 9px 12px;
  font-size: 14px; font-weight: 600; line-height: 2;
}
.i-ctx .ar-inline { font-family: var(--ar); font-size: 19px; }
.i-ctx .ctx-sep { opacity: .5; margin: 0 6px; }
.i-ctx .ctx-note { font-size: 12px; opacity: .8; font-weight: 600; }
.gem-card .g-ctx { font-family: var(--fa); font-size: 11px; opacity: .85; }
.gem-card .g-ctx .w-core, .gem-card .g-ctx .w-affix { font-family: var(--ar); font-size: 15px; }
.gem-card.tier-leg .g-ctx .w-core, .gem-card.tier-common .g-ctx .w-core,
.gem-card.tier-rare .g-ctx .w-core, .gem-card.tier-epic .g-ctx .w-core { color: inherit; background: rgba(253,230,138,.45); }
.gem-card .g-ctx .w-affix { opacity: .55; }

/* ===== نوار پایین ===== */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(20, 8, 50, .92);
  backdrop-filter: blur(10px);
  border-top: 1.5px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-around;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  z-index: 20;
}
.tab {
  background: none; border: none; color: rgba(255,255,255,.6);
  font-family: var(--fa); font-size: 20px; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  cursor: pointer; padding: 4px 18px; border-radius: 14px;
}
.tab span { font-size: 11.5px; }
.tab.active { color: var(--gold); background: rgba(251,191,36,.12); }

@media (max-width: 380px) {
  .path { --node: 80px; --row: 108px; }
  .verse-ar { font-size: 26px; }
}

/* ===== ذخیرهٔ ابری ===== */
.cloud-card {
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.22);
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px;
}
.cloud-head { font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.cloud-sub { font-size: 12.5px; opacity: .85; line-height: 1.8; }
.cloud-sub b { font-weight: 800; }
.cloud-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; justify-content: center; }
.btn-small { padding: 8px 14px; font-size: 13.5px; border-radius: 12px; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; border: 1.5px solid rgba(255,255,255,.25); }
.cloud-modal {
  position: fixed; inset: 0; z-index: 60; background: rgba(20,8,56,.7);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.cloud-modal-card {
  background: var(--card); color: var(--ink); border-radius: var(--radius);
  padding: 20px 18px; width: min(420px, 100%); text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;   /* پنجره‌های بلند روی گوشی اسکرول می‌شوند */
}
.cloud-modal { padding: 16px; }
.cloud-modal-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.cloud-modal-text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; margin: 8px 0; }
.cloud-code {
  font-family: 'Vazirmatn', monospace; font-size: 30px; font-weight: 800; letter-spacing: 3px;
  background: #f5f3ff; color: #4c1d95; border: 2px dashed #c4b5fd; border-radius: 14px;
  padding: 12px 10px; margin: 10px 0; user-select: all;
}
.cloud-input {
  width: 100%; font-size: 24px; font-weight: 800; letter-spacing: 3px; text-align: center;
  padding: 10px; border-radius: 14px; border: 2px solid #ddd6fe; color: var(--ink); font-family: 'Vazirmatn', monospace;
  text-transform: uppercase; margin: 8px 0;
}
.cloud-input:focus { outline: none; border-color: var(--purple); }
.cloud-modal-card .btn { color: #fff; }
.cloud-modal-card .btn-ghost { color: var(--ink); background: #f5f3ff; border-color: #ddd6fe; }
.cloud-modal-card .btn-small:not(.btn-primary):not(.btn-ghost) { color: #3b0764; background: #ede9fe; border-color: #ddd6fe; }

/* ===== گروه‌ها ===== */
.groups-section { margin-top: 18px; }
.group-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.group-card { background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2); border-radius: 16px; padding: 10px 12px; }
.group-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.group-name { font-weight: 800; font-size: 15px; flex: 1; }
.group-meta { font-size: 12px; opacity: .85; }
.group-meta b { font-weight: 800; letter-spacing: 1px; }
.group-board { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.cloud-modal-card .avatar-grid { margin: 6px 0 10px; }
.cloud-modal-card .avatar-opt { background: #f5f3ff; border-color: #ddd6fe; }
.cloud-modal-card .avatar-opt.picked { border-color: var(--gold); background: #fef3c7; }
.cloud-input.cloud-name { font-size: 18px; letter-spacing: 0; text-transform: none; direction: rtl; font-family: var(--fa); }
.cloud-code-small { font-size: 20px; letter-spacing: 2px; }

/* ===== لیگ و دوئل ===== */
.league-banner {
  background: linear-gradient(90deg, rgba(253,230,138,.25), rgba(251,191,36,.15));
  border: 1.5px solid rgba(253,230,138,.5); border-radius: 14px; padding: 10px 12px;
  margin: 10px 0 4px; font-size: 13px; font-weight: 700; line-height: 1.8;
  display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center;
}
.board-row.zone-up { border-inline-start: 4px solid #34d399; }
.board-row.zone-down { border-inline-start: 4px solid rgba(248,113,113,.7); }
.duel-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 16px; padding: 10px 12px; margin-top: 8px;
}
.duel-btn { padding: 6px 10px; font-size: 15px; }

/* ===== اعلانِ حسابِ ابری روی آواتار ===== */
.profile-chip { position: relative; }
.profile-chip.has-notice::after {
  content: ""; position: absolute; top: -3px; right: -3px; width: 13px; height: 13px; border-radius: 50%;
  background: #f87171; border: 2px solid var(--bg1); box-shadow: 0 0 8px rgba(248,113,113,.8);
  animation: noticepulse 1.6s ease-in-out infinite;
}
@keyframes noticepulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }
.cloud-welcome-row { display: flex; justify-content: center; align-items: baseline; gap: 8px; margin: 4px 0; }
.cloud-welcome-k { font-size: 13px; color: var(--ink-soft); }
.cloud-welcome-v { font-size: 20px; font-weight: 800; color: #4c1d95; }
.cloud-modal-card .cloud-modal-text b { color: var(--ink); }

/* ===== رویدادها ===== */
.event-card {
  margin-top: 12px; border-radius: var(--radius); padding: 12px 14px;
  background: linear-gradient(135deg, var(--ev-a, #7c2d12), var(--ev-b, #b45309));
  border: 1.5px solid rgba(255,255,255,.25); box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.event-head { display: flex; align-items: center; gap: 12px; }
.event-preview-tag { display: inline-block; font: inherit; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.22); border: 1px dashed rgba(255,255,255,.7); color: inherit; margin-bottom: 8px; cursor: pointer; }
.event-preview-tag.static { cursor: default; margin-bottom: 10px; }
.lamp.playable { cursor: pointer; border-color: rgba(255,255,255,.55); }
.lamp.playable:hover { transform: scale(1.06); }
.event-emoji { font-size: 34px; line-height: 1; }
.event-name { font-family: var(--display); font-size: 20px; line-height: 1.3; }
.event-line { font-size: 12.5px; opacity: .92; }
.event-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.event-done { font-size: 13px; font-weight: 800; }
.event-body { padding-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.event-hero {
  text-align: center; padding: 22px 16px 18px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ev-a), var(--ev-b)); border: 1.5px solid rgba(255,255,255,.25);
}
.event-hero-emoji { font-size: 56px; line-height: 1.1; }
.event-hero h1 { font-family: var(--display); font-weight: 400; font-size: 30px; margin-top: 6px; }
.event-hero p { font-size: 14px; opacity: .92; margin-top: 2px; }
.event-hero-meta { font-size: 13px; font-weight: 700; margin: 10px 0 12px; }
.lamps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.lamp {
  min-width: 0; aspect-ratio: 1; border-radius: 14px; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.18);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.lamp-icon { font-size: 20px; line-height: 1; }
.lamp-day { font-size: 11px; opacity: .8; }
.lamp.on { background: rgba(251,191,36,.22); border-color: var(--gold); box-shadow: 0 0 14px rgba(251,191,36,.45); }
.lamp.today { border-color: var(--teal); border-style: dashed; }
.lamp.future { opacity: .5; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 10px; }
.badge-card { text-align: center; cursor: pointer; }
.badge-card .badge-name { font-size: 12px; font-weight: 800; margin-top: 4px; }
.badge-card .badge-req { font-size: 11px; opacity: .75; }
.badge-card:not(.got) { opacity: .6; }
.badge-svg { filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.badge-big { display: flex; justify-content: center; margin-bottom: 6px; }
.badge-ar { font-family: var(--ar); font-size: 30px; line-height: 1.8; color: #4c1d95; }
.badge-ref { color: var(--ink-soft); font-size: 12px; }
.member-badge { display: inline-block; vertical-align: middle; margin-inline-start: 4px; }
.member-badge .badge-svg { filter: none; }
.goal-bar { position: relative; height: 18px; background: rgba(0,0,0,.25); border-radius: 999px; margin: 12px 0 8px; }
.goal-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), #f59e0b); box-shadow: 0 0 12px rgba(251,191,36,.55); transition: width 1s ease; }
.goal-mark { position: absolute; top: -6px; transform: translateX(50%); font-size: 16px; opacity: .8; }
.goal-mark.hit { opacity: 1; }
.goal-list { font-size: 12.5px; opacity: .85; line-height: 1.9; }
.goal-list .hit { color: var(--gold); font-weight: 800; }
/* آسمانِ رویداد روی مسیر */
.event-sky { position: relative; height: 0; }
.event-rainbow-svg { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: min(100%, 520px); height: auto; pointer-events: none; z-index: 1; }
.event-cloud-shape { position: absolute; left: 12%; top: 8px; font-size: 44px; opacity: .8; filter: drop-shadow(0 0 14px rgba(255,255,255,.6)); animation: floaty 5s ease-in-out infinite; pointer-events: none; z-index: 1; }
.event-rain-drops { position: absolute; inset: 0 0 auto 0; height: 220px; pointer-events: none; z-index: 1; }
.event-rain-drops i { position: absolute; top: -20px; width: 2px; height: 14px; background: rgba(147,197,253,.75); border-radius: 2px; animation: raindrop 1.6s linear infinite; }
@keyframes raindrop { from { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(240px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .event-rain-drops i, .event-cloud-shape { animation: none; } }

/* ===== اعلان‌ها ===== */
.alerts-card {
  margin-bottom: 12px; border-radius: 18px; padding: 10px 12px;
  background: linear-gradient(135deg, rgba(251,191,36,.28), rgba(248,113,113,.22));
  border: 1.5px solid rgba(253,230,138,.6); box-shadow: 0 0 18px rgba(251,191,36,.25);
  animation: alertin .5s ease;
}
@keyframes alertin { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
.alert-row { display: flex; align-items: center; gap: 10px; }
.tab { position: relative; }
.tab.has-notice::after {
  content: attr(data-count); position: absolute; top: 2px; right: 10px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #f87171; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
  border: 2px solid var(--bg1); box-shadow: 0 0 8px rgba(248,113,113,.8);
}

/* ===== کدِ بازیکن و QR ===== */
.pnum { font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.qr-box { background: #fff; border-radius: 14px; padding: 10px; margin: 8px auto; width: min(240px, 80%); }
.qr-box svg { width: 100%; height: auto; display: block; }

/* ---------- بازی‌های رویداد (minigames.js) ---------- */
.memory-meta { display: flex; justify-content: space-between; font-size: 13px; opacity: .9; }
.memory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 360px) { .memory-grid { grid-template-columns: repeat(3, 1fr); } }
.mem-card { position: relative; aspect-ratio: 3 / 4; border: 0; border-radius: 14px; background: transparent; padding: 0; cursor: pointer; font: inherit; color: #fff; }
.mem-card .mem-back, .mem-card .mem-face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .35s; padding: 4px; text-align: center; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.mem-card .mem-back { font-size: 28px; background: linear-gradient(160deg, #6d28d9, #4c1d95); }
.mem-card .mem-face { background: #fff; color: #2e1065; transform: rotateY(180deg); font-weight: 800; font-size: 13px; line-height: 1.4; flex-direction: column; }
.mem-card .mem-face.ar { font-family: var(--ar); font-size: 22px; font-weight: 400; }
.mem-card .mem-pic { font-size: 20px; }
.mem-card.open .mem-back { transform: rotateY(180deg); }
.mem-card.open .mem-face { transform: rotateY(0); }
.mem-card.done { pointer-events: none; }
.mem-card.done .mem-face { background: #d1fae5; color: #065f46; opacity: .8; }

.verse-card { background: #fff; color: #2e1065; border-radius: 18px; padding: 16px; text-align: center; box-shadow: 0 6px 0 rgba(0,0,0,.12); }
.verse-ar { font-family: var(--ar); font-size: 26px; line-height: 2; direction: rtl; }
.verse-hole { display: inline-block; min-width: 64px; border-bottom: 3px dashed #a78bfa; color: #7c3aed; margin: 0 4px; }
.verse-hole.filled { border-bottom-color: #10b981; color: #065f46; background: #d1fae5; border-radius: 8px; padding: 0 6px; }
.verse-ref { font-size: 12px; opacity: .7; margin-top: 4px; }
.verse-fa { font-size: 14px; margin-top: 8px; font-weight: 700; line-height: 1.8; }

.rain-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.rain-target b { font-size: 18px; color: var(--gold); }
.rain-sky { position: relative; height: 340px; border-radius: 18px; overflow: hidden; background: linear-gradient(#1e1b4b, #312e81 60%, #4338ca); box-shadow: inset 0 0 40px rgba(0,0,0,.35); }
.rain-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: linear-gradient(#065f46, #064e3b); }
.rain-drop { position: absolute; top: -56px; transform: translateY(0); transition: transform linear; font-family: var(--ar); font-size: 24px; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 400; }
.rain-drop.falling { transform: translateY(400px); }
.rain-drop.hit { background: #10b981; border-color: #34d399; transition: opacity .3s; opacity: 0; pointer-events: none; }
.rain-drop.bad { background: #ef4444; animation: shake .4s; }
.rain-splash { position: absolute; bottom: 14px; font-size: 22px; animation: floaty .7s ease-out; pointer-events: none; }

/* قفسهٔ نشان‌ها: گروه‌بندی به رویداد + رویدادهای گذشته + حلقهٔ نور */
.badge-group { margin-top: 10px; }
.badge-group-title { font-size: 13px; font-weight: 800; opacity: .9; }
.past-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: right; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: inherit; border-radius: 14px; padding: 10px 12px; margin-top: 8px; font: inherit; cursor: pointer; }
.past-emoji { font-size: 26px; }
.past-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.past-meta { font-size: 12px; opacity: .8; }
.profile-avatar.finale { animation: finale-glow 2.4s ease-in-out infinite; }
@keyframes finale-glow {
  0%, 100% { box-shadow: 0 0 0 3px #fde68a, 0 0 14px 2px rgba(253,224,71,.55); }
  50% { box-shadow: 0 0 0 3px #fef3c7, 0 0 24px 6px rgba(253,224,71,.9); }
}
@media (prefers-reduced-motion: reduce) { .profile-avatar.finale { animation: none; box-shadow: 0 0 0 3px #fde68a, 0 0 14px 2px rgba(253,224,71,.6); } }

/* راهنمای نگین‌ها در گنجینه */
.gem-help { margin-top: 8px; }
.gem-legend { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 4px; text-align: right; }
.gem-legend-row { display: flex; align-items: center; gap: 12px; }
.gem-card.gem-mini { width: 74px; min-width: 74px; height: 58px; padding: 6px; display: flex; align-items: center; justify-content: center; margin: 0; }
.gem-card.gem-mini .g-tier { font-size: 12px; padding: 3px 8px; }
.gem-legend-text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.6; }
.gem-legend-text b { font-size: 14px; }
.gem-legend-count { font-size: 12px; opacity: .8; }

/* کارتِ رویداد (کلِ کارت لمس‌پذیر) + شمارشِ معکوس + نوارِ هدف */
.event-card { cursor: pointer; }
.event-card:active { transform: translateY(1px); }
.event-text { flex: 1; min-width: 0; }
.event-count { text-align: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 14px; padding: 6px 12px; min-width: 64px; }
.event-count b { display: block; font-family: var(--display); font-size: 30px; line-height: 1; }
.event-count span { font-size: 10.5px; opacity: .9; }
.event-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; opacity: .95; }
.event-more { font-weight: 800; white-space: nowrap; }
.event-progress { height: 8px; border-radius: 999px; background: rgba(0,0,0,.28); margin-top: 10px; overflow: hidden; }
.event-progress i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), #f59e0b); box-shadow: 0 0 10px rgba(251,191,36,.6); transition: width .8s ease; }
.event-progress.big { height: 12px; margin: 12px auto 14px; max-width: 320px; }
.event-done { font-size: 12px; font-weight: 800; text-align: center; line-height: 1.4; }
.countdown { margin: 14px auto 6px; display: inline-block; padding: 12px 26px; border-radius: 20px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); }
.cd-num { font-family: var(--display); font-size: 64px; line-height: 1; text-shadow: 0 4px 16px rgba(0,0,0,.3); }
.cd-label { font-size: 14px; font-weight: 800; margin-top: 2px; }
.cd-date { font-size: 12.5px; opacity: .92; margin-top: 6px; }
.game-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.game-chips span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.25); }
.hero-stats { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.hero-stats > div { min-width: 82px; padding: 8px 10px; border-radius: 14px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); }
.hero-stats b { display: block; font-family: var(--display); font-size: 24px; line-height: 1.1; }
.hero-stats span { font-size: 11.5px; opacity: .9; }
.hero-note { font-size: 13px; font-weight: 700; margin-top: 10px; opacity: .95; }
.goal-total { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.goal-total b { font-family: var(--display); font-size: 34px; line-height: 1; color: var(--gold); }
.goal-total span { font-size: 12.5px; opacity: .85; }
.goal-sky { position: relative; height: 54px; margin: 22px 6px 6px; border-radius: 999px; background: linear-gradient(90deg, #1e1b4b, #312e81 50%, #4338ca); border: 1px solid rgba(255,255,255,.2); }
.goal-sky-fill { position: absolute; right: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(270deg, rgba(251,191,36,.95), rgba(245,158,11,.75)); box-shadow: 0 0 16px rgba(251,191,36,.6); transition: width 1s ease; }
.goal-stage { position: absolute; top: -12px; transform: translateX(50%); display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: .45; filter: grayscale(.6); transition: opacity .4s; }
.goal-stage.lit { opacity: 1; filter: none; }
.goal-stage .gs-icon { font-size: 26px; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.goal-stage .gs-num { font-size: 11px; font-weight: 800; background: rgba(0,0,0,.35); padding: 1px 7px; border-radius: 999px; }
.goal-stage.lit .gs-num { background: var(--gold); color: #3b2300; }
.goal-next { font-size: 13px; font-weight: 700; margin-top: 10px; line-height: 1.8; }
/* دکمهٔ داخلِ سرِ کارتِ رویداد نباید تمام‌عرض شود */
.event-head .btn { width: auto; flex: 0 0 auto; white-space: nowrap; padding: 9px 12px; font-size: 13px; }
.event-head .event-text { flex: 1 1 0; }

/* گوشیِ باریک: تقویمِ ۷ستونه و نوارِ هدف باید در عرضِ کارت جا شوند */
@media (max-width: 420px) {
  .lamps { gap: 5px; }
  .lamp { border-radius: 11px; }
  .lamp-icon { font-size: 17px; }
  .lamp-day { font-size: 10px; }
  .goal-sky { margin: 24px 4px 6px; height: 50px; }
  .goal-stage .gs-icon { font-size: 23px; }
}
.goal-sky { overflow: visible; }
.goal-card { overflow: visible; }

/* ---------- شب‌تابِ بازیکن: آواتارها، سازنده، خانه ---------- */
.av-emoji { line-height: 1; }
.profile-chip svg, .profile-avatar svg { display: block; width: 100%; height: 100%; }
.profile-chip { overflow: hidden; padding: 2px; }
.profile-avatar { overflow: hidden; padding: 2px; }
.member .av svg { width: 36px; height: 36px; display: block; }
.firefly-builder { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 8px 0 12px; }
.fb-preview { background: rgba(0,0,0,.18); border-radius: 22px; padding: 6px 18px; }
.fb-row { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 360px; }
.fb-label { font-size: 13px; font-weight: 800; min-width: 44px; opacity: .9; }
.fb-swatches { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.fb-swatch { width: 30px; height: 30px; border-radius: 50%; border: 3px solid transparent; background: var(--c); box-shadow: inset 0 0 0 2px var(--s); cursor: pointer; padding: 0; }
.fb-swatch.picked { border-color: #fff; transform: scale(1.12); box-shadow: inset 0 0 0 2px var(--s), 0 0 10px rgba(255,255,255,.7); }
.fb-toggle { display: flex; gap: 6px; flex: 1; }
.fb-toggle button { flex: 1; font: inherit; font-size: 13px; font-weight: 800; padding: 7px 10px; border-radius: 12px; border: 2px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: inherit; cursor: pointer; }
.fb-toggle button.picked { border-color: var(--gold); background: rgba(251,191,36,.22); }
.cloud-modal-card .firefly-builder { color: inherit; }
.mascot-pair { display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.mascot-pair .mascot-noori { margin-bottom: 6px; }
.results-mascot .mascot-pair { animation: none; }
.room-me { display: flex; justify-content: center; }
.room-stage { font-size: 13.5px; font-weight: 700; margin-top: 4px; text-align: center; }
.room-stage b { color: var(--gold); }
.room-visitor { display: flex; align-items: center; gap: 8px; margin-top: 12px; justify-content: center; }
.room-visitor .noori-bubble { max-width: 240px; }

/* نردبانِ مرحله‌های نور + دکمهٔ شانسیِ سازنده */
.stage-ladder { display: flex; justify-content: space-between; gap: 4px; margin: 10px auto 6px; max-width: 360px; }
.stage-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; opacity: .55; }
.stage-step.done { opacity: .85; }
.stage-step.now { opacity: 1; }
.stage-step.now .stage-name { color: var(--gold); font-weight: 800; }
.stage-dot { font-size: 16px; line-height: 1; }
.stage-min { font-size: 10px; opacity: .8; }
.room-stage-note { font-size: 12.5px; line-height: 1.9; text-align: center; opacity: .9; margin-top: 6px; max-width: 360px; margin-inline: auto; }
.fb-random { font: inherit; font-size: 13px; font-weight: 800; padding: 6px 14px; border-radius: 999px; border: 1px dashed rgba(255,255,255,.5); background: rgba(255,255,255,.1); color: inherit; cursor: pointer; }

/* ---------- نوری به‌عنوان معلم: برچسب، ورودِ متحرک، فانوس روی کارت، سرک کشیدن در بازخورد، صحنهٔ نتیجه ---------- */
.noori-tag { display: inline-block; font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: #3b2300; line-height: 1.5; }
.noori-teach-art { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; }
.noori-teach .noori-teach-art { animation: noori-in .5s ease-out both; }
@keyframes noori-in { from { transform: translateX(24px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.noori-bubble { position: relative; }
.noori-teach .noori-bubble::after { content: ""; position: absolute; right: -9px; bottom: 14px; border: 9px solid transparent; border-left-color: var(--card); border-right: 0; }
.intro-card.lantern-lit { animation: lantern-flicker 2.2s ease-in-out infinite; }
@keyframes lantern-flicker {
  0%, 100% { box-shadow: 0 0 0 2px rgba(251,191,36,.45), 0 0 22px rgba(251,191,36,.4); }
  50% { box-shadow: 0 0 0 2px rgba(251,191,36,.65), 0 0 36px rgba(251,191,36,.65); }
}
.mascot-stage { display: flex; align-items: center; justify-content: center; gap: 12px; }
.mascot-me { display: flex; }
.mascot-me.glow-up { animation: glowup .9s ease-out both; }
.mascot-me.stage-up { animation: stageup 1.5s ease-out both; }
@keyframes glowup { from { transform: scale(.85); filter: brightness(.8); } 60% { transform: scale(1.06); filter: brightness(1.25); } to { transform: none; filter: none; } }
@keyframes stageup { 0% { transform: scale(.8); filter: brightness(.7); } 45% { transform: scale(1.18); filter: brightness(1.6) drop-shadow(0 0 18px #fde68a); } 100% { transform: none; filter: none; } }
.mascot-noori-corner { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 132px; }
.noori-bubble.mini { font-size: 11.5px; padding: 6px 9px; border-radius: 12px 12px 12px 4px; flex: none; text-align: center; line-height: 1.6; }
.egg-placeholder { display: inline-block; opacity: .6; filter: grayscale(.3); animation: floaty 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .noori-teach .noori-teach-art, .mascot-me.glow-up, .mascot-me.stage-up, .intro-card.lantern-lit, .egg-placeholder { animation: none; } }

/* واکنشِ گذرای نوری (زیرِ سرصفحهٔ بازی) */
#noori-react {
  position: fixed; top: calc(env(safe-area-inset-top, 0px) + 58px); left: 50%; z-index: 40;
  display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px;
  background: var(--card); color: var(--ink); border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transform: translate(-50%, -140%); opacity: 0; pointer-events: none;
  transition: transform .32s cubic-bezier(.2,.9,.3,1.2), opacity .25s ease;
  max-width: min(92vw, 420px); direction: rtl;
}
#noori-react.show { transform: translate(-50%, 0); opacity: 1; }
#noori-react .nr-face { position: relative; width: 52px; height: 52px; flex: none; }
#noori-react .nr-face svg { display: block; }
#noori-react .nr-text { font-size: 15px; font-weight: 800; white-space: nowrap; }
#noori-react .noori-tag { position: absolute; bottom: -6px; right: 10px; }
#noori-react.mood-cheer .nr-face, #noori-react.mood-amazed .nr-face { animation: nr-hop .6s ease-out .15s 2; }
#noori-react.mood-think .nr-face { animation: nr-shake .5s ease-in-out .15s; }
#noori-react.mood-sleepy .nr-face { animation: nr-droop 1.6s ease-in-out .15s; }
@keyframes nr-hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-9px) rotate(-6deg); } 70% { transform: translateY(0) rotate(4deg); } }
@keyframes nr-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-9deg); } 50% { transform: rotate(8deg); } 75% { transform: rotate(-5deg); } }
@keyframes nr-droop { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(10deg) translateY(3px); } }
#noori-react .nr-spark { position: absolute; font-size: 13px; opacity: 0; pointer-events: none; }
#noori-react.show .nr-spark { animation: nr-spark .9s ease-out .2s both; }
#noori-react .nr-spark.s1 { top: 2px; left: -6px; }
#noori-react .nr-spark.s2 { top: -8px; right: -4px; animation-delay: .35s !important; }
#noori-react .nr-spark.s3 { bottom: 0; left: -10px; animation-delay: .5s !important; }
@keyframes nr-spark { 0% { opacity: 0; transform: scale(.4) translateY(4px); } 40% { opacity: 1; transform: scale(1.2) translateY(-6px); } 100% { opacity: 0; transform: scale(.8) translateY(-16px); } }
@media (prefers-reduced-motion: reduce) { #noori-react { transition: opacity .2s; transform: translate(-50%, 0); } #noori-react .nr-face, #noori-react.show .nr-spark { animation: none; } }

/* معرفی به دوستان */
.share-tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 8px 0; }
.share-tab { font: inherit; font-size: 12.5px; font-weight: 800; padding: 6px 12px; border-radius: 999px; border: 2px solid #ddd6fe; background: #f5f3ff; color: #4c1d95; cursor: pointer; }
.share-tab.picked { background: var(--gold); border-color: var(--gold); color: #3b2300; }
.share-preview { white-space: pre-wrap; text-align: right; font-size: 13px; line-height: 1.9; background: #f5f3ff; color: #2e1065; border-radius: 14px; padding: 10px 12px; max-height: 240px; overflow: auto; margin: 6px 0 4px; }
.results-share { display: block; margin: 12px auto 0; font: inherit; font-size: 13.5px; font-weight: 800; color: #6d28d9; background: none; border: 0; cursor: pointer; text-decoration: underline dotted; }

/* ---------- راهنمای شروع: نشانه‌های راهنما، کارهای اول، راهنمای نورستان ---------- */
.guide-mark { position: fixed; inset: 0; z-index: 60; }
.guide-spot { position: fixed; border-radius: 18px; box-shadow: 0 0 0 9999px rgba(10,4,30,.62), 0 0 0 3px var(--gold), 0 0 24px rgba(251,191,36,.6); pointer-events: none; animation: guide-pop .4s ease-out; }
@keyframes guide-pop { from { transform: scale(1.08); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.guide-bubble { position: fixed; left: 14px; right: 14px; max-width: 420px; margin: 0 auto; background: var(--card, #fff); color: var(--ink, #2e1065); border-radius: 20px; padding: 12px 14px 12px 12px; box-shadow: 0 12px 36px rgba(0,0,0,.4); display: grid; grid-template-columns: 64px 1fr; gap: 6px 10px; align-items: center; animation: guide-rise .45s cubic-bezier(.2,.9,.3,1.2); }
@keyframes guide-rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.guide-noori svg { display: block; }
.guide-text { font-size: 14px; font-weight: 700; line-height: 1.8; }
.guide-actions { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-start; }
.guide-actions .btn { width: auto; }
.guide-actions .btn-ghost { color: #4c1d95; background: #f5f3ff; border-color: #ddd6fe; }
.guide-bubble { background: #fff; color: #2e1065; }
.first-steps { background: rgba(255,255,255,.1); border: 1.5px solid rgba(251,191,36,.45); border-radius: 18px; padding: 10px 12px; margin-top: 10px; }
.fs-head { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; color: inherit; font: inherit; font-weight: 800; font-size: 14px; padding: 0; cursor: pointer; text-align: start; }
.fs-count { margin-inline-start: auto; font-size: 12px; font-weight: 700; color: var(--gold); }
.fs-chev { font-size: 12px; opacity: .7; }
.fs-bar { margin: 8px 0; }
.fs-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; font-weight: 700; }
.fs-row.fs-done { opacity: .6; }
.fs-row .fs-label { flex: 1 1 0; min-width: 0; }
.fs-row .btn { width: auto; flex: 0 0 auto; padding: 4px 12px; font-size: 12.5px; }
.fs-icon { width: 24px; text-align: center; font-size: 16px; }
.fs-hint { font-size: 11.5px; opacity: .75; margin-top: 4px; }
.fs-all { font-weight: 800; margin: 6px 0 8px; text-align: center; }
.first-steps > .btn { width: 100%; }
.guide-list { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow: auto; text-align: right; padding-inline-end: 4px; }
.guide-topic { background: #f5f3ff; border-radius: 14px; padding: 10px 12px; }
.guide-topic-head { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #3b0764; }
.guide-topic-icon { font-size: 18px; }
.guide-topic-text { font-size: 13px; line-height: 1.9; color: #2e1065; margin-top: 4px; }
.guide-topic-actions { display: flex; gap: 8px; margin-top: 6px; }
.guide-topic-actions .btn { width: auto; padding: 4px 12px; font-size: 12.5px; }
.guide-foot { justify-content: space-between; }
/* نمونهٔ کوچکِ صفحهٔ پیگیری در راهنمای گروه‌ها */
.gp-mock { background: linear-gradient(180deg, #2e1065, #5b21b6); color: #f5f3ff; border-radius: 14px; padding: 10px; margin: 8px 0; font-size: 11px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); overflow: hidden; }
.gp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; font-size: 12px; }
.gp-head span { opacity: .8; font-size: 10.5px; }
.gp-cols, .gp-row { display: grid; grid-template-columns: 14px 22px minmax(0, 1fr) 40px 36px 30px 34px 44px; gap: 3px; align-items: center; }
.gp-mock { font-size: 10.5px; padding: 8px; }
.gp-cols { font-size: 9.5px; opacity: .7; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.15); margin-bottom: 4px; }
.gp-row { padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.gp-av svg { display: block; width: 22px; height: 22px; }
.gp-name { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-num { text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gp-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.gp-bars i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; }
.gp-bars i b { display: block; height: 100%; background: var(--gold); border-radius: 3px; }
.group-row .group-manage { width: auto; flex: 0 0 auto; }
/* راهِ برگشت بعد از پرشِ راهنما */
.guide-arrive { position: fixed; top: max(10px, env(safe-area-inset-top)); left: 12px; right: 12px; max-width: 460px; margin: 0 auto; z-index: 55; background: #fff; color: #2e1065; border-radius: 18px; padding: 8px 10px; box-shadow: 0 10px 30px rgba(0,0,0,.35); display: flex; align-items: center; gap: 8px; animation: guide-drop .4s cubic-bezier(.2,.9,.3,1.15); }
.guide-arrive.out { opacity: 0; transform: translateY(-12px); transition: all .3s; }
@keyframes guide-drop { from { transform: translateY(-16px); opacity: 0; } to { transform: none; opacity: 1; } }
.guide-arrive-noori svg { display: block; }
.guide-arrive-text { flex: 1; font-size: 13px; font-weight: 700; line-height: 1.7; }
.guide-arrive-x { background: #f5f3ff; border: 0; color: #6d28d9; width: 30px; height: 30px; border-radius: 50%; font: inherit; font-weight: 800; cursor: pointer; flex: none; }
/* انتخابِ حریف در دوئلِ جدید */
.duel-picks-title { font-size: 13px; font-weight: 800; color: #4c1d95; margin: 4px 0 6px; text-align: right; }
.duel-picks-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
.duel-picks-row::-webkit-scrollbar { display: none; }
.duel-pick { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 92px; padding: 8px 6px; border-radius: 14px; border: 2px solid #ddd6fe; background: #f5f3ff; color: #2e1065; font: inherit; cursor: pointer; }
.duel-pick:active { transform: scale(.97); }
.duel-pick-av svg, .duel-pick-av .av-emoji { width: 30px; height: 30px; display: block; font-size: 24px; line-height: 30px; }
.duel-pick-name { font-size: 12.5px; font-weight: 800; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.duel-pick-src { font-size: 10.5px; color: #6d28d9; white-space: nowrap; }
.duel-picks-or { margin-top: 2px; }
.about-static { max-width: 640px; margin: 40px auto; padding: 0 20px; line-height: 2; font-size: 16px; }

/* ردیف‌های تابلو/دوئل/اعلان: دکمه به اندازهٔ خودش، متن جای کافی دارد؛ در عرضِ کم دکمه زیرِ متن می‌رود */
.alert-row .btn, .duel-row .btn, .profile-row .btn, .board-row .btn, .group-row .btn { width: auto; flex: 0 0 auto; white-space: nowrap; padding: 9px 14px; }
.alert-row .profile-info, .duel-row .profile-info, .profile-row .profile-info { flex: 1 1 0; min-width: 0; }
.alert-row, .duel-row, .board-row { flex-wrap: wrap; }
.board-row .profile-info { min-width: 0; }
.board-row .profile-name { overflow-wrap: break-word; }
/* ردیفِ گروه: آمارِ عضو در خطِ دوم و تمام‌عرض، جدا از شب‌تاب و امتیاز؛ زیرِ نام ردیف می‌شود */
.board-meta { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 9px; font-size: 11.5px; opacity: .8; padding-inline-start: 42px; margin-top: -4px; }
.board-meta span { white-space: nowrap; }
.board-meta { align-items: center; }
.board-meta .duel-btn { margin-inline-start: auto; padding: 4px 10px; font-size: 12.5px; }
.alert-row .btn, .duel-row .btn { margin-inline-start: auto; }
@media (max-width: 420px) {
  .alert-row .btn, .duel-row .btn { flex-basis: 100%; margin-top: 8px; margin-inline-start: 0; }
  .board-row .profile-name { font-size: 15px; line-height: 1.35; }
}
.section-focus { animation: section-focus 1.6s ease-out; }
@keyframes section-focus { 0% { box-shadow: 0 0 0 3px var(--gold), 0 0 24px rgba(251,191,36,.6); } 100% { box-shadow: none; } }

/* تب‌های صفحهٔ رتبه‌ها */
.seg { display: flex; gap: 6px; background: rgba(0,0,0,.22); border-radius: 999px; padding: 4px; margin: 4px 0 14px; }
.seg-btn { flex: 1; font: inherit; font-size: 12.5px; font-weight: 800; padding: 8px 4px; border-radius: 999px; border: 0; background: transparent; color: #e9d5ff; cursor: pointer; white-space: nowrap; }
.seg-btn.active { background: var(--gold); color: #3b2300; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.board-pane > .cloud-card:first-child { margin-top: 0; }
#league-section .group-board.scrolly { max-height: 62vh; overflow-y: auto; padding-inline-end: 4px; border-radius: 12px; }
/* زنجیره */
#stat-streak { cursor: pointer; }
#stat-streak.at-risk { background: rgba(248,113,113,.28); border-color: rgba(248,113,113,.7); animation: streak-risk 1.8s ease-in-out infinite; }
@keyframes streak-risk { 0%, 100% { box-shadow: 0 0 0 0 rgba(248,113,113,.0); } 50% { box-shadow: 0 0 12px 2px rgba(248,113,113,.55); } }
.results-streak { display: inline-block; margin: 6px auto 2px; padding: 5px 12px; border-radius: 999px; background: #fff7ed; color: #9a3412; font-size: 13.5px; font-weight: 800; }

/* جشنِ تکمیلِ صورتِ فلکی + راهنمایی به چالش نور */
.constel { position: absolute; }
.constel.celebrate svg { animation: constel-pop 1.2s ease-out; }
@keyframes constel-pop { 0% { transform: scale(1); filter: none; } 35% { transform: scale(1.14); filter: drop-shadow(0 0 18px #fde68a); } 100% { transform: scale(1); filter: none; } }
.star-rain { position: absolute; inset: -30px -20px auto -20px; height: 200px; pointer-events: none; overflow: visible; z-index: 3; }
.star-rain i { position: absolute; top: -10px; font-style: normal; color: #fde68a; opacity: 0; animation: star-fall 2s ease-in forwards; text-shadow: 0 0 8px #fde68a; }
@keyframes star-fall { 0% { transform: translateY(0) rotate(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(190px) rotate(120deg); opacity: 0; } }
.boss-node.boss-ready { animation: bounce 1.6s ease-in-out infinite, boss-pulse 2s ease-in-out infinite; }
.boss-node.boss-ready.boss-hint { animation: bounce 1.6s ease-in-out infinite, boss-pulse .9s ease-in-out infinite; }
@keyframes boss-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,.0), 0 0 0 3px rgba(251,191,36,.6); } 50% { box-shadow: 0 0 22px 6px rgba(251,191,36,.55), 0 0 0 3px rgba(251,191,36,1); } }
.boss-callout { position: absolute; width: 240px; left: calc(50% - 120px); top: calc(100% - 6px); text-align: center; background: var(--card); color: var(--ink); font-size: 12.5px; font-weight: 800; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.3); animation: floaty 2.4s ease-in-out infinite; z-index: 3; }
.boss-callout::before { content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%); border: 7px solid transparent; border-top: 0; border-bottom-color: var(--card); }
@media (prefers-reduced-motion: reduce) { .constel.celebrate svg, .boss-node.boss-ready, .boss-callout { animation: none; } }
/* برچسبِ زیرِ هر مرحله: رنگِ خودش را دارد (نه رنگِ متنِ دایره) تا روی آسمانِ تیره خوانا بماند */
.node .node-label { color: #f3f0ff; opacity: .95; text-shadow: 0 1px 4px rgba(0,0,0,.7), 0 0 10px rgba(0,0,0,.5); font-weight: 700; }
.node.done .node-label { color: #fde68a; }
.node.current .node-label { color: #a7f3eb; }
.node.locked .node-label { color: rgba(243,240,255,.6); }
.node.boss-node .node-label { color: #fde68a; }
.node.boss-node.locked .node-label { color: rgba(243,240,255,.6); }

/* نسخه و دکمهٔ راهنما */
.app-version { text-align: center; font-size: 11.5px; opacity: .55; margin: 18px 0 4px; }
.app-links { text-align: center; font-size: 12px; margin: 0 0 12px; }
.app-links a { color: rgba(255,255,255,.75); text-decoration: underline dotted; }
.info-btn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: rgba(255,255,255,.12); color: inherit; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; vertical-align: middle; margin-inline-start: 6px; }

/* یادآورهای نوری */
.push-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 4px; font-size: 13.5px; font-weight: 700; }
.push-select { font: inherit; font-size: 14px; font-weight: 800; padding: 6px 10px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: inherit; }
.push-toggle { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); cursor: pointer; }
.push-toggle input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; }
.push-toggle span { display: flex; flex-direction: column; }
.push-toggle b { font-size: 14px; }
.push-toggle small { font-size: 11.5px; opacity: .8; line-height: 1.6; }
.push-on-tag { font-size: 11px; font-weight: 800; background: #10b981; color: #fff; border-radius: 999px; padding: 2px 8px; margin-inline-start: 6px; vertical-align: middle; }
