/* =====================================================================
   assets/site-ui.css — THE "CLASSIC" LOOK (6 Nov 2026)
   =====================================================================
   WHAT THIS FILE IS
   The design Sharifjon approved on 6 Nov 2026 (the dashboard look on every
   page). It is used only when site_look() === 'classic' (includes/look.php).
   The "Cosmic" look (today's design) never loads this file.

   PART 1  THE CHROME — the top menu, the phone bottom bar, the phone menu
           sheet, the footer, the "Choose your look" pop-up and card.
           Every class starts with "lk-" (look). Written by hand.
   PART 2  PAGE PARTS — cards, heroes, rings, test cards, chips … copied
           from the approved preview (built from assets/student-ui.css).
           They only work inside an element with class "lk-ui"
           (a Classic page puts it on <body class="lk-ui">).

   WHERE TO CHANGE COLOURS
   The colours are variables on .lk-ui (day) and html.dark .lk-ui (night),
   the same values as assets/student-ui.css. Skills keep their colour:
     Listening = cyan (--l)  Reading = violet (--r)
     Writing   = pink (--w)  Speaking = amber (--s)   Gold = big numbers.
   THE LOGO colours are --lg-* (planet, ring, star …).

   NIGHT / DAY: <html> gets class "dark" — the student's saved choice
   (sun / moon button), else the phone's or computer's own setting.

   MOTION: only transform and opacity move. "Reduce motion" on the phone
   = no motion at all (see the end of the file).
   After editing: nothing to bump — the address gets ?v=<file time> itself.
   ===================================================================== */

