:root {
  color-scheme: light;
  --ink: #17241e;
  --green: #143d2b;
  --green-soft: #e8eee8;
  --lime: #d8ef72;
  --coral: #e56c50;
  --paper: #fbfcf8;
  --white: #fff;
  --line: #dce2da;
  --muted: #68756c;
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --sans: "DM Sans", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.site-header { height: 82px; padding: 0 max(5.5vw, 24px); display: flex; align-items: center; gap: 48px; background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; display: block; object-fit: contain; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font: 9px/1 var(--sans); letter-spacing: 1.5px; }
.main-nav { display: flex; align-items: center; gap: 32px; height: 100%; margin-left: auto; font-size: 13px; font-weight: 600; }
.main-nav a { height: 100%; display: inline-flex; align-items: center; position: relative; }
.main-nav a:not(.nav-register)::after { content: ""; position: absolute; bottom: 20px; left: 0; width: 0; height: 1px; background: var(--green); transition: width .2s ease; }
.main-nav a:hover::after { width: 100%; }
.nav-register { padding: 9px 14px; border: 1px solid var(--green); color: var(--green); }
.account-nav { font-size: 12px; color: var(--muted); }
.account-nav form { margin: 0; }
.text-button { padding: 0; border: 0; color: inherit; background: none; }
main { min-height: 50vh; }
.home-intro { min-height: 490px; padding: 76px 10vw 72px; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; background: #edf2eb; }
.home-intro::after { content: ""; position: absolute; right: 0; top: 0; width: 35%; height: 100%; opacity: .42; background-image: radial-gradient(#8aa18d 0.7px, transparent .7px); background-size: 13px 13px; mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.intro-copy { max-width: 650px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: #52705c; font: 700 10px/1.4 var(--sans); letter-spacing: 2px; }
h1, h2, h3, p { margin-top: 0; }
.home-intro h1, .page-heading h1, .detail-hero h1 { margin: 0; font: 600 48px/1.55 var(--serif); letter-spacing: 0; }
.intro-lead { margin: 20px 0 28px; color: #4b5a50; font-size: 14px; line-height: 2; }
.hero-search, .search-bar { display: flex; max-width: 510px; height: 54px; border: 1px solid #bdc9bc; background: var(--white); }
.hero-search input, .search-bar input, .search-bar select { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 18px; background: transparent; color: var(--ink); }
.hero-search button, .search-bar button { min-width: 105px; border: 0; background: var(--green); color: white; font-size: 13px; font-weight: 600; }
.hero-search button span, .search-bar button span { padding-left: 9px; color: var(--lime); }
.intro-links { display: flex; gap: 28px; margin-top: 20px; font-size: 12px; font-weight: 600; }
.intro-links span, .arrow-link span { margin-left: 8px; color: var(--coral); }
.local-loop { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: -12px 0 25px; color: var(--green); font-size: 10px; font-weight: 700; }
.local-loop span { padding: 5px 9px; border: 1px solid #c6d3c4; background: rgba(255, 255, 255, .65); }
.local-loop b { color: var(--coral); }
.intro-stamp { width: 226px; height: 226px; flex: 0 0 226px; margin-right: 7%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #9aab99; border-radius: 50%; color: var(--green); position: relative; z-index: 1; transform: rotate(9deg); }
.intro-stamp::before { content: ""; position: absolute; inset: 9px; border: 1px solid #aebca9; border-radius: 50%; }
.intro-stamp strong { font: 600 88px/.95 var(--serif); color: var(--coral); }
.intro-stamp span { font: 700 9px var(--sans); letter-spacing: 2px; }
.section { padding: 90px 10vw 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.section-heading h2, .map-copy h2, .history-section h2 { margin: 0; font: 600 27px/1.6 var(--serif); }
.section-heading p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.arrow-link { flex: 0 0 auto; padding-bottom: 5px; font-size: 12px; font-weight: 700; }
.rare-section { padding-top: 86px; }
.rare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.rare-item { min-width: 0; min-height: 250px; padding: 23px 24px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease; }
.rare-item:hover { background: white; }
.rare-number { color: #839083; font: 700 9px var(--sans); letter-spacing: 1.7px; }
.rare-item h3 { margin: 15px 0 2px; font: 600 18px/1.55 var(--serif); }
.item-subtitle { margin: 0 0 20px; color: var(--muted); font-size: 11px; }
.rare-stores { border-top: 1px solid var(--line); }
.rare-store { min-height: 47px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid #e8ebe6; }
.rare-store span, .price-store, .catalog-main { min-width: 0; display: flex; flex-direction: column; }
.rare-store b, .price-store b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.rare-store small, .price-store small, .catalog-main small { color: var(--muted); font-size: 10px; }
.rare-store strong { white-space: nowrap; font: 600 17px var(--sans); }
.rare-store strong small, .price-value small { padding-left: 2px; color: var(--muted); font-size: 10px; }
.empty-state { padding: 58px 20px; text-align: center; color: var(--muted); border: 1px dashed #cbd4c8; font-size: 13px; }
.empty-icon { display: block; margin-bottom: 8px; color: var(--coral); font: 40px var(--serif); }
.empty-state p { margin-bottom: 8px; }
.empty-state a { color: var(--green); font-weight: 700; }
.map-section { padding: 76px 10vw; display: grid; grid-template-columns: minmax(220px, .7fr) 1.6fr; gap: 48px; align-items: center; background: var(--green); color: white; }
.map-copy .eyebrow { color: var(--lime); }
.map-copy h2 { font-size: 28px; }
.map-copy > p:not(.eyebrow) { max-width: 260px; margin: 15px 0 24px; color: #c3d0c4; font-size: 12px; }
.map-store-label { display: block; margin: 18px 0 6px; color: #c3d0c4; font-size: 11px; }
.map-copy select { width: 100%; max-width: 300px; min-height: 42px; padding: 8px; border: 1px solid #91a79b; background: white; color: var(--ink); font-size: 12px; }
.outline-button { min-height: 42px; padding: 0 16px; border: 1px solid #91a79b; background: transparent; color: inherit; font-size: 12px; font-weight: 600; }
.map-copy .arrow-link { display: block; margin-top: 20px; color: white; }
.map-frame { height: 345px; position: relative; background: #dfe7dd; }
#store-map { display: block; width: 100%; height: 100%; border: 0; }
.home-story { padding: 75px 10vw; background: var(--paper); }
.home-story-inner { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr); gap: 64px; align-items: center; }
.home-story-copy h2 { margin: 0 0 22px; font: 600 25px/1.6 var(--serif); }
.home-story-copy > p:not(.eyebrow) { margin: 0 0 16px; color: #4b5a50; font-size: 13px; line-height: 2.1; }
.home-story-copy > p:last-child { margin-bottom: 0; }
.home-story-figure { margin: 0; }
.home-story-figure img { display: block; width: 100%; height: auto; }
.home-story-figure figcaption { margin-top: 9px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.home-story-figure a { text-decoration: underline; text-underline-offset: 2px; }
.closing-note { min-height: 250px; padding: 52px 10vw; display: flex; align-items: center; gap: 26px; background: var(--lime); }
.closing-mark { font: 52px var(--serif); color: var(--green); }
.closing-note p { flex: 1; margin: 0; font: 600 18px/1.9 var(--serif); }
.closing-note a { font-size: 12px; font-weight: 700; }
.closing-note a span { padding-left: 8px; color: var(--coral); }
.site-footer { min-height: 110px; padding: 26px 8vw; display: flex; align-items: center; gap: 30px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 14px; }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.site-footer > p { margin: 0 auto 0 0; color: var(--muted); font: 12px var(--serif); }
.site-footer > span { color: var(--muted); font-size: 10px; }
.ad-slot { max-width: 970px; min-height: 90px; margin: 18px auto 8px; padding: 8px 18px; color: var(--muted); background: #f2f4ef; font-size: 9px; }
.ad-slot > span { display: block; }
.adsense-unavailable .ad-slot, .ad-slot:has(> ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.affiliate-section { padding: 34px 8vw 42px; border-top: 1px solid var(--line); background: #f2f5ef; }
.affiliate-inner { max-width: 1050px; margin: 0 auto; }
.affiliate-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.affiliate-heading > span { color: var(--muted); font-size: 10px; }
.affiliate-heading h2 { margin: 0; color: var(--ink); font: 600 17px var(--serif); }
.affiliate-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.affiliate-link { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); background: var(--white); color: var(--green); font-size: 12px; font-weight: 700; }
.affiliate-link:hover { border-color: #8ea18e; }
.affiliate-image { display: block; width: 100%; aspect-ratio: 4 / 3; background: white; }
.affiliate-image img { display: block; width: 100%; height: 100%; padding: 10px; object-fit: contain; }
.affiliate-label { display: block; padding: 10px 12px; overflow-wrap: anywhere; }
.affiliate-label > span { color: var(--coral); }
.affiliate-management { max-width: 950px; }
.affiliate-management-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.affiliate-management-heading h2 { margin: 0; font: 600 19px var(--serif); }
.affiliate-management-heading .primary-button { display: inline-flex; align-items: center; white-space: nowrap; }
.affiliate-management-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.affiliate-management-image { display: grid; place-items: center; width: 76px; height: 76px; background: white; border: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.affiliate-management-image img { width: 100%; height: 100%; object-fit: contain; }
.affiliate-management-info { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; font-size: 12px; }
.affiliate-management-info > span { color: var(--muted); font-size: 11px; }
.affiliate-management-info > a { color: var(--green); text-decoration: underline; }
.affiliate-management-actions { display: flex; align-items: center; gap: 8px; }
.affiliate-management-actions .light-button { display: inline-flex; align-items: center; justify-content: center; }
.affiliate-management-actions form { margin: 0; }
.affiliate-form { display: grid; gap: 18px; max-width: 720px; }
.affiliate-form .field input:not([type="checkbox"]) { width: 100%; }
.affiliate-form textarea { width: 100%; min-height: 130px; padding: 10px 11px; border: 1px solid #cbd4c9; border-radius: 0; background: white; color: var(--ink); font: 12px/1.6 var(--sans); resize: vertical; }
.affiliate-form .affiliate-checkbox label { display: flex; align-items: center; gap: 8px; }
.affiliate-form .affiliate-checkbox input { width: 18px; height: 18px; margin: 0; }
.affiliate-form .submit-row { margin-top: 10px; }
@media (max-width: 700px) {
  .affiliate-section { padding: 26px 6vw 32px; }
  .affiliate-links { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
  .affiliate-management-row { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
  .affiliate-management-image { width: 64px; height: 64px; }
  .affiliate-management-actions { grid-column: 2; }
}
.page-heading { padding: 70px 10vw 45px; background: #edf2eb; }
.page-heading h1 { font-size: 38px; }
.page-heading > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.compact-heading { padding-top: 52px; padding-bottom: 35px; }
.content-section { max-width: 1120px; margin: 0 auto; padding: 48px 32px 90px; }
.search-bar { max-width: 680px; }
.search-bar select { border-left: 1px solid var(--line); }
.result-count { margin: 22px 0 12px; color: var(--muted); font-size: 12px; }
.catalog-list { margin-top: 22px; border-top: 1px solid var(--line); }
.catalog-row { min-height: 78px; display: flex; align-items: center; gap: 18px; padding: 12px 15px; border-bottom: 1px solid var(--line); transition: background .15s ease; }
.catalog-row:hover, .price-row:hover { background: #f0f4ee; }
.catalog-initial { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; background: #e7eee6; color: var(--green); font: 18px var(--serif); }
.catalog-main { flex: 1; }
.catalog-main b { font: 600 14px var(--serif); }
.catalog-capacity { color: var(--muted); font-size: 12px; }
.row-arrow { color: var(--coral); }
.breadcrumbs { padding: 22px 10vw; color: var(--muted); font-size: 11px; }
.breadcrumbs span { margin: 0 9px; color: #a7b0a7; }
.detail-hero { padding: 40px 10vw 48px; background: #edf2eb; }
.detail-hero h1 { font-size: 37px; }
.detail-maker { margin: 3px 0 22px; font-size: 13px; }
.detail-maker a { text-decoration: underline; text-underline-offset: 3px; }
.product-facts { display: flex; gap: 36px; }
.product-facts div { min-width: 150px; display: flex; flex-direction: column; }
.product-facts span, .survey-summary span { color: var(--muted); font-size: 10px; }
.product-facts strong { font-size: 13px; }
.product-facts strong a { margin-left: 8px; color: #4f715a; font-size: 10px; }
.price-section { padding-top: 56px; }
.filter-line { display: flex; align-items: center; gap: 12px; margin: 24px 0 18px; color: var(--muted); font-size: 12px; }
.filter-line select, .filter-line button, .store-search select { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); background: white; color: var(--ink); }
.filter-line button { background: var(--green); color: white; }
.price-list { border-top: 1px solid var(--line); }
.price-row { min-height: 72px; display: flex; align-items: center; gap: 20px; padding: 10px 15px; border-bottom: 1px solid var(--line); transition: background .15s ease; }
.price-rank { width: 32px; color: #8d998e; font: 600 13px var(--sans); }
.price-store { flex: 1; }
.price-store b { font-size: 13px; }
.price-store small { font-size: 10px; }
.price-value { white-space: nowrap; font: 600 20px var(--sans); }
.store-search { max-width: 760px; }
.store-search label:first-child { flex: 1; display: flex; }
.store-search select { border: 0; border-left: 1px solid var(--line); }
.store-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.store-card { min-height: 190px; padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .18s ease; }
.store-card:hover { background: white; }
.store-card-top, .store-card-bottom { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.store-card-top span { color: var(--coral); }
.store-card h2 { margin: 15px 0 3px; font: 600 17px/1.5 var(--serif); }
.store-card p { margin: 0 0 20px; color: var(--muted); font-size: 11px; }
.store-card-bottom { padding-top: 9px; border-top: 1px solid var(--line); }
.store-detail-hero { padding-top: 34px; }
.store-map-link { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 20px; color: var(--green); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.store-map-link > span:not(.sr-only) { color: var(--coral); }
.survey-summary { display: flex; align-items: center; gap: 12px; }
.survey-summary strong { font-size: 12px; }
.change-badge { width: 56px; text-align: center; padding: 2px 0; color: var(--green); background: #e5eee5; font-size: 9px; }
.change-badge.is-new { color: #a14531; background: #f8e9e3; }
.change-badge.change-up { color: #a14531; background: #f8e9e3; }
.change-badge.change-down { color: var(--green); background: #e5eee5; }
.removed-row { color: #7d8580; background: #f4f4f0; }
.removed-dash { width: 74px; text-align: right; }
.change-badge.is-removed { width: 64px; color: #777; background: #e6e7e2; }
.history-section { margin-top: 70px; }
.history-section h2 { margin-bottom: 18px; font-size: 22px; }
.history-list { border-top: 1px solid var(--line); }
.history-row { min-height: 52px; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); font-size: 12px; }
.history-row time { min-width: 170px; font-weight: 600; }
.history-row span { color: var(--muted); }
.history-entry { border-bottom: 1px solid var(--line); }
.history-entry > .history-row { margin: 0; border: 0; cursor: pointer; list-style: none; }
.history-entry > .history-row::-webkit-details-marker { display: none; }
.history-entry > .history-row::after { content: "+"; margin-left: auto; color: var(--coral); }
.history-entry[open] > .history-row::after { content: "−"; }
.history-products { padding: 0 15px 12px; border-top: 1px solid #e8ebe6; }
.history-product { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid #e8ebe6; font-size: 11px; }
.history-product:last-child { border-bottom: 0; }
.history-product strong { white-space: nowrap; }
.inventory-section { max-width: 1060px; padding-top: 30px; }
.form-block { margin-bottom: 46px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.form-block-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.form-block-heading > span { padding-top: 3px; color: var(--coral); font: 700 11px var(--sans); }
.form-block-heading h2 { margin: 0; font: 600 19px var(--serif); }
.form-block-heading p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 20px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: #4c5a51; font-size: 11px; font-weight: 600; }
.form-help { color: var(--muted); font-size: 10px; }
.field input, .field select, .recognition-controls input[type=file] { min-width: 0; height: 42px; padding: 0 11px; border: 1px solid #cbd4c9; border-radius: 0; outline-color: #52705c; background: white; color: var(--ink); font-size: 12px; }
.inline-field { display: flex; gap: 8px; }
.inline-field input { flex: 1; }
.light-button { min-height: 38px; padding: 0 12px; border: 1px solid #cbd4c9; background: white; color: var(--green); font-size: 11px; font-weight: 600; white-space: nowrap; }
.light-button:hover { background: #f0f4ee; }
.entry-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px 12px; padding: 16px 0; border-bottom: 1px solid #e4e9e1; }
.entry-row[hidden] { display: none; }
.entry-row > div { min-width: 0; }
.entry-row > div > label:not(.image-upload), .entry-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 600; }
.entry-search { grid-column: span 3; }
.entry-name { grid-column: span 7; }
.entry-image { grid-column: span 2; }
.entry-jan { grid-column: span 4; }
.entry-capacity { grid-column: span 2; }
.entry-maker { grid-column: span 4; }
.entry-price { grid-column: span 2; }
.entry-row input:not([type="hidden"]):not([type="checkbox"]), .entry-row select { width: 100%; min-width: 0; height: 38px; padding: 0 7px; border: 1px solid #cbd4c9; border-radius: 0; background: white; color: var(--ink); font-size: 12px; }
.maker-input-group { display: flex; align-items: center; gap: 6px; }
.maker-input-group > select { flex: 1; }
.product-search-input { display: flex; align-items: center; gap: 4px; }
.product-search-input input { min-width: 0; flex: 1; }
.remove-row { flex: 0 0 32px; width: 32px; height: 38px; padding: 0; border: 1px solid #cbd4c9; background: white; color: var(--coral); font-size: 20px; cursor: pointer; }
.remove-row:hover { background: #f0f4ee; }
.product-suggest { position: fixed; z-index: 30; max-height: 280px; margin: 0; padding: 0; overflow-y: auto; border: 1px solid #aab8a9; background: white; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); list-style: none; }
.product-suggest[hidden] { display: none; }
.product-suggest li { display: grid; gap: 2px; padding: 8px 10px; border-bottom: 1px solid #e4e9e1; font-size: 12px; cursor: pointer; }
.product-suggest li[data-jan]:hover { background: #f0f4ee; }
.product-suggest small { color: var(--muted); font-size: 10px; }
.lookup-result { display: grid; gap: 5px; margin-top: 6px; font-size: 11px; overflow-wrap: anywhere; }
.lookup-result[hidden] { display: none; }
.lookup-result p { margin: 0; color: var(--muted); }
.lookup-result a { color: var(--green); text-decoration: underline; }
.lookup-result button { white-space: normal; text-align: left; }
.product-preview { display: block; width: 52px; height: 52px; margin: 0 auto 5px; object-fit: contain; }
.product-preview[hidden] { display: none; }
.image-upload { display: block; color: var(--green); font-size: 9px; text-align: center; cursor: pointer; }
.image-upload input { display: none; }
.detail-product-image { float: right; width: 130px; height: 150px; margin: 0 8vw 10px 24px; object-fit: contain; }
.add-row { margin-top: 13px; }
@media (max-width: 700px) {
  .entry-search, .entry-name, .entry-jan, .entry-maker { grid-column: span 12; }
  .entry-image, .entry-capacity, .entry-price { grid-column: span 4; }
}
.recognition-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 280px); gap: 24px; align-items: start; }
.recognition-preview-button { width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.recognition-preview-button[hidden] { display: none; }
.recognition-preview { display: block; width: 100%; max-height: 280px; object-fit: contain; }
.recognition-zoom { width: min(94vw, 1100px); max-width: none; height: min(90vh, 900px); max-height: none; padding: 0; border: 1px solid var(--line); background: white; }
.recognition-zoom::backdrop { background: rgba(0, 0, 0, .7); }
.recognition-zoom[open] { display: flex; flex-direction: column; }
.recognition-zoom-toolbar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink); font-size: 12px; }
.recognition-zoom-toolbar input { flex: 1; min-width: 0; max-width: 260px; }
.recognition-zoom-toolbar output { min-width: 38px; }
.recognition-zoom-toolbar button { width: 36px; height: 36px; margin-left: auto; border: 1px solid var(--line); background: white; font-size: 24px; cursor: pointer; }
.recognition-zoom-view { flex: 1; min-height: 0; overflow: auto; background: #e8ebe6; }
.recognition-zoom-view img { display: block; width: 100%; max-width: none; height: auto; }
.recognition-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.recognition-controls input[type=file] { max-width: 360px; height: auto; padding: 8px; }
.recognition-controls .outline-button { color: var(--green); border-color: #aab8a9; }
#recognition-status { color: var(--green); font-size: 11px; }
.privacy-note, .notice { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.notice { padding: 12px 14px; border-left: 3px solid var(--lime); background: #f1f4eb; font-size: 11px; }
.submit-row { display: flex; justify-content: space-between; align-items: center; }
.text-link { color: var(--muted); font-size: 12px; }
.primary-button { min-height: 48px; padding: 0 22px; border: 0; background: var(--green); color: white; font-size: 12px; font-weight: 600; }
.primary-button span { margin-left: 14px; color: var(--lime); }
.field ul.errorlist, .form-errors ul.errorlist { margin: 0; padding: 0; color: #a6382b; list-style: none; font-size: 11px; }
.messages { max-width: 1120px; margin: 15px auto 0; padding: 0 24px; }
.message { margin: 0; padding: 10px 14px; border-left: 3px solid var(--green); background: #e8eee8; font-size: 12px; }
.message.error { border-color: var(--coral); background: #f9ece8; }
.login-section { max-width: 460px; margin: 0 auto; padding: 35px 24px 100px; }
.login-section form { display: grid; gap: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .site-header { height: auto; min-height: 72px; padding: 12px 5vw; gap: 18px; flex-wrap: wrap; }
  .main-nav { gap: 18px; }
  .main-nav a:not(.nav-register)::after { bottom: 5px; }
  .account-nav { display: none; }
  .home-intro { padding-right: 7vw; padding-left: 7vw; }
  .section, .map-section { padding-right: 7vw; padding-left: 7vw; }
  .rare-grid, .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-stamp { width: 180px; height: 180px; flex-basis: 180px; margin-right: 0; }
  .intro-stamp strong { font-size: 70px; }
}
@media (max-width: 620px) {
  .home-story { padding: 52px 6vw; }
  .home-story-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .home-story-copy h2 { font-size: 22px; }
  .recognition-layout { grid-template-columns: minmax(0, 1fr); }
  .recognition-preview { max-width: 280px; }
  body { font-size: 14px; }
  .site-header { gap: 8px 14px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand small { font-size: 8px; }
  .main-nav { order: 2; width: 100%; height: 38px; margin: 0; gap: 8px; justify-content: space-between; font-size: 11px; }
  .main-nav a:not(.nav-register)::after { bottom: 0; }
  .nav-register { padding: 5px 8px; }
  .home-intro { min-height: 0; padding: 51px 7vw 45px; }
  .home-intro::after { width: 70%; }
  .home-intro h1 { font-size: 35px; line-height: 1.55; }
  .intro-lead { font-size: 12px; }
  .intro-stamp { display: none; }
  .hero-search { height: 48px; }
  .hero-search button { min-width: 82px; }
  .intro-links { gap: 18px; font-size: 10px; }
  .local-loop { gap: 5px; margin-top: -6px; margin-bottom: 20px; font-size: 8px; }
  .local-loop span { padding: 4px 6px; }
  .section { padding: 56px 6vw 64px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2, .map-copy h2 { font-size: 21px; }
  .section-heading p:not(.eyebrow) { font-size: 10px; }
  .arrow-link { font-size: 10px; white-space: nowrap; }
  .rare-grid, .store-grid { grid-template-columns: 1fr; }
  .rare-item { min-height: 0; padding: 19px 17px; }
  .map-section { padding: 50px 6vw; grid-template-columns: 1fr; gap: 24px; }
  .map-copy { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; }
  .map-copy .eyebrow, .map-copy h2, .map-copy > p { grid-column: 1 / -1; }
  .map-copy .outline-button { grid-column: 1; }
  .map-copy .arrow-link { grid-column: 2; grid-row: 4; margin: 0; }
  .map-frame { height: 290px; }
  .closing-note { min-height: 0; padding: 35px 6vw; gap: 14px; flex-wrap: wrap; }
  .closing-mark { font-size: 38px; }
  .closing-note p { min-width: calc(100% - 60px); font-size: 14px; }
  .closing-note a { margin-left: 52px; }
  .site-footer { padding: 24px 6vw; gap: 14px; flex-wrap: wrap; }
  .site-footer > p { font-size: 10px; }
  .site-footer > span { width: 100%; font-size: 9px; }
  .page-heading { padding: 43px 6vw 32px; }
  .page-heading h1, .detail-hero h1 { font-size: 29px; }
  .page-heading > p:last-child { font-size: 11px; }
  .content-section { padding: 30px 6vw 64px; }
  .search-bar { height: 48px; }
  .search-bar button { min-width: 78px; }
  .store-search { height: auto; flex-wrap: wrap; border: 0; gap: 7px; background: transparent; }
  .store-search label:first-child { flex-basis: 100%; height: 46px; border: 1px solid var(--line); background: white; }
  .store-search select { flex: 1; border: 1px solid var(--line); }
  .store-search button { min-height: 40px; }
  .catalog-row { min-height: 69px; gap: 11px; padding: 9px 5px; }
  .catalog-initial { width: 37px; height: 37px; }
  .catalog-main b { font-size: 12px; }
  .catalog-capacity { font-size: 10px; }
  .breadcrumbs { padding: 16px 6vw; font-size: 10px; }
  .detail-hero { padding: 27px 6vw 33px; }
  .detail-maker { font-size: 11px; }
  .product-facts { gap: 16px; flex-wrap: wrap; }
  .product-facts div { min-width: 130px; }
  .product-facts strong { font-size: 11px; }
  .filter-line { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  .filter-line label { width: 100%; }
  .filter-line select { flex: 1; }
  .price-row { min-height: 66px; gap: 10px; padding: 8px 4px; }
  .price-rank { width: 23px; font-size: 11px; }
  .price-store b { font-size: 11px; }
  .price-store small { font-size: 9px; }
  .price-value { font-size: 16px; }
  .store-card { min-height: 165px; }
  .history-row { gap: 13px; font-size: 10px; }
  .history-row time { min-width: 125px; }
  .inventory-section { padding-top: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .inline-field { flex-wrap: wrap; }
  .inline-field .light-button { width: 100%; }
  .recognition-controls { align-items: stretch; flex-direction: column; }
  .recognition-controls input[type=file] { max-width: 100%; }
  .submit-row { gap: 15px; }
  .primary-button { padding: 0 14px; font-size: 11px; }
}