/* catalog E-3 P2 — 現行 P3（ポスターなし） */
:root {
  --machi-bg:#F6F5F0; --machi-surface:#FFFFFF; --machi-surface-2:#FBFAF6;
  --machi-border:#E7E4DB; --machi-border-strong:#D6D2C7;
  --machi-ink-1:#10141B; --machi-ink-2:#4A5462; --machi-ink-2-5:#556069; --machi-ink-3:#5C6572; --machi-ink-4:#B7BCC5;
  --machi-accent:#0B6E5A; --machi-accent-weak:#E4F1EC; --machi-accent-ink:#063F34;
  --machi-status-live-bg:#E7F5E9; --machi-status-live-fg:#1F7A32;
  --machi-status-today-bg:#0B6E5A; --machi-status-today-fg:#FFFFFF;
  --machi-status-soon-bg:#FFF3E0; --machi-status-soon-fg:#9A4A00;
  --machi-status-neutral-bg:#EEECE4; --machi-status-neutral-fg:#4A5462;
  --machi-cat-family:#B83266; --machi-cat-music:#7A4BD6; --machi-cat-art:#4B5FD6;
  --machi-cat-festival:#C4550F; --machi-cat-sports:#C23434; --machi-cat-learn:#0C7070;
  --machi-cat-biz:#4A5462; --machi-cat-food:#9A680E; --machi-cat-nature:#217A35;
}
* { box-sizing: border-box; }
body { margin:0; font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; color:var(--machi-ink-1); background:var(--machi-bg); line-height:1.55; -webkit-font-smoothing:antialiased; }
a { color:var(--machi-accent-ink); }
.shell-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; }
.shell-header {
  position:sticky; top:0; z-index:10;
  border-bottom:1px solid var(--machi-border);
  background:color-mix(in srgb, var(--machi-bg) 95%, transparent); backdrop-filter:blur(8px);
}
/* 本番詳細: max-w-4xl → lg:max-w-6xl → xl:max-w-[1440px] */
.shell-header-inner, .shell-main, .shell-footer-inner {
  width:100%; max-width:56rem; margin-left:auto; margin-right:auto;
  padding-left:12px; padding-right:12px; box-sizing:border-box;
}
@media (min-width:640px) {
  .shell-header-inner, .shell-main, .shell-footer-inner { padding-left:16px; padding-right:16px; }
}
@media (min-width:1024px) {
  .shell-header-inner, .shell-main, .shell-footer-inner { max-width:72rem; }
}
@media (min-width:1280px) {
  .shell-header-inner, .shell-main { max-width:1440px; }
  .shell-footer-inner { max-width:80rem; }
}
.shell-header-inner {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  padding-top:8px; padding-bottom:8px;
}
.shell-back { font-size:12px; font-weight:600; color:var(--machi-ink-2); text-decoration:none; }
.shell-back:hover { color:var(--machi-ink-1); }
.shell-back-spacer { width:1px; }
.shell-brand { font-size:12px; font-weight:700; text-decoration:none; color:var(--machi-ink-2); }
.shell-brand:hover { color:var(--machi-ink-1); }
.shell-site-footer { margin-top:32px; border-top:1px solid var(--machi-border); background:var(--machi-bg); }
.shell-footer-inner { padding-top:32px; padding-bottom:32px; }
.shell-footer-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:32px 16px; margin-bottom:32px;
}
@media (min-width:768px) {
  .shell-footer-grid { grid-template-columns:1fr 1fr 1fr; gap:24px; }
  .shell-footer-operator { order:1; }
  .shell-footer-about { order:2; }
  .shell-footer-grid > .shell-footer-col:nth-child(2) { order:3; }
  .shell-footer-operator { grid-column:auto; }
}
.shell-footer-operator { grid-column:1 / -1; }
@media (min-width:768px) { .shell-footer-operator { grid-column:auto; } }
.shell-site-footer h2 {
  margin:0 0 12px; font-size:13px; font-weight:700; letter-spacing:-0.01em; color:var(--machi-ink-1);
}
.shell-site-footer ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.shell-footer-stack { margin-bottom:20px; }
.shell-site-footer a {
  font-size:13px; color:var(--machi-ink-2); text-decoration:none;
}
.shell-site-footer a:hover { color:var(--machi-ink-1); text-decoration:underline; }
.shell-footer-org { font-weight:600; color:var(--machi-ink-1); }
.shell-footer-operator p { margin:0; font-size:13px; line-height:1.6; color:var(--machi-ink-2); }
.shell-footer-copy { border-top:1px solid var(--machi-border); padding-top:16px; }
.shell-footer-copy p { margin:0; font-size:12px; color:var(--machi-ink-2); }
.shell-main { padding-top:0; padding-bottom:48px; }
.shell-body-detail .shell-main { padding-top:0; }
.shell-hero { padding:20px 0 8px; }
.shell-hero h1 { font-size:1.5rem; font-weight:800; margin:0 0 8px; letter-spacing:-0.02em; }
.shell-lead { color:var(--machi-ink-3); font-size:14px; margin:0; }

