/* The static pages under /theaters/ (built by pages.py). They load css/*.css for the tokens, header and buttons. */
:root { color-scheme: light dark; }
.top .bar { justify-content: space-between; }
/* The bar's row is as tall as the timetable's (its 表示・使い方 buttons), so the logo sits in the same place on every
   page; the 時間割を見る button may stand a little past it (css/header.css .bar, css/phone.css). */
.top-acts { display: flex; align-items: center; gap: 14px; height: 30px; }
@media (max-width: 600px) { .top-acts { height: 46px; } }
/* 観たい on this device, back to that list in the timetable (pages.HEAD). */
.wish-link { display: inline-flex; align-items: center; gap: 4px; padding: 6px 2px; border: 0; background: none; cursor: pointer; white-space: nowrap; color: var(--ink); font-family: var(--font-brand); font-size: 13px; text-decoration: none; }
.wish-link .i { width: 16px; height: 16px; }
.wish-link .n { min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--surface); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.wish-link:hover { color: var(--accent); }
.wish-link[hidden] { display: none; }
.wish-wrap { position: relative; }
/* Like the timetable's menus (css/menus.css .venues): square corners, the same shadow, a title, rows, one button. */
.wish-pop { position: fixed; top: 54px; right: 16px; z-index: 20; width: min(320px, calc(100vw - 32px)); padding: 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-3); font-family: var(--font-ja); }
.wish-pop[hidden] { display: none; }
.wish-pop > b { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.wish-pop ul { list-style: none; margin: 0 0 10px; padding: 0; max-height: 50vh; overflow: auto; border-top: 1px solid var(--line); }
.wish-pop li { border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.wish-pop li > * { display: block; padding: 8px 4px; }
.wish-pop li a { color: var(--ink); text-decoration: none; }
@media (hover: hover) { .wish-pop li a:hover { background: var(--surface-2); } }
.wish-pop li.off { color: var(--muted); }
.wish-pop li.off span::after { content: "上映予定なし"; margin-left: 8px; font-size: 12px; }
.wish-pop .more { display: flex; justify-content: center; width: 100%; box-sizing: border-box; }
@media (max-width: 600px) { .wish-pop { top: 64px; left: 16px; right: 16px; width: auto; } .wish-link .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .top-acts { gap: 10px; } .top .btn { white-space: nowrap; } }
.brand { text-decoration: none; color: inherit; }
.page { max-width: 760px; margin: 0 auto; padding: 28px 16px 48px; font-family: var(--font-ja); }
/* 静謐に（2026-11-28、docs/mission.md）: 見出しと枠のラベルは細く、塗りの印は線に。ヒラギノは 500 で太字になるので 400。 */
.page h1 { margin: 0 0 6px; font-family: var(--font-title); font-size: 24px; font-weight: 400; line-height: 1.35; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.page h1 i { align-self: center; width: 10px; height: 10px; border-radius: 50%; background: var(--tc, var(--accent)); }
.page h1 span { font-size: 15px; color: var(--muted); font-weight: 500; }
.crumb { margin: 0 0 10px; font-size: 12px; }
.crumb a, .meta a, .others a, footer a { color: var(--accent); }
.meta { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.meta .upd, .meta a { white-space: nowrap; }  /* a link or the update time moves to the next line whole */
/* 取得が止まった劇場（#267）。.meta の下余白の内側に入れる。 */
.stale-note { margin: -14px 0 24px; color: var(--ng); font-size: 13px; line-height: 1.7; }
.day { margin: 0 0 22px; }
.day h2 { margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); font-size: 17px; }
.day ul { list-style: none; margin: 0; padding: 0; }
.day li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.day .t { font-family: var(--font-num); font-weight: 600; font-size: 17px; line-height: 1.3; }
.day .t small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
/* The time opens that screening in the timetable: it reads as a link, with a small label saying so. */
a.t { color: var(--accent); text-decoration: none; }
a.t .go { display: inline-flex; align-items: center; margin-top: 4px; padding: 1px 7px; border: 1px solid currentColor; border-radius: 999px;
  font-family: var(--font-ja); font-size: 10.5px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
a.t .go::after { content: "›"; margin-left: 3px; }
a.t:hover .go, a.t:active .go { background: var(--accent); color: var(--surface); border-color: var(--accent); }
.day .title i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--tc); vertical-align: 2px; }
.day li small .prog { color: var(--accent); }
.day .title { display: inline; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.45; }
.day li small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.none { margin: 0; color: var(--muted); font-size: 13px; }
.cta { margin: 28px 0; }
.cta .btn { text-decoration: none; }
.others { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); }
.others h2 { margin: 0 0 10px; font-size: 14px; }
.others ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.others a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: none; }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list a { flex: 1; min-width: 0; display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 10px; color: var(--ink); text-decoration: none; }
.list a i { grid-row: 1 / -1; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); }
.list a b { font-size: 15px; }
.list a small { grid-column: 2; color: var(--muted); font-size: 12px; }
.list span { flex: none; color: var(--muted); font-size: 12px; }
footer { max-width: 760px; margin: 0 auto; padding: 28px 16px 40px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--font-ja); font-size: 12px; line-height: 1.8; }
/* The footer: what the site is, then where to go and how to get in touch, then the note about the data. */
.foot { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px 32px; }  /* 左は説明とボタン2つが1行に入る幅 */
.foot-brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--ink) !important; font-size: 15px; font-weight: 400; text-decoration: none; }
.foot-about p { margin: 0; }
.foot-col b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 12px; font-weight: 400; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { padding: 2px 0; }
.foot-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0 !important; }
.foot-acts .btn { text-decoration: none; }
.foot-note { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; }
@media (max-width: 600px) { .foot { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
.next { margin: 28px 0 12px; font-size: 15px; color: var(--accent); }
.flist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
/* Long lists (作品一覧 has hundreds of rows): rows off screen are laid out only when scrolled to, so the first
   screen paints sooner. The height hint keeps the scrollbar honest. */
/* Long lists draw rows as they come into view. Not the film list: its jumps need the real heights at once, or the
   first jump lands on guessed ones and then shifts. */
/* 劇場一覧（.list）は30行ほどなので省かない: 仮の高さ（64px）とスマホの実際の高さが違い、地図の地名から飛んだあとに
   行が描かれて、見出しが下へずれていた（2026-11-29）。 */
.day li { content-visibility: auto; contain-intrinsic-size: auto 64px; }
.flist li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.flist .title { color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.45; }
.flist .nx { display: flex; flex-direction: column; align-items: flex-end; gap: 0; align-self: start; font-family: var(--font-num); font-weight: 600; font-size: 15px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.flist small { grid-column: 1; }
.flist .nx { grid-column: 2; grid-row: 1 / span 2; }
.flist small a i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--tc); vertical-align: 2px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.jump a { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; }
.jump small { color: var(--muted); font-family: var(--font-num); }
/* A part of the film list (今日, 明日…): a band, so it doesn't read as one more film title. */
.fhead { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 0; padding: 7px 12px; border-radius: var(--radius); background: var(--surface-2);
  color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .02em; scroll-margin-top: 28px; }
/* 飛んだ先の見出しは、ヘッダー（html の scroll-padding で 46px）のすぐ下に止める。作品一覧・特集のように、ヘッダーの下に
   飛び先の帯（.ftools）が貼り付くページだけ、その分も下げる。どのページにも 170px 付けていて、劇場一覧の地図の地名から
   飛ぶと見出しがヘッダーから 160px ほど離れて止まっていた（2026-11-29）。 */
body:has(.ftools) .fhead { scroll-margin-top: 170px; }
.fhead small { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.open { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: -8px 0 24px; }
.open .btn { text-decoration: none; }
.open small { color: var(--muted); font-size: 12px; }
.flist small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.flist small a { color: var(--accent); }
.list a small.nx { margin-top: 2px; color: var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fsearch { display: block; width: 100%; box-sizing: border-box; height: 44px; margin: 0 0 8px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; }
.fnone { margin: 20px 0; color: var(--muted); }
/* The films filter hides rows with [hidden]; the list's own display rules must not bring them back. */
.page [hidden] { display: none !important; }
/* A show that has already started (set by the script in the footer). */
.day li.past, .flist li.past { opacity: .45; }
.day li.past .go, .flist li.past .go { display: none; }
.flist .nx b, .list .nx b { font-weight: inherit; }
.btn.done { opacity: .5; cursor: default; }
/* Phones: the way into the timetable stays at the bottom while the schedule scrolls by (theater pages). */
.dock { display: none; }
@media (max-width: 600px) {
  .dock { display: flex; align-items: center; justify-content: center; position: fixed; z-index: 20; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom)); min-height: 48px; padding: 0 16px; border-radius: 999px;
    background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 400; text-decoration: none;
    box-shadow: var(--shadow-1); }
  body:has(.dock) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  /* The bar is the page's way into the timetable here; the same button in the page would be a second one. */
  body:has(.dock) :is(.open, .cta) .btn.primary { display: none; }
  body:has(.dock) .cta:not(:has(> :not(.btn.primary))) { display: none; }
}
/* The one way on into the timetable a page puts forward (filled, .btn.primary): its next step, marked like the
   shows' "時間割へ ›". The header's 時間割を見る stays plain, so a page has one button that stands out. */
.on::after { content: "›"; margin-left: 2px; font-size: 1.15em; line-height: 1; }
/* A film's facts, as in the timetable's film details. */
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 20px 0 20px; font-size: 14px; line-height: 1.6; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.facts dd a { color: var(--accent); }
.facts dd a + a { margin-left: 14px; }
.facts .i.ext { width: 13px; height: 13px; margin-left: 2px; vertical-align: -1px; }
/* What the timetable is, near the top (pages.hero): a few words and the way in beside a picture of a day joined up. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 22px; align-items: center; margin: 18px 0 30px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.hero b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 17px; line-height: 1.45; }
.hero p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.hero .btn { text-decoration: none; }
.from-site .hero { display: none; }  /* only for those who came from outside (pages.HEAD) */
.hero .shot { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.hero .shot img { display: block; width: 100%; height: auto; }
/* The theater list: each theater straight into the timetable, marked there (/?t=). */
.list a.tt-go { flex: none; display: inline-flex; align-items: center; padding: 2px 10px; border: 1px solid var(--accent); border-radius: 999px;
  color: var(--accent); font-size: 12px; white-space: nowrap; text-decoration: none; }
.list a.tt-go::after { content: "›"; margin-left: 4px; }
.list a.tt-go:hover { background: var(--accent); color: var(--surface); }
@media (max-width: 600px) {
  .hero { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .hero .shot { order: -1; }
  body:has(.dock) .hero { display: none; }  /* the bar at the bottom is the way in there */
  .list a.tt-go { display: none; }  /* the row itself leads to the theater's page, whose bar opens the timetable */
}
/* A theater's programmes, under its heading (pages.programs_line). */
.progs { display: flex; gap: 12px; margin: -12px 0 24px; font-size: 13px; line-height: 1.6; }
.progs > b { flex: none; color: var(--muted); font-weight: 500; }
.progs ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.progs a { color: var(--accent); }
.progs small { margin-left: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; }
/* A film's showings by theater (pages.film_page): the theater and until when, then each show and one more after it. */
.hall h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.hall h2 a { color: var(--ink); }
.hall h2 i { display: inline-block; width: 8px; height: 8px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--tc); vertical-align: middle; }
.hall h2 small { color: var(--muted); font-size: 12px; font-weight: 500; }
.hall h2 em { margin-left: 8px; padding: 1px 7px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); font-style: normal; font-size: 11px; font-weight: 400; }
.hall li .d { display: block; font-size: 14px; }
.day li .then { display: inline-block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.6; text-decoration: none; }
.day li .then::before { content: "↳ "; }
.day li .then:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.meta .st { white-space: nowrap; }
/* A programme's films (pages.program_page): each to its page, with the days it's on. */
.pfilms { margin: 0 0 28px; }
.pfilms summary { margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); font-size: 17px; font-weight: 700; cursor: pointer; }
.pfilms summary small { color: var(--muted); font-size: 12px; font-weight: 500; }
.pfilms:not([open]) summary::after { content: "すべて見る ›"; margin-left: 10px; color: var(--accent); font-size: 12px; font-weight: 500; }
.pfilms ul { list-style: none; margin: 0; padding: 0; }
.pfilms li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pfilms li a { color: var(--ink); font-weight: 600; }
.pfilms li small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
/* A run about to end, in the film list (pages.ending). */
.flist em.end { margin-left: 8px; padding: 1px 7px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); font-style: normal; font-size: 11px; font-weight: 400; white-space: nowrap; }
/* A film's last showing at the theater (pages.final_mark). */
.day li em.final { display: inline-block; margin-left: 8px; padding: 0 7px; border-radius: 999px; background: var(--ink); color: var(--bg); font-style: normal; font-size: 11px; font-weight: 700; line-height: 1.7; vertical-align: 2px; }
/* The film list's search and jumps, held under the header (55px, 59px on phones: .top-acts) as the list scrolls. */
.ftools { position: sticky; top: 55px; z-index: 5; margin: 0 -16px; padding: 12px 16px 8px; background: var(--bg); border-bottom: 1px solid var(--line); }
.ftools .fsearch { margin: 0 0 10px; }
.ftools .jump { margin: 0; }
@media (max-width: 600px) { .ftools { top: 59px; } }
.jump a[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.jump a[aria-current] small { color: inherit; opacity: .7; }
.flist[hidden], .fhead[hidden] { display: none; }
.jump a { transition: background-color var(--dur-quick), border-color var(--dur-quick); }
@media (hover: hover) { .jump a:not([aria-current]):hover { border-color: var(--ink); background: var(--surface-2); } }
/* 更新情報 (pages.news_page): the date on its own line, the note under it. */
.news { margin: 20px 0 0; max-width: 40em; }
.news dt { margin: 18px 0 2px; color: var(--muted); font: 500 12px var(--font-num); }
.news dt:first-child { margin-top: 0; }
.news dd { margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.8; }
.news ul { margin: 0; padding-left: 1.2em; }
.news li + li { margin-top: 6px; }
/* 関連するページへのリンク（data/news.json の links）。文の下に小さく並べる。 */
.news .more { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 2px; font-size: 13px; }
/* 作品一覧 as a grid of cards (pages.films_index): two across on phones, as many as fit on wider screens. The
   first theater's color runs along the top; the next show sits at the bottom. */
.flist { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 10px; border-top: 0; }
.flist li { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 10px; border: 1px solid var(--line); border-top: 3px solid var(--tc);
  border-radius: var(--radius); background: var(--surface); }
.flist .title { order: 1; font-size: 15px; }
.flist small { order: 2; margin-top: 0; font-size: 12px; }
.flist .nx { order: 3; align-self: stretch; margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); flex-direction: row; align-items: baseline; justify-content: space-between; font-size: 14px; }
.flist .nx .go { font: 500 12px var(--font-ja); }
.flist .gauge { display: inline-block; margin-right: 6px; padding: 0 5px; border: 1px solid currentColor; border-radius: var(--radius); color: var(--muted);
  font: 600 10.5px/1.5 var(--font-ja); vertical-align: 2px; }
