/* ==========================================================================
   هِکسره — Shared stylesheet
   RTL, Persian (Vazirmatn), light & modern
   ========================================================================== */

/* Vazirmatn — self-hosted variable font (all weights 100–900 in one file per subset) */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./fonts/vazirmatn-arabic-wght-normal.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./fonts/vazirmatn-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./fonts/vazirmatn-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  /* Palette */
  --bg:          #f7f8fc;
  --bg-soft:     #eef1f9;
  --surface:     #ffffff;
  --ink:         #1f2430;
  --ink-soft:    #4a5163;
  --ink-faint:   #8b91a3;
  --border:      #e4e7f0;

  --brand:       #6c5ce7;
  --brand-dark:  #5546c9;
  --brand-soft:  #efeafe;

  --correct:     #16a34a;
  --correct-bg:  #e9f8ef;
  --correct-bd:  #bfe9cf;

  --wrong:       #dc2626;
  --wrong-bg:    #fdecec;
  --wrong-bd:    #f6c9c9;

  --amber:       #d97706;
  --amber-bg:    #fdf3e3;

  --shadow-sm: 0 1px 3px rgba(31,36,48,.06), 0 1px 2px rgba(31,36,48,.04);
  --shadow-md: 0 6px 20px rgba(31,36,48,.08);
  --shadow-lg: 0 18px 50px rgba(31,36,48,.12);

  --radius:   18px;
  --radius-sm:12px;
  --maxw:     980px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