/* LP / ホーム（RegionLpBody / page.tsx 相当） */
.shell-page-full { min-height:100vh; background:var(--machi-bg); }
.shell-lp-header, .shell-home-header, .shell-lp-main, .shell-home-main {
  width:100%; max-width:56rem; margin-left:auto; margin-right:auto;
  padding-left:16px; padding-right:16px; box-sizing:border-box;
}
@media (min-width:1024px) {
  .shell-lp-header, .shell-home-header, .shell-lp-main, .shell-home-main { max-width:72rem; }
}
@media (min-width:1280px) {
  .shell-lp-header, .shell-home-header, .shell-lp-main, .shell-home-main { max-width:1440px; }
}
.shell-lp-header { border-bottom:1px solid var(--machi-border); padding:16px 16px 16px; }
.shell-lp-back { font-size:13px; color:var(--machi-ink-2); text-decoration:none; }
.shell-lp-back:hover { color:var(--machi-ink-1); text-decoration:underline; }
.shell-lp-title { margin:4px 0 0; font-size:1.25rem; font-weight:700; letter-spacing:-0.02em; color:var(--machi-ink-1); }
@media (min-width:640px) { .shell-lp-title { font-size:1.375rem; } }
.shell-lp-subtitle { margin:2px 0 0; font-size:13px; color:var(--machi-ink-2); }
.shell-lp-main { padding:20px 16px 40px; }
.shell-lp-intro {
  margin-bottom:24px; padding:16px; border-radius:12px;
  border:1px solid var(--machi-border); background:var(--machi-surface);
}
.shell-lp-intro p { margin:0; font-size:14px; line-height:1.65; color:var(--machi-ink-1); }
.shell-weekend-promo {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom:24px; padding:14px 16px; border-radius:12px; text-decoration:none;
  border:1px solid var(--machi-border); background:var(--machi-surface);
}
.shell-weekend-promo:hover { background:var(--machi-surface-2); }
.shell-weekend-promo-title { margin:0; font-size:14px; font-weight:700; color:var(--machi-ink-1); }
.shell-weekend-promo-dates { margin:2px 0 0; font-size:12px; color:var(--machi-ink-2); }
.shell-weekend-promo-cta { font-size:14px; font-weight:600; color:var(--machi-accent-ink); }
.shell-lp-footer { margin-top:40px; padding-top:24px; border-top:1px solid var(--machi-border); }
.shell-lp-footer-label { margin:0 0 12px; font-size:12px; font-weight:600; color:var(--machi-ink-3); }
.shell-lp-footer-links { display:flex; flex-wrap:wrap; gap:8px; }
.shell-lp-footer-link {
  padding:6px 12px; border-radius:8px; border:1px solid var(--machi-border);
  background:var(--machi-surface); font-size:13px; color:var(--machi-ink-2); text-decoration:none;
}
.shell-lp-footer-link:hover { color:var(--machi-ink-1); }
.shell-lp-footer-muted { color:var(--machi-ink-3); }
.shell-lp-browse { margin-top:24px; text-align:center; }
.shell-lp-browse a { font-size:13px; font-weight:600; color:var(--machi-accent-ink); }
.shell-loading { text-align:center; padding:48px 0; font-size:14px; color:var(--machi-ink-3); }
.shell-scope-bar {
  display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:20px;
  font-size:13px; color:var(--machi-ink-2);
}
.shell-scope-bar a { color:var(--machi-accent-ink); font-weight:600; text-decoration:none; }

