:root {
  --lg68-tone-sheet: #f5f7f6;
  --lg68-tone-paper: #ffffff;
  --lg68-tone-ink: #232725;
  --lg68-tone-soft: #5b625f;
  --lg68-tone-route: #17685f;
  --lg68-tone-route-deep: #0f4a44;
  --lg68-tone-note: #8b3152;
  --lg68-tone-marker: #f1d66d;
  --lg68-tone-line: #d6dcd9;
  --lg68-space-edge: clamp(1rem, 4vw, 3.5rem);
  --lg68-space-block: clamp(3rem, 7vw, 6rem);
  --lg68-type-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --lg68-type-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --lg68-ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body.lg68-logbook { margin: 0; background: var(--lg68-tone-sheet); color: var(--lg68-tone-ink); font: 1rem/1.85 var(--lg68-type-sans); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--lg68-tone-route); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--lg68-tone-note); }
:focus-visible { outline: 3px solid var(--lg68-tone-marker); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--lg68-type-serif); line-height: 1.3; margin: 0 0 .7em; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.2rem; }
p, ul, ol { margin: 0 0 1.1em; }
main > section, main > p, main > article { width: min(1180px, 100% - 2 * var(--lg68-space-edge)); margin-inline: auto; }

.lg68-mast__skip { position: absolute; left: 1rem; top: -4rem; z-index: 30; background: var(--lg68-tone-ink); color: #fff; padding: .6rem 1rem; }
.lg68-mast__skip:focus { top: 1rem; }
.lg68-mast { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem var(--lg68-space-edge); background: rgb(245 247 246 / .92); border-bottom: 1px solid var(--lg68-tone-line); backdrop-filter: blur(10px); }
.lg68-mast__identity { display: flex; align-items: center; gap: .7rem; color: var(--lg68-tone-ink); text-decoration: none; min-height: 44px; }
.lg68-mast__identity img { width: auto; height: 42px; }
.lg68-mast__identity span { display: grid; line-height: 1.2; }
.lg68-mast__identity strong { font-family: var(--lg68-type-serif); font-size: 1.1rem; }
.lg68-mast__identity small { color: var(--lg68-tone-soft); font-size: .78rem; letter-spacing: .08em; }
.lg68-mast__wayfinding ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.lg68-mast__wayfinding a { position: relative; display: flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 .8rem; color: var(--lg68-tone-ink); text-decoration: none; font-size: .95rem; }
.lg68-mast__wayfinding a span { font-size: .7rem; color: var(--lg68-tone-note); font-weight: 700; }
.lg68-mast__wayfinding a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .45rem; height: 2px; background: var(--lg68-tone-route); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--lg68-ease); }
.lg68-mast__wayfinding a:hover::after, .lg68-mast__wayfinding a[aria-current="page"]::after { transform: scaleX(1); }