/* ── 1. COLOURS — DAY ───────────────────────────────────────────────── */
/* 6 Nov 2026 (round 2): ".lk-day" keeps day colours at night too (the "Choose your look" pop-up shows day first). */
.lk-ui, html.dark .lk-ui.lk-day {
  --bg: #f4f3fb; --card: #ffffff; --glass: rgba(255,255,255,.95); --glass-solid: #ffffff;   /* round 2: no blur behind the bars any more (speed), so the glass is almost solid */
  --line: #e4e2f0; --line2: #edecf5;
  --ink: #12102e; --body: #45436a; --mute: #6f6d8f;
  --brand: #6d4ee0; --brand-dk: #5b3ed0; --brand-ink: #4c2fb8; --brand-soft: #ece7fd;
  --hero: #12102e; --hero-ink: #b9b6d8;
  --gold: #ffc947; --gold-fill: #f0b429; --gold-ink: #1a1400; --gold-soft: #fff3d1; --gold-txt: #8a5b00;
  --l: #0ea5d9; --l-soft: #e0f6ff; --l-ink: #006f94;
  --r: #7c5ce6; --r-soft: #ede8ff; --r-ink: #5235b8;
  --w: #db2777; --w-soft: #ffe4f1; --w-ink: #a3155a;
  --s: #d97706; --s-soft: #fff1dc; --s-ink: #8a4b00;
  --m: #12102e; --m-soft: #e6e4f3; --m-ink: #12102e;
  --ok: #0f9d6e; --ok-soft: #e0f7ee; --bad: #d12d4a; --bad-soft: #ffe3e8; --warn: #e3a700;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(18,16,46,.05), 0 8px 24px -18px rgba(18,16,46,.25);
  --shadow-up: 0 16px 36px -14px rgba(18,16,46,.28);
  --num-font: Anton, Impact, "Arial Narrow Bold", sans-serif;
  --lab-font: Orbitron, "Segoe UI", Inter, sans-serif;
  --sub: var(--bg); --hero-bg: var(--card); --btn-ink: #fff; --ring-track: var(--line2);
  --gold-num: var(--gold-txt); --l-num: var(--l-ink); --r-num: var(--r-ink); --w-num: var(--w-ink); --s-num: var(--s-ink); --ok-num: var(--ok);
  --num-glow: none; --sky: none; --scrim: rgba(4,6,20,.5);
  --lg-planet: #6d4ee0; --lg-planet2: #9b85f2; --lg-ring: #f0b429; --lg-star: #f0b429; --lg-ink: #12102e; --lg-track: #e4e2f0; --lg-gap: var(--glass-solid);
  --gl: max(16px, env(safe-area-inset-left)); --gr: max(16px, env(safe-area-inset-right));
}
html.dark .lk-ui.lk-day { color-scheme: light; --lg-gap: #fff; }
/* ── 2. COLOURS — NIGHT ─────────────────────────────────────────────── */
html.dark .lk-ui {
  --bg: #070b1c; --card: #0f1430; --glass: rgba(10,14,36,.95); --glass-solid: #0b1029;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.05);
  --ink: #f2f3ff; --body: #c3c7e6; --mute: #8b90b8;
  --brand: #a78bfa; --brand-dk: #8f6ff5; --brand-ink: #cdbcff; --brand-soft: rgba(167,139,250,.14);
  --hero: #0f1430; --hero-ink: #9ba3d3;
  --gold: #ffc947; --gold-fill: #ffc947; --gold-ink: #1a1400; --gold-soft: rgba(255,201,71,.13); --gold-txt: #ffd978;
  --l: #38d6ff; --l-soft: rgba(56,214,255,.13); --l-ink: #9ae9ff;
  --r: #a78bfa; --r-soft: rgba(167,139,250,.14); --r-ink: #cdbcff;
  --w: #f472b6; --w-soft: rgba(244,114,182,.14); --w-ink: #ffb0d6;
  --s: #ffb347; --s-soft: rgba(255,179,71,.14); --s-ink: #ffd08c;
  --m: #ffc947; --m-soft: rgba(255,201,71,.12); --m-ink: #ffd978;
  --ok: #34d399; --ok-soft: rgba(52,211,153,.14); --bad: #fb7185; --bad-soft: rgba(251,113,133,.14); --warn: #ffc947;
  --shadow: 0 1px 0 rgba(255,255,255,.02), 0 10px 30px -18px rgba(0,0,0,.8);
  --shadow-up: 0 18px 40px -16px rgba(0,0,0,.85);
  --sub: rgba(255,255,255,.03);
  --hero-bg: linear-gradient(135deg, #121840 0%, #0f1430 55%, #0c1130 100%);
  --btn-ink: #0a0820; --ring-track: rgba(255,255,255,.1);
  --gold-num: #ffc947; --l-num: #38d6ff; --r-num: #a78bfa; --w-num: #f472b6; --s-num: #ffb347; --ok-num: #34d399;
  --num-glow: 0 0 24px rgba(255,201,71,.35);
  --sky: radial-gradient(ellipse 60% 40% at 15% 0%, rgba(167,139,250,.14), transparent 70%), radial-gradient(ellipse 50% 35% at 90% 5%, rgba(56,214,255,.10), transparent 70%), radial-gradient(1px 1px at 23px 41px, rgba(255,255,255,.55), transparent 100%), radial-gradient(1px 1px at 157px 112px, rgba(255,255,255,.35), transparent 100%), radial-gradient(1.5px 1.5px at 211px 27px, rgba(255,201,71,.55), transparent 100%), radial-gradient(1px 1px at 91px 203px, rgba(255,255,255,.45), transparent 100%), radial-gradient(1px 1px at 266px 171px, rgba(56,214,255,.5), transparent 100%), linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  --scrim: rgba(4,6,20,.66);
  --lg-planet: #a78bfa; --lg-planet2: #cdbcff; --lg-ring: #ffc947; --lg-star: #ffc947; --lg-ink: #f2f3ff; --lg-track: rgba(255,255,255,.14);
  color-scheme: dark;
}

/* ── 3. A CLASSIC PAGE (body class="lk-ui") ─────────────────────────── */
body.lk-ui {
  margin: 0; background-color: var(--bg); background-image: var(--sky);
  background-size: 100% 900px, 100% 700px, 300px 260px, 300px 260px, 300px 260px, 300px 260px, 300px 260px, 56px 56px, 56px 56px;
  background-repeat: no-repeat, no-repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat;
  color: var(--ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 15px; line-height: 1.5; min-height: 100vh; overflow-x: hidden;
}
html.dark body.lk-ui { background-color: #070b1c; }
:where(.lk-ui) *, :where(.lk-ui) *::before, :where(.lk-ui) *::after { box-sizing: border-box; }
:where(.lk-ui) [hidden] { display: none !important; }
:where(.lk-ui) a { color: var(--brand); }
:where(.lk-ui) button { font: inherit; }
:where(.lk-ui) :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.lk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; }
.lk-skip { position: absolute; left: 8px; top: 8px; z-index: 100; background: #12102e; color: #fff !important; padding: 8px 12px; border-radius: 8px; font: 600 14px Inter, sans-serif; transform: translateY(-300%); }
.lk-skip:focus { transform: none; }   /* no "left: -9999px": in Persian / Urdu (right-to-left) that made the page scroll sideways */
.lk-lab { font-family: var(--lab-font); font-weight: 700; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }

/* ── 4. THE LOGO (Score Orbit) ─────────────────────────────────────── */
.lk-lockup { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.lk-mark { display: block; flex: none; }
.lk-wm { font-family: var(--lab-font, Orbitron, sans-serif); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lk-wm b { font-weight: 800; }
.lk-wm span { font-weight: 500; opacity: .72; margin-left: .35em; }
/* 6 Nov 2026 (round 2): the ring no longer "fills" when a page opens (that animated a drawing, not transform/opacity:
   costly on weak phones). The header logo now has a small moving shine instead — see look_icon_links() in includes/look.php. */

/* ── 5. THE TOP MENU ────────────────────────────────────────────────── */
.lk-top { position: sticky; top: 0; z-index: 45; background: var(--glass); border-bottom: 1px solid var(--line); color: var(--ink); font-family: Inter, system-ui, sans-serif; font-size: 15px; line-height: 1.5; }
/* pages still in the old design (Tailwind) keep the space of their old fixed header, so the bar floats over the top */
body:not(.lk-ui):not(.sd) > .lk-top { position: fixed; left: 0; right: 0; }
.lk-top-in { max-width: 1240px; margin: 0 auto; padding: 10px var(--gr) 10px var(--gl); display: flex; align-items: center; gap: 12px; min-height: 58px; }
.lk-logo { display: flex; align-items: center; text-decoration: none; color: var(--ink) !important; flex: none; min-width: 0; }
.lk-tabs { display: flex; gap: 2px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; margin-left: 6px; }
.lk-tabs::-webkit-scrollbar { display: none; }
.lk-tabs a { display: inline-flex; align-items: center; height: 38px; padding: 0 13px; border-radius: 11px; font-weight: 600; font-size: 13.5px; color: var(--body); text-decoration: none; white-space: nowrap; position: relative; transition: background-color .15s, color .15s; }
.lk-tabs a:hover { background: var(--brand-soft); color: var(--brand-ink); }
.lk-tabs a.on, .lk-tabs a.active { color: var(--ink); background: var(--brand-soft); }
.lk-tabs a.on::after, .lk-tabs a.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold-fill); }
/* 9 Nov 2026 (round 3): a thin line between the tests (Listening … Mock) and the learning places (Grammar, Words, Community) */
.lk-tabs a.sep { margin-left: 17px; }
.lk-tabs a.sep::before { content: ""; position: absolute; left: -9px; top: 11px; bottom: 11px; width: 1px; background: var(--line); }
.lk-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.lk-ic { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: transparent; color: var(--body); cursor: pointer; display: inline-grid; place-items: center; padding: 0; flex: none; position: relative; transition: transform .15s, color .15s, background-color .15s; text-decoration: none; }
.lk-ic:hover { color: var(--ink); background: var(--brand-soft); }
.lk-ic svg { display: block; }
.lk-theme:hover { transform: rotate(-12deg); }
.lk-theme .sun { display: none; } .lk-theme .moon { display: block; }
html.dark .lk-theme .sun { display: block; } html.dark .lk-theme .moon { display: none; }
.lk-flag img { width: 22px; height: 16px; border-radius: 3px; display: block; object-fit: cover; }
.lk-bell .np-cnt { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e8961a; color: #1a1000; font: 800 10.5px/18px Inter, system-ui, sans-serif; font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--glass-solid); }
.lk-bell .np-cnt[hidden] { display: none; }
/* the teacher's Classroom and the Admin buttons — 6 Nov 2026 (round 2, owner's #23): before, hovering / pressing gave them the
   pale ".lk-ic:hover" background, so the white (day) or dark (night) icon disappeared. Now every state has its own solid colour. */
.lk-ic.lk-hq { background: var(--brand); border-color: var(--brand); color: var(--btn-ink) !important; -webkit-tap-highlight-color: transparent; }
.lk-ic.lk-hq:hover, .lk-ic.lk-hq:focus-visible { background: var(--brand-dk); border-color: var(--brand-dk); color: var(--btn-ink) !important; }
.lk-ic.lk-hq:active { background: var(--hq-press, #4c2fb8); border-color: var(--hq-press, #4c2fb8); color: #fff !important; transform: scale(.94); }
.lk-ic.lk-adm { background: var(--gold-fill); border-color: var(--gold-fill); color: var(--gold-ink) !important; -webkit-tap-highlight-color: transparent; }
.lk-ic.lk-adm:hover, .lk-ic.lk-adm:focus-visible { background: var(--adm-hover, #e2a614); border-color: var(--adm-hover, #e2a614); color: var(--gold-ink) !important; }
.lk-ic.lk-adm:active { background: var(--adm-press, #c98f0a); border-color: var(--adm-press, #c98f0a); color: var(--gold-ink) !important; transform: scale(.94); }
.lk-ic.lk-adm:focus-visible { outline-color: var(--brand); }
.lk-ic.lk-hq.on, .lk-ic.lk-adm.on { box-shadow: 0 0 0 2px var(--glass-solid), 0 0 0 4px var(--ink); }   /* you are on that page */
html.dark .lk-ui { --hq-press: #cdbcff; --adm-hover: #ffd466; --adm-press: #ffe08f; }
html.dark .lk-ic.lk-hq:active { color: #0a0820 !important; }
/* the student's "Classroom" chip (6 Nov 2026, round 2, owner's #5): only for students in a teacher's group */
.lk-class { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px 0 10px; border-radius: 11px; border: 1px solid var(--brand); background: var(--brand-soft); color: var(--brand-ink) !important; font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; flex: none; position: relative; -webkit-tap-highlight-color: transparent; transition: background-color .15s, color .15s; }
.lk-class:hover, .lk-class:focus-visible { background: var(--brand); color: var(--btn-ink) !important; }
.lk-class:active { transform: scale(.96); }
.lk-class.on { background: var(--brand); color: var(--btn-ink) !important; }
.lk-class-n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--w); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
@media (max-width: 1440px) and (min-width: 761px) { .lk-class-t { display: none; } .lk-class { padding: 0 9px; } }   /* room for every tab (Guide was added) */
@media (max-width: 760px) { .lk-class { height: 36px; padding: 0 8px; } .lk-class-t { display: none; } .lk-class-n { position: absolute; top: -6px; right: -6px; } }
@media (max-width: 1100px) and (min-width: 761px) { .lk-many .lk-logo .lk-wm { display: none; } }   /* extra buttons (Classroom, Admin): the mark alone leaves room for every tab */
@media (max-width: 1440px) { .lk-tabs a { padding: 0 11px; } .lk-tabs a.on::after, .lk-tabs a.active::after { left: 11px; right: 11px; } .lk-right { gap: 6px; } }
@media (max-width: 1100px) { .lk-tabs a { padding: 0 9px; } .lk-tabs a.on::after, .lk-tabs a.active::after { left: 9px; right: 9px; } .lk-tabs a.sep { margin-left: 13px; } .lk-tabs a.sep::before { left: -7px; } }
.lk-pill { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 99px; background: var(--brand); color: var(--btn-ink) !important; font-weight: 800; font-size: 12.5px; text-decoration: none; white-space: nowrap; }
.lk-pill.gold { background: var(--gold-fill); color: var(--gold-ink) !important; }
.lk-pill:hover { filter: brightness(1.06); }
.lk-avbtn { position: relative; border: 0; background: none; padding: 0; border-radius: 99px; display: inline-flex; flex: none; cursor: pointer; box-shadow: 0 0 0 2px var(--glass-solid), 0 0 0 3.5px var(--gold-fill); }
.lk-avbtn > *:not(.lk-badge) { width: 34px !important; height: 34px !important; border-radius: 50% !important; overflow: hidden; }
.lk-av { width: 34px; height: 34px; border-radius: 99px; background: var(--l); color: #fff; font-weight: 800; display: grid; place-items: center; }
.lk-badge { position: absolute; top: -6px; right: -6px; min-width: 18px; padding: 0 5px; border-radius: 99px; background: var(--w); color: #fff; font-size: 11px; font-weight: 800; text-align: center; line-height: 18px; }
.lk-badge.in { position: static; margin-left: auto; }
/* 13 Nov 2026: YOUR ACCOUNT MENU under the picture (computer). Dashboard · Profile and settings · Results · Messages · Log out */
.lk-acct { position: relative; display: inline-flex; flex: none; }
.lk-acct-menu { position: absolute; top: calc(100% + 12px); right: -4px; z-index: 70; width: 244px; padding: 6px; border-radius: 16px; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 22px 44px -18px rgba(8,10,30,.45), 0 2px 6px rgba(8,10,30,.08); font-family: Inter, system-ui, sans-serif; text-align: left; }
.lk-acct-menu[hidden] { display: none; }
.lk-acct-who { padding: 9px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.lk-acct-who b { display: block; font-size: 14px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-acct-who span { display: block; margin-top: 1px; font-size: 12px; color: var(--mute); }
.lk-acct-menu a, .lk-acct-menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: none; color: var(--ink) !important; font: 600 14px Inter, system-ui, sans-serif; text-decoration: none; text-align: left; cursor: pointer; box-sizing: border-box; }
.lk-acct-menu a:hover, .lk-acct-menu button:hover, .lk-acct-menu a:focus-visible, .lk-acct-menu button:focus-visible { background: var(--brand-soft); outline: none; }
.lk-acct-menu a[aria-current="page"] { color: var(--brand) !important; }
.lk-acct-menu svg { flex: none; color: var(--mute); }
.lk-acct-menu .lk-acct-out { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 2px; min-height: 44px; color: var(--w) !important; font-weight: 700; }
.lk-acct-menu .lk-acct-out svg { color: var(--w); }
.lk-tab-n { display: inline-block; margin-left: 5px; min-width: 18px; padding: 0 5px; border-radius: 99px; background: var(--w); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 17px; text-align: center; vertical-align: 1px; }   /* 9 Nov 2026: new Community messages */
.lk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--brand); color: var(--btn-ink) !important; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; transition: transform .15s, background-color .15s, filter .15s; white-space: nowrap; font-family: Inter, system-ui, sans-serif; }
.lk-btn:hover { background: var(--brand-dk); transform: translateY(-2px); }
.lk-btn.sm { min-height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.lk-btn.ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }
.lk-btn.ghost:hover { background: var(--brand-soft); }
.lk-btn.gold { background: var(--gold-fill); color: var(--gold-ink) !important; }
.lk-only-ph { display: none !important; }
/* 9 Nov 2026 (round 3): tablets (761–1000px) — the tests stay in the bar; Grammar, Words and Community move into the menu button */
@media (max-width: 1000px) and (min-width: 761px) {
  .lk-tabs a.sep, .lk-tabs a.sep ~ a { display: none; }
  .lk-right button[data-lk-sheet="open"] { display: inline-grid !important; }
}
.lk-bottom, .lk-scrim, .lk-sheet { display: none; }

/* ── 6. PHONES (760 px and less) ────────────────────────────────────── */
@media (max-width: 760px) {
  .lk-tabs, .lk-hide-ph { display: none !important; }
  .lk-only-ph { display: inline-grid !important; }
  .lk-top-in { padding: 8px var(--gr) 8px var(--gl); gap: 6px; min-height: 54px; }
  .lk-logo { flex: 0 1 auto; margin-right: auto; }   /* 10 Nov 2026 (owner): was stretched over the whole bar, so a tap lit up the whole header */
  .lk-logo .lk-mark { width: 30px; height: 30px; }
  .lk-logo .lk-lockup { gap: 8px; }
  .lk-wm { font-size: 11px; letter-spacing: .12em; }
  /* 9 Nov 2026: on a 375 px phone the five header buttons left ~95 px and the name was cut ("IELTS · Plan…") — it now stands on two lines */
  @media (max-width: 430px) { .lk-logo .lk-wm { display: flex; flex-direction: column; font-size: 10.5px; line-height: 1.12; letter-spacing: .1em; overflow: visible; } .lk-logo .lk-wm i { display: none; } .lk-logo .lk-wm span { margin-left: 0; } }
  .lk-right { gap: 6px; }
  .lk-ic { width: 36px; height: 36px; }
  /* the bottom bar */
  .lk-bottom { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; background: var(--glass); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); font-family: Inter, system-ui, sans-serif; }
  .lk-bottom a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 10px; font-size: 10.5px; font-weight: 700; color: var(--mute); text-decoration: none; position: relative; }
  .lk-bottom a.on { color: var(--gold-txt); }
  .lk-bottom a.on::before { content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 2px; border-radius: 2px; background: var(--gold-fill); transform: translateX(-50%); }
  .lk-bottom .lk-badge.dot { top: 4px; right: calc(50% - 22px); }
  body.lk-has-bottom, body:has(> .lk-bottom) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  /* the menu sheet (opens from the ☰ button and from "Tests") */
  .lk-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 60; background: var(--scrim, rgba(4,6,20,.5)); animation: lkFade .2s ease both; }
  .lk-sheet:not([hidden]) { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 86vh; overflow-y: auto; overscroll-behavior: contain; background: var(--card); color: var(--ink); border-radius: 22px 22px 0 0; padding: 14px var(--gr) calc(18px + env(safe-area-inset-bottom)) var(--gl); box-shadow: 0 -18px 40px -18px rgba(0,0,0,.45); font-family: Inter, system-ui, sans-serif; animation: lkUp .25s cubic-bezier(.2,.8,.2,1) both; }
}
@media (max-width: 370px) { .lk-wm span { display: none; } }
.lk-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 6px; color: var(--ink); }
.lk-sheet-lab { margin: 14px 0 8px; font-family: var(--lab-font); font-weight: 700; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.lk-sheet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lk-sheet-grid a { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--sub); color: var(--ink) !important; text-decoration: none; font-weight: 700; font-size: 13px; }
.lk-sheet-grid a svg { color: var(--k, var(--brand)); }
.lk-sheet-grid .L { --k: var(--l); } .lk-sheet-grid .R { --k: var(--r); } .lk-sheet-grid .W { --k: var(--w); } .lk-sheet-grid .S { --k: var(--s); } .lk-sheet-grid .M { --k: var(--gold-fill); } .lk-sheet-grid .G { --k: var(--ok); } .lk-sheet-grid .B { --k: var(--brand); }   /* 9 Nov 2026: Question types */
.lk-sheet-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
.lk-sheet-list a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px; border-radius: 10px; color: var(--ink) !important; text-decoration: none; font-weight: 600; font-size: 14px; }
.lk-sheet-list a:hover { background: var(--brand-soft); }
.lk-sheet-list a svg { color: var(--mute); }
.lk-sheet-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.lk-out { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--mute) !important; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.lk-imp { background: var(--gold-fill); color: var(--gold-ink); text-align: center; padding: 8px 12px; font: 600 13.5px Inter, sans-serif; }
.lk-imp a { color: inherit; }

/* ── 7. THE FOOTER ──────────────────────────────────────────────────── */
.lk-foot { background: var(--card); border-top: 1px solid var(--line); color: var(--body); font: 14px/1.5 Inter, system-ui, sans-serif; margin-top: 24px; }
.lk-foot-in { max-width: 1240px; margin: 0 auto; padding: 32px var(--gr) 18px var(--gl); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 28px; }
.lk-foot-brand p { margin: 12px 0 0; color: var(--mute); font-size: 13.5px; }
.lk-foot-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lk-foot-map h3 { margin: 0 0 8px; font-family: var(--lab-font); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }   /* 19 Nov 2026: was 10px */
.lk-foot-map a { display: block; padding: 8px 0;   /* 19 Nov 2026: was 4px: a link is now 37 px high, enough for a finger */ color: var(--body) !important; text-decoration: none; font-weight: 500; }
.lk-foot-map a:hover { color: var(--brand) !important; }
.lk-foot-bar { max-width: 1240px; margin: 0 auto; padding: 14px var(--gr) 18px var(--gl); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; font-size: 12.5px; color: var(--mute); }
.lk-foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.lk-foot-links a, .lk-linkbtn { color: var(--mute) !important; text-decoration: none; font-weight: 600; }
.lk-linkbtn { border: 0; background: none; padding: 0; cursor: pointer; font: 600 12.5px Inter, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.lk-foot-links a:hover, .lk-linkbtn:hover { color: var(--ink) !important; }
@media (max-width: 900px) { .lk-foot-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lk-foot-map { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── 8. "CHOOSE YOUR LOOK" — the pop-up and the settings card ───────── */
.lk-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .lk-choices { grid-template-columns: 1fr; } }
.lk-choice { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 16px; border: 2px solid var(--line); background: var(--sub); cursor: pointer; transition: border-color .15s, transform .15s; min-width: 0; }
.lk-choice:hover { transform: translateY(-2px); }
.lk-choice.on { border-color: var(--brand); background: var(--brand-soft); }
.lk-choice:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.lk-shots { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--line2); }
.lk-shots .lap { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.lk-shots .ph { position: absolute; right: 8px; bottom: 8px; width: 26%; height: auto; aspect-ratio: 390 / 812; object-fit: cover; object-position: top; border-radius: 8px; border: 3px solid #12102e; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); background: #12102e; }
.lk-choice-t { display: flex; flex-direction: column; gap: 2px; padding: 0 4px 4px; padding-right: 30px; }
.lk-choice-t b { font-size: 16px; color: var(--ink); }
.lk-choice-t small { font-size: 13px; color: var(--body); line-height: 1.4; }
.lk-tick { position: absolute; right: 14px; bottom: 16px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); }
.lk-choice.on .lk-tick { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px var(--card); }
.lk-card-look { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); font-family: Inter, system-ui, sans-serif; font-size: 15px; line-height: 1.5; margin: 18px 0; }
.lk-card-look .lk-choices { max-width: 760px; }
.lk-card-head h2 { margin: 4px 0 2px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.lk-card-head p { margin: 0 0 14px; color: var(--mute); font-size: 13.5px; }
.lk-card-note { margin: 10px 0 0; min-height: 1.4em; font-size: 13.5px; font-weight: 600; color: var(--ok); }
.lk-card-note.bad { color: var(--bad); }
@media (max-width: 760px) { .lk-card-look { padding: 16px; } }
.lk-pop { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 16px; background: var(--scrim); animation: lkFade .2s ease both; font-family: Inter, system-ui, sans-serif; font-size: 15px; line-height: 1.5; }
.lk-pop-box { position: relative; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); animation: lkUp .3s cubic-bezier(.2,.8,.2,1) both; }
.lk-pop-box h2 { margin: 6px 0 4px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.lk-pop-box > p { margin: 0 0 16px; color: var(--body); font-size: 14.5px; }
.lk-pop-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (max-width: 520px) { .lk-pop-box { padding: 18px 16px; } .lk-pop-acts .lk-btn { flex: 1 1 auto; } }
/* 6 Nov 2026 (round 2): the pop-up must be answered. It shows only when JavaScript runs (class lk-js from the head script),
   so a browser without JavaScript is never stuck behind it. The page under it stays complete. */
html.lk-js .lk-pop:not([hidden]) { display: grid; }
html.lk-pop-open, html.lk-pop-open body { overflow: hidden; }
html.lk-pop-open .np { visibility: hidden; }   /* the homework pop-up notice waits until the look is chosen (it comes back on the next page) */
.lk-pop-box .lk-btn[disabled] { opacity: .55; cursor: default; transform: none; }
.lk-pop-box:focus { outline: none; }
.lk-pop .lk-pop-acts { position: sticky; bottom: -22px; z-index: 2; margin: 14px -22px -22px; padding: 12px 22px 16px; background: var(--card); border-top: 1px solid var(--line); border-radius: 0 0 22px 22px; }
@media (max-width: 520px) { .lk-pop .lk-pop-acts { bottom: -18px; margin: 12px -16px -18px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); } }
.lk-pop .lk-pop-note:empty { display: none; }
.lk-pop-tog { display: inline-flex; gap: 4px; padding: 3px; margin: 0 0 12px; border-radius: 99px; background: var(--sub); border: 1px solid var(--line); }
.lk-pop-tog button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 99px; background: transparent; color: var(--body); font-weight: 700; font-size: 12.5px; cursor: pointer; }
.lk-pop-tog button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(18,16,46,.15); }
.lk-pop-note { margin: 8px 0 0; min-height: 1.3em; font-size: 13px; color: var(--mute); }
.lk-pros { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--body); }
.lk-pros li { position: relative; padding-left: 18px; }
.lk-pros li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.lk-best { display: block; margin-top: 6px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--brand-ink); }
@media (max-width: 520px) { .lk-pop .lk-shots { aspect-ratio: 16 / 8; } .lk-pop .lk-choice { gap: 6px; } .lk-pop-box h2 { font-size: 21px; } }
/* 9 Nov 2026 (owner: "fix the sizes"): on a phone both looks sit SIDE BY SIDE, each shown by its phone picture, so the student
   compares them without scrolling; the bullet points stay on bigger screens. */
@media (max-width: 520px) {
  .lk-pop .lk-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lk-pop .lk-choice { padding: 6px; gap: 6px; border-radius: 14px; }
  .lk-pop .lk-shots { aspect-ratio: 390 / 560; background: var(--card); }
  .lk-pop .lk-shots .lap { display: none; }
  .lk-pop .lk-shots .ph { position: static; width: 100%; height: 100%; border: 0; border-radius: 9px; box-shadow: none; }
  .lk-pop .lk-pros, .lk-pop .lk-best { display: none; }
  .lk-pop .lk-choice-t { padding: 0 2px 2px; padding-right: 22px; }
  .lk-pop .lk-choice-t b { font-size: 15px; } .lk-pop .lk-choice-t small { font-size: 12px; line-height: 1.35; }
  .lk-pop-box > p { font-size: 13.5px; margin-bottom: 10px; } .lk-pop-tog { margin-bottom: 8px; }
}
/* "Customise by section" in the settings card */
.lk-by { margin: 16px 0 0; border: 1px solid var(--line); border-radius: 14px; background: var(--sub); max-width: 760px; }
.lk-by summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; min-height: 44px; }
.lk-by summary::-webkit-details-marker { display: none; }
.lk-by summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: rotate(45deg); margin-left: 4px; flex: none; }
.lk-by[open] summary::after { transform: rotate(-135deg); }
.lk-by summary small { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--mute); }
.lk-by-help { margin: 0 14px 10px; font-size: 13px; color: var(--mute); }
.lk-by-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; padding: 0 14px 14px; }
@media (max-width: 640px) { .lk-by-list { grid-template-columns: 1fr; } }
.lk-by-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.lk-by-name { font-size: 13.5px; font-weight: 600; color: var(--ink); min-width: 0; }
.lk-seg { display: inline-flex; padding: 2px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); flex: none; }
.lk-seg label { position: relative; cursor: pointer; }
.lk-seg label span { display: inline-flex; align-items: center; height: 34px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; font-weight: 700; color: var(--body); }
.lk-seg input:checked + span { background: var(--brand); color: var(--btn-ink); }
.lk-seg label:first-child input:checked + span { background: var(--brand-soft); color: var(--brand-ink); }   /* "Same" = quiet; an own choice stands out */
.lk-seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 1px; }

