/* Toverland Strippenkaarten — gedeelde stijllaag voor checkout (Django) en kaartpagina (Vue).
   Eén bron voor kleur, typografie en componenten. Geen ontwerptokens in JavaScript. */

:root {
  --tl-blue: #092F87;
  --tl-blue-dark: #0B2C8A;
  --tl-coral: #EE5340;
  --tl-coral-cta: #F26254;
  --tl-teal: #00A99D;
  --tl-teal-dark: #00857B;
  --tl-teal-bg: #EAF7F5;
  --tl-teal-border: #BEE6E1;
  --tl-gold: #ae9a64;
  --tl-amber: #9A5A12;
  --tl-amber-bg: #FFF4E8;
  --tl-amber-border: #F7D9B5;
  --tl-ink: #1b2233;
  --tl-text: #4a5468;
  --tl-muted: #667085;
  --tl-line: #E7ECF4;
  --tl-line-soft: #F0F3F8;
  --tl-field: #d9dfe9;
  --tl-surface: #ffffff;
  --tl-surface-alt: #F8FAFD;
  --tl-radius-card: 16px 0 16px 0;
  --tl-radius: 12px;
  --tl-shadow-card: 0 1px 2px rgba(9, 47, 135, .04);
  --tl-shadow-panel: 0 8px 30px rgba(9, 47, 135, .08);
  --tl-font: 'Ubuntu', system-ui, sans-serif;
  --tl-font-display: 'Publico Text', 'Publico', 'Source Serif 4', Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--tl-font);
  background: var(--tl-surface);
  color: var(--tl-blue);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--tl-coral); text-decoration: none; }
a:hover { color: var(--tl-blue); }
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

/* ---------- layout ---------- */
.tl-page { min-height: 100vh; display: flex; flex-direction: column; }
.tl-main { flex: 1; width: 100%; }
.tl-container { max-width: 1180px; margin: 0 auto; padding: 18px 24px 48px; }
.tl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.tl-grid > * { min-width: 0; }
.tl-grid--single { display: block; }

/* ---------- hero ---------- */
.tl-hero { position: relative; overflow: hidden; background: var(--tl-blue-dark); }
.tl-hero > img { display: block; width: 100%; height: auto; }
.tl-hero__scrim { position: absolute; inset: 0 0 auto 0; height: 130px;
  background: linear-gradient(180deg, rgba(11, 44, 138, .78) 0%, rgba(11, 44, 138, 0) 100%); }
.tl-hero__lockup { position: absolute; top: 24px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 18px; padding: 0 16px; }

/* ---------- typografie ---------- */
.tl-h1 { margin: 0 0 14px; font-size: 40px; line-height: 1.05; font-weight: 700; color: var(--tl-blue); }
.tl-h2 { margin: 0; font-size: 22px; font-weight: 700; color: var(--tl-blue); }
.tl-h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--tl-blue); }
.tl-display { font-family: var(--tl-font-display); font-size: 18px; font-weight: 600; color: var(--tl-blue); }
.tl-lead { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: var(--tl-text); max-width: 640px; }
.tl-lead:last-of-type { margin-bottom: 28px; }
.tl-note { font-size: 14px; color: var(--tl-muted); }
.tl-label { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--tl-muted); }

/* ---------- sectiekop met icoon ---------- */
.tl-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tl-section-head__icon { flex: none; width: 44px; height: 44px; border-radius: var(--tl-radius);
  display: flex; align-items: center; justify-content: center; background: var(--tl-coral); }
.tl-section-head__icon--blue { background: var(--tl-blue); }

/* ---------- kaart ---------- */
.tl-card { background: var(--tl-surface); border: 1px solid var(--tl-line);
  border-radius: var(--tl-radius-card); padding: 20px 22px; box-shadow: var(--tl-shadow-card); }
.tl-card--tight { padding: 16px 18px; }

/* ---------- stappenbalk ---------- */
.tl-steps { display: flex; align-items: stretch; height: 48px; margin-bottom: 26px;
  border: 1px solid var(--tl-line); background: var(--tl-surface);
  box-shadow: var(--tl-shadow-card); overflow: hidden; }