.lg68-atlas__opening { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2rem, 5vw, 4.5rem) 2rem; }
.lg68-atlas__words > * { animation: lg68-rise .8s var(--lg68-ease) both; }
.lg68-atlas__words > :nth-child(2) { animation-delay: .06s; }
.lg68-atlas__words > :nth-child(3) { animation-delay: .12s; }
.lg68-atlas__words > :nth-child(4) { animation-delay: .18s; }
.lg68-atlas__words > :nth-child(5) { animation-delay: .24s; }
@keyframes lg68-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.lg68-atlas__crumbs { display: flex; gap: .5rem; font-size: .85rem; color: var(--lg68-tone-soft); margin-bottom: 1rem; }
.lg68-atlas__eyebrow { color: var(--lg68-tone-note); font-size: .76rem; font-weight: 700; letter-spacing: .18em; margin-bottom: .8rem; }
.lg68-atlas__opening h1 { font-size: clamp(2rem, 4.2vw, 3.35rem); }
.lg68-atlas__lead { font-size: 1.12rem; color: var(--lg68-tone-soft); max-width: 36em; }
.lg68-atlas__exits { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 .6rem; }
.lg68-atlas__exit { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: center; min-width: 13.5rem; min-height: 60px; padding: .7rem 1.1rem; border: 1px solid var(--lg68-tone-ink); border-radius: 6px; text-decoration: none; overflow: hidden; isolation: isolate; transition: color .3s, transform .3s var(--lg68-ease), box-shadow .3s; }
.lg68-atlas__exit span { font-weight: 700; line-height: 1.25; }
.lg68-atlas__exit small { grid-row: 2; font-size: .76rem; opacity: .8; line-height: 1.3; }
.lg68-atlas__exit svg { grid-row: 1 / 3; grid-column: 2; width: 20px; height: 20px; transition: transform .3s var(--lg68-ease); }
.lg68-atlas__exit::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); transition: transform .45s var(--lg68-ease); }
.lg68-atlas__exit--site { background: var(--lg68-tone-ink); color: #fff; }
.lg68-atlas__exit--site::before { background: var(--lg68-tone-route); }
.lg68-atlas__exit--telegram { background: var(--lg68-tone-paper); color: var(--lg68-tone-ink); }
.lg68-atlas__exit--telegram::before { background: var(--lg68-tone-marker); }
.lg68-atlas__exit:hover { transform: translateY(-3px); box-shadow: 0 12px 22px rgb(35 39 37 / .16); }
.lg68-atlas__exit--site:hover { color: #fff; }
.lg68-atlas__exit--telegram:hover { color: var(--lg68-tone-ink); }
.lg68-atlas__exit:hover::before { transform: none; }
.lg68-atlas__exit:hover svg { transform: translate(3px, -3px); }
.lg68-atlas__disclosure { font-size: .8rem; color: var(--lg68-tone-soft); }
.lg68-colophon__plate { margin: 0; }
.lg68-colophon__plate img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #ccd4d1; }
.lg68-colophon__plate figcaption { display: grid; gap: .1rem; margin-top: .55rem; font-size: .8rem; color: var(--lg68-tone-soft); line-height: 1.5; }
.lg68-colophon__plate figcaption strong { color: var(--lg68-tone-ink); font-size: .9rem; }
.lg68-atlas__hero-plate { position: relative; animation: lg68-slide .95s var(--lg68-ease) .1s both; }
.lg68-atlas__hero-plate::before { content: ""; position: absolute; inset: 1rem -1rem auto auto; width: 38%; height: 55%; border: 1px solid var(--lg68-tone-route); border-radius: 6px; z-index: -1; }
@keyframes lg68-slide { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
.lg68-margin__stamp { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; padding: 1rem 0; border-block: 1px solid var(--lg68-tone-line); font-size: .92rem; color: var(--lg68-tone-soft); }
.lg68-margin__stamp span:first-child { background: var(--lg68-tone-marker); color: var(--lg68-tone-ink); padding: .2rem .6rem; font-weight: 700; }

.lg68-hours__intro { padding-block: var(--lg68-space-block) 1rem; font-size: 1.08rem; }
.lg68-hours__intro > * { max-width: 820px; }
.lg68-hours__chapter, .lg68-atlas__districts, .lg68-hours, .lg68-ledger, .lg68-colophon__credits, .lg68-margin__questions { padding-block: calc(var(--lg68-space-block) / 1.6); }
.lg68-hours__chapter > *, .lg68-colophon__credits > * { max-width: 820px; }
.lg68-atlas__section-head { display: grid; gap: .2rem; margin-bottom: 1rem; }
.lg68-atlas__section-head span { font-size: .72rem; letter-spacing: .2em; color: var(--lg68-tone-note); font-weight: 700; }
.lg68-atlas__district-list { margin: 1.5rem 0 0; border-top: 1px solid var(--lg68-tone-ink); }
.lg68-atlas__district { display: grid; grid-template-columns: minmax(12rem, .8fr) 2fr; gap: 2rem; padding: 1.8rem 1rem; border-bottom: 1px solid var(--lg68-tone-line); transition: background .35s, transform .35s var(--lg68-ease); }
.lg68-atlas__district:hover { background: var(--lg68-tone-paper); transform: translateX(8px); }
.lg68-atlas__district dt { font: 700 1.15rem/1.4 var(--lg68-type-serif); color: var(--lg68-tone-ink); }
.lg68-atlas__district dt span { display: block; font: 700 2.3rem/1 var(--lg68-type-serif); color: var(--lg68-tone-route); margin-bottom: .6rem; transition: color .3s; }
.lg68-atlas__district:hover dt span { color: var(--lg68-tone-note); }
.lg68-atlas__district dd { margin: 0; }
.lg68-atlas__district dd h3 { font-size: 1.2rem; }
.lg68-atlas__district dd p:last-child { margin-bottom: 0; }

.lg68-hours__rail { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.5rem; counter-reset: lg68-stop; }
.lg68-hours__entry { position: relative; padding: 1.5rem; border-top: 4px solid var(--lg68-tone-route); background: var(--lg68-tone-paper); transition: transform .35s var(--lg68-ease), box-shadow .35s; }
.lg68-hours__entry--indoor { border-top-color: var(--lg68-tone-note); }
.lg68-hours__entry:hover { transform: translateY(-6px); box-shadow: 0 18px 30px rgb(35 39 37 / .1); }
.lg68-hours__clock { display: flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--lg68-tone-soft); }
.lg68-hours__clock svg { width: 16px; height: 16px; }
.lg68-hours__entry ol { padding-left: 1.2rem; font-size: .95rem; }
.lg68-hours__entry li { margin-bottom: .6rem; }
.lg68-hours__entry li::marker { color: var(--lg68-tone-route); font-weight: 700; }
.lg68-ledger__table-scroll { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--lg68-tone-line); border-radius: 6px; background: var(--lg68-tone-paper); }
.lg68-ledger table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .95rem; }
.lg68-ledger caption { text-align: left; padding: .9rem 1rem; font-weight: 700; color: var(--lg68-tone-note); }
.lg68-ledger th, .lg68-ledger td { padding: .85rem 1rem; border-top: 1px solid var(--lg68-tone-line); text-align: left; vertical-align: top; }
.lg68-ledger th { background: var(--lg68-tone-ink); color: #fff; font-weight: 600; }
.lg68-ledger td:nth-child(2) { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--lg68-tone-route); white-space: nowrap; }
.lg68-ledger tbody tr { transition: background .25s; }
.lg68-ledger tbody tr:hover { background: #fbf6de; }
.lg68-ledger > p, .lg68-ledger > div:first-child { max-width: 820px; }

.lg68-colophon__reel { padding-block: calc(var(--lg68-space-block) / 1.6); }
.lg68-colophon__reel-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.lg68-colophon__reel-head h2 { margin: 0; }
.lg68-colophon__reel-tools { display: flex; gap: .5rem; }
.lg68-colophon__reel-tools button { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--lg68-tone-ink); border-radius: 50%; background: transparent; color: var(--lg68-tone-ink); cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.lg68-colophon__reel-tools button:hover { background: var(--lg68-tone-ink); color: #fff; transform: scale(1.06); }
.lg68-colophon__reel-tools svg { width: 20px; height: 20px; }
.lg68-colophon__reel-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(58%, 680px); gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 1rem; scrollbar-width: thin; }
.lg68-colophon__reel-track > figure { scroll-snap-align: start; }
.lg68-colophon__reel-track img { aspect-ratio: 16 / 10; transition: transform .6s var(--lg68-ease), filter .6s; }
.lg68-colophon__reel-track figure { overflow: hidden; }
.lg68-colophon__reel-track figure:hover img { transform: scale(1.03); filter: saturate(1.15); }

.lg68-margin__questions > * { max-width: 900px; }
.lg68-margin__question { border-bottom: 1px solid var(--lg68-tone-line); }
.lg68-margin__question:first-of-type { border-top: 1px solid var(--lg68-tone-ink); }
.lg68-margin__question summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem .2rem; cursor: pointer; list-style: none; min-height: 44px; }
.lg68-margin__question summary::-webkit-details-marker { display: none; }
.lg68-margin__question summary h3 { margin: 0; font-size: 1.08rem; transition: color .25s; }
.lg68-margin__question summary:hover h3 { color: var(--lg68-tone-route); }
.lg68-margin__question summary svg { flex: none; width: 20px; height: 20px; transition: transform .35s var(--lg68-ease); }
.lg68-margin__question[open] summary svg { transform: rotate(45deg); }
.lg68-margin__question > div { padding: 0 .2rem 1rem; color: var(--lg68-tone-soft); animation: lg68-rise .4s var(--lg68-ease); }

