/* ============================================================
   مِسبار — التمارين · exercises.css
   Scoped skin for #ex (+ page chrome hooks for exercises.html).
   Dark is the default; html.light redefines every --ex-* token.
   Palette follows the live learner dashboard (dash-x.css).

   TOKENS
     --ex-*  app surface (theme-aware)
     --pp-*  "paper" = mock product UI. IDENTICAL in both themes so a mock
             always reads like a real product screenshot.
   CLASS CONVENTIONS
     .ex-*        engine/app components (this file)
     .exm-*       mock primitives from ui.js (this file, bottom)
     .ext-<type>  root of a type's task area → type CSS lives in
                  assets/css/exercises/<type>.css and is scoped to it.
   ============================================================ */

#ex {
  --ex-bg: #0C0C0F; --ex-s: #141417; --ex-s2: #1B1B20; --ex-s3: #23232A;
  --ex-line: #26262C; --ex-line2: #34343C;
  --ex-ink: #F4F4F6; --ex-body: #D2D2DA; --ex-mut: #A3A3AF; --ex-faint: #8A8A96;
  --ex-vio: #A78BFA; --ex-vio2: #C4B5FD; --ex-t: rgba(167,139,250,.12); --ex-t2: rgba(167,139,250,.24); --ex-on: #17102B;
  --ex-ok: #34D399; --ex-okbg: rgba(52,211,153,.14); --ex-ok-on: #052E1F;
  --ex-close: #FBBF24; --ex-closebg: rgba(251,191,36,.14); --ex-close-on: #2B1D02;
  --ex-danger: #F87171; --ex-dangerbg: rgba(248,113,113,.14);
  --ex-flame: #FB923C; --ex-bolt: #FACC15;
  --ex-hero: radial-gradient(120% 140% at 100% 0%, rgba(124,58,237,.30) 0%, rgba(124,58,237,0) 55%), linear-gradient(160deg,#1A1530 0%,#141417 70%);
  --ex-sh: 0 1px 0 rgba(255,255,255,.03) inset;
  --ex-sh2: 0 24px 60px rgba(0,0,0,.45);
  --ex-scrim: rgba(6,6,9,.55);
  /* category / type tones (thumb backgrounds + accents) */
  --tone-vio: #A78BFA; --tone-rose: #F472B6; --tone-teal: #2DD4BF; --tone-amber: #FBBF24; --tone-blue: #60A5FA; --tone-green: #34D399;
  --ex-r: 20px; --ex-r2: 14px; --ex-r3: 10px;
  --ex-ease: cubic-bezier(.2,.8,.2,1);

  /* paper — same in both themes */
  --pp-canvas: #F2F2F7; --pp-bg: #FFFFFF; --pp-fill: #F4F4F7; --pp-fill2: #EBEBF0;
  --pp-ink: #111114; --pp-body: #3C3C43; --pp-mut: #6B6B76; --pp-faint: #9A9AA5; /* placeholders + decorative strokes only; real mock text uses --pp-mut */
  --pp-line: #E4E4EA; --pp-line2: #D0D0D9;
  --pp-brand: #2F5BEA; --pp-brand-ink: #FFFFFF; --pp-brand-soft: #EEF2FE;
  --pp-danger: #D92D20; --pp-danger-soft: #FEF3F2; --pp-ok: #067647; --pp-ok-soft: #ECFDF3; --pp-warn: #B54708; --pp-warn-soft: #FFFAEB;
  --pp-bezel: #0E0E11;
  --pp-font: inherit;

  color: var(--ex-ink);
  font-family: inherit;
  line-height: 1.7;
}
html.light #ex {
  --ex-bg: #F7F5FC; --ex-s: #FFFFFF; --ex-s2: #F4EFFD; --ex-s3: #ECE6FA;
  --ex-line: #EAE3F8; --ex-line2: #DCD3F2;
  --ex-ink: #18181B; --ex-body: #27272A; --ex-mut: #52525B; --ex-faint: #6B6B76;
  --ex-vio: #6D28D9; --ex-vio2: #5B21B6; --ex-t: #F4EFFD; --ex-t2: #E5DAFB; --ex-on: #FFFFFF;
  --ex-ok: #047857; --ex-okbg: #DDF3E9; --ex-ok-on: #FFFFFF;
  --ex-close: #92400E; --ex-closebg: #FCEFD9; --ex-close-on: #FFFFFF;
  --ex-danger: #B42318; --ex-dangerbg: #FDE7E5;
  --ex-flame: #C2410C; --ex-bolt: #A16207;
  --ex-hero: radial-gradient(120% 140% at 100% 0%, rgba(167,139,250,.38) 0%, rgba(167,139,250,0) 55%), linear-gradient(160deg,#EFE7FD 0%,#FFFFFF 75%);
  --ex-sh: 0 1px 2px rgba(46,16,101,.04), 0 8px 24px rgba(46,16,101,.05);
  --ex-sh2: 0 24px 60px rgba(46,16,101,.16);
  --ex-scrim: rgba(24,16,48,.25);
  --tone-vio: #7C3AED; --tone-rose: #DB2777; --tone-teal: #0D9488; --tone-amber: #D97706; --tone-blue: #2563EB; --tone-green: #059669;
}