.tl-steps__item { flex: 1; display: flex; align-items: center; padding: 0 20px; border: 0;
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--tl-muted);
  background: var(--tl-surface); white-space: nowrap; cursor: pointer; opacity: 1; }
.tl-steps__item + .tl-steps__item { border-left: 1px solid var(--tl-line); }
.tl-steps__item:hover:not(:disabled) { filter: brightness(.97); }
.tl-steps__item[aria-current="step"] { background: #EAF0FF; color: var(--tl-blue); font-weight: 700; }
.tl-steps__item:disabled { cursor: default; }
.tl-steps__number { display: none; }

/* ---------- kaartrij (strippenkaart in de bestelling) ---------- */
.tl-pass__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tl-pass__id { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--tl-blue);
  color: #fff; font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.tl-pass__name { width: 100%; max-width: 170px; border: 0; border-bottom: 1px dashed #cbd3e0;
  background: none; padding: 1px 2px 3px; font-family: inherit; font-size: 16px; font-weight: 700;
  color: var(--tl-blue); outline: none; }
.tl-pass__name:hover { border-bottom-color: var(--tl-coral); }
.tl-pass__name:focus { border-bottom-style: solid; border-bottom-color: var(--tl-coral); }
.tl-pass__body { display: flex; flex-wrap: wrap; align-items: flex-start;
  justify-content: space-between; gap: 22px 16px; }

/* ---------- stepper ---------- */
.tl-stepper { display: inline-flex; align-items: center; border: 1px solid var(--tl-field);
  border-radius: var(--tl-radius); overflow: hidden; background: var(--tl-surface); }
.tl-stepper button { width: 42px; height: 42px; border: 0; background: var(--tl-surface);
  font-size: 22px; font-weight: 700; color: var(--tl-blue); cursor: pointer; line-height: 1; }
