:root {
  --ink: #19322d;
  --muted: #66736f;
  --paper: #f7f3e9;
  --paper-deep: #eee7d7;
  --white: #fffdf8;
  --accent: #d85b3f;
  --accent-dark: #ad3e2b;
  --green: #315f52;
  --green-soft: #dce8df;
  --line: rgba(25, 50, 45, 0.16);
  --shadow: 0 18px 50px rgba(36, 47, 43, 0.12);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid rgba(216, 91, 63, 0.34); outline-offset: 3px; }
[hidden] { display: none !important; }

.access-screen { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr); background: #e8ede5; }
.access-art { position: relative; overflow: hidden; min-height: 100svh; background: linear-gradient(155deg, #23493e 0%, #547b68 58%, #d6b979 100%); }
.access-art::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px; }
.sun { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: #e9cf8b; right: 16%; top: 13%; box-shadow: 0 0 0 32px rgba(255,255,255,.05); }
.ridge { position: absolute; left: -8%; width: 115%; border-radius: 50% 50% 0 0; transform: rotate(-6deg); }
.ridge-one { height: 56%; bottom: -18%; background: #163b34; clip-path: polygon(0 35%, 13% 14%, 24% 38%, 39% 5%, 52% 42%, 66% 17%, 80% 37%, 100% 6%, 100% 100%, 0 100%); }
.ridge-two { height: 48%; bottom: -20%; background: #0f2926; opacity: .75; clip-path: polygon(0 44%, 17% 26%, 33% 51%, 46% 20%, 60% 52%, 78% 18%, 100% 45%, 100% 100%, 0 100%); }
.route-line { position: absolute; left: 16%; top: 35%; width: 56%; height: 28%; border: 3px dashed rgba(255,255,255,.55); border-color: rgba(255,255,255,.55) transparent transparent; border-radius: 50%; transform: rotate(20deg); }
.route-dot { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 4px solid rgba(255,255,255,.82); box-shadow: 0 0 0 6px rgba(216,91,63,.23); }
.dot-a { left: 20%; top: 39%; }.dot-b { left: 68%; top: 52%; }
.access-card { align-self: center; width: min(520px, 100%); padding: clamp(32px, 7vw, 84px); }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.access-card h1 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.08; font-weight: 600; letter-spacing: -.04em; }
.access-copy { margin: 26px 0 34px; color: #53635e; line-height: 1.8; }
.access-form { display: grid; gap: 12px; }
.access-form label, .filter-group label { font-size: 13px; font-weight: 750; }
.secret-field { display: flex; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.74); transition: .2s; }
.secret-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(216,91,63,.09); }
.secret-field input { min-width: 0; flex: 1; padding: 15px 16px; border: 0; background: transparent; outline: 0; }
.text-button, .quiet-button, .icon-button { border: 0; background: transparent; color: var(--green); font-weight: 750; }
.text-button { padding: 0 14px; }
.primary-button { min-height: 52px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--accent); color: white; font-weight: 800; box-shadow: 0 10px 24px rgba(216,91,63,.24); transition: .2s; }
.primary-button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.primary-button:disabled { opacity: .6; transform: none; }
.challenge-wrap { display: grid; grid-template-columns: 1fr 120px; align-items: center; gap: 12px; padding: 12px; background: rgba(255,255,255,.5); border-radius: 12px; }
.challenge-wrap input { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.form-message { min-height: 22px; margin: 0; color: #a33424; font-size: 13px; }
.privacy-note { margin-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.app { max-width: 1540px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 64px); }
.site-header { height: 86px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(15px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 850; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50% 44% 48% 42%; background: var(--green); color: white; font-family: Georgia, serif; transform: rotate(-5deg); }
.view-switch { display: flex; padding: 4px; border-radius: 999px; background: var(--paper-deep); }
.view-switch button { min-height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 750; }
.view-switch button.active { background: var(--white); color: var(--ink); box-shadow: 0 4px 16px rgba(37,48,43,.08); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.header-filters { display: flex; align-items: center; gap: 8px; }
.header-filters select { min-height: 40px; max-width: 132px; padding: 0 30px 0 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 700; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; font-size: 21px; }
.quiet-button { min-height: 42px; padding: 0 12px; }

main { min-height: 75vh; }
.hero { display: flex; justify-content: space-between; gap: 32px; align-items: end; padding: clamp(58px, 8vw, 108px) 0 48px; }
.hero h1 { max-width: 900px; margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(44px, 7vw, 100px); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.hero-copy { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: clamp(16px, 2vw, 21px); line-height: 1.65; }
.hero-image { flex: 0 1 430px; min-width: 280px; margin: 0; padding: 9px; background: var(--white); box-shadow: 0 18px 46px rgba(24,46,39,.16); transform: rotate(1.2deg); cursor: zoom-in; }
.hero-image:focus-visible, .week-photo-stack:focus-visible, .photo-zoom-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 72%, white); outline-offset: 4px; }
.hero-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.hero.has-image .hero-stamp { display: none; }
.hero-stamp { flex: 0 0 auto; width: 112px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); transform: rotate(8deg); }
.hero-stamp span { font-size: 10px; letter-spacing: .15em; }.hero-stamp strong { font: 36px Georgia, serif; }
.toolbar { min-height: 62px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-group { display: flex; gap: 10px; align-items: center; }
.filter-group select { min-height: 40px; padding: 0 36px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); }
.timezone-chip { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.view-panel { padding: 44px 0 72px; }

.week-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; }
.section-kicker { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.section-title { margin: 0; font: 500 clamp(30px, 4vw, 54px)/1.1 Georgia, "Songti SC", serif; }
.date-strip { display: grid; grid-template-columns: 82px repeat(7, minmax(118px, 1fr)); gap: 0; margin-bottom: 20px; overflow-x: auto; padding-bottom: 5px; }
.date-strip::before { content: ""; display: block; }
.date-button { margin: 0 4px; }
.date-button { min-height: 82px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.38); color: var(--ink); text-align: left; transition: .2s; }
.date-button:hover, .date-button.selected { background: var(--white); border-color: rgba(49,95,82,.42); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(44,65,58,.08); }
.date-button .weekday { display: block; color: var(--muted); font-size: 12px; }.date-button .day-number { display: block; margin-top: 5px; font: 30px Georgia, serif; }
.date-button .count { float: right; margin-top: -28px; color: var(--accent); font-size: 11px; }
.week-grid { border-top: 1px solid var(--line); }
.slot-row { display: grid; grid-template-columns: 82px repeat(7, minmax(118px, 1fr)); border-bottom: 1px solid var(--line); }
.slot-label { padding: 22px 10px 22px 0; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.slot-cell { min-height: 118px; padding: 10px 7px; border-left: 1px solid var(--line); }
.entry-card { width: 100%; min-height: calc(149px + var(--duration-extra, 0px)); margin-top: var(--time-gap, 0px); padding: 11px; border: 0; border-radius: 13px; background: var(--white); color: var(--ink); text-align: left; box-shadow: 0 5px 18px rgba(34,52,46,.07); transition: .2s; }.entry-card.has-photo { min-height: calc(289px + var(--duration-extra, 0px)); }.duration-lines-2 { --excerpt-lines: 2; --duration-extra: 0px; }.duration-lines-3 { --excerpt-lines: 3; --duration-extra: 0px; }.duration-lines-4 { --excerpt-lines: 4; --duration-extra: 17px; }.duration-lines-5 { --excerpt-lines: 5; --duration-extra: 34px; }.duration-lines-6 { --excerpt-lines: 6; --duration-extra: 51px; }.duration-lines-7 { --excerpt-lines: 7; --duration-extra: 68px; }.duration-lines-8 { --excerpt-lines: 8; --duration-extra: 85px; }.duration-lines-9 { --excerpt-lines: 9; --duration-extra: 102px; }.duration-lines-10 { --excerpt-lines: 10; --duration-extra: 119px; }
.entry-card + .entry-card { margin-top: max(8px, var(--time-gap, 0px)); }
.time-gap-0 { --time-gap: 0px; }.time-gap-1 { --time-gap: 6px; }.time-gap-2 { --time-gap: 12px; }.time-gap-3 { --time-gap: 18px; }.time-gap-4 { --time-gap: 24px; }.time-gap-5 { --time-gap: 30px; }.time-gap-6 { --time-gap: 36px; }.time-gap-7 { --time-gap: 42px; }.time-gap-8 { --time-gap: 48px; }.time-gap-9 { --time-gap: 54px; }.time-gap-10 { --time-gap: 60px; }.time-gap-11 { --time-gap: 66px; }.time-gap-12 { --time-gap: 72px; }.time-gap-13 { --time-gap: 78px; }.time-gap-14 { --time-gap: 84px; }.time-gap-15 { --time-gap: 90px; }.time-gap-16 { --time-gap: 96px; }.time-gap-17 { --time-gap: 102px; }.time-gap-18 { --time-gap: 108px; }.time-gap-19 { --time-gap: 114px; }.time-gap-20 { --time-gap: 120px; }
.entry-card.compact-stack, .entry-card.compact-stack.has-photo { min-height: 0; margin-top: 6px; padding: 8px; }.entry-card.compact-stack:first-child { margin-top: 0; }.compact-stack strong { margin: 4px 0 3px; font-size: 12px; }.compact-stack .entry-time { font-size: 9px; }.compact-stack .week-photo-stack { margin: 6px 5px 7px 0; }.compact-stack .week-photo-stack img { height: 68px; aspect-ratio: auto; object-fit: cover; }.compact-stack .entry-excerpt { font-size: 10px; line-height: 1.4; }.compact-stack .entry-author { margin-top: 4px; font-size: 10px; }
.entry-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(34,52,46,.12); }
.entry-time { color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .04em; }
.entry-card strong { display: block; margin: 6px 0 4px; line-height: 1.35; }
.entry-card small { color: var(--muted); }
.week-photo-stack { position: relative; z-index: 0; display: block; margin: 10px 7px 12px 0; }
.week-photo-stack.has-more::before, .week-photo-stack.has-more::after { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid rgba(44,65,58,.15); border-radius: 9px; background: #f7f2e7; }
.week-photo-stack.has-more::before { transform: translate(7px, 7px) rotate(2.2deg); }
.week-photo-stack.has-more::after { transform: translate(4px, 4px) rotate(-1.2deg); background: #fffdf8; }
.week-photo-stack img { position: relative; display: block; width: 100%; aspect-ratio: 4/3; border-radius: 8px; object-fit: cover; background: var(--green-soft); }
.week-photo-count { position: absolute; right: 6px; bottom: 6px; padding: 3px 6px; border-radius: 99px; background: rgba(20,45,39,.82); color: white; font-size: 9px; font-weight: 800; }
.entry-excerpt { display: -webkit-box; overflow: hidden; color: #40534d; font-size: 11px; line-height: 1.55; text-align: left; white-space: pre-line; -webkit-box-orient: vertical; -webkit-line-clamp: var(--excerpt-lines, 3); }
.entry-author { display: block; margin-top: 8px; font-weight: 700; }
.entry-card.type-meal_review { background: #fff1dc; }.entry-card.type-attraction { background: #eaf4ee; }.entry-card.type-shop { background: #f3ecf7; }
.week-empty { display: grid; place-items: center; height: 100%; color: #a6afa9; font-size: 12px; }

.photo-wall { margin-top: 74px; }
.photo-wall-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; }
.photo-wall-grid, .gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(18px, 3vw, 34px); }
.photo-print { position: relative; margin: 0; padding: 10px 10px 20px; background: var(--white); box-shadow: 0 12px 30px rgba(24,46,39,.14); transform: rotate(var(--rotation, -1deg)); transition: .2s; }
.photo-print:nth-child(2n) { --rotation: 1.2deg; }.photo-print:nth-child(3n) { --rotation: -.4deg; }
.photo-print:hover { transform: rotate(0) translateY(-5px); }
.photo-print img, .photo-print video { width: 100%; height: auto; display: block; object-fit: contain; background: var(--green-soft); }
.photo-zoom-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.photo-print video { max-height: 78vh; }
.photo-print figcaption { padding: 13px 6px 0; font: 15px/1.5 "KaiTi SC", "STKaiti", cursive; color: #3e504b; }
.photo-meta { display: block; margin-top: 5px; color: var(--muted); font: 10px/1.4 Inter, sans-serif; }
.photo-note { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); white-space: pre-line; color: #53635e; font: 12px/1.65 Inter, sans-serif; }
.comment-thread { margin-top: 14px; border-top: 1px solid var(--line); font-family: Inter, sans-serif; transform: none; }.comment-thread > summary { padding: 12px 4px 2px; color: var(--green); font-size: 12px; font-weight: 800; cursor: pointer; list-style: none; }.comment-thread > summary::-webkit-details-marker { display: none; }.comment-thread > summary::before { content: "＋"; display: inline-block; width: 18px; }.comment-thread[open] > summary::before { content: "−"; }.comment-thread > summary span { margin-left: 4px; color: var(--accent); }.comment-panel { padding: 12px 2px 2px; }.comment-list { display: grid; gap: 10px; }.comment-item { padding: 10px 11px; border-radius: 10px; background: rgba(49,95,82,.06); }.comment-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }.comment-meta time { color: var(--muted); }.comment-item p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #354a44; font-size: 12px; line-height: 1.6; }.comment-reply-button, [data-cancel-reply] { margin-top: 5px; padding: 0; border: 0; background: transparent; color: var(--accent-dark); font-size: 11px; font-weight: 750; }.comment-replies { display: grid; gap: 7px; margin: 9px 0 0 16px; padding-left: 10px; border-left: 2px solid rgba(49,95,82,.16); }.comment-reply { background: rgba(255,255,255,.64); }.comment-empty, .comment-preview-note { margin: 0; color: var(--muted); font-size: 12px; }.comment-form { display: grid; grid-template-columns: minmax(100px, .35fr) minmax(160px, 1fr) auto; align-items: end; gap: 8px; margin-top: 12px; }.comment-form label { display: grid; gap: 4px; color: var(--muted); font-size: 10px; font-weight: 750; }.comment-form input, .comment-form textarea { width: 100%; min-height: 38px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; background: #fff; color: var(--ink); font-size: 12px; }.comment-submit { min-height: 38px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--green); color: white; font-size: 11px; font-weight: 800; }.comment-submit:disabled { opacity: .55; }.comment-replying { grid-column: 1 / -1; padding: 7px 9px; border-radius: 7px; background: #fff3df; color: var(--muted); font-size: 11px; }.comment-replying button { margin: 0 0 0 8px; }
.pin { position: absolute; width: 13px; height: 13px; top: -6px; left: 50%; border-radius: 50%; background: var(--accent); box-shadow: 0 2px 5px rgba(90,30,20,.35); }

.day-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.day-nav { display: flex; gap: 8px; }.day-nav button { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
.day-nav-bottom { justify-content: flex-end; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.timeline { width: 100%; max-width: 1000px; min-width: 0; margin: 44px auto 0; }
.timeline-entry { display: grid; grid-template-columns: 120px 32px minmax(0, 1fr); gap: 20px; max-width: 100%; min-width: 0; padding-bottom: 52px; }
.timeline-time { padding-top: 5px; color: var(--accent); font-size: clamp(18px, 1.9vw, 23px); font-weight: 850; line-height: 1.05; letter-spacing: -.018em; text-align: right; }
.timeline-rail { position: relative; }
.timeline-rail::before { content: ""; position: absolute; left: 50%; top: 15px; bottom: -52px; width: 1px; background: var(--line); }
.timeline-rail::after { content: ""; position: absolute; left: 50%; top: 9px; width: 11px; height: 11px; margin-left: -6px; border: 2px solid var(--accent); border-radius: 50%; background: var(--paper); }
.timeline-entry:last-child .timeline-rail::before { display: none; }
.story-card { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; padding: clamp(22px, 3vw, 38px); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 36px rgba(31,49,43,.08); }
.story-card.type-meal_review { background: #fff3df; }.story-card.type-attraction { background: #edf6ef; }.story-card.type-shop { background: #f5eff7; }
.story-type { margin: 0 0 10px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.story-card h3 { margin: 0; overflow-wrap: anywhere; font: 500 clamp(26px, 3vw, 38px)/1.2 Georgia, "Songti SC", serif; }
.story-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.story-body { margin: 24px 0 0; overflow-wrap: anywhere; word-break: break-word; white-space: pre-line; font-size: 16px; line-height: 1.9; }
.meal-facts { display: flex; gap: 10px; margin-top: 18px; }.meal-facts span { padding: 7px 10px; border-radius: 99px; background: rgba(216,91,63,.1); color: var(--accent-dark); font-size: 12px; font-weight: 750; }
.photo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 40%); gap: 12px; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; margin-top: 24px; padding-bottom: 4px; }
.photo-strip button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--green-soft); }
.photo-strip img, .photo-strip video { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 12px; background: #142d27; }
.author-chip { display: inline-flex; align-items: center; gap: 7px; }.author-avatar { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 10px; font-weight: 850; }
.empty-state { padding: 70px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.gallery-dialog { width: min(1180px, calc(100vw - 34px)); max-height: calc(100svh - 34px); padding: 0; border: 0; border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 110px rgba(0,0,0,.28); }
.gallery-dialog::backdrop { background: rgba(15,29,25,.72); backdrop-filter: blur(4px); }
.gallery-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 24px 28px 18px; background: rgba(247,243,233,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.gallery-head h2 { margin: 0; font: 500 32px Georgia, serif; }
.dialog-close { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); font-size: 28px; }
.gallery-grid { padding: 30px; }
.gallery-grid .photo-print { scroll-margin-top: 120px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 99px; background: var(--ink); color: white; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.site-footer { display: flex; justify-content: space-between; align-items: center; min-height: 120px; border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 1000px) {
  .access-screen { grid-template-columns: 1fr; }.access-art { min-height: 34svh; }.access-card { justify-self: center; }
  .week-grid { display: none; }.date-strip { grid-template-columns: repeat(7, minmax(110px, 1fr)); gap: 8px; }.date-strip::before { display: none; }.date-button { margin-left: 0; }
  .mobile-week-list { display: grid !important; gap: 10px; }
  .photo-wall-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { grid-template-columns: minmax(150px, 1fr) auto minmax(300px, 1fr); }
}

@media (max-width: 700px) {
  .app { padding: 0 16px; }.site-header { height: auto; min-height: 72px; grid-template-columns: 1fr auto; padding-top: 8px; }.brand span:last-child { display: none; }
  .view-switch { order: 3; grid-column: 1 / -1; width: 100%; margin-bottom: 10px; }.view-switch button { flex: 1; }
  .header-actions { min-width: 0; }.header-actions .quiet-button { display: none; }.header-filters { min-width: 0; }.header-filters select { width: min(28vw, 118px); min-width: 0; padding-left: 8px; font-size: 11px; }.hero { padding: 52px 0 32px; flex-direction: column; align-items: stretch; }.hero-stamp { display: none; }.hero-image { width: 100%; min-width: 0; flex-basis: auto; margin-top: 18px; }
  .toolbar { align-items: flex-start; flex-direction: column; }.timezone-chip { align-self: flex-end; margin-top: -45px; }
  .photo-wall-grid, .gallery-grid { grid-template-columns: 1fr; }.photo-wall { margin-top: 54px; }
  .day-header { grid-template-columns: 1fr; }.day-nav { justify-content: stretch; }.day-nav button { flex: 1; }
  .timeline-entry { grid-template-columns: minmax(0, 1fr); gap: 8px; }.timeline-time { text-align: left; }.timeline-rail { display: none; }
  .photo-strip { grid-auto-columns: 82%; }.gallery-grid { padding: 18px; }.gallery-head { padding: 18px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
}

@media (max-width: 700px) {
  .comment-form { grid-template-columns: 1fr; }.comment-replying { grid-column: auto; }.comment-submit { min-height: 42px; }
}

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