.lg68-margin { padding-block: 2.5rem; }
.lg68-margin__byline { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .85rem; color: var(--lg68-tone-soft); padding-bottom: 1.4rem; border-bottom: 1px solid var(--lg68-tone-line); }
.lg68-margin__byline time { color: var(--lg68-tone-note); font-weight: 700; }
.lg68-margin__layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: 2rem; }
.lg68-margin__index { position: sticky; top: 6rem; align-self: start; display: grid; gap: .2rem; font-size: .9rem; border-left: 2px solid var(--lg68-tone-line); padding-left: 1rem; }
.lg68-margin__index strong { font-family: var(--lg68-type-serif); margin-bottom: .4rem; }
.lg68-margin__index a { color: var(--lg68-tone-soft); text-decoration: none; padding: .3rem 0; transition: color .25s, transform .25s; }
.lg68-margin__index a:hover { color: var(--lg68-tone-route); transform: translateX(4px); }
.lg68-margin__copy > section { max-width: 760px; padding-block: 0 2.5rem; }
.lg68-margin__copy .lg68-colophon__reel { max-width: none; width: auto; }
.lg68-margin__copy .lg68-colophon__reel-track { grid-auto-columns: min(82%, 560px); }
.lg68-margin__chapter h3 { margin-top: 1.6rem; padding-left: .8rem; border-left: 3px solid var(--lg68-tone-marker); }
.lg68-margin__source { margin: 1.5rem 0 0; padding: 1rem 1.2rem; background: #f7ecef; border-left: 3px solid var(--lg68-tone-note); border-radius: 0 6px 6px 0; font-size: .92rem; }
.lg68-margin__source p { margin: .3rem 0 0; }
.lg68-hours__chapter--next { border-top: 1px solid var(--lg68-tone-line); }
.lg68-hours__chapter--next strong a { display: inline-flex; padding: .2rem 0; background: linear-gradient(var(--lg68-tone-marker), var(--lg68-tone-marker)) 0 88% / 0 35% no-repeat; transition: background-size .4s var(--lg68-ease); }
.lg68-hours__chapter--next strong a:hover { background-size: 100% 35%; color: var(--lg68-tone-ink); }
.lg68-colophon__credits ol { font-size: .88rem; color: var(--lg68-tone-soft); padding-left: 1.3rem; }
.lg68-hours__missing { padding-block: var(--lg68-space-block); }
.lg68-hours__missing nav { display: flex; flex-wrap: wrap; gap: 1rem; }

.lg68-colophon { margin-top: var(--lg68-space-block); padding: 3rem var(--lg68-space-edge); background: var(--lg68-tone-ink); color: #d9dedb; font-size: .9rem; }
.lg68-colophon > * { max-width: 1180px; margin-inline: auto; }
.lg68-colophon__mark { font: 700 1.3rem var(--lg68-type-serif); color: #fff; }
.lg68-colophon nav { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-block: 1rem; }
.lg68-colophon a { color: var(--lg68-tone-marker); }
.lg68-colophon small { display: block; color: #9aa39f; }
.lg68-colophon__rise { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 15; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--lg68-tone-route); color: #fff; box-shadow: 0 8px 18px rgb(0 0 0 / .2); transition: transform .3s var(--lg68-ease), background .3s; }
.lg68-colophon__rise:hover { color: #fff; background: var(--lg68-tone-note); transform: translateY(-4px); }
.lg68-colophon__rise svg { width: 20px; height: 20px; }
.lg68-motion [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--lg68-ease), transform .7s var(--lg68-ease); }
.lg68-motion [data-reveal].is-seen { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .lg68-atlas__opening { grid-template-columns: 1fr; }
  .lg68-atlas__hero-plate::before { display: none; }
  .lg68-hours__rail { grid-template-columns: 1fr; }
  .lg68-margin__layout { grid-template-columns: 1fr; }
  .lg68-margin__index { position: static; border-left: 0; border-block: 1px solid var(--lg68-tone-line); padding: 1rem 0; }
  .lg68-colophon__reel-track { grid-auto-columns: 86%; }
}
@media (max-width: 680px) {
  .lg68-mast { flex-direction: column; align-items: stretch; gap: .2rem; padding-block: .4rem; }
  .lg68-mast__identity img { height: 34px; }
  .lg68-mast__wayfinding ul { justify-content: space-between; }
  .lg68-mast__wayfinding a { padding: 0 .4rem; font-size: .88rem; }
  .lg68-mast__wayfinding a::after { left: .4rem; right: .4rem; }
  html { scroll-padding-top: 8rem; }
  h2 { font-size: 1.45rem; }
  .lg68-atlas__exit { flex: 1 1 100%; }
  .lg68-margin__stamp { grid-template-columns: 1fr; gap: .5rem; }
  .lg68-atlas__district { grid-template-columns: 1fr; gap: .4rem; padding-inline: 0; }
  .lg68-atlas__district:hover { transform: none; }
  .lg68-colophon__reel-head { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lg68-motion [data-reveal] { opacity: 1; transform: none; }
}
