/* OmeChat, "station departures" theme.
   Light: platform concrete, navy signage ink, signal yellow, transit line colours (green / blue / red).
   Dark: night station. Split-flap boards, the room bar, final band and footer stay dark in both modes.
   Page colours only through tokens. Never colour a bare `a` under a theme selector. */
:root {
  --bg: #f2f4f1;
  --bg-2: #e5e9e4;
  --card: #ffffff;
  --ink: #0f1f38;
  --ink-2: #33425b;
  --muted: #546178;
  --line: #d2d8d1;
  --link: #1a52ad;
  --label-bg: #ffc72c;
  --label-ink: #0f1f38;
  --btn-ink: #0f1f38;
  --on-btn-ink: #ffffff;
  --shadow: 0 1px 0 rgba(15, 31, 56, .06), 0 18px 36px -24px rgba(15, 31, 56, .45);
  --head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Overpass Mono", "Courier New", monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-board="light"]) {
    --bg: #0b1220; --bg-2: #0f182b; --card: #16213a; --ink: #f2f4f7; --ink-2: #c9d0dc; --muted: #a7b0c0; --line: #24304a;
    --link: #8fb8ff; --btn-ink: #f2f4f7; --on-btn-ink: #0b1220;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 22px 44px -24px rgba(0, 0, 0, .9);
    color-scheme: dark;
  }
}
:root[data-board="dark"] {
  --bg: #0b1220; --bg-2: #0f182b; --card: #16213a; --ink: #f2f4f7; --ink-2: #c9d0dc; --muted: #a7b0c0; --line: #24304a;
  --link: #8fb8ff; --btn-ink: #f2f4f7; --on-btn-ink: #0b1220;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 22px 44px -24px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.07rem/1.7 var(--body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--head); font-weight: 600; line-height: 1.1; color: var(--ink); letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 500; }
p { margin: 0 0 1em; }
a { color: inherit; }
.dp-prose a:not(.dp-btn):not(.dp-mail), .dp-crumbs a, .dp-tipbox a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.dp-ic { width: 20px; height: 20px; flex: none; }
.dp-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.dp-wrap--narrow { width: min(860px, 100% - 40px); }
.dp-skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: #ffc72c; color: #0f1f38; font-weight: 700; }
.dp-skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #ffc72c; outline-offset: 3px; box-shadow: 0 0 0 6px #0f1f38; }
.dp-label { display: inline-block; margin: 0 0 14px; padding: 4px 12px; background: var(--label-bg); color: var(--label-ink); font: 700 .86rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; border-radius: 3px; }
.dp-label--night { background: #ffc72c; color: #0f1f38; }

/* ---------- transit line bullets */
.dp-bullet { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; font: 700 .95rem/1 var(--head); color: #ffffff; }
.dp-bullet--green { background: #0d7a41; } .dp-bullet--blue { background: #1f5fc4; } .dp-bullet--red { background: #c8232c; }
.dp-bullet--yellow { background: #ffc72c; color: #0f1f38; } .dp-bullet--grey { background: #5b6678; }

/* ---------- buttons */
.dp-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dp-btns--center { justify-content: center; }
.dp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border-radius: 6px; border: 2px solid transparent; font: 700 1.02rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s; }
.dp-btn:hover { transform: translateY(-2px); }
.dp-btn--blue { background: #1f5fc4; color: #ffffff; }
.dp-btn--blue:hover { background: #1a52ad; }
.dp-btn--yellow { background: #ffc72c; color: #0f1f38; }
.dp-btn--ink { background: var(--btn-ink); color: var(--on-btn-ink); }
.dp-btn--line { background: var(--card); color: var(--ink); border-color: var(--ink); }
.dp-btn--ghost { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, .7); }
.dp-btn--big { min-height: 58px; padding: 0 28px; font-size: 1.08rem; }
.dp-btn--small { min-height: 44px; padding: 0 18px; font-size: .96rem; }

/* ---------- split-flap characters */
.dp-flaps { display: inline-flex; gap: 3px; }
.dp-flap { position: relative; display: inline-grid; place-items: center; width: 1.05em; height: 1.55em; border-radius: 3px; background: linear-gradient(180deg, #262a31 0 49%, #1b1e23 51% 100%); color: #f5f5f0; font: 700 1em/1 var(--mono); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06), 0 1px 0 rgba(0, 0, 0, .6); }
.dp-flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .7); }
.dp-flap.is-flip { animation: dp-flip .09s linear; }
@keyframes dp-flip { 50% { transform: scaleY(.15); filter: brightness(1.6); } }
.dp-flaps--green .dp-flap { color: #6ee7a0; }
.dp-flaps--big { font-size: clamp(1.05rem, 2.6vw, 1.7rem); }

/* ---------- header (station sign) */
.dp-head { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dp-head__row { display: flex; align-items: center; gap: 16px; min-height: 74px; }
.dp-head__lines { display: grid; grid-template-columns: repeat(4, 1fr); height: 5px; }
.dp-head__lines i:nth-child(1) { background: #0d7a41; } .dp-head__lines i:nth-child(2) { background: #1f5fc4; } .dp-head__lines i:nth-child(3) { background: #c8232c; } .dp-head__lines i:nth-child(4) { background: #ffc72c; }
.dp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.dp-logo { width: 42px; height: 42px; }
.dp-word { font: 700 1.6rem/1 var(--head); letter-spacing: .01em; text-transform: uppercase; }
.dp-word b { font-weight: 700; color: #1f5fc4; }
:root[data-board="dark"] .dp-word b { color: #ffc72c; }
@media (prefers-color-scheme: dark) { :root:not([data-board="light"]) .dp-word b { color: #ffc72c; } }
.dp-brand--night { color: #ffffff; }
.dp-brand--night .dp-word b { color: #ffc72c; }
.dp-nav { display: flex; gap: 2px; margin-left: auto; }
.dp-nav__link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .98rem; transition: background .15s; }
.dp-nav__link .dp-bullet { width: 24px; height: 24px; font-size: .8rem; }
.dp-nav__link:hover { background: var(--bg-2); color: var(--ink); }
.dp-nav__link[aria-current="page"] { background: var(--ink); color: var(--bg); }
.dp-head__end { display: flex; align-items: center; gap: 10px; flex: none; }
.dp-clock { padding: 7px 10px; border-radius: 5px; background: #15181d; color: #ffc72c; font: 700 1rem/1 var(--mono); letter-spacing: .08em; }
.dp-mode, .dp-roombar__full { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; border: 2px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.dp-mode__light { display: none; }
:root[data-board="dark"] .dp-mode__dark { display: none; }
:root[data-board="dark"] .dp-mode__light { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-board="light"]) .dp-mode__dark { display: none; } :root:not([data-board="light"]) .dp-mode__light { display: block; } }
.dp-head__go { min-height: 44px; }
.dp-head__menu { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 6px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); font: 700 1rem/1 var(--body); cursor: pointer; }

/* phone menu: departures board */
.dp-dep { position: fixed; inset: 0; z-index: 90; display: grid; place-items: start center; padding: 14px; background: rgba(6, 10, 18, .72); overflow-y: auto; }
.dp-dep[hidden] { display: none; }
.dp-dep__board { width: min(520px, 100%); padding: 16px; border-radius: 12px; background: #15181d; color: #f5f5f0; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), inset 0 0 0 3px #262a31; animation: dp-drop .28s ease; }
@keyframes dp-drop { from { transform: translateY(-14px); opacity: 0; } }
.dp-dep__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.dp-dep__title { flex: 1; font: 700 1.5rem/1 var(--head); text-transform: uppercase; letter-spacing: .04em; color: #ffc72c; }
.dp-dep__clock { font: 700 1.05rem/1 var(--mono); color: #ffc72c; }
.dp-dep__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; border: 2px solid #3a3f48; background: transparent; color: #f5f5f0; cursor: pointer; }
.dp-dep__head, .dp-dep__row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; }
.dp-dep__head { padding: 0 10px 8px; border-bottom: 1px solid #3a3f48; font: 700 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #a7b0c0; }
.dp-dep__rows { display: grid; }
.dp-dep__row { padding: 12px 10px; border-bottom: 1px dashed #2e333b; color: #f5f5f0; text-decoration: none; animation: dp-row .3s ease backwards; }
.dp-dep__row:nth-child(n) { animation-delay: calc(var(--n, 0) * 30ms); }
@keyframes dp-row { from { opacity: 0; transform: translateX(-10px); } }
.dp-dep__dest { font: 700 1.05rem/1 var(--mono); letter-spacing: .06em; }
.dp-dep__go { padding: 4px 8px; border-radius: 3px; background: #0d7a41; color: #ffffff; font: 700 .8rem/1 var(--mono); }
.dp-dep__row[aria-current="page"] .dp-dep__go { background: #ffc72c; color: #0f1f38; }
.dp-dep__row:hover { background: #1e2228; }
body.dp-dep-open { overflow: hidden; }

/* ---------- hero */
.dp-hero { padding: 60px 0 40px; }
.dp-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.dp-hero__grid > * { min-width: 0; }
.dp-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 .95rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.dp-kicker .dp-bullet { width: 26px; height: 26px; }
.dp-hero h1 { max-width: 15ch; }
.dp-hero__lead { max-width: 52ch; margin-bottom: 30px; font-size: 1.16rem; color: var(--ink-2); }

.dp-board { padding: 20px; border-radius: 14px; background: #15181d; color: #f5f5f0; box-shadow: 0 30px 60px -30px rgba(15, 31, 56, .8), inset 0 0 0 4px #262a31; font-size: clamp(.9rem, 1.6vw, 1.15rem); }
.dp-board__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dp-board__title { font: 700 1.6rem/1 var(--head); text-transform: uppercase; letter-spacing: .05em; color: #ffc72c; }
.dp-board__time { padding: 6px 10px; border-radius: 4px; background: #0b0d10; color: #ffc72c; font: 700 1.1rem/1 var(--mono); letter-spacing: .08em; }
.dp-board__head, .dp-board__row { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; }
.dp-board__head { padding: 0 6px 8px; border-bottom: 1px solid #3a3f48; font: 700 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #a7b0c0; }
.dp-board__row { padding: 12px 6px; border-bottom: 1px dashed #2e333b; color: inherit; text-decoration: none; transition: background .15s; }
.dp-board__row:hover { background: #1e2228; }
.dp-board__foot { margin: 14px 0 0; font-size: .9rem; color: #a7b0c0; }

.dp-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin: 46px auto 0; padding: 0; list-style: none; font-weight: 700; color: var(--ink-2); }
.dp-facts li { display: inline-flex; align-items: center; gap: 10px; }
.dp-facts .dp-bullet { width: 18px; height: 18px; }

/* ---------- sections */
.dp-sec { padding: 88px 0; }
.dp-sec--tint { background: var(--bg-2); }
.dp-sec__head { max-width: 740px; margin-bottom: 40px; }
.dp-sec__head--center { margin-inline: auto; text-align: center; }
.dp-sec__title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.dp-sec__intro { font-size: 1.1rem; color: var(--ink-2); }

.dp-rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dp-room { display: flex; flex-direction: column; padding: 0 0 24px; border-radius: 10px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; border-top: 8px solid; }
.dp-room--green { border-top-color: #0d7a41; } .dp-room--blue { border-top-color: #1f5fc4; } .dp-room--red { border-top-color: #c8232c; }
.dp-room__sign { display: flex; align-items: center; gap: 14px; padding: 20px 24px; margin-bottom: 18px; background: #0f1f38; }
.dp-room__sign .dp-bullet { width: 42px; height: 42px; font-size: 1.2rem; }
.dp-room h3 { margin: 0; font-size: 1.7rem; color: #ffffff; }
.dp-room p { flex: 1; padding: 0 24px; color: var(--ink-2); }
.dp-room .dp-btn { align-self: flex-start; margin-left: 24px; }

.dp-topic { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.dp-topic__board { padding: 26px; border-radius: 14px; background: #15181d; box-shadow: inset 0 0 0 4px #262a31, var(--shadow); }
.dp-topic__label { margin: 0 0 12px; font: 700 .78rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #ffc72c; }
.dp-topic__board .dp-flaps { flex-wrap: wrap; }
.dp-topic__q { margin: 20px 0 0; padding-top: 16px; border-top: 1px dashed #3a3f48; font-size: 1.15rem; color: #f5f5f0; min-height: 3.4em; }

.dp-route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 30px 0 0; list-style: none; }
.dp-route::before { content: ""; position: absolute; left: 22px; right: 22px; top: 52px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #0d7a41, #1f5fc4, #c8232c, #ffc72c); }
.dp-route__stop { position: relative; }
.dp-route__dot { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: var(--card); border: 6px solid var(--ink); color: var(--ink); font: 700 1.25rem/1 var(--head); }
.dp-route__stop p { margin: 0; color: var(--ink-2); font-size: 1rem; }

.dp-pass { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.dp-pass__count { margin: 0 0 14px; font: 700 1rem/1.4 var(--mono); }
.dp-pass__book { padding: 26px; border-radius: 12px; background: #0f1f38; box-shadow: var(--shadow); }
.dp-pass__title { margin: 0 0 18px; text-align: center; font: 700 1.3rem/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: #ffc72c; }
.dp-pass__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dp-stamp { display: grid; place-items: center; min-height: 140px; border-radius: 8px; background: #f7f3e6; text-decoration: none; color: #5f6470; }
.dp-stamp__ring { display: grid; place-items: center; gap: 4px; width: 112px; height: 112px; padding: 10px; border: 3px dashed #a3a7af; border-radius: 50%; text-align: center; }
.dp-stamp__name { font: 700 1rem/1.1 var(--head); text-transform: uppercase; }
.dp-stamp__date { font: 700 .72rem/1 var(--mono); }
.dp-stamp.dp-on .dp-stamp__ring { border-style: double; border-width: 6px; transform: rotate(-10deg); animation: dp-stamp .35s ease; }
@keyframes dp-stamp { from { transform: rotate(-10deg) scale(1.5); opacity: 0; } }
.dp-stamp--green.dp-on { color: #0d7a41; } .dp-stamp--green.dp-on .dp-stamp__ring { border-color: #0d7a41; }
.dp-stamp--blue.dp-on { color: #1a52ad; } .dp-stamp--blue.dp-on .dp-stamp__ring { border-color: #1a52ad; }
.dp-stamp--red.dp-on { color: #b31f27; } .dp-stamp--red.dp-on .dp-stamp__ring { border-color: #b31f27; }
.dp-stamp--yellow.dp-on { color: #8a6400; } .dp-stamp--yellow.dp-on .dp-stamp__ring { border-color: #8a6400; }

.dp-story { display: grid; grid-template-columns: 1fr 310px; gap: 56px; align-items: start; }
.dp-story__body p:not(.dp-label) { max-width: 68ch; color: var(--ink-2); font-size: 1.08rem; }
.dp-timetable { position: sticky; top: 110px; padding: 20px; border-radius: 12px; background: #15181d; color: #f5f5f0; box-shadow: inset 0 0 0 3px #262a31; }
.dp-timetable__title { margin: 0 0 10px; font: 700 1.3rem/1 var(--head); text-transform: uppercase; letter-spacing: .08em; color: #ffc72c; }
.dp-timetable dl { margin: 0; font-family: var(--mono); }
.dp-timetable dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dashed #3a3f48; font-size: .92rem; }
.dp-timetable dt { color: #a7b0c0; }
.dp-timetable dd { margin: 0; text-align: right; font-weight: 700; }

.dp-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dp-tip { padding: 24px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.dp-tip__i { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 6px; background: #1f5fc4; color: #ffffff; }
.dp-tip__i .dp-ic { width: 26px; height: 26px; }
.dp-tip p { margin: 0; color: var(--ink-2); font-size: 1rem; }

.dp-rules { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.dp-rules__head p:not(.dp-label) { color: var(--ink-2); font-size: 1.08rem; }
.dp-sign { padding: 26px; border-radius: 16px; background: #ffffff; color: #0f1f38; border: 6px solid #0f1f38; box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px var(--line), var(--shadow); }
.dp-sign__top { margin: 0 0 14px; padding: 8px 14px; border-radius: 6px; background: #0f1f38; color: #ffffff; text-align: center; font: 700 1.2rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.dp-sign__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.dp-sign__list li { display: flex; gap: 14px; align-items: center; padding: 10px 4px; border-bottom: 1px solid #e3e6ea; font-weight: 700; line-height: 1.45; }
.dp-sign__list li:last-child { border-bottom: 0; }
.dp-sign__pic { position: relative; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 4px solid #c8232c; }
.dp-sign__pic::after { content: ""; position: absolute; width: 4px; height: 30px; background: #c8232c; transform: rotate(45deg); }
.dp-sign__pic--ok { border-color: #0d7a41; background: #0d7a41; color: #ffffff; }
.dp-sign__pic--ok::after { display: none; }
.dp-sign__pic .dp-ic { width: 16px; height: 16px; }

.dp-faq { display: grid; gap: 10px; }
.dp-faq__item { border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.dp-faq__item[open] { border-color: #1f5fc4; box-shadow: inset 4px 0 0 #1f5fc4; }
.dp-faq__item summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; }
.dp-faq__item summary::-webkit-details-marker { display: none; }
.dp-faq__i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 6px; background: #1f5fc4; color: #ffffff; font: 700 1rem/1 var(--head); }
.dp-faq__item summary h3 { flex: 1; margin: 0; font-size: 1.2rem; }
.dp-faq__plus { position: relative; flex: none; width: 30px; height: 30px; }
.dp-faq__plus::before, .dp-faq__plus::after { content: ""; position: absolute; left: 7px; right: 7px; top: 14px; height: 2.5px; background: var(--ink); transition: transform .2s; }
.dp-faq__plus::after { transform: rotate(90deg); }
.dp-faq__item[open] .dp-faq__plus::after { transform: rotate(0); }
.dp-faq__item p { margin: 0; padding: 0 20px 18px 62px; color: var(--ink-2); }

.dp-final { position: relative; padding: 92px 0 84px; background: #0f1f38; color: #ffffff; text-align: center; }
.dp-final__tactile, .dp-foot__tactile { position: absolute; left: 0; right: 0; top: 0; height: 22px; background: radial-gradient(circle, #e0a800 3px, transparent 3.5px) 0 0 / 12px 11px, #ffc72c; }
.dp-final__in { position: relative; }
.dp-final__title { margin: 0 0 12px; font: 700 clamp(2.2rem, 5vw, 3.4rem)/1.1 var(--head); }
.dp-final__in > p:not(.dp-final__title) { max-width: 46ch; margin: 0 auto 28px; font-size: 1.12rem; color: #d6dce6; }

/* ---------- footer (transit map) */
.dp-foot { position: relative; padding: 70px 0 30px; background: #0b1220; color: #c9d0dc; }
.dp-final + .dp-foot .dp-foot__tactile { display: none; }
.dp-final + .dp-foot { border-top: 1px solid #24304a; }
.dp-foot__top { display: grid; grid-template-columns: 1fr 1.7fr; gap: 50px; }
.dp-foot__brand p { margin: 16px 0 14px; max-width: 32ch; }
.dp-foot__mail { display: inline-flex; align-items: center; gap: 8px; color: #ffc72c; font-weight: 700; text-decoration: none; }
.dp-foot__mail:hover { text-decoration: underline; }
.dp-map { display: grid; gap: 26px; }
.dp-map__line { position: relative; display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 14px; }
.dp-map__name { padding: 6px 10px; border-radius: 999px; font: 700 .85rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; text-align: center; color: #ffffff; }
.dp-map__line--green .dp-map__name { background: #0d7a41; } .dp-map__line--blue .dp-map__name { background: #1f5fc4; } .dp-map__line--red .dp-map__name { background: #c8232c; }
.dp-map__stops { position: relative; display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.dp-map__stops::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 6px; border-radius: 3px; }
.dp-map__line--green .dp-map__stops::before { background: #0d7a41; } .dp-map__line--blue .dp-map__stops::before { background: #1f5fc4; } .dp-map__line--red .dp-map__stops::before { background: #c8232c; }
.dp-map__stops a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #f2f4f7; text-decoration: none; font-weight: 700; font-size: .95rem; }
.dp-map__stops a i { width: 24px; height: 24px; border-radius: 50%; background: #ffffff; border: 5px solid #0b1220; box-shadow: 0 0 0 2px #ffffff; }
.dp-map__stops a:hover { color: #ffc72c; }
.dp-map__stops a:hover i { background: #ffc72c; }
.dp-foot__legal { margin: 44px 0 0; padding-top: 20px; border-top: 1px solid #24304a; font-size: .92rem; color: #a7b0c0; }

/* ---------- inner pages */
.dp-pagehead { padding: 52px 0 0; background: #0f1f38; color: #ffffff; }
.dp-pagehead .dp-wrap { padding-bottom: 44px; }
.dp-pagehead h1 { max-width: 18ch; color: #ffffff; }
.dp-pagehead__lead { max-width: 62ch; font-size: 1.15rem; color: #d6dce6; }
.dp-pagehead__date { margin: 0; font: 700 .85rem/1 var(--mono); color: #ffc72c; }
.dp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .94rem; color: var(--muted); }
.dp-pagehead .dp-crumbs { color: #c9d0dc; }
.dp-pagehead .dp-crumbs a { color: #ffffff; }
.dp-pagebody { padding: 54px 0 90px; }
.dp-pagebody__grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.dp-pagebody__grid--solo { grid-template-columns: minmax(0, 820px); }
.dp-doc { min-width: 0; padding: 42px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.dp-doc h2 { margin-top: 1.3em; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.dp-doc h2:first-child { margin-top: 0; }
.dp-doc h3 { margin-top: 1.4em; }
.dp-doc p { color: var(--ink-2); }
.dp-side { position: sticky; top: 110px; padding: 18px; border-radius: 12px; background: #15181d; color: #f5f5f0; box-shadow: inset 0 0 0 3px #262a31; }
.dp-side__title { font: 700 1.15rem/1 var(--head); text-transform: uppercase; letter-spacing: .08em; color: #ffc72c; }
.dp-side ul { margin: 0; padding: 0; list-style: none; display: grid; }
.dp-side a { display: flex; gap: 12px; align-items: center; padding: 12px 6px; border-top: 1px dashed #3a3f48; color: #f5f5f0; text-decoration: none; }
.dp-side a:hover { background: #1e2228; }
.dp-side b { display: block; }
.dp-side small { display: block; font-size: .85rem; line-height: 1.35; color: #a7b0c0; }
.dp-mail { display: flex; align-items: center; gap: 16px; margin: 0 0 30px; padding: 20px 22px; border-radius: 10px; background: #ffc72c; color: #0f1f38; text-decoration: none; }
.dp-mail .dp-ic { width: 30px; height: 30px; }
.dp-mail small { display: block; font: 700 .8rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.dp-mail b { font: 700 1.4rem/1.15 var(--head); word-break: break-all; }

.dp-lost { padding: 80px 0 110px; text-align: center; }
.dp-lost__in { max-width: 680px; }
.dp-lost__board { display: inline-block; margin-bottom: 24px; padding: 20px; border-radius: 12px; background: #15181d; box-shadow: inset 0 0 0 4px #262a31; }

/* ---------- room pages */
.dp-roombar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 14px; background: #15181d; color: #f5f5f0; border-bottom: 4px solid #ffc72c; }
.dp-roombar .dp-logo { width: 38px; height: 38px; }
.dp-roombar .dp-word { font-size: 1.35rem; }
.dp-stops { display: flex; gap: 6px; margin-inline: auto; }
.dp-stop { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; color: #c9d0dc; text-decoration: none; font-weight: 700; font-size: .96rem; transition: background .15s; }
.dp-stop:hover { background: #22262c; color: #ffffff; }
.dp-stop[aria-current="page"] { background: #ffc72c; color: #0f1f38; }
.dp-roombar__full { background: transparent; border-color: #3a3f48; color: #f5f5f0; }
.dp-stage { height: calc(100dvh - 68px); min-height: 440px; background: #0b1220; }
.dp-stage:fullscreen { height: 100vh; }
.dp-frame, .dp-stage #app_container, .dp-stage #app_container > iframe, .dp-stage #app_container > div { display: block; width: 100% !important; height: 100% !important; border: 0; }
.dp-roominfo { padding: 46px 0 86px; }
.dp-roominfo__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
.dp-roominfo h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
.dp-roominfo .dp-prose p { color: var(--ink-2); }
.dp-roominfo__note { padding: 14px 18px; border-left: 5px solid #ffc72c; background: var(--bg-2); font-size: .98rem; }
.dp-tipbox { padding: 24px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dp-tipbox h2 { font-size: 1.55rem; }
.dp-tipbox ul { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 12px; }
.dp-tipbox li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.dp-tipbox li .dp-ic { margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: #0d7a41; color: #ffffff; }
.dp-tipbox__more { margin: 0; font-size: .94rem; color: var(--muted); }
.dp-roominfo__faq { margin-top: 60px; max-width: 880px; }
.dp-roominfo__faq h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* ---------- responsive */
@media (max-width: 1080px) {
  .dp-nav, .dp-head__end .dp-clock { display: none; }
  .dp-head__end { margin-left: auto; }
  .dp-head__menu { display: inline-flex; }
  .dp-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .dp-board { max-width: 620px; }
  .dp-rooms, .dp-tips { grid-template-columns: 1fr 1fr; }
  .dp-rooms > :last-child { grid-column: 1 / -1; }
  .dp-topic, .dp-pass, .dp-story, .dp-rules, .dp-pagebody__grid, .dp-roominfo__grid, .dp-foot__top { grid-template-columns: 1fr; gap: 36px; }
  .dp-timetable, .dp-side { position: static; }
  .dp-timetable { max-width: 380px; }
}
@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .dp-wrap, .dp-wrap--narrow { width: calc(100% - 32px); }
  .dp-head__row { min-height: 64px; gap: 8px; }
  .dp-logo { width: 38px; height: 38px; }
  .dp-word { font-size: 1.4rem; }
  .dp-head__go span, .dp-head__menu span { display: none; }
  .dp-head__go, .dp-head__menu { width: 44px; padding: 0; }
  .dp-hero { padding-top: 36px; }
  .dp-hero__lead { font-size: 1.05rem; }
  .dp-btns .dp-btn--big { flex: 1 1 100%; }
  .dp-board { padding: 14px; font-size: .78rem; }
  .dp-board__head { display: none; }
  .dp-board__row { grid-template-columns: 30px 1fr auto; gap: 8px; }
  .dp-board__row .dp-bullet { width: 26px; height: 26px; font-size: .85rem; }
  .dp-flaps { gap: 2px; }
  .dp-facts { gap: 10px 18px; margin-top: 30px; }
  .dp-sec { padding: 62px 0; }
  .dp-rooms, .dp-tips { grid-template-columns: 1fr; }
  .dp-topic__board { padding: 16px; }
  .dp-flaps--big { font-size: 1rem; }
  .dp-route { grid-template-columns: 1fr; gap: 26px; padding: 0 0 0 4px; }
  .dp-route::before { left: 26px; right: auto; top: 10px; bottom: 10px; width: 8px; height: auto; background: linear-gradient(180deg, #0d7a41, #1f5fc4, #c8232c, #ffc72c); }
  .dp-route__stop { padding-left: 74px; min-height: 52px; }
  .dp-route__dot { position: absolute; left: 4px; top: 0; }
  .dp-pass__book { padding: 18px; }
  .dp-stamp { min-height: 120px; }
  .dp-stamp__ring { width: 96px; height: 96px; }
  .dp-stamp__name { font-size: .85rem; }
  .dp-sign { padding: 18px; }
  .dp-faq__item summary { padding: 14px; gap: 10px; }
  .dp-faq__item p { padding: 0 14px 16px; }
  .dp-map__line { grid-template-columns: 1fr; gap: 10px; }
  .dp-map__name { justify-self: start; }
  .dp-map__stops { flex-direction: column; align-items: flex-start; gap: 14px; padding-left: 4px; }
  .dp-map__stops::before { left: 13px; right: auto; top: 6px; bottom: 6px; width: 6px; height: auto; }
  .dp-map__stops a { flex-direction: row; gap: 12px; }
  .dp-doc { padding: 26px 20px; }
  .dp-pagehead { padding-top: 34px; }
  .dp-pagehead .dp-wrap { padding-bottom: 30px; }
  .dp-pagebody { padding: 34px 0 70px; }
  .dp-roombar { gap: 6px; padding: 0 8px; }
  .dp-roombar .dp-word, .dp-roombar__full { display: none; }
  .dp-stops { gap: 3px; }
  .dp-stop { padding: 5px; }
  .dp-stop span:not(.dp-bullet) { display: none; }
  .dp-stop[aria-current="page"] { padding-right: 12px; }
  .dp-stop[aria-current="page"] span:not(.dp-bullet) { display: inline; }
}
