:root {
  --bg: #070b12;
  --bg-2: #0c1420;
  --bg-elev: #111a2a;
  --card: #121c2e;
  --ink: #eef3f8;
  --muted: #93a4bb;
  --faint: #6b7c93;
  --gold: #d4a853;
  --gold-2: #f0d59a;
  --teal: #4fd4c5;
  --teal-2: #1f8f86;
  --iris: #6ea8ff;
  --rose: #e08b7a;
  --line: rgba(212, 168, 83, 0.22);
  --line-2: rgba(238, 243, 248, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --nav-h: 72px;
  --serif: "Noto Serif TC", "Cormorant Garamond", "Songti TC", serif;
  --sans: "Noto Sans TC", "Outfit", "PingFang TC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html[lang="en"] .zh { display: none !important; }
html[lang="zh-Hant"] .en { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(79, 212, 197, 0.08), transparent 50%),
    radial-gradient(900px 500px at -10% 20%, rgba(212, 168, 83, 0.07), transparent 45%),
    var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.01em; line-height: 1.2; margin: 0; }
p { margin: 0 0 1rem; color: var(--muted); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: #111;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 18, 0.72);
  border-bottom: 1px solid var(--line-2);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { width: 36px; height: 36px; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 60;
}
.nav a {
  font-size: 0.86rem;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}
.nav a[aria-current="page"] { color: var(--gold-2); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle,
.icon-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold-2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.lang-toggle span { opacity: 0.45; }
html[lang="zh-Hant"] .lang-toggle .zh-label,
html[lang="en"] .lang-toggle .en-label { opacity: 1; color: var(--ink); }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 12px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.92) 0%, rgba(7, 11, 18, 0.55) 46%, rgba(7, 11, 18, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.15), rgba(7, 11, 18, 0.75));
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  padding: 80px 0 90px;
}
.kicker {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  max-width: 12ch;
  color: #f7f3ea;
}
.hero .lede {
  max-width: 38rem;
  font-size: 1.12rem;
  color: #c9d4e3;
  margin: 22px 0 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #16120a; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,0.03); }

.section { padding: 88px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); max-width: 16ch; }
.section-head p { max-width: 36rem; margin: 0; }

.num {
  font-family: var(--mono);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 10px;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%), var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  min-height: 100%;
}
.card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.card .meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 10px;
}
.link-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-2);
  font-size: 0.9rem;
  margin-top: 12px;
}

.feature-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.feature-card img { height: 180px; width: 100%; object-fit: cover; }
.feature-card .body { padding: 20px 22px 22px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.stat {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold-2);
}
.stat span { color: var(--muted); font-size: 0.9rem; }

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 320px;
  display: grid;
  place-items: center start;
  padding: 48px;
  border: 1px solid var(--line);
}
.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,11,18,0.88), rgba(7,11,18,0.35));
}
.cta-band .inner { position: relative; z-index: 1; max-width: 36rem; }

.page-hero {
  padding: 56px 0 20px;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 14ch; }
.page-hero p { max-width: 42rem; font-size: 1.05rem; }

.disclaimer {
  border: 1px solid var(--line);
  background: rgba(212, 168, 83, 0.06);
  color: var(--gold-2);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.9rem;
  margin: 24px 0 8px;
}

