:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --tint: #eef0f6;
  --ink: #111318;
  --soft: #33373f;
  --muted: #6b6f78;
  --line: rgba(17, 19, 24, 0.1);
  --line-strong: rgba(17, 19, 24, 0.28);
  --accent: #af52de;
  --link: #111318;
  --focus: #1273ea;
  --btn-bg: #1273ea;
  --btn-ink: #ffffff;
  --radius: 12px;
  --radius-card: 16px;
  --shadow: 0 2px 12px rgba(17, 19, 24, 0.06);
  --nav-bg: rgba(246, 247, 251, 0.88);
  --media-bg: radial-gradient(closest-side, rgba(18, 115, 234, 0.16), rgba(175, 82, 222, 0.06) 70%, transparent);
  --band-bg: #ffffff;
  --phone-shadow: rgba(17, 19, 24, 0.22);
  --header-bg: #f4f6ff;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
}
.sight { display: grid; gap: 14px; margin-top: 22px; padding: clamp(16px, 2.4vw, 22px); max-width: 30em; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(17, 19, 24, 0.06); }
.intro-grid .sight { margin-top: 0; justify-self: end; width: 100%; }
.sight-top { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 16px; align-items: center; }
.sight-view { display: block; width: 100%; height: auto; }
.sight-ring { fill: none; stroke: #111318; stroke-opacity: 0.22; stroke-width: 1; }
.sight-black { fill: #111318; }
.sight-inner { fill: none; stroke: #fff; stroke-opacity: 0.7; stroke-width: 1; }
.sight-arrow { stroke: var(--focus); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 3 5; }
.sight-dot { fill: var(--accent); fill-opacity: 0.9; stroke: #fff; stroke-width: 1.6; transition: cx 0.2s ease, cy 0.2s ease; }
.sight-out { display: grid; gap: 6px; }
.sight-out p { margin: 0; display: grid; gap: 1px; }
.sight-out small { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sight-out b { font-size: clamp(20px, 2.6vw, 25px); line-height: 1.2; }
.sight-out .sight-note { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.sight-rows { display: grid; gap: 8px; }
.sight-row { display: grid; grid-template-columns: 5.6em minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 50px; padding: 4px 6px 4px 14px; border-radius: 12px; background: var(--tint); font-size: 15.5px; }
.sight-field { display: inline-flex; align-items: baseline; justify-content: flex-end; gap: 4px; }
.sight-field input { width: 100%; max-width: 5.4em; padding: 8px 4px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 18px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.sight-field i { font-style: normal; font-size: 13px; color: var(--muted); }
.sight-row select { min-width: 0; min-height: 38px; padding: 6px 8px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: inherit; font-size: 15px; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(17, 19, 24, 0.08); }
.seg button { appearance: none; min-width: 3.2em; min-height: 34px; padding: 4px 10px; border: 0; border-radius: 8px; background: none; color: var(--soft); font: inherit; font-size: 14.5px; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(17, 19, 24, 0.16); }

.demo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: clamp(16px, 2.4vw, 22px); max-width: 26em; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(17, 19, 24, 0.06); }
.intro-grid .demo { justify-self: end; width: 100%; }
.demo-card { display: block; width: 100%; height: auto; }
.demo-paper { fill: #f4f1e8; stroke: rgba(17, 19, 24, 0.14); stroke-width: 0.3; }
.demo-black { fill: #15161a; }
.demo-rings circle { fill: none; stroke: #f4f1e8; stroke-width: 0.22; }
.demo-hole { fill: #f4f1e8; fill-opacity: 0.92; }
.demo-mark { fill: none; stroke: var(--accent); stroke-width: 0.7; opacity: 0; transition: opacity 0.25s ease; }
.demo-label { fill: #fff; font-size: 3.6px; font-weight: 700; text-anchor: middle; opacity: 0; transition: opacity 0.25s ease; paint-order: stroke; stroke: #15161a; stroke-width: 0.9px; }
.demo-mark.is-on, .demo-label.is-on { opacity: 1; }
.demo-sweep { stroke: var(--focus); stroke-width: 0.5; opacity: 0; }
.demo-read { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 6px 22px; }
.demo-stat { display: grid; }
.demo-stat b { font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.demo-stat small { font-size: 12.5px; color: var(--muted); }
.demo-note { grid-column: 1 / -1; min-height: 2.9em; font-size: 14.5px; line-height: 1.45; color: var(--soft); }

.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tcard { display: grid; grid-template-rows: auto 1fr; border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.tcard-face { display: grid; place-items: center; height: 200px; padding: 18px; background: #f4f1e8; }
.tcard-face svg { width: auto; height: 100%; max-width: 100%; }
.tcard-body { display: grid; gap: 12px; align-content: start; padding: 18px 20px 20px; }
.tcard-body h2 { margin: 0; font-size: 20px; }
.tcard-body dl { display: grid; gap: 6px; margin: 0; font-size: 15px; }
.tcard-body dl div { display: flex; justify-content: space-between; gap: 12px; }
.tcard-body dt { color: var(--muted); }
.tcard-body dd { margin: 0; font-variant-numeric: tabular-nums; }
.tcard-body .btn { justify-self: start; }
.tnote { margin-top: 18px; }
.print-area { display: none; }

@media (max-width: 420px) {
  .sight-top { grid-template-columns: 86px minmax(0, 1fr); }
  .sight-row { grid-template-columns: 4.6em minmax(0, 1fr) auto; padding-left: 10px; font-size: 14.5px; }
}
@media print {
  @page { margin: 10mm; }
  body * { visibility: hidden; }
  .print-area, .print-area * { visibility: visible; }
  .print-area { display: block; position: absolute; left: 0; top: 0; width: 100%; }
  .sheet { display: flex; flex-wrap: wrap; justify-content: center; gap: 6mm; }
  .sheet svg { flex: none; outline: 0.2mm solid #999; }
  .sheet-foot { display: flex; align-items: center; gap: 3mm; margin: 6mm 0 0; font: 9pt/1.2 sans-serif; color: #000; }
  .sheet-rule { display: inline-block; width: 50mm; height: 0; border-top: 0.4mm solid #000; }
}
