/* 首页（11-26）。开场浑天仪、刚刚发出、从全貌开始、学科地图、施行日历、方圆市、修订账本。 */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ========== 开场 ========== */
.obs { position: relative; border-bottom: 1px solid var(--rule); overflow: hidden; }
/* 仪器背后的天球经纬线：以浑天仪为中心的同心圆和放射刻线，越远越淡 */
.obs-sky { position: absolute; inset: 0; pointer-events: none; --cx: 70%; --cy: 50%;
  background:
    repeating-radial-gradient(circle at var(--cx) var(--cy), transparent 0 95px, color-mix(in srgb, var(--rule-2) 55%, transparent) 95px 96px),
    repeating-conic-gradient(from 0deg at var(--cx) var(--cy), color-mix(in srgb, var(--rule-2) 40%, transparent) 0 .12deg, transparent .12deg 15deg);
  -webkit-mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent 0, #000 28%, transparent 66%);
  mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent 0, #000 28%, transparent 66%);
  animation: sky-in 2.4s var(--ease-out) both; }
@keyframes sky-in { from { opacity: 0; transform: scale(.92); } }
.obs-in { position: relative; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 24px; align-items: center; min-height: min(calc(100svh - 64px), 880px); padding: 36px 0 44px; }
.obs-text { min-width: 0; }
.obs .sec-no { margin-bottom: 18px; animation: rise .8s var(--ease-out) both; }
.obs h1 { margin: 0 0 22px; font-size: clamp(44px, 5.4vw, 80px); line-height: 1.16; letter-spacing: .06em; font-feature-settings: "palt"; }
.obs h1 span { display: block; white-space: nowrap; animation: rise 1.1s var(--ease-out) backwards; }
.obs h1 span:nth-child(2) { animation-delay: .1s; }
@keyframes rise { from { opacity: 0; transform: translateY(.45em); clip-path: inset(0 -10% 100% -10%); } to { clip-path: inset(-20% -10% -20% -10%); } }
.obs-sub { margin: 0 0 34px; font-family: var(--serif); font-size: clamp(17px, 1.7vw, 21px); color: var(--ink-2); letter-spacing: .08em; animation: rise 1s var(--ease-out) .22s both; }
.obs-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin: 0; animation: rise 1s var(--ease-out) .3s both; }
.obs-paths { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 18px 0 0; font-size: 13px; color: var(--ink-3); animation: rise 1s var(--ease-out) .35s both; }
.obs-paths span { margin-right: 4px; font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }
.obs-paths a { padding: 3px 11px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2); text-decoration: none; background: color-mix(in srgb, var(--card) 75%, transparent); transition: border-color var(--t1), color var(--t1), background var(--t1); }
.obs-paths a:hover, .obs-paths a:focus-visible { color: var(--accent); border-color: color-mix(in srgb, var(--accent-fill) 60%, var(--rule)); background: var(--card); }
.gauge { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 40px 0 0; max-width: 560px; border-top: 1.5px solid var(--ink); animation: rise 1s var(--ease-out) .4s both; }
.gauge > div { position: relative; display: flex; flex-direction: column; padding: 16px 0 0 18px; min-width: 0; }
.gauge > div:first-child { padding-left: 0; }
.gauge > div + div { border-left: 1px solid var(--rule-2); }
.gauge > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: repeating-linear-gradient(90deg, var(--rule-2) 0 1px, transparent 1px 8px); }
.gauge dd { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.gauge dt { margin-top: 2px; font-size: 12px; color: var(--ink-3); letter-spacing: .14em; }

.obs-stage { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.orr { position: relative; width: min(100%, 700px, calc((100svh - 190px) * .93)); aspect-ratio: 1 / 1.08; user-select: none; -webkit-user-select: none; }
.orr-cv { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; animation: sky-in 1.4s var(--ease-out) both; }
.orr-plain { position: absolute; inset: 20% 10%; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px 18px; }
.orr-tip { position: absolute; left: 0; top: 0; z-index: 3; width: 232px; padding: 14px 16px 14px; background: var(--card); border: 1px solid var(--rule-2); border-top: 3px solid var(--c); border-radius: var(--r-md); box-shadow: var(--float); transition: transform .3s var(--ease-out), opacity .2s; }
.orr-tip p { margin: 0; }
.orr-tip .ot-g { font-size: 11.5px; letter-spacing: .24em; color: var(--ink-3); }
.orr-tip .ot-n { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.45; margin: 2px 0 4px; }
.orr-tip .ot-s { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.orr-tip .ot-s b { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.ot-c { display: flex; gap: 2px; height: 10px; margin: 10px 0 12px; }
.ot-c i { flex: 1 1 0; max-width: 12px; background: var(--paper-3); }
.ot-c i.ov { background: color-mix(in srgb, var(--c) 28%, var(--paper-3)); }
.ot-c i.on { background: var(--c); }
.ot-go { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--ink); }
.ot-go:hover { color: var(--accent); }
.orr-ghost { position: absolute; z-index: 4; display: grid; place-items: center; border-radius: 50%; background: var(--c); pointer-events: none; }
.orr-ghost [data-vt] { display: grid; place-items: center; width: 100%; height: 100%; }
.orr-ghost .emb { width: 66%; height: 66%; color: #fff; }
.orr-keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; list-style: none; margin: -2px 0 0; padding: 0; animation: rise 1s var(--ease-out) .6s both; }
.orr-keys button { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 0; background: transparent; font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: color var(--t1); }
.orr-keys i { width: 9px; height: 9px; background: var(--c); transform: rotate(45deg); transition: transform var(--t2) var(--ease-out); }
.orr-keys b { font: 500 12px/1 var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.orr-keys button::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--c); transform: scaleX(0); transition: transform var(--t2) var(--ease-out); }
.orr-keys button:hover { color: var(--ink); }
.orr-keys button:hover i { transform: rotate(135deg) scale(1.15); }
.orr-keys button:hover::after, .orr-keys button[aria-pressed="true"]::after { transform: scaleX(1); }
.orr-keys button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
@media (min-width: 961px) and (max-width: 1180px) { .orr-keys { gap: 2px; } .orr-keys button { gap: 6px; padding: 0 6px; font-size: 13px; } .orr-keys button::after { left: 6px; right: 6px; } }

@media (max-width: 960px) {
  .obs-sky { --cx: 50%; --cy: 74%; }
  .obs-in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 8px; padding: 40px 0 32px; }
  .obs-text { max-width: 600px; }
  .obs-stage { margin-top: 12px; }
  .orr { width: min(100%, 580px); }
  .gauge { margin-top: 36px; }
}
@media (max-width: 480px) {
  .obs h1 { font-size: clamp(38px, 12.4vw, 54px); }
  .gauge { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .gauge > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .orr { width: calc(100% + 12px); }
  .orr-tip { width: 208px; }
}

/* ========== 区块头右边的东西 ========== */
.band-more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; }
.rail-nav { display: flex; align-items: center; gap: 8px; }
.rail-nav button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--rule-2); border-radius: var(--r-sm); background: transparent; cursor: pointer; color: var(--ink); transition: background var(--t1), border-color var(--t1), opacity var(--t1); }
.rail-nav button:hover:not(:disabled) { background: var(--card); border-color: var(--ink-3); }
.rail-nav button:disabled { opacity: .35; cursor: default; }
.rail-nav button svg { width: 18px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rail-nav .tlink { margin-left: 18px; }
@media (hover: none), (max-width: 640px) { .rail-nav button { display: none; } .rail-nav .tlink { margin-left: 0; } }

/* ========== 刚刚发出：一排横着翻 ========== */
.rail { --edge: max(24px, calc((100vw - 1220px) / 2)); display: grid; grid-auto-flow: column; grid-auto-columns: clamp(262px, 23vw, 318px); gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 2px var(--edge) 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > .card { scroll-snap-align: start; }
.rail > .card:nth-child(1) .card-img { box-shadow: var(--float); }
.card-when { display: flex; align-items: center; gap: 8px; font: 600 11.5px/1.4 var(--sans); letter-spacing: .14em; color: var(--accent); }
.rail > .card:nth-child(-n+3) .card-when::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-fill); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-fill) 55%, transparent); animation: ping 2.2s ease-out 3; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-fill) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
@media (max-width: 640px) { .rail { --edge: 16px; grid-auto-columns: 80%; gap: 16px; } }