.site-footer {
  border-top: 1px solid var(--line-2);
  padding: 36px 0 48px;
  color: var(--faint);
  font-size: 0.88rem;
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.site-footer a:hover { color: var(--gold-2); }
.site-footer h4 { color: var(--ink); margin-bottom: 10px; font-size: 1rem; }

/* Anatomy */
.anatomy-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 18px;
  min-height: calc(100vh - var(--nav-h) - 40px);
  padding-bottom: 40px;
}
.viewport {
  position: relative;
  height: calc(100vh - 130px);
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, #1a283c 0%, #070b12 70%);
  border: 1px solid var(--line-2);
}
#eye-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
.eye-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 2;
}
.eye-fallback[hidden] { display: none; }
.eye-fallback svg { width: min(100%, 640px); height: auto; }
.fb-part { transition: filter 0.15s ease, opacity 0.15s ease; }
.fb-part:hover { filter: brightness(1.25); }
.viewport-tools {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 3;
}
.tool {
  border: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.72);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  backdrop-filter: blur(10px);
}
.tool[aria-pressed="true"] {
  background: var(--gold);
  color: #16120a;
  border-color: var(--gold);
}
.hint {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(7,11,18,0.55);
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.panel {
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}
.panel h2 { font-size: 2rem; margin: 6px 0 10px; }
.part-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0 8px;
  max-height: 42vh;
  overflow: auto;
}
.part-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.9rem;
  text-align: left;
}
.part-chip b { font-family: var(--serif); font-weight: 600; color: var(--ink); }
.part-chip small { color: var(--faint); font-size: 0.75rem; }
.part-chip.active {
  color: #16120a;
  background: linear-gradient(90deg, rgba(212,168,83,0.95), rgba(212,168,83,0.7));
  border-color: var(--gold);
}
.part-chip.active b, .part-chip.active small { color: #16120a; }
.inline-part {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
  cursor: pointer;
}
.panel .fn {
  color: var(--teal);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

/* Diseases */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.84rem;
}
.chip.active, .chip:hover { color: var(--ink); border-color: var(--gold); }
.disease-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.disease {
  padding: 0;
  overflow: hidden;
}
.disease header {
  padding: 20px 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.tag {
  align-self: start;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--teal);
  border: 1px solid rgba(79, 212, 197, 0.3);
  padding: 4px 8px;
  border-radius: 999px;
}
.disease .body { padding: 12px 22px 22px; }
.disease h3 { font-size: 1.45rem; }
.treat {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
}
.treat strong { color: var(--gold-2); display: block; margin-bottom: 4px; }

/* Massage */
.massage-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.face-card {
  background: radial-gradient(circle at 50% 30%, #1a273a, #0b1220 70%);
  border-radius: 28px;
  border: 1px solid var(--line-2);
  padding: 20px;
  position: sticky;
  top: 90px;
}
.face-svg { width: 100%; height: auto; }
.hotspot { cursor: pointer; }
.hotspot circle { fill: var(--gold); stroke: #fff3; stroke-width: 2; }
.hotspot.active circle { fill: var(--teal); }
.hotspot text { font-size: 11px; fill: #0b1220; font-family: var(--mono); pointer-events: none; }
.routine {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 8px;
}
.timer {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold-2);
}
.point-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.safety li { margin-bottom: 6px; color: var(--muted); }

/* Foods */
.food-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.food-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.food-card img { height: 190px; width: 100%; object-fit: cover; }
.food-card .body { padding: 16px 18px 18px; }
.nutrient {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 6px;
}
.n-dock { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.n-chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.84rem;
}
.n-chip.lit, .n-chip:hover, .n-chip[aria-pressed="true"] {
  color: #16120a;
  background: var(--gold);
  border-color: var(--gold);
}
.food-card.dim { opacity: 0.28; transform: scale(0.98); }
.food-card.lit {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow);
  transform: translateY(-3px);
}
.insight-bar {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
  align-items: start;
}
.insight-copy h3 { font-size: 1.5rem; margin-bottom: 6px; }
.eye-map { position: relative; min-height: 220px; }
.eye-map svg { width: 100%; height: auto; }
.eye-zone { transition: fill 0.2s ease, opacity 0.2s ease; cursor: pointer; }
.eye-zone.lit { stroke: #d4a853; stroke-width: 3; opacity: 1; }
.foods-workspace { margin-bottom: 36px; }
.plate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 12px 0 40px;
}
.plate-slots { display: flex; flex-wrap: wrap; gap: 8px; min-height: 52px; }
.plate-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px 6px 6px;
  background: var(--bg-elev);
}
.plate-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 90px 1fr 36px; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--muted); }
.bar { height: 8px; background: #1a2434; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--gold)); transition: width 0.3s ease; }
.recipe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.recipe {
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.recipe.lit { border-color: var(--gold); }
.recipe header { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.recipe ol { margin: 8px 0 0; padding-left: 1.15rem; color: var(--muted); }
.recipe.collapsed .recipe-body { display: none; }
.ing {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 0.78rem;
  color: var(--muted);
}
.ing.lit { color: #16120a; background: var(--gold); border-color: var(--gold); }

/* Research */
.dir-tabs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin: 8px 0 20px; }
.dir-tab {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line-2);
  color: var(--ink);
  border-radius: 18px;
  padding: 16px 18px;
}
.dir-tab[aria-selected="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.dir-tab .meta { margin-bottom: 6px; }
.dir-tab h3 { font-size: 1.12rem; margin-bottom: 6px; }
.dir-tab p { margin: 0; font-size: 0.86rem; }
.dir-panel[hidden] { display: none; }
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 18px; }
.step {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
}
.step b { display: block; color: var(--gold-2); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; margin-bottom: 6px; }
.trial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trial {
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.trial:hover, .trial.active { border-color: var(--gold); transform: translateY(-2px); }
.trial-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.trial-links a {
  font-size: 0.78rem;
  color: var(--gold-2);
  border-bottom: 1px solid var(--line);
}
.t-item { cursor: pointer; padding: 4px 0 4px 4px; border-radius: 8px; }
.t-item:hover, .t-item.active { background: rgba(212,168,83,0.08); }
.t-item .t-more { display: none; margin-top: 8px; }
.t-item.open .t-more { display: block; }
.meter {
  height: 10px;
  background: #1a2434;
  border-radius: 99px;
  overflow: hidden;
  margin: 8px 0 14px;
}
.meter span { display: block; height: 100%; background: linear-gradient(90deg, #3a6, var(--gold)); }

/* Research */
.timeline { position: relative; padding-left: 22px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.t-item { position: relative; margin-bottom: 22px; }
.t-item::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.source {
  font-size: 0.82rem;
  color: var(--faint);
}

.prose h3 { margin: 22px 0 8px; font-size: 1.4rem; }
.prose ul, .prose ol { color: var(--muted); padding-left: 1.2rem; }
.prose li { margin-bottom: 6px; }

.table-wrap { overflow-x: auto; margin: 16px 0 28px; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
th { color: var(--gold-2); font-weight: 500; font-family: var(--serif); }

@media (max-width: 980px) {
  .grid-3, .grid-4, .stats, .food-grid, .disease-grid, .anatomy-stage, .massage-layout, .site-footer .wrap, .grid-2, .insight-bar, .plate, .recipe-grid, .dir-tabs, .step-row, .trial-grid {
    grid-template-columns: 1fr;
  }
  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: rgba(7, 11, 18, 0.96);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    display: none;
    border-bottom: 1px solid var(--line-2);
  }
  .nav.open { display: flex; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .face-card { position: static; }
  .viewport, .panel { min-height: 460px; }
  .hero h1 { max-width: 10ch; }
}

@media (max-width: 640px) {
  .wrap { width: min(1180px, calc(100% - 24px)); }
  .section { padding: 56px 0; }
  .cta-band { padding: 28px; }
  .food-grid { grid-template-columns: 1fr 1fr; }
}

.clinic-lab, .care-lab {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
  margin: 8px 0 28px;
}
.sim-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  min-height: 160px;
  background: #111;
}
.sim-frame img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: filter 0.35s ease, transform 0.35s ease;
}
.sim-frame[data-sim="myopia"] img { filter: blur(4px); }
.sim-frame[data-sim="cataract"] img { filter: blur(2.4px) sepia(0.45) brightness(1.15) contrast(0.85); }
.sim-frame[data-sim="glaucoma"] img { filter: brightness(0.55); clip-path: circle(38% at 50% 50%); }
.sim-frame[data-sim="amd"] img { filter: contrast(0.9); }
.sim-frame[data-sim="amd"]::after {
  content: "";
  position: absolute;
  inset: 28% 32%;
  background: radial-gradient(circle, rgba(20,16,10,0.85), transparent 70%);
  pointer-events: none;
}
.sim-frame[data-sim="diabetic"] img { filter: contrast(1.1) saturate(0.8); }
.sim-frame[data-sim="diabetic"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(160,20,40,0.55) 0 6px, transparent 7px),
    radial-gradient(circle at 62% 58%, rgba(160,20,40,0.5) 0 5px, transparent 6px),
    radial-gradient(circle at 48% 28%, rgba(200,180,80,0.45) 0 8px, transparent 9px);
  pointer-events: none;
}
.sim-frame[data-sim="dry"] img { filter: contrast(1.05) saturate(0.7); }
.sim-frame[data-sim="keratoconus"] img { filter: blur(1.2px) contrast(1.2); transform: scale(1.04) rotate(-0.6deg); }
.sim-frame[data-sim="ird"] img { filter: grayscale(0.4) contrast(1.3) brightness(0.7); }
.d-zone { cursor: pointer; transition: fill 0.2s ease, opacity 0.2s ease; }
.d-zone.lit { fill: #d4a853 !important; opacity: 1; }
.disease { cursor: pointer; transition: border-color 0.2s ease; }
.disease .treat { display: none; }
.disease.open .treat { display: block; }
.disease.open, .disease:hover { border-color: var(--gold); }
.sym-chip { }
.point-index { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.point-index button.active { background: var(--gold); color: #16120a; border-color: var(--gold); }
.hotspot.active circle {
  filter: drop-shadow(0 0 8px #4fd4c5);
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  50% { transform: scale(1.28); }
}
.quiz-banner {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--gold-2);
}
.hold-bar { height: 8px; background: #1a2434; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.hold-bar span { display: block; height: 100%; width: 0; background: var(--teal); }
.habit { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); color: var(--muted); cursor: pointer; }
.habit input { accent-color: var(--gold); width: 18px; height: 18px; }
.blink-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); margin: 16px auto;
  animation: none;
}
.blink-dot.go { animation: blink 2.4s ease-in-out infinite; }
@keyframes blink {
  0%, 70%, 100% { transform: scale(1); opacity: 1; }
  78% { transform: scale(0.2); opacity: 0.3; }
}
.flag { cursor: pointer; }
.flag .flag-body { display: none; margin-top: 8px; }
.flag.open .flag-body { display: block; }
.flag.open { border-color: var(--gold); }

@media (max-width: 980px) {
  .clinic-lab, .care-lab { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  .hotspot.active circle, .blink-dot.go { animation: none; }
}
