
      :root {
        color-scheme: light dark;
        --bg: #f7f4ee;
        --surface: #fffdf9;
        --surface-2: #f0ebe1;
        --ink: #23201b;
        --ink-2: #5c564c;
        --ink-3: #8a8378;
        --line: #ddd5c6;
        --accent: #c93a1e;
        --accent-ink: #ffffff;
        --accent-soft: #fbe9e3;
        --strict: #b3261e;
        --strict-bg: #fbe7e4;
        --moderate: #96660a;
        --moderate-bg: #faf0d7;
        --lenient: #1e6b34;
        --lenient-bg: #e2f2e5;
        --unknown: #5c564c;
        --unknown-bg: #eceade;
        --new: #0f5f8f;
        --new-bg: #e0eef7;
        --first: #8a5a00;
        --first-bg: #fdf0cd;
        --warn-bg: #faf0d7;
        --warn-ink: #7a5a08;
        --danger: #b3261e;
        --shadow: 0 10px 32px rgba(35, 32, 27, 0.16);
        --radius: 14px;
      }
      @media (prefers-color-scheme: dark) {
        :root {
          --bg: #16171a;
          --surface: #1f2126;
          --surface-2: #26282e;
          --ink: #f0ede6;
          --ink-2: #b8b2a6;
          --ink-3: #8a8578;
          --line: #35373e;
          --accent: #e2573a;
          --accent-soft: #3a2320;
          --strict: #f0938a;
          --strict-bg: #3d2321;
          --moderate: #e5c069;
          --moderate-bg: #38301c;
          --lenient: #8fd79e;
          --lenient-bg: #1e3324;
          --unknown: #b8b2a6;
          --unknown-bg: #2c2e33;
          --new: #8ec9ec;
          --new-bg: #1d3040;
          --first: #e5c069;
          --first-bg: #38301c;
          --warn-bg: #38301c;
          --warn-ink: #e5c069;
          --shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
        }
      }
      * { box-sizing: border-box; }
      html { -webkit-text-size-adjust: 100%; }
      body {
        margin: 0;
        background: var(--bg);
        color: var(--ink);
        font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
        font-size: 16px;
        line-height: 1.6;
      }
      button, [role="button"], select, summary, input:not([type="checkbox"], [type="radio"]), textarea { min-height: 2.25rem; }
      button { font: inherit; cursor: pointer; }
      input, select, textarea { font: inherit; color: var(--ink); }
      .wrap { max-width: 760px; margin: 0 auto; padding: 16px 16px 120px; }

      /* ---------- lead / search ---------- */
      .lead { margin: 10px 0 18px; }
      .lead h1 { font-size: 1.6rem; font-weight: 900; margin: 0 0 6px; letter-spacing: 0.02em; }
      .lead p { margin: 0; color: var(--ink-2); font-size: 0.9rem; }
      .searchbox { position: relative; margin-top: 14px; }
      .searchbox .icon {
        position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
        width: 20px; height: 20px; color: var(--ink-3); pointer-events: none;
      }
      .searchbox input {
        width: 100%; padding: 12px 44px 12px 42px;
        border: 1.5px solid var(--line); border-radius: 999px;
        background: var(--surface); font-size: 1rem;
      }
      .searchbox input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
      .searchbox .clear {
        position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
        border: 0; background: transparent; color: var(--ink-3);
        width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem; display: none;
        align-items: center; justify-content: center;
      }
      .searchbox.has-text .clear { display: flex; }

      /* ---------- suggestions ---------- */
      .suggest {
        position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40;
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        box-shadow: var(--shadow); overflow: hidden; display: none;
        max-height: 46vh; overflow-y: auto;
      }
      .suggest.open { display: block; }
      .suggest .loading-line {
        padding: 10px 14px; font-size: 0.8rem; color: var(--ink-3); border-top: 1px solid var(--line);
      }
      .suggest .loading-line:first-child { border-top: 0; }
      .suggest button.item {
        display: flex; width: 100%; align-items: flex-start; gap: 8px; text-align: left;
        padding: 10px 14px; border: 0; background: transparent; color: var(--ink);
        border-top: 1px solid var(--line); min-height: 44px;
      }
      .suggest button.item:active { background: var(--surface-2); }
      .suggest .item-main {
        flex: 1 1 auto; min-width: 0;
        display: flex; flex-direction: column;
      }
      .suggest .shop { font-weight: 700; min-width: 0; overflow-wrap: break-word; }
      .suggest .meta { font-size: 0.78rem; color: var(--ink-3); margin-top: 1px; overflow-wrap: break-word; }
      .suggest button.item:first-of-type { border-top: 0; }
      .suggest .hp-note { padding: 8px 14px 10px; font-size: 0.78rem; color: var(--ink-3); border-top: 1px solid var(--line); }
      .site-footer { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; font-size: 0.82rem; color: var(--ink-2); }
      .site-footer p { margin: 4px 0; }
      .site-footer a { color: var(--accent); }
      .site-footer .footer-link {
        background: none; border: 0; color: var(--accent); text-decoration: underline;
        padding: 4px 6px; font-size: inherit; min-height: auto; cursor: pointer;
      }

      /* ---------- filters ---------- */
      .filters { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
      /* 厳しさタブ（v42: 従来のチップ欄をタブUIに変更。下線型タブ＋狭幅では横スクロール） */
      .strict-tabs {
        display: flex; flex-wrap: nowrap; gap: 2px; overflow-x: auto;
        border-bottom: 2px solid var(--line);
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
      }
      .strict-tabs::-webkit-scrollbar { display: none; }
      .strict-tab {
        flex: 0 0 auto; white-space: nowrap; border: 0; background: transparent;
        color: var(--ink-2); font-weight: 700; font-size: 0.92rem;
        padding: 9px 13px 7px; margin-bottom: -2px; min-height: 42px;
        border-bottom: 3px solid transparent; border-radius: 8px 8px 0 0;
      }
      .strict-tab:hover { background: var(--surface-2); color: var(--ink); }
      .strict-tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
      .strict-tab .tab-count { font-size: 0.78rem; font-weight: 700; color: var(--ink-3); margin-left: 5px; }
      .strict-tab[aria-selected="true"] .tab-count { color: var(--accent); }
      .chip {
        border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2);
        border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.88rem; min-height: 38px;
      }
      .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
      .filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
      .sort-toggle { display: flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
      .sort-toggle button {
        border: 0; background: var(--surface); color: var(--ink-2); padding: 8px 12px;
        font-size: 0.85rem; font-weight: 700; min-height: 42px;
      }
      .sort-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
      .count-line { color: var(--ink-2); font-size: 0.88rem; margin: 14px 2px 10px; }
      .count-line strong { color: var(--ink); font-size: 1rem; }
      /* ---------- my records filter (v22) ---------- */
      .my-filter { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }


      /* ---------- status banner ---------- */
      .banner {
        border: 1px solid var(--line); border-radius: var(--radius);
        background: var(--warn-bg); color: var(--warn-ink);
        padding: 12px 14px; font-size: 0.9rem; margin: 14px 0; display: none;
      }
      .banner.show { display: block; }
      .banner button {
        margin-top: 8px; border: 1.5px solid currentColor; background: transparent; color: inherit;
        border-radius: 8px; padding: 4px 14px; font-weight: 700;
      }

      /* ---------- record cards ---------- */
      .cards { display: flex; flex-direction: column; gap: 12px; }
      .card {
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 14px 16px;
      }
      .card-head { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
      .card h2 { font-size: 1.08rem; font-weight: 900; margin: 0; line-height: 1.4; }
      .area-chip {
        font-size: 0.75rem; font-weight: 700; color: var(--ink-2);
        background: var(--surface-2); border-radius: 999px; padding: 2px 9px; margin-top: 3px;
      }
      .badge-new {
        font-size: 0.72rem; font-weight: 900; color: var(--new); background: var(--new-bg);
        border-radius: 999px; padding: 2px 9px; margin-top: 3px;
      }
      .badge-first {
        font-size: 0.72rem; font-weight: 900; color: var(--first); background: var(--first-bg);
        border-radius: 999px; padding: 2px 9px; margin-top: 3px;
      }
      /* 投稿者の称号チップ（v30: 記録カード・コメントの表示名の横） */
      .title-chips { display: inline-flex; gap: 4px; flex-wrap: wrap; vertical-align: middle; }
      .title-chip {
        font-size: 0.68rem; font-weight: 900; color: var(--accent); background: var(--accent-soft);
        border-radius: 999px; padding: 1px 8px; white-space: nowrap;
      }
      .title-chip.first { color: var(--first); background: var(--first-bg); }
      .strict-badge {
        display: inline-block; font-weight: 900; font-size: 0.92rem;
        border-radius: 8px; padding: 3px 10px; margin-top: 10px;
      }
      .s-strict { background: var(--strict-bg); color: var(--strict); }
      .s-moderate { background: var(--moderate-bg); color: var(--moderate); }
      .s-lenient { background: var(--lenient-bg); color: var(--lenient); }
      .s-unknown { background: var(--unknown-bg); color: var(--unknown); }
      .card dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: 0.92rem; }
      .card dt { color: var(--ink-3); font-size: 0.82rem; padding-top: 2px; white-space: nowrap; }
      .card dd { margin: 0; }
      .memo { white-space: pre-wrap; word-break: break-word; }
      .old-note {
        margin-top: 10px; font-size: 0.82rem; color: var(--warn-ink); background: var(--warn-bg);
        border-radius: 8px; padding: 6px 10px;
      }
      .card-foot {
        margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
        display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
        font-size: 0.82rem; color: var(--ink-3);
      }
      .card-foot .spacer { flex: 1; }
      .mini-btn {
        border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
        border-radius: 8px; padding: 4px 12px; font-size: 0.85rem; font-weight: 700; min-height: 36px;
      }
      .mini-btn.danger { color: var(--danger); border-color: var(--danger); }
      /* ---------- reactions / comments (v22) ---------- */
      .social { margin-top: 12px; }
      .reactions { display: flex; flex-wrap: wrap; gap: 6px; }
      .react-btn {
        display: inline-flex; align-items: center; gap: 5px;
        border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2);
        border-radius: 999px; padding: 4px 11px; min-height: 34px;
        font-size: 0.88rem; font-weight: 700;
      }
      .react-btn .re { font-size: 1.02rem; line-height: 1; }
      .react-btn.on { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
      .comment-toggle { margin-top: 10px; }
      .comments { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 6px; }
      .comment { padding: 8px 0; border-bottom: 1px solid var(--line); }
      .comment-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.78rem; color: var(--ink-3); }
      .comment-head .spacer { flex: 1; }
      .comment-name { font-weight: 900; color: var(--ink-2); font-size: 0.85rem; }
      .comment-body { margin: 2px 0 0; font-size: 0.92rem; white-space: pre-wrap; word-break: break-word; }
      .comment-del { min-height: 30px; padding: 2px 10px; font-size: 0.78rem; }
      .comment-empty { color: var(--ink-3); font-size: 0.88rem; margin: 8px 0 0; }
      .comment-form { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
      .comment-input {
        width: 100%; padding: 10px 12px; border: 1.5px solid var(--line);
        border-radius: 10px; background: var(--surface); font-size: 1rem; min-height: 56px; resize: vertical;
      }
      .comment-input:focus, .comment-nick:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
      .comment-mode { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 0.88rem; }
      .comment-mode label { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
      .comment-mode input[type="radio"] { width: 18px; height: 18px; accent-color: var(--accent); }
      .comment-nick {
        width: 100%; padding: 9px 12px; border: 1.5px solid var(--line);
        border-radius: 10px; background: var(--surface); font-size: 1rem;
      }
      .comment-submit {
        border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
        font-weight: 900; font-size: 0.95rem; padding: 11px; min-height: 46px;
      }
      .comment-submit:disabled { opacity: 0.55; }
      .comment-note { font-size: 0.78rem; color: var(--ink-3); margin: 10px 0 0; }
      /* ---------- shop groups / favorites (v22) ---------- */
      .shop-group {
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 14px 16px;
      }
      .shop-head { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
      .shop-head h2 { font-size: 1.08rem; font-weight: 900; margin: 0; line-height: 1.4; }
      .shop-head h2 a.shop-page-link { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
      .shop-head .spacer { flex: 1; }
      .shop-count { font-size: 0.78rem; font-weight: 700; color: var(--ink-3); margin-top: 5px; }
      .fav-btn {
        border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2);
        border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; font-weight: 700; min-height: 36px;
      }
      .fav-btn.on { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
      .no-info-note { margin: 10px 0 0; font-size: 0.9rem; color: var(--ink-2); }

      /* ---------- v29: 店舗関係者向け導線 ---------- */
      .owner-note { margin-top: 20px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 14px 16px; font-size: 0.9rem; color: var(--ink-2); line-height: 1.7; }
      .owner-note h2 { font-size: 0.98rem; font-weight: 900; color: var(--ink); margin: 0 0 6px; }
      .owner-note p { margin: 0 0 8px; }
      .owner-note p:last-child { margin-bottom: 0; }
      .owner-note a { color: var(--accent); font-weight: 700; }
      .owner-link {
        display: inline-block; margin-top: 14px; border: 1.5px solid var(--line); background: var(--surface);
        color: var(--ink); border-radius: 999px; padding: 8px 18px; font-weight: 800; font-size: 0.92rem; text-decoration: none;
      }
      .record-entry { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
      .entry-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
      .entry-head .strict-badge { margin-top: 0; }
      .record-entry dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: 0.92rem; }
      .record-entry dt { color: var(--ink-3); font-size: 0.82rem; padding-top: 2px; white-space: nowrap; }
      .record-entry dd { margin: 0; }


      .empty {
        text-align: center; color: var(--ink-2); padding: 44px 16px;
        border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--surface);
      }
      .empty p { margin: 4px 0; }
      .loading { text-align: center; color: var(--ink-3); padding: 32px 0; }

      /* ---------- record button / sheet ---------- */
      .fab-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: color-mix(in srgb, var(--bg) 88%, transparent);
        backdrop-filter: blur(8px); border-top: 1px solid var(--line);
      }
      .fab-bar .inner { max-width: 760px; margin: 0 auto; }
      .record-btn {
        width: 100%; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
        font-weight: 900; font-size: 1.05rem; padding: 14px; min-height: 52px;
        display: flex; align-items: center; justify-content: center; gap: 8px;
      }
      .record-btn svg { width: 20px; height: 20px; }
      .sheet-backdrop {
        position: fixed; inset: 0; z-index: 60; background: rgba(10, 8, 6, 0.55);
        display: none; align-items: flex-end; justify-content: center;
      }
      .sheet-backdrop.open { display: flex; }
      .sheet {
        background: var(--surface); width: 100%; max-width: 760px; max-height: 92dvh; overflow-y: auto;
        border-radius: 20px 20px 0 0; padding: 18px 18px calc(20px + env(safe-area-inset-bottom));
      }
      @media (min-width: 700px) {
        .sheet-backdrop { align-items: center; padding: 24px; }
        .sheet { border-radius: 20px; }
      }
      .sheet-head { display: flex; align-items: center; margin-bottom: 6px; }
      .sheet-head h2 { font-size: 1.2rem; font-weight: 900; margin: 0; }
      .sheet-head .x {
        margin-left: auto; border: 0; background: var(--surface-2); border-radius: 50%;
        width: 38px; height: 38px; font-size: 1rem; color: var(--ink);
        display: flex; align-items: center; justify-content: center;
      }
      .field { margin-top: 16px; }
      .field > label, .field > .label { display: block; font-weight: 900; font-size: 0.92rem; margin-bottom: 6px; }
      .field .hint { font-size: 0.8rem; color: var(--ink-3); margin-top: 4px; }
      .field input[type="text"], .field input[type="date"], .field input[type="email"], .field textarea, .field select {
        width: 100%; padding: 11px 12px; border: 1.5px solid var(--line);
        border-radius: 10px; background: var(--surface); font-size: 1rem;
      }
      .field textarea { min-height: 76px; resize: vertical; }
      .field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
      .report-intro { margin: 4px 0 2px; font-size: 0.9rem; color: var(--ink-2); line-height: 1.7; }
      .report-success { text-align: center; padding: 28px 8px 8px; display: none; }
      .report-success.show { display: block; }
      .report-success .check {
        width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%;
        background: var(--lenient-bg); color: var(--lenient);
        display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900;
      }
      .report-success p { margin: 0 0 6px; font-weight: 900; font-size: 1.02rem; color: var(--ink); }
      .report-success .sub { font-weight: 400; font-size: 0.88rem; color: var(--ink-2); }
      .report-form-wrap.hide { display: none; }
      .shop-input-wrap { position: relative; }
      .area-preview { font-size: 0.85rem; color: var(--ink-2); margin-top: 6px; min-height: 1.4em; }
      .area-preview strong { color: var(--accent); }
      .choices { display: flex; flex-direction: column; gap: 8px; }
      .choice {
        display: flex; gap: 10px; align-items: flex-start;
        border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer;
      }
      .choice input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
      .choice .t { font-weight: 900; }
      .choice .d { font-size: 0.82rem; color: var(--ink-2); display: block; }
      .choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
      .choices.inline { flex-direction: row; flex-wrap: wrap; }
      .choices.inline .choice { flex: 1 1 140px; align-items: center; }
      .choices.inline .choice input { margin-top: 0; }
      .nickname-row { margin-top: 8px; display: none; }
      .nickname-row.show { display: block; }
      .form-error { color: var(--danger); font-size: 0.88rem; font-weight: 700; margin-top: 12px; display: none; }
      .form-error.show { display: block; }
      .sheet-actions { display: flex; gap: 10px; margin-top: 20px; }
      .btn-primary {
        flex: 1; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
        font-weight: 900; font-size: 1rem; padding: 13px; min-height: 50px;
      }
      .btn-primary:disabled { opacity: 0.55; }
      .btn-ghost {
        border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
        border-radius: 999px; font-weight: 700; padding: 13px 18px; min-height: 50px;
      }

      /* ---------- confirm dialog ---------- */
      .dialog-backdrop {
        position: fixed; inset: 0; z-index: 70; background: rgba(10, 8, 6, 0.55);
        display: none; align-items: center; justify-content: center; padding: 20px;
      }
      .dialog-backdrop.open { display: flex; }
      .dialog { background: var(--surface); border-radius: 16px; padding: 20px; max-width: 420px; width: 100%; }
      .dialog h2 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 900; }
      .dialog p { margin: 0; color: var(--ink-2); font-size: 0.92rem; }
      .dialog .row { display: flex; gap: 10px; margin-top: 18px; }
      .dialog .row button { flex: 1; border-radius: 999px; padding: 11px; font-weight: 900; min-height: 46px; }
      .btn-danger { border: 0; background: var(--danger); color: #fff; }
      .btn-cancel { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }

      /* ---------- toast ---------- */
      .toast {
        position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(16px);
        background: var(--ink); color: var(--bg); border-radius: 999px; padding: 10px 20px;
        font-weight: 700; font-size: 0.92rem; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
        z-index: 80; max-width: calc(100vw - 32px); text-align: center;
      }
      .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
      @media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

      /* ---------- area nav (v15) ---------- */
      .area-nav { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
      .area-nav h2 { font-size: 1.1rem; font-weight: 900; margin: 0 0 6px; }
      .area-nav .region { font-size: 0.82rem; font-weight: 900; color: var(--ink-3); margin: 14px 0 6px; }
      .area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
      .area-list a {
        display: inline-block; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
        border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.88rem; text-decoration: none;
      }
      .area-list a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
      .back-link { display: inline-block; margin-bottom: 10px; color: var(--accent); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
      .cta-link {
        display: inline-block; margin-top: 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
        font-weight: 900; padding: 12px 26px; text-decoration: none;
      }
    
      .about-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.9rem; line-height: 1.8; }
      .about-note h2 { font-size: 1.05rem; font-weight: 900; color: var(--ink); margin: 0 0 8px; }
      .about-note p { margin: 0 0 10px; }
      .about-note a { color: var(--accent); }
      .age-note { font-size: 0.8rem; color: var(--ink-3); margin: 10px 0 0; line-height: 1.6; }

      /* ---------- share buttons (v26) ---------- */
      .share-btns { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
      .share-btn {
        border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2);
        border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; font-weight: 700; min-height: 36px;
        display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; font-family: inherit;
      }
      .share-btn.share-line { color: #06c755; border-color: #06c755; }
      .share-btn.share-x { color: var(--ink); }
      .toast.has-actions { pointer-events: auto; border-radius: 20px; }
      .toast-share-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
      .toast-share-label { font-size: 0.85rem; }
      .toast .share-btn { background: transparent; border-color: var(--bg); color: var(--bg); min-height: 32px; }
      .toast .share-btn.share-line { color: #7ee2a8; border-color: #7ee2a8; }
      .shop-breakdown { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
      .shop-breakdown .strict-badge { margin-top: 0; }

      /* ---------- v27: 季節バナー ---------- */
      .season-banner {
        position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
        background: var(--accent-soft); border: 1.5px solid var(--accent);
        border-radius: 14px; padding: 12px 44px 12px 14px; margin-bottom: 14px;
      }
      .season-banner[hidden] { display: none; }
      .season-banner-text { margin: 0; font-size: 0.9rem; font-weight: 700; line-height: 1.6; flex: 1 1 260px; }
      .season-banner-links { display: inline-flex; gap: 8px; flex-wrap: wrap; }
      .season-banner-links a {
        font-size: 0.85rem; font-weight: 900; color: var(--accent); text-decoration: none;
        border: 1.5px solid var(--accent); border-radius: 999px; padding: 5px 13px; background: var(--surface);
      }
      .season-banner-close {
        position: absolute; top: 6px; right: 6px; width: 34px; height: 34px;
        border: 0; background: transparent; color: var(--ink-2); font-size: 1rem; cursor: pointer; border-radius: 8px;
      }

      /* ---------- v27: 数字の見える化・新着・エリア ---------- */
      .stats { margin: 4px 0 6px; }
      .stats-line { margin: 0 0 4px; font-size: 1.02rem; font-weight: 700; color: var(--ink-2); }
      .stats-line strong { font-size: 1.45rem; font-weight: 900; color: var(--accent); padding: 0 2px; }
      .stats h2 { font-size: 1rem; font-weight: 900; margin: 12px 0 6px; }
      .weekly-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
      /* ---------- v28: 今週の新着記録の開閉トグル ---------- */
      .weekly-toggle { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; width: 100%; background: none; border: none; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
      .weekly-arrow { font-size: 0.75em; color: var(--ink-3); }
      /* ---------- v36: 折りたたみ見出しの件数バッジ・最新店名 ---------- */
      .toggle-badge { flex: none; font-size: 0.72rem; font-weight: 900; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 2px 9px; line-height: 1.5; }
      .toggle-badge[hidden] { display: none; }
      .toggle-latest { font-size: 0.8rem; font-weight: 500; color: var(--ink-3); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      .weekly.closed .weekly-list { display: none; }
      .weekly-item {
        display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
        background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
        padding: 9px 12px; text-decoration: none; color: var(--ink);
      }
      .weekly-shop { font-weight: 900; }
      .weekly-area { font-size: 0.8rem; color: var(--ink-2); }
      .weekly-item .strict-badge { margin-top: 0; font-size: 0.8rem; }
      .weekly-date { font-size: 0.8rem; color: var(--ink-3); margin-left: auto; }
      /* 自分の飲み会ログ（v30） */
      .mylog {
        margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius);
        background: var(--surface); padding: 10px 12px;
      }
      .mylog h2 { margin: 0 0 6px; }
      .mylog-news {
        margin: 0 0 10px; font-size: 0.9rem; font-weight: 700; color: var(--warn-ink);
        background: var(--warn-bg); border-radius: 8px; padding: 8px 10px;
      }
      .mylog-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
      .mylog-badge {
        font-size: 0.85rem; font-weight: 900; color: var(--accent); background: var(--accent-soft);
        border-radius: 999px; padding: 3px 12px;
      }
      .mylog-badge.first { color: var(--first); background: var(--first-bg); }
      .mylog-line { margin: 0; font-size: 1rem; font-weight: 700; color: var(--ink-2); }
      .mylog-line strong { font-size: 1.35rem; font-weight: 900; color: var(--accent); padding: 0 2px; }
      .mylog-ref { margin: 4px 0 0; font-size: 0.92rem; color: var(--ink-2); }
      .mylog-ref strong { font-weight: 900; color: var(--accent); }
      .mylog-next { margin: 6px 0 0; font-size: 0.82rem; color: var(--ink-3); }
      .mylog-empty { margin: 0; font-size: 0.92rem; color: var(--ink-2); }
      /* エリア制覇（v38）: 県ごとの店舗数チップ。称号ありは金系（.first と同じ配色） */
      .mylog-prefs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
      .mylog-pref-chip {
        font-size: 0.8rem; font-weight: 700; color: var(--ink-2); background: var(--surface-2);
        border-radius: 999px; padding: 2px 10px; white-space: nowrap;
      }
      .mylog-pref-chip.titled { color: var(--first); background: var(--first-bg); font-weight: 900; }

      /* ---------- v27: 投稿フォーム簡略化 ---------- */
      .form-lead { margin: 0 0 14px; font-weight: 900; font-size: 0.98rem; background: var(--accent-soft); border-radius: 10px; padding: 9px 12px; }
      /* ---------- v32: 最初の記録バッジの説明キャプション ---------- */
      .badge-note { margin: 8px 0 0; font-size: 0.85rem; font-weight: 700; color: var(--first); }
      .record-cta-wrap .badge-note { text-align: center; }
      .optional-head { margin: 20px 0 10px; font-size: 0.85rem; font-weight: 900; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 14px; }
      .choices.strict-choices { gap: 10px; }
      .choices.strict-choices .choice { padding: 15px 14px; min-height: 58px; align-items: center; border-radius: 14px; }
      .choices.strict-choices .choice input { width: 24px; height: 24px; margin-top: 0; }
      .choices.strict-choices .choice .t { font-size: 1.06rem; }

      /* ---------- v27: マップリンク・候補リスト・報告 ---------- */
      .map-link {
        font-size: 0.82rem; font-weight: 700; color: var(--ink-2); text-decoration: none;
        border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 12px; background: var(--surface);
        display: inline-flex; align-items: center; min-height: 34px;
      }
      .list-actions { margin: 2px 0 10px; }
      .list-actions[hidden] { display: none; }
      .copy-list-btn {
        border: 1.5px solid var(--accent); background: var(--surface); color: var(--accent);
        border-radius: 999px; font-weight: 900; font-size: 0.9rem; padding: 9px 18px; min-height: 42px; cursor: pointer;
      }
      a.mini-btn { text-decoration: none; display: inline-flex; align-items: center; }
      .shop-ext-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
      .shop-ext-links a {
        font-size: 0.88rem; font-weight: 900; text-decoration: none;
        border: 1.5px solid var(--accent); color: var(--accent); background: var(--surface);
        border-radius: 999px; padding: 8px 16px; display: inline-flex; align-items: center; min-height: 40px;
      }
      .shop-ext-links a.map-ext { border-color: var(--line); color: var(--ink-2); }

      /* ---------- v27: サジェストのエリア候補 ---------- */
      .suggest .item.area-item { background: var(--accent-soft); }
      .suggest .area-badge {
        flex: none; align-self: center; font-size: 0.72rem; font-weight: 900; color: var(--accent-ink);
        background: var(--accent); border-radius: 999px; padding: 2px 9px;
      }

      /* ---------- v31: 検索中は中間セクションを畳む ---------- */
      /* 対象: 季節バナー（#season-banner）と統計ブロック（#stats = 統計ライン・
         自分の飲み会ログ・今週の新着・記録が集まっているエリア）。
         v35で地図セクション（#map-section）も対象に追加（中間セクションとして扱う）。
         フィルタと件数表示行は結果表示の一部なので畳まない。 */
      body.is-searching #season-banner,
      body.is-searching #stats,
      body.is-searching #map-section { display: none; }
      /* 検索確定時のスクロール先（件数表示行）が画面上端に張り付かないよう余白を確保 */
      .count-line { scroll-margin-top: 12px; }

      /* ---------- v35: ヒーローの20歳以上注意 ---------- */
      .age-note { margin: 6px 0 0; font-size: 0.78rem; color: var(--ink-3); }

      /* ---------- v35: 地図で見る ---------- */
      .map-section { margin: 4px 0 6px; }
      .map-section h2 { font-size: 1rem; font-weight: 900; margin: 12px 0 8px; }
      .map-toggle { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; width: 100%; background: none; border: none; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
      .map-arrow { font-size: 0.75em; color: var(--ink-3); }
      .map-wrap[hidden] { display: none; }
      .map-canvas {
        width: 100%; height: 420px; border: 1px solid var(--line); border-radius: var(--radius);
        background: var(--surface); z-index: 0;
      }
      .map-note { margin: 8px 0 0; font-size: 0.82rem; color: var(--ink-3); }
      .map-pop-name { margin: 0 0 4px; font-weight: 900; font-size: 0.95rem; }
      .map-pop-meta { margin: 0 0 2px; font-size: 0.82rem; color: #555; }
      .map-pop-link { display: inline-block; margin-top: 6px; font-size: 0.85rem; font-weight: 700; }