.shell-row-section { margin-bottom:20px; }
.shell-row-section-heading {
  margin:0 0 10px; font-size:13px; font-weight:700; color:var(--machi-ink-1);
}
.shell-scoped-list .shell-row-list-mobile { display:flex; flex-direction:column; gap:8px; }
.shell-scoped-list .shell-row-list-desktop { display:none; }
@media (min-width:768px) {
  .shell-scoped-list .shell-row-list-mobile { display:none; }
  .shell-scoped-list .shell-row-list-desktop {
    display:grid; gap:8px; grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (min-width:1280px) {
  .shell-scoped-list .shell-row-list-desktop { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

.shell-home-header { padding:16px 16px 12px; border-bottom:1px solid var(--machi-border); }
.shell-home-brand { font-size:1.25rem; font-weight:800; color:var(--machi-ink-1); text-decoration:none; }
.shell-home-today { margin:6px 0 0; font-size:12px; color:var(--machi-ink-2); }
.shell-home-promo-bar { border-bottom:1px solid var(--machi-border); background:var(--machi-surface); }
.shell-home-promo-inner {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  max-width:1440px; margin:0 auto; padding:10px 16px; text-decoration:none; color:inherit;
}
.shell-home-promo-title { margin:0; font-size:14px; font-weight:700; }
.shell-home-promo-cta { font-size:14px; font-weight:600; color:var(--machi-accent-ink); }
.shell-home-main { padding:16px 16px 24px; }
.shell-home-hub-title { margin:0; padding:0 4px; font-size:14px; font-weight:700; }
.shell-home-hub-sub { margin:4px 0 0; padding:0 4px; font-size:12px; color:var(--machi-ink-2); }
.shell-hub-pref { margin-top:20px; }
.shell-hub-pref-head { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; margin-bottom:8px; padding:0 4px; }
.shell-hub-pref-name { margin:0; font-size:11px; font-weight:600; color:color-mix(in srgb, var(--machi-ink-2) 90%, transparent); }
.shell-hub-pref-all { font-size:11px; font-weight:600; color:var(--machi-accent-ink); text-decoration:none; }
.shell-hub-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
@media (min-width:640px) { .shell-hub-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.shell-hub-card {
  display:block; padding:12px; border-radius:12px; text-decoration:none;
  border:1px solid var(--machi-border); background:var(--machi-surface);
}
.shell-hub-card:hover { border-color:var(--machi-accent); background:color-mix(in srgb, var(--machi-accent-weak) 40%, transparent); }
.shell-hub-card-title { display:block; font-size:13px; font-weight:600; color:var(--machi-ink-1); }
.shell-hub-card-sub { display:block; margin-top:2px; font-size:11px; color:var(--machi-ink-2); }
.shell-home-section-label { margin:0 0 8px; padding:0 4px; font-size:12px; font-weight:600; color:var(--machi-ink-2); }
.shell-home-section-label-spaced { margin-top:16px; }
.shell-home-month, .shell-home-prefs { margin-top:24px; }
.shell-month-scroll { display:flex; gap:8px; overflow-x:auto; padding-bottom:4px; }
.shell-month-chip, .shell-pref-chip {
  flex-shrink:0; padding:8px 16px; border-radius:999px; font-size:14px; font-weight:500;
  border:1px solid var(--machi-border); background:var(--machi-surface); color:var(--machi-ink-2); text-decoration:none;
}
.shell-month-chip-current, .shell-month-chip-accent {
  border-color:var(--machi-accent); background:var(--machi-accent); color:var(--machi-surface);
}
.shell-pref-row { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.shell-city-blocks { display:flex; flex-direction:column; gap:12px; }
.shell-city-pref-label { margin:0 0 6px; padding:0 4px; font-size:11px; font-weight:500; color:color-mix(in srgb, var(--machi-ink-2) 80%, transparent); }

.shell-detail-pill {
  display:inline-block; border-radius:999px; padding:1px 5px; font-size:11px; font-weight:600;
  letter-spacing:0.025em; line-height:1.3;
}
.shell-detail-pill-today { background:var(--machi-status-today-bg); color:var(--machi-status-today-fg); }
.shell-detail-pill-live { background:var(--machi-status-live-bg); color:var(--machi-status-live-fg); }
.shell-detail-pill-soon { background:var(--machi-status-soon-bg); color:var(--machi-status-soon-fg); }
.shell-detail-pill-neutral { background:var(--machi-status-neutral-bg); color:var(--machi-status-neutral-fg); }
.shell-hero-pills { max-width:calc(100% - 6rem); margin-bottom:8px; }
.shell-hero-pills .shell-callout { margin-top:8px; max-width:none; }
.shell-desktop-pill { margin-bottom:8px; }
@media (min-width:768px) { .shell-hero-pills { display:none; } }
@media (max-width:767px) { .shell-desktop-pill { display:none; } }

/* モバイル: カテゴリ tint 帯 + CategoryHeroMotif（ポスターなし） */
.shell-mobile-hero {
  position:relative; display:block; margin:0 -12px 12px; padding:16px 12px 12px;
  overflow:hidden; background:rgba(74,84,98,0.08);
}
.shell-mobile-hero[data-cat="family"] { background:rgba(184,50,102,0.08); }
.shell-mobile-hero[data-cat="music"] { background:rgba(122,75,214,0.08); }
.shell-mobile-hero[data-cat="art"] { background:rgba(75,95,214,0.08); }
.shell-mobile-hero[data-cat="festival"] { background:rgba(196,85,15,0.08); }
.shell-mobile-hero[data-cat="sports"] { background:rgba(194,52,52,0.08); }
.shell-mobile-hero[data-cat="learn"] { background:rgba(12,112,112,0.08); }
.shell-mobile-hero[data-cat="biz"] { background:rgba(74,84,98,0.08); }
.shell-mobile-hero[data-cat="food"] { background:rgba(154,104,14,0.08); }
.shell-mobile-hero[data-cat="nature"] { background:rgba(33,122,53,0.08); }
.shell-motif {
  position:absolute; right:-10px; top:-6px; z-index:0; pointer-events:none; user-select:none;
}
.shell-mobile-hero-inner { position:relative; z-index:1; }
.shell-desktop-head { display:none; padding:20px 0 8px; }
@media (min-width:768px) {
  .shell-mobile-hero { display:none; }
  .shell-desktop-head { display:block; }
}
.shell-mobile-hero .shell-event-title { max-width:calc(100% - 6rem); }
.shell-event-title { font-size:19px; font-weight:800; line-height:1.35; margin:0 0 10px; letter-spacing:-0.02em; color:var(--machi-ink-1); }
@media (min-width:768px) { .shell-event-title { font-size:1.75rem; margin:0 0 12px; max-width:none; } }
.shell-chips { display:flex; flex-wrap:nowrap; gap:6px; margin:0 0 8px; overflow:auto; }
.shell-chip {
  flex-shrink:0; font-size:11px; font-weight:600; padding:2px 8px; border-radius:6px;
  border:1px solid var(--machi-border); background:rgba(255,255,255,0.9); color:var(--machi-ink-2);
  text-decoration:none;
}
.shell-chip-primary {
  border-color:transparent; background:rgba(255,255,255,0.8); color:var(--machi-ink-1);
  border-left:3px solid var(--cat, var(--machi-cat-biz));
}
.shell-chip[data-cat="family"], .shell-chip-primary[data-cat="family"] { --cat:var(--machi-cat-family); color:var(--machi-cat-family); }
.shell-chip[data-cat="music"], .shell-chip-primary[data-cat="music"] { --cat:var(--machi-cat-music); }
.shell-chip[data-cat="art"], .shell-chip-primary[data-cat="art"] { --cat:var(--machi-cat-art); color:var(--machi-cat-art); }
.shell-chip[data-cat="festival"], .shell-chip-primary[data-cat="festival"] { --cat:var(--machi-cat-festival); }
.shell-chip[data-cat="sports"], .shell-chip-primary[data-cat="sports"] { --cat:var(--machi-cat-sports); }
.shell-chip[data-cat="learn"], .shell-chip-primary[data-cat="learn"] { --cat:var(--machi-cat-learn); }
.shell-chip[data-cat="biz"], .shell-chip-primary[data-cat="biz"] { --cat:var(--machi-cat-biz); }
.shell-chip[data-cat="food"], .shell-chip-primary[data-cat="food"] { --cat:var(--machi-cat-food); }
.shell-chip[data-cat="nature"], .shell-chip-primary[data-cat="nature"] { --cat:var(--machi-cat-nature); }
.shell-city-link {
  display:inline-block; margin-top:4px; font-size:11.5px; font-weight:600;
  color:var(--machi-ink-2-5); text-decoration:underline; text-underline-offset:2px;
  text-decoration-color:color-mix(in srgb, var(--machi-ink-2-5) 35%, transparent);
}
.shell-callout {
  margin:0 0 10px; padding:8px 12px; border-radius:8px; border:1px solid var(--machi-border);
  background:var(--machi-status-soon-bg); display:flex; flex-direction:column; gap:2px; max-width:calc(100% - 6rem);
}
.shell-callout strong { font-size:13px; color:var(--machi-status-soon-fg); }
.shell-callout span { font-size:12px; color:var(--machi-ink-2); }
.shell-banner {
  margin:12px 0; padding:12px 14px; border-radius:8px; border:1px solid var(--machi-border);
  background:var(--machi-surface-2);
}
.shell-banner p { margin:4px 0 0; font-size:12px; color:var(--machi-ink-3); }

/* 事実カード（EventFactSummary） */
.shell-facts-card {
  margin:0 0 16px; border-radius:12px; border:1px solid var(--machi-border); background:var(--machi-surface); overflow:hidden;
}
@media (min-width:768px) {
  .shell-facts-card-split { display:flex; align-items:stretch; }
  .shell-facts-card-split .shell-facts-left { flex:1; border-right:1px solid var(--machi-border); }
}
.shell-facts-left { margin:0; padding:4px 14px; }
@media (min-width:768px) { .shell-facts-left { padding:8px 20px; } }
.shell-fact-row {
  display:flex; gap:10px; padding:10px 0; border-bottom:1px solid var(--machi-border);
}
.shell-facts-left > .shell-fact-row:last-of-type { border-bottom:0; }
.shell-fact-row dt {
  width:2rem; flex-shrink:0; font-size:10.5px; font-weight:700; line-height:1.4; color:var(--machi-ink-2-5);
}
@media (min-width:768px) { .shell-fact-row dt { width:3.5rem; font-size:13px; font-weight:600; } }
.shell-fact-row dd { margin:0; flex:1; min-width:0; font-size:14px; line-height:1.4; color:var(--machi-ink-1); }
.shell-fact-strong { margin:0; font-size:14px; font-weight:800; line-height:1.35; color:var(--machi-ink-2-5); }
@media (min-width:768px) { .shell-fact-strong { font-size:18px; line-height:1.4; } }
.shell-venue-name { margin:0; font-size:13.5px; font-weight:700; line-height:1.35; color:var(--machi-ink-2-5); }
@media (min-width:768px) { .shell-venue-name { font-size:18px; } }
.shell-fact-sub { margin:2px 0 0; color:var(--machi-ink-3); font-size:11px; line-height:1.4; }
@media (min-width:768px) { .shell-fact-sub { font-size:15px; } }
.shell-inline-city { font-weight:600; color:var(--machi-accent-ink); text-decoration:none; }
.shell-inline-city:hover { text-decoration:underline; }
.shell-fact-venue-dd { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.shell-venue-block { min-width:0; }
.shell-nav-btn {
  flex-shrink:0; align-self:center; padding:8px 12px; border-radius:8px; border:1px solid var(--machi-accent);
  background:var(--machi-accent); color:var(--machi-surface); font-size:11.5px; font-weight:700; text-decoration:none; line-height:1;
}
@media (min-width:768px) { .shell-nav-btn { font-size:14px; padding:8px 14px; } }
.shell-about-mobile { border-top:1px solid var(--machi-border); padding:12px 0 14px; }
.shell-about-desktop { display:none; }
@media (min-width:768px) {
  .shell-about-mobile { display:none; }
  .shell-about-desktop { display:block; flex:1; min-width:0; padding:16px 20px; }
}
.shell-about-heading { font-size:14px; font-weight:600; margin:0 0 12px; color:var(--machi-ink-1); }
.shell-desc { margin:0; white-space:pre-wrap; color:var(--machi-ink-1); font-size:13px; line-height:1.6; }
@media (min-width:768px) { .shell-desc { font-size:16px; line-height:1.75; } }
.shell-official-hint { margin:10px 0 0; font-size:11px; line-height:1.4; color:var(--machi-ink-3); }
.shell-cta-outline {
  display:flex; align-items:center; justify-content:center; width:100%; margin-top:8px;
  height:40px; padding:0 16px; border-radius:8px; text-decoration:none; font-weight:600; font-size:12.5px;
  background:var(--machi-surface); color:var(--machi-accent-ink);
  border:1px solid color-mix(in srgb, var(--machi-accent) 60%, transparent);
}
.shell-cta-outline:hover { background:var(--machi-accent-weak); }
@media (min-width:768px) {
  .shell-cta-outline { margin-top:16px; height:auto; padding:12px 16px; font-size:14px; border-color:var(--machi-accent); }
}

.shell-continue-band { margin:8px 0 24px; }
@media (min-width:768px) { .shell-continue-band { display:none; } }
.shell-continue-band h2 { font-size:13px; font-weight:700; margin:0 0 10px; color:var(--machi-ink-1); }
.shell-continue-band ul { list-style:none; margin:0; padding:0; }
.shell-continue-band li { margin-bottom:6px; }
.shell-continue-band a {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  padding:10px 12px; border-radius:8px; text-decoration:none; color:var(--machi-ink-1);
  font-size:12.5px; font-weight:600; background:var(--machi-surface-2);
}
.shell-continue-band a:hover { background:color-mix(in srgb, var(--machi-border) 30%, transparent); }

/* EventRow detached: rounded card + gap-2（一覧の border-b 連結は使わない） */
.shell-list, .shell-row-list { display:flex; flex-direction:column; gap:8px; margin-top:8px; }
.shell-related .shell-row-list { margin-top:10px; }
@media (min-width:768px) {
  .shell-related .shell-row-list { display:grid; gap:8px; grid-template-columns:1fr; }
}
@media (min-width:1024px) {
  .shell-related .shell-row-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:1280px) {
  .shell-related .shell-row-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
.shell-row {
  display:grid; grid-template-columns:4px 1fr auto; align-items:stretch;
  height:92px; overflow:hidden; text-decoration:none; color:inherit;
  border-radius:10px; border:1px solid var(--machi-border); background:var(--machi-surface);
}
@media (min-width:768px) { .shell-related .shell-row { height:100px; } }
.shell-row:hover { background:var(--machi-surface-2); }
.shell-row-bar { background:var(--cat, var(--machi-cat-biz)); }
.shell-row[data-cat="family"] { --cat:var(--machi-cat-family); }
.shell-row[data-cat="music"] { --cat:var(--machi-cat-music); }
.shell-row[data-cat="art"] { --cat:var(--machi-cat-art); }
.shell-row[data-cat="festival"] { --cat:var(--machi-cat-festival); }
.shell-row[data-cat="sports"] { --cat:var(--machi-cat-sports); }
.shell-row[data-cat="learn"] { --cat:var(--machi-cat-learn); }
.shell-row[data-cat="biz"] { --cat:var(--machi-cat-biz); }
.shell-row[data-cat="food"] { --cat:var(--machi-cat-food); }
.shell-row[data-cat="nature"] { --cat:var(--machi-cat-nature); }
.shell-row-main {
  min-width:0; display:flex; flex-direction:column; justify-content:center; gap:4px;
  padding:10px 8px 10px 12px; font-feature-settings:"palt" 1;
}
.shell-row-title {
  margin:0; font-size:13.5px; font-weight:700; line-height:1.2; letter-spacing:-0.025em; color:var(--machi-ink-1);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
@media (min-width:768px) { .shell-row-title { font-size:17px; } }
.shell-row-line2, .shell-row-line3 {
  margin:0; display:flex; align-items:center; gap:6px; min-width:0;
  font-size:11.5px; line-height:1.2; white-space:nowrap; overflow:hidden; color:var(--machi-ink-3);
}
@media (min-width:768px) { .shell-row-line2, .shell-row-line3 { font-size:14px; } }
.shell-row-when {
  flex-shrink:0; font-variant-numeric:tabular-nums; color:var(--machi-ink-2-5);
  font-family:ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.shell-row-city, .shell-row-facility { flex-shrink:0; color:var(--machi-ink-3); }
.shell-row-cat { flex-shrink:0; font-weight:600; color:var(--cat, var(--machi-ink-2)); }
.shell-row-facility { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.shell-row-dist { flex-shrink:0; font-variant-numeric:tabular-nums; color:var(--machi-ink-3); }
.shell-row-dot { flex-shrink:0; color:var(--machi-ink-4); }
/* 本番実測: compact class より base RowStatusPill が勝つ（full / 11 / 600 / tracking-wide） */
.shell-row-pill {
  flex-shrink:0; display:inline-flex; align-items:center;
  border-radius:9999px; padding:1px 5px;
  font-size:11px; font-weight:600; line-height:1.375; letter-spacing:0.025em;
}
.shell-row-pill-live { background:var(--machi-status-live-bg); color:var(--machi-status-live-fg); }
.shell-row-pill-today { background:var(--machi-status-today-bg); color:var(--machi-status-today-fg); }
.shell-row-pill-soon { background:var(--machi-status-soon-bg); color:var(--machi-status-soon-fg); }
.shell-row-pill-neutral { background:var(--machi-status-neutral-bg); color:var(--machi-status-neutral-fg); }
.shell-row-chevron {
  display:flex; align-items:center; justify-content:center; width:24px; padding-right:4px;
  color:var(--machi-ink-3); font-size:16px; line-height:1;
}
.shell-area-links { list-style:none; padding:0; display:grid; gap:8px; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); margin:16px 0 0; }
.shell-area-links a {
  display:block; padding:14px 12px; background:var(--machi-surface); border:1px solid var(--machi-border);
  border-radius:10px; text-decoration:none; color:var(--machi-ink-1); font-weight:700; text-align:center; font-size:14px;
}
.shell-area-links a:hover { border-color:var(--machi-accent); }
.shell-related { margin-top:28px; }
.shell-related h2 {
  display:flex; align-items:baseline; gap:8px;
  font-size:15px; font-weight:800; margin:0 0 10px; color:var(--machi-ink-1); letter-spacing:-0.025em;
}
@media (min-width:768px) { .shell-related h2 { font-size:18px; line-height:1.75rem; } }
.shell-related-bar {
  display:inline-block; width:4px; height:16px; border-radius:2px; background:var(--machi-accent); flex-shrink:0;
  align-self:center;
}
.shell-related-same .shell-related-bar { background:var(--cat, var(--machi-cat-art)); }
.shell-related-same[data-cat="family"] { --cat:var(--machi-cat-family); }
.shell-related-same[data-cat="music"] { --cat:var(--machi-cat-music); }
.shell-related-same[data-cat="art"] { --cat:var(--machi-cat-art); }
.shell-related-same[data-cat="festival"] { --cat:var(--machi-cat-festival); }
.shell-related-same[data-cat="sports"] { --cat:var(--machi-cat-sports); }
.shell-related-same[data-cat="learn"] { --cat:var(--machi-cat-learn); }
.shell-related-same[data-cat="biz"] { --cat:var(--machi-cat-biz); }
.shell-related-same[data-cat="food"] { --cat:var(--machi-cat-food); }
.shell-related-same[data-cat="nature"] { --cat:var(--machi-cat-nature); }
.shell-related[hidden] { display:none; }
.shell-row-list:not(.is-expanded) .shell-row-extra { display:none; }
.shell-more-btn {
  grid-column:1 / -1; margin-top:2px; display:flex; align-items:center; justify-content:center;
  width:100%; height:44px; box-sizing:border-box;
  border-radius:8px; border:1px solid var(--machi-border); background:var(--machi-surface-2);
  font-size:13px; font-weight:600; color:var(--machi-ink-1); cursor:pointer; text-decoration:none;
}
.shell-more-btn:hover { background:color-mix(in srgb, var(--machi-border) 40%, var(--machi-surface-2)); }
.shell-more-link {
  border:1.5px solid var(--machi-accent); background:var(--machi-surface);
  font-weight:700; color:var(--machi-accent-ink);
}
.shell-more-link:hover { background:color-mix(in srgb, var(--machi-accent-weak) 80%, #fff); }

/* NearbySpotsThemes: モバイル横スクロール · デスクトップリスト */
.shell-spots { margin-top:28px; margin-bottom:8px; }
.shell-spots h2 {
  display:flex; align-items:baseline; gap:8px;
  font-size:15px; font-weight:700; margin:0 0 10px; color:var(--machi-ink-1); letter-spacing:-0.025em;
}
.shell-spots h2 .shell-related-bar {
  width:4px; height:16px; border-radius:2px; background:var(--machi-accent); flex-shrink:0; align-self:center;
}
.shell-spots-scroll {
  display:flex; gap:8px; overflow-x:auto; padding:0 0 4px;
  margin:0 -12px; padding-left:12px; padding-right:12px;
  scrollbar-width:none;
}
.shell-spots-scroll::-webkit-scrollbar { display:none; }
.shell-spot-card {
  flex:0 0 148px; display:flex; flex-direction:column; gap:6px;
  padding:12px; border-radius:10px; border:1px solid var(--machi-border);
  background:var(--machi-surface); text-decoration:none; color:inherit;
}
.shell-spot-card:hover { background:var(--machi-surface-2); }
.shell-spot-card-icon {
  display:flex; align-items:center; justify-content:center;
  width:28px; height:28px; border-radius:8px; margin-bottom:2px;
  background:var(--machi-accent-weak); color:var(--spot, var(--machi-cat-festival));
}
.shell-spot-card-icon svg { display:block; }
.shell-spot-card-name {
  font-size:12.5px; font-weight:700; line-height:1.35; color:var(--machi-ink-1);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.shell-spot-card-meta {
  font-size:10.5px; color:var(--machi-ink-3);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.shell-spots-list { display:none; }
@media (min-width:768px) {
  .shell-spots-scroll { display:none; }
  .shell-spots-list {
    display:block; overflow:hidden; border-radius:12px; border:1px solid var(--machi-border);
    background:var(--machi-surface);
  }
}
.shell-spot-row {
  display:grid; grid-template-columns:4px 1fr auto; min-height:92px;
  border-bottom:1px solid var(--machi-border); background:var(--machi-surface);
}
.shell-spot-row:last-of-type { border-bottom:0; }
.shell-spots-list:not(.is-expanded) .shell-spot-extra-m { display:none; }
@media (min-width:768px) {
  .shell-spots-list:not(.is-expanded) .shell-spot-extra-m { display:grid; }
  .shell-spots-list:not(.is-expanded) .shell-spot-extra-d { display:none; }
  .shell-spots-more { display:none; }
  .shell-spots-has-more-d .shell-spots-more { display:flex; }
}
.shell-spots-list.is-expanded .shell-spot-extra-m,
.shell-spots-list.is-expanded .shell-spot-extra-d { display:grid; }

/* 公式タブ復帰 →「次に行くなら？」スクロール＋ハイライト（モバイルのみ） */
.shell-related-nearby { position:relative; isolation:isolate; }
.shell-return-cue {
  pointer-events:none; position:absolute; z-index:0;
  left:-12px; right:-12px; top:-8px; bottom:-8px;
  background:var(--machi-accent-weak); opacity:0; display:none;
}
.shell-return-cue.is-active { display:block; animation:shell-detail-return-cue 1.8s ease-out forwards; }
@media (min-width:768px) { .shell-return-cue { display:none !important; } }
.shell-related-nearby > h2,
.shell-related-nearby > .shell-row-list { position:relative; z-index:1; }
@keyframes shell-detail-return-cue {
  0% { opacity:0; }
  12% { opacity:1; }
  72% { opacity:1; }
  100% { opacity:0; }
}
.shell-spot-bar { background:var(--spot, var(--machi-ink-3)); }
.shell-spot-row[data-spot-type="onsen"], .shell-spot-card[data-spot-type="onsen"] { --spot:var(--machi-cat-festival); }
.shell-spot-row[data-spot-type="roadside_station"], .shell-spot-card[data-spot-type="roadside_station"] { --spot:var(--machi-cat-nature); }
.shell-spot-row[data-spot-type="sanchoku"], .shell-spot-card[data-spot-type="sanchoku"] { --spot:var(--machi-cat-food); }
.shell-spot-row[data-spot-type="scenic"], .shell-spot-card[data-spot-type="scenic"] { --spot:var(--machi-cat-art); }
.shell-spot-main {
  min-width:0; display:flex; flex-direction:column; justify-content:center; gap:4px;
  padding:14px 8px 14px 14px; text-decoration:none; color:inherit;
}
.shell-spot-name { margin:0; font-size:16px; font-weight:600; line-height:1.35; color:var(--machi-ink-1);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.shell-spot-type { margin:0; font-size:12px; font-weight:600; color:var(--spot, var(--machi-ink-2)); }
.shell-spot-meta { margin:0; font-size:13px; color:var(--machi-ink-2);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.shell-spot-aside {
  display:flex; flex-direction:column; align-items:flex-end; justify-content:center; gap:6px;
  padding:14px 16px 14px 8px; min-width:48px;
}
.shell-spot-official { font-size:11px; font-weight:600; color:var(--machi-ink-2); text-decoration:none; }
.shell-spot-official:hover { color:var(--machi-ink-1); text-decoration:underline; }
.shell-spot-chevron { color:var(--machi-ink-4); font-size:16px; line-height:1; }
.shell-spots-list .shell-spots-more {
  border:0; border-top:1px solid var(--machi-border); border-radius:0; height:auto;
  padding:10px 12px; background:var(--machi-surface); color:var(--machi-accent-ink); font-weight:600;
}
.shell-spots-list .shell-spots-more:hover { background:var(--machi-surface-2); }

[data-loading="1"] { color:var(--machi-ink-3); font-size:14px; padding:12px 0; }
.shell-empty { color:var(--machi-ink-3); font-size:14px; margin:8px 0; }