/* ---------------- page chrome hooks ---------------- */
body.ex-on { background: #0C0C0F; }
html.light body.ex-on { background: #F7F5FC; }
.ex-wrap { padding: 28px 20px 96px; max-width: 1180px; margin: 0 auto; }
@media (min-width: 640px) { .ex-wrap { padding: 36px 32px 110px; } }
.ex-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 300; background: #A78BFA; color: #17102B; padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.ex-skip:focus { top: 12px; }

.ex-guestbar { display: none; }
html.ex-guest .ex-guestbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 60; height: 64px; padding: 0 20px; background: rgba(12,12,15,.82); backdrop-filter: blur(12px); border-bottom: 1px solid #1F1F25; }
html.light.ex-guest .ex-guestbar { background: rgba(255,255,255,.86); border-color: #EAE3F8; }
html.ex-guest #ex-sidebar, html.ex-guest #ex-mtop, html.ex-guest #mobile-menu, html.ex-guest #ex-topbar { display: none !important; }
html.ex-guest #ex-main { margin-left: 0 !important; margin-right: 0 !important; }
.ex-guestbar-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 17px; color: inherit; text-decoration: none; }
.ex-guestbar-brand svg { width: 32px; height: 32px; border-radius: 9px; }
.ex-guestbar-acts { display: flex; align-items: center; gap: 8px; }
.ex-guestbar-thm { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #26262C; background: transparent; color: inherit; font-size: 18px; cursor: pointer; }
html.light .ex-guestbar-thm { border-color: #EAE3F8; }
.ex-guestbar-thm .i-sun, html.light .ex-guestbar-thm .i-moon { display: none; }
html.light .ex-guestbar-thm .i-sun { display: inline; }
.ex-guestbar-link { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; background: #A78BFA; color: #17102B; font-weight: 800; font-size: 14.5px; text-decoration: none; }
html.light .ex-guestbar-link { background: #6D28D9; color: #fff; }
.ex-guestbar-thm:focus-visible, .ex-guestbar-link:focus-visible, .ex-guestbar-brand:focus-visible { outline: 2px solid #A78BFA; outline-offset: 3px; }
/* home button + guest/member variants of the slim header */
.ex-guestbar-home { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #34343C; color: inherit; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.ex-guestbar-home:hover { border-color: #A78BFA; }
html.light .ex-guestbar-home { border-color: #DDD1F8; }
html.light .ex-guestbar-home:hover { border-color: #6D28D9; }
.ex-guestbar-home:focus-visible { outline: 2px solid #A78BFA; outline-offset: 3px; }
.ex-only-member { display: none; }
html.ex-member .ex-only-member { display: inline-flex; }
html.ex-member .ex-only-guest { display: none; }
@media (max-width: 520px) { .ex-guestbar-home { padding: 0 12px; } .ex-guestbar-home span { display: none; } .ex-guestbar-home { width: 44px; justify-content: center; padding: 0; } .ex-guestbar-brand span { display: none; } }

/* focus mode while playing an exercise: hide mobile chrome */
@media (max-width: 1023px) { body.ex-focus #ex-mtop, body.ex-focus #mobile-menu, body.ex-focus .ex-guestbar { display: none !important; } body.ex-focus .ex-wrap { padding-top: 12px; } }

/* ---------------- base ---------------- */
#ex *, #ex *::before, #ex *::after { box-sizing: border-box; }
/* zero-specificity resets (:where) so every class rule below wins without !important */
:where(#ex) a { color: inherit; text-decoration: none; }
#ex :focus-visible { outline: 2px solid var(--ex-vio); outline-offset: 3px; border-radius: 10px; }
#ex [data-focus]:focus { outline: none; }
:where(#ex) button { font: inherit; color: inherit; }
#ex img, #ex svg { max-width: 100%; }
#ex p { margin: 0; }
#ex h1, #ex h2, #ex h3 { margin: 0; }
.ex-ic { flex: none; display: inline-block; vertical-align: middle; }
.ex-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ex-view { display: grid; gap: 28px; animation: ex-in .35s var(--ex-ease) both; }
@keyframes ex-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* type scale (Arabic display ≥ 1.15 line-height) */
.ex-display { font-size: clamp(32px, 4.4vw, 48px); font-weight: 900; line-height: 1.2; letter-spacing: -.01em; }
.ex-display.is-md { font-size: clamp(28px, 3.4vw, 38px); }
.ex-h1 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 900; line-height: 1.3; }
.ex-h2 { font-size: 20px; font-weight: 800; line-height: 1.45; }
.ex-h3 { font-size: 17px; font-weight: 800; line-height: 1.5; display: block; }
.ex-lead { font-size: 16.5px; color: var(--ex-body); line-height: 1.85; max-width: 62ch; }
.ex-mut { color: var(--ex-mut); }
.ex-small { font-size: 13.5px; line-height: 1.7; }
.ex-en { font-size: 13px; font-weight: 600; color: var(--ex-faint); margin-inline-start: 6px; }
.ex-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; color: var(--ex-vio); letter-spacing: 0; }
.ex-note { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ex-faint); }
.ex-foot { text-align: center; }
.ex-foot > .ex-ic { margin-inline-end: 6px; vertical-align: -2px; }
.ex-foot a { color: var(--ex-vio) !important; text-decoration: underline !important; text-underline-offset: 3px; font-weight: 700; }

/* surfaces */
.ex-card { background: var(--ex-s); border: 1px solid var(--ex-line); border-radius: var(--ex-r); padding: 22px 24px; box-shadow: var(--ex-sh); min-width: 0; }
.ex-section { display: grid; gap: 16px; }
.ex-section-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* chips, tags, pills */
.ex-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--ex-s2); color: var(--ex-body); border: 1px solid var(--ex-line); white-space: nowrap; }
.ex-chip--type { background: var(--ex-t); color: var(--ex-vio); border-color: transparent; }
.ex-chip--daily { background: var(--ex-closebg); color: var(--ex-close); border-color: transparent; }
.ex-chip--ok { background: var(--ex-okbg); color: var(--ex-ok); border-color: transparent; }
.ex-chip--soon { background: transparent; color: var(--ex-mut); border-style: dashed; height: 28px; font-size: 12.5px; }
.ex-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; background: var(--ex-s2); color: var(--ex-body); }
.ex-tag.is-soon { color: var(--ex-mut); }
.ex-tag.is-more { color: var(--ex-mut); background: transparent; border: 1px solid var(--ex-line); }
.ex-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 18px; border-radius: 999px; background: var(--ex-vio); color: var(--ex-on); font-weight: 800; font-size: 14.5px; }

/* buttons */
.ex-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.ex-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 800; font-size: 14.5px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .12s; text-decoration: none; }
.ex-btn:active { transform: scale(.98); }
.ex-btn--primary { background: var(--ex-vio); color: var(--ex-on); }
.ex-btn--primary:hover { filter: brightness(1.06); }
.ex-btn--ok { background: var(--ex-ok); color: var(--ex-ok-on); }
.ex-btn--ghost { background: transparent; color: var(--ex-ink); border-color: var(--ex-line2); }
.ex-btn--ghost:hover { background: var(--ex-s2); }
.ex-btn[disabled] { opacity: .45; cursor: not-allowed; }
.ex-cta { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding-inline: 26px 8px; border-radius: 999px; border: 0; cursor: pointer; background: var(--ex-vio); color: var(--ex-on); font-weight: 900; font-size: 16px; box-shadow: 0 10px 26px color-mix(in srgb, var(--ex-vio) 32%, transparent); transition: transform .15s var(--ex-ease), box-shadow .15s; }
.ex-cta:hover { transform: translateY(-1px); }
.ex-cta:active { transform: scale(.985); }
.ex-cta-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ex-on) 14%, transparent); }
.ex-iconbtn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: transparent; border: 1px solid var(--ex-line); cursor: pointer; color: var(--ex-mut); flex: none; }
.ex-iconbtn:hover { color: var(--ex-ink); background: var(--ex-s2); }

/* progress bar + ring */
.ex-bar { display: block; height: 8px; border-radius: 99px; background: var(--ex-s3); overflow: hidden; }
.ex-bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ex-vio), color-mix(in srgb, var(--ex-vio) 65%, #F472B6)); transition: width .9s var(--ex-ease); }
.ex-ring { --size: 132px; position: relative; width: var(--size); height: var(--size); flex: none; }
.ex-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; overflow: visible; }
.ex-ring circle { fill: none; }
.ex-ring .tr { stroke: var(--ex-s3); }
.ex-ring .fg { stroke: var(--ex-vio); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ex-ease); }
.ex-ring > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 14px; line-height: 1.35; }
.ex-ring > span b { font-size: 17px; font-weight: 900; }
.ex-ring > span small { font-size: 11.5px; color: var(--ex-mut); font-weight: 600; }
.ex-ring--lg { --size: 140px; }
.ex-ring--lg svg { width: 140px; height: 140px; }
.ex-ring--lg circle { stroke-width: 10; }
.ex-ring--lg > span b { font-size: 30px; }

/* tones (thumb surfaces + accents) */
.ex-tone-vio { --tone: var(--tone-vio); } .ex-tone-rose { --tone: var(--tone-rose); } .ex-tone-teal { --tone: var(--tone-teal); }
.ex-tone-amber { --tone: var(--tone-amber); } .ex-tone-blue { --tone: var(--tone-blue); } .ex-tone-green { --tone: var(--tone-green); }
.ex-thumb-svg { display: block; width: 100%; height: 100%; }