/* ========== 从全貌开始 ========== */
.start { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.st-stage { position: sticky; top: 92px; display: block; color: var(--ink); text-decoration: none; }
.st-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: var(--paper-2); box-shadow: var(--float); }
.st-media img, .st-media video { width: 100%; height: 100%; object-fit: cover; }
.st-media video { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.st-media video.on { opacity: 1; }
.st-cap { display: block; padding-top: 22px; }
.st-top { display: flex; align-items: baseline; gap: 14px; font-size: 13px; color: var(--ink-3); letter-spacing: .06em; }
.st-no { font: 600 12px/1 var(--mono); color: var(--accent); }
.st-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; letter-spacing: .04em; }
.st-l { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; min-height: 3.6em; color: var(--ink-2); font-size: calc(15.5px * var(--fs)); line-height: 1.8; max-width: 42em; }
.st-stage:hover .st-t { color: var(--accent); }
.st-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.st-list li { border-bottom: 1px solid var(--rule); }
.st-row { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: baseline; gap: 14px; padding: 15px 8px 15px 0; color: var(--ink-2); text-decoration: none; transition: color var(--t1); }
.st-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: linear-gradient(90deg, color-mix(in srgb, var(--accent-fill) 14%, transparent), transparent 80%); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.st-row > * { position: relative; }
.st-i { font: 12px/1.6 var(--mono); color: var(--ink-3); }
.st-thumb { display: none; }
.st-rt { font-family: var(--serif); font-weight: 700; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.st-rd { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-i, .st-rt { transition: transform var(--t2) var(--ease-out); }
.st-row.on .st-i, .st-row.on .st-rt { transform: translateX(12px); }
.st-row.on::before { transform: scaleX(1); }
.st-row.on .st-i { color: var(--accent); font-weight: 700; }
@media (max-width: 900px) {
  .start { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .st-stage { position: static; }
  .st-list li:first-child { display: none; }
  .st-row { grid-template-columns: 116px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 14px; row-gap: 2px; padding: 12px 0; }
  .st-row::before { display: none; }
  .st-row.on .st-i, .st-row.on .st-rt { transform: none; }
  .st-i { display: none; }
  .st-thumb { display: block; grid-row: 1 / 3; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-sm); background: var(--paper-2); }
  .st-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .st-rt { grid-column: 2; align-self: end; font-size: 15.5px; }
  .st-rd { grid-column: 2; align-self: start; }
}

/* ========== 学科地图：一章一格 ========== */
.at-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 12.5px; color: var(--ink-3); }
.at-legend span { display: inline-flex; align-items: center; gap: 7px; }
.at-legend i { width: 8px; height: 14px; background: var(--paper-3); }
.at-legend i.on { background: var(--ink-2); }
.at-legend i.ov { background: color-mix(in srgb, var(--ink-2) 30%, var(--paper-3)); }
.atlas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; align-items: start; }
.at-col { display: flex; flex-direction: column; min-width: 0; }
.at-group { margin-bottom: 46px; scroll-margin-top: 90px; }
.at-group header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--c); }
.at-group h3 { margin: 0; font-size: 22px; letter-spacing: .2em; }
.at-group header span { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.at-row { position: relative; display: grid; grid-template-columns: 34px minmax(7.4em, 10.5em) 3.4em minmax(0, 1fr); align-items: center; column-gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.at-row::before { content: ""; position: absolute; inset: 0 -12px; background: color-mix(in srgb, var(--c) 8%, transparent); opacity: 0; transition: opacity var(--t2); border-radius: var(--r-sm); }
.at-row > * { position: relative; }
.at-row:hover::before, .at-row:focus-visible::before { opacity: 1; }
.at-emb { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink-2); transition: color var(--t2); }
.at-emb .emb { width: 30px; height: 30px; stroke-width: 2; transition: transform var(--t3) var(--ease-out); }
.at-row:hover .at-emb { color: var(--c); }
.at-row:hover .at-emb .emb { transform: scale(1.14) rotate(-4deg); }
.at-name { font-family: var(--serif); font-weight: 700; font-size: 16.5px; line-height: 1.45; }
.at-n { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.at-n b { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-right: 1px; }
.at-dim .at-name { color: var(--ink-2); }
.at-dim .at-emb { color: var(--ink-3); }
.cells { display: flex; align-items: stretch; gap: 2px; height: 20px; min-width: 0; }
.cells i { flex: 1 1 0; min-width: 0; max-width: 13px; background: var(--paper-3); transform-origin: bottom; transition: transform var(--t2) var(--ease-out), filter var(--t1); }
.cells i.ov { background: color-mix(in srgb, var(--c) 28%, var(--paper-3)); }
.cells i.on { background: var(--c); }
.cells i:hover { transform: scaleY(1.45); filter: brightness(1.1); }
.at-group.in .cells i { animation: cell-up .7s var(--ease-out) backwards; animation-delay: calc(var(--k, 0) * 14ms + 180ms); }
@keyframes cell-up { from { transform: scaleY(0); opacity: 0; } }
@media (max-width: 1080px) { .atlas { grid-template-columns: minmax(0, 1fr); } .at-row { grid-template-columns: 34px minmax(8em, 13em) 3.4em minmax(0, 1fr); } }
@media (max-width: 560px) {
  .at-row { grid-template-columns: 32px minmax(0, 1fr) auto; row-gap: 8px; padding: 13px 0; }
  .cells { grid-column: 2 / -1; height: 14px; }
  .at-emb { grid-row: 1 / 3; align-self: start; margin-top: 2px; }
}

/* ========== 施行日历 ========== */
.tl-scroll { overflow-x: auto; margin: 0 -24px; padding: 0 24px 6px; scrollbar-width: thin; }
.tl { --lh: 46px; --axis: calc(var(--up) * var(--lh) + 34px); position: relative; min-width: 1000px; height: calc(var(--axis) + var(--down) * 42px + 62px); font-variant-numeric: tabular-nums; }
.tl-past { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--paper-2) 90%, transparent)); }
.tl-axis { position: absolute; left: 0; right: 0; top: var(--axis); height: 1px; background: var(--ink-3); }
.tl-axis::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: repeating-linear-gradient(90deg, var(--rule-2) 0 1px, transparent 1px 8px); }
.tl-m { position: absolute; bottom: 0; padding-left: 8px; border-left: 1px solid var(--rule-2); height: 22px; font-size: 12px; line-height: 22px; color: var(--ink-3); white-space: nowrap; letter-spacing: .06em; }
.tl-today { position: absolute; top: 4px; bottom: 26px; width: 0; border-left: 1.5px dashed var(--accent-fill); }
.tl-today span { position: absolute; top: -4px; left: -1px; transform: translateX(-50%); padding: 3px 8px 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; white-space: nowrap; background: var(--accent-fill); color: #141a2e; border-radius: 2px; }
.tl-ev { position: absolute; left: var(--x); top: var(--axis); width: 0; height: 0; color: var(--ink); text-decoration: none; }
.tl-ev i { position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink-3); transition: transform var(--t2) var(--ease-out); }
.tl-ev.is-up i { background: var(--accent-fill); box-shadow: 0 0 0 3px var(--paper); }
.tl-ev:hover i, .tl-ev:focus-visible i { transform: scale(1.45); }
.tl-ev i::after { content: ""; position: absolute; inset: -8px; }
.tl-lab { position: absolute; left: -2px; display: grid; width: max-content; max-width: 240px; padding-left: 10px; font-size: 13px; line-height: 1.35; white-space: nowrap; transition: color var(--t1); }
.tl-lab time { font: 600 11px/1.5 var(--mono); color: var(--accent); }
.tl-lab em { margin-left: 6px; font-style: normal; color: var(--ink-3); font-size: 12px; }
.tl-ev.is-up .tl-lab { bottom: calc(14px + var(--ln) * var(--lh)); }
.tl-ev.is-up.has-lab::before { content: ""; position: absolute; left: -.5px; bottom: 6px; width: 1px; height: calc(var(--ln) * var(--lh) + 40px); background: var(--rule-2); }
.tl-ev.is-done .tl-lab { top: calc(20px + var(--ln) * 42px); color: var(--ink-3); }
.tl-ev.is-done .tl-lab time { color: var(--ink-3); }
.tl-ev.is-done.has-lab::before { content: ""; position: absolute; left: -.5px; top: 6px; width: 1px; height: calc(var(--ln) * 42px + 22px); background: var(--rule); }
.tl-ev.is-left .tl-lab { left: auto; right: -2px; padding-left: 0; padding-right: 10px; text-align: right; }
.tl-ev:hover .tl-lab { color: var(--accent); }
.tl-ev:focus-visible { outline: none; }
.tl-ev:focus-visible .tl-lab { text-decoration: underline; }
.rv.in .tl-ev i, .tl-scroll.in .tl-ev i { animation: dot-in .6s var(--ease-out) backwards; }
@keyframes dot-in { from { transform: scale(0); } }
.next-laws { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 38px; }
.next-law { display: flex; gap: 18px; align-items: flex-start; padding-top: 18px; border-top: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; min-width: 0; }
.nl-date { display: grid; justify-items: center; flex: none; min-width: 52px; }
.nl-date b { font-family: var(--serif); font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.nl-date span { font-size: 12px; color: var(--ink-3); letter-spacing: .14em; }
.nl-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nl-in { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.nl-name { font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.45; transition: color var(--t1); }
.next-law:hover .nl-name { color: var(--accent); }
.nl-lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.75; color: var(--ink-3); }
@media (max-width: 960px) { .next-laws { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; } }
@media (max-width: 560px) { .next-laws { grid-template-columns: minmax(0, 1fr); gap: 18px; } .tl-scroll { margin: 0 -16px; padding: 0 16px 6px; } .tl { min-width: 920px; } }

/* ========== 方圆市 ========== */
.cityband { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cityband-map { display: block; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--float); aspect-ratio: 1600 / 1040; background: var(--paper-2); }
.cityband-map img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transform-origin: left top; transition: transform 1.4s var(--ease-out); }
.cityband-map:hover img { transform: scale(1.05); }
.cityband-side .citycard-lead { margin: 0 0 28px; font-family: var(--serif); font-size: 18px; line-height: 2.05; color: var(--ink-2); }
.faces { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px 8px; }
.faces a { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--ink-3); text-decoration: none; transition: transform var(--t2) var(--ease-out), color var(--t1); }
.faces a:hover, .faces a:focus-visible { transform: translateY(-4px); color: var(--ink); }
.faces .fy-face { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 1px var(--rule); transition: box-shadow var(--t1); }
.faces a:hover .fy-face { box-shadow: 0 0 0 2px var(--accent-fill); }
.faces .face-name { font-size: 11.5px; line-height: 1.2; text-align: center; white-space: nowrap; }
@media (max-width: 560px) { .faces { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 6px; } }
@media (max-width: 900px) { .cityband { grid-template-columns: minmax(0, 1fr); gap: 26px; } .cityband-side .citycard-lead { font-size: 16.5px; margin-bottom: 20px; } }

/* ========== 修订账本（热力格的样子在 style.css，修订页也用） ========== */
.ledger { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.ledger .hm { position: sticky; top: 96px; }
.lg-list .revs::before { left: 87px; }
@media (max-width: 960px) { .ledger { grid-template-columns: minmax(0, 1fr); gap: 40px; } .ledger .hm { position: static; } }
@media (max-width: 560px) { .lg-list .revs::before { left: 5px; } }