/* "Make it yours" — the settings card (9 Nov 2026, owner round 2): Design · Day or night · Text size · Look by section, nothing folded away */
.lk-set { padding: 24px 24px 20px; position: relative; overflow: hidden; }
.lk-set::before { content: ""; position: absolute; right: -90px; top: -110px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, var(--gold-soft), transparent 70%); pointer-events: none; }
.lk-set-top { display: flex; gap: 14px; align-items: flex-start; position: relative; }
.lk-set-ic { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), #f0b429); box-shadow: 0 12px 24px -14px var(--brand); }
.lk-set .lk-card-head h2 { font-size: 22px; }
.lk-set-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; position: relative; }
.lk-set-nav a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--sub); color: var(--ink) !important; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.lk-set-nav a:hover { border-color: var(--brand); background: var(--brand-soft); }
.lk-set-b, .lk-by2 { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); position: relative; scroll-margin-top: 80px; }
.lk-set-h h3 { margin: 0; font-size: 16.5px; font-weight: 800; color: var(--ink); scroll-margin-top: 90px; }
.lk-set-h p { margin: 2px 0 12px; font-size: 13.5px; color: var(--mute); max-width: 62ch; }
.lk-set .lk-choices { max-width: none; }
.lk-def { font-style: normal; margin-left: 6px; padding: 2px 7px; border-radius: 99px; background: var(--gold-soft); color: var(--gold-txt); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
/* Day · Night · Auto and Text size: picture cards */
.lk-th, .lk-fs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lk-th-c, .lk-fs-c { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s; -webkit-tap-highlight-color: transparent; min-width: 0; }
.lk-th-c:hover, .lk-fs-c:hover { transform: translateY(-2px); border-color: var(--brand); }
.lk-th-c:has(input:checked), .lk-fs-c:has(input:checked), .lk-th-c.on, .lk-fs-c.on { border-color: var(--brand); background: var(--brand-soft); }
.lk-th-c:focus-within, .lk-fs-c:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.lk-th-c .lk-tick, .lk-fs-c .lk-tick { top: auto; bottom: 12px; right: 12px; }
.lk-th-c:has(input:checked) .lk-tick, .lk-fs-c:has(input:checked) .lk-tick, .lk-th-c.on .lk-tick, .lk-fs-c.on .lk-tick { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px var(--card); }
.lk-th-t, .lk-fs-t { display: flex; flex-direction: column; gap: 1px; padding: 0 30px 2px 4px; min-width: 0; }
.lk-th-t b, .lk-fs-t b { font-size: 15px; color: var(--ink); }
.lk-th-t small, .lk-fs-t small { font-size: 12.5px; color: var(--body); line-height: 1.35; }
.lk-th-pic { --pg: #f4f3fb; --pc: #ffffff; --pl: #e4e2f0; --pk: #12102e; --pb: #6d4ee0; position: relative; display: block; height: 92px; border-radius: 11px; overflow: hidden; background: var(--pg); border: 1px solid rgba(18,16,46,.08); }
.lk-th-c.dark .lk-th-pic { --pg: #070b1c; --pc: #0f1430; --pl: rgba(255,255,255,.12); --pk: #f2f3ff; --pb: #a78bfa; border-color: rgba(255,255,255,.08); }
.lk-th-c.auto .lk-th-pic { background: linear-gradient(120deg, #f4f3fb 0 50%, #070b1c 50% 100%); }
.lk-th-pic i { position: absolute; display: block; }
.lk-th-pic .bar { left: 0; right: 0; top: 0; height: 14px; background: var(--pc); border-bottom: 1px solid var(--pl); }
.lk-th-pic .h { left: 10px; top: 24px; width: 46%; height: 8px; border-radius: 4px; background: var(--pk); }
.lk-th-pic .l1 { left: 10px; top: 38px; width: 58%; height: 5px; border-radius: 3px; background: var(--pl); }
.lk-th-pic .l2 { left: 10px; top: 48px; width: 40%; height: 5px; border-radius: 3px; background: var(--pl); }
.lk-th-pic .crd { left: 10px; right: 10px; bottom: 9px; height: 22px; border-radius: 6px; background: var(--pc); border: 1px solid var(--pl); display: flex; gap: 5px; align-items: center; padding: 0 6px; }
.lk-th-pic .crd em { display: block; width: 26%; height: 8px; border-radius: 3px; background: var(--pb); opacity: .85; }
.lk-th-pic .crd em + em { background: #f0b429; }
.lk-th-pic .sky { right: 12px; top: 22px; width: 22px; height: 22px; border-radius: 50%; background: #f0b429; box-shadow: 0 0 0 4px rgba(240,180,41,.22), 0 0 18px rgba(240,180,41,.6); }
.lk-th-c.dark .lk-th-pic .sky { background: transparent; box-shadow: inset -7px -3px 0 0 #ffd978; transform: rotate(-20deg); }
.lk-th-c.auto .lk-th-pic .sky { background: linear-gradient(120deg, #f0b429 0 50%, transparent 50%); box-shadow: inset -7px -3px 0 0 #ffd978; }
.lk-th-c.auto .lk-th-pic .h { background: linear-gradient(120deg, #12102e 0 60%, #f2f3ff 60%); }
.lk-fs-aa { display: grid; place-items: center; height: 92px; border-radius: 11px; background: var(--sub); border: 1px solid var(--line); font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.lk-fs-aa::first-letter { color: var(--brand); }
/* Homepage headline (10 Nov 2026): five designs, each with a small still picture. The real ones: assets/home-headline.css */
.lk-hh { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.lk-hh-c { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s; -webkit-tap-highlight-color: transparent; min-width: 0; }
.lk-hh-c:hover { transform: translateY(-2px); border-color: var(--brand); }
.lk-hh-c:has(input:checked), .lk-hh-c.on { border-color: var(--brand); background: var(--brand-soft); }
.lk-hh-c:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.lk-hh-c .lk-tick { top: auto; bottom: 12px; right: 12px; }
.lk-hh-c:has(input:checked) .lk-tick, .lk-hh-c.on .lk-tick { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px var(--card); }
.lk-hh-t { display: flex; flex-direction: column; gap: 1px; padding: 0 30px 2px 4px; min-width: 0; }
.lk-hh-t b { font-size: 15px; color: var(--ink); }
.lk-hh-t small { font-size: 12.5px; color: var(--body); line-height: 1.35; }
.lk-set-h p a { color: var(--brand-ink); font-weight: 700; white-space: nowrap; }
.lk-hh-pic { display: flex; align-items: center; height: 104px; padding: 10px 12px; border-radius: 11px; background: var(--sub); border: 1px solid var(--line); overflow: hidden; }
.hhp { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
.hhp b { font-weight: inherit; } .hhp i, .hhp em { font-style: normal; }
.hhp3 b { color: var(--gold-num); white-space: nowrap; }
.hhp3 b i { display: inline-block; width: .62em; height: .62em; margin-left: .14em; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #b6a2ff, #7c5ce6 55%, #4c2fb8); box-shadow: 0 0 0 .07em #f0b429 inset; }
.hhp4 { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Roboto Mono", monospace; font-size: 13.5px; letter-spacing: -.04em; line-height: 1.25; }
.hhp4 b { background: #f0b429; color: #1a1400; padding: 0 .16em; border-radius: .14em; }
.hhp4 i { display: inline-block; width: .12em; height: 1em; margin-left: .08em; vertical-align: -.14em; background: var(--brand); }
.hhp5 small { display: block; font-size: 8.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--body); }
.hhp5 b { display: block; margin: 1px 0 2px; font: 400 50px/.95 var(--num-font); letter-spacing: .01em; color: #f0b429; -webkit-text-stroke: 1px #c98f0a; }
.hhp6 { display: flex; flex-wrap: wrap; gap: 4px 3px; font-size: 11.5px; line-height: 1; }
.hhp6 i { padding: .3em .45em .34em; border-radius: .45em; color: #fff; background: var(--c); box-shadow: 0 2px 0 var(--d); }
.hhp6 .l { --c: #0a8ec2; --d: #06678e; } .hhp6 .r { --c: #7c5ce6; --d: #4c2fb8; } .hhp6 .w { --c: #db2777; --d: #9d174d; } .hhp6 .s { --c: #c96a04; --d: #8a4b00; }
.hhp6 .k { --c: #f0b429; --d: #c98f0a; color: #1a1400; }
.hhp10 b { display: inline-block; padding: 0 .28em; border: 2px solid #e11d48; border-radius: 50%; transform: rotate(-4deg); }
.hhp10 em { display: block; margin-top: 7px; font: 700 13px/1 "Segoe Script", "Bradley Hand", cursive; color: #e11d48; transform: rotate(-3deg); transform-origin: 0 50%; }
html.dark .hhp10 b { border-color: #fb7185; } html.dark .hhp10 em { color: #fb7185; }
html.lk-lite .lk-hh-c:hover { transform: none; }
@media (max-width: 560px) {
  .lk-hh { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lk-hh-c { padding: 7px; gap: 6px; }
  .lk-hh-pic { height: 92px; padding: 8px; }
  .hhp { font-size: 13.5px; } .hhp4 { font-size: 11.5px; } .hhp5 b { font-size: 42px; } .hhp6 { font-size: 10px; }
  .lk-hh-t { padding: 0 2px 22px; } .lk-hh-t small { display: none; }
  .lk-hh-c .lk-tick { bottom: 7px; right: 50%; margin-right: -10px; }
}
/* Look by section: always open, a small picture of the section in each look */
.lk-by2-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.lk-by2-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 14px; background: var(--sub); border: 1px solid var(--line2); min-width: 0; }
.lk-by2-name { font-size: 14px; font-weight: 700; color: var(--ink); min-width: 0; }
.lk-by2-opts { display: flex; align-items: center; gap: 6px; flex: none; }
.lk-by2-opts label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lk-by2-same span { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 11px; border-radius: 10px; border: 2px solid var(--line); background: var(--card); font-size: 12.5px; font-weight: 700; color: var(--body); }
.lk-by2-same input:checked + span { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }
.lk-by2-pic span { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 3px; border-radius: 11px; border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.lk-by2-pic img { display: block; width: 54px; height: 90px; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); background: var(--card); }
.lk-by2-pic b { font-size: 10.5px; font-weight: 800; color: var(--mute); }
.lk-by2-pic:hover span { transform: translateY(-2px); }
.lk-by2-pic input:checked + span { border-color: var(--brand); background: var(--brand-soft); }
.lk-by2-pic input:checked + span b { color: var(--brand-ink); }
.lk-by2-opts input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 1px; }
@media (max-width: 860px) { .lk-by2-list { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lk-by2-row { flex-wrap: wrap; gap: 6px; padding: 10px; } .lk-by2-name { flex: 1 1 100%; } .lk-by2-opts { width: 100%; justify-content: space-between; } .lk-by2-same { flex: 1; } .lk-by2-same span { width: 100%; min-height: 96px; } }
@media (max-width: 560px) {
  .lk-set { padding: 18px 14px 16px; }
  .lk-set-ic { width: 44px; height: 44px; }
  .lk-th, .lk-fs { gap: 8px; }
  .lk-th-c, .lk-fs-c { padding: 7px; gap: 6px; }
  .lk-th-pic, .lk-fs-aa { height: 70px; }
  .lk-th-t, .lk-fs-t { padding: 0 2px 22px; }
  .lk-th-t small, .lk-fs-t small { display: none; }
  .lk-th-c .lk-tick, .lk-fs-c .lk-tick { bottom: 7px; right: 50%; margin-right: -10px; }
}
html.lk-lite .lk-th-c:hover, html.lk-lite .lk-fs-c:hover, html.lk-lite .lk-by2-pic:hover span { transform: none; }

@keyframes lkFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lkUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .lk-ui *, .lk-ui *::before, .lk-ui *::after, .lk-ui { animation: none !important; transition: none !important; }
}
@media print { .lk-top, .lk-bottom, .lk-sheet, .lk-scrim, .lk-pop, .lk-foot { display: none !important; } }

/* ── 9. LITE MODE (6 Nov 2026, round 2 — owner's rule #10) ─────────────
   <html class="lk-lite"> on weak devices (2 GB memory or less, 2 cores or less, "Save data"): see look_lite_script() in
   includes/look.php. No glass blur, no night star pattern, no entrance animations, no hover lifts. Same layout. */
html.lk-lite .lk-top, html.lk-lite .lk-bottom { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--glass-solid); }
html.lk-lite body.lk-ui { background-image: none; }
html.lk-lite .lk-ui *, html.lk-lite .lk-ui *::before, html.lk-lite .lk-ui *::after { animation: none !important; transition: none !important; }
html.lk-lite .lk-ui .sd-card, html.lk-lite .lk-ui .tc { box-shadow: none; }
html.lk-lite .lk-btn:hover, html.lk-lite .lk-choice:hover, html.lk-lite :where(.lk-ui) .sd-btn:hover { transform: none; }


/* =====================================================================
   PART 2 — PAGE PARTS (from the approved preview, 6 Nov 2026)
   Cards (.sd-card), heroes (.sd-hero), rings (.sd-ring), stat tiles (.sd-stat),
   test cards (.sd-launch / .tc), chips (.sd-chip), rows, bars … — the same class
   names as assets/student-ui.css, but ONLY inside .lk-ui (":where(.lk-ui)").
   ===================================================================== */
/* ── 6. LAYOUT + CARDS (student-ui.css §5) ───────────────────────── */
:where(.lk-ui) .sd-main { max-width: 1200px; margin: 0 auto; padding: 24px 0 56px; display: flex; flex-direction: column; gap: 18px; }
:where(.lk-ui) .sd-g2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; }
:where(.lk-ui) .sd-g2 > * { min-width: 0; }
:where(.lk-ui) .sd-g2.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { :where(.lk-ui) .sd-g2, :where(.lk-ui) .sd-g2.even { grid-template-columns: 1fr; } }
@media (max-width: 760px) { :where(.lk-ui) .sd-main { padding: 14px 0 40px; gap: 14px; } }
:where(.lk-ui) .sd-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); min-width: 0; }
@media (max-width: 760px) { :where(.lk-ui) .sd-card { padding: 16px; } }
:where(.lk-ui) .sd-card h2 { margin: 0; font-size: 17px; font-weight: 800; }
:where(.lk-ui) .sd-card h2.sd-lab, :where(.lk-ui) h2.sd-lab { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; margin: 0; }
:where(.lk-ui) .sd-sub { margin: 4px 0 14px; font-size: 13.5px; color: var(--mute); }
:where(.lk-ui) .sd-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
:where(.lk-ui) .sd-link { font-weight: 700; font-size: 13.5px; text-decoration: none; color: var(--brand); }
:where(.lk-ui) .sd-lift { transition: transform .2s ease, box-shadow .2s ease; }
:where(.lk-ui) .sd-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
:where(.lk-ui) .sd-foot { text-align: center; color: var(--mute); font-size: 12.5px; margin: 6px 0 0; }
:where(.lk-ui) .sec-lab { padding-left: 2px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
:where(.lk-ui) .sec-lab span:last-child { font-family: Inter, sans-serif; letter-spacing: 0; text-transform: none; font-size: 12.5px; font-weight: 600; }

/* buttons and chips (§6) */
:where(.lk-ui) .sd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--brand); color: var(--btn-ink); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; transition: transform .15s, background-color .15s, filter .15s; white-space: nowrap; }
:where(.lk-ui) .sd-btn:hover { background: var(--brand-dk); transform: translateY(-2px); }
:where(.lk-ui) .sd-btn.sm { min-height: 38px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
:where(.lk-ui) .sd-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
:where(.lk-ui) .sd-btn.ghost:hover { background: var(--brand-soft); }
:where(.lk-ui) .sd-btn.gold { background: var(--gold-fill); color: var(--gold-ink); }
:where(.lk-ui) .sd-btn.gold:hover { filter: brightness(1.05); background: var(--gold-fill); }
:where(.lk-ui) .sd-btn.k { background: var(--k); color: var(--btn-ink); } :where(.lk-ui) .sd-btn.k:hover { filter: brightness(1.08); }
:where(.lk-ui) .sd-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--body); font-weight: 700; font-size: 13.5px; cursor: pointer; text-decoration: none; white-space: nowrap; }
:where(.lk-ui) .sd-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
:where(.lk-ui) .sd-chip .n { opacity: .7; font-weight: 600; }
:where(.lk-ui) .sd-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
:where(.lk-ui) .sd-chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
:where(.lk-ui) .sd-chips.scroll::-webkit-scrollbar { display: none; }
:where(.lk-ui) .sd-band { display: inline-block; min-width: 46px; text-align: center; font-weight: 800; border-radius: 10px; padding: 4px 9px; font-size: 14px; font-variant-numeric: tabular-nums; }
:where(.lk-ui) .sd-band.hi { background: var(--ok-soft); color: var(--ok); } :where(.lk-ui) .sd-band.mid { background: var(--l-soft); color: var(--l-ink); } :where(.lk-ui) .sd-band.lo { background: var(--s-soft); color: var(--s-ink); }
:where(.lk-ui) .sd-sk { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; background: var(--ks); color: var(--ki); }
:where(.lk-ui) .sd-tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-ink); vertical-align: 1px; }
:where(.lk-ui) .sd-tag.gold { background: var(--gold-soft); color: var(--gold-txt); }
:where(.lk-ui) .eg { font-family: Inter, sans-serif; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; text-transform: none; padding: 1px 7px; border-radius: 99px; border: 1px dashed var(--line); color: var(--mute); vertical-align: 1px; white-space: nowrap; }

/* skill keys: --k colour, --ks soft, --ki ink, --kn the big number colour */
:where(.lk-ui) .L { --k: var(--l); --ks: var(--l-soft); --ki: var(--l-ink); --kn: var(--l-num); }
:where(.lk-ui) .R { --k: var(--r); --ks: var(--r-soft); --ki: var(--r-ink); --kn: var(--r-num); }
:where(.lk-ui) .W { --k: var(--w); --ks: var(--w-soft); --ki: var(--w-ink); --kn: var(--w-num); }
:where(.lk-ui) .S { --k: var(--s); --ks: var(--s-soft); --ki: var(--s-ink); --kn: var(--s-num); }
:where(.lk-ui) .M { --k: var(--gold-fill); --ks: var(--gold-soft); --ki: var(--gold-txt); --kn: var(--gold-num); }
:where(.lk-ui) .G { --k: var(--ok); --ks: var(--ok-soft); --ki: var(--ok); --kn: var(--ok-num); }
:where(.lk-ui) .B { --k: var(--brand); --ks: var(--brand-soft); --ki: var(--brand-ink); --kn: var(--brand); }

/* ── 7. HERO = the dashboard's "command deck" (§8) ────────────────── */
:where(.lk-ui) .sd-hero { position: relative; overflow: hidden; background: var(--hero-bg); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; box-shadow: var(--shadow); }
:where(.lk-ui) .sd-hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,201,71,.16), transparent 62%); pointer-events: none; }
:where(.lk-ui) .sd-hero.k::before { background: radial-gradient(circle, color-mix(in srgb, var(--k) 20%, transparent), transparent 62%); }
:where(.lk-ui) .sd-hero > * { position: relative; min-width: 0; }
:where(.lk-ui) .sd-hero h1 { margin: 6px 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
:where(.lk-ui) .sd-hero h1 em { font-style: normal; color: var(--kn, var(--gold-num)); }
:where(.lk-ui) .sd-hero .mot { margin: 0; color: var(--body); font-size: 15px; max-width: 600px; }
:where(.lk-ui) .sd-hero-l { display: flex; flex-direction: column; gap: 4px; }
:where(.lk-ui) .sd-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
:where(.lk-ui) .sd-ringbox { display: flex; align-items: center; gap: 18px; }
:where(.lk-ui) .sd-ring { position: relative; width: 156px; height: 156px; flex: none; }
:where(.lk-ui) .sd-ring svg { display: block; width: 100%; height: 100%; }
:where(.lk-ui) .sd-ring .val, :where(.lk-ui) .ring-val { transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
:where(.lk-ui) .sd-ring .track { stroke: var(--ring-track); }
:where(.lk-ui) .sd-ring .num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
:where(.lk-ui) .sd-ring .num b { font-family: var(--num-font); font-weight: 400; font-size: 46px; line-height: 1; color: var(--kn, var(--gold-num)); letter-spacing: .01em; text-shadow: var(--num-glow); }
:where(.lk-ui) .sd-ring .num b small { font-family: Inter, sans-serif; font-size: 13px; font-weight: 700; color: var(--mute); text-shadow: none; margin-left: 2px; }
:where(.lk-ui) .sd-ring .num .sd-lab { margin-top: 6px; font-size: 9.5px; }
:where(.lk-ui) .sd-ringside p { margin: 0; }
:where(.lk-ui) .sd-ringside .big { font-family: var(--num-font); font-size: 30px; line-height: 1; margin-top: 6px; display: block; }
:where(.lk-ui) .sd-ringside .hint { margin-top: 4px; font-size: 12px; color: var(--mute); }
:where(.lk-ui) .sd-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
:where(.lk-ui) .sd-stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
:where(.lk-ui) .sd-stat { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--sub); color: var(--ink); display: block; min-width: 0; position: relative; overflow: hidden; text-decoration: none; }
:where(.lk-ui) .sd-stat .v { display: block; font-family: var(--num-font); font-weight: 400; font-size: 30px; line-height: 1; margin-top: 6px; color: var(--kn, var(--ink)); }
:where(.lk-ui) .sd-stat .v small { font-family: Inter, system-ui, sans-serif; font-size: 12px; font-weight: 700; color: var(--mute); margin-left: 4px; letter-spacing: 0; }
:where(.lk-ui) .sd-stat .u { display: block; font-size: 12px; color: var(--mute); margin-top: 4px; }
:where(.lk-ui) .sd-stat .sd-lab { display: flex; align-items: center; gap: 6px; }
:where(.lk-ui) .sd-stat.lit::after { content: ""; position: absolute; right: -20px; top: -20px; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle, rgba(255,179,71,.35), transparent 70%); }
:where(.lk-ui) .sd-cont { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(240,180,41,.45); background: var(--sub); }
:where(.lk-ui) .sd-cont .sd-sk { width: 38px; height: 38px; }
:where(.lk-ui) .sd-cont .txt { flex: 1; min-width: 0; }
:where(.lk-ui) .sd-cont .txt .sd-lab { display: block; font-size: 9.5px; margin-bottom: 2px; color: var(--gold-txt); }
:where(.lk-ui) .sd-cont .txt b { display: block; font-size: 14.5px; }
:where(.lk-ui) .sd-cont .txt span.s { font-size: 12.5px; color: var(--mute); display: block; }
:where(.lk-ui) .sd-flame { animation: sdFlame 1.6s ease-in-out infinite; transform-origin: 50% 80%; display: inline-flex; }
@media (max-width: 1000px) { :where(.lk-ui) .sd-hero { grid-template-columns: 1fr; } :where(.lk-ui) .sd-ringbox { order: -1; } }
@media (max-width: 760px) {
  :where(.lk-ui) .sd-hero { padding: 18px; gap: 14px; border-radius: 20px; }
  :where(.lk-ui) .sd-hero h1 { font-size: 24px; margin: 2px 0 4px; }
  :where(.lk-ui) .sd-hero .mot { font-size: 14px; }
  :where(.lk-ui) .sd-ring { width: 124px; height: 124px; } :where(.lk-ui) .sd-ring .num b { font-size: 38px; }
  :where(.lk-ui) .sd-stats, :where(.lk-ui) .sd-stats.four { gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); } :where(.lk-ui) .sd-stats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :where(.lk-ui) .sd-stat { padding: 10px 11px; } :where(.lk-ui) .sd-stat .v { font-size: 24px; }
  :where(.lk-ui) .sd-stat .u { font-size: 11px; line-height: 1.3; }
  :where(.lk-ui) .sd-stat .sd-lab { letter-spacing: .06em; font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  :where(.lk-ui) .sd-stat .sd-lab svg { display: none; }
  :where(.lk-ui) .sd-acts .sd-btn { flex: 1 1 auto; }
}
@media (max-width: 480px) { :where(.lk-ui) .sd-ring { width: 112px; height: 112px; } :where(.lk-ui) .sd-ring .num b { font-size: 34px; } :where(.lk-ui) .sd-ring .num .sd-lab { font-size: 8.5px; letter-spacing: .12em; } :where(.lk-ui) .sd-ringside .big { font-size: 26px; } }
@media (max-width: 480px) { :where(.lk-ui) .sd-cont { flex-wrap: wrap; } :where(.lk-ui) .sd-cont .sd-btn { width: 100%; } :where(.lk-ui) .sd-cont .sd-sk { display: none; } }

/* ── 8. QUICK LAUNCH cards (§9) — reused as the test cards ───────── */
:where(.lk-ui) .sd-launch { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
:where(.lk-ui) :where(.sd-launch a, :where(.lk-ui) .tc) { --k: var(--brand); --ks: var(--brand-soft); --ki: var(--brand-ink); --kn: var(--brand); }
:where(.lk-ui) .sd-launch a, :where(.lk-ui) .tc { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); min-height: 128px; min-width: 0; cursor: pointer; }
:where(.lk-ui) .sd-launch a::before, :where(.lk-ui) .tc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--k); }
:where(.lk-ui) .sd-launch a::after, :where(.lk-ui) .tc::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--ks); opacity: .9; transition: transform .25s; }
:where(.lk-ui) .sd-launch a:hover::after, :where(.lk-ui) .tc:hover::after { transform: scale(1.4); }
:where(.lk-ui) .sd-launch a > *, :where(.lk-ui) .tc > * { position: relative; z-index: 1; }
:where(.lk-ui) .sd-launch .ic, :where(.lk-ui) .tc .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--ks); color: var(--ki); display: grid; place-items: center; flex: none; }
:where(.lk-ui) .sd-launch .nm { font-weight: 800; font-size: 14px; }
:where(.lk-ui) .sd-launch .band { display: flex; align-items: baseline; gap: 6px; margin-top: auto; }
:where(.lk-ui) .sd-launch .band b { font-family: var(--num-font); font-weight: 400; font-size: 26px; line-height: 1; color: var(--kn); }
:where(.lk-ui) .sd-launch .band small { font-size: 11px; color: var(--mute); font-weight: 600; }
:where(.lk-ui) .go, :where(.lk-ui) .sd-launch a > .go, :where(.lk-ui) .tc > .go { position: absolute; right: 12px; bottom: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--k); color: #0a0820; display: grid; place-items: center; transition: transform .2s; z-index: 1; }
:where(.lk-ui) a:hover > .go, :where(.lk-ui) .tc:hover > .go { transform: translateX(3px); }
@media (max-width: 1000px) { :where(.lk-ui) .sd-launch { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { :where(.lk-ui) .sd-launch { gap: 10px; } :where(.lk-ui) .sd-launch a { padding: 13px 12px 12px; min-height: 112px; gap: 8px; } :where(.lk-ui) .sd-launch .ic { width: 32px; height: 32px; } :where(.lk-ui) .sd-launch .band b { font-size: 22px; } :where(.lk-ui) .sd-launch .band small { display: none; } :where(.lk-ui) .go { width: 26px; height: 26px; right: 10px; bottom: 10px; } }

/* test cards */
:where(.lk-ui) .tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
:where(.lk-ui) .tgrid.wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
@media (max-width: 760px) { :where(.lk-ui) .tgrid { gap: 10px; } }
:where(.lk-ui) .tc { padding: 16px 18px 16px; gap: 8px; }
:where(.lk-ui) .tc .hd { display: flex; align-items: center; gap: 12px; }
:where(.lk-ui) .tc .hd .nmb { min-width: 0; flex: 1; }
:where(.lk-ui) .tc .hd .sd-lab { display: block; font-size: 9.5px; color: var(--ki); }
:where(.lk-ui) .tc .no { font-family: var(--num-font); font-size: 34px; line-height: 1; color: var(--kn); min-width: 46px; }
:where(.lk-ui) .tc h3 { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.3; }
:where(.lk-ui) .tc .meta { font-size: 12.5px; color: var(--mute); font-weight: 600; }
:where(.lk-ui) .tc .time { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--body); padding: 3px 8px; border-radius: 99px; background: var(--sub); border: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
:where(.lk-ui) .tc .parts { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 5px; }
:where(.lk-ui) .tc .parts li { display: flex; gap: 8px; align-items: baseline; font-size: 13.5px; color: var(--body); min-width: 0; }
:where(.lk-ui) .tc .parts li i { font-style: normal; flex: none; width: 18px; height: 18px; border-radius: 6px; background: var(--ks); color: var(--ki); font-size: 10.5px; font-weight: 800; display: inline-grid; place-items: center; transform: translateY(2px); }
:where(.lk-ui) .tc .parts li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:where(.lk-ui) .tc .parts li small { margin-left: auto; flex: none; color: var(--mute); font-weight: 600; font-size: 11.5px; font-variant-numeric: tabular-nums; }
:where(.lk-ui) .tc .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; padding-right: 36px; }
:where(.lk-ui) .tc .tags span { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--sub); border: 1px solid var(--line); color: var(--body); white-space: nowrap; }
:where(.lk-ui) .tc .ft { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; padding-right: 36px; min-height: 28px; font-size: 12.5px; color: var(--mute); font-weight: 600; flex-wrap: wrap; }
:where(.lk-ui) .tc .clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; color: var(--body); margin: 0; }
:where(.lk-ui) .tc .task { border-radius: 12px; background: var(--sub); border: 1px solid var(--line); padding: 9px 11px; }
:where(.lk-ui) .tc .task .sd-lab { font-size: 9px; color: var(--ki); display: flex; justify-content: space-between; gap: 6px; }
:where(.lk-ui) .tc .task .ty { display: block; font-size: 12.5px; font-weight: 800; color: var(--ki); margin: 2px 0 3px; line-height: 1.3; }
:where(.lk-ui) .tc .cue { border: 1.5px dashed color-mix(in srgb, var(--k) 55%, transparent); border-radius: 12px; padding: 10px 12px; background: var(--ks); }
:where(.lk-ui) .tc .cue p { margin: 3px 0 0; font-weight: 700; font-size: 14px; line-height: 1.4; color: var(--ink); }
:where(.lk-ui) .tc .pic { width: 64px; height: 64px; border-radius: 16px; background: var(--ks); display: grid; place-items: center; flex: none; overflow: hidden; }
:where(.lk-ui) .tc .pic img { width: 44px; height: 44px; display: block; }
:where(.lk-ui) .tc .cover { border-radius: 12px; overflow: hidden; aspect-ratio: 240 / 150; background: var(--sub); border: 1px solid var(--line); }
:where(.lk-ui) .tc .cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
:where(.lk-ui) .tc .tbtn { margin-left: auto; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 8px; border: 1px solid var(--line); color: var(--body); background: var(--card); }

/* toolbar */
:where(.lk-ui) .tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
:where(.lk-ui) .tools .grow { flex: 1 1 260px; min-width: 0; }
:where(.lk-ui) .sd-search { display: flex; align-items: center; gap: 8px; height: 44px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); padding: 0 12px; color: var(--mute); min-width: 0; }
:where(.lk-ui) .sd-search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); width: 100%; min-width: 0; }
:where(.lk-ui) .sd-search:focus-within { border-color: var(--brand); }
:where(.lk-ui) .sd-tablist { display: inline-flex; gap: 6px; background: var(--card); border: 1px solid var(--line); padding: 6px; border-radius: 18px; box-shadow: var(--shadow); max-width: 100%; overflow-x: auto; }
:where(.lk-ui) .sd-tab { height: 44px; padding: 0 18px; border-radius: 13px; border: 0; background: transparent; font-weight: 800; font-size: 14.5px; color: var(--body); cursor: pointer; white-space: nowrap; }
:where(.lk-ui) .sd-tab[aria-selected="true"] { background: var(--brand); color: var(--btn-ink); }
:where(.lk-ui) .sd-tab small { font-weight: 700; opacity: .75; margin-left: 4px; }
@media (max-width: 480px) { :where(.lk-ui) .sd-tablist { display: flex; } :where(.lk-ui) .sd-tab { flex: 1; padding: 0 10px; font-size: 13.5px; } }

/* ── 9. Skill tiles, rows, bars, heat, badges (§11–15) ───────────── */
:where(.lk-ui) .sd-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
:where(.lk-ui) .sd-skills.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { :where(.lk-ui) .sd-skills.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { :where(.lk-ui) .sd-skills { gap: 10px; } }
:where(.lk-ui) .sd-skill { display: block; border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--sub); position: relative; overflow: hidden; min-width: 0; }
:where(.lk-ui) .sd-skill::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--k); }
:where(.lk-ui) .sd-skill .top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
:where(.lk-ui) .sd-skill .nm { font-family: var(--lab-font); font-weight: 700; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ki); }
:where(.lk-ui) .sd-skill .dl { font-size: 11.5px; font-weight: 800; border-radius: 99px; padding: 1px 8px; background: var(--ok-soft); color: var(--ok); }
:where(.lk-ui) .sd-skill .mid { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 8px; gap: 8px; }
:where(.lk-ui) .sd-skill .mid b { font-family: var(--num-font); font-weight: 400; font-size: 34px; line-height: 1; }
:where(.lk-ui) .sd-skill .bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
:where(.lk-ui) .sd-skill .bars i { width: 7px; background: var(--k); border-radius: 3px; opacity: .4; transform-origin: bottom; animation: sdGrow .8s cubic-bezier(.2,.8,.2,1) both; }
:where(.lk-ui) .sd-skill .bars i:last-child { opacity: 1; }
:where(.lk-ui) .sd-skill .meta { display: block; font-size: 12.5px; color: var(--mute); margin-top: 6px; }
:where(.lk-ui) .sd-skill p { margin: 6px 0 0; font-size: 13px; color: var(--body); }
:where(.lk-ui) .sd-rows { list-style: none; margin: 0; padding: 0; }
:where(.lk-ui) .sd-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line2); }
:where(.lk-ui) .sd-row:last-child { border-bottom: 0; }
:where(.lk-ui) .sd-row .ti { flex: 1; min-width: 0; }
:where(.lk-ui) .sd-row .ti b { display: block; font-size: 14.5px; }
:where(.lk-ui) .sd-row .ti span { font-size: 13px; color: var(--mute); }
:where(.lk-ui) .sd-row .chev { color: var(--mute); }
:where(.lk-ui) .sd-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--k, var(--brand)); box-shadow: 0 0 0 3px var(--card), 0 0 0 4px var(--line); }
:where(.lk-ui) .sd-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
:where(.lk-ui) .sd-bars .t { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
:where(.lk-ui) .sd-bars .t small { color: var(--mute); font-weight: 600; }
:where(.lk-ui) .sd-bars .tr { height: 8px; background: var(--line2); border-radius: 99px; margin-top: 6px; overflow: hidden; }
:where(.lk-ui) .sd-bars .tr i { display: block; height: 100%; border-radius: 99px; width: 0; transition: width 1s cubic-bezier(.2,.8,.2,1); background: var(--k, var(--brand)); }
:where(.lk-ui) .p-lo { color: var(--bad); } :where(.lk-ui) .p-mid { color: var(--s-ink); } :where(.lk-ui) .p-hi { color: var(--ok); }
:where(.lk-ui) .b-lo { background: var(--bad) !important; } :where(.lk-ui) .b-mid { background: var(--s) !important; } :where(.lk-ui) .b-hi { background: var(--ok) !important; }
:where(.lk-ui) .sd-heatwrap { overflow-x: auto; padding-bottom: 4px; }
:where(.lk-ui) .sd-heat { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 14px); grid-auto-columns: 14px; gap: 4px; }
:where(.lk-ui) .sd-heat i { display: block; width: 14px; height: 14px; border-radius: 4px; background: var(--line2); animation: sdFade .35s ease both; --hc: var(--brand); }
:where(.lk-ui) .sd-heat i.L { --hc: var(--l); } :where(.lk-ui) .sd-heat i.R { --hc: var(--r); } :where(.lk-ui) .sd-heat i.W { --hc: var(--w); } :where(.lk-ui) .sd-heat i.S { --hc: var(--s); } :where(.lk-ui) .sd-heat i.G { --hc: var(--ok); }
:where(.lk-ui) .sd-heat i.l1 { background: var(--hc); opacity: .35; } :where(.lk-ui) .sd-heat i.l2 { background: var(--hc); opacity: .65; } :where(.lk-ui) .sd-heat i.l3 { background: var(--hc); opacity: 1; }
:where(.lk-ui) .sd-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12px; color: var(--mute); }
:where(.lk-ui) .sd-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; background: var(--k); }
:where(.lk-ui) .sd-kv { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
:where(.lk-ui) .sd-kv b { display: block; font-family: var(--num-font); font-weight: 400; font-size: 24px; line-height: 1.1; }
:where(.lk-ui) .sd-kv span { color: var(--mute); font-size: 12px; font-weight: 600; }
:where(.lk-ui) .sd-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
:where(.lk-ui) .sd-chart .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease .3s; }
:where(.lk-ui) .sd-chart .draw.in { stroke-dashoffset: 0; }
:where(.lk-ui) .sd-badges { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1000px) { :where(.lk-ui) .sd-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { :where(.lk-ui) .sd-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
:where(.lk-ui) .sd-bdg { border: 1px dashed var(--line); border-radius: 14px; padding: 12px 8px; text-align: center; color: var(--mute); }
:where(.lk-ui) .sd-bdg .bi { width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 6px; background: var(--sub); display: grid; place-items: center; border: 1px solid var(--line); }
:where(.lk-ui) .sd-bdg b { display: block; font-size: 12.5px; color: var(--body); }
:where(.lk-ui) .sd-bdg small { display: block; font-size: 11px; margin-top: 2px; line-height: 1.3; }
:where(.lk-ui) .sd-bdg.on { border: 1px solid rgba(255,201,71,.45); background: var(--gold-soft); color: var(--gold-txt); }
:where(.lk-ui) .sd-bdg.on .bi { background: var(--gold-fill); color: var(--gold-ink); border-color: transparent; box-shadow: 0 0 18px rgba(255,201,71,.35); }
:where(.lk-ui) .sd-bdg.on b { color: var(--ink); }
:where(.lk-ui) .sd-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
:where(.lk-ui) .sd-quick a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); padding: 14px 16px; }
:where(.lk-ui) .sd-quick b { display: block; font-size: 14.5px; } :where(.lk-ui) .sd-quick span.s { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.4; }
@media (max-width: 760px) { :where(.lk-ui) .sd-quick { grid-template-columns: 1fr 1fr; gap: 10px; } :where(.lk-ui) .sd-quick a.sd-card { padding: 12px; align-items: flex-start; flex-direction: column; gap: 8px; } }
:where(.lk-ui) .gquick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 8px; }
:where(.lk-ui) .gquick a { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--sub); color: var(--ink); text-decoration: none; border: 1px solid var(--line); }
:where(.lk-ui) .gquick a span { grid-row: span 2; font-size: 22px; } :where(.lk-ui) .gquick a b { font-size: 14px; } :where(.lk-ui) .gquick a small { color: var(--mute); font-weight: 600; font-size: 12px; }
:where(.lk-ui) .gquick a.hot { border-color: var(--gold-fill); background: var(--gold-soft); }
:where(.lk-ui) .gquick a:hover { border-color: var(--ok); }
@media (max-width: 480px) { :where(.lk-ui) .gquick { grid-template-columns: 1fr 1fr; } }