/* ================= dashboard ================= */
.ex-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 34px 36px; border-radius: 26px; background: var(--ex-hero); border: 1px solid var(--ex-line); }
.ex-hero-tx { display: grid; gap: 12px; align-content: start; }
.ex-hero-p { font-size: 16.5px; color: var(--ex-body); line-height: 1.85; max-width: 54ch; }
.ex-hero-level { display: grid; justify-items: center; gap: 8px; padding: 18px 22px; border-radius: 22px; background: color-mix(in srgb, var(--ex-s) 72%, transparent); border: 1px solid var(--ex-line); backdrop-filter: blur(6px); }
.ex-stats { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ex-stat { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 14px; border-radius: 16px; background: color-mix(in srgb, var(--ex-s) 78%, transparent); border: 1px solid var(--ex-line); }
.ex-stat > span:last-child { display: grid; line-height: 1.3; }
.ex-stat b { font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ex-stat b em { font-style: normal; font-size: 13px; color: var(--ex-mut); font-weight: 700; }
.ex-stat small { font-size: 12px; color: var(--ex-mut); font-weight: 600; }
.ex-stat-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ex-s2); }
.ex-stat-ic.is-flame { color: var(--ex-flame); } .ex-stat-ic.is-bolt { color: var(--ex-bolt); } .ex-stat-ic.is-check { color: var(--ex-ok); }

.ex-row2 { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; }
.ex-daily { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px; align-items: stretch; padding: 16px; transition: border-color .15s, transform .15s var(--ex-ease); }
.ex-daily:hover { border-color: color-mix(in srgb, var(--ex-vio) 60%, var(--ex-line)); transform: translateY(-2px); }
.ex-daily-art, .ex-excard-art, .ex-intro-art, .ex-nextcard-art { display: block; border-radius: 14px; background: color-mix(in srgb, var(--tone, var(--ex-vio)) 16%, var(--ex-s2)); border: 1px solid color-mix(in srgb, var(--tone, var(--ex-vio)) 22%, transparent); overflow: hidden; }
.ex-daily-art { min-height: 180px; padding: 12px; display: grid; place-items: center; }
.ex-daily-art .ex-thumb-svg { height: auto; max-height: 220px; }
.ex-daily-tx { display: grid; gap: 8px; align-content: center; padding-inline-end: 8px; }
.ex-daily-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.ex-continue { display: grid; gap: 10px; align-content: start; }

.ex-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ex-catcard { position: relative; display: grid; gap: 10px; align-content: start; grid-template-rows: auto auto 1fr auto auto; padding: 20px; border-radius: var(--ex-r); background: var(--ex-s); border: 1px solid var(--ex-line); box-shadow: var(--ex-sh); transition: border-color .15s, transform .15s var(--ex-ease); overflow: hidden; }
.ex-catcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--tone); opacity: .85; }
.ex-catcard:hover { border-color: color-mix(in srgb, var(--tone) 55%, var(--ex-line)); transform: translateY(-2px); }
.ex-catcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ex-catcard-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--tone, var(--ex-vio)); background: color-mix(in srgb, var(--tone, var(--ex-vio)) 15%, transparent); flex: none; }
.ex-catcard-ic.is-lg { width: 64px; height: 64px; border-radius: 18px; }
.ex-catcard-en { font-size: 12px; font-weight: 700; color: var(--ex-faint); letter-spacing: .01em; }
.ex-catcard-blurb { display: block; }
.ex-catcard-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ex-catcard-foot { display: grid; gap: 8px; margin-top: 4px; }
.ex-mastery { display: grid; gap: 6px; }
.ex-mastery-l { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--ex-mut); }
.ex-mastery-l b { color: var(--ex-ink); }
.ex-catcard .ex-bar > i { background: var(--tone); }

/* exercise cards */
.ex-excards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ex-excards.is-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ex-excard { display: grid; grid-template-rows: auto 1fr; border-radius: var(--ex-r); background: var(--ex-s); border: 1px solid var(--ex-line); box-shadow: var(--ex-sh); overflow: hidden; transition: border-color .15s, transform .15s var(--ex-ease), box-shadow .15s; }
.ex-excard:hover { border-color: color-mix(in srgb, var(--ex-vio) 55%, var(--ex-line)); transform: translateY(-2px); }
.ex-excard-art { position: relative; aspect-ratio: 240 / 132; border-radius: 0; border: 0; border-bottom: 1px solid var(--ex-line); padding: 6px 10px 0; }
.ex-excard.is-compact .ex-excard-art { aspect-ratio: 240 / 112; }
.ex-excard-type { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--ex-s); color: var(--ex-ink); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.ex-excard-done { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ex-ok); color: var(--ex-ok-on); }
.ex-excard-body { display: grid; gap: 6px; align-content: start; padding: 14px 16px 16px; }
.ex-excard-t { font-size: 16px; font-weight: 800; line-height: 1.5; }
.ex-excard-d { font-size: 13.5px; color: var(--ex-mut); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ex-excard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12.5px; font-weight: 700; color: var(--ex-mut); margin-top: 4px; }
.ex-excard-meta > span + span:not(.ex-excard-best)::before { content: "·"; margin-inline-end: 12px; color: var(--ex-faint); }
.ex-excard-best { color: var(--ex-ok); }
.ex-excard.is-done .ex-excard-art { filter: saturate(.85); }

/* badges */
.ex-badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.ex-badge { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 16px 10px 14px; border-radius: 18px; background: var(--ex-s); border: 1px solid var(--ex-line); }
.ex-badge b { font-size: 13.5px; font-weight: 800; line-height: 1.45; }
.ex-badge small { font-size: 12px; color: var(--ex-mut); line-height: 1.55; }
.ex-badge-art { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ex-t2); color: var(--ex-vio); }
.ex-badge.is-off { background: transparent; border-style: dashed; }
.ex-badge.is-off .ex-badge-art { background: var(--ex-s2); color: var(--ex-faint); }
.ex-badge.is-off b { color: var(--ex-mut); }
.ex-badge.is-new { animation: ex-pop .6s var(--ex-ease) both; border-color: var(--ex-vio); }
@keyframes ex-pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.04); opacity: 1; } 100% { transform: none; } }

/* states */
.ex-state { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 32px 22px; border-radius: var(--ex-r); border: 1px dashed var(--ex-line2); color: var(--ex-mut); }
.ex-state p { max-width: 46ch; }
.ex-state.is-error { border-style: solid; background: var(--ex-s); color: var(--ex-ink); padding: 44px 24px; }
.ex-state.is-error > .ex-ic { color: var(--ex-danger); }
.ex-state .ex-actions { justify-content: center; }
.ex-skel { border-radius: var(--ex-r); background: linear-gradient(90deg, var(--ex-s) 0%, var(--ex-s2) 50%, var(--ex-s) 100%); background-size: 200% 100%; animation: ex-shimmer 1.3s linear infinite; border: 1px solid var(--ex-line); }
.ex-skel--hero { height: 236px; border-radius: 26px; }
.ex-skel--card { height: 180px; }
.ex-skel--cat { height: 250px; }
@keyframes ex-shimmer { to { background-position: -200% 0; } }

/* ================= category view ================= */
.ex-crumbs a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--ex-mut) !important; }
.ex-crumbs a:hover { color: var(--ex-ink) !important; }
.ex-catview { gap: 30px; }
.ex-catview .ex-crumbs { margin-bottom: -18px; }
.ex-cathead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 30px; border-radius: 26px; border: 1px solid var(--ex-line); background: radial-gradient(110% 160% at 100% 0%, color-mix(in srgb, var(--tone) 22%, transparent) 0%, transparent 60%), var(--ex-s); }
.ex-cathead-tx { display: grid; gap: 6px; }
.ex-cathead-stat { display: grid; justify-items: center; gap: 6px; }
.ex-cathead .ex-ring .fg { stroke: var(--tone); }
.ex-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 16px; align-items: start; }
.ex-topic { display: grid; gap: 12px; min-width: 0; }
.ex-topic.is-wide { grid-column: 1 / -1; }
.ex-topic-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-height: 30px; }
.ex-topic-h .ex-en { margin: 0; }
.ex-topic .ex-excards { grid-template-columns: 1fr; }
.ex-topic.is-wide .ex-excards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ex-soon { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.ex-soon li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--ex-line); background: var(--ex-s); }
.ex-soon li > span:first-child { display: grid; line-height: 1.45; min-width: 0; }
.ex-soon b { font-size: 14.5px; font-weight: 700; }
.ex-soon small { font-size: 12px; color: var(--ex-faint); text-align: end; }

