:root {
  color-scheme: light;
  --paper: #f8f5eb;
  --sheet: #fffcf4;
  --ink: #282361;
  --ink-hover: #3f377b;
  --gold: #ffc44a;
  --muted: #58576b;
  --rule: #cfccbf;
  --focus: #a04a08;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:has(.purchase:target) { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--sans); -webkit-text-size-adjust: 100%; }
body, input, select, button { font-family: var(--sans); }
body { min-block-size: 100svh; display: flex; flex-direction: column; }
main { flex: 1; }
button, input, select { font-size: 1rem; color: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 4px;
}
button:disabled, select:disabled { cursor: not-allowed; }
p, h1, h2, h3, ol, ul { margin: 0; }
h1, h2, h3 { line-height: 1.05; }
h1, h2 { letter-spacing: -.055em; }
h1 { font-size: clamp(3.4rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 4.2rem); }
img { display: block; max-inline-size: 100%; }
.wrap { width: min(100% - clamp(2.5rem, 8vw, 10rem), 80rem); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; height: 1px; width: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; top: .5rem; left: 1rem; background: var(--sheet); color: var(--ink); padding: .8rem 1rem; z-index: 5; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-row, .footer-row { display: flex; align-items: center; }
.header-row { min-height: 5.1rem; gap: clamp(1.5rem, 5vw, 5.5rem); }
.brand { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; text-decoration: none; }
.brand > span { font-size: 1.75rem; font-weight: 750; letter-spacing: -.08em; line-height: 1; }
.brand small { margin: .05rem 0 0 -.2rem; padding: .19rem .27rem .15rem; font: bold .64rem/1 var(--mono); letter-spacing: .03em; border: 1px solid currentColor; border-radius: .24rem; align-self: flex-start; }
.brand img { width: 2.2rem; height: 2.2rem; }
.header-row nav, .footer-row nav, .footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem clamp(.85rem, 2.8vw, 2.7rem); }
.header-row nav { margin-left: auto; }
.header-row nav a, .footer-row nav a, .footer-legal a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-size: .92rem; font-weight: 560; }
.header-row nav a:hover, .footer-row a:not(.brand):hover { text-decoration: underline; }
.nav-action { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem 1rem; gap: .7rem; border: 1px solid var(--ink); border-radius: .33rem; font-weight: 650; font-size: .9rem; text-decoration: none; }
.nav-action:hover { color: var(--sheet); background: var(--ink); }
.nav-action .arrow { font-size: 1.15rem; line-height: 1; }
.eyebrow { display: flex; align-items: center; gap: .65rem; font: 600 .73rem/1.3 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.line-sign { height: .78rem; width: 1.9rem; display: inline-block; position: relative; color: inherit; background: linear-gradient(currentColor 0 0) no-repeat left center / 100% 1.5px; }
.line-sign::before, .line-sign::after { content: ""; position: absolute; width: .47rem; height: .47rem; top: 50%; transform: translateY(-50%); border: 1.5px solid currentColor; background: var(--paper); border-radius: 50%; }
.line-sign::before { left: 0; }
.line-sign::after { right: 0; background: currentColor; }
.hero-description { max-width: 29rem; color: var(--muted); font-size: clamp(1.04rem, 1.3vw, 1.22rem); line-height: 1.53; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.55rem; margin-top: 1.9rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; min-height: 3.1rem; align-self: flex-start; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: .33rem; font-size: .98rem; line-height: 1.35; text-decoration: none; font-weight: 650; }
.button span { font-weight: 450; font-size: 1.28rem; line-height: 1; }
.button-dark { background: var(--ink); color: var(--sheet); }
.button-dark:hover:not(:disabled) { background: var(--ink-hover); }
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold:hover:not(:disabled) { background: #ffdc83; }
.button:disabled { background: #dbd8ce; color: #63616a; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .5rem; padding: .2rem 0; background: transparent; border: 0; font-size: .91rem; font-weight: 650; text-decoration: underline; text-underline-offset: .32em; }
.text-link:hover { text-decoration-thickness: 2px; }
.ticket { width: 100%; position: relative; transform: rotate(-5deg); background: var(--paper); color: var(--ink); box-shadow: 4px 7px 0 #16103f85; }
.ticket-cap, .ticket-stub { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.ticket-cap { padding: .9rem 1.25rem .75rem; }
.ticket-title { font-weight: 900; font-style: italic; letter-spacing: -.09em; line-height: .88; font-size: clamp(1.75rem, 3vw, 3rem); }
.ticket-cap-label, .ticket-stub small { display: block; font: 600 clamp(.57rem,.74vw,.72rem)/1.23 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ticket-cap-label { text-align: right; }
.ticket-art { inline-size: 100%; height: auto; border-block: 1px solid var(--ink); }
.ticket-stub { position: relative; min-height: 4.55rem; padding: .9rem 1.25rem; border-top: 1.6px dashed var(--ink); margin-top: .3rem; }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; top: -.425rem; width: .85rem; height: .85rem; background: var(--ink); border-radius: 50%; }
.ticket-stub::before { left: -.425rem; }
.ticket-stub::after { right: -.425rem; }
.ticket-stub strong, .ticket-stub b { display: block; line-height: 1.15; margin-top: .28rem; font-size: clamp(1.06rem,1.65vw,1.6rem); letter-spacing: -.04em; }
.ticket-stub small { color: #4d4965; }
.plans, .connect { padding-block: clamp(3.5rem, 6.3vw, 6.7rem); }
.plans { border-top: 1px solid var(--rule); background: var(--sheet); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem 2.4rem; margin-bottom: 2.15rem; }
.section-heading h2 { margin-top: 1.1rem; }
.section-heading > p { max-width: 21rem; color: var(--muted); line-height: 1.5; }
.accent-period { color: #a95d0b; }
.schedule { border-top: 2px solid var(--ink); }
.schedule-head, .schedule-row { display: grid; grid-template-columns: minmax(8.4rem,1.32fr) 1fr 1fr .95fr .74fr; align-items: center; gap: 1rem; }
.schedule-head { min-height: 3.1rem; border-bottom: 1px solid var(--rule); font: 600 .73rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.schedule-row { min-height: 4.8rem; border-bottom: 1px solid var(--rule); }
.pack-name { position: relative; display: flex; align-items: center; gap: 1.05rem; font-weight: 700; font-size: 1.13rem; letter-spacing: -.025em; overflow-wrap: anywhere; }
.route-stop { flex: 0 0 .61rem; width: .61rem; height: .61rem; border: 2px solid var(--ink); border-radius: 50%; background: var(--gold); }
.pack-gb, .pack-price { font-size: clamp(1.05rem,1.75vw,1.65rem); font-weight: 650; line-height: 1.25; letter-spacing: -.04em; }
.pack-devices { color: var(--muted); }
.pack-action { justify-self: end; }
.pack-action a { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; font-weight: 650; font-size: .88rem; }
.schedule-row:focus-within { background-color: #ffc44a22; }
.connect { background: var(--ink); color: var(--paper); }
.connect .line-sign::before { background: var(--ink); }
.connect .eyebrow, .connect h2 span { color: var(--gold); }
.connect .button:focus-visible { outline-color: var(--paper); }
.connection-stops { display: grid; grid-template-columns: repeat(3,1fr); margin-block: 2.5rem 2.15rem; padding: 0; list-style: none; }
.connection-stops li { position: relative; padding: 2.55rem 2.2rem 0 0; background: linear-gradient(#aa9fbb 0 0) no-repeat left .42rem / 100% 1px; }
.connection-stops li:last-child { background: none; }
.connection-stops li::before { content: ""; position: absolute; left: 0; top: 0; width: .92rem; height: .92rem; border: 2px solid var(--gold); border-radius: 100%; background: var(--ink); }
.connection-stops li:last-child::before { background: var(--gold); }
.connection-stops h3 { margin-bottom: .7rem; font-size: 1.38rem; letter-spacing: -.032em; }
.connection-stops p { color: #d9d5e8; font-size: .98rem; }
.site-footer { border-top: 1px solid var(--rule); padding-block: 1.45rem; }
.footer-row { justify-content: space-between; flex-wrap: wrap; gap: .65rem 2rem; }
.footer-legal { flex: 1 0 100%; }
.footer-legal a { color: var(--muted); font-size: .85rem; }
.account { padding-block: clamp(2.5rem, 5vw, 5rem); }
.account-header, .block-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.5rem; }
.account-header { margin-bottom: 1.75rem; }
.account-header h1 { font-size: clamp(2.8rem, 5.6vw, 5.4rem); margin-top: 1rem; }
.account-email { color: var(--muted); overflow-wrap: anywhere; }
.banner { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .8rem; margin-block: .8rem; padding: .8rem 1rem; border-inline-start: 3px solid var(--ink); background: #eae7f4; }
.preview { background: #ffe4a4; }
.warning { color: #842e1e; border-color: #9d472b; background: #ffe9da; }
.notice { color: #174c3e; border-color: #23654a; background: #dfefe5; }
.wallet-grid { display: grid; align-items: stretch; grid-template-columns: minmax(14rem,.78fr) minmax(0,1.22fr); gap: 1.15rem; margin-top: 1.5rem; }
.wallet-pass { display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; border-radius: .35rem; background: var(--ink); color: var(--paper); }
.pass-body { padding: clamp(1.5rem,3.2vw,3.3rem); }
.wallet-pass .eyebrow { color: var(--gold); }
.wallet-pass .line-sign::before { background: var(--ink); }
.wallet-pass h2 { margin-top: 1.6rem; font-weight: 550; font-size: 1.25rem; letter-spacing: -.025em; }
.balance { margin-top: .4rem; line-height: 1.05; font-size: clamp(2.2rem,4.75vw,4.7rem); font-weight: 680; letter-spacing: -.055em; overflow-wrap: anywhere; }
.balance small { font-size: .54em; color: var(--gold); }
.wallet-strip { display: flex; align-items: center; gap: .75rem; height: 3rem; padding-inline: 1.5rem; background: var(--gold); color: var(--ink); }
.wallet-strip span { flex: 1; height: 2px; background: currentColor; }
.wallet-strip i { width: .7rem; height: .7rem; border: 2px solid currentColor; border-radius: 100%; }
.form-panel, .purchase { border: 1px solid var(--rule); border-radius: .35rem; padding: clamp(1.4rem, 3vw, 2.7rem); background: var(--sheet); }
.form-panel h2, .account-block h2 { font-size: clamp(1.65rem, 2.7vw, 2.7rem); }
.account-form { display: flex; flex-direction: column; align-items: stretch; gap: 1.15rem; }
.form-panel .account-form { margin-top: 1.3rem; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field label { margin-bottom: .35rem; font-size: .91rem; font-weight: 650; }
.field input, .field select { border: 1px solid #888391; border-radius: .27rem; background: #fffefa; color: var(--ink); padding: .68rem .72rem; min-height: 3rem; min-width: 0; width: 100%; line-height: 1.3; }
.field select { text-overflow: ellipsis; }
.field input::placeholder { color: #686677; opacity: 1; }
.field small, .field-note, .muted, .empty { color: var(--muted); }
.field small { font-size: .79rem; margin-top: .3rem; }
.field-note, .checkline { font-size: .9rem; }
.checkline { display: inline-flex; gap: .6rem; align-items: center; min-height: 2.75rem; align-self: flex-start; }
.checkline input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--ink); }
.account-block { margin-top: 2.4rem; }
.purchase { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(1rem,4vw,4.5rem); background: #f0ecdf; margin-top: 1.15rem; }
.purchase h2 { margin-top: .75rem; }
.purchase .muted, .profiles-block .muted, .block-head + .muted { margin-top: .55rem; }
.empty { border-top: 1px solid var(--rule); padding: 1.05rem 0; margin-top: 1rem; }
.records { margin-top: 1rem; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.records li { display: flex; gap: .4rem 1.5rem; align-items: center; flex-wrap: wrap; padding-block: .85rem; border-bottom: 1px solid var(--rule); line-height: 1.35; }
.records li > :first-child { margin-right: auto; }
.record-description small { display: block; font-size: .82rem; color: var(--muted); margin-top: .25rem; }
.record-status { color: #4a4860; font-size: .91rem; }
.auth-layout { display: grid; grid-template-columns: 1fr .94fr; align-items: center; gap: clamp(2.3rem, 7vw, 7rem); padding-block: clamp(4rem,10vw,9.5rem); }
.auth-panel { max-width: 32rem; }
.auth-panel h1, .error-page h1 { font-size: clamp(2.9rem,5vw,5.25rem); margin-block: 1.2rem .9rem; }
.auth-panel > p:not(.eyebrow), .error-page > p:not(.eyebrow) { color: var(--muted); font-size: 1.07rem; overflow-wrap: anywhere; }
.auth-panel form.account-form { margin-top: 1.8rem; }
.auth-panel .code-input { letter-spacing: .2em; font-family: var(--mono); }
.auth-art { padding: clamp(.7rem,1.25vw,1.25rem); border: 1px solid var(--ink); box-shadow: .5rem .5rem var(--ink); transform: rotate(-3deg); }
.auth-art img { width: 100%; height: auto; }
.auth-retry { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .8rem; }
.demo-link { margin-top: 1rem; }
.inline-error { color: #842e1e; }
.error-page { padding-block: clamp(4rem,10vw,9rem); }
.error-page .button { margin-top: 1.5rem; }
@media (max-width: 62rem) {
  .section-heading > p { max-width: 19rem; }
  .wallet-grid { grid-template-columns: .76fr 1.24fr; }
  .schedule-head, .schedule-row { grid-template-columns: minmax(8.4rem,1.42fr) .9fr 1fr .85fr .75fr; }
}
@media (max-width: 47rem) {
  .wrap { width: min(100% - 2.5rem, 39rem); }
  .header-row { min-height: 4.35rem; justify-content: space-between; gap: .7rem; }
  .header-row nav { display: none; }
  .brand > span { font-size: 1.55rem; }
  .brand img { height: 2rem; width: 2rem; }
  .brand small { font-size: .55rem; }
  .nav-action { min-height: 2.75rem; padding: .5rem .7rem; gap: .4rem; font-size: .85rem; }
  .hero-description { max-width: 30rem; }
  .actions { margin-top: 1.3rem; }
  .ticket-cap { padding: .7rem .9rem .6rem; }
  .ticket-stub { padding: .65rem .9rem; min-height: 3.7rem; }
  .ticket-cap-label, .ticket-stub small { font-size: .57rem; }
  .ticket-stub strong, .ticket-stub b { font-size: 1.15rem; }
  .plans, .connect { padding-block: 2.9rem; }
  .section-heading { display: block; margin-bottom: 1.55rem; }
  .section-heading > p { margin-top: .9rem; max-width: 30rem; }
  .schedule-head { display: none; }
  .schedule-row { display: grid; grid-template-columns: 1fr auto; gap: .12rem 1rem; padding-block: .9rem; }
  .pack-name { grid-column: 1; grid-row: 1; gap: .55rem; }
  .pack-gb { grid-column: 1; grid-row: 2; padding-left: 1.15rem; font-size: .93rem; font-weight: 600; }
  .pack-devices { grid-column: 1; grid-row: 3; padding-left: 1.15rem; font-size: .85rem; }
  .pack-price { grid-column: 2; grid-row: 1; text-align: right; }
  .pack-action { grid-column: 2; grid-row: 2 / 4; }
  .connection-stops { grid-template-columns: 1fr; gap: 0; margin-block: 1.7rem; }
  .connection-stops li { padding: 0 0 1.5rem 1.9rem; background-position: .42rem top; background-size: 1px 100%; }
  .connection-stops li::before { top: .2rem; }
  .connection-stops li:last-child { padding-bottom: 0; }
  .connection-stops h3 { margin-bottom: .35rem; font-size: 1.25rem; }
  .footer-row nav { column-gap: 1rem; }
  .footer-legal { column-gap: 1rem; }
  .wallet-grid, .purchase, .auth-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .wallet-grid, .purchase { gap: 1.1rem; }
  .pass-body { padding: 1.4rem; }
  .wallet-pass h2 { margin-top: 1.1rem; }
  .wallet-strip { height: 1.8rem; }
  .account-header { margin-bottom: 1.2rem; }
  .account-header h1 { font-size: clamp(2.65rem,9.8vw,4.5rem); }
  .records li { gap: .35rem .7rem; }
  .records .text-link { flex-basis: 100%; }
  .auth-layout { padding-block: 3.1rem; }
  .auth-art { display: none; }
}
@media (max-width: 22rem) {
  .wrap { width: calc(100% - 1.7rem); }
  .brand { gap: .34rem; }
  .actions { column-gap: .85rem; }
  .ticket-stub { gap: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.profile-link { flex-basis: 100%; }
.profile-link summary { width: fit-content; min-height: 2.75rem; padding-block: .6rem; cursor: pointer; text-decoration: underline; text-underline-offset: .24em; font-size: .91rem; font-weight: 650; }
.profile-link summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.profile-link .field { max-width: 36rem; }
.profile-link input { font-family: var(--mono); font-size: .85rem; }
.device-guide { margin: -.3rem 0 1.6rem; border-block: 1px solid #77719d; }
.device-guide summary { cursor: pointer; min-height: 3.3rem; padding-block: .85rem; font-weight: 650; }
.device-guide summary:focus-visible, .device-guide a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.device-guide div { max-width: 49rem; padding: .1rem 0 1.1rem; }
.device-guide p { margin-bottom: .55rem; color: #e4dfec; }
.device-guide strong { color: var(--paper); }
.device-guide a { color: var(--gold); }
@media (max-width: 47rem) {
  .actions { column-gap: 1rem; }
  .actions .button { padding-inline: .9rem; gap: .7rem; }
  .actions .text-link { font-size: .85rem; }
  .schedule-head { display: grid; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
.pack-unavailable { color: var(--muted); font-size: .85rem; }
.grant-warning { flex-basis: 100%; padding: .6rem .8rem; border-left: 3px solid #9d472b; background: #ffe9da; color: #842e1e; font-size: .9rem; }
.help-page { padding-block: clamp(2.75rem,6vw,5.5rem); }
.help-page h1 { font-size: clamp(3.3rem,6vw,5.7rem); margin-bottom: clamp(1.6rem,4vw,3.4rem); }
.help-layout { display: grid; align-items: start; grid-template-columns: minmax(11rem, .65fr) minmax(0, 1.35fr); gap: clamp(2rem,6vw,6.5rem); }
.help-nav { display: flex; flex-direction: column; align-items: flex-start; border-top: 2px solid var(--ink); padding-block: .55rem; }
.help-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }
.help-topics { max-width: 43rem; border-top: 2px solid var(--ink); }
.help-topics section { padding-block: clamp(1.5rem,3vw,2.6rem); scroll-margin-top: 1rem; }
.help-topics section + section { border-top: 1px solid var(--rule); }
.help-topics h2 { font-size: clamp(1.65rem,2.9vw,2.7rem); }
.help-topics p { margin-top: .75rem; color: var(--muted); }
.help-topics .button, .help-topics .text-link { margin-top: .65rem; }
@media (max-width: 47rem) {
  .help-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .help-nav { flex-direction: row; flex-wrap: wrap; column-gap: 1.35rem; }
}

#documents .device-guide { margin: .9rem 0 0; border-color: var(--rule); border-bottom: 0; }
#documents .device-guide strong, #documents dt { color: var(--ink); font-weight: 650; }
#documents h3, #documents dt { margin-top: 1.15rem; }
#documents dd { margin: .25rem 0 0; }

@font-face {
  font-family: Unbounded;
  src: url("/static/fonts/unbounded.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
:root { --display: Unbounded, var(--sans); }
.brand > span, h1, h2, .ticket-title { font-family: var(--display); letter-spacing: -.035em; }
.brand > span { font-size: 1.38rem; font-weight: 670; }
.platform { position: relative; isolation: isolate; overflow: hidden; background: #242057; color: var(--paper); }
.platform::before, .platform::after { content: ""; pointer-events: none; position: absolute; z-index: -1; border: 1px solid #8d87b04a; border-radius: 50%; width: 107%; height: 100%; transform: rotate(-24deg); }
.platform::before { left: 24%; top: -64%; box-shadow: 0 9px 0 -1px #242057, 0 10px 0 0 #8d87b04a; }
.platform::after { left: 22%; top: 68%; box-shadow: 0 -9px 0 -1px #242057, 0 -10px 0 0 #8d87b04a; }
.hero { display: grid; align-items: center; grid-template-columns: 1.05fr 1fr; gap: clamp(1.8rem,5vw,5.8rem); padding-block: clamp(3.4rem,6vw,6rem); }
.hero-copy { container-type: inline-size; }
.hero-copy > h1 { font-size: clamp(2.1rem,11.5cqi,5.9rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 640; margin: 0 0 1.5rem; }
.hero-copy > h1 span { color: var(--gold); }
.hero-description { color: #e8e3f0; max-width: 32rem; text-wrap: pretty; }
.platform :focus-visible { outline-color: white; }
.hero-visual { display: grid; place-items: center; min-width: 0; padding: 1.2rem clamp(.8rem,1.5vw,1.5rem) 0; }
.ticket { transform: rotate(-3deg); box-shadow: 0 .85rem 2rem #120d3066; }
.ticket-title { font-style: normal; font-weight: 800; font-size: clamp(1.55rem,2.8vw,2.8rem); }
.ticket-cap-label, .ticket-stub small { font-size: .68rem; }
.ticket .ticket-stub { padding: .85rem 1.2rem; min-height: 5rem; }
.ticket-stub[hidden], .ticket-controls[hidden] { display: none; }
.ticket-stub .fare-caption strong, .ticket-stub .fare-price b { font: 600 clamp(.97rem,1.38vw,1.38rem)/1.35 var(--display); letter-spacing: -.035em; }
.fare-caption span { display: block; font-size: .85rem; }
.fare-price { text-align: right; font-variant-numeric: tabular-nums; }
.ticket-controls { display: flex; align-items: center; gap: 1rem; margin-top: clamp(1.6rem,2.2vw,2.3rem); font-size: .88rem; }
.ticket-controls button { display: grid; place-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid #938eb5; border-radius: 50%; background: transparent; color: white; font-size: 1.3rem; }
.ticket-controls button:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.section-heading h2 { margin-top: 0; font-size: clamp(2rem,3.7vw,3.75rem); }
.schedule-row { scroll-margin-block: 20svh; }
.schedule-row:target { background: #ffedbf; }
.schedule-row .route-stop { box-shadow: 0 0 0 3px var(--sheet); }
.pack-gb, .pack-price, .balance { font-variant-numeric: tabular-nums; }
.questions { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; padding-block: clamp(3rem,6vw,6rem); }
.questions details { border-top: 1px solid var(--rule); }
.questions summary { min-height: 3.5rem; padding-block: 1rem; cursor: pointer; font-weight: 650; }
.questions details p { color: var(--muted); padding-bottom: 1rem; max-width: 58ch; }
.questions .text-link { margin-top: .65rem; }
@media (max-width: 47rem) {
  .hero, .questions { grid-template-columns: 1fr; }
  .hero { padding-block: 2.6rem; gap: 2rem; }
  .hero-copy > h1 { font-size: clamp(1.95rem,11.7cqi,4rem); }
  .ticket { max-width: 29rem; }
  .ticket .ticket-stub { padding: .7rem .85rem; }
  .account-header h1, .auth-panel h1, .error-page h1 { font-size: clamp(1.85rem,7.9vw,3.7rem); }
  .brand > span { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .schedule-row, .ticket-controls button { transition: background-color .18s ease-out; }
}

/* The landscape and train share one printed frame, with independent depth. */
.ticket-depth { width: 100%; max-width: 36rem; }
.rail-scene { position: relative; overflow: hidden; aspect-ratio: 620 / 350; background: #ffc34a; }
.rail-scene img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ticket .rail-scene { border-block: 1px solid var(--ink); }
.mobile-menu, .short-label { display: none; }
.guide-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 0 1.5rem; margin: 1.15rem 0 2rem; }
.guide-links a { display: block; position: relative; border-top: 1px solid currentColor; padding: .9rem 1.3rem .9rem 0; font-weight: 680; text-decoration: none; }
.guide-links a::after { content: "↗"; position: absolute; right: 0; top: .9rem; }
.guide-links a:hover { text-decoration: underline; }
.guide-links span { display: block; font-size: .84rem; font-weight: 450; opacity: .86; margin-top: .22rem; }
.guide-cover { background: var(--ink); color: var(--sheet); overflow: hidden; }
.guide-cover-inner { display: grid; grid-template-columns: minmax(0,1.65fr) 1fr; align-items: center; gap: 2rem; }
.guide-cover-inner, .fare-cover .wrap { padding-block: clamp(2.4rem,6vw,6rem); }
.crumb { display: inline-flex; align-items: center; min-height: 2.75rem; }
.guide-cover h1, .fare-cover h1 { font-size: clamp(2rem,5.9vw,5.5rem); margin-block: 1rem; }
.guide-cover p { color: var(--gold); font-weight: 650; }
.fare-cover { background: var(--gold); color: var(--ink); }
.fare-cover p { max-width: 34rem; }
.equipment { justify-self: center; width: min(100%,17rem); aspect-ratio: 1.6; padding: .65rem; border: .23rem solid var(--sheet); border-radius: .8rem; position: relative; transform: rotate(-5deg); }
.equipment.phone { width: min(58%,8rem); aspect-ratio: .56; border-radius: 1.4rem; }
.equipment-screen { width: 100%; height: 100%; display: grid; place-items: center; background: var(--gold); border-radius: .25rem; }
.phone .equipment-screen { border-radius: .75rem; }
.equipment.computer::after, .equipment.tv::after { content: ''; position: absolute; background: var(--sheet); width: 116%; height: .42rem; bottom: -.65rem; left: -8%; border-radius: 0 0 1rem 1rem; }
.equipment.tv::after { width: 36%; left: 32%; bottom: -.95rem; }
.guide-body { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(14rem,1fr); align-items: start; gap: clamp(2rem,8vw,8rem); padding-block: clamp(2.6rem,5vw,5.5rem); }
.boarding-steps { list-style: none; padding: 0; counter-reset: boarding; }
.boarding-steps li { counter-increment: boarding; display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; align-items: start; padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.boarding-steps li::before { content: counter(boarding); display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--ink); color: var(--gold); font-weight: 700; }
.boarding-steps h2, .guide-aside h2, .fare-board h2 { font-size: clamp(1.35rem,2.3vw,2.25rem); }
.boarding-steps p { margin-top: .8rem; max-width: 62ch; }
.guide-aside .guide-links { grid-template-columns: 1fr; margin-bottom: .5rem; }
.guide-aside .guide-links a[aria-current] { opacity: .76; }
.fare-board { padding-block: clamp(2.4rem,5vw,5.4rem); }
.profile-filter { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.4rem 0 2rem; }
.profile-filter a { display: grid; place-items: center; min-width: 3rem; min-height: 2.75rem; border: 1px solid var(--ink); text-decoration: none; font-weight: 650; }
.profile-filter a[aria-current] { background: var(--ink); color: white; }
@media (max-width: 47rem) {
  .mobile-menu { display: block; position: relative; margin-left: auto; }
  .mobile-menu summary { display: flex; align-items: center; cursor: pointer; min-height: 2.75rem; padding: .25rem; font-size: .88rem; font-weight: 650; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .header-row .mobile-menu nav { display: grid; position: absolute; z-index: 8; top: 100%; right: 0; min-width: 10rem; padding: .4rem 1rem; background: var(--sheet); color: var(--ink); border: 1px solid var(--ink); }
  .header-row .mobile-menu:not([open]) nav { display: none; }
  .guide-body { grid-template-columns: 1fr; }
  .guide-cover-inner { gap: 1rem; grid-template-columns: minmax(0,1fr) 4.2rem; }
  .equipment { padding: .2rem; border-width: .15rem; }
  .equipment-screen img { width: 1.5rem; height: 1.5rem; }
  .guide-cover h1 { font-size: clamp(1.65rem,5.7vw,2.5rem); }
  .guide-links { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
  .nav-action .wide-label { display: none; }
  .nav-action .short-label { display: inline; }
}
@media (prefers-reduced-motion: no-preference) {
  .platform .rail-landscape { transform: translate(var(--land-x,0px),var(--land-y,0px)) scale(1.10); }
  .platform .rail-train { transform: translate(var(--train-x,0px),var(--train-y,0px)) scale(1.075); }
  details[open] > :is(p, div, nav) { animation: panel-enter .22s ease-out both; }
  @keyframes panel-enter { from { opacity: .65; } }
}

.pack-explainer { display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: clamp(2rem,6vw,6rem); padding-block: clamp(3rem,6vw,6.5rem); }
.pack-explainer h2 { font-size: clamp(1.8rem,3.6vw,3.6rem); }
.pack-explainer p { max-width: 48ch; margin: 1.2rem 0 .4rem; color: var(--muted); }
.split-ticket { margin: 0; padding: clamp(1.35rem,3vw,2.5rem); background: #ffe1a0; }
.split-ticket figcaption { font-weight: 650; }
.split-origin { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; flex-wrap: wrap; padding-block: .75rem; border-bottom: 1px dashed currentColor; }
.split-origin strong { font: 650 clamp(2rem,4.5vw,4rem)/1.1 var(--display); letter-spacing: -.04em; }
.split-ticket ul { padding: 1rem 0 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit,minmax(6.5rem,1fr)); gap: .8rem; }
.split-ticket li { display: grid; }
.split-ticket li b { font-size: 1.4rem; font-variant-numeric: tabular-nums; }
@media (max-width: 47rem) { .pack-explainer { grid-template-columns: 1fr; } }

.cabinet-nav { display: flex; flex-wrap: wrap; gap: .2rem clamp(.8rem,2.4vw,2.1rem); padding-block: .4rem; border-block: 1px solid var(--rule); margin-bottom: 1.5rem; }
.cabinet-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; text-decoration: none; }
.cabinet-nav a:hover { text-decoration: underline; }
.account section[id] { scroll-margin-block-start: 1.5rem; }
.purchase-preview { padding: .9rem 1rem; background: var(--sheet); border: 1px solid var(--rule); }
.purchase-preview p { font-weight: 600; font-variant-numeric: tabular-nums; }
.purchase-preview [hidden], .copy-profile[hidden] { display: none; }
.records.profile-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,20rem),1fr)); gap: .85rem; border: 0; }
.profile-grid .profile-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: start; align-items: baseline; gap: .55rem 1rem; padding: 1.15rem; border: 1px solid var(--rule); background: var(--sheet); }
.profile-grid .record-description { margin: 0; }
.profile-grid .record-status { font-size: .81rem; }
.profile-grid .profile-remaining { grid-column: 1/-1; font-weight: 650; font-variant-numeric: tabular-nums; }
.profile-grid .grant-warning, .profile-grid .profile-link, .profile-grid meter, .profile-card > .text-link { grid-column: 1/-1; }
.profile-grid meter { width: 100%; height: .7rem; accent-color: var(--ink); }
.profile-card .profile-link input { font-size: 1rem; }
.copy-profile { min-height: 2.75rem; padding: .45rem .65rem; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: .25rem; margin-block: .5rem; }
.copy-feedback { display: block; font-size: .88rem; }

.profile-grid meter::-webkit-meter-optimum-value { background: var(--ink); }
.profile-grid meter::-moz-meter-bar { background: var(--ink); }

.tariff-filter { display: flex; align-items: end; flex-wrap: wrap; gap: 1rem; margin: 1.25rem 0 2rem; }
.tariff-filter label { display: grid; gap: .3rem; font-weight: 650; }
.tariff-filter select { min-height: 3.1rem; padding: .4rem 2rem .4rem .7rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: .25rem; }
.tariff-filter .button { align-self: end; }
.field[hidden] { display: none; }

.builder-panel { min-width: 0; }
.builder-panel [hidden] { display: none; }
.quote-form:not([hidden]) { margin-bottom: 1.1rem; }
.builder-renewal { margin-top: 1rem; padding-inline-start: .85rem; border-inline-start: 3px solid var(--gold); }
.builder-controls { display: grid; }
.volume-label, .volume-limits, .quote-price { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.volume-label label, .quote-price > span { font-weight: 650; }
.volume-label strong, .quote-price strong { font: 600 clamp(1.25rem, 2vw, 1.85rem)/1.3 var(--display); font-variant-numeric: tabular-nums; }
#pack-volume { width: 100%; height: 2.75rem; margin: 0; accent-color: var(--ink); cursor: pointer; }
#pack-volume:focus-visible { outline-offset: -3px; }
.volume-limits, .purchase-preview [data-allocation-text] { color: var(--muted); font-size: .875rem; font-weight: 450; }
.device-field { margin-top: 1rem; }
.purchase-preview { border-top: 3px solid var(--ink); }
.purchase-preview [data-projection-text] { margin-top: .7rem; padding-top: .7rem; border-top: 1px dashed var(--rule); }

/* The wallet and top-up form share the edges of one ticket. */
.wallet-grid { gap: 0; border: 1px solid var(--rule); border-radius: .75rem; overflow: clip; background: var(--sheet); }
.wallet-pass, #topup { border: 0; border-radius: 0; }
.wallet-pass { isolation: isolate; }
.wallet-pass .pass-body { position: relative; z-index: 1; }
.wallet-scenery { flex: 1; position: relative; overflow: hidden; min-height: 7rem; background: repeating-linear-gradient(165deg, transparent 0 2rem, #ffffff0c 2rem calc(2rem + 1px)); }
.wallet-scenery img { position: absolute; width: 110%; max-width: none; height: 125%; right: -3%; bottom: -12%; object-fit: cover; object-position: 50% 54%; }
#topup { border-inline-start: 2px dashed var(--rule); }
.payment-fields { display: grid; gap: 1.2rem; }
.amount-entry { display: flex; align-items: baseline; gap: .5rem; padding: .1rem .15rem .25rem; color: var(--ink); border-bottom: 2px solid var(--ink); }
.amount-entry:focus-within { border-color: var(--focus); outline: 2px solid var(--focus); outline-offset: 1px; border-radius: .2rem; }
.amount-entry #amount:focus-visible { outline: none; }
.amount-entry input#amount { flex: 1; width: 100%; min-width: 0; min-height: 3rem; border: 0; padding: 0; background: transparent; appearance: textfield; font: 620 clamp(2rem, 4vw, 3.45rem)/1.3 var(--display); font-variant-numeric: tabular-nums; }
.amount-entry input::-webkit-inner-spin-button { appearance: none; }
.amount-entry span { font: 540 clamp(1.6rem, 3vw, 2.6rem)/1 var(--display); }
.amount-presets, .device-choices { display: flex; flex-wrap: wrap; gap: .45rem; }
.amount-presets { margin-top: .8rem; }
.amount-presets[hidden] { display: none; }
.amount-presets button, .device-choices label > span { display: inline-grid; place-items: center; min-width: 3rem; min-height: 2.75rem; padding: .4rem .85rem; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--sheet); border: 1px solid #817d91; border-radius: .32rem; }
.amount-presets button[aria-pressed=true] { background: var(--gold); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.device-field { padding: 0; border: 0; min-width: 0; margin-inline: 0; }
.device-field legend { padding: 0; margin-bottom: .45rem; font-weight: 650; }
.device-choices label { position: relative; cursor: pointer; }
.device-choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.device-choices input:checked + span { background: var(--ink); color: var(--sheet); border-color: var(--ink); box-shadow: inset 0 -3px var(--gold); }
.device-choices input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.device-choices input:disabled + span { opacity: .55; cursor: not-allowed; text-decoration: line-through; }
.payment-form button[type=submit] { width: 100%; display: flex; justify-content: space-between; }
.payment-form[aria-busy=true] button[type=submit] { cursor: progress; }
@media (max-width: 47rem) {
  #topup { border-inline-start: 0; border-top: 2px dashed var(--rule); }
  .wallet-scenery { position: absolute; z-index: -1; inset: 0 0 1.8rem 48%; min-height: 0; opacity: .65; mask-image: linear-gradient(90deg, transparent, #000 78%); }
}
@media (prefers-reduced-motion: no-preference) {
  .amount-presets button, .device-choices label > span { transition: background-color .14s, color .14s; }
}
@media (forced-colors: active) {
  .device-choices input:checked + span, .amount-presets button[aria-pressed=true] { outline: 2px solid Highlight; outline-offset: -4px; }
}

@media (max-width: 27rem) {
  .amount-presets:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The first screen pairs a destination poster with a working fare ticket. */
body:has(.departure) .site-header { background: #18162e; color: #fff8ec; border-bottom: 1px solid #ffffff24; }
body:has(.departure) .site-header .nav-action { color: inherit; border-color: #a39bb2; border-radius: 3rem; }
body:has(.departure) .mobile-menu nav { color: var(--ink); }
.departure { background: radial-gradient(ellipse at 85% 30%, #534057 0, #332941 30%, transparent 63%), #18162e; }
.departure::before, .departure::after { opacity: .5; }
.departure .hero { padding-block: clamp(3rem,6vw,6rem); grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); }
.departure .hero-copy > h1 { font-size: clamp(2.6rem,12.3cqi,6.8rem); line-height: 1.03; letter-spacing: -.06em; margin-bottom: 1.45rem; }
.departure .hero-copy > h1 span { color: #ffd177; }
.departure .hero-description { max-width: 32rem; line-height: 1.55; font-weight: 440; }
.departure .actions { margin-top: 1.2rem; }
.custom-link { display: inline-flex; gap: .9rem; align-items: center; min-height: 44px; font-weight: 650; color: #ffdc94; }
.custom-link span { text-decoration: none; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; padding: 1.1rem 0 0; list-style: none; color: #dad3e0; font-size: .88rem; }
.hero-facts li::before { content: ''; display: inline-block; margin-right: .5rem; width: .42rem; height: .42rem; border: 1px solid var(--gold); border-radius: 50%; vertical-align: .1rem; }
.departure .hero-visual { padding: 0; }
.departure-pass { position: relative; border-radius: 1rem; overflow: hidden; border: 1px solid #ffdfab66; color: #211c38; background: var(--sheet); box-shadow: 0 1.75rem 4rem -1rem #0c0a2580; }
.departure-pass .rail-scene { aspect-ratio: 3.65; }
.departure-pass .rail-scene img { object-fit: cover; object-position: center 47%; }
.departure-selector, .fare-slip { padding-inline: clamp(1rem,2.4vw,1.85rem); }
.departure-selector { margin: 1.1rem 0 .85rem; }
.departure-selector > span { font-size: .83rem; font-weight: 650; }
.fare-keys { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(var(--fare-count,4),minmax(0,1fr)); gap: .25rem; padding: .25rem; margin-top: .45rem; border-radius: .65rem; background: #ebe5d8; }
.fare-keys button { min-height: 2.75rem; border: 0; border-radius: .45rem; background: transparent; font-weight: 700; font-variant-numeric: tabular-nums; }
.fare-keys::before { content: ''; position: absolute; z-index: -1; inset-block: .25rem; left: .25rem; width: calc((100% - .25rem) / var(--fare-count,4) - .25rem); border-radius: .45rem; background: var(--ink); transform: translateX(calc(var(--fare-index,0) * (100% + .25rem))); }
.fare-keys button[aria-pressed=true] { color: var(--sheet); }
.fare-slip { position: relative; padding-block: .95rem 1.25rem; border-top: 1px dashed #a39b87; }
.fare-slip::before, .fare-slip::after { content: ''; position: absolute; top: -.42rem; width: .8rem; height: .8rem; border-radius: 100%; background: #332941; }
.fare-slip::before { left: -.43rem; }
.fare-slip::after { right: -.43rem; }
.fare-summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.fare-summary small, .fare-summary strong { display: block; }
.fare-summary small { color: var(--muted); font-size: .8rem; }
.fare-summary strong { font-size: .99rem; }
.fare-summary b { font: 640 clamp(1.55rem,3vw,3rem)/1.22 var(--display); letter-spacing: -.06em; white-space: nowrap; }
.board-button { display: flex; justify-content: space-between; align-items: center; min-height: 3rem; padding: .6rem 1rem; margin-top: .9rem; border-radius: .55rem; background: var(--gold); color: #241e42; font-weight: 730; text-decoration: none; }
.board-button span { font-size: 1.35rem; line-height: 1; }
.sale-paused { margin-top: .9rem; color: var(--muted); }
.departure-pass :focus-visible { outline-color: var(--focus); outline-offset: -3px; }
.plans .schedule { background: var(--sheet); border: 1px solid var(--rule); border-radius: .8rem; padding-inline: clamp(.85rem,2.5vw,2rem); }
.plans .schedule-head { color: #51495e; }
.plans .schedule-row:last-child { border-bottom: 0; }
.purchase .purchase-preview { background: #fff8e6; border: 1px solid #c9b784; border-top: 3px solid var(--ink); border-radius: .5rem; }
.purchase .quote-price strong { font-size: clamp(1.65rem,3vw,2.6rem); line-height: 1.2; }
.purchase .builder-result { min-height: 5.5rem; }
@media (hover: hover) {
  .board-button:hover { background: #ffd576; }
  .fare-keys button:not([aria-pressed=true]):hover { background: #fffcf4; }
}
@media (prefers-reduced-motion: no-preference) {
  .fare-keys button { transition: color .13s, background-color .13s; }
}
@media (max-width: 47rem) {
  .departure .hero { grid-template-columns: minmax(0,1fr); gap: 1.2rem; padding-block: 1.7rem 2.1rem; }
  .departure .hero-copy > h1 { font-size: clamp(2rem,11cqi,4rem); margin-bottom: .72rem; }
  .departure .hero-description { font-size: 1rem; }
  .departure .actions { margin-top: .35rem; }
  .hero-facts { padding-top: .25rem; }
  .departure-selector { margin-block: .7rem; }
  .departure-pass .rail-scene { aspect-ratio: 4.1; }
  .fare-slip { padding-block: .8rem 1rem; }
}

.builder-result[aria-busy=true] { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .fare-keys::before { transition: transform .24s cubic-bezier(.2,.8,.22,1); }
}
@media (forced-colors: active) {
  .fare-keys button[aria-pressed=true] { outline: 2px solid Highlight; outline-offset: -3px; }
}

/* Controls share the paper, ink and punched-ticket details of the fare card. */
.field input:not([type=hidden]), .field select, .tariff-filter select {
  min-height: 3rem; font-size: max(1rem, 16px); border-radius: .55rem;
  border-color: #898193; background-color: #fffdf6; caret-color: var(--ink);
}
.field input:read-only { color: #494255; background-color: #f2efe8; }
.field select, .tariff-filter select {
  appearance: none; cursor: pointer; color: var(--ink); padding-inline: .85rem 2.6rem;
  background-image: linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
  background-position: right 1.07rem center, right .74rem center;
  background-size: .35rem .35rem; background-repeat: no-repeat;
}
.field :is(input,select):focus-visible, .tariff-filter select:focus-visible,
.checkline input:focus-visible, #pack-volume:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 2px;
}
.field select:disabled { opacity: .7; cursor: not-allowed; }
.field input[aria-invalid=true], .amount-entry:has([aria-invalid=true]) { border-color: #9b3d2a; }
.amount-entry {
  align-items: center; border: 1px solid #898193; border-bottom: 2px solid var(--ink);
  border-radius: .65rem; padding: .25rem .85rem; background: #fffdf6;
}
.amount-entry:focus-within { border-radius: .65rem; outline-offset: 2px; }
#topup .amount-entry #amount { outline: none; background: transparent; }
.amount-entry > span { color: #6f6172; }
#pack-gb { font-variant-numeric: tabular-nums; font-weight: 650; padding-inline: .85rem; }
#pack-volume { appearance: none; background: transparent; display: block; }
#pack-volume::-webkit-slider-runnable-track {
  height: .4rem; border-radius: 1rem;
  background: linear-gradient(to right,var(--ink) var(--progress,0%),#c9c3b9 var(--progress,0%));
}
#pack-volume::-webkit-slider-thumb {
  appearance: none; width: 1.5rem; height: 1.5rem; margin-top: -.55rem;
  border-radius: 50%; border: .28rem solid var(--ink); background: var(--gold);
}
#pack-volume::-moz-range-track { height: .4rem; border-radius: 1rem; background: #c9c3b9; }
#pack-volume::-moz-range-progress { height: .4rem; border-radius: 1rem; background: var(--ink); }
#pack-volume::-moz-range-thumb { box-sizing: border-box; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: .28rem solid var(--ink); background: var(--gold); }
.checkline input {
  appearance: none; display: grid; place-items: center; flex: none; width: 1.35rem; height: 1.35rem;
  border: 1px solid #81798b; border-radius: .32rem; background: #fffdf6; cursor: pointer;
}
.checkline input:checked { background: var(--ink); border-color: var(--ink); }
.checkline input:checked::after {
  content: ''; width: .67rem; height: .37rem; margin-top: -.16rem; border: solid var(--gold);
  border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.amount-presets button, .device-choices label > span { border-radius: .55rem; }
.balance, .fare-summary b, [data-price-text], [data-projected-amount], .entry-amount, .wallet-entry b {
  font-variant-numeric: tabular-nums; font-kerning: none; font-variant-ligatures: none;
}
.wallet-entry { margin-top: 1.4rem; border-top: 1px solid #ffffff4d; padding-top: .75rem; }
.wallet-entry small { color: #e0dae4; }
.wallet-entry > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .65rem; }
.wallet-entry b { color: var(--gold); white-space: nowrap; }
.wallet-entry div span { font-size: .9rem; }
.entry-amount.incoming { color: #22603e; }
.invoice-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem .8rem; margin-top: 1rem; padding: .7rem .85rem; border-inline-start: 3px solid #8a7439; background: #f6eed9; font-size: .9rem; }
.invoice-line[data-status=confirmed] { background: #e5efe6; border-color: #336447; }
.invoice-line strong { font-weight: 680; }
.payment-validation { color: #923825; }
.payment-validation:empty { display: none; }
.purchase-form .button, .payment-form .button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.button :is([data-buy-caption],[data-payment-label]) { font: inherit; }
:is(.payment-form,.purchase-form)[aria-busy=true] button[type=submit] { background: var(--ink); color: var(--sheet); cursor: progress; }
:is(.payment-form,.purchase-form)[aria-busy=true] .payment-arrow {
  font-size: 0; flex: none; width: 1rem; height: 1rem; border-radius: 50%;
  border: 2px solid #ffffff55; border-top-color: var(--gold);
}
@media (prefers-reduced-motion: no-preference) {
  :is(.payment-form,.purchase-form)[aria-busy=true] .payment-arrow { animation: processing .9s linear infinite; }
  @keyframes processing { to { transform: rotate(360deg); } }
  .wallet-pass[data-direction] .wallet-entry { animation: ledger-confirmed .8s ease-out; }
  @keyframes ledger-confirmed { from { border-color: var(--gold); } }
}
@media (max-width: 47rem) {
  .wallet-pass:has(.wallet-entry) .wallet-scenery { opacity: .25; }
}
@media (forced-colors: active) {
  .field select, .tariff-filter select, #pack-volume, .checkline input { appearance: auto; }
  .checkline input::after { display: none; }
}

[data-price-text], [data-projected-amount] { white-space: nowrap; }
.digit-slot, .digit-in { position: relative; }
.digit-out { position: absolute; inset-inline-start: 0; pointer-events: none; }
.digit-out::before { content: attr(data-glyph); }
@media (prefers-reduced-motion: no-preference) {
  .digit-in { animation: numeral-in .27s cubic-bezier(.2,.7,.2,1) both; }
  .digit-out { animation: numeral-out .19s ease-in both; }
  @keyframes numeral-in { from { top: .36em; opacity: 0; } to { top: 0; opacity: 1; } }
  @keyframes numeral-out { from { transform: translateY(0); opacity: .95; } to { transform: translateY(-.36em); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .digit-out { display: none; } }
