/* Disneyland Christmas 2026, card 858.
   A Disneyland Railroad holiday timetable: cream timetable paper, holiday green enamel, brass
   rules and cranberry punches. Every object carries real data: the timetable stops and day
   stubs, the line map, the show bill, the measuring stick and the ticket rack. Dark mode turns
   the paper into the station board at night. */

.dlx {
    --paper: #f7f0e0;
    --paper2: #efe4cc;
    --card: #fffaf0;
    --ink: #1c2a24;
    --ink2: #4c5a52;
    --green: #17473a;
    --green2: #22604d;
    --red: #a3233c;
    --brass: #b8892f;
    --brass2: #e2c27a;
    --rule: color-mix(in srgb, var(--ink) 22%, transparent);
    --t-quiet: #cfe7d6;
    --t-moderate: #f3e1a6;
    --t-busy: #f4c09c;
    --t-packed: #e99aa6;
    --t-ink: #1c2a24;
    --radius: 14px;
    --display: var(--font-display, "Bricolage Grotesque", system-ui, sans-serif);
    --body: var(--font-text, "Hanken Grotesk", system-ui, sans-serif);
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.55;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .dlx {
        --paper: #0e1d18; --paper2: #0a1612; --card: #15291f; --ink: #f3ead6; --ink2: #c3bba7;
        --green: #8fd3b1; --green2: #6cbf98; --red: #ff8b9c; --brass: #e2c27a; --brass2: #8a6a2a;
        --t-quiet: #1f4a37; --t-moderate: #4d421c; --t-busy: #5a3523; --t-packed: #5c2230; --t-ink: #f3ead6;
    }
}
:root[data-theme="dark"] .dlx {
    --paper: #0e1d18; --paper2: #0a1612; --card: #15291f; --ink: #f3ead6; --ink2: #c3bba7;
    --green: #8fd3b1; --green2: #6cbf98; --red: #ff8b9c; --brass: #e2c27a; --brass2: #8a6a2a;
    --t-quiet: #1f4a37; --t-moderate: #4d421c; --t-busy: #5a3523; --t-packed: #5c2230; --t-ink: #f3ead6;
}

.dlx *, .dlx *::before, .dlx *::after { box-sizing: border-box; }
.dlx-wrap { max-width: 1160px; margin-inline: auto; padding-inline: 16px; }
.dlx h1, .dlx h2, .dlx h3 { font-family: var(--display); letter-spacing: -.02em; }
.dlx h3 { line-height: 1.15; }
.dlx :where(a) { color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.dlx :where(a):focus-visible, .dlx button:focus-visible, .dlx summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--brass2); border-radius: 8px; }

/* Hero */
.dlx-hero { padding: 44px 0 18px; border-bottom: 6px double var(--brass); }
.dlx-hero-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 36px; align-items: center; }
.dlx-kick { display: inline-block; margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; padding: 4px 0; }
.dlx h1 { font-size: clamp(40px, 6.2vw, 80px); line-height: .95; margin: 16px 0 18px; color: var(--green); font-weight: 800; }
.dlx h1 span { display: block; color: var(--ink2); font-size: .4em; letter-spacing: -.01em; margin-top: 12px; line-height: 1.15; font-weight: 600; }
.dlx-answer { margin: 0; font-size: 18.5px; max-width: 660px; background: var(--card); border: 2px solid var(--ink); border-left: 10px solid var(--red); border-radius: 6px var(--radius) var(--radius) 6px; padding: 18px 20px; }
.dlx-by { margin: 16px 0 0; font-size: 14.5px; color: var(--ink2); }