/* ================= gender chooser ================= */
.ex-addr { min-height: 50vh; place-items: center; }
.ex-addr-card { display: grid; gap: 12px; justify-items: center; text-align: center; max-width: 460px; padding: 32px 28px; }
.ex-addr-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-top: 8px; }
.ex-addr-opt { display: grid; gap: 2px; padding: 18px 12px; border-radius: 16px; border: 1.5px solid var(--ex-line2); background: var(--ex-s2); cursor: pointer; transition: border-color .15s, transform .12s; }
.ex-addr-opt b { font-size: 24px; font-weight: 900; line-height: 1.3; }
.ex-addr-opt small { font-size: 12.5px; color: var(--ex-mut); }
.ex-addr-opt:hover { border-color: var(--ex-vio); }
.ex-addr-opt:active { transform: scale(.98); }

/* ================= player ================= */
.ex-playview { gap: 0; }
.ex-player { display: grid; gap: 20px; max-width: 1400px; margin: 0 auto; width: 100%; padding-bottom: 8px; }
/* intro / principle / real-world / done stay a readable column; the task stage gets the full width */
.ex-stage > .ex-intro, .ex-stage > .ex-learn, .ex-stage > .ex-done, .ex-stage > .ex-state { max-width: 1040px; margin-inline: auto; width: 100%; }
/* focus mode: wide canvas, top bars scroll away, room for the bottom dock */
body.ex-focus .ex-wrap { max-width: 1480px; padding-top: 18px; padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
@media (min-width: 640px) { body.ex-focus .ex-wrap { padding-inline: 24px; } }
body.ex-focus #ex-topbar, body.ex-focus .ex-guestbar { position: relative !important; }

/* ---------- bottom dock: exit · stage progress · XP · primary action ---------- */
.ex-dock { position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; padding: 0 12px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
@media (min-width: 1024px) { html:not(.ex-guest) .ex-dock { left: 260px; } }
.ex-dock-in { pointer-events: auto; max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 12px; border-radius: 20px; background: color-mix(in srgb, var(--ex-s) 92%, transparent); border: 1px solid var(--ex-line2); box-shadow: 0 -8px 32px rgba(0,0,0,.28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
html.light .ex-dock-in { box-shadow: 0 -8px 30px rgba(46,16,101,.10); }
.ex-dock-mid { flex: 1 1 auto; min-width: 0; display: grid; gap: 7px; }
.ex-dock-meta { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.ex-hud-title { font-size: 13.5px; font-weight: 800; color: var(--ex-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ex-dock-stage { flex: none; font-size: 12.5px; font-weight: 700; color: var(--ex-mut); white-space: nowrap; }
.ex-dock-hint { flex: 0 1 auto; max-width: 26ch; font-size: 13px; color: var(--ex-mut); line-height: 1.5; }
.ex-dock-hint:empty { display: none; }
.ex-dock-act { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 0; cursor: pointer; background: var(--ex-vio); color: var(--ex-on); font: inherit; font-weight: 900; font-size: 15px; white-space: nowrap; transition: transform .15s var(--ex-ease), opacity .15s; }
.ex-dock-act[hidden] { display: none; }
.ex-dock-act:hover:not(:disabled) { transform: translateY(-1px); }
.ex-dock-act:disabled { opacity: .42; cursor: not-allowed; }
.ex-dock-act.is-ok { background: var(--ex-ok); color: var(--ex-ok-on); }
.ex-dock-act .ex-cta-ic { width: 30px; height: 30px; margin-inline-end: -10px; }
.ex-dock-act .ex-ic { flex: none; }
/* the mirrored source button stays in the DOM (clicks are forwarded to it) but is not shown */
#ex .ex-docked-src { display: none !important; }
#ex .ex-actions:not(:has(> :not(.ex-docked-src))), #ex .cmp-submit:has(.ex-docked-src), #ex .sp-p-act:not(:has(> :not(.ex-docked-src))), #ex .scn-end:not(:has(> :not(.ex-docked-src))) { display: none; }
.ex-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.ex-steps li { height: 5px; border-radius: 9px; background: var(--ex-s3); transition: background .3s; }
.ex-steps li.is-done { background: color-mix(in srgb, var(--ex-vio) 70%, var(--ex-s3)); }
.ex-steps li.is-cur { background: var(--ex-vio); box-shadow: 0 0 0 2px var(--ex-t2); }
.ex-xpchip { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--ex-s2); color: var(--ex-bolt); font-weight: 900; font-size: 14px; }
.ex-xpchip b { color: var(--ex-ink); font-variant-numeric: tabular-nums; }
.ex-xpchip small { font-size: 11px; color: var(--ex-mut); font-weight: 800; }
/* the feedback sheet sits above the dock */
html.ex-docked .ex-sheet { z-index: 200; }
@media (max-width: 900px) { .ex-dock-hint { display: none; } }
@media (max-width: 680px) {
  .ex-dock { padding: 0; }
  .ex-dock-in { border-radius: 18px 18px 0 0; border-bottom: 0; gap: 8px; min-height: 60px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .ex-hud-title { display: none; }
  .ex-xpchip { height: 32px; padding: 0 9px; }
  .ex-xpchip small { display: none; }
  .ex-dock-act { min-height: 44px; padding: 0 14px; font-size: 14px; max-width: 58vw; overflow: hidden; text-overflow: ellipsis; }
  .ex-dock-act .ex-cta-ic { display: none; }
  body.ex-focus .ex-wrap { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}
.ex-stage { min-width: 0; }

/* stage 1 */
.ex-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; padding: 28px; border-radius: 26px; background: var(--ex-s); border: 1px solid var(--ex-line); box-shadow: var(--ex-sh); animation: ex-in .35s var(--ex-ease) both; }
.ex-intro-art { aspect-ratio: 240 / 160; padding: 14px; border-radius: 20px; }
.ex-intro-tx { display: grid; gap: 14px; align-content: start; }
.ex-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ex-meta li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--ex-body); }
.ex-meta .ex-ic { color: var(--ex-vio); }
.ex-objs { display: grid; gap: 8px; padding: 16px 18px; border-radius: 16px; background: var(--ex-s2); }
.ex-objs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ex-objs li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ex-body); line-height: 1.7; }
.ex-objs li .ex-ic { color: var(--ex-ok); margin-top: 4px; }

/* stages 2–4: task host */
.ex-task { display: grid; gap: 20px; min-width: 0; animation: ex-in .3s var(--ex-ease) both; }
.ex-stub { display: grid; gap: 12px; justify-items: start; padding: 32px; border-style: dashed; }
.ex-hint { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 16px; border-radius: 14px; background: var(--ex-closebg); color: var(--ex-close); font-weight: 700; font-size: 14.5px; }
.ex-hint p { color: var(--ex-ink); font-weight: 600; }

/* feedback sheet (bottom sheet on mobile, docked dialog on desktop) */
.ex-sheet { position: fixed; inset-inline: 0; bottom: 0; z-index: 200; display: flex; justify-content: center; padding: 0 12px 12px; pointer-events: none; }
.ex-sheet-in { pointer-events: auto; width: min(760px, 100%); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: start; padding: 20px 22px; border-radius: 22px; background: var(--ex-s); border: 1px solid var(--ex-line2); box-shadow: var(--ex-sh2); transform: translateY(110%); opacity: 0; transition: transform .32s var(--ex-ease), opacity .2s; border-top: 4px solid var(--ex-vio); }
.ex-sheet.is-on .ex-sheet-in { transform: none; opacity: 1; }
.ex-sheet.is-ok .ex-sheet-in { border-top-color: var(--ex-ok); }
.ex-sheet.is-close .ex-sheet-in { border-top-color: var(--ex-close); }
.ex-sheet-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.ex-sheet.is-ok .ex-sheet-ic { background: var(--ex-okbg); color: var(--ex-ok); }
.ex-sheet.is-close .ex-sheet-ic { background: var(--ex-closebg); color: var(--ex-close); }
.ex-sheet-tx { display: grid; gap: 4px; min-width: 0; }
.ex-sheet-tx h3 { font-size: 20px; font-weight: 900; line-height: 1.4; }
.ex-sheet.is-ok h3 { color: var(--ex-ok); }
.ex-sheet.is-close h3 { color: var(--ex-close); }
.ex-sheet-body { font-size: 15px; color: var(--ex-body); line-height: 1.85; max-height: 40vh; overflow: auto; }
.ex-sheet-body.is-scrollable { -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); padding-bottom: 18px; }
.ex-sheet-body.is-scrollable.is-end { -webkit-mask-image: none; mask-image: none; }
.ex-sheet-body p + p, .ex-sheet-body ul { margin-top: 6px; }
.ex-sheet-acts { grid-column: 1 / -1; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.ex-sheet-acts .ex-btn { min-height: 48px; padding: 0 22px; border-radius: 14px; }

/* stages 5–6: learn */
.ex-learn { display: grid; gap: 16px; padding: 32px; border-radius: 26px; background: var(--ex-s); border: 1px solid var(--ex-line); box-shadow: var(--ex-sh); animation: ex-in .35s var(--ex-ease) both; }
.ex-learn-visual { border-radius: 18px; overflow: hidden; background: var(--pp-canvas); padding: 18px; color: var(--pp-ink); }
.ex-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ex-points li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: 16px; background: var(--ex-s2); }
.ex-points p { font-size: 15px; color: var(--ex-body); line-height: 1.8; }
.ex-points-n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; background: var(--ex-t2); color: var(--ex-vio); }
html:not(.light) .ex-points-n { color: var(--ex-vio2); } /* #A78BFA on 24% tint was ~4.1:1; #C4B5FD clears 4.5 */
.ex-real { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ex-real-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px; border-radius: 18px; border: 1px solid var(--ex-line); background: var(--ex-s2); }
.ex-real-item h3 { font-size: 15.5px; font-weight: 800; line-height: 1.5; }
.ex-real-item p { font-size: 14px; color: var(--ex-mut); line-height: 1.75; }
.ex-real-mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 18px; background: var(--pp-bg); color: var(--pp-ink); border: 1px solid var(--pp-line); }