.tl-stepper button:hover:not(:disabled) { background: #EEF2FA; }
.tl-stepper button:disabled { color: #d0d6e0; cursor: not-allowed; }
.tl-stepper input { width: 58px; border: 0; outline: none; text-align: center;
  font-family: inherit; font-size: 18px; font-weight: 700; color: var(--tl-blue); padding: 8px 0; }

/* ---------- voorkeuzeknoppen ---------- */
.tl-chips { display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; }
.tl-chip { display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 96px; padding: 6px 11px; border: 1px solid var(--tl-field); border-radius: 14px;
  background: var(--tl-surface); color: var(--tl-blue); font-family: inherit; cursor: pointer; }
.tl-chip:hover { border-color: var(--tl-coral); }
.tl-chip__value { font-size: 15px; font-weight: 700; line-height: 1.1; }
.tl-chip__rate { font-size: 10px; font-weight: 500; line-height: 1.15; margin-top: 2px;
  white-space: nowrap; color: var(--tl-muted); }
.tl-chip--active { border-color: var(--tl-blue); background: var(--tl-blue); color: #fff; }
.tl-chip--active .tl-chip__rate { color: rgba(255, 255, 255, .75); }
.tl-chip--unlocks { border-color: var(--tl-teal); background: var(--tl-teal-bg); color: var(--tl-teal-dark); }
.tl-chip--unlocks .tl-chip__rate { color: var(--tl-teal-dark); }

/* ---------- knoppen ---------- */
.tl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px; border: 0; border-radius: 12px 0 12px 0; font-family: inherit;
  font-size: 16px; font-weight: 700; color: #fff; background: var(--tl-coral-cta); cursor: pointer;
  box-shadow: inset 0 0 0 4px var(--tl-coral-cta), inset 0 0 0 5px rgba(255, 255, 255, .6),
    0 6px 16px rgba(238, 83, 64, .28); }
.tl-btn:hover:not(:disabled) { color: #fff; filter: brightness(1.05); }
.tl-btn:disabled { background: #d8dce4; cursor: not-allowed;
  box-shadow: inset 0 0 0 4px #d8dce4, inset 0 0 0 5px rgba(255, 255, 255, .5); }
.tl-btn--block { width: 100%; }
.tl-btn--secondary { border: 1px solid var(--tl-field); background: #fff; color: var(--tl-blue);
  font-size: 13px; padding: 9px 13px; border-radius: 9px; box-shadow: none; }
.tl-btn--secondary:hover:not(:disabled) { color: var(--tl-blue); }
.tl-btn--danger { background: var(--tl-coral); font-size: 13px; padding: 8px 13px;
  border-radius: 9px; box-shadow: none; }
.tl-btn--link { border: 0; background: none; padding: 0; color: var(--tl-coral);
  font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: none; }
.tl-btn--link:hover { color: var(--tl-blue); }
.tl-btn-add { width: 100%; margin-top: 16px; padding: 14px; border: 2px dashed #c4cdde;
  background: var(--tl-surface-alt); border-radius: 14px; font-family: inherit; font-size: 15px;
  font-weight: 700; color: var(--tl-blue); cursor: pointer; }
.tl-btn-add:hover:not(:disabled) { border-color: var(--tl-coral); color: var(--tl-coral); background: #fff; }
.tl-btn-add:disabled { border-color: #e2e7f0; color: #bcc4d3; cursor: not-allowed; }
.tl-remove { border: 0; background: none; color: var(--tl-muted); font-family: inherit;
  font-size: 13px; font-weight: 500; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.tl-remove:hover { color: var(--tl-coral); background: #FDEEEB; }
.tl-confirm { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px;
  width: 100%; box-sizing: border-box; background: #FDEEEB; border: 1px solid #f7cfc7;
  border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; }
.tl-confirm__text { flex: 1; min-width: 140px; font-size: 13px; font-weight: 600; color: #8a2d1d; }
.tl-confirm .tl-btn { min-height: 40px; }

/* ---------- formulier ---------- */
.tl-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tl-field { display: block; }
.tl-field--full { grid-column: 1 / -1; }
.tl-field__label { display: block; font-size: 13px; font-weight: 700; color: var(--tl-blue); margin-bottom: 6px; }
.tl-input, .tl-select { width: 100%; border: 1px solid var(--tl-field); border-radius: 10px;
  padding: 11px 13px; font-family: inherit; font-size: 15px; color: var(--tl-blue);
  background: #fff; outline: none; }
.tl-input:focus, .tl-select:focus { border-color: var(--tl-coral); }
.tl-input[aria-invalid="true"] { border-color: var(--tl-coral); }
.tl-error { display: block; font-size: 12px; color: var(--tl-coral); margin-top: 5px; }
.tl-suggest { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; border: 0;
  background: none; padding: 0; font-family: inherit; font-size: 12px; font-weight: 700;
  color: var(--tl-amber); cursor: pointer; }
.tl-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  font-size: 13px; line-height: 1.5; color: var(--tl-text); }
.tl-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--tl-coral); flex: none; }

/* ---------- betaalmethode ---------- */
.tl-pay { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: #fff; border: 2px solid var(--tl-line); border-radius: 14px; padding: 15px 16px;
  font-family: inherit; cursor: pointer; }
.tl-pay--selected, .tl-pay:has(input:checked) { background: #FDF3F1; border-color: var(--tl-coral); }
.tl-pay__mark { flex: none; width: 74px; height: 36px; border-radius: 8px; color: #fff; background: var(--tl-blue);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
  text-align: center; padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-pay__radio { flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #c3cad6; display: flex; align-items: center; justify-content: center; }
.tl-pay--selected .tl-pay__radio, .tl-pay:has(input:checked) .tl-pay__radio { border-color: var(--tl-coral); }
.tl-pay__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tl-coral); display: none; }
.tl-pay--selected .tl-pay__dot, .tl-pay:has(input:checked) .tl-pay__dot { display: block; }

/* ---------- taalkiezer ---------- */
.tl-langpicker { position: relative; margin-bottom: 28px; width: 100%; }
.tl-langpicker__disclosure { position: relative; }
.tl-langpicker__trigger { display: flex; width: 100%; align-items: center; justify-content: space-between;
  gap: 8px; background: var(--tl-surface); border: 1px solid var(--tl-line); border-radius: var(--tl-radius-card);
  height: 48px; box-sizing: border-box; padding: 0 22px; cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 14px rgba(9, 47, 135, .06); list-style: none; }
.tl-langpicker__trigger::-webkit-details-marker { display: none; }
.tl-langpicker__trigger::marker { content: ""; }
.tl-langpicker__trigger:hover { border-color: #c4cdde; }
.tl-langpicker__current { display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 15px; color: #6b7385; }
.tl-langpicker__chevron { flex: none; transition: transform .2s; }
.tl-langpicker__disclosure[open] .tl-langpicker__chevron { transform: rotate(180deg); }
.tl-langpicker__menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
  background: var(--tl-surface); border: 1px solid var(--tl-line); border-radius: var(--tl-radius);
  box-shadow: 0 12px 30px rgba(9, 47, 135, .16); overflow: hidden; padding: 4px; }
.tl-langpicker__option { display: flex; width: 100%; align-items: center; gap: 11px; padding: 9px 12px;
  border: 0; border-radius: 9px; cursor: pointer; font-family: inherit; text-align: left;
  background: transparent; font-weight: 700; font-size: 14px; color: #3a4256; }
.tl-langpicker__option:hover { background: #F5F7FB; }
.tl-langpicker__option--active { background: #F5F7FB; }
.tl-flag { display: inline-block; width: 22px; height: 22px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); flex: none; }
.tl-flag--lg { width: 26px; height: 26px; }
.tl-flag--nl { background: linear-gradient(#AE1C28 0 33.3%, #fff 33.3% 66.6%, #21468B 66.6% 100%); }
.tl-flag--de { background: linear-gradient(#000 0 33.3%, #DD0000 33.3% 66.6%, #FFCE00 66.6% 100%); }
.tl-flag--en { background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2030'%3E%3Crect%20width='60'%20height='30'%20fill='%23012169'/%3E%3Cpath%20d='M0,0%20L60,30%20M60,0%20L0,30'%20stroke='%23fff'%20stroke-width='6'/%3E%3Cpath%20d='M0,0%20L60,30'%20stroke='%23C8102E'%20stroke-width='4'/%3E%3Cpath%20d='M60,0%20L0,30'%20stroke='%23C8102E'%20stroke-width='4'/%3E%3Crect%20x='25'%20width='10'%20height='30'%20fill='%23fff'/%3E%3Crect%20y='10'%20width='60'%20height='10'%20fill='%23fff'/%3E%3Crect%20x='27'%20width='6'%20height='30'%20fill='%23C8102E'/%3E%3Crect%20y='12'%20width='60'%20height='6'%20fill='%23C8102E'/%3E%3C/svg%3E") center/cover no-repeat; }

/* ---------- zijbalk ---------- */
.tl-summary { position: sticky; top: 20px; }
.tl-summary__panel { background: var(--tl-surface); border: 1px solid var(--tl-line);
  border-radius: var(--tl-radius-card); box-shadow: var(--tl-shadow-panel); overflow: hidden; }
.tl-summary__head { background: var(--tl-blue); color: #fff; padding: 16px 20px; }
.tl-summary__body { padding: 18px 20px; }
.tl-summary__foot { border-top: 1px solid var(--tl-line); padding: 16px 20px; }
.tl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--tl-line-soft); }
.tl-row:last-child { border-bottom: 0; }
.tl-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.tl-total__amount { font-size: 26px; font-weight: 700; color: var(--tl-blue); }
.tl-tiers { display: flex; flex-direction: column; gap: 5px; }
.tl-tiers__row { display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--tl-muted); }
.tl-tiers__row--active { color: var(--tl-teal-dark); }

/* ---------- meldingen ---------- */
.tl-notice { display: flex; align-items: flex-start; gap: 12px; border-radius: var(--tl-radius);
  padding: 13px 16px; font-size: 14px; line-height: 1.55; }
.tl-notice--teal { background: var(--tl-teal-bg); border: 1px solid var(--tl-teal-border); color: #0B6B62; }
.tl-notice--amber { background: var(--tl-amber-bg); border: 1px solid var(--tl-amber-border);
  color: var(--tl-amber); align-items: center; font-weight: 500; }
.tl-notice--plain { background: var(--tl-surface-alt); border: 1px solid var(--tl-line); color: var(--tl-text); }

/* ---------- voettekst ---------- */
.tl-footer { background: var(--tl-blue-dark); color: #fff; margin-top: auto; }
.tl-footer__inner { max-width: 1180px; margin: 0 auto; padding: 36px 24px; }
.tl-footer a { color: rgba(255, 255, 255, .7); }
.tl-footer a:hover { color: #fff; }
.tl-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  font-size: 13px; color: rgba(255, 255, 255, .55); }
.tl-footer__legal > *:not(:first-child)::before { content: "•"; margin-right: 10px; color: rgba(255, 255, 255, .35); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tl-only-mobile { display: none; }

/* ---------- bevestiging: links delen ---------- */
.tl-open-link { display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-weight: 700; font-size: 13px; color: var(--tl-coral); text-decoration: none; }
.tl-open-link:hover { color: var(--tl-blue); }
.tl-open-btn { display: inline-flex; align-items: center; gap: 7px; flex: none;
  background: var(--tl-blue); color: #fff; border-radius: 9px; padding: 11px 16px;
  text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.tl-open-btn:hover { background: var(--tl-coral); color: #fff; }
.tl-copylink { display: inline-flex; align-items: center; gap: 7px; flex: none;
  border: 1px solid var(--tl-line); background: #fff; color: var(--tl-blue); font-family: inherit;
  font-weight: 700; font-size: 13px; padding: 9px 13px; border-radius: 9px; cursor: pointer; min-height: 40px; }
.tl-copylink:hover { border-color: #c4cdde; }
.tl-copyicon { display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--tl-line); background: #fff;
  color: var(--tl-blue); border-radius: 9px; cursor: pointer; }
.tl-copyicon:hover { border-color: #c4cdde; }
.tl-copylink.tl-copied, .tl-copyicon.tl-copied { border-color: var(--tl-teal-border);
  background: var(--tl-teal-bg); color: var(--tl-teal-dark); }

/* ---------- mobiel ---------- */
@media (max-width: 899px) {
  .tl-only-mobile { display: block; }
  .tl-only-desktop { display: none; }
  .tl-grid { display: block; padding-bottom: 96px; }
  .tl-footer__inner { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .tl-summary { display: none; }
  .tl-form-grid { grid-template-columns: 1fr; }
  .tl-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tl-chip { min-width: 0; width: 100%; }
  .tl-h1 { font-size: 30px; }
  .tl-hero > img { height: 210px; object-fit: cover; object-position: center; }
  .tl-logo__wordmark { height: 38px; }
  .tl-logo__amulet { height: 42px; }
  .tl-steps__label { display: none; }
  .tl-steps__number { display: block; }
  .tl-steps__item[aria-current="step"] .tl-steps__label { display: block; }
  .tl-steps__item[aria-current="step"] .tl-steps__number { display: none; }
  .tl-steps__item:not([aria-current="step"]) { flex: none; width: 44px; justify-content: center; padding: 0; }
  .tl-bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #fff; border-top: 1px solid var(--tl-line); box-shadow: 0 -6px 24px rgba(9, 47, 135, .1); }
  .tl-bottombar__inner { max-width: 1180px; margin: 0 auto; padding: 12px 18px;
    display: flex; align-items: center; gap: 14px; }
  .tl-bottombar__disclosure { flex: none; }
  .tl-bottombar__summary { cursor: pointer; list-style: none; }
  .tl-bottombar__summary::-webkit-details-marker { display: none; }
  .tl-bottombar__summary::marker { content: ""; }
  .tl-bottombar__toggle-icon::before { content: "▴"; }
  .tl-bottombar__disclosure[open] .tl-bottombar__toggle-icon::before { content: "▾"; }
  .tl-bottombar__sheet { position: absolute; left: 0; right: 0; bottom: 100%;
    background: #fff; max-height: 55vh; overflow: auto;
    border-top: 1px solid var(--tl-line); box-shadow: 0 -8px 30px rgba(9, 47, 135, .12); }
  .tl-bottombar__sheet-inner { max-width: 1180px; margin: 0 auto; padding: 16px 18px; }
  .tl-bottombar__sheet-head { display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 10px; }
  .tl-bottombar__close { border: 0; background: none; padding: 4px; margin: -4px;
    font-size: 18px; line-height: 1; color: var(--tl-muted); cursor: pointer; }
  .tl-bottombar__close:hover { color: var(--tl-coral); }
}
@media (min-width: 900px) {
  .tl-bottombar { display: none; }
}


/* ==========================================================================
   Kaartpagina (Vue) — dezelfde variabelen, eigen componenten.
   Klassenamen met .tlc- zodat ze niet botsen met de checkout.
   ========================================================================== */

.tlc-app { max-width: 460px; margin: 0 auto; padding: 16px 16px 40px;
  display: flex; flex-direction: column; gap: 14px; }

/* ---------- kop ---------- */
.tlc-topbar { display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--tl-blue-dark); }
.tlc-topbar__lang { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: #fff; font-family: inherit;
  font-size: 13px; font-weight: 700; cursor: pointer; }

/* ---------- de kaart zelf ---------- */
.tlc-card { background: var(--tl-surface); border-radius: var(--tl-radius-card);
  box-shadow: 0 6px 24px rgba(9, 47, 135, .09); overflow: hidden; }
.tlc-card__head { display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 18px 20px; background: var(--tl-blue); }
.tlc-card__eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: #96A9DA; }
.tlc-card__name { font-size: 22px; font-weight: 700; line-height: 28px; color: #fff;
  margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tlc-card__number { font-size: 18px; font-weight: 700; line-height: 28px; color: var(--tl-gold);
  margin-top: 2px; font-variant-numeric: tabular-nums; }
.tlc-card__body { display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 24px 20px 20px; }

/* naam wijzigen, in de blauwe kop */
.tlc-rename { display: flex; align-items: center; gap: 7px; }
.tlc-rename input { flex: 1; min-width: 0; border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .14); border-radius: 10px; padding: 7px 10px;
  font-family: inherit; font-size: 17px; font-weight: 700; color: #fff; outline: none; }
.tlc-rename input:focus { border-color: var(--tl-gold); }
.tlc-rename__save { width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: var(--tl-gold); cursor: pointer; }
.tlc-rename__cancel { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px; background: none; cursor: pointer; }

/* ---------- saldo ---------- */
.tlc-balance { display: flex; align-items: baseline; gap: 8px; }
.tlc-balance__count { font-size: 58px; font-weight: 700; line-height: 1; color: var(--tl-blue);
  font-variant-numeric: tabular-nums; }
.tlc-balance__count--empty { color: var(--tl-coral); }
.tlc-balance__unit { font-size: 16px; font-weight: 700; color: var(--tl-text); }
/* Puls bij elke saldowijziging — ook bij een bijkoop die via de scanapp binnenkomt. */
@keyframes tlc-pop { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
.tlc-balance__count--changed { animation: tlc-pop .45s ease; }
.tlc-stale { font-size: 12px; color: #98a2b3; }

/* ---------- QR ---------- */
.tlc-qr { position: relative; border: 1px solid var(--tl-line); border-radius: 18px;
  padding: 14px; background: #fff; cursor: pointer; }
.tlc-qr:hover { box-shadow: 0 8px 22px rgba(9, 47, 135, .12); }
.tlc-qr__badge { position: absolute; top: 8px; right: 8px; background: #B8720A; color: #fff;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 3px 7px; border-radius: 6px; }
.tlc-qr__caption { font-size: 12px; color: var(--tl-muted); text-align: center; }
/* Volledig scherm bij de attractie: helderheid maximaal, geen andere elementen. */
.tlc-scanmode { position: fixed; inset: 0; z-index: 60; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }

/* ---------- kaartkiezer bij meerdere kaarten ---------- */
.tlc-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.tlc-tab { flex: none; min-width: 118px; min-height: 56px; display: flex; flex-direction: column;
  align-items: flex-start; gap: 3px; padding: 10px 13px; border: 1px solid var(--tl-line);
  border-radius: var(--tl-radius); background: #fff; font-family: inherit; text-align: left; cursor: pointer; }
.tlc-tab--active { border: 1.5px solid var(--tl-blue); background: #EEF2FB; }
.tlc-tab__name { font-size: 14px; font-weight: 700; color: var(--tl-blue); white-space: nowrap; }
.tlc-tab__meta { font-size: 12px; font-weight: 500; color: var(--tl-muted); }
.tlc-tab__meta--low { color: var(--tl-amber); }

/* ---------- acties ---------- */
.tlc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tlc-action { display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 14px 10px; border: 1px solid var(--tl-line);
  border-radius: var(--tl-radius-card); background: #fff; color: var(--tl-blue);
  font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.tlc-action:hover:not(:disabled) { border-color: var(--tl-blue); }
.tlc-action:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- meldingen op de kaart ---------- */
.tlc-banner { display: flex; align-items: center; gap: 11px; padding: 12px 10px 12px 14px;
  background: #fff; border: 1px solid var(--tl-line); border-left: 4px solid var(--tl-teal);
  border-radius: 14px; box-shadow: 0 2px 10px rgba(9, 47, 135, .05); }
.tlc-banner--received { border-left-color: var(--tl-gold); border-color: var(--tl-line); }
.tlc-banner__title { font-size: 14px; font-weight: 700; color: var(--tl-blue); }
.tlc-banner__text { font-size: 13px; color: var(--tl-text); margin-top: 1px; }
.tlc-banner__close { flex: none; width: 44px; height: 44px; border: 0; background: none;
  border-radius: var(--tl-radius); cursor: pointer; }

/* ---------- modals (delen, bijkopen, geschiedenis) ---------- */
.tlc-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(9, 47, 135, .32); }
.tlc-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; margin: 0 auto;
  width: 100%; max-width: 460px; max-height: 82vh; display: flex; flex-direction: column;
  background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -10px 40px rgba(9, 47, 135, .22); }
.tlc-sheet__head { display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--tl-line-soft); }
.tlc-sheet__body { overflow: auto; padding: 18px 20px 24px; }
.tlc-sheet__close { flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--tl-radius);
  background: #F4F7FB; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ---------- geschiedenis ---------- */
.tlc-day { margin-bottom: 18px; }
.tlc-day__head { display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; margin-bottom: 8px; }
.tlc-day__label { font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--tl-muted); }
.tlc-entry { display: flex; align-items: center; gap: 11px; padding: 10px 0;
  border-bottom: 1px solid var(--tl-line-soft); }
.tlc-entry__icon { flex: none; width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.tlc-entry__name { font-size: 14px; font-weight: 700; color: var(--tl-blue); }
.tlc-entry__time { font-size: 12px; color: var(--tl-muted); }
.tlc-entry__cost { flex: none; font-size: 13px; font-weight: 700; border-radius: 999px;
  padding: 4px 10px; white-space: nowrap; color: var(--tl-blue); background: #EEF2FB; }
.tlc-entry__cost--plus { color: var(--tl-teal-dark); background: var(--tl-teal-bg); }
.tlc-entry__cost--pending { color: var(--tl-amber); background: var(--tl-amber-bg); }
.tlc-entry__cost--expired { color: #7d8698; background: #F1F4F9; }

/* ---------- offline ---------- */
.tlc-offline { display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px;
  background: #fff; border: 1px solid var(--tl-line); border-radius: 14px;
  box-shadow: 0 4px 14px rgba(9, 47, 135, .06); font-size: 13px; line-height: 1.55; color: var(--tl-text); }
