:root {
  --court: #ffffff; --bg: #f2f4f6; --on-court: #12202b; --on-court-muted: #566672;
  --line: #dfe5ea; --surface: #ffffff; --surface-2: #f3f6f9; --select: #deebf7; --select-line: #c3d7ea;
  --ink: #12202b; --muted: #566672; --faint: #8796a1;
  --accent: #1d5aa0; --accent-ink: #ffffff; --accent-soft: #dce8f6; --accent-text: #164a85;
  --ball: #d9e64a; --ball-ink: #2b3200; --warn-soft: #fbefd5; --warn-ink: #6b4a06;
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 10px;
  --gl: max(16px, env(safe-area-inset-left, 0px)); --gr: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --court: #111315; --bg: #0c0e10; --on-court: #eef1f3; --on-court-muted: #a3adb5;
  --line: #2c3136; --surface: #1a1d20; --surface-2: #22262a; --select: #16283a; --select-line: #24405a;
  --ink: #eef1f3; --muted: #a3adb5; --faint: #6f7880;
  --accent: #6aa6e6; --accent-ink: #0b1620; --accent-soft: #1b3350; --accent-text: #9cc4ee;
  --ball: #c8d93c; --ball-ink: #252b00; --warn-soft: #3a2d10; --warn-ink: #f0d08a; color-scheme: dark } }
:root[data-theme="dark"] {
  --court: #111315; --bg: #0c0e10; --on-court: #eef1f3; --on-court-muted: #a3adb5;
  --line: #2c3136; --surface: #1a1d20; --surface-2: #22262a; --select: #16283a; --select-line: #24405a;
  --ink: #eef1f3; --muted: #a3adb5; --faint: #6f7880;
  --accent: #6aa6e6; --accent-ink: #0b1620; --accent-soft: #1b3350; --accent-text: #9cc4ee;
  --ball: #c8d93c; --ball-ink: #252b00; --warn-soft: #3a2d10; --warn-ink: #f0d08a; color-scheme: dark }
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--court); color: var(--ink); font-family: var(--display); font-size: 16px; line-height: 1.6 }
a { color: var(--accent-text) }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1040px; margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top, 0px)) var(--gr) 10px var(--gl) }
.mark { color: var(--on-court); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; text-decoration: none }
.mark i { width: 12px; height: 12px; border-radius: 50%; background: var(--ball); display: inline-block; box-shadow: inset 0 0 0 2px var(--ball-ink) }
.cta { background: var(--ink); color: var(--surface); border-radius: var(--r); padding: 9px 14px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap }
main { max-width: 1040px; margin: 0 auto; padding: 4px var(--gr) 40px var(--gl) }
.crumbs { font-size: 13px; color: var(--muted); margin: 6px 0 0 } .crumbs a { color: var(--muted) }
h1 { font-size: clamp(27px, 4.2vw, 38px); line-height: 1.12; letter-spacing: -0.024em; margin: 10px 0 14px; text-wrap: balance; overflow-wrap: anywhere }
h2 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.25; margin: 38px 0 10px; text-wrap: balance }
h3 { font-size: 17px; margin: 24px 0 8px }
p, li { color: var(--muted); max-width: 72ch } p strong, li strong { color: var(--ink); font-weight: 600 }
.lead { background: var(--select); border: 1px solid var(--select-line); border-radius: 16px; padding: 16px 20px; margin: 0 0 8px }
.lead p { color: var(--ink); font-size: 17px; margin: 0 0 10px; max-width: none } .lead p:last-child { margin-bottom: 0 }
.meta { font-size: 13px; color: var(--faint) }
.tw { overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin: 10px 0 6px }
table.t { border-collapse: collapse; width: 100%; font-size: 13.5px }
.t th, .t td { padding: 9px 7px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top }
.t th { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-2); white-space: nowrap }
.t tbody tr:last-child td { border-bottom: 0 }
.t .n { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums }
.t .rk { font-family: var(--mono); font-size: 12px; color: var(--muted); width: 1% }
.t .nm { min-width: 170px } .t .nm a { font-weight: 600; color: var(--ink); text-decoration: none }
.t .nm small { display: block; color: var(--muted); font-size: 12px; font-weight: 400 }
.t .why { display: block; font-size: 12.5px; color: var(--accent-text); margin-top: 2px }
@media (hover: hover) { .t .nm a:hover, .sim a:hover b { text-decoration: underline } }
.src { font-family: var(--display); font-size: 11px; color: var(--faint); margin-left: 6px; white-space: nowrap }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.np { margin: 0 } .t .src { white-space: normal } .t .n:has(.v) { white-space: normal } .v { white-space: nowrap }
.band { font-family: var(--display); font-size: 12px; color: var(--accent-text); margin-left: 6px; white-space: nowrap }
.pill { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 6px; font-family: var(--display); white-space: nowrap }
.ok { background: var(--accent-soft); color: var(--accent-text) } .unc { background: var(--warn-soft); color: var(--warn-ink) }
.note { font-size: 13.5px; color: var(--warn-ink); background: var(--warn-soft); border-radius: 8px; padding: 9px 12px; max-width: none }
.try { display: inline-block; margin: 2px 0 0; font-size: 14px; font-weight: 600 }
.hero { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 8px }
.pic { background: var(--surface-2); border-radius: 14px; display: flex; align-items: center; justify-content: center; min-height: 300px }
.pd { width: 168px; height: 252px; background-repeat: no-repeat }
.pd.noimg { width: 120px; height: 180px; border-radius: 40% 40% 34% 34%; background: var(--line) }
.t .ph { width: 1%; padding: 4px 4px 4px 8px; vertical-align: middle } .t .ph a { display: block }
.pd.th { display: block } .pd.th.noimg { width: 30px; height: 45px; margin: 0 7px }
.rbrand { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px }
.hero h1 { margin-top: 2px }
.rprice { font-family: var(--mono); font-size: 14px; margin: 0 0 12px; color: var(--ink) }
.big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 }
.big div { background: var(--surface-2); border-radius: 10px; padding: 9px 11px }
.big small { display: block; font-size: 11.5px; color: var(--muted) }
.big b { font-family: var(--mono); font-weight: 500; font-size: 16px; font-variant-numeric: tabular-nums }
.shops { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; max-width: 560px }
.shop { display: block; text-align: center; text-decoration: none; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 8px; font-size: 14px; font-weight: 500 }
.shop.first { background: var(--ink); color: var(--surface); border-color: var(--ink) }
.shop:active { transform: scale(.97) }
.disc { font-size: 12.5px; color: var(--muted); margin: 8px 0 0 }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; max-width: 640px; table-layout: fixed }
.specs td { overflow-wrap: anywhere } .specs .src, .specs .band { white-space: normal }
.specs th, .specs td { padding: 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; font-weight: 400 }
.specs th { color: var(--muted); width: 36%; padding-right: 12px }
.specs .val { font-family: var(--mono); font-size: 13.5px }
.suits li { margin: 7px 0 }
.sim { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; padding: 0; list-style: none; margin: 10px 0 0 }
.sim a { display: block; height: 100%; text-decoration: none; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; color: var(--ink) }
.sim b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3 } .sim small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px }
.sim .n { font-family: var(--mono); font-size: 12.5px; color: var(--muted) }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 10px 0; list-style: none }
.chips a { display: inline-block; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; text-decoration: none; color: var(--ink); font-size: 14px }
.chips small { color: var(--muted); font-family: var(--mono); font-size: 12px; margin-left: 4px }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; padding: 0; list-style: none }
.cards a { display: block; height: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none }
.cards b { display: block; color: var(--ink); font-size: 16px; line-height: 1.3 } .cards span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px }
.srcs li { margin: 4px 0 }
.foot { border-top: 1px solid var(--line); margin-top: 24px }
.foot div { max-width: 1040px; margin: 0 auto; padding: 18px var(--gr) max(28px, env(safe-area-inset-bottom, 0px)) var(--gl); font-size: 13.5px; color: var(--muted) }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px } .foot nav a { color: var(--ink); text-decoration: none }
@media (hover: hover) { .foot nav a:hover { text-decoration: underline } .cards a:hover, .sim a:hover, .chips a:hover { border-color: var(--select-line) } }
.foot p { margin: 4px 0; max-width: none; font-size: 13px }
@media (max-width: 680px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 14px }
  .pic { min-height: 0; padding: 12px 0 }
  .pic .pd { transform: scale(.82); margin: -22px 0 }
  .shops { grid-template-columns: 1fr 1fr } .shop.first { grid-column: 1 / -1 }
  .big b { font-size: 14px }
  .lead { padding: 14px 16px } .lead p { font-size: 16px }
  .specs th { width: 40% }
}
@media (prefers-contrast: more) { .tw, .sim a, .cards a, .chips a { border-color: var(--ink) } p, li, .src, .meta { color: var(--ink) } }