/* stage 7: done */
.ex-done { display: grid; gap: 18px; animation: ex-in .35s var(--ex-ease) both; }
.ex-done-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: 30px; border-radius: 26px; background: var(--ex-hero); border: 1px solid var(--ex-line); }
.ex-done-tx { display: grid; gap: 10px; }
.ex-xpburst { position: relative; display: inline-flex; align-items: baseline; gap: 6px; justify-self: start; padding: 8px 18px; border-radius: 999px; background: color-mix(in srgb, var(--ex-bolt) 16%, transparent); color: var(--ex-bolt); }
.ex-xpburst b { font-size: 30px; font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ex-xpburst small { font-size: 14px; font-weight: 900; }
.ex-xpburst i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: currentColor; top: 50%; inset-inline-start: 50%; opacity: 0; }
.ex-xpburst.is-on i { animation: ex-burst .9s var(--ex-ease) .15s both; }
.ex-xpburst.is-on i:nth-of-type(1) { --dx: -54px; --dy: -26px; } .ex-xpburst.is-on i:nth-of-type(2) { --dx: 50px; --dy: -30px; }
.ex-xpburst.is-on i:nth-of-type(3) { --dx: -62px; --dy: 18px; } .ex-xpburst.is-on i:nth-of-type(4) { --dx: 58px; --dy: 22px; }
.ex-xpburst.is-on i:nth-of-type(5) { --dx: -6px; --dy: -40px; background: var(--ex-vio); } .ex-xpburst.is-on i:nth-of-type(6) { --dx: 8px; --dy: 38px; background: var(--ex-ok); }
@keyframes ex-burst { 0% { opacity: 1; transform: translate(0, 0) scale(.4); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1); } }
.ex-levelup { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: var(--ex-t); border: 1px solid var(--ex-t2); color: var(--ex-vio); animation: ex-pop .6s var(--ex-ease) both; }
.ex-levelup div { display: grid; }
.ex-levelup b { color: var(--ex-ink); font-size: 16px; }
.ex-levelup span { color: var(--ex-mut); font-size: 13.5px; }
.ex-lvcard { display: grid; gap: 12px; }
.ex-lvrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ex-newbadges { display: grid; gap: 10px; }
.ex-nextcard { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 18px; align-items: center; width: 100%; text-align: start; padding: 14px; border-radius: 22px; background: var(--ex-s); border: 1px solid var(--ex-line); cursor: pointer; transition: border-color .15s, transform .15s var(--ex-ease); }
.ex-nextcard:hover { border-color: var(--ex-vio); transform: translateY(-2px); }
.ex-nextcard-art { aspect-ratio: 240 / 140; padding: 6px; }
.ex-nextcard-tx { display: grid; gap: 4px; }
.ex-nextcard-tx small { font-size: 12.5px; font-weight: 800; color: var(--ex-vio); }
.ex-nextcard-tx b { font-size: 17px; font-weight: 800; line-height: 1.5; }
.ex-nextcard-go { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ex-vio); color: var(--ex-on); margin-inline-end: 6px; }

/* ================= responsive ================= */
@media (max-width: 1100px) { .ex-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .ex-row2 { grid-template-columns: 1fr; }
  .ex-intro { grid-template-columns: 1fr; gap: 22px; }
  .ex-intro-art { max-width: 420px; }
}
@media (max-width: 680px) {
  .ex-view { gap: 22px; }
  .ex-hero { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; border-radius: 22px; }
  .ex-hero-level { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; padding: 14px 16px; }
  .ex-hero-level .ex-ring { --size: 104px; }
  .ex-stats { gap: 8px; }
  .ex-stat { padding: 8px 12px 8px 10px; }
  .ex-daily { grid-template-columns: 1fr; gap: 14px; }
  .ex-daily-art { min-height: 0; aspect-ratio: 240 / 120; }
  .ex-badges.is-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 136px; overflow-x: auto; padding-bottom: 6px; margin-inline: -20px; padding-inline: 20px; scroll-snap-type: x mandatory; }
  .ex-badges.is-strip .ex-badge { scroll-snap-align: start; }
  .ex-cats { grid-template-columns: 1fr; }
  .ex-cathead { grid-template-columns: 1fr; padding: 22px 20px; gap: 14px; }
  .ex-cathead-stat { grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 14px; }
  .ex-card, .ex-learn, .ex-intro { padding: 20px 18px; border-radius: 20px; }
  .ex-done-top { grid-template-columns: 1fr; padding: 22px 18px; justify-items: start; gap: 16px; }
  .ex-ring--lg { --size: 112px; } .ex-ring--lg svg { width: 112px; height: 112px; } .ex-ring--lg > span b { font-size: 24px; }
  .ex-nextcard { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; padding: 10px; }
  .ex-nextcard-go { width: 40px; height: 40px; }
  .ex-sheet { padding: 0; }
  .ex-sheet-in { border-radius: 22px 22px 0 0; padding: 18px 18px calc(16px + env(safe-area-inset-bottom)); }
  .ex-sheet-acts .ex-btn { flex: 1 1 auto; }
  .ex-cta { width: 100%; justify-content: space-between; }
  .ex-sheet-body { max-height: 52vh; }
}