/* grammar topic rows (dashboard .sd-gram li a) */
:where(.lk-ui) .gtopics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; }
:where(.lk-ui) .gtopics a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--sub); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; min-width: 0; transition: border-color .15s, transform .2s ease, box-shadow .2s ease; }
:where(.lk-ui) .gtopics a:hover { border-color: var(--gc); transform: translateY(-3px); box-shadow: var(--shadow-up); }
:where(.lk-ui) .gtopics .em { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; flex: none; background: color-mix(in srgb, var(--gc) 16%, transparent); }
:where(.lk-ui) .gtopics .tt { flex: 1; min-width: 0; line-height: 1.3; }
:where(.lk-ui) .gtopics .tt small { display: block; font-size: 11.5px; color: var(--mute); font-weight: 700; margin-top: 2px; }
:where(.lk-ui) .gtopics .st { color: var(--line); white-space: nowrap; font-size: 13px; letter-spacing: 1px; } :where(.lk-ui) .gtopics .st i { font-style: normal; color: var(--gold-fill); }
:where(.lk-ui) .ghead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
:where(.lk-ui) .ghead .bar { width: 4px; align-self: stretch; border-radius: 4px; background: var(--gc); }
:where(.lk-ui) .ghead h2 { font-size: 17px; }
:where(.lk-ui) .ghead .sd-lab { color: var(--gc); }
:where(.lk-ui) .gc-tenses { --gc: #2F5FE8; } :where(.lk-ui) .gc-core { --gc: #12A150; } :where(.lk-ui) .gc-upper { --gc: #7C3AED; } :where(.lk-ui) .gc-ielts { --gc: #E8590C; }
html.dark :where(.lk-ui) .gc-tenses { --gc: #7d9bff; } html.dark :where(.lk-ui) .gc-core { --gc: #4ade80; } html.dark :where(.lk-ui) .gc-upper { --gc: #b794ff; } html.dark :where(.lk-ui) .gc-ielts { --gc: #ff9a5c; }

/* word card */
:where(.lk-ui) .wotd .w { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
:where(.lk-ui) .wotd .w h3 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
:where(.lk-ui) .wotd .ipa { color: var(--mute); font-size: 14px; }
:where(.lk-ui) .wotd .def { margin: 8px 0 0; font-size: 15px; }
:where(.lk-ui) .wotd .ex { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--sub); border-left: 3px solid var(--gold-fill); font-size: 14px; color: var(--body); font-style: italic; }
:where(.lk-ui) .wotd .col { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
:where(.lk-ui) .wotd .col span { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-ink); }
:where(.lk-ui) .say { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; }
/* book shelf */
:where(.lk-ui) .shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
:where(.lk-ui) .book { display: flex; gap: 14px; align-items: center; padding: 14px; text-decoration: none; color: var(--ink); position: relative; overflow: hidden; }
:where(.lk-ui) .book img { width: 64px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; box-shadow: 0 8px 18px -10px rgba(0,0,0,.6), 0 0 0 1px var(--line); flex: none; }
:where(.lk-ui) .book .bk { width: 64px; aspect-ratio: 3 / 4; border-radius: 8px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--bc) 18%, transparent); color: var(--ink); }
:where(.lk-ui) .book .bk b { font-family: var(--num-font); font-size: 26px; font-weight: 400; color: var(--ink); }
:where(.lk-ui) .book .tt { min-width: 0; flex: 1; }
:where(.lk-ui) .book .tt b { display: block; font-size: 14.5px; line-height: 1.3; }
:where(.lk-ui) .book .tt span { display: block; font-size: 12.5px; color: var(--mute); }
:where(.lk-ui) .book .prog { height: 6px; border-radius: 99px; background: var(--line2); margin-top: 8px; overflow: hidden; }
:where(.lk-ui) .book .prog i { display: block; height: 100%; width: 0; background: var(--bc); border-radius: 99px; transition: width 1s cubic-bezier(.2,.8,.2,1); }
:where(.lk-ui) .book.soon { border-style: dashed; box-shadow: none; background: transparent; }
:where(.lk-ui) .book.soon .tt b { color: var(--body); }

