:root {
  --navy: #16324f;
  --navy-2: #0e253b;
  --ink: #1e2b33;
  --muted: #6e7b82;
  --paper: #f7f3ea;
  --paper-2: #fffdf8;
  --coral: #dd674d;
  --coral-dark: #b94b35;
  --gold: #d4a94f;
  --green: #4f7a6c;
  --line: #ded8cc;
  --shadow: 0 18px 50px rgba(22, 50, 79, .10);
  --radius: 22px;
  --serif: "Iowan Old Style", "Noto Serif TC", "Songti TC", Georgia, serif;
  --sans: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, label, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 12px; top: -50px; z-index: 1000; padding: 10px 15px; color: white; background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.offline-bar { display: none; position: sticky; top: 0; z-index: 200; padding: 8px 20px; text-align: center; color: white; background: var(--coral-dark); font-size: 13px; }
.offline .offline-bar { display: block; }

.hero { min-height: 690px; color: white; background:
  radial-gradient(circle at 82% 23%, rgba(212,169,79,.22), transparent 0 22%),
  linear-gradient(130deg, rgba(14,37,59,.99), rgba(22,50,79,.94)),
  repeating-linear-gradient(0deg, transparent 0 47px, rgba(255,255,255,.03) 48px),
  repeating-linear-gradient(90deg, transparent 0 47px, rgba(255,255,255,.03) 48px);
  position: relative; overflow: hidden;
}
.hero::before { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; right: -80px; top: 105px; box-shadow: 0 0 0 85px rgba(255,255,255,.018), 0 0 0 170px rgba(255,255,255,.012); }
.hero::after { content: "大阪"; position: absolute; right: -18px; bottom: -115px; font: 700 245px/1 var(--serif); color: rgba(255,255,255,.035); letter-spacing: -.12em; }
.topbar, .hero-grid, .route-strip { width: min(1180px, calc(100% - 44px)); margin: auto; position: relative; z-index: 2; }
.topbar { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.14); }
.brand { display: flex; gap: 12px; align-items: center; font-weight: 750; letter-spacing: .08em; }
.brand-mark { width: 46px; height: 46px; display: inline-grid; place-items: center; background: var(--coral); color: white; border-radius: 50% 50% 50% 10%; font-size: 12px; letter-spacing: .08em; transform: rotate(-4deg); }
.top-actions { display: flex; gap: 9px; }
.button { min-height: 42px; border: 0; border-radius: 999px; padding: 9px 17px; cursor: pointer; transition: .2s ease; }
.button:hover { transform: translateY(-1px); }
.button.ghost { color: white; background: transparent; border: 1px solid rgba(255,255,255,.33); }
.button.primary { color: var(--navy); background: white; font-weight: 700; }
.button.ghost.dark { color: var(--navy); border-color: rgba(22,50,79,.3); }
.hero-grid { min-height: 505px; display: grid; grid-template-columns: minmax(0, 1.5fr) 360px; gap: 90px; align-items: center; }
.eyebrow, .kicker { margin: 0 0 12px; color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: .22em; }
.hero h1 { max-width: 760px; margin: 0; font: 500 clamp(46px, 6vw, 80px)/1.13 var(--serif); letter-spacing: -.04em; }
.hero h1 em { color: #f1c978; font-style: normal; }
.hero-lead { max-width: 615px; margin: 26px 0; color: rgba(255,255,255,.72); font-size: 17px; }
.hero-meta { display: flex; gap: 14px; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.hero-meta .line { width: 42px; height: 1px; background: rgba(255,255,255,.3); }
.trip-card { position: relative; padding: 27px; color: var(--navy); background: rgba(255,253,248,.96); border-radius: 28px 28px 28px 7px; box-shadow: 0 28px 70px rgba(0,0,0,.25); transform: rotate(1deg); }
.trip-card::before { content: ""; position: absolute; left: 28px; top: -8px; width: 70px; height: 18px; background: rgba(221,103,77,.8); transform: rotate(-3deg); }
.trip-card-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 700; }
.status-dot { display: flex; gap: 6px; align-items: center; }
.status-dot i { width: 7px; height: 7px; border-radius: 50%; background: #51a681; box-shadow: 0 0 0 4px rgba(81,166,129,.14); }
.trip-card > strong { display: block; margin: 24px 0 -13px; font: 500 112px/.9 var(--serif); letter-spacing: -.08em; }
.days-label { margin-left: 10px; color: var(--coral); font-size: 12px; font-weight: 900; letter-spacing: .35em; }
.hotel-line { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 60px 1fr; gap: 12px; }
.hotel-line span { color: var(--muted); font-size: 12px; }
.hotel-line b { line-height: 1.35; font-size: 13px; letter-spacing: .03em; }
.route-strip { height: 72px; display: flex; align-items: center; justify-content: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 10px; font-weight: 800; letter-spacing: .2em; color: rgba(255,255,255,.65); }
.route-strip i { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }

.section-nav { position: sticky; top: 0; z-index: 100; display: flex; gap: 5px; justify-content: center; padding: 10px 18px; background: rgba(247,243,234,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); overflow-x: auto; scrollbar-width: none; }
.section-nav::-webkit-scrollbar { display: none; }
.section-nav a { flex: 0 0 auto; padding: 8px 13px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.section-nav a:hover, .section-nav a.active { color: white; background: var(--navy); }
.section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 105px 0; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 70px; align-items: end; margin-bottom: 44px; }
.section-heading h2 { margin: 0; font: 500 clamp(34px, 4.5vw, 54px)/1.15 var(--serif); letter-spacing: -.035em; color: var(--navy); }
.section-heading > p { margin: 0; color: var(--muted); font-size: 14px; }

.alert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.alert-card { min-height: 230px; padding: 23px; display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; }
.alert-card.urgent { color: white; background: var(--coral); border-color: transparent; }
.alert-tag { align-self: flex-start; padding: 3px 8px; border: 1px solid currentColor; border-radius: 99px; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.alert-card h3 { margin: 17px 0 8px; font: 600 23px/1.2 var(--serif); }
.alert-card p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.alert-card.urgent p { color: rgba(255,255,255,.82); }
.alert-card a { margin-top: auto; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; font-weight: 700; }
.overview-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.info-panel { padding: 28px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-title { display: flex; gap: 13px; align-items: center; margin-bottom: 25px; }
.panel-title > span { width: 43px; height: 43px; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 50%; }
.panel-title small { color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.panel-title h3 { margin: 2px 0 0; color: var(--navy); font: 600 22px var(--serif); }
.flight-row { display: grid; grid-template-columns: 75px 1fr 75px; gap: 13px; align-items: center; }
.flight-row + .flight-row { margin-top: 19px; padding-top: 19px; border-top: 1px dashed var(--line); }
.flight-row > div:first-child, .flight-row > div:last-child { display: flex; flex-direction: column; }
.flight-row > div:last-child { text-align: right; }
.flight-row b { color: var(--navy); font: 700 24px var(--serif); }
.flight-row div > span { color: var(--muted); font-size: 12px; }
.flight-path { display: flex; flex-direction: column; text-align: center; color: var(--muted); font-size: 11px; }
.flight-path i { position: relative; display: block; height: 1px; margin: 6px 0; background: var(--line); }
.flight-path i::after { content: "✦"; position: absolute; right: 35%; top: -11px; color: var(--coral); font-size: 14px; }
.flight-path small { color: var(--navy); font-size: 10px; }
.fine-print { margin: 22px 0 15px; color: var(--muted); font-size: 11px; }
.link-row { display: flex; flex-wrap: wrap; gap: 8px; }
.link-row a, .day-links a { padding: 7px 11px; color: var(--navy); background: #e8edf0; border-radius: 999px; font-size: 11px; font-weight: 700; }
.address { margin: -8px 0 20px; color: var(--muted); font-size: 13px; }
.clean-list { list-style: none; padding: 0; margin: 0; }
.clean-list li { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.clean-list span { color: var(--muted); }
.map-button { display: block; margin-top: 20px; padding: 11px; color: white; background: var(--navy); border-radius: 10px; text-align: center; font-size: 12px; font-weight: 700; }

.itinerary-section { width: min(1180px, calc(100% - 40px)); }
.day-tabs { display: flex; gap: 7px; padding-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tabs button { min-width: 58px; padding: 8px 13px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.day-tabs button[aria-selected="true"] { color: white; background: var(--navy); border-color: var(--navy); }
.days-list { display: grid; gap: 14px; }
.day-card { display: grid; grid-template-columns: 112px 1fr; background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: .25s ease; }
.day-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.day-card[hidden] { display: none; }
.day-date { padding: 27px 18px; color: white; background: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.day-date strong { font: 500 52px/.9 var(--serif); }
.day-date span { margin-top: 8px; text-align: center; font-size: 10px; letter-spacing: .14em; opacity: .7; }
.feature-day .day-date { background: var(--coral); }
.locked-day .day-date { background: #875a50; }
.travel-day .day-date { background: #6c7a80; }
.day-main { padding: 26px 30px 28px; }
.day-title { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.day-title h3 { margin: 7px 0 20px; color: var(--navy); font: 600 27px/1.2 var(--serif); }
.pill { display: inline-block; padding: 3px 9px; border-radius: 99px; font-size: 9px; font-weight: 900; letter-spacing: .06em; color: white; background: var(--navy); }
.pill.coral { background: var(--coral); }.pill.blue { background: #3f6e91; }.pill.gold { background: #ad7e24; }.pill.green { background: var(--green); }.pill.muted { background: #7a858a; }
.pace { padding: 4px 10px; color: var(--muted); background: var(--paper); border-radius: 999px; font-size: 10px; }
.timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; }
.timeline > div { display: grid; grid-template-columns: 52px 1fr; gap: 11px; padding: 13px 0; border-top: 1px solid var(--line); }
.timeline time { color: var(--coral); font-size: 11px; font-weight: 900; }
.timeline p { margin: 0; display: flex; flex-direction: column; }
.timeline b { color: var(--navy); font-size: 13px; }
.timeline span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.route-chips { display: flex; align-items: center; gap: 8px; margin: -5px 0 16px; color: var(--muted); font-size: 10px; font-weight: 700; }
.route-chips i { flex: 0 1 25px; height: 1px; background: var(--line); }
.day-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.callout { margin-top: 14px; padding: 12px 15px; color: #784231; background: #fff1e9; border-left: 3px solid var(--coral); font-size: 11px; }
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.option-grid > div { padding: 16px; background: var(--paper); border-radius: 12px; display: flex; flex-direction: column; }
.option-grid b { color: var(--navy); font: 600 17px var(--serif); }
.option-grid span { margin-top: 5px; color: var(--muted); font-size: 11px; }
.day-note { margin: 15px 0 0; color: var(--muted); font-size: 11px; }
.transport-note { margin-top: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; color: var(--navy); background: #edf3f4; border-radius: 12px; border-left: 3px solid #3f6e91; }
.transport-note.recommended { background: #edf5ef; border-left-color: var(--green); }
.transport-note b { font-size: 11px; }
.transport-note span { color: var(--muted); font-size: 10px; }
.editing .editable { outline: 1px dashed var(--coral); outline-offset: 5px; border-radius: 3px; }
.editing .editable:focus { background: #fff8e8; outline-style: solid; }

.reservation-board { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.reservation-row { display: grid; grid-template-columns: 52px 1.2fr 1.7fr 100px; gap: 15px; align-items: center; min-height: 72px; padding: 13px 22px; border-bottom: 1px solid var(--line); }
.reservation-row:last-child { border-bottom: 0; }
.reservation-row.head { min-height: 42px; color: var(--muted); background: #f1eee7; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.reservation-row input { width: 20px; height: 20px; accent-color: var(--green); }
.reservation-row > span:nth-of-type(1) { display: flex; flex-direction: column; }
.reservation-row b { color: var(--navy); font-size: 13px; }
.reservation-row small { color: var(--coral); font-size: 9px; font-weight: 800; }
.reservation-row > span:nth-of-type(2) { color: var(--muted); font-size: 11px; }
.reservation-row a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; text-align: center; font-size: 10px; }
.reservation-row.critical { background: #fff8f4; box-shadow: inset 4px 0 var(--coral); }
.reservation-row:has(input:checked) { opacity: .55; background: #eef4f0; }
.reservation-row:has(input:checked) b { text-decoration: line-through; }

.event-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.event-card { min-height: 300px; padding: 24px; display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; }
.event-card.featured { color: white; background: var(--navy); border-color: var(--navy); }
.event-card.ending { opacity: .65; background: #e8e5df; }
.event-date { color: var(--coral); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.event-card.featured .event-date { color: #f1c978; }
.event-card h3 { margin: 14px 0 10px; color: var(--navy); font: 600 22px/1.2 var(--serif); }
.event-card.featured h3 { color: white; }
.event-card p { margin: 0 0 15px; color: var(--muted); font-size: 12px; }
.event-card.featured p { color: rgba(255,255,255,.7); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 15px; }
.tags span { padding: 3px 7px; color: var(--muted); background: var(--paper); border-radius: 99px; font-size: 8px; font-weight: 800; }
.event-card.featured .tags span { color: white; background: rgba(255,255,255,.12); }
.event-card > a { margin-top: auto; font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.store-map { margin-top: 20px; padding: 28px; color: white; background: var(--navy); border-radius: var(--radius); }
.store-map h3 { margin: 0 0 20px; font: 600 25px var(--serif); }
.store-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.store-columns > div { display: flex; flex-direction: column; gap: 7px; }
.store-columns b { margin-bottom: 5px; color: #f1c978; font-size: 11px; letter-spacing: .1em; }
.store-columns a { color: rgba(255,255,255,.73); font-size: 12px; }
.store-columns a:hover { color: white; text-decoration: underline; }

.food-feature { display: grid; grid-template-columns: 70px minmax(0, 1.6fr) minmax(230px, .8fr); gap: 25px; padding: 28px 0; border-top: 1px solid var(--line); }
.food-feature:last-child { border-bottom: 1px solid var(--line); }
.food-index { color: var(--coral); font: 500 42px var(--serif); }
.food-type { color: var(--coral); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.food-copy h3 { margin: 5px 0 12px; color: var(--navy); font: 600 29px var(--serif); }
.food-copy > p { margin: 0 0 15px; color: var(--muted); font-size: 13px; }
.rating { display: flex; gap: 12px; align-items: center; margin-bottom: 15px; }
.rating b { color: white; background: var(--coral); border-radius: 7px; padding: 4px 8px; font-size: 16px; }
.rating span, .rating i { color: var(--muted); font-size: 10px; font-style: normal; }
.food-feature aside { padding: 20px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; }
.food-feature aside b { color: var(--navy); font: 600 17px var(--serif); }
.food-feature aside p { color: var(--muted); font-size: 11px; }
.food-feature aside a { color: var(--coral-dark); font-size: 10px; font-weight: 800; }

.shrine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.shrine-grid article { position: relative; min-height: 240px; padding: 25px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.shrine-grid article::after { content: "朱"; position: absolute; right: -5px; bottom: -28px; color: rgba(221,103,77,.07); font: 800 100px var(--serif); transform: rotate(-8deg); }
.shrine-grid span { color: var(--coral); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.shrine-grid h3 { margin: 11px 0; color: var(--navy); font: 600 23px var(--serif); }
.shrine-grid p { color: var(--muted); font-size: 12px; }
.shrine-grid a { position: relative; z-index: 2; color: var(--coral-dark); font-size: 10px; font-weight: 800; }

.comments-launcher { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 280; min-height: 52px; padding: 8px 16px 8px 8px; display: flex; gap: 9px; align-items: center; color: white; background: var(--coral); border: 0; border-radius: 999px; box-shadow: 0 14px 35px rgba(14,37,59,.28); cursor: pointer; font-size: 12px; font-weight: 800; }
.comments-launcher:hover { transform: translateY(-2px); }
.comment-bubble { width: 36px; height: 36px; display: grid; place-items: center; color: var(--navy); background: white; border-radius: 50%; }
.comments-launcher i { min-width: 19px; height: 19px; padding: 0 5px; display: inline-grid; place-items: center; color: var(--coral-dark); background: white; border-radius: 99px; font-size: 9px; font-style: normal; }
.comments-dialog { position: fixed; inset: auto 20px 86px auto; width: min(440px, calc(100% - 40px)); max-height: min(720px, calc(100dvh - 110px)); margin: 0; padding: 0; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 28px 80px rgba(14,37,59,.34); overflow: hidden; }
.comments-dialog[open] { display: flex; flex-direction: column; animation: comment-in .2s ease-out; }
.comments-dialog::backdrop { background: rgba(14,37,59,.24); backdrop-filter: blur(2px); }
.comments-dialog-head { flex: 0 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; color: white; background: var(--navy); }
.comments-dialog-head small { color: #f1c978; font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.comments-dialog-head h2 { margin: 2px 0 0; font: 600 22px var(--serif); }
.dialog-close { width: 36px; height: 36px; color: white; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; cursor: pointer; font-size: 23px; line-height: 1; }
.comment-form { flex: 0 0 auto; padding: 18px 20px 20px; color: white; background: var(--navy); }
.comment-identity { display: grid; grid-template-columns: 1fr 125px; gap: 10px; }
.comment-form label { display: flex; flex-direction: column; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.comment-form input, .comment-form select, .comment-form textarea { width: 100%; color: white; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 11px 12px; outline: none; }
.comment-form select { color-scheme: dark; }
.comment-form input:focus, .comment-form select:focus, .comment-form textarea:focus { border-color: #f1c978; box-shadow: 0 0 0 3px rgba(241,201,120,.12); }
.comment-form input::placeholder, .comment-form textarea::placeholder { color: rgba(255,255,255,.38); }
.comment-message { margin-top: 13px; }
.comment-message textarea { min-height: 125px; resize: vertical; }
.comment-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 13px; }
.coral-button { color: white; background: var(--coral); }
.comment-actions .button.ghost.dark { color: white; border-color: rgba(255,255,255,.3); }
#commentStatus { flex: 1 1 100%; color: rgba(255,255,255,.55); font-size: 10px; }
.comment-list { flex: 1 1 auto; min-height: 180px; padding: 18px 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 11px; }
.comment-empty { margin: auto; color: var(--muted); font-size: 12px; text-align: center; }
.comment-card { padding: 16px 17px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; }
.comment-card header { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.comment-card h3 { margin: 0; color: var(--navy); font: 600 17px var(--serif); }
.comment-card time { color: var(--muted); font-size: 9px; white-space: nowrap; }
.comment-card .comment-topic { display: inline-block; margin-top: 3px; padding: 2px 7px; color: var(--coral-dark); background: #f8e5df; border-radius: 99px; font-size: 8px; font-weight: 800; }
.comment-card p { margin: 11px 0 0; color: var(--ink); font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-card footer { min-height: 0; margin-top: 8px; padding: 0; display: block; background: transparent; }
.comment-delete { padding: 0; color: var(--muted); background: transparent; border: 0; font-size: 9px; text-decoration: underline; cursor: pointer; }
@keyframes comment-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.progress-wrap { min-width: 240px; }
.progress-wrap > span { display: block; margin-bottom: 7px; text-align: right; color: var(--muted); font-size: 11px; }
.progress { height: 6px; background: #ddd7ca; border-radius: 99px; overflow: hidden; }
.progress i { display: block; width: 0; height: 100%; background: var(--coral); border-radius: inherit; transition: width .3s; }
.check-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.check-group { padding: 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; }
.check-group h3 { margin: 0 0 15px; color: var(--navy); font: 600 19px var(--serif); }
.check-group label { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; padding: 8px 0; color: var(--muted); border-bottom: 1px dashed var(--line); font-size: 11px; cursor: pointer; }
.check-group label:last-child { border: 0; }
.check-group input { width: 16px; height: 16px; accent-color: var(--green); }
.check-group label:has(input:checked) span { text-decoration: line-through; opacity: .5; }
.notes-panel { margin-top: 16px; padding: 25px; background: var(--navy); border-radius: var(--radius); }
.notes-panel > label { color: white; font: 600 20px var(--serif); }
.notes-panel textarea { width: 100%; min-height: 120px; margin: 12px 0; padding: 15px; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 11px; resize: vertical; }
.notes-panel textarea::placeholder { color: rgba(255,255,255,.38); }
.data-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.notes-panel .button.ghost.dark { color: white; border-color: rgba(255,255,255,.25); }
.file-button { display: inline-flex; align-items: center; }
.file-button input { display: none; }

.sources-section details { border-top: 1px solid var(--line); }
.sources-section details:last-child { border-bottom: 1px solid var(--line); }
.sources-section summary { padding: 17px 3px; color: var(--navy); cursor: pointer; font-weight: 700; font-size: 13px; }
.source-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 19px; }
.source-links a { padding: 6px 10px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 10px; }

footer { min-height: 240px; padding: 55px max(25px, calc((100% - 1120px)/2)); display: grid; grid-template-columns: 1fr 2fr auto; gap: 40px; align-items: center; color: white; background: var(--navy-2); }
footer > div { display: flex; gap: 13px; align-items: center; }
footer p { color: rgba(255,255,255,.55); font: 500 17px var(--serif); }
footer > a { color: #f1c978; font-size: 11px; font-weight: 800; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 500; max-width: calc(100% - 32px); padding: 11px 18px; color: white; background: var(--navy-2); border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 12px; transform: translate(-50%, 120px); transition: .3s; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr 310px; gap: 35px; }
  .alert-grid, .event-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: 1fr; }
  .shrine-grid { grid-template-columns: repeat(2, 1fr); }
  .check-columns { grid-template-columns: repeat(2, 1fr); }
  .food-feature { grid-template-columns: 55px 1fr; }
  .food-feature aside { grid-column: 2; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 62px; }
  .hero { min-height: 780px; }
  .topbar { width: calc(100% - 28px); height: 74px; }
  .brand > span:last-child { display: none; }
  .brand-mark { width: 39px; height: 39px; }
  .top-actions { gap: 5px; }
  .top-actions .button { min-height: 36px; padding: 7px 11px; font-size: 11px; }
  .hero-grid { width: calc(100% - 36px); min-height: auto; padding: 60px 0 30px; grid-template-columns: 1fr; gap: 42px; }
  .hero h1 { font-size: clamp(43px, 13vw, 63px); }
  .hero-lead { font-size: 14px; }
  .hero-meta { gap: 8px; font-size: 8px; }
  .hero-meta .line { width: 18px; }
  .trip-card { width: min(100%, 345px); margin-left: auto; padding: 23px; }
  .trip-card > strong { font-size: 90px; }
  .route-strip { width: calc(100% - 32px); height: 58px; gap: 10px; font-size: 7px; }
  .section-nav { justify-content: flex-start; }
  .section { width: calc(100% - 28px); padding: 75px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 17px; margin-bottom: 30px; }
  .section-heading h2 { font-size: 37px; }
  .section-heading > p { font-size: 12px; }
  .alert-grid, .event-grid, .shrine-grid, .check-columns { grid-template-columns: 1fr; }
  .alert-card { min-height: 205px; }
  .flight-row { grid-template-columns: 58px 1fr 58px; }
  .day-card { grid-template-columns: 62px 1fr; }
  .day-date { padding: 23px 8px; }
  .day-date strong { font-size: 34px; }
  .day-main { padding: 21px 16px 23px; }
  .day-title h3 { font-size: 23px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline > div { grid-template-columns: 45px 1fr; }
  .route-chips { gap: 4px; font-size: 8px; overflow-x: auto; }
  .option-grid { grid-template-columns: 1fr; }
  .reservation-row { grid-template-columns: 30px 1fr 70px; gap: 8px; padding: 14px 12px; }
  .reservation-row.head { display: none; }
  .reservation-row > span:nth-of-type(2) { grid-column: 2 / 4; grid-row: 2; }
  .reservation-row a { grid-column: 3; grid-row: 1; }
  .store-columns { grid-template-columns: 1fr; gap: 22px; }
  .food-feature { grid-template-columns: 45px 1fr; gap: 12px; }
  .food-feature aside { grid-column: 1 / 3; }
  .rating { flex-wrap: wrap; }
  .progress-wrap { min-width: 0; }
  .comments-launcher { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); min-height: 48px; padding-right: 13px; }
  .comment-bubble { width: 32px; height: 32px; }
  .comments-dialog { inset: auto 10px 72px 10px; width: auto; max-height: calc(100dvh - 86px); border-radius: 20px; }
  .comment-identity { grid-template-columns: 1fr; }
  .comment-form { padding: 15px 16px 17px; }
  .comment-list { padding: 15px 16px; }
  footer { grid-template-columns: 1fr; gap: 18px; padding: 45px 25px; }
}

@media print {
  body { background: white; }
  .top-actions, .section-nav, .day-tabs, .data-actions, .comments-launcher, .comments-dialog, .offline-bar, .toast { display: none !important; }
  .hero { min-height: 410px; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .hero-grid { min-height: 300px; grid-template-columns: 1fr 260px; }
  .hero h1 { font-size: 48px; }
  .route-strip { display: none; }
  .section { padding: 45px 0; break-inside: avoid; }
  .day-card, .event-card, .food-feature, .shrine-grid article, .check-group { break-inside: avoid; box-shadow: none; }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  a { text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