/* On phones the date and 時間割へ may share the line or wrap; minmax(0, 1fr) keeps a long line from widening its column. */
@media (max-width: 600px) { .flist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .flist .nx { flex-wrap: wrap; row-gap: 4px; } .flist li { padding: 10px 10px 8px; } .flist .title { font-size: 15px; } }
.flist .until { white-space: nowrap; }
.flist small a { display: inline-block; max-width: 100%; }
/* 運営者情報・利用規約・プライバシーポリシー (pages.legal_page). */
.legal { display: grid; grid-template-columns: 9em 1fr; gap: 0; max-width: 44em; margin: 20px 0; border-top: 1px solid var(--line); }
.legal dt, .legal dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 1.8; }
.legal dt { padding-right: 16px; color: var(--muted); font-weight: 400; font-size: 14px; }
.legal dd { font-size: 15px; }
@media (max-width: 600px) { .legal { grid-template-columns: 1fr; } .legal dt { padding-bottom: 0; border-bottom: 0; } .legal dd { padding-top: 4px; } }
.foot-legal a, .about-legal a { color: inherit; }
.intro { margin: 14px 0 22px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-lg); }
.intro p { margin: 0 0 4px; font-size: 13px; line-height: 1.75; }
.intro dl { display: grid; grid-template-columns: 6.5em 1fr; gap: 4px 10px; margin: 8px 0 0; font-size: 12px; line-height: 1.65; }
.intro dt { color: var(--muted); font-weight: 400; }
.intro dd { margin: 0; }
.intro small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }

/* 劇場一覧の地図（pages.theaters.theater_map）。点は劇場の色、線は山手線と中央線、青い線は隅田川。 */
.tmap { margin: 8px 0 4px; }
.tmap-view { position: relative; max-width: 480px; margin: 0 auto; }  /* 一覧が主役なので控えめに */
.tmap svg { display: block; width: 100%; height: auto; --z: 1; }
/* 拡大しているあいだは地図をドラッグで動かす（スマホでも、その間は地図の上でページがスクロールしない）。 */
.tmap svg.zoomed { touch-action: none; cursor: grab; }
.tmap svg.zoomed:active { cursor: grabbing; }
.tmap-zoom { position: absolute; top: 4px; right: 4px; display: flex; flex-direction: column; gap: 4px; }
.tmap-zoom button { width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink); font: 600 17px/1 var(--font-num); cursor: pointer; }
.tmap-zoom button:disabled { opacity: .35; cursor: default; }
@media (hover: hover) { .tmap-zoom button:not(:disabled):hover { border-color: var(--accent); color: var(--accent); } }
.tmap .rail { fill: none; stroke: color-mix(in srgb, var(--muted) 45%, transparent); stroke-width: calc(2.5px / var(--z)); stroke-linejoin: round; }
.tmap .river { fill: none; stroke: color-mix(in srgb, #4a86b8 55%, transparent); stroke-width: calc(4px / var(--z)); stroke-linejoin: round;
  stroke-linecap: round; }
.tmap circle { stroke: var(--surface); stroke-width: calc(1.5px / var(--z)); }
/* 左端に寄せた遠い劇場（立川）へつなぐ点線と、省略の印「//」（pages/theaters.py の FAR_WEST）。 */
.tmap .far { fill: none; stroke: color-mix(in srgb, var(--muted) 45%, transparent); stroke-width: calc(2.5px / var(--z)); stroke-dasharray: 2 6; stroke-linecap: round; }
.tmap .brk { fill: none; stroke: var(--muted); stroke-width: calc(2px / var(--z)); stroke-linecap: round; }
.tmap text { fill: var(--ink); font-size: calc(19px / var(--z)); font-weight: 700; paint-order: stroke; stroke: var(--surface); stroke-width: calc(4px / var(--z)); stroke-linejoin: round; }
.tmap text.ln { fill: var(--muted); font-size: calc(15px / var(--z)); font-weight: 500; stroke-width: calc(3px / var(--z)); }
.tmap text.ln.sumida { fill: color-mix(in srgb, #4a86b8 80%, var(--ink)); }
.tmap text tspan { fill: var(--muted); font-weight: 500; font-family: var(--font-num); }
.tmap a:hover text { fill: var(--accent); }
/* 地名にマウスを乗せたとき（pages.theaters の MAP_JS）: その地名の点を大きく、ほかは薄く。劇場名のカードを出す。 */
.tmap { position: relative; }
.tmap circle { transform-box: fill-box; transform-origin: center; transition: opacity var(--dur-quick) var(--ease),
  scale var(--dur-quick) var(--ease); }
.tmap svg.hl circle { opacity: .25; }
.tmap svg.hl circle.on { opacity: 1; scale: 1.35; }
.tmap a:focus-visible text { fill: var(--accent); }
.tmap-card { position: absolute; z-index: 2; width: max-content; max-width: 360px; padding: 8px 12px; pointer-events: none;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-3); font-size: 12px; line-height: 1.6;
  transition: opacity var(--dur-quick) var(--ease), translate var(--dur-quick) var(--ease); }
.tmap-card[hidden] { display: none; }
.tmap-card b { display: block; margin-bottom: 2px; font-size: 13px; }
.tmap-card div { display: flex; justify-content: space-between; gap: 14px; }
.tmap-card span, .tmap-card small { white-space: nowrap; }
.tmap-card small { color: var(--muted); font-size: 11px; }
@starting-style { .tmap-card:not([hidden]) { opacity: 0; translate: 0 3px; } }
@starting-style { .tmap-card.below:not([hidden]) { opacity: 0; translate: 0 -3px; } }
@media (prefers-reduced-motion: reduce) { .tmap circle { transition: none; }
  @starting-style { .tmap-card:not([hidden]), .tmap-card.below:not([hidden]) { translate: none; } } }
.tmap figcaption { margin-top: 6px; color: var(--muted); font-size: 11px; text-align: center; }

/* 作品ページのポスター（配給会社の許しがあるときだけ。docs/images.md）。PC は事実の表の右、スマホは表の下。切り抜かない。 */
.film-top { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; align-items: start; margin: 20px 0; }
.film-top .facts { margin: 0; }
.poster { margin: 0; }
.poster img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-1); }
.poster figcaption { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
@media (max-width: 600px) {
  .film-top { grid-template-columns: 1fr; }
  .poster { width: 160px; }
}
/* はしごについて (pages.other.about_page)。読みものなので行を短く、行間を広く。 */
.about-page { max-width: 40em; }
.about-page h2 { margin: 36px 0 10px; font-size: 17px; }
.about-page p { margin: 0 0 12px; font-size: 15px; line-height: 1.9; }
.about-lead { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center; margin: 18px 0 8px; }
.about-lead img { display: block; width: 96px; height: 96px; }
.about-lead b { display: block; margin-bottom: 8px; font-size: 17px; line-height: 1.6; letter-spacing: .02em; }
.about-can, .about-list { margin: 0 0 12px; padding: 0; list-style: none; font-size: 15px; line-height: 1.85; }
.about-can li { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.about-can li:first-child { border-top: 1px solid var(--line); }
.about-can a { justify-self: start; font-weight: 700; }
.about-can span { color: var(--muted); }
.about-list li { position: relative; margin: 0 0 6px; padding-left: 1.1em; }
.about-list li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.about-for { padding: 10px 14px; border-radius: var(--radius-lg); background: var(--surface-2); font-size: 13px !important; color: var(--muted); }
@media (max-width: 600px) {
  .about-lead { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .about-lead img { width: 72px; height: 72px; }
  .about-lead b { font-size: 15px; }
  .about-can li { grid-template-columns: 1fr; gap: 2px; }
}
/* 日付ごとのページ（/days/<日付>/）: 劇場の見出し、前後の日、はしご見本。 */
.day h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.day h2 .tname { color: var(--ink); }
.day h2 .tname i { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--tc); vertical-align: 1px; }
.day h2 small { color: var(--muted); font-size: 12px; font-weight: 400; }
.day h2 .open-tt { margin-left: auto; color: var(--accent); font-size: 12px; font-weight: 400; white-space: nowrap; text-decoration: none; }
.day h2 .open-tt::after { content: "›"; margin-left: 3px; }
/* 前の日・一覧・次の日を3つの列に。リンクは文字の幅だけ（ホバーの下線が列いっぱいに伸びないように）。 */
.daynav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 12px; margin: 0 0 20px; font-size: 14px; }
.daynav a { color: var(--accent); white-space: nowrap; }
.daynav > :first-child { justify-self: start; }
.daynav > :last-child { justify-self: end; }
.daynav a[href="/days/"] { color: var(--muted); font-size: 12px; }
/* 下線は base.css の「B」（ホバーで下線がのびる）。矢印は行き先の方へ少し動く。 */
.daynav .ar { display: inline-block; transition: translate .4s var(--ease); }
@media (hover: hover) {
  .daynav a[rel="prev"]:hover .ar { translate: -3px 0; transition-duration: .25s; }
  .daynav a[rel="next"]:hover .ar { translate: 3px 0; transition-duration: .25s; }
}
@media (prefers-reduced-motion: reduce) { .daynav .ar { transition: none; translate: none !important; } }
.sample { margin: 0 0 28px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.sample h2 { margin: 0 0 8px; font-size: 15px; }
.sample ol { list-style: none; margin: 0; padding: 0; }
.sample li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 5px 0; }
.sample .tm { font-family: var(--font-num); font-weight: 600; font-size: 15px; color: var(--accent); }
.sample .title { color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.45; }
.sample small { display: block; color: var(--muted); font-size: 12px; }
.sample small a { color: var(--accent); }
.sample li.mv { display: block; padding: 0 0 0 62px; color: var(--muted); font-size: 12px; }
.sample p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 2; }
.sample .btn { margin-left: 4px; text-decoration: none; }

