/*
  The Line (v13)
  An original line diagram. Chapters are stations on the main line, posts sit on
  a branch in a second colour, and the line ends in a station under construction.
*/

:root {
  --paper: #f3efe6;
  --paper-2: #e9e3d6;
  --ink: #16181d;
  --ink-2: #50535b;
  --main: #e0452b;
  --branch: #11897a;
  --line: var(--main);
  --amber: #ffb31f;
  --yellow: #f2c230;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --narrow: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", sans-serif;
  --marker: "Permanent Marker", "Marker Felt", "Comic Sans MS", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font-family: var(--sans); overflow-x: hidden; overflow-x: clip; }
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--line); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.is-branch { --line: var(--branch); }

/* Brand mark: a station marker on a short run of line, drawn as a disc */
.mark { display: inline-block; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--line); box-shadow: inset 0 0 0 6px var(--line), inset 0 0 0 11px #fff; vertical-align: middle; }

/* ============ Home: the line diagram ============ */

.top {
  max-width: 1440px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 18px 36px; padding: clamp(20px, 4vw, 44px) clamp(16px, 3.4vw, 48px) clamp(10px, 2vw, 22px);
}
.brand { min-width: 0; }
.brand-row { display: flex; align-items: center; gap: 14px; }
.brand h1 { margin: 0; font-weight: 900; font-size: clamp(34px, 7.4vw, 104px); line-height: .88; letter-spacing: -.025em; }
.brand p { margin: 12px 0 0; font-family: var(--narrow); font-weight: 500; font-size: 15px; letter-spacing: .04em; color: var(--ink-2); }
.top-side { display: grid; gap: 12px; justify-items: end; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--narrow); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.legend li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.legend .lg-main { background: var(--main); }
.legend .lg-branch { background: var(--branch); }
.legend .lg-new { border: 3px solid var(--main); background: var(--paper); }
.meta { display: flex; align-items: center; gap: 18px; font-family: var(--narrow); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.meta b { color: var(--ink); }

@media (max-width: 759px) {
  .top-side { justify-items: start; }
}

.diagram { position: relative; max-width: 1440px; margin: 0 auto 60px; min-height: 300px; }
.map { position: absolute; left: 0; top: 0; display: block; overflow: visible; }
.labels { position: absolute; inset: 0; }

.st { position: absolute; width: 0; height: 0; z-index: 2; text-decoration: none; color: var(--ink); }
.st-in {
  position: absolute; left: 0; top: 0; display: block; width: max-content; max-width: 210px;
  transform-origin: 0 0; padding: 2px 7px 4px; border-radius: 4px; background: var(--paper);
  transition: background .2s, color .2s;
}
.st--up .st-in { transform: rotate(-38deg) translate(16px, -50%); }
.st--down .st-in { transform: rotate(38deg) translate(16px, -50%); }
.st-no { display: block; font-family: var(--narrow); font-weight: 700; font-size: 12px; letter-spacing: .1em; color: var(--ink-2); }
.st-name { display: block; font-weight: 800; font-size: 17px; line-height: 1.1; letter-spacing: -.005em; }
.st-tag { display: none; }
.st-kind { font-weight: 500; }
a.st:hover .st-in, a.st:focus-visible .st-in { background: var(--ink); color: #fff; }
a.st:hover .st-no, a.st:focus-visible .st-no { color: #fff; }
a.st:focus-visible { outline: none; }
.st.is-here .st-name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: var(--main); }
.st.is-post.is-here .st-name { text-decoration-color: var(--branch); }
.st--new .st-name { font-weight: 600; color: var(--ink-2); }

.diagram.is-vertical .st-in { transform: translate(0, -50%); max-width: none; width: var(--lw, 260px); padding: 4px 6px; }
.diagram.is-vertical .st-name { font-size: 19px; }
.diagram.is-vertical .st-tag { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.diagram.is-vertical a.st:hover .st-tag, .diagram.is-vertical a.st:focus-visible .st-tag { color: #d9dbe0; }

.card {
  position: absolute; z-index: 6; width: 260px; border-radius: 10px; overflow: hidden; pointer-events: none;
  background: var(--ink); color: #fff; box-shadow: 0 18px 40px rgba(20, 20, 30, .28);
  opacity: 0; transform: translateY(8px); transition: opacity .18s, transform .18s;
}
.card.on { opacity: 1; transform: none; }
.card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-type { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 12px; background: var(--card-line, var(--main)); font-weight: 900; font-size: 30px; line-height: .95; text-align: center; color: #fff; }
.card-type.is-mirror span { display: inline-block; transform: scaleX(-1); }
.card p { margin: 0; padding: 10px 14px 14px; font-size: 14px; line-height: 1.4; }
.card small { display: block; padding: 12px 14px 0; font-family: var(--narrow); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; color: #b9bcc4; }

.map-mark { cursor: pointer; }
.map-mark circle { transition: r .2s; }

/* ============ Station page ============ */

.bar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px clamp(12px, 3vw, 32px); background: var(--ink); color: #fff;
  font-family: var(--narrow); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.bar a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; }
.bar a:hover { color: var(--amber); }
.bar .mark { width: 22px; height: 22px; box-shadow: inset 0 0 0 5px var(--line), inset 0 0 0 9px #fff; }
.bar-right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.bar b { color: var(--amber); }
.bar .clock { font-variant-numeric: tabular-nums; }

.station { position: relative; overflow: hidden; }
.station > section, .station > nav { position: relative; }
.wrapw { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(14px, 4vw, 44px); }

/* Station sign */
.s-sign { padding: clamp(36px, 7vw, 90px) 0 clamp(26px, 4vw, 44px); }
.sign { position: relative; max-width: 1100px; margin: 0 auto; border-radius: 10px; overflow: hidden; background: var(--ink); color: #fff; box-shadow: 0 2px 0 rgba(255, 255, 255, .5) inset, 0 22px 44px rgba(10, 12, 20, .35); }
.sign::before, .sign::after {
  content: ""; position: absolute; top: 12px; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8a8d95, #3a3d44); z-index: 2;
}
.sign::before { left: 12px; }
.sign::after { right: 12px; }
.sign-main { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); padding: clamp(22px, 4.4vw, 46px) clamp(18px, 4.4vw, 52px); }
.sign-no {
  flex: 0 0 auto; display: grid; place-items: center; width: clamp(54px, 8.4vw, 96px); aspect-ratio: 1; border-radius: 50%;
  background: #fff; color: var(--ink); border: clamp(7px, 1.2vw, 12px) solid var(--line);
  font-weight: 900; font-size: clamp(17px, 2.7vw, 30px); letter-spacing: -.02em;
}
.sign-text { min-width: 0; }
.sign-name { margin: 0; font-weight: 800; font-size: clamp(34px, 6.6vw, 92px); line-height: .96; letter-spacing: -.02em; overflow-wrap: break-word; }
.sign-kind { margin: 10px 0 0; font-family: var(--narrow); font-weight: 600; font-size: clamp(13px, 1.4vw, 16px); letter-spacing: .14em; text-transform: uppercase; color: #b9bcc4; }
.sign-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px;
  padding: 10px clamp(14px, 3vw, 30px); background: var(--line); color: #fff;
  font-family: var(--narrow); font-weight: 700; font-size: clamp(13px, 1.5vw, 17px); letter-spacing: .03em;
}
.sign-band a { display: flex; align-items: center; gap: 8px; min-height: 40px; text-decoration: none; min-width: 0; }
.sign-band a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sign-band a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.sign-band .sign-next { justify-content: flex-end; text-align: right; }
.sign-band .sign-here { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 5px var(--ink); }
.sign-reflect { display: none; }
.is-mirror .sign-reflect {
  display: block; max-width: 1100px; margin: 4px auto 0; height: clamp(60px, 9vw, 110px); overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 90%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 90%);
}
.sign-reflect .sign { transform: scaleY(-1); transform-origin: 50% 0; box-shadow: none; }

/* Departure board */
.s-board { padding: 0 0 clamp(34px, 6vw, 64px); }
.board { position: relative; max-width: 1000px; margin: 0 auto; padding: 12px; border-radius: 8px; background: linear-gradient(#2b2d33, #17181c); box-shadow: 0 18px 36px rgba(10, 12, 20, .35), inset 0 1px 0 rgba(255, 255, 255, .12); }
.board::before, .board::after { content: ""; position: absolute; bottom: 100%; width: 6px; height: clamp(30px, 6vw, 70px); background: linear-gradient(90deg, #4b4e56, #2a2c31); }
.board::before { left: 18%; }
.board::after { right: 18%; }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px 10px; color: #c9ccd3; font-family: var(--narrow); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.board-top .clock { color: var(--amber); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.board-screen { width: 100%; border-radius: 3px; overflow: hidden; background: #0b0a08; box-shadow: inset 0 0 0 1px #000; }
.board-screen canvas { display: block; max-width: 100%; }
.board-ctrl { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 12px 0 2px; color: #c9ccd3; font-family: var(--narrow); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.board-ctrl button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: #34363d; color: #fff; font-size: 20px; line-height: 1;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .4);
}
.board-ctrl button:hover { background: var(--line); }
.board-pos { min-width: 4.5em; text-align: center; font-variant-numeric: tabular-nums; }

/* Poster frame, image or type */
.s-poster { padding: 0 0 clamp(36px, 6vw, 70px); }
.frame { position: relative; margin: 0 auto; max-width: 980px; padding: clamp(10px, 1.6vw, 18px); background: #24262b; border-radius: 4px; box-shadow: 0 18px 40px rgba(10, 12, 20, .32); }
.frame-in { position: relative; background: #fff; padding: clamp(8px, 1.4vw, 16px); }
.frame img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.frame figcaption { margin: 10px 2px 0; color: #c9ccd3; font-family: var(--narrow); font-weight: 500; font-size: 13px; letter-spacing: .04em; }
.typo {
  display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 6%; background: #fff; color: var(--ink); text-align: center; overflow: hidden;
}
.typo-big { display: block; font-weight: 900; font-size: clamp(120px, 30vw, 380px); line-height: .8; color: var(--line); }
.typo-title { display: block; margin-top: .3em; font-weight: 900; font-size: clamp(28px, 5.4vw, 64px); line-height: .95; letter-spacing: -.02em; }
.typo-rev { display: inline-block; transform: scaleX(-1); }
.mirror-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(10px, 2vw, 22px); max-width: 1080px; margin: 0 auto; }
.mirror-pair .frame { width: 100%; }
.steel {
  display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 6%; text-align: center; overflow: hidden;
  background: linear-gradient(115deg, #c9ccd1 0%, #eef0f2 22%, #a9adb3 40%, #e3e5e8 58%, #9ea2a8 78%, #d5d8dc 100%);
  color: #22252b;
}
.steel .typo-title { color: #22252b; text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
@media (max-width: 640px) { .mirror-pair { grid-template-columns: minmax(0, 1fr); } }

/* Notices: the story */
.s-notices { padding: 0 0 clamp(40px, 7vw, 80px); }
.lede { max-width: 860px; margin: 0 auto clamp(26px, 4vw, 44px); font-weight: 800; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.015em; }
.notices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 2.4vw, 26px); max-width: 1100px; margin: 0 auto; }
.notice { position: relative; min-width: 0; padding: clamp(20px, 2.6vw, 30px); border-radius: 10px; background: #fbfaf6; color: var(--ink); box-shadow: 0 10px 24px rgba(10, 12, 20, .14); transition: transform .3s, box-shadow .3s; }
.notice h2 { margin: 0 0 12px; font-weight: 800; font-size: clamp(21px, 2vw, 25px); line-height: 1.1; letter-spacing: -.01em; }
.notice p { margin: 0; font-size: 17px; line-height: 1.58; }
.notice-no { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 50%; background: var(--line); color: #fff; font-family: var(--narrow); font-weight: 700; font-size: 14px; }
.notice.is-on { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--amber), 0 16px 30px rgba(10, 12, 20, .2); }

/* Platform edge, kerb */
.edge { position: relative; height: clamp(120px, 16vw, 180px); }

/* Extras: posters along the wall, stickers */
.s-extra { padding: 0 0 clamp(40px, 7vw, 80px); }
.ads { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: clamp(12px, 2vw, 22px); max-width: 1100px; margin: 0 auto; }
.ad { min-width: 0; display: grid; gap: 10px; padding: 10px; background: #24262b; border-radius: 4px; color: #fff; box-shadow: 0 12px 24px rgba(10, 12, 20, .28); }
.ad img { display: block; width: 100%; aspect-ratio: 273 / 507; object-fit: cover; background: #111; }
.ad b { display: block; font-weight: 800; font-size: 17px; }
.ad span { display: block; font-family: var(--narrow); font-weight: 500; font-size: 14px; color: #c9ccd3; }
.ad .btn { justify-self: start; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  border: 0; background: var(--line); color: #fff; font-family: var(--narrow); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.is-added { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.note { font-family: var(--narrow); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #ffd26a; }

/* Ticket office */
.s-office { padding: clamp(50px, 8vw, 90px) 0 clamp(50px, 8vw, 90px); background: #1e2025; color: #fff; }
.office { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 620px; margin: 0 auto; }
.t-canopy .s-office { background: #23392e; }
.t-tram .s-office { background: #cfc9bc; }
.t-tram .booth { border-radius: 26px 26px 8px 8px; background: linear-gradient(#3d4047, #25272c); }
.t-tram .booth-sign { border-radius: 26px 26px 0 0; }
.t-tram .slot-mouth { background: #1a1b1e; }
.tagline { max-width: 880px; margin: clamp(18px, 3vw, 28px) auto 0; text-align: center; font-weight: 600; font-size: clamp(17px, 2vw, 22px); line-height: 1.35; color: var(--sky-ink, var(--ink)); }
.t-underground .tagline { display: table; padding: 8px 16px; border-radius: 6px; background: rgba(251, 250, 246, .92); }
.booth { min-width: 0; border-radius: 10px; overflow: hidden; background: #2d2f35; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.booth-sign { padding: 12px 18px; background: var(--line); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .01em; display: flex; align-items: center; gap: 12px; }
.booth-sign .mark { box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 9px var(--line); background: #fff; }
.booth-window { position: relative; margin: 18px; padding: clamp(18px, 3vw, 30px); border-radius: 8px 8px 2px 2px; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14); }
.grille { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55) 0 2px, transparent 2.5px) 0 0 / 9px 9px; -webkit-mask-image: radial-gradient(circle, #000 64%, transparent 66%); mask-image: radial-gradient(circle, #000 64%, transparent 66%); }
.fares { display: grid; gap: 0; margin: 0; }
.fares div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.fares dt { font-family: var(--narrow); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #b9bcc4; }
.fares dd { margin: 0; font-weight: 700; font-size: 18px; text-align: right; }
.fare-details { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: #d9dbe0; }
.fare-details li { display: flex; gap: 10px; }
.fare-details li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--line); }
.counter { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 16px 18px 20px; background: linear-gradient(#3a3c43, #2a2c31); }
.counter .price { font-weight: 900; font-size: 34px; letter-spacing: -.01em; }
.counter .btn { min-height: 52px; padding: 0 28px; font-size: 15px; }
.slot { position: relative; min-width: 0; padding-top: 6px; }
.slot-mouth { height: 14px; border-radius: 7px; background: #0d0e10; box-shadow: inset 0 3px 6px rgba(0, 0, 0, .8); }
.slot-clip { overflow: hidden; margin: -7px 10px 0; padding: 0 0 30px; }
.ticket {
  position: relative; transform: translateY(-105%); transition: transform 1.1s cubic-bezier(.3, .7, .2, 1);
  background: #fbf5e4; color: var(--ink); border-radius: 0 0 8px 8px; padding: 22px 22px 20px; box-shadow: 0 16px 30px rgba(0, 0, 0, .35);
  background-image: radial-gradient(circle, #1e2025 0 4px, transparent 4.5px);
  background-size: 18px 18px; background-repeat: repeat-y; background-position: right 6px top 10px;
}
.ticket.is-out { transform: none; }
.ticket-band { margin: -22px -22px 16px; padding: 8px 22px; background: var(--line); color: #fff; font-family: var(--narrow); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 10px; }
.ticket h3 { margin: 0 32px 4px 0; font-weight: 900; font-size: 26px; line-height: 1; letter-spacing: -.01em; }
.ticket dl { margin: 14px 32px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; font-size: 14px; }
.ticket dt { font-family: var(--narrow); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ticket dd { margin: 0; font-weight: 600; }
.ticket-no { margin: 16px 0 0; font-family: var(--narrow); font-weight: 700; font-size: 12px; letter-spacing: .2em; color: var(--ink-2); }
.slot-empty { margin: 18px 4px 0; font-family: var(--narrow); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8d9098; }
.ticket.is-out + .slot-empty { display: none; }
@media (max-width: 760px) { .office { grid-template-columns: minmax(0, 1fr); } }

/* Exits */
.s-exits { padding: clamp(28px, 5vw, 50px) 0 clamp(40px, 6vw, 70px); background: var(--ink); color: #fff; }
.exits { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.exits a { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 64px; padding: 12px 16px; border-radius: 8px; background: #2b2d33; text-decoration: none; min-width: 0; transition: background .2s; }
.exits a:hover { background: var(--line); }
.exits small { font-family: var(--narrow); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #b9bcc4; }
.exits a:hover small { color: #fff; }
.exits b { font-weight: 800; font-size: 18px; line-height: 1.15; overflow-wrap: break-word; }
.exits .ex-next { text-align: right; align-items: flex-end; }
.exits .ex-home { align-items: center; text-align: center; background: #fff; color: var(--ink); }
.exits .ex-home small { color: var(--ink-2); }
@media (max-width: 640px) {
  .exits { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .exits .ex-home { grid-column: 1 / -1; grid-row: 1; }
}

/* ---- Treatment: tiled underground platform ---- */
.t-underground {
  background-color: #efece3;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='40'><rect width='72' height='40' fill='%23efece3'/><rect x='3' y='3' width='66' height='15' rx='3' fill='%23ffffff' opacity='.45'/><rect x='-33' y='23' width='66' height='15' rx='3' fill='%23ffffff' opacity='.45'/><rect x='39' y='23' width='66' height='15' rx='3' fill='%23ffffff' opacity='.45'/><path d='M0 1H72M0 21H72M1 1V21M37 21V41' stroke='%23d2ccbd' stroke-width='2' fill='none'/></svg>");
}
.t-underground .s-sign { background: linear-gradient(180deg, transparent 0 46%, var(--line) 46% 54%, transparent 54%); }
.t-underground .s-sign .wrapw { position: relative; }
.t-underground .notice { border-radius: 14px; background: #fdfcf8; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 10px 24px rgba(10, 12, 20, .14); }
.t-underground .notice::before, .t-underground .notice::after { content: ""; position: absolute; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #b5b8be, #5a5d64); }
.t-underground .notice::before { left: 10px; }
.t-underground .notice::after { right: 10px; }
.t-underground .edge {
  background:
    radial-gradient(circle, #b98d10 0 3.5px, transparent 4px) 0 29px / 14px 14px repeat-x,
    radial-gradient(circle, #b98d10 0 3.5px, transparent 4px) 7px 43px / 14px 14px repeat-x,
    linear-gradient(180deg,
      #3b3c40 0 22px, var(--yellow) 22px 26px, #e0b52a 26px 60px, #c4c1b8 60px 74px, #9a978f 74px 80px,
      #151618 80px calc(100% - 46px), #8d8f94 calc(100% - 46px) calc(100% - 40px), #151618 calc(100% - 40px) calc(100% - 22px), #8d8f94 calc(100% - 22px) calc(100% - 16px), #151618 calc(100% - 16px));
}

/* ---- Treatment: open-air canopy ---- */
.t-canopy { background: linear-gradient(180deg, var(--sky-1, #a9d3ee) 0, var(--sky-2, #eef4f2) 520px, #e4ded2 520px); }
.t-canopy .s-sign { padding-top: clamp(96px, 14vw, 150px); }
.t-canopy .s-sign::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(54px, 8vw, 84px);
  background: linear-gradient(180deg, #2d473a, #23392e);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .18);
}
.t-canopy .s-sign::after {
  content: ""; position: absolute; left: 0; right: 0; top: clamp(54px, 8vw, 84px); height: 18px;
  background: linear-gradient(135deg, #23392e 50%, transparent 50%) 0 0 / 18px 18px repeat-x, linear-gradient(225deg, #23392e 50%, transparent 50%) 0 0 / 18px 18px repeat-x;
}
.t-canopy .sign { border-radius: 4px; }
.t-canopy .board::before, .t-canopy .board::after { display: none; }
.t-canopy .board { border-radius: 4px; border-bottom: 10px solid #23392e; }
.t-canopy .frame { background: #23392e; border-radius: 2px; }
.t-canopy .frame::after { content: ""; position: absolute; left: 12%; right: 12%; top: 100%; height: 40px; background: linear-gradient(90deg, #23392e 0 10px, transparent 10px calc(100% - 10px), #23392e calc(100% - 10px)); }
.t-canopy .s-poster { padding-bottom: clamp(70px, 9vw, 110px); }
.t-canopy .notices { padding: clamp(12px, 2vw, 20px); background: #23392e; border-radius: 6px; box-shadow: 0 18px 40px rgba(10, 20, 14, .3); }
.t-canopy .notice { border-radius: 2px; background: #f7f1df; box-shadow: none; }
.t-canopy .notice::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, .35), transparent 30%); }
.t-canopy .edge {
  background:
    linear-gradient(180deg, #cfc9bd 0 30px, var(--yellow) 30px 36px, #cfc9bd 36px 66px, #a8a398 66px 76px,
      transparent 76px calc(100% - 50px), #8a8c90 calc(100% - 50px) calc(100% - 44px), transparent calc(100% - 44px) calc(100% - 26px), #8a8c90 calc(100% - 26px) calc(100% - 20px), transparent calc(100% - 20px)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='2'/><feColorMatrix values='0 0 0 0 .42  0 0 0 0 .39  0 0 0 0 .35  0 0 0 1.4 -.2'/></filter><rect width='120' height='120' fill='%237a746a'/><rect width='120' height='120' filter='url(%23g)'/></svg>");
}

/* ---- Treatment: tram stop ---- */
.t-tram { background: linear-gradient(180deg, #dfe7ea 0, #eef0ec 360px, #e6e1d5 360px); }
.t-tram .s-sign .sign { max-width: 760px; border-radius: 6px; }
.t-tram .s-sign .wrapw { display: grid; justify-items: center; }
.t-tram .pole { width: 14px; height: clamp(40px, 6vw, 60px); margin: 0 auto; background: linear-gradient(90deg, #5d6066, #9a9ea6 45%, #4a4d53); }
.t-tram .board { max-width: 760px; border-radius: 4px; }
.t-tram .board::before, .t-tram .board::after { display: none; }
.shelter { position: relative; max-width: 1040px; margin: 0 auto; padding: clamp(26px, 4vw, 40px) clamp(10px, 2vw, 20px) clamp(14px, 2vw, 20px); }
.shelter::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(16px, 2.4vw, 24px); border-radius: 4px; background: linear-gradient(#3b3e44, #26282d); }
.shelter-glass { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: clamp(10px, 1.6vw, 16px); background: rgba(255, 255, 255, .28); box-shadow: inset 0 0 0 6px #3b3e44; }
.shelter-glass::after { content: ""; position: absolute; inset: 6px; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .5), transparent 24%, transparent 60%, rgba(255, 255, 255, .25) 70%, transparent 80%); }
.t-tram .frame { background: #1c1e22; box-shadow: 0 0 40px rgba(255, 250, 230, .45); }
.t-tram .frame-in { background: #fffdf6; }
.t-tram .notices { gap: 14px; }
.t-tram .notice { border-radius: 4px; background: #24262b; color: #fff; box-shadow: none; }
.t-tram .notice-no { background: var(--line); }
.t-tram .edge {
  background:
    linear-gradient(180deg, #d8d2c5 0 34px, #b9b3a6 34px 42px, #8f8b82 42px 50px,
      #4a4c51 50px calc(100% - 58px), #2d2e31 calc(100% - 58px) calc(100% - 54px), #9a9ca1 calc(100% - 54px) calc(100% - 51px), #4a4c51 calc(100% - 51px) calc(100% - 26px), #2d2e31 calc(100% - 26px) calc(100% - 22px), #9a9ca1 calc(100% - 22px) calc(100% - 19px), #4a4c51 calc(100% - 19px));
}

.stickers { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 3vw, 34px); padding: clamp(20px, 4vw, 40px) clamp(8px, 2vw, 20px); }
.sticker {
  flex: 0 0 auto; display: grid; place-items: center; width: clamp(150px, 26vw, 240px); aspect-ratio: 3 / 2; padding: 10px 14px;
  background: #fffdf8; border-radius: 6px; box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 10px 20px rgba(10, 12, 20, .18);
  font-family: var(--marker); font-size: clamp(20px, 2.8vw, 30px); line-height: 1.05; text-align: center; color: var(--ink);
  transform: rotate(var(--r, -3deg));
}
.sticker:nth-child(2) { --r: 4deg; }
.sticker:nth-child(3) { --r: -1.5deg; }
.sticker:nth-child(4) { --r: 6deg; }
.sticker.is-peel { clip-path: polygon(0 0, 100% 0, 100% 78%, 86% 100%, 0 100%); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ticket { transition: none; }
  .card, .notice, .btn, .st-in { transition: none; }
}
