:root {
  color-scheme: light;
  --ink: #17211e;
  --muted: #63716c;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --forest: #17352d;
  --forest-2: #244a3e;
  --gold: #d99a2b;
  --gold-soft: #fff1d2;
  --line: #dde4df;
  --danger: #9a4a36;
  --shadow: 0 20px 50px rgba(23, 53, 45, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
button, input, select { font: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; transform: translateY(-150%); background: #fff; padding: .7rem 1rem; border-radius: 12px; }
.skip-link:focus { transform: none; }
.shell { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); border-bottom: 1px solid rgba(23,53,45,.08); backdrop-filter: blur(18px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 780; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; }
.header-nav { display: flex; gap: 22px; color: var(--muted); font-size: .94rem; }
.header-nav a { text-decoration: none; }
.header-nav a:hover, .header-nav a:focus-visible { color: var(--forest); }
.hero { position: relative; overflow: hidden; padding: 84px 0 56px; color: #fff; background: var(--forest); }
.hero::before, .hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.hero::before { width: 620px; height: 620px; right: -240px; top: -360px; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 150px rgba(255,255,255,.02); }
.hero::after { width: 260px; height: 260px; left: -170px; bottom: -180px; box-shadow: 0 0 0 45px rgba(242,184,75,.06); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 56px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: #f7d28b; font-size: .82rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1 { max-width: 800px; margin: 0; font: 700 clamp(2.55rem, 6vw, 5.2rem)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.045em; text-wrap: balance; }
.hero-copy { max-width: 720px; margin: 24px 0 0; color: #d9e5e0; font-size: clamp(1rem, 2vw, 1.22rem); }
.hero-stat { padding: 26px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.07); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.hero-stat strong { display: block; color: #fff; font: 700 3.4rem/1 Georgia, serif; }
.hero-stat span { display: block; margin-top: 10px; color: #c9d9d3; }
.freshness { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: #f7d28b; font-size: .9rem; }
.controls-wrap { position: relative; z-index: 2; margin-top: -28px; }
.controls { display: grid; min-width: 0; gap: 18px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.controls-primary { display: grid; min-width: 0; grid-template-columns: minmax(240px, 1.5fr) minmax(180px, .5fr); gap: 12px; }
.field { display: grid; min-width: 0; gap: 6px; }
.field label { color: var(--muted); font-size: .78rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.field input, .field select { width: 100%; min-width: 0; max-width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfa; color: var(--ink); padding: 0 14px; outline: none; }
.field input:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,154,43,.16); }
.field select:disabled { color: #89938f; background: #f2f4f2; cursor: not-allowed; }
.geo-browser { min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #f8faf8; }
.geo-browser legend { padding: 0 8px; color: var(--forest); font-weight: 800; }
.geo-help { margin: 0 0 14px; color: var(--muted); font-size: .9rem; }
.geo-steps { display: grid; min-width: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.geo-step { position: relative; min-width: 0; overflow: hidden; padding: 12px; border: 1px solid #e2e8e4; border-radius: 14px; background: #fff; }
.geo-step::after { content: ""; position: absolute; top: 34px; right: -11px; z-index: 2; width: 10px; height: 1px; background: #c9d3ce; }
.geo-step:last-child::after { display: none; }
.step-number { display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 8px; border-radius: 999px; color: #fff; background: var(--forest); font-size: .74rem; font-weight: 800; }
.geo-step .field label { min-height: 2.25em; line-height: 1.15; }
.geo-path { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--forest); font-size: .9rem; font-weight: 720; }
.directory { padding: 54px 0 84px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-head h2, .content-section h2 { margin: 0; font: 700 clamp(1.8rem, 3vw, 2.7rem)/1.1 Georgia, serif; letter-spacing: -.025em; }
.result-label { color: var(--muted); }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.shop-card { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 8px 24px rgba(23,53,45,.045); }
.shop-card[hidden] { display: none; }
.shop-card:hover { transform: translateY(-2px); border-color: #cbd6d0; box-shadow: var(--shadow); transition: .2s ease; }
.rank { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: var(--forest); background: var(--gold-soft); font: 750 1.15rem/1 Georgia, serif; }
.rank small { display: block; font: 700 .58rem/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.shop-main { min-width: 0; }
.shop-title-row { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.shop-title { margin: 0; font-size: 1.14rem; line-height: 1.28; letter-spacing: -.015em; }
.shop-title a { text-decoration: none; }
.shop-title a::after { content: ""; position: absolute; inset: 0; }
.region { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.score { flex: 0 0 auto; text-align: right; color: var(--forest); }
.score strong { display: block; font-size: 1.18rem; line-height: 1; }
.score span { color: var(--muted); font-size: .72rem; }
.metrics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.metric, .status { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 9px; border-radius: 999px; background: #f0f4f1; color: #405049; font-size: .8rem; }
.metric b { color: var(--forest); }
.status { background: #f8eee8; color: var(--danger); }
.status.active { background: #e7f4ed; color: #246043; }
.card-actions { position: relative; z-index: 1; display: flex; gap: 10px; margin-top: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 13px; border: 1px solid var(--forest); border-radius: 11px; color: #fff; background: var(--forest); font-size: .86rem; font-weight: 720; text-decoration: none; }
.button.secondary { color: var(--forest); background: transparent; border-color: var(--line); }
.button:hover, .button:focus-visible { background: var(--forest-2); color: #fff; }
.empty-state { margin: 24px 0; padding: 32px; border: 1px dashed #bfcac5; border-radius: 18px; color: var(--muted); text-align: center; }
.content-section { padding: 78px 0; border-top: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.method-copy { color: var(--muted); }
.weight-list { display: grid; gap: 12px; }
.weight { display: grid; grid-template-columns: 70px 1fr; gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.weight strong { color: var(--gold); font: 700 1.45rem/1 Georgia, serif; }
.weight h3 { margin: 0 0 4px; font-size: 1rem; }
.weight p { margin: 0; color: var(--muted); font-size: .9rem; }
.notice { margin-top: 26px; padding: 18px; border-left: 3px solid var(--gold); background: var(--gold-soft); color: #60491f; border-radius: 0 12px 12px 0; }
.site-footer { padding: 34px 0; background: #102720; color: #b9cbc4; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; }
.footer-inner p { margin: 0; }
.detail-hero { padding: 64px 0 44px; color: #fff; background: var(--forest); }
.breadcrumbs { margin-bottom: 20px; color: #c4d4ce; font-size: .88rem; }
.breadcrumbs a { color: inherit; }
.detail-hero h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.detail-meta span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; color: #e3ede9; font-size: .86rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 28px; padding: 44px 0 82px; }
.panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.panel h2 { margin-top: 0; font: 700 1.65rem/1.15 Georgia, serif; }
.evidence { width: 100%; border-collapse: collapse; }
.evidence th, .evidence td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.evidence th { color: var(--muted); font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; }
.evidence a { color: var(--forest); font-weight: 700; }
.summary-score { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.summary-score div { padding: 18px; border-radius: 16px; background: #f1f5f2; }
.summary-score strong { display: block; color: var(--forest); font: 700 2rem/1 Georgia, serif; }
.summary-score span { color: var(--muted); font-size: .8rem; }
.detail-note { color: var(--muted); }
@media (max-width: 840px) {
  .hero-grid, .method-grid, .detail-layout { grid-template-columns: 1fr; }
  .hero-stat { max-width: 360px; }
  .geo-steps { grid-template-columns: 1fr 1fr; }
  .geo-step:nth-child(2)::after, .geo-step:last-child::after { display: none; }
  .shop-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 22px); max-width: calc(100vw - 22px); }
  .header-nav { display: none; }
  .hero { padding-top: 58px; }
  .controls-primary, .geo-steps { grid-template-columns: 1fr; }
  .geo-step::after { display: none; }
  .section-head { align-items: start; flex-direction: column; gap: 8px; }
  .shop-card { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 18px; }
  .rank { width: 44px; height: 44px; border-radius: 13px; }
  .shop-title-row { display: block; }
  .score { margin-top: 12px; text-align: left; }
  .card-actions { flex-wrap: wrap; }
  .footer-inner { flex-direction: column; }
  .summary-score { grid-template-columns: 1fr; }
  .evidence { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