/* /days/ のカレンダー（pages/days.py days_index）。 */
.cal { margin: 16px 0 28px; }
.cal-head, .cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-head span { padding: 4px 0; text-align: center; font-size: 12px; color: var(--muted); }
.cal-week { margin-top: 4px; }
.cal-month { margin: 14px 0 2px; font-size: 13px; font-weight: 700; }
.cal-day { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 64px; padding: 6px 7px;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.cal-day b { font-size: 17px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.cal-day small { font-size: 11px; color: var(--muted); line-height: 1.3; }
a.cal-day { border-color: var(--line-strong); }
a.cal-day:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
a.cal-day:hover small { color: inherit; }
.cal-day.none { border-style: dashed; color: var(--muted); opacity: .55; }
.cal .sat, .cal .sat b { color: var(--sat); } .cal .sun, .cal .sun b { color: var(--ng); }
a.cal-day.sat:hover b, a.cal-day.sun:hover b { color: inherit; }
@media (max-width: 480px) { .cal-day { min-height: 56px; padding: 5px 4px; } .cal-day b { font-size: 15px; } .cal-day small { font-size: 10px; } }
/* いただいた声 (pages.voices_page): 日付と状態の印を1行に、声、どうしたか、リンクの順。印は線と文字だけ（塗らない）。 */
.voices-acts { margin: 0 0 8px; }
.voices-acts .btn { text-decoration: none; }
.voices { list-style: none; margin: 20px 0 0; padding: 0; max-width: 40em; border-top: 1px solid var(--line); }
.voices li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.8; }
.voices .vo-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.voices time { color: var(--muted); font: 500 12px var(--font-num); }
.voices .vo-st { padding: 0 8px; border: 1px solid currentColor; border-radius: 999px; color: var(--muted); font-family: var(--font-ja); font-size: 11px; line-height: 1.7; }
.voices .vo-st.done { color: var(--ok); }
.voices .vo-q { margin: 4px 0 0; font-weight: 700; }
.voices .vo-r { margin: 2px 0 0; }
.voices .vo-r + .vo-r { margin-top: .6em; }
.voices .more { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 2px; font-size: 13px; }