/* photo frames: real photos appear here on the live site */
:where(.lk-ui) .pnote { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--gold-soft); border: 1px solid rgba(240,180,41,.45); font-size: 13.5px; font-weight: 600; color: var(--ink); }
:where(.lk-ui) .pnote svg { color: var(--gold-txt); flex: none; }
:where(.lk-ui) .lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 168px), 1fr)); gap: 18px 14px; }
@media (max-width: 480px) { :where(.lk-ui) .lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; } }
:where(.lk-ui) .litem { text-decoration: none; color: var(--ink); display: block; min-width: 0; }
:where(.lk-ui) .frame { aspect-ratio: 2 / 3; border-radius: 6px 12px 12px 6px; background: linear-gradient(135deg, var(--sub), var(--line2)); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(18,16,46,.06), 0 14px 26px -16px rgba(18,16,46,.45); display: grid; place-items: center; color: var(--mute); position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
:where(.lk-ui) .frame::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: linear-gradient(90deg, rgba(0,0,0,.08), transparent); }
:where(.lk-ui) .frame .ph { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; text-align: center; padding: 10px; }
:where(.lk-ui) .litem:hover .frame { transform: translateY(-3px); box-shadow: var(--shadow-up); }
:where(.lk-ui) .frame .rt { position: absolute; top: 8px; right: 8px; font-size: 11.5px; font-weight: 800; padding: 2px 7px; border-radius: 99px; background: var(--gold-fill); color: var(--gold-ink); }
:where(.lk-ui) .frame .ty { position: absolute; top: 8px; left: 12px; }
:where(.lk-ui) .litem .cap { margin-top: 8px; }
:where(.lk-ui) .litem .cap b { display: block; font-size: 14px; line-height: 1.3; }
:where(.lk-ui) .litem .cap span { display: block; font-size: 12.5px; color: var(--mute); }
:where(.lk-ui) .frame.a4 { aspect-ratio: 1 / 1.41; border-radius: 10px; }