.dlx-ticket { background: var(--green); color: #f7f0e0; border-radius: 16px; padding: 20px 22px 0; position: relative; box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--brass); }
:root[data-theme="dark"] .dlx-ticket { background: #17473a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dlx-ticket { background: #17473a; } }
.dlx-ticket-top { display: flex; flex-direction: column; border-bottom: 2px dashed rgba(247,240,224,.45); padding-bottom: 12px; }
.dlx-ticket-top small { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #e2c27a; font-weight: 700; }
.dlx-ticket-top b { font-family: var(--display); font-size: 30px; line-height: 1.05; }
.dlx-ticket dl { margin: 12px 0; display: grid; gap: 2px; }
.dlx-ticket dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dotted rgba(247,240,224,.35); padding: 7px 0; }
.dlx-ticket dt { font-size: 14.5px; color: #d9d0bb; }
.dlx-ticket dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.dlx-ticket-stub { display: flex; align-items: center; gap: 10px; margin: 0 -22px; padding: 14px 22px; background: #a3233c; border-radius: 0 0 16px 16px; font-weight: 800; font-family: var(--display); }
.dlx-ticket-stub i { flex: 1; height: 0; border-top: 3px dotted #f7f0e0; }

.dlx-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; padding-bottom: 8px; }
.dlx-tabs a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 7px 13px; border: 2px solid var(--ink); border-radius: 6px; background: var(--card); }
.dlx-tabs a:hover { background: var(--green); color: var(--paper); border-color: var(--green); }

/* Sections */
.dlx-sec { padding: 60px 0; }
.dlx-alt { background: var(--paper2); }
.dlx h2 { font-size: clamp(29px, 4vw, 44px); color: var(--green); margin: 0 0 10px; line-height: 1.06; font-weight: 800; max-width: 920px; }
.dlx-lede { max-width: 760px; margin: 0 0 24px; font-size: 18px; color: var(--ink2); }
.dlx-src { font-size: 15px; color: var(--ink2); max-width: 900px; margin: 18px 0 0; }

/* Legend */
.dlx-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0; margin: 0 0 16px; font-size: 14px; font-weight: 600; }
.dlx-legend li { display: inline-flex; align-items: center; gap: 7px; }
.dlx-legend li::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--ink); background: var(--card); }
.dlx-legend .quiet::before { background: var(--t-quiet); }
.dlx-legend .moderate::before { background: var(--t-moderate); }
.dlx-legend .busy::before { background: var(--t-busy); }
.dlx-legend .packed::before { background: var(--t-packed); }
.dlx-legend .key::before { background: var(--card); box-shadow: inset 0 -5px 0 var(--red); }

/* Detail panel */
.dlx-detail { position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px 52px 16px 20px; margin-bottom: 18px; }
.dlx-detail small { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--red); }
.dlx-detail h3 { margin: 2px 0 8px; font-size: 22px; color: var(--green); }
.dlx-detail dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; margin: 0; }
.dlx-detail dt { font-size: 13.5px; color: var(--ink2); font-weight: 600; }
.dlx-detail dd { margin: 0; font-weight: 700; }
.dlx-detail p { margin: 0; color: var(--ink2); }
.dlx-detail p:empty { display: none; }
.dlx-detail.is-empty dl, .dlx-detail.is-empty .dlx-detail-x { display: none; }
.dlx-detail-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }

/* Timetable */
.dlx-board { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.dlx-tt { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.dlx-tt caption { caption-side: top; text-align: left; padding: 12px 18px; background: var(--green); color: var(--paper); font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .01em; }
:root[data-theme="dark"] .dlx-tt caption { background: #17473a; color: #f7f0e0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dlx-tt caption { background: #17473a; color: #f7f0e0; } }
.dlx-tt thead th { text-align: left; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); padding: 10px 14px; border-bottom: 2px solid var(--ink); }
.dlx-tt tbody tr { border-bottom: 1px solid var(--rule); }
.dlx-tt tbody tr:last-child { border-bottom: 0; }
.dlx-tt tbody th { text-align: left; font-weight: 400; padding: 14px 14px 14px 46px; position: relative; vertical-align: top; width: 30%; }
/* The track, one station per stop */
.dlx-tt tbody th::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 4px; background: var(--green); }
.dlx-tt tbody tr:first-child th::before { top: 22px; }
.dlx-tt tbody tr:last-child th::before { bottom: calc(100% - 26px); }
.dlx-tt tbody th::after { content: ""; position: absolute; left: 13px; top: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 4px solid var(--green); }
.dlx-tt tbody tr.is-calm th::after { background: var(--t-quiet); }
.dlx-tt tbody tr.is-busy th::after { background: var(--red); border-color: var(--red); }
.dlx-tt tbody tr.is-now th::after { background: var(--brass); border-color: var(--brass); }
.dlx-stop { display: block; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--ink); line-height: 1.15; }
.dlx-range { display: block; font-weight: 700; color: var(--red); font-size: 15px; }
.dlx-note { display: block; font-size: 14px; color: var(--ink2); margin-top: 3px; }
.dlx-flag { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.dlx-flag.is-calm { background: var(--t-quiet); color: var(--t-ink); }
.dlx-flag.is-busy { background: var(--red); color: #fff; }
.dlx-avg { padding: 14px; vertical-align: top; }
.dlx-avg b { display: inline-grid; place-content: center; min-width: 58px; height: 44px; padding: 0 8px; border-radius: 8px; font-family: var(--display); font-size: 22px; border: 2px solid var(--ink); background: var(--paper); }
.dlx-tt tr.quiet .dlx-avg b { background: var(--t-quiet); }
.dlx-tt tr.moderate .dlx-avg b { background: var(--t-moderate); }
.dlx-tt tr.busy .dlx-avg b { background: var(--t-busy); }
.dlx-tt tr.packed .dlx-avg b { background: var(--t-packed); }
.dlx-keys { padding: 14px; vertical-align: top; }
.dlx-keys b { display: block; font-family: var(--display); font-size: 22px; line-height: 1.1; color: var(--red); }
.dlx-keys small { font-size: 13px; color: var(--ink2); }
.dlx-days { padding: 12px 14px; vertical-align: top; }
.dlx-stubs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 420px; }
.dlx-stub { appearance: none; font: inherit; color: var(--t-ink); cursor: pointer; display: grid; justify-items: center; gap: 0; padding: 5px 2px 7px; min-height: 64px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--card); position: relative; }
.dlx-stub small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: inherit; opacity: .75; }
.dlx-stub .dlx-dn { font-size: 13px; font-weight: 700; }
.dlx-stub b { font-family: var(--display); font-size: 19px; line-height: 1.05; }
.dlx-stub.quiet { background: var(--t-quiet); }
.dlx-stub.moderate { background: var(--t-moderate); }
.dlx-stub.busy { background: var(--t-busy); }
.dlx-stub.packed { background: var(--t-packed); }
.dlx-stub.is-key { box-shadow: inset 0 -5px 0 var(--red); }
.dlx-stub.is-past { opacity: .55; }
.dlx-stub.is-today { outline: 3px solid var(--brass); outline-offset: 1px; }
.dlx-stub[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 2px; transform: translateY(-2px); }
.dlx-stub:hover { border-width: 2.5px; }

/* Best and worst days */
.dlx-sheets { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.dlx-sheet { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px 18px; }
.dlx-sheet h3 { margin: 0 0 10px; font-size: 21px; color: var(--green); }
.dlx-sheet.is-skip h3 { color: var(--red); }
.dlx-sheet ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dlx-sheet li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; }
.dlx-sheet li b { font-weight: 700; }
.dlx-sheet li small { grid-column: 2; color: var(--ink2); font-size: 14px; }
.dlx-dot { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-content: center; font-family: var(--display); font-weight: 800; border: 2px solid var(--ink); color: var(--t-ink); background: var(--paper); }
.dlx-sheet .quiet .dlx-dot { background: var(--t-quiet); }
.dlx-sheet .moderate .dlx-dot { background: var(--t-moderate); }
.dlx-sheet .busy .dlx-dot { background: var(--t-busy); }
.dlx-sheet .packed .dlx-dot { background: var(--t-packed); }