::selection { background: var(--brand); color: #fff; }
::-moz-selection { background: var(--brand); color: #fff; }

body {
  font-family: 'Vazirmatn', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  direction: rtl;
  line-height: 1.9;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

h1, h2, h3 { line-height: 1.5; font-weight: 800; }
h2.section-title { font-size: clamp(24px, 4vw, 34px); margin-bottom: 10px; }
.section-sub { color: var(--ink-soft); font-size: 17px; margin-bottom: 32px; max-width: 640px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.brand .dot {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), #a29bfe);
  color: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 16px;
  color: var(--ink-soft); transition: all .18s ease;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a.active { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.nav-right { display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink-soft); padding: 8px; border-radius: 10px; line-height: 1; }
.nav-toggle svg { display: block; }
.nav-toggle:hover { background: var(--bg-soft); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 17px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-soft); transform: translateY(-2px); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}

/* ---------- Correct / Wrong tokens ---------- */
.correct, .wrong { padding: 2px 10px; border-radius: 8px; font-weight: 700; white-space: nowrap; }
.correct { background: var(--correct-bg); color: var(--correct); }
.wrong   { background: var(--wrong-bg);   color: var(--wrong); }
.hl { color: var(--brand); font-weight: 800; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
table.t { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 16px; min-width: 460px; }
table.t th, table.t td { padding: 14px 16px; text-align: right; border-bottom: 1px solid var(--border); }
table.t thead th { background: var(--bg-soft); font-weight: 700; color: var(--ink-soft); }
table.t tr:last-child td { border-bottom: none; }
table.t tbody tr:hover { background: #fafbff; }

/* ---------- Footer ---------- */
.footer { background: #101322; color: #c7ccdb; padding: 40px 0; margin-top: 40px; }
.footer .container { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.footer strong { color: #fff; }
.footer .foot-links { display: flex; gap: 18px; margin-top: 8px; }
.footer .foot-links a { color: #a29bfe; font-weight: 600; }
.footer .foot-links a:hover { color: #fff; }
.footer .domain { color: var(--ink-faint); font-size: 14px; margin-top: 6px; }
.coffee-link { display: inline-block; margin: 10px auto 4px; text-align: center;
  background: rgba(255,213,74,.10); color: #f0cb68; border: 1px solid rgba(255,213,74,.30);
  font-weight: 700; font-size: 14px; line-height: 1.6; padding: 8px 16px; border-radius: 999px;
  transition: background .15s ease, border-color .15s ease, color .15s ease; }
.coffee-link:hover { background: rgba(255,213,74,.18); border-color: rgba(255,213,74,.5); color: #f6d788; }
.coffee-link s { position: relative; text-decoration: none; opacity: .55; margin-inline-end: 2px; }
.coffee-link s::after { content: ""; position: absolute; inset-inline: -1px; top: 62%; height: 1.6px; background: currentColor; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 44px 0; }
  .brand { font-size: 19px; }
  .nav-inner { padding: 10px 14px; }
  /* collapse the page links into a hamburger dropdown */
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; inset-inline: 0; z-index: 99;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); padding: 8px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ==========================================================================
   Shared page components (used by home + learn pages)
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { padding: 70px 0 40px; text-align: center; background:
  radial-gradient(1200px 400px at 50% -80px, var(--brand-soft), transparent); }
.hero h1 { font-size: clamp(30px, 6vw, 52px); margin-bottom: 16px; }
.hero .tease { font-size: clamp(17px, 2.6vw, 21px); color: var(--brand-dark); font-weight: 700; margin-bottom: 20px; }
.hero p.lead { max-width: 640px; margin: 0 auto 30px; color: var(--ink-soft); }

.flip-demo {
  display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
  border-radius: var(--radius); padding: 22px 30px; margin: 8px auto 30px;
}
.flip-word { font-size: clamp(24px, 5vw, 40px); font-weight: 800; }
.flip-arrow { font-size: 26px; color: var(--ink-faint); }
.flip-demo .bad { color: var(--wrong); position: relative; }
.flip-demo .bad::after { content: ""; position: absolute; inset-inline: -2px; top: 50%; height: 2.5px; background: var(--wrong); border-radius: 2px; transform: translateY(-50%); }
.flip-demo .good { color: var(--correct); }

/* ---------- TL;DR (خلاصه) box ---------- */
.tldr { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border);
  border-inline-start: 5px solid var(--brand); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); text-align: right; }
.tldr h3 { font-size: 17px; margin-bottom: 12px; color: var(--brand-dark); }
.tldr ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tldr li { font-size: 16.5px; line-height: 1.8; padding-inline-start: 22px; position: relative; }
.tldr li::before { content: "◆"; color: var(--brand); font-size: 12px; position: absolute; inset-inline-start: 0; top: 6px; }
.tldr-quiz { display: inline-block; margin-top: 14px; font-size: 14.5px; font-weight: 700; color: var(--brand); }
.tldr-quiz:hover { color: var(--brand-dark); text-decoration: underline; }

/* ---------- Home section cards ---------- */
.home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hcard { padding: 28px 24px; text-align: center; transition: transform .18s ease, box-shadow .18s ease; }
.hcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hcard h3 { font-size: 20px; margin-bottom: 8px; }
.hcard p { color: var(--ink-soft); font-size: 15px; margin-bottom: 16px; }
@media (max-width: 720px){ .home-cards{ grid-template-columns: 1fr; } }

/* ---------- Lessons ---------- */
.lessons { display: grid; gap: 18px; }
.lesson { padding: 26px; }
.lesson-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.lesson-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; flex: 0 0 auto; }

/* Lessons: table of contents */
.toc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 18px; }
.toc-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.toc-item:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.toc-num { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; font-weight: 800; color: var(--brand); background: var(--brand-soft); }
.toc-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.toc-tx b { color: var(--ink); font-size: 1.02rem; }
.toc-tx em { color: var(--ink-soft); font-style: normal; font-size: .86rem; }
.toc-go { flex: 0 0 auto; color: var(--brand); font-size: 20px; line-height: 1; opacity: .5; transition: transform .15s, opacity .15s; }
.toc-item:hover .toc-go { opacity: 1; transform: translateY(3px); }
.lesson { scroll-margin-top: 80px; }
.back-toc { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .85rem; color: var(--ink-soft); text-decoration: none; }
.back-toc:hover { color: var(--brand); }
@media (max-width: 560px) { .toc { grid-template-columns: 1fr; } }
.lesson h3 { font-size: 21px; }
.lesson p { color: var(--ink-soft); margin: 10px 0; }
.ic-brand { background: var(--brand-soft); }
.ic-green { background: var(--correct-bg); }
.ic-amber { background: var(--amber-bg); }
.ic-blue  { background: #e3f0fb; }

.ex-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.ex-list li { font-weight: 700; }
.note { border-radius: var(--radius-sm); padding: 12px 16px; margin: 12px 0; font-size: 15.5px; }
.note-good { background: var(--correct-bg); border: 1px solid var(--correct-bd); }
.note-tip  { background: var(--brand-soft); border: 1px solid #ddd4fb; }
.note-warn { background: var(--wrong-bg); border: 1px solid var(--wrong-bd); }
.note-fun  { background: var(--amber-bg); border: 1px solid #f4dcb4; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.split .box { border-radius: var(--radius-sm); padding: 14px 16px; }
.box-bad { background: var(--wrong-bg); border: 1px solid var(--wrong-bd); }
.box-good { background: var(--correct-bg); border: 1px solid var(--correct-bd); }
.box h4 { font-size: 15px; margin-bottom: 8px; }
.box ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 560px){ .split{ grid-template-columns: 1fr; } }

/* ---------- Rules ---------- */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rule { padding: 24px; }
.rule .badge { display:inline-flex; align-items:center; gap:8px; font-weight:800; color: var(--brand); margin-bottom: 8px; }
@media (max-width: 720px){ .rules{ grid-template-columns: 1fr; } }

/* ---------- Flowchart ---------- */
.flow { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 8px; }
.flow .node { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  border-radius: 14px; padding: 12px 18px; text-align: center; max-width: 560px; font-weight: 600; }
.flow .q { background: var(--brand-soft); border-color:#ddd4fb; }
.flow .yes { background: var(--correct-bg); border-color: var(--correct-bd); }
.flow .no  { background: var(--wrong-bg); border-color: var(--wrong-bd); }
.flow .arrow { color: var(--ink-faint); font-size: 20px; }
.flow-branch { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Summary cards ---------- */
.summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sum { padding: 24px; text-align: center; }
.sum h3 { font-size: 19px; margin-bottom: 8px; }
.sum p { color: var(--ink-soft); font-size: 15.5px; }
.sum.s1 { border-top: 4px solid var(--brand); }
.sum.s2 { border-top: 4px solid var(--correct); }
.sum.s3 { border-top: 4px solid var(--amber); }
.sum.s4 { border-top: 4px solid #0984e3; }
@media (max-width: 860px){ .summary{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .summary{ grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; background: linear-gradient(135deg, var(--brand), #a29bfe);
  color: #fff; border-radius: var(--radius); padding: 40px 24px; margin-top: 10px; box-shadow: var(--shadow-md); }
.cta-band h2 { font-size: clamp(22px, 4vw, 30px); margin-bottom: 8px; }
.cta-band p { opacity: .92; margin-bottom: 20px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-dark); }
.cta-band .btn-primary:hover { background: #f2eeff; }

/* ---------- Jump-to-section helper (mobile) ---------- */
section[id], h3[id] { scroll-margin-top: 72px; }
.jump-fab {
  display: inline-flex; align-items: center; gap: 6px;
  position: fixed; inset-block-end: 18px; inset-inline-end: 16px; z-index: 200;
  background: var(--brand); color: #fff; border: none; border-radius: 999px;
  padding: 12px 18px; font-family: inherit; font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-md); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.jump-fab.show { opacity: 1; visibility: visible; transform: none; }
.jump-menu[hidden] { display: none; }
.jump-menu { position: fixed; inset: 0; z-index: 250; background: rgba(16,19,34,.45); display: flex; align-items: flex-end; }
.jump-sheet { background: var(--surface); width: 100%; max-height: 80vh; overflow-y: auto;
  border-radius: 18px 18px 0 0; padding: 12px 12px calc(16px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-lg); animation: sheetUp .2s ease; }
@keyframes sheetUp { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.jump-title { font-weight: 800; color: var(--ink-soft); font-size: 14px; padding: 6px 12px 8px;
  display: flex; justify-content: space-between; align-items: center; }
.jump-title button { background: none; border: none; font-size: 24px; color: var(--ink-faint); cursor: pointer; line-height: 1; }
.jump-sheet a { display: block; padding: 14px; border-radius: 12px; font-weight: 600; font-size: 16px; color: var(--ink); }
.jump-sheet a:active, .jump-sheet a:hover { background: var(--bg-soft); }
/* desktop: compact popover near the button instead of a full-screen bottom sheet */
@media (min-width: 769px) {
  .jump-menu { background: transparent; }
  .jump-sheet {
    position: fixed; inset-block-end: 74px; inset-inline-end: 16px;
    width: 250px; max-height: 70vh;
    border-radius: 16px; border: 1px solid var(--border);
    padding: 8px; animation: popIn .15s ease;
  }
  .jump-sheet a { padding: 11px 12px; font-size: 15px; }
}

/* ---------- Mobile: turn tables into stacked cards (no horizontal scroll) ---------- */
@media (max-width: 560px) {
  .table-wrap { overflow: visible; border: none; box-shadow: none; border-radius: 0; }
  table.t { min-width: 0; background: transparent; box-shadow: none; font-size: 15.5px; }
  table.t thead { display: none; }
  table.t tr {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    margin-bottom: 14px;
    overflow: hidden;
  }
  table.t td {
    display: block;
    text-align: right;
    padding: 9px 14px;
    border: none;
    border-bottom: 1px solid var(--border);
  }
  table.t td:last-child { border-bottom: none; }
  table.t td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: var(--ink-faint);
    font-size: 12.5px;
    margin-bottom: 3px;
  }
  table.t tbody tr:hover { background: var(--surface); }
}

/* ---------- Responsive grid fixes ---------- */
.summary.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px){ .summary.cols-2 { grid-template-columns: 1fr; } }
/* allow grid items to shrink below their content width (prevents mobile overflow) */
.split > *, .summary > *, .rules > *, .lessons > *, .home-cards > * { min-width: 0; }
.flip-demo { max-width: 100%; }

/* info box (ه معرفه compare) — themeable */
.box-info { background: #e9f2fb; border: 1px solid #c9def5; }

/* ---------- Theme toggle button ---------- */
.theme-toggle { background: none; border: none; cursor: pointer; color: var(--ink-soft);
  padding: 8px; margin-inline-start: 2px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.theme-toggle:hover { background: var(--bg-soft); color: var(--ink); }
.theme-toggle svg { display: block; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }

/* ==========================================================================
   DARK MODE
   ========================================================================== */
[data-theme="dark"] {
  --bg:          #0f1220;
  --bg-soft:     #161a2b;
  --surface:     #1b2035;
  --ink:         #e8eaf3;
  --ink-soft:    #aab1c6;
  --ink-faint:   #6f7794;
  --border:      #2a3050;

  --brand:       #8f82ff;
  --brand-dark:  #ab9dff;
  --brand-soft:  #23203f;

  --correct:     #4ade80;
  --correct-bg:  #14301f;
  --correct-bd:  #205238;

  --wrong:       #f87171;
  --wrong-bg:    #351a1a;
  --wrong-bd:    #5c2a2a;

  --amber:       #fbbf24;
  --amber-bg:    #33280f;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 6px 20px rgba(0,0,0,.5);
  --shadow-lg: 0 18px 50px rgba(0,0,0,.6);
}
/* hardcoded-color fixes for dark */
[data-theme="dark"] .nav { background: rgba(15,18,32,.85); }
[data-theme="dark"] .footer { border-top: 1px solid var(--border); }
[data-theme="dark"] .note-tip { border-color: #37326a; }
[data-theme="dark"] .note-fun { border-color: #4a3a1a; }
[data-theme="dark"] .flow .q { border-color: #37326a; }
[data-theme="dark"] .ic-blue { background: #1c2b45; }
[data-theme="dark"] .box-info { background: #16233a; border-color: #294263; }
[data-theme="dark"] .cta-band .btn-primary { color: #5546c9; }
/* wall */
[data-theme="dark"] .bubble-area { background: #12162a; }
[data-theme="dark"] .bubble { background: #242a44; }
[data-theme="dark"] .tag-m { background: #1c2b45; color: #8fb8f0; }
[data-theme="dark"] .disclaimer { border-color: #4a3a1a; }
/* quiz */
[data-theme="dark"] .opt:hover:not(:disabled) { background: #232941; }
[data-theme="dark"] table.t tbody tr:hover { background: #232941; }