/* podium */
:where(.lk-ui) .pod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
:where(.lk-ui) .pod .p { text-align: center; padding: 16px 10px 14px; position: relative; }
:where(.lk-ui) .pod .p.first { padding-top: 26px; border-color: rgba(240,180,41,.55); background: linear-gradient(180deg, var(--gold-soft), var(--card) 70%); }
:where(.lk-ui) .pod .av { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 18px; background: var(--k); box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--k); }
:where(.lk-ui) .pod .first .av { width: 66px; height: 66px; font-size: 22px; }
:where(.lk-ui) .pod .rk { position: absolute; top: 10px; left: 10px; font-family: var(--num-font); font-size: 20px; color: var(--mute); }
:where(.lk-ui) .pod .first .rk { color: var(--gold-num); }
:where(.lk-ui) .pod b { display: block; font-size: 14px; }
:where(.lk-ui) .pod .pts { font-family: var(--num-font); font-size: 26px; line-height: 1.1; color: var(--kn); display: block; margin-top: 4px; }
:where(.lk-ui) .pod .pts small { font-family: Inter, sans-serif; font-size: 11px; color: var(--mute); font-weight: 700; margin-left: 3px; }
:where(.lk-ui) .lbrow .rk { width: 32px; font-family: var(--num-font); font-size: 18px; color: var(--mute); text-align: center; flex: none; }
:where(.lk-ui) .lbrow .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; background: var(--k); flex: none; }
:where(.lk-ui) .lbrow .pt { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
:where(.lk-ui) .lbrow.me { background: var(--gold-soft); border-radius: 12px; border-bottom-color: transparent; padding-left: 8px; padding-right: 8px; }

/* mock paper rows */
:where(.lk-ui) .paper { display: grid; gap: 10px; }
:where(.lk-ui) .prow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--sub); position: relative; overflow: hidden; }
:where(.lk-ui) .prow::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--k); }
:where(.lk-ui) .prow .n { font-family: var(--num-font); font-size: 28px; color: var(--kn); width: 26px; text-align: center; flex: none; }
:where(.lk-ui) .prow .tt { flex: 1; min-width: 0; }
:where(.lk-ui) .prow .tt b { display: block; font-size: 15px; }
:where(.lk-ui) .prow .tt small { font-family: var(--lab-font); font-size: 9.5px; letter-spacing: .14em; color: var(--mute); font-weight: 700; }
:where(.lk-ui) .prow .pick { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--mute); font-weight: 700; }
:where(.lk-ui) .prow .pick input { width: 64px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 800; text-align: center; }
:where(.lk-ui) .checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
:where(.lk-ui) .check { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--sub); color: var(--ink); text-align: left; cursor: pointer; }
:where(.lk-ui) .check .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line); flex: none; transition: background-color .3s; }
:where(.lk-ui) .check.ok .dot { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); animation: sdPop .35s ease-out both; }
:where(.lk-ui) .check b { display: block; font-size: 14px; } :where(.lk-ui) .check small { display: block; font-size: 12px; color: var(--mute); }