/* Line map */
.dlx-map { --lab: 300px; position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 44px 18px 16px; }
.dlx-months { position: absolute; left: 18px; right: 18px; top: 12px; height: 22px; }
.dlx-months span, .dlx-now { position: absolute; left: calc(var(--lab) + (100% - var(--lab)) * var(--x) / 100); }
.dlx-months span { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); padding-left: 5px; border-left: 2px solid var(--rule); height: 22px; line-height: 22px; }
.dlx-now { top: 34px; bottom: 10px; width: 0; border-left: 2px dashed var(--brass); margin-left: 18px; left: calc(var(--lab) + (100% - var(--lab) - 36px) * var(--x) / 100); }
.dlx-now b { position: absolute; top: -2px; left: 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
.dlx-line { display: grid; grid-template-columns: var(--lab) 1fr; align-items: center; padding: 8px 0; border-top: 1px solid var(--rule); }
.dlx-line-l b { display: block; font-weight: 700; line-height: 1.2; }
.dlx-line-l small { display: block; font-size: 13.5px; color: var(--ink2); }
.dlx-line-track { position: relative; height: 18px; }
.dlx-line-track::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--rule); }
.dlx-line-track i { position: absolute; top: 3px; height: 12px; left: var(--a); width: calc(var(--b) - var(--a)); background: var(--green); border-radius: 6px; }
.dlx-line-track i::before, .dlx-line-track i::after { content: ""; position: absolute; top: -3px; width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 4px solid var(--green); }
.dlx-line-track i::before { left: -9px; }
.dlx-line-track i::after { right: -9px; }
.dlx-line.is-open-end .dlx-line-track i { background: linear-gradient(90deg, var(--green) 70%, transparent); }
.dlx-line.is-open-end .dlx-line-track i::after { display: none; }
.dlx-line.is-closed .dlx-line-track i { background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 12px); }
.dlx-line.is-closed .dlx-line-track i::before, .dlx-line.is-closed .dlx-line-track i::after { border-color: var(--red); }