/* the site-wide back-to-top button (ux.js) overlaps inline-end player controls on phones */
body.ex-focus .to-top { display: none; }
/* one skip link only: the page has its own .ex-skip, hide the ux.js duplicate */
body.ex-on .skip-link { display: none; }

/* ================= motion ================= */
@media (prefers-reduced-motion: reduce) {
  #ex *, #ex *::before, #ex *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ex-xpburst i { display: none; }
}

/* =====================================================================
   PAPER — mock product UI (ui.js primitives). Light in BOTH themes.
   ===================================================================== */
.ex-paper { color: var(--pp-ink); font-family: var(--pp-font); line-height: 1.5; color-scheme: light; }
.exm-paper { background: var(--pp-bg); border: 1px solid var(--pp-line); border-radius: 16px; }
.ex-paper *, .ex-paper *::before { box-sizing: border-box; }

/* phone */
.exm-phone { --w: 300px; margin: 0; width: min(var(--w), 100%); aspect-ratio: 9 / 19.2; height: var(--h, auto); padding: 9px; border-radius: 46px; background: var(--pp-bezel); box-shadow: 0 0 0 1.5px #2A2A31 inset, 0 30px 60px rgba(0,0,0,.28), 0 6px 16px rgba(0,0,0,.18); position: relative; flex: none; }
.exm-phone.is-android { border-radius: 34px; padding: 7px; }
.exm-screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: var(--pp-canvas); display: flex; flex-direction: column; }
.exm-phone.is-android .exm-screen { border-radius: 28px; }
.exm-body { flex: 1 1 auto; min-height: 0; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.exm-home { position: absolute; bottom: 7px; left: 50%; width: 36%; height: 5px; border-radius: 9px; background: #111114; transform: translateX(-50%); opacity: .9; z-index: 5; }

/* status bar */
.exm-status { position: relative; flex: none; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 30px; font-size: 14px; font-weight: 700; color: var(--pp-ink); font-family: -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif; }
.exm-status svg { fill: currentColor; display: block; }
.exm-status .exm-sys { display: flex; gap: 5px; align-items: center; }
.exm-island { position: absolute; top: 9px; left: 50%; width: 30%; height: 24px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.exm-status.is-android { height: 30px; padding: 4px 18px 0; font-size: 12.5px; }
.exm-cam { position: absolute; top: 8px; left: 50%; width: 11px; height: 11px; border-radius: 50%; background: #000; transform: translateX(-50%); }
.exm-status.is-dark { color: #fff; }

/* app bar */
.exm-appbar { flex: none; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; height: 44px; padding: 0 8px; background: transparent; }
.exm-appbar-title { text-align: center; font-weight: 800; font-size: 16px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: grid; }
.exm-appbar-title small { font-size: 11px; font-weight: 600; color: var(--pp-mut); }
.exm-appbar-side { display: flex; align-items: center; }
.exm-appbar-side.is-end { justify-content: flex-end; }
.exm-back { color: var(--pp-brand); display: inline-flex; }
.exm-appbar-act { color: var(--pp-brand); font-size: 15px; font-weight: 600; }
.exm-appbar.is-large { grid-template-columns: 1fr; height: auto; padding: 6px 16px 8px; }
.exm-appbar.is-large .exm-appbar-side:first-child:empty, .exm-appbar.is-large .exm-appbar-side.is-end:empty { display: none; }
.exm-appbar.is-large .exm-appbar-title { text-align: start; font-size: 28px; font-weight: 900; }

/* browser */
.exm-browser { margin: 0; width: min(var(--w, 100%), 100%); height: var(--h, auto); border-radius: 12px; overflow: hidden; background: var(--pp-bg); border: 1px solid var(--pp-line2); box-shadow: 0 24px 50px rgba(0,0,0,.22), 0 4px 12px rgba(0,0,0,.12); display: flex; flex-direction: column; }
.exm-chrome { flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 38px; padding: 0 12px; background: #E9E9EE; border-bottom: 1px solid var(--pp-line2); font-family: -apple-system, "Segoe UI", Roboto, sans-serif; }
.exm-dots { display: flex; gap: 6px; }
.exm-dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.exm-dots i:nth-child(2) { background: #FEBC2E; } .exm-dots i:nth-child(3) { background: #28C840; }
.exm-url { display: flex; align-items: center; justify-content: center; gap: 6px; height: 24px; border-radius: 7px; background: #fff; color: var(--pp-mut); font-size: 12px; max-width: 420px; width: 100%; justify-self: center; overflow: hidden; white-space: nowrap; }
.exm-tab { font-size: 11.5px; color: var(--pp-mut); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exm-page { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: var(--pp-bg); }

/* buttons */
.exm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; border: 1px solid transparent; user-select: none; }
.exm-btn.is-xs { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.exm-btn.is-sm { height: 34px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.exm-btn.is-lg { height: 52px; padding: 0 22px; font-size: 16.5px; border-radius: 14px; }
.exm-btn.is-block { display: flex; width: 100%; }
.exm-btn.is-pill { border-radius: 999px; }
.exm-btn.is-primary { background: var(--pp-brand); color: var(--pp-brand-ink); }
.exm-btn.is-secondary { background: var(--pp-bg); color: var(--pp-ink); border-color: var(--pp-line2); }
.exm-btn.is-tonal { background: var(--pp-brand-soft); color: var(--pp-brand); }
.exm-btn.is-ghost { background: transparent; color: var(--pp-brand); }
.exm-btn.is-danger { background: var(--pp-danger); color: #fff; }
.exm-btn.is-link { background: none; color: var(--pp-brand); padding: 0; height: auto; text-decoration: underline; text-underline-offset: 3px; }

/* fields */
.exm-field { display: grid; gap: 6px; }
.exm-label { font-size: 13px; font-weight: 700; color: var(--pp-body); }
.exm-label b { color: var(--pp-danger); margin-inline-start: 2px; }
.exm-input { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 10px; background: var(--pp-bg); border: 1px solid var(--pp-line2); font-size: 15px; color: var(--pp-mut); }
.exm-val { color: var(--pp-ink); }
.exm-ph { color: var(--pp-faint); }
.exm-field.has-error .exm-input { border-color: var(--pp-danger); box-shadow: 0 0 0 3px var(--pp-danger-soft); }
.exm-err { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--pp-danger); font-weight: 600; }
.exm-hint { font-size: 12.5px; color: var(--pp-mut); }

/* card / list */
.exm-card { background: var(--pp-bg); border-radius: 14px; border: 1px solid var(--pp-line); box-shadow: 0 1px 2px rgba(16,24,40,.05); display: grid; gap: 8px; }
.exm-card.is-flat { box-shadow: none; }
.exm-card-t { font-weight: 800; font-size: 15px; }
.exm-card-s { font-size: 12.5px; color: var(--pp-mut); margin-top: -4px; }
.exm-list-h { padding: 14px 18px 6px; font-size: 12.5px; color: var(--pp-mut); font-weight: 600; }
.exm-list { background: var(--pp-bg); }
.exm-list.is-inset { margin: 0 14px; border-radius: 12px; overflow: hidden; }
.exm-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; background: var(--pp-bg); position: relative; }
.exm-row + .exm-row::before { content: ""; position: absolute; top: 0; inset-inline-start: 14px; inset-inline-end: 0; height: 1px; background: var(--pp-line); }
.exm-row-lead { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--pp-brand-soft); color: var(--pp-brand); flex: none; }
.exm-row-tx { flex: 1 1 auto; min-width: 0; display: grid; }
.exm-row-t { font-size: 15px; color: var(--pp-ink); }
.exm-row-s { font-size: 12.5px; color: var(--pp-mut); }
.exm-row-trail { font-size: 14px; color: var(--pp-mut); }
.exm-row-chev { color: var(--pp-faint); display: inline-flex; }
.exm-row.is-danger .exm-row-t { color: var(--pp-danger); }

/* price / avatar / chips */
.exm-price { display: inline-flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.exm-price b { font-size: 18px; font-weight: 900; color: var(--pp-ink); font-variant-numeric: tabular-nums; }
.exm-price.is-lg b { font-size: 28px; } .exm-price.is-sm b { font-size: 14px; }
.exm-cur { font-size: 12px; font-weight: 700; color: var(--pp-mut); }
.exm-per { font-size: 12px; color: var(--pp-mut); }
.exm-price s { font-size: 12.5px; color: var(--pp-mut); margin-inline-start: 4px; }
.exm-avatar { width: var(--s); height: var(--s); border-radius: 50%; display: inline-grid; place-items: center; background: var(--c); color: #fff; font-weight: 800; font-size: calc(var(--s) * .38); flex: none; }
.exm-chip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--pp-line2); background: var(--pp-bg); font-size: 13px; color: var(--pp-body); white-space: nowrap; }
.exm-chip.is-active { background: var(--pp-ink); color: #fff; border-color: var(--pp-ink); }
.exm-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 800; }
.exm-badge.is-brand { background: var(--pp-brand-soft); color: var(--pp-brand); }
.exm-badge.is-ok { background: var(--pp-ok-soft); color: var(--pp-ok); }
.exm-badge.is-warn { background: var(--pp-warn-soft); color: var(--pp-warn); }
.exm-badge.is-danger { background: var(--pp-danger-soft); color: var(--pp-danger); }
.exm-badge.is-neutral { background: var(--pp-fill2); color: var(--pp-body); }

/* tab bar / search / segmented / controls */
.exm-tabbar { flex: none; display: flex; justify-content: space-around; padding: 6px 6px 22px; background: rgba(250,250,252,.96); border-top: 1px solid var(--pp-line); }
.exm-tabbar span { display: grid; justify-items: center; gap: 2px; color: var(--pp-mut); min-width: 52px; }
.exm-tabbar small { font-size: 10.5px; font-weight: 600; }
.exm-tabbar span.is-active { color: var(--pp-brand); }
.exm-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 11px; background: var(--pp-fill2); color: var(--pp-mut); font-size: 15px; }
.exm-seg { display: flex; padding: 2px; border-radius: 9px; background: var(--pp-fill2); }
.exm-seg span { flex: 1; text-align: center; padding: 6px 8px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--pp-body); }
.exm-seg span.is-active { background: var(--pp-bg); box-shadow: 0 1px 3px rgba(0,0,0,.12); color: var(--pp-ink); }
.exm-toggle { width: 46px; height: 28px; border-radius: 99px; background: var(--pp-line2); position: relative; display: inline-block; flex: none; }
.exm-toggle i { position: absolute; top: 2px; inset-inline-end: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.exm-toggle.is-on { background: #34C759; }
.exm-toggle.is-on i { inset-inline-end: auto; inset-inline-start: 2px; }
.exm-check, .exm-radio { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--pp-body); }
.exm-check i { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--pp-line2); display: grid; place-items: center; color: #fff; }
.exm-check.is-on i { background: var(--pp-brand); border-color: var(--pp-brand); }
.exm-radio i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--pp-line2); }
.exm-radio.is-on i { border: 6px solid var(--pp-brand); }
.exm-div { border: 0; height: 1px; background: var(--pp-line); margin: 4px 0; }

/* media / text / layout */
.exm-img { display: grid; place-items: center; color: rgba(255,255,255,.85); background: linear-gradient(135deg, #8FB3FF, #2F5BEA); }
.exm-img.is-sand { background: linear-gradient(135deg, #F6D9A8, #D8A25E); }
.exm-img.is-green { background: linear-gradient(135deg, #9EE6C1, #1F9D6B); }
.exm-img.is-rose { background: linear-gradient(135deg, #F9B8CF, #D6457A); }
.exm-img.is-gray { background: linear-gradient(135deg, #E4E4EA, #B9B9C4); color: rgba(17,17,20,.35); }
.exm-stars { display: inline-flex; align-items: center; gap: 1px; color: #D0D0D9; font-size: 12px; }
.exm-stars i { display: inline-flex; } .exm-stars i.on { color: #F5A524; }
.exm-stars b { margin-inline-start: 5px; color: var(--pp-ink); font-weight: 800; }
.exm-stars small { color: var(--pp-mut); margin-inline-start: 3px; }
.exm-text { margin: 0; line-height: 1.55; }
.exm-text.c-ink { color: var(--pp-ink); } .exm-text.c-body { color: var(--pp-body); } .exm-text.c-mut { color: var(--pp-mut); }
.exm-text.c-brand { color: var(--pp-brand); } .exm-text.c-danger { color: var(--pp-danger); } .exm-text.c-ok { color: var(--pp-ok); }
.exm-stack { display: flex; min-width: 0; }
.exm-lines { display: grid; gap: 7px; }
.exm-lines i { display: block; height: 8px; border-radius: 4px; background: var(--pp-fill2); }
.exm-progress { display: grid; gap: 5px; font-size: 12px; color: var(--pp-mut); }
.exm-progress i { display: block; height: 6px; border-radius: 4px; background: var(--pp-fill2); overflow: hidden; }
.exm-progress b { display: block; height: 100%; background: var(--pp-brand); border-radius: inherit; }

/* overlays inside a screen */
.exm-sheet-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.32); z-index: 6; }
.exm-sheet { position: absolute; inset-inline: 0; bottom: 0; z-index: 7; background: var(--pp-bg); border-radius: 18px 18px 0 0; padding: 8px 16px 28px; display: grid; gap: 10px; }
.exm-grab { justify-self: center; width: 38px; height: 5px; border-radius: 9px; background: var(--pp-line2); }
.exm-sheet-t { font-weight: 800; font-size: 16px; text-align: center; }
.exm-dialog { position: absolute; z-index: 7; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 78%; background: rgba(250,250,252,.98); border-radius: 16px; text-align: center; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.exm-dialog-t { font-weight: 800; font-size: 16px; padding: 18px 16px 4px; }
.exm-dialog-b { font-size: 13.5px; color: var(--pp-body); padding: 0 16px 16px; line-height: 1.6; }
.exm-dialog-a { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid var(--pp-line); }
.exm-dialog-a > * { border-radius: 0 !important; height: 46px !important; }
.exm-dialog-a > * + * { border-inline-start: 1px solid var(--pp-line) !important; }
.exm-toast { position: absolute; z-index: 8; inset-inline: 12px; bottom: 30px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.exm-toast.is-dark { background: #1F1F24; color: #fff; }
.exm-toast.is-dark b { color: #9DB5FF; }
.exm-toast.is-light { background: #fff; color: var(--pp-ink); box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.exm-toast.is-light b { color: var(--pp-brand); }

/* annotation pins (parent: .exm-annot-host) */
.exm-annot-host { position: relative; }
.exm-pin { position: absolute; z-index: 9; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; color: #fff; background: var(--pp-brand); box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(0,0,0,.25); }
[dir="rtl"] .exm-pin { transform: translate(50%, -50%); }
.exm-pin.is-ok { background: var(--pp-ok); } .exm-pin.is-danger { background: var(--pp-danger); }
/* scrollIntoView / focus never parks content under the bottom dock */
html.ex-docked { scroll-padding-bottom: 104px; scroll-padding-top: 12px; }

/* ============================================================
   Landing side column (2026-11-25, owner: add «السلسلة الأسبوعية» + «الرسم البياني للمهارات»).
   Desktop ≥1100px: the approved landing stays as-is in the main column, widgets in a 320px side column.
   Below 1100px: stacked, right after the hero. Plus the category test link/card.
   ============================================================ */
.ex-dash-grid { display: grid; gap: 28px; }
.ex-dash-side { display: grid; gap: 16px; align-content: start; min-width: 0; }
@media (max-width: 1099px) {
  .ex-dash-main { display: contents; }
  .ex-dash-main > * { order: 2; }
  .ex-dash-main > .ex-hero { order: 0; }
  .ex-dash-side { order: 1; }
}
@media (min-width: 720px) and (max-width: 1099px) { .ex-dash-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
@media (min-width: 1100px) {
  body.ex-dashpage .ex-wrap { max-width: 1520px; }
  .ex-dash-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
  .ex-dash-main { display: grid; gap: 28px; min-width: 0; container-type: inline-size; container-name: exmain; }
  .ex-dash-side { position: sticky; top: 104px; }
  @container exmain (max-width: 960px) { .ex-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
}

.ex-wid { padding: 20px; display: grid; gap: 12px; align-content: start; }
.ex-wid-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ex-wid-t { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.5; }
.ex-wid-p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ex-body); }
.ex-wid-p.is-c { text-align: center; color: var(--ex-mut); }
.ex-wid-foot { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 12.5px; color: var(--ex-mut); }
.ex-wid-foot span { display: inline-flex; align-items: center; gap: 5px; }
.ex-wid-foot b { color: var(--ex-ink); }
.ex-wid-note { margin: 0; padding-top: 10px; border-top: 1px solid var(--ex-line); font-size: 12px; line-height: 1.7; color: var(--ex-faint); }
.ex-streak-n { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; border-radius: 99px; background: var(--ex-s2); color: var(--ex-faint); }
.ex-streak-n b { font-size: 17px; font-weight: 900; color: var(--ex-ink); }
.ex-streak-n.is-on { background: color-mix(in srgb, var(--ex-flame) 16%, transparent); color: var(--ex-flame); }

/* week strip Sun→Sat (also on the lesson's streak screen) */
#ex .ex-week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; width: 100%; }
#ex .ex-wd { display: grid; justify-items: center; gap: 5px; }
#ex .ex-wd-dot {
  width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; box-sizing: border-box;
  border: 2px solid var(--ex-line2); background: transparent; color: var(--ex-ok-on);
}
#ex .ex-wd-l { font-size: 12.5px; font-weight: 700; color: var(--ex-faint); line-height: 1; }
#ex .ex-wd.is-rest .ex-wd-dot { border-style: dashed; border-color: var(--ex-line2); background: repeating-linear-gradient(-45deg, transparent 0 4px, var(--ex-s2) 4px 7px); }
#ex .ex-wd.is-future:not(.is-rest) .ex-wd-dot { opacity: .6; }
#ex .ex-wd.is-done .ex-wd-dot { background: var(--ex-ok); border: 2px solid var(--ex-ok); border-style: solid; color: var(--ex-ok-on); }
#ex .ex-wd.is-saver .ex-wd-dot { border-style: solid; border-color: var(--ex-vio); color: var(--ex-vio); background: var(--ex-t); }
#ex .ex-wd.is-today .ex-wd-dot { box-shadow: 0 0 0 3px var(--ex-bg), 0 0 0 5px var(--ex-vio); }
#ex .ex-wd.is-today .ex-wd-l { color: var(--ex-vio); font-weight: 900; }
#ex .ex-week.is-lg { max-width: 420px; gap: 8px; }
#ex .ex-week.is-lg .ex-wd-dot { width: 42px; height: 42px; }
#ex .ex-week.is-lg .ex-wd-l { font-size: 14px; }

/* skill graph: semicircle gauge + per-category bars */
.ex-gauge { position: relative; width: 100%; max-width: 230px; margin: 2px auto 0; }
.ex-gauge-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ex-gauge-svg path { fill: none; stroke-width: 14; stroke-linecap: round; }
.ex-gauge-svg .tr { stroke: var(--ex-s3); }
.ex-gauge-svg .fg { stroke: var(--ex-vio); transition: stroke-dasharray 1s var(--ex-ease); }
.ex-gauge-v { position: absolute; inset: auto 0 0; display: grid; justify-items: center; line-height: 1.1; }
.ex-gauge-v b { font-size: 38px; font-weight: 900; color: var(--ex-ink); }
.ex-gauge-v small { font-size: 12px; color: var(--ex-faint); font-weight: 700; }
.ex-skillw.is-empty .ex-gauge-v b { color: var(--ex-faint); }
.ex-gauge-rel { margin: 0; display: flex; align-items: baseline; justify-content: center; gap: 6px; font-size: 13px; color: var(--ex-mut); }
.ex-gauge-rel b { font-size: 15px; color: var(--ex-ink); }
.ex-gauge-rel small { font-size: 12px; color: var(--ex-faint); }
.ex-gauge-rel small::before { content: "·"; margin-inline-end: 6px; }
.ex-skills { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.ex-skills li { display: grid; gap: 5px; }
.ex-skills-l { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ex-body); }
.ex-skills-l b { font-size: 13px; color: var(--ex-ink); white-space: nowrap; }
.ex-skills .ex-bar > i { background: var(--tone); }
.ex-skills small { font-size: 11.5px; color: var(--ex-faint); }
.ex-skills li.is-soon .ex-skills-l, .ex-skills li.is-soon .ex-skills-l b { color: var(--ex-faint); }

/* category test: small link under the landing card + card on the category page */
.ex-catw { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ex-catw > .ex-catcard { flex: 1; }
.ex-cattest { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 99px; font-size: 13px; font-weight: 800; color: var(--ex-vio); background: var(--ex-t); text-decoration: none; }
a.ex-cattest:hover { background: var(--ex-t2); }
a.ex-cattest:focus-visible { outline: 2px solid var(--ex-vio); outline-offset: 2px; }
.ex-cattest.is-locked { background: transparent; color: var(--ex-faint); font-weight: 700; padding-inline: 4px; }
.ex-cattest-ok { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 99px; background: var(--ex-ok); color: var(--ex-ok-on); }
.ex-testcard { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ex-testcard-ic { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--ex-t); color: var(--ex-vio); }
.ex-testcard.is-locked .ex-testcard-ic { background: var(--ex-s2); color: var(--ex-faint); }
.ex-testcard-tx { flex: 1; min-width: 220px; display: grid; gap: 3px; }
.ex-testcard-tx .ex-h3, .ex-testcard-tx p { margin: 0; }
.ex-testcard-rec { display: inline-flex; align-items: center; gap: 6px; color: var(--ex-body); }
.ex-testcard-rec svg { color: var(--ex-ok); }
@media (prefers-reduced-motion: reduce) { .ex-gauge-svg .fg { transition: none; } }

/* 2026-11-27: quiet «أنتَ / أنتِ» switch in the landing footer (replaces the pre-lesson gate) */
.ex-linkbtn { appearance: none; border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--ex-vio); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ex-linkbtn:focus-visible { outline: 2px solid var(--ex-vio); outline-offset: 3px; border-radius: 4px; }
.ex-addr-foot { margin-top: -6px; }