/* settings */
:where(.lk-ui) .setlist { list-style: none; margin: 0; padding: 0; }
:where(.lk-ui) .setlist li { border-bottom: 1px solid var(--line2); }
:where(.lk-ui) .setlist li:last-child { border-bottom: 0; }
:where(.lk-ui) .setlist .rowbtn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 4px; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; }
:where(.lk-ui) .setlist .rowbtn .sd-sk { width: 36px; height: 36px; border-radius: 10px; }
:where(.lk-ui) .setlist .rowbtn b { display: block; font-size: 14.5px; } :where(.lk-ui) .setlist .rowbtn span.s { display: block; font-size: 12.5px; color: var(--mute); }
:where(.lk-ui) .setlist .rowbtn .tx { flex: 1; min-width: 0; }
:where(.lk-ui) .setlist .rowbtn.bad b { color: var(--bad); }
:where(.lk-ui) .setpanel { padding: 4px 4px 16px 52px; display: grid; gap: 12px; }
@media (max-width: 480px) { :where(.lk-ui) .setpanel { padding-left: 4px; } }
:where(.lk-ui) .setpanel label.f { display: block; font-size: 12.5px; font-weight: 700; color: var(--mute); margin-bottom: 6px; }
:where(.lk-ui) .sel { height: 44px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); color: var(--ink); font: inherit; padding: 0 10px; max-width: 100%; width: 260px; }

/* modal (§16) */
:where(.lk-ui) .sd-modal { position: fixed; inset: 0; z-index: 60; background: var(--scrim); display: none; align-items: flex-end; justify-content: center; }
:where(.lk-ui) .sd-modal.open { display: flex; }
:where(.lk-ui) .sd-modal .box { background: var(--card); border: 1px solid var(--line); width: 100%; max-width: 440px; border-radius: 22px 22px 0 0; padding: 22px; animation: sdUp .25s ease both; text-align: center; }
@media (min-width: 640px) { :where(.lk-ui) .sd-modal { align-items: center; padding: 16px; } :where(.lk-ui) .sd-modal .box { border-radius: 22px; } }
:where(.lk-ui) .sd-modal h3 { margin: 6px 0 8px; font-size: 22px; font-weight: 800; }
:where(.lk-ui) .sd-modal h3 em { font-style: normal; color: var(--gold-num); }
:where(.lk-ui) .sd-modal p { color: var(--body); margin: 0 0 16px; font-size: 14.5px; }
:where(.lk-ui) .sd-modal .acts { display: grid; gap: 10px; }
:where(.lk-ui) .sd-modal small { display: block; margin-top: 12px; color: var(--mute); font-size: 12.5px; }
:where(.lk-ui) .sd-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 80; max-width: calc(100% - 32px); text-align: center; }
:where(.lk-ui) .sd-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 760px) { :where(.lk-ui) .sd-toast { bottom: 92px; } }