/* Show bill, the night section */
.dlx-night { background: #0f241d; color: #f3ead6; --ink: #f3ead6; --ink2: #c3bba7; --card: #17332a; --green: #8fd3b1; --red: #ff8b9c; --rule: rgba(243,234,214,.2); }
.dlx-night h2 { color: #f3ead6; }
.dlx-bills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dlx-bill { background: var(--card); border: 1.5px solid rgba(226,194,122,.55); border-radius: 10px; padding: 16px 18px; position: relative; }
.dlx-bill::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(226,194,122,.25); border-radius: 7px; pointer-events: none; }
.dlx-bill small { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #e2c27a; }
.dlx-bill h3 { margin: 6px 0 8px; font-size: 21px; }
.dlx-bill p { margin: 0; font-size: 15.5px; color: var(--ink2); }
.dlx-bill.is-dca small { color: #9fd8ff; }
.dlx-bill.is-candle { background: #2a1d10; border-color: #e2c27a; }

/* Measuring stick */
.dlx-measure { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: end; }
.dlx-stick { position: relative; height: 380px; display: flex; align-items: flex-end; gap: 14px; padding: 18px 12px 78px 52px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); }
.dlx-scale { position: absolute; left: 0; top: 18px; bottom: 78px; width: 100%; pointer-events: none; }
.dlx-scale span { position: absolute; left: 8px; right: 12px; bottom: calc(var(--f) / 60 * 100%); font-size: 12px; color: var(--ink2); border-bottom: 1px dashed var(--rule); line-height: 1; padding-bottom: 2px; }
.dlx-col { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.dlx-tree { width: 100%; max-width: 120px; height: calc(var(--f) / 60 * 100%); position: relative; }
.dlx-tree i { position: absolute; inset: 0; background: var(--green2); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
/* The two park trees, drawn so the star tip sits on the tree's real height */
.dlx { --fir-lit: #2f7a5c; --fir-shade: #1b5440; --trunk: #6b4423; --garland: #d9a93f; --bulb: #ffe7a0; }
:root[data-theme="dark"] .dlx { --fir-lit: #3a8a68; --fir-shade: #22604a; --trunk: #8a5a32; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dlx { --fir-lit: #3a8a68; --fir-shade: #22604a; --trunk: #8a5a32; } }
.dlx-col.is-fir .dlx-tree { width: auto; max-width: none; aspect-ratio: 100 / 320; }
.dlx-fir { display: block; width: 100%; height: 100%; overflow: visible; }
.dlx-fir .trunk { fill: var(--trunk); }
.dlx-fir .lit { fill: var(--fir-lit); }
.dlx-fir .shade { fill: var(--fir-shade); }
.dlx-fir .garland { fill: none; stroke: var(--garland); stroke-width: 2.4; stroke-linecap: round; }
.dlx-fir .orn circle { fill: var(--red); stroke: rgba(0,0,0,.18); stroke-width: .8; }
.dlx-fir .orn circle:nth-child(3n+2) { fill: var(--brass2); }
.dlx-fir .lt circle { fill: var(--bulb); }
.dlx-fir .star { fill: #f2c94c; stroke: #b8892f; stroke-width: 1; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
    .dlx-fir .lt circle { animation: dlx-twinkle 2.6s ease-in-out infinite; }
    .dlx-fir .lt circle:nth-child(3n+1) { animation-delay: -.9s; }
    .dlx-fir .lt circle:nth-child(3n+2) { animation-delay: -1.7s; }
}
@keyframes dlx-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.dlx-col.is-ginger .dlx-tree i { background: #9c5b2c; clip-path: polygon(50% 0, 66% 18%, 62% 40%, 100% 52%, 70% 64%, 76% 100%, 24% 100%, 30% 64%, 0 52%, 38% 40%, 34% 18%); }
.dlx-col.is-you { flex: 0 0 48px; }
.dlx-col.is-you .dlx-tree { max-width: 26px; }
.dlx-col.is-you .dlx-tree i { background: var(--red); clip-path: none; border-radius: 13px 13px 4px 4px; }
.dlx-col b { position: absolute; top: calc(100% + 6px); font-family: var(--display); font-size: 17px; line-height: 1; }
.dlx-col small { position: absolute; top: calc(100% + 28px); font-size: 12px; color: var(--ink2); text-align: center; line-height: 1.15; width: 110%; }
.dlx-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dlx-facts li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: baseline; border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.dlx-facts b { font-family: var(--display); font-size: 28px; color: var(--red); line-height: 1; font-variant-numeric: tabular-nums; }

/* Festival menu */
.dlx-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dlx-menu > div { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px 18px; }
.dlx-menu h3 { margin: 0 0 8px; font-size: 19px; color: var(--green); }
.dlx-menu ul { margin: 0; padding-left: 18px; }
.dlx-menu li { margin: 4px 0; }

/* Ticket rack */
.dlx-rack { display: flex; align-items: flex-end; gap: 10px; height: 250px; padding: 0 4px; border-bottom: 3px solid var(--ink); }
.dlx-tier { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.dlx-tier-stub { height: var(--h); min-height: 60px; background: var(--card); border: 2px solid var(--ink); border-bottom: 0; border-radius: 8px 8px 0 0; display: flex; flex-direction: column; align-items: center; padding-top: 10px; background-image: radial-gradient(circle at 50% 100%, var(--paper) 0 6px, transparent 7px); }
.dlx-tier:last-child .dlx-tier-stub { background-color: var(--t-packed); }
.dlx-tier:first-child .dlx-tier-stub { background-color: var(--t-quiet); }
.dlx-tier-stub b { font-family: var(--display); font-size: 20px; color: var(--t-ink); }
.dlx-tier-stub small { font-size: 12px; color: var(--t-ink); opacity: .8; }
.dlx-tier span { text-align: center; font-size: 13px; font-weight: 700; position: relative; top: 8px; height: 0; }
.dlx-tags { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dlx-tags li { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 14px 16px; display: grid; }
.dlx-tags small { font-size: 13px; color: var(--ink2); font-weight: 600; }
.dlx-tags b { font-family: var(--display); font-size: 26px; color: var(--green); }
.dlx-tags span { font-size: 14px; color: var(--ink2); }

/* FAQ */
.dlx-faq { display: grid; gap: 10px; max-width: 900px; }
.dlx-faq details { background: var(--card); border: 2px solid var(--ink); border-radius: 10px; padding: 4px 18px; }
.dlx-faq summary { cursor: pointer; list-style: none; padding: 10px 0; }
.dlx-faq summary::-webkit-details-marker { display: none; }
.dlx-faq summary h3 { display: inline; margin: 0; font-size: 18.5px; }
.dlx-faq summary::after { content: "+"; float: right; font-weight: 800; font-size: 22px; line-height: 1; color: var(--red); }
.dlx-faq details[open] summary::after { content: "\2212"; }
.dlx-faq p { margin: 0 0 14px; }

/* Plan links */
.dlx-plan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dlx-plan a { display: grid; gap: 2px; padding: 14px 16px; background: var(--card); border: 2px solid var(--ink); border-radius: 10px; text-decoration: none; color: var(--ink); }
.dlx-plan a b { color: var(--green); line-height: 1.2; }
.dlx-plan a span { font-size: 14px; color: var(--ink2); }
.dlx-plan a:hover { border-color: var(--red); }

@media (max-width: 960px) {
    .dlx-hero-in { grid-template-columns: 1fr; }
    .dlx-ticket { max-width: 420px; }
    .dlx-bills, .dlx-menu { grid-template-columns: 1fr 1fr; }
    .dlx-plan { grid-template-columns: 1fr 1fr; }
    .dlx-measure { grid-template-columns: 1fr; }
    .dlx-map { --lab: 220px; }
}
@media (max-width: 720px) {
    .dlx { font-size: 16.5px; }
    .dlx-sec { padding: 44px 0; }
    .dlx-detail dl { grid-template-columns: 1fr; }
    .dlx-tt thead { display: none; }
    .dlx-tt, .dlx-tt caption, .dlx-tt tbody, .dlx-tt tr, .dlx-tt th, .dlx-tt td, .dlx-tt tbody th { display: block; width: auto; }
    .dlx-tt tbody tr { display: grid; grid-template-columns: 1fr 1fr; padding: 4px 0 12px; }
    .dlx-tt tbody th { grid-column: 1 / -1; padding: 14px 14px 8px 46px; }
    .dlx-avg { padding: 4px 14px 8px 46px; }
    .dlx-keys { padding: 4px 14px 8px 4px; }
    .dlx-avg::before, .dlx-keys::before { content: attr(data-label); display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--ink2); margin-bottom: 4px; }
    .dlx-days { grid-column: 1 / -1; padding: 4px 12px 0 46px; }
    .dlx-tt tbody tr { position: relative; }
    .dlx-tt tbody tr::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 4px; background: var(--green); }
    .dlx-tt tbody tr:first-child::before { top: 22px; }
    .dlx-tt tbody tr:last-child::before { bottom: auto; height: 26px; }
    .dlx-tt tbody th::before { display: none; }
    .dlx-stubs { gap: 4px; }
    .dlx-stub { min-height: 58px; }
    .dlx-stub b { font-size: 17px; }
    .dlx-sheets, .dlx-bills, .dlx-menu, .dlx-tags { grid-template-columns: 1fr; }
    .dlx-map { --lab: 0px; padding-top: 40px; }
    .dlx-line { grid-template-columns: 1fr; gap: 6px; }
    .dlx-now { margin-left: 0; left: calc((100% - 36px) * var(--x) / 100 + 18px); }
    .dlx-line-l { position: relative; z-index: 1; background: var(--card); width: fit-content; padding-right: 6px; }
    .dlx-months span { padding-left: 3px; font-size: 11px; letter-spacing: .04em; }
    .dlx-stick { height: 320px; gap: 8px; padding-left: 44px; }
    .dlx-facts li { grid-template-columns: 96px 1fr; }
    .dlx-facts b { font-size: 23px; }
    .dlx-rack { gap: 5px; height: 220px; }
    .dlx-tier-stub b { font-size: 14px; letter-spacing: -.03em; }
    .dlx-tier-stub small { display: none; }
    .dlx-tier span { font-size: 11.5px; }
}
@media (max-width: 420px) {
    .dlx-plan { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .dlx-stub[aria-pressed="true"] { transform: none; }
}