/* homepage */
:where(.lk-ui) .hm-hero { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 1000px) { :where(.lk-ui) .hm-hero { grid-template-columns: 1fr; } :where(.lk-ui) .hm-hero .hm-orbit { order: 0; } }
:where(.lk-ui) .hm-kick { display: inline-flex; align-items: center; gap: 8px; }
:where(.lk-ui) .hm-kick i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
:where(.lk-ui) .hm-hero h1 { font-size: 44px; line-height: 1.05; margin: 10px 0 10px; }
@media (max-width: 760px) { :where(.lk-ui) .hm-hero h1 { font-size: 32px; } }
:where(.lk-ui) .hm-orbit { position: relative; width: 300px; height: 300px; flex: none; }
:where(.lk-ui) .hm-orbit .sd-ring { position: absolute; inset: 52px; width: auto; height: auto; }
:where(.lk-ui) .hm-orbit .sat { position: absolute; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 12.5px; font-weight: 700; white-space: nowrap; animation: sdRise .55s cubic-bezier(.2,.8,.2,1) both; }
:where(.lk-ui) .hm-orbit .sat i { width: 26px; height: 26px; border-radius: 50%; background: var(--ks); color: var(--ki); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; }
:where(.lk-ui) .hm-orbit .sat b { font-family: var(--num-font); font-weight: 400; font-size: 17px; color: var(--kn); }
:where(.lk-ui) .hm-orbit .s1 { top: 6px; left: 8px; } :where(.lk-ui) .hm-orbit .s2 { top: 30px; right: 0; } :where(.lk-ui) .hm-orbit .s3 { bottom: 30px; left: 0; } :where(.lk-ui) .hm-orbit .s4 { bottom: 6px; right: 14px; }
@media (max-width: 1000px) { :where(.lk-ui) .hm-orbit { margin: 0 auto; } }
@media (max-width: 760px) { :where(.lk-ui) .hm-orbit { width: 300px; height: 250px; } :where(.lk-ui) .hm-orbit .sd-ring { inset: 40px 70px; } :where(.lk-ui) .hm-orbit .s1 { top: 0; left: 0; } :where(.lk-ui) .hm-orbit .s2 { top: 16px; right: 0; } :where(.lk-ui) .hm-orbit .s3 { bottom: 16px; left: 0; } :where(.lk-ui) .hm-orbit .s4 { bottom: 0; right: 0; } }
:where(.lk-ui) .hm-sec h2.big { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 4px; line-height: 1.2; }
:where(.lk-ui) .hm-sec h2.big em { font-style: normal; color: var(--kn, var(--gold-num)); }
@media (max-width: 760px) { :where(.lk-ui) .hm-sec h2.big { font-size: 22px; } }
:where(.lk-ui) .opt { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--sub); }
:where(.lk-ui) .opt + .opt { margin-top: 10px; }
:where(.lk-ui) .opt b { display: block; font-size: 15px; } :where(.lk-ui) .opt p { margin: 2px 0 0; font-size: 13.5px; color: var(--body); }
:where(.lk-ui) .opt .fig { margin-left: auto; text-align: right; flex: none; }
:where(.lk-ui) .opt .fig b { font-family: var(--num-font); font-weight: 400; font-size: 24px; color: var(--kn); }
:where(.lk-ui) .opt .fig small { display: block; font-size: 11px; color: var(--mute); font-weight: 700; }
:where(.lk-ui) .price { font-family: var(--num-font); font-size: 34px; line-height: 1; color: var(--kn); display: block; margin: 10px 0 8px; }
:where(.lk-ui) .ticks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--body); }
:where(.lk-ui) .ticks li { display: flex; gap: 8px; align-items: flex-start; }
:where(.lk-ui) .ticks li svg { color: var(--ok); margin-top: 2px; }
:where(.lk-ui) .rwall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { :where(.lk-ui) .rwall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
:where(.lk-ui) .rwall .cap { margin-top: 8px; font-size: 13px; } :where(.lk-ui) .rwall .cap b { font-family: var(--num-font); font-weight: 400; font-size: 20px; color: var(--gold-num); margin-right: 4px; }
:where(.lk-ui) .ftr { text-align: center; color: var(--mute); font-size: 12.5px; padding: 18px 0 8px; }

/* ── 11. MOTION (student-ui.css §19, unchanged) ───────────────────── */
@keyframes sdRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sdGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes sdFlame { 0%, 100% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.12) rotate(3deg); } }
@keyframes sdPop { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes sdFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sdUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
:where(.lk-ui) .sd-rise { animation: sdRise .55s cubic-bezier(.2,.8,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  :where(.lk-ui) *, :where(.lk-ui) *::before, :where(.lk-ui) *::after { animation: none !important; transition: none !important; }
  :where(.lk-ui) .sd-chart .draw { stroke-dasharray: none; stroke-dashoffset: 0; }
  :where(.lk-ui) .sd-rise { opacity: 1; transform: none; }
}
/* phone polish (dashboard: bigger chart labels under 560 px) */
@media (max-width: 560px) { :where(.lk-ui) .sd-chart text { font-size: 19px; } }
@media (max-width: 480px) { :where(.lk-ui) .prow { padding: 12px; gap: 10px; } :where(.lk-ui) .prow .tt small { letter-spacing: .06em; } :where(.lk-ui) .prow .pick input { width: 54px; } }


/* =====================================================================
   PART 3 — CLASSIC LAYOUT FIXES + THE CLASSIC HOMEPAGE (index.php)
   ===================================================================== */
/* the page column keeps a 16 px gutter on phones (the preview kept it on <body>) */
:where(.lk-ui) .sd-main { max-width: 1232px; padding-left: var(--gl); padding-right: var(--gr); }

/* the Classic homepage (includes/home_classic.php) — every class starts with "hc-" */
:where(.lk-ui) .hc-block { display: flex; flex-direction: column; gap: 10px; }
:where(.lk-ui) .hc-h1 .g, :where(.lk-ui) .hm-sec h2.big .g, :where(.lk-ui) .hm-sec h2.big .b { color: var(--kn, var(--gold-num)); }
:where(.lk-ui) .hc-h1 .g { color: var(--gold-num); }
:where(.lk-ui) .hc-h1 em, :where(.lk-ui) .hm-sec h2.big em { font-style: normal; }
:where(.lk-ui) .hc-hw { margin: 0 0 4px; font-size: 13.5px; color: var(--body); }
:where(.lk-ui) a.sd-stat { text-decoration: none; transition: transform .15s, border-color .15s; }
:where(.lk-ui) a.sd-stat:hover { transform: translateY(-2px); border-color: var(--k, var(--brand)); }
:where(.lk-ui) a.opt { text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
:where(.lk-ui) a.opt:hover { transform: translateY(-2px); border-color: var(--k, var(--brand)); }
:where(.lk-ui) .hm-orbit .hc-eg { position: absolute; left: 50%; top: 50%; margin-top: 44px; transform: translateX(-50%); z-index: 1; }
@media (max-width: 760px) { :where(.lk-ui) .hm-orbit .hc-eg { margin-top: 36px; } }
:where(.lk-ui) .hc-live { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; font-weight: 600; color: var(--body); }
:where(.lk-ui) .hc-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); flex: none; }
:where(.lk-ui) .hc-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 0; padding: 0; }   /* 9 Nov 2026: three promises in the hero (were the 4 skill boxes) */
:where(.lk-ui) .hc-trust li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 9px; border-radius: 99px; background: var(--sub); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--body); }
:where(.lk-ui) .hc-trust li svg { color: var(--gold-num); flex: none; }
@media (max-width: 560px) { :where(.lk-ui) .hc-trust li { font-size: 12px; padding: 6px 10px 6px 8px; } }
/* games strip */
:where(.lk-ui) .hc-games { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; }
:where(.lk-ui) .hc-games .sd-sub { margin-bottom: 0; }
:where(.lk-ui) .hc-gico { width: 58px; height: 58px; border-radius: 16px; }
:where(.lk-ui) .hc-gacts { margin: 0; justify-content: flex-end; }
@media (max-width: 1000px) { :where(.lk-ui) .hc-games { grid-template-columns: auto minmax(0, 1fr); } :where(.lk-ui) .hc-gacts { grid-column: 1 / -1; justify-content: flex-start; } }
@media (max-width: 560px) { :where(.lk-ui) .hc-games { grid-template-columns: 1fr; } :where(.lk-ui) .hc-gico { display: none; } }
/* results: the real Test Report Forms in a strip that scrolls sideways inside its card */
:where(.lk-ui) .hc-rwstat { font-size: 13px; color: var(--mute); font-weight: 600; } :where(.lk-ui) .hc-rwstat b { font-family: var(--num-font); font-weight: 400; font-size: 18px; color: var(--gold-num); }
:where(.lk-ui) .hc-rw { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
:where(.lk-ui) .hc-rc { margin: 0; scroll-snap-align: start; min-width: 0; }
:where(.lk-ui) .hc-rc-ph { display: block; aspect-ratio: 1 / 1.41; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--sub); box-shadow: var(--shadow); transition: transform .2s; }
:where(.lk-ui) .hc-rc-ph:hover { transform: translateY(-3px); }
:where(.lk-ui) .hc-rc-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
:where(.lk-ui) .hc-rc-ph.blank { display: grid; place-items: center; font-family: var(--num-font); font-size: 34px; color: var(--mute); }
:where(.lk-ui) .hc-rc figcaption { display: flex; gap: 8px; align-items: center; margin-top: 8px; font-size: 12.5px; line-height: 1.25; }
:where(.lk-ui) .hc-rc figcaption .ov { font-family: var(--num-font); font-weight: 400; font-size: 22px; color: var(--r-num); flex: none; }
:where(.lk-ui) .hc-rc figcaption .ov.hi { color: var(--gold-num); }
:where(.lk-ui) .hc-rc figcaption span { min-width: 0; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
:where(.lk-ui) .hc-rc figcaption small { display: block; font-weight: 600; color: var(--mute); }
@media (max-width: 760px) { :where(.lk-ui) .hc-rw { grid-auto-columns: 132px; gap: 10px; } }
/* contact + the enquiry form */
:where(.lk-ui) .hc-me { display: flex; gap: 14px; align-items: center; }
:where(.lk-ui) .hc-me img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--gold-fill); flex: none; }
:where(.lk-ui) .hc-me b { display: block; font-size: 18px; margin-top: 2px; } :where(.lk-ui) .hc-me small { display: block; color: var(--mute); font-size: 13px; }
:where(.lk-ui) .hc-cl { margin: 14px 0 14px; color: var(--body); font-size: 15px; }
:where(.lk-ui) .hc-form { display: flex; flex-direction: column; gap: 12px; position: relative; }
:where(.lk-ui) .hc-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
:where(.lk-ui) .hc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { :where(.lk-ui) .hc-row { grid-template-columns: 1fr; } }
:where(.lk-ui) .hc-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; color: var(--body); min-width: 0; }
:where(.lk-ui) .hc-form .cf-input { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--sub); color: var(--ink); font: 500 15px/1.4 Inter, system-ui, sans-serif; }
:where(.lk-ui) .hc-form textarea.cf-input { resize: vertical; }
:where(.lk-ui) .hc-form .cf-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
:where(.lk-ui) .hc-form .cf-input.is-bad { border-color: var(--bad); }
:where(.lk-ui) .hc-form .cf-err { color: var(--bad); font-weight: 700; }
:where(.lk-ui) .hc-send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
:where(.lk-ui) .hc-send small { color: var(--mute); font-size: 12.5px; flex: 1 1 200px; }
:where(.lk-ui) .cf-status { margin: 0; padding: 10px 12px; border-radius: 12px; font-weight: 600; font-size: 14px; }
:where(.lk-ui) .cf-status.ok { background: var(--ok-soft); color: var(--ok); } :where(.lk-ui) .cf-status.bad { background: var(--bad-soft); color: var(--bad); }
:where(.lk-ui) .sd-launch a .nm, :where(.lk-ui) .sd-launch a .band small { overflow-wrap: anywhere; }

/* ── 6 Nov 2026 (round 3): KEY-CAP — the site's standard primary button in the Classic look (Sharifjon's pick) ──────────────
   A key that really goes down: the button sits on a darker edge of its own colour; pointing lifts it a little, pressing pushes
   it down. Only transform and the edge (box-shadow) change — cheap on every phone. Ghost (outline) buttons stay flat.
   The edge colour: --kc = the button's own colour, mixed with black (older browsers get a soft dark edge instead).
   Exam screens never load this file, so they never change. */
.lk-btn, .cp .cp-btn, :where(.lk-ui) .sd-btn { --kc: var(--brand); }
.lk-btn.gold, .cp .cp-btn.gold, :where(.lk-ui) .sd-btn.gold { --kc: var(--gold-fill); }
.cp .cp-btn.k, :where(.lk-ui) .sd-btn.k { --kc: var(--k, var(--brand)); }
.lk-btn:not(.ghost), .cp .cp-btn:not(.ghost), :where(.lk-ui) .sd-btn:not(.ghost) {
  --kc-edge: rgba(10, 8, 32, .32);
  --kc-edge: color-mix(in srgb, var(--kc) 66%, #000);
  box-shadow: 0 4px 0 0 var(--kc-edge);
  transition: transform .12s cubic-bezier(.3, .7, .4, 1), box-shadow .12s cubic-bezier(.3, .7, .4, 1), background-color .15s, filter .15s;
}
.lk-btn.sm:not(.ghost), .cp .cp-btn.sm:not(.ghost), :where(.lk-ui) .sd-btn.sm:not(.ghost) { box-shadow: 0 3px 0 0 var(--kc-edge); }
.lk-btn:not(.ghost):hover, .cp .cp-btn:not(.ghost):hover, :where(.lk-ui) .sd-btn:not(.ghost):hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 var(--kc-edge); }
.lk-btn:not(.ghost):active, .cp .cp-btn:not(.ghost):active, :where(.lk-ui) .sd-btn:not(.ghost):active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--kc-edge); transition-duration: .05s; }
.lk-btn:not(.ghost):disabled, .cp .cp-btn:not(.ghost):disabled, :where(.lk-ui) .sd-btn:not(.ghost):disabled { transform: none; box-shadow: 0 2px 0 0 var(--kc-edge); }
html.lk-lite .lk-btn:not(.ghost):hover, html.lk-lite .cp .cp-btn:not(.ghost):hover, html.lk-lite :where(.lk-ui) .sd-btn:not(.ghost):hover { transform: none; box-shadow: 0 4px 0 0 var(--kc-edge); }
/* 6 Nov 2026 (qa): the Comet lockup "IELTS • Planet" (Inter) also on pages that print the Classic menu without look_icon_links() (login, certificates) */
.lk-wm.lk-wc { font-family: Inter, system-ui, sans-serif; font-size: 18px; letter-spacing: -.015em; text-transform: none; display: inline-flex; align-items: center; line-height: 1; } .lk-wm.lk-wc b, .lk-wm.lk-wc span { font-weight: 800; opacity: 1; margin-left: 0; } .lk-wm.lk-wc i { width: 5px; height: 5px; border-radius: 50%; background: var(--lgc-a1, #f0b429); margin: 2px .3em 0; flex: none; } @media (max-width: 760px) { .lk-wm.lk-wc { font-size: 16px; } } @media (max-width: 370px) { .lk-wm.lk-wc i { display: none; } }

/* ── 10 Nov 2026 (owner: "when I press the header icon it shows a background glitch — it should feel like a mobile application") ──
   No grey / blue flash behind what you tap, no text selection or "save image" menu on the bars; a small press instead. */
.lk-top a, .lk-top button, .lk-bottom a, .lk-bottom button, .lk-sheet a, .lk-sheet button, :where(.lk-ui) a, :where(.lk-ui) button, :where(.lk-ui) label, :where(.lk-ui) summary { -webkit-tap-highlight-color: transparent; }
.lk-logo, .lk-bottom a { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.lk-logo:focus { outline: none; } .lk-logo:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 12px; }
.lk-logo .lk-lockup, .lk-bottom a { transition: transform .12s ease; }
@media (hover: none) { .lk-logo:active .lk-lockup { transform: scale(.95); } .lk-bottom a:active { transform: scale(.94); } }
/* on touch screens a "hover" colour stays after the finger leaves (the pale box behind the bell, the moon, the menu): switch it off there */
@media (hover: none) {
  .lk-ic:hover { color: var(--body); background: transparent; }
  .lk-ic:active { background: var(--brand-soft); transform: scale(.94); }
  .lk-sheet-list a:hover { background: transparent; } .lk-sheet-list a:active { background: var(--brand-soft); }
}

/* 21 Nov 2026 (owner): new chat messages = a small red dot, no number (top tab, phone bottom bar, phone menu) */
.lk-cm-dot { display: inline-block; width: 9px; height: 9px; min-width: 0; padding: 0; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 2px var(--card, #fff); font-size: 0; line-height: 0; }
.lk-cm-dot.lk-tab-n { margin-left: 5px; vertical-align: 6px; }
.lk-bottom .lk-cm-dot.lk-badge.dot { position: absolute; top: 6px; right: calc(50% - 15px); }
.lk-cm-dot.lk-badge.in { position: static; margin-left: auto; }
/* 22 Nov 2026 (owner): the teacher's ORANGE DOT on the Classroom button — something new (no pop-ups any more) */
.lk-hq, .lk-ic[data-lk-sheet="open"] { position: relative; }
.lk-hq-dot { position: absolute; top: 5px; right: 5px; width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 2px var(--card, #fff); pointer-events: none; }
.lk-acct-menu .lk-hq-dot, .lk-sheet-list .lk-hq-dot { position: static; display: inline-block; margin-left: auto; flex: none; }
