/* ==========================================================
   teeket.id — design foundation
   One file: tokens, base, components, page sections. Mobile first.
   Every class has the prefix tk- so it cannot collide with Bootstrap in Odoo.
   State classes (is-off, is-on) have no prefix.
   ========================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --navy: #12205a;
  --navy-700: #1c2e78;
  --navy-900: #0b1540;
  --orange: #f5781e;
  --orange-600: #b4500a; /* orange for text and icons on white. 5.1:1 */
  --orange-100: #ffe9d6;

  /* Neutrals. The page is white. Tint is a cool wash of the navy. */
  --paper: #ffffff;
  --tint: #f2f4fb;
  --tint-2: #e4e8f5;
  --card: #ffffff;
  --ink: #12205a;
  --ink-2: #4a5379;
  --ink-3: #5d6588;
  --line: #d9deee;

  /* Status */
  --ok: #17794b;
  --ok-bg: #dcf3e6;
  --warn: #9a4b00;
  --warn-bg: #ffe9d6;
  --off: #5d6277;
  --off-bg: #e6e3dc;

  /* Type */
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  /* Shape and space */
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --gut: clamp(16px, 4vw, 40px);
  --notch: 11px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* --page: the colour behind a ticket card (the notches use it).
     --stub: the colour of the ticket stub. On white the stub is tinted; on a tinted band it is white. */
  --page: var(--paper);
  --stub: var(--tint);
}

/* ---------- 2. Base ----------
   Every rule is inside the .tk root. :where() keeps the specificity at zero,
   so a component class always wins over a base rule. */
:where(.tk), :where(.tk) *, :where(.tk) *::before, :where(.tk) *::after { box-sizing: border-box; }
.tk { background: var(--paper); color: var(--ink); font: 500 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
:where(.tk) img, :where(.tk) svg { display: block; max-width: 100%; height: auto; }
:where(.tk) a { color: inherit; }
:where(.tk) :is(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
:where(.tk) :is(ul, ol) { list-style: none; }
:where(.tk) :is(button, input, select) { font: inherit; color: inherit; }
.tk :focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 6px; }
.tk-org :focus-visible, .tk-special :focus-visible, .tk-util :focus-visible { outline-color: #fff; }
:where(.tk) [id] { scroll-margin-top: 96px; } /* the sticky header must not cover an anchor target */
.tk ::selection { background: var(--orange); color: var(--navy-900); }
.tk [hidden] { display: none !important; } /* a component's display rule must not show a hidden element */

.tk-wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.tk-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:where(.tk) h1, .tk-h1 { font: 800 clamp(2.1rem, 6vw, 4rem)/1.02 var(--font); letter-spacing: -.035em; text-wrap: balance; }
:where(.tk) h2, .tk-h2 { font: 800 clamp(1.5rem, 3.4vw, 2.3rem)/1.1 var(--font); letter-spacing: -.03em; text-wrap: balance; }
:where(.tk) h3, .tk-h3 { font: 800 1.08rem/1.25 var(--font); letter-spacing: -.015em; }
.tk-eyebrow { font: 800 .72rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); }
.tk-lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.tk-muted { color: var(--ink-2); }

/* ---------- 3. Components ---------- */

/* Button. Primary is navy: white text on orange does not reach AA contrast. */
.tk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.35em;
  border: 2px solid var(--navy); border-radius: 999px;
  background: var(--navy); color: #fff;
  font: 800 .95rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .18s, transform .18s var(--ease), box-shadow .18s;
}
.tk-btn:hover { background: var(--navy-700); border-color: var(--navy-700); transform: translateY(-1px); }
.tk-btn:active { transform: none; }
.tk-btn--accent { background: var(--orange); border-color: var(--orange); color: var(--navy-900); }
.tk-btn--accent:hover { background: #ff8a35; border-color: #ff8a35; }
.tk-btn--ghost { background: transparent; color: var(--navy); }
.tk-btn--ghost:hover { background: var(--navy); color: #fff; }
.tk-btn--sm { min-height: 44px; padding: 0 1.05em; font-size: .86rem; }
.tk-btn--ghost-light { background: transparent; border-color: #fff; color: #fff; }
.tk-btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.tk-btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.tk-btn--light:hover { background: var(--orange-100); border-color: var(--orange-100); }

/* Chip (filter) */
.tk-chip {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 1.05em; flex: none;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--card);
  font: 700 .88rem/1 var(--font); color: var(--ink); cursor: pointer; white-space: nowrap;
  transition: border-color .15s, background .15s, color .15s;
}
.tk-chip:hover { border-color: var(--navy); }
.tk-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Labels. No pastel pills and no status dots.
   .tag    = a small printed ticket with two punch notches. Used on posters (category) and for urgency.
   .status = plain coloured text in the card footer. */
.tk-badge { display: inline-flex; align-items: center; font: 800 .8rem/1.2 var(--font); letter-spacing: -.005em; white-space: nowrap; }
.tk-badge--ok { color: var(--ok); }
.tk-badge--off { color: var(--off); }
.tk-badge--warn, .tk-badge--plain {
  padding: .5em .95em; border-radius: 4px;
  font-size: .66rem; line-height: 1; letter-spacing: .09em; text-transform: uppercase;
  -webkit-mask: radial-gradient(circle .34em at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle .34em at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle .34em at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle .34em at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat;
}
.tk-badge--plain { background: var(--navy); color: #fff; }
.tk-badge--warn { background: var(--orange); color: var(--navy-900); }
.tk-badge--sample { padding: .42em .7em; border-radius: 4px; background: rgba(255, 255, 255, .94); color: var(--ink-2); border: 1px dashed var(--ink-3); font-size: .66rem; line-height: 1; letter-spacing: .09em; text-transform: uppercase; }

/* Field */
.tk-field { display: grid; gap: 6px; }
.tk-field > span { font: 800 .74rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.tk-input, .tk-select {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--card);
  font-weight: 600; transition: border-color .15s, box-shadow .15s;
}
.tk-input::placeholder { color: var(--ink-3); opacity: 1; }
.tk-input:focus, .tk-select:focus, .tk-search .tk-input:focus, .tk-search .tk-select:focus, .tk-top__search .tk-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18, 32, 90, .14); }

/* Ticket card (event). The brand shape: a ticket with two punch notches. */
.tk-ev {
  position: relative; display: flex; flex-direction: column;
  background: var(--stub); border-radius: var(--r); color: var(--ink); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s;
}
a.ev:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 18px 30px -18px rgba(18, 32, 90, .45); }
.tk-ev__poster { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r) var(--r) 0 0; background: var(--navy); }
.tk-ev__poster > img { width: 100%; height: 100%; object-fit: cover; }
.tk-ev__tags { position: absolute; inset: 10px 10px auto 10px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; }
.tk-ev__stub { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 16px 16px 16px; border-top: 2px dashed var(--page); }
.tk-ev__stub::before, .tk-ev__stub::after { /* punch notches */
  content: ""; position: absolute; top: calc(var(--notch) * -1 - 1px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2);
  border-radius: 50%; background: var(--page);
}
.tk-ev__stub::before { left: calc(var(--notch) * -1); }
.tk-ev__stub::after { right: calc(var(--notch) * -1); }
.tk-ev__date { grid-row: span 3; align-self: start; width: 52px; padding: 7px 0 6px; border-radius: 12px; background: var(--orange-100); text-align: center; }
.tk-ev__date b { display: block; font: 800 1.45rem/1 var(--font); letter-spacing: -.04em; }
.tk-ev__date span { font: 800 .64rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--warn); }
.tk-ev__title { font: 800 1.05rem/1.2 var(--font); letter-spacing: -.02em; }
.tk-ev__meta { font-size: .84rem; color: var(--ink-2); }
.tk-ev__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--tint-2); }
.tk-ev__price { font: 800 1rem/1 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-ev__price small { font: 600 .72rem var(--font); color: var(--ink-3); margin-right: .3em; }
.tk-ev.is-off .tk-ev__poster { filter: grayscale(1) opacity(.7); }


/* Section heading row */
.tk-sec { padding-block: clamp(40px, 7vw, 84px); }
.tk-sec__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(18px, 3vw, 30px); }
.tk-sec__head p { margin-top: 6px; }
.tk-link-arrow { display: inline-block; padding-block: 11px 9px; font: 800 .9rem var(--font); text-decoration: none; white-space: nowrap; background: linear-gradient(var(--orange), var(--orange)) 0 calc(100% - 6px) / 100% 2px no-repeat; }
.tk-link-arrow:hover { color: var(--orange-600); }

/* ---------- 4. Header ---------- */
.tk-top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.tk-top__in { display: flex; align-items: center; gap: 12px 22px; min-height: 64px; }
.tk-top__logo { margin-right: auto; flex: none; }
.tk-top__logo img { height: 34px; width: auto; }

/* ---------- 5. Home hero ---------- */
.tk-hero { padding-block: clamp(28px, 5vw, 64px) clamp(34px, 6vw, 72px); overflow: hidden; }
.tk-hero__grid { display: grid; gap: clamp(30px, 5vw, 64px); align-items: center; }
.tk-hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.tk-hero h1 em::after { /* torn-ticket underline */
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.08em; height: .2em; z-index: -1;
  background: var(--orange); border-radius: 4px; transform: rotate(-1.2deg);
}
.tk-hero .tk-lead { margin-top: 16px; }

.tk-search { margin-top: 26px; display: grid; gap: 8px; padding: 8px; background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; }
.tk-search .tk-input, .tk-search .tk-select { border-color: transparent; background: var(--tint); }
.tk-search .tk-btn { width: 100%; }
.tk-hero__pay { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; font: 700 .84rem var(--font); color: var(--ink-2); }
.tk-hero__pay li::before { content: "✓"; margin-right: .45em; color: var(--ok); font-weight: 800; }

/* Featured ticket */
.tk-feat { position: relative; justify-self: center; width: min(100%, 440px); margin-bottom: 18px; }
.tk-feat::before { /* orange ticket silhouette behind the card */
  content: ""; position: absolute; inset: 6% -7% -5% 7%; background: var(--orange); border-radius: var(--r-lg); transform: rotate(5deg);
}
.tk-feat .tk-ev__stub { border-top-color: var(--line); }
.tk-feat .tk-ev { transform: rotate(-2.2deg); box-shadow: 0 30px 50px -28px rgba(11, 21, 64, .6); }
.tk-feat a.ev:hover { transform: rotate(-.6deg) translateY(-4px); }
.tk-feat .tk-ev__poster { aspect-ratio: 1; }
.tk-feat .tk-ev__title { font-size: 1.3rem; }
.tk-feat__label { position: absolute; left: -6px; top: -14px; z-index: 3; transform: rotate(-6deg); padding: .55em .9em; border-radius: 999px; background: var(--navy); color: #fff; font: 800 .72rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- 6. Filters + grid ---------- */
.tk-filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gut) 10px; margin-inline: calc(var(--gut) * -1); scrollbar-width: none; }
.tk-filters::-webkit-scrollbar { display: none; }
.tk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(18px, 2.4vw, 28px); margin-top: 18px; }
.tk-grid__empty { grid-column: 1 / -1; padding: 40px 20px; border: 2px dashed var(--line); border-radius: var(--r); text-align: center; color: var(--ink-2); }

/* ---------- 7. Special partner band ---------- */
.tk-special { --page: #0b0a0c; background: #0b0a0c; color: #ebe6d8; border-radius: var(--r-lg); overflow: hidden; display: grid; }
.tk-special__art { aspect-ratio: 16 / 10; background: #0b0a0c center / cover; /* set the image with an inline style */ }
.tk-special__body { padding: clamp(22px, 4vw, 44px); display: grid; gap: 14px; align-content: center; }
.tk-special .tk-eyebrow { color: #b184cf; }
.tk-special h2 { color: #fff; }
.tk-special p { color: #b9b4a6; max-width: 30em; }
.tk-special__url { display: inline-flex; align-items: center; gap: .5em; width: fit-content; padding: .5em .85em; border: 1px solid #3a3640; border-radius: 999px; font: 700 .82rem/1 ui-monospace, Menlo, monospace; color: #ebe6d8; }
.tk-special__url::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: #7d4e97; }
.tk-special .tk-btn { width: fit-content; margin-top: 4px; }

/* ---------- 8. How it works ---------- */
.tk-steps { display: grid; gap: 14px; counter-reset: s; }
.tk-steps li { counter-increment: s; position: relative; padding: 22px 22px 22px 78px; background: var(--tint); border-radius: var(--r); }
.tk-steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--navy); color: #fff; font: 800 1.1rem var(--font); }
.tk-steps li:nth-child(2)::before { background: var(--orange); color: var(--navy-900); }
.tk-steps p { margin-top: 4px; font-size: .92rem; color: var(--ink-2); }

/* ---------- 9. Organizer band ---------- */
.tk-org { --page: var(--navy); background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.tk-org::before { content: ""; position: absolute; width: 200px; aspect-ratio: 1.6; right: -90px; top: -60px; background: var(--orange); border-radius: 40px; transform: rotate(-14deg); opacity: .95;
  -webkit-mask: radial-gradient(circle 34px at 0 50%, transparent 98%, #000); mask: radial-gradient(circle 34px at 0 50%, transparent 98%, #000); }
.tk-org .tk-wrap { position: relative; display: grid; gap: clamp(26px, 4vw, 48px); }
.tk-org .tk-eyebrow { color: #ffb37d; }
.tk-org .tk-lead { color: #c9cfea; margin-top: 12px; }
.tk-tiers { display: grid; gap: 14px; }
.tk-tier { padding: 22px; border-radius: var(--r); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); }
.tk-tier--hot { background: #fff; color: var(--navy); border-color: #fff; }
.tk-tier h3 { font-size: 1.2rem; }
.tk-tier p { margin-top: 6px; font-size: .92rem; color: #c9cfea; }
.tk-tier--hot p { color: var(--ink-2); }
.tk-tier ul { margin-top: 12px; display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.tk-tier li::before { content: "→"; margin-right: .5em; color: var(--orange); font-weight: 800; }
.tk-tier code { font: 700 .82rem ui-monospace, Menlo, monospace; }
.tk-org__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 10. Footer ---------- */
.tk-foot { padding-block: 48px 110px; background: var(--tint); }
.tk-foot__in { display: grid; gap: 30px; }
.tk-foot__logo img { height: 30px; width: auto; }

/* Note for reviewers. Remove the data-draft attribute on <html> to hide it. */
.tk-draft { display: none; }
[data-draft] .tk-draft { display: block; position: fixed; left: 10px; bottom: 76px; z-index: 60; padding: 6px 10px; border-radius: 8px; background: var(--navy-900); color: #fff; font: 700 .68rem/1.3 var(--font); }

/* ---------- 11. Larger screens ---------- */
@media (min-width: 640px) {
  .tk-search { grid-template-columns: 1.5fr 1fr auto; border-radius: 999px; }
  .tk-search .tk-input, .tk-search .tk-select { border-radius: 999px; }
  .tk-search .tk-btn { width: auto; }
  .tk-steps { grid-template-columns: repeat(3, 1fr); }
  .tk-steps li { padding: 78px 22px 22px; }
  .tk-tiers { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .tk-top__in { min-height: 72px; }
  .tk-top__logo img { height: 38px; }
  .tk-special { grid-template-columns: 1fr 1fr; }
  .tk-special__art { aspect-ratio: auto; min-height: 380px; }
  .tk-org .tk-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
  .tk-org::before { width: 520px; right: -160px; top: -90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.tk-ev[hidden] { display: none; }


/* ==========================================================
   12. Home page additions (after the competitor review)
   ========================================================== */
.tk-icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Tinted band. Cards inside use a white stub. */
.tk-band { --page: var(--tint); --stub: #fff; background: var(--tint); }

/* Utility bar (desktop only) */
.tk-util { display: none; background: var(--navy); color: #fff; font: 700 .78rem/1 var(--font); }
.tk-util .tk-wrap { display: flex; justify-content: flex-end; gap: 22px; padding-block: 9px; }
.tk-util a { text-decoration: none; opacity: .86; }
.tk-util a:hover { opacity: 1; text-decoration: underline; }

/* Header search (desktop only; the hero has the search on small screens) */
.tk-top__search { display: none; flex: 1 1 auto; max-width: 420px; position: relative; }
.tk-top__search .tk-input { min-height: 42px; padding-left: 40px; border-radius: 999px; background: var(--tint); border-color: transparent; }
.tk-top__search .tk-icon { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--ink-3); }
.tk-hero__pop { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font: 600 .84rem var(--font); color: var(--ink-2); }
.tk-hero__pop a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9em; border-radius: 999px; background: var(--tint); text-decoration: none; font-weight: 700; color: var(--ink); }
.tk-hero__pop a:hover { background: var(--orange-100); }

/* Category shortcuts */
.tk-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tk-cat { display: grid; justify-items: center; gap: 8px; padding: 16px 6px 14px; border-radius: var(--r); background: var(--tint); text-decoration: none; text-align: center; transition: background .18s, transform .18s var(--ease); }
.tk-cat:hover { background: var(--orange-100); transform: translateY(-3px); }
.tk-cat .tk-icon { width: 28px; height: 28px; color: var(--navy); }
.tk-cat b { font: 800 .82rem/1.15 var(--font); }
.tk-cat small { font: 600 .7rem var(--font); color: var(--ink-3); }

/* This week: date list */
.tk-agenda { display: grid; gap: clamp(20px, 4vw, 48px); align-items: start; }
.tk-agenda__list { border-top: 2px solid var(--navy); }
.tk-agenda__row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .15s; }
.tk-agenda__row:hover { background: #fff; }
.tk-agenda__d { text-align: center; }
.tk-agenda__d span { display: block; font: 800 .62rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); }
.tk-agenda__d b { display: block; font: 800 1.5rem/1.05 var(--font); letter-spacing: -.04em; }
.tk-agenda__t { font: 800 1rem/1.25 var(--font); letter-spacing: -.015em; }
.tk-agenda__m { font-size: .84rem; color: var(--ink-2); }
.tk-agenda__p { font: 800 .9rem var(--font); white-space: nowrap; text-align: right; }
.tk-agenda__p small { display: block; font: 600 .7rem var(--font); color: var(--ink-3); }

/* Horizontal row of cards */
.tk-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 290px); gap: 18px; overflow-x: auto; padding: 6px var(--gut) 18px; margin-inline: calc(var(--gut) * -1); scroll-snap-type: x proximity; scrollbar-width: none; }
.tk-rail::-webkit-scrollbar { display: none; }
.tk-rail > * { scroll-snap-align: start; }
.tk-hot { position: absolute; right: 16px; top: -12px; z-index: 2; rotate: 2deg; padding: .5em .95em; border-radius: 4px; background: var(--orange); color: var(--navy-900); font: 800 .66rem/1 var(--font); letter-spacing: .09em; text-transform: uppercase;
  -webkit-mask: radial-gradient(circle .34em at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle .34em at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle .34em at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle .34em at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat; }
.tk-ev__by { font-size: .78rem; color: var(--ink-3); }
.tk-ev__by b { color: var(--ink-2); font-weight: 700; }

/* City tiles */
.tk-cities { display: flex; flex-wrap: wrap; gap: 10px; }
.tk-cities a { display: inline-flex; align-items: baseline; gap: .5em; padding: .75em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 800 .95rem var(--font); text-decoration: none; transition: border-color .15s, background .15s; }
.tk-cities a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.tk-cities small { font: 600 .74rem var(--font); opacity: .65; }

/* Merchandise (design only for now) */
.tk-merch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tk-prod { display: grid; gap: 4px; text-decoration: none; }
.tk-prod__img { position: relative; aspect-ratio: 1; border-radius: var(--r); background: var(--c, var(--tint-2)); display: grid; place-items: center; margin-bottom: 6px; overflow: hidden; }
.tk-prod__img .tk-icon { width: 44%; height: 44%; stroke-width: 1.1; color: var(--i, var(--navy)); }
.tk-prod__img .tk-badge { position: absolute; top: 8px; right: 8px; }
.tk-prod b { font: 800 .92rem/1.25 var(--font); }
.tk-prod small { font-size: .78rem; color: var(--ink-2); }
.tk-prod span { font: 800 .9rem var(--font); }

/* Why teeket */
.tk-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tk-why li { padding: 20px; border-radius: var(--r); background: #fff; }
.tk-why .tk-icon { width: 30px; height: 30px; color: var(--orange-600); margin-bottom: 12px; }
.tk-why p { margin-top: 4px; font-size: .88rem; color: var(--ink-2); }

/* Organizer features */
.tk-feats { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font: 700 .9rem var(--font); color: #e3e7f7; }
.tk-feats li { display: flex; gap: .5em; align-items: center; }
.tk-feats .tk-icon { color: #ffb37d; }

/* Help + FAQ */
.tk-help { display: grid; gap: clamp(20px, 4vw, 48px); align-items: start; }
.tk-help__box { padding: 12px 22px; border-radius: var(--r); background: var(--tint); display: grid; margin-top: 18px; }
.tk-help__box a { display: flex; align-items: center; gap: .6em; min-height: 44px; font: 800 .95rem var(--font); text-decoration: none; }
.tk-help__box a:hover { color: var(--orange-600); }
.tk-faq details { border-bottom: 1px solid var(--line); }
.tk-faq details:first-child { border-top: 2px solid var(--navy); }
.tk-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font: 800 1rem/1.3 var(--font); }
.tk-faq summary::-webkit-details-marker { display: none; }
.tk-faq summary::after { content: "+"; font: 600 1.5rem/1 var(--font); color: var(--orange-600); transition: rotate .25s var(--ease); flex: none; }
.tk-faq details[open] summary::after { rotate: 45deg; }
.tk-faq details p { padding: 0 2em 18px 2px; color: var(--ink-2); max-width: 42em; }

/* Footer columns */
.tk-foot__brand p { margin-top: 12px; font-size: .9rem; color: var(--ink-2); max-width: 26em; }
.tk-foot__pay { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tk-foot__pay span { padding: .45em .8em; border-radius: 8px; background: #fff; border: 1px solid var(--line); font: 800 .74rem var(--font); letter-spacing: .06em; }
.tk-foot__col h3 { font: 800 .74rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.tk-foot__col ul { display: grid; font: 700 .9rem var(--font); }
.tk-foot__col a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.tk-foot__col a:hover { color: var(--orange-600); text-decoration: underline; }
.tk-foot__cols { display: contents; }
.tk-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-3); }
[data-draft] [data-tbc]::after { content: "*"; color: var(--orange-600); font-weight: 800; margin-left: .15em; }

/* Mobile bottom tab bar */
.tk-tabbar { position: fixed; inset: auto 0 0 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.tk-tabbar a { display: grid; justify-items: center; gap: 3px; padding: 6px 0 4px; border-radius: 12px; font: 700 .66rem/1 var(--font); text-decoration: none; color: var(--ink-3); }
.tk-tabbar a[aria-current="page"] { color: var(--navy); }
.tk-tabbar a[aria-current="page"] .tk-icon { color: var(--orange-600); }
.tk-tabbar .tk-icon { width: 22px; height: 22px; }

@media (max-width: 899.98px) {
  .tk-foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .tk-top .tk-btn--accent { display: none; }
}

@media (min-width: 640px) {
  .tk-merch { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .tk-why { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .tk-foot__in { grid-template-columns: 1.3fr repeat(4, 1fr); }
  .tk-foot__bottom { grid-column: 1 / -1; }
  .tk-foot { padding-bottom: 40px; }
  .tk-tabbar { display: none; }
  .tk-util { display: block; }
  .tk-top__search { display: block; }
  .tk-cats { grid-template-columns: repeat(8, 1fr); }
  .tk-agenda, .tk-help { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  [data-draft] .tk-draft { bottom: 10px; }
}

/* Active-filter note under the section heading */
.tk-reset { margin-left: .6em; padding: 0; border: 0; background: none; font: 800 .88rem var(--font); color: var(--orange-600); text-decoration: underline; cursor: pointer; min-height: 44px; }
.tk-reset[hidden] { display: none; }

@media (min-width: 1000px) {
  .tk-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}
@media (min-width: 1100px) {
  /* Four cards fit. No sideways scroll is necessary. */
  .tk-rail { grid-auto-columns: 1fr; overflow: visible; margin-inline: 0; padding-inline: 0; }
}


/* ==========================================================
   13. Standard event page (acara-detail.html)
   ========================================================== */
.tk-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-block: 6px; font: 700 .82rem var(--font); color: var(--ink-3); }
.tk-crumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-2); }
.tk-crumb a:hover { color: var(--orange-600); text-decoration: underline; }
.tk-crumb [aria-current] { color: var(--ink); }

.tk-evp { display: grid; gap: clamp(22px, 4vw, 44px); align-items: start; }
.tk-evp__main { min-width: 0; }
.tk-evp__poster { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); }
.tk-evp__poster > img { width: 100%; height: 100%; object-fit: cover; }
.tk-evp__poster .tk-poster { padding: clamp(16px, 3vw, 30px); }
.tk-evp__poster .tk-poster b { font-size: clamp(1.9rem, 6vw, 3.6rem); }
.tk-evp__poster .tk-poster i { font-size: clamp(.7rem, 1.4vw, .9rem); margin-top: 10px; }

.tk-evp__head { padding-top: clamp(18px, 3vw, 28px); }
.tk-evp__status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 12px; }
.tk-evp__ends { font: 700 .82rem var(--font); color: var(--ink-2); }
.tk-evp__head h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }

.tk-orgchip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 10px; font-size: .92rem; color: var(--ink-2); text-decoration: none; }
.tk-orgchip b { color: var(--ink); }
.tk-orgchip:hover b { text-decoration: underline; }
.tk-orgchip__av { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font: 800 .9rem var(--font); }
.tk-orgchip__av--lg { width: 60px; height: 60px; font-size: 1.5rem; }

.tk-facts { margin-top: 18px; display: grid; gap: 4px; padding: 8px 16px; border-radius: var(--r); background: var(--tint); }
.tk-facts li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; }
.tk-facts li + li { border-top: 1px solid var(--tint-2); }
.tk-facts .tk-icon { width: 22px; height: 22px; margin-top: 2px; color: var(--orange-600); }
.tk-facts b { display: block; font: 800 1rem/1.3 var(--font); }
.tk-facts span { font-size: .88rem; color: var(--ink-2); }
.tk-facts a { font-weight: 800; color: var(--ink); }
.tk-share { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tk-share .tk-chip { text-decoration: none; }

/* Section links. They stick under the header. */
.tk-tabs { position: sticky; top: 64px; z-index: 30; display: flex; gap: 4px; margin: clamp(22px, 4vw, 36px) calc(var(--gut) * -1) 0; padding: 0 var(--gut); overflow-x: auto; scrollbar-width: none; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tk-tabs::-webkit-scrollbar { display: none; }
.tk-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font: 800 .88rem var(--font); text-decoration: none; color: var(--ink-2); border-bottom: 3px solid transparent; }
.tk-tabs a:hover { color: var(--ink); border-color: var(--orange); }
.tk-evp [id] { scroll-margin-top: 136px; }

.tk-block { padding-block: clamp(26px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.tk-block:last-child { border-bottom: 0; }
.tk-block h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.tk-block > h2 { margin-bottom: 14px; }
.tk-prose p { color: var(--ink-2); max-width: 40em; font-size: 1.02rem; }
.tk-prose p + p { margin-top: .9em; }
.tk-hl { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.tk-hl li { padding: 12px 18px; border-radius: 14px; background: var(--orange-100); }
.tk-hl b { display: block; font: 800 1.4rem/1 var(--font); letter-spacing: -.03em; }
.tk-hl span { font: 700 .76rem var(--font); color: var(--warn); }

.tk-lineup { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 16px 12px; }
.tk-lineup li { display: grid; gap: 2px; }
.tk-lineup__av { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 8px; border-radius: var(--r); background: var(--c, var(--tint)); font: 800 1.6rem var(--font); letter-spacing: -.04em; color: var(--navy); }
.tk-lineup b { font: 800 .95rem/1.25 var(--font); }
.tk-lineup small { font-size: .78rem; color: var(--ink-2); }
.tk-lineup__more .tk-lineup__av { background: none; border: 2px dashed var(--line); color: var(--ink-3); }

.tk-rundown { border-left: 2px solid var(--navy); margin-left: 6px; }
.tk-rundown li { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 0 0 20px 22px; }
.tk-rundown li:last-child { padding-bottom: 0; }
.tk-rundown li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px #fff; }
.tk-rundown time { font: 800 .95rem/1.4 var(--font); font-variant-numeric: tabular-nums; }
.tk-rundown b { display: block; font: 800 1rem/1.4 var(--font); }
.tk-rundown span { font-size: .88rem; color: var(--ink-2); }

.tk-loc { display: grid; gap: 16px; }
.tk-loc__map { aspect-ratio: 16 / 9; border-radius: var(--r); display: grid; place-items: center;
  background: linear-gradient(90deg, transparent 49%, #fff 49% 51%, transparent 51%) 0 0 / 90px 90px, linear-gradient(transparent 49%, #fff 49% 51%, transparent 51%) 0 0 / 90px 70px, var(--tint-2); }
.tk-loc__map .tk-icon { width: 44px; height: 44px; color: var(--orange-600); fill: #fff; }
.tk-loc__body p { color: var(--ink-2); margin-top: 4px; }
.tk-loc__tips { margin: 12px 0 16px; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.tk-loc__tips li { padding-left: 1.1em; position: relative; }
.tk-loc__tips li::before { content: "•"; position: absolute; left: 0; color: var(--orange-600); font-weight: 800; }

.tk-fac { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tk-fac li { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--tint); font: 700 .9rem var(--font); }
.tk-fac .tk-icon { color: var(--ok); }

.tk-terms ul { padding: 0 0 18px 2px; display: grid; gap: 8px; color: var(--ink-2); }
.tk-terms li { padding-left: 1.2em; position: relative; }
.tk-terms li::before { content: "–"; position: absolute; left: 0; }
.tk-note { margin-top: 12px; font-size: .82rem; color: var(--ink-3); }
.tk-merch--3 { grid-template-columns: repeat(2, 1fr); }

.tk-orgbox { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: var(--tint); }
.tk-orgbox p { margin-top: 4px; color: var(--ink-2); font-size: .94rem; }
.tk-orgbox__links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tk-orgbox__links .tk-chip { text-decoration: none; flex: 0 1 auto; white-space: normal; text-align: left; padding-block: 8px; }

/* Ticket picker. The panel is a ticket: types on top, a tear line, then the stub with the total. */
.tk-buy { --page: #fff; background: var(--tint); border-radius: var(--r-lg); }
.tk-buy__top { padding: 20px 20px 8px; }
.tk-buy__top h2 { font-size: 1.25rem; margin-bottom: 6px; }
.tk-tt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1px solid var(--tint-2); }
.tk-tt:first-of-type { border-top: 0; }
.tk-tt__info { display: grid; gap: 2px; min-width: 0; }
.tk-tt__info b { font: 800 1rem/1.25 var(--font); }
.tk-tt__info span { font-size: .82rem; color: var(--ink-2); }
.tk-tt__info .tk-tt__price { margin-top: 4px; font: 800 1.05rem var(--font); color: var(--ink); font-variant-numeric: tabular-nums; }
.tk-tt.is-off .tk-tt__info { opacity: .55; }
.tk-tt.is-off .tk-tt__price { text-decoration: line-through; }
.tk-tt.is-on .tk-tt__info b::after { content: " ✓"; color: var(--ok); }
.tk-step { display: flex; align-items: center; flex: none; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); }
.tk-step button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; font: 700 1.3rem/1 var(--font); cursor: pointer; }
.tk-step button:hover:not(:disabled) { background: var(--orange-100); }
.tk-step button:disabled { color: var(--line); cursor: not-allowed; }
.tk-step output { min-width: 1.6em; text-align: center; font: 800 1.05rem var(--font); font-variant-numeric: tabular-nums; }
.tk-buy__stub { position: relative; display: grid; gap: 14px; padding: 20px; border-top: 2px dashed var(--page); }
.tk-buy__stub::before, .tk-buy__stub::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--page); }
.tk-buy__stub::before { left: -12px; }
.tk-buy__stub::after { right: -12px; }
.tk-buy__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tk-buy__total span { font: 700 .88rem var(--font); color: var(--ink-2); }
.tk-buy__total b { font: 800 1.6rem/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tk-btn:disabled { background: var(--tint-2); border-color: var(--tint-2); color: var(--ink-3); cursor: not-allowed; transform: none; }
.tk-buy .tk-btn { width: 100%; min-height: 54px; font-size: 1.02rem; }
.tk-buy__notes { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 700 .8rem var(--font); color: var(--ink-2); }
.tk-buy__notes li { display: flex; align-items: center; gap: .4em; }
.tk-evp__help { margin-top: 14px; font-size: .86rem; color: var(--ink-2); text-align: center; }
.tk-evp__help a { font-weight: 800; color: var(--ink); }

/* Mobile buy bar */
.tk-buybar { position: fixed; inset: auto 0 0 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.tk-buybar small { display: block; font: 700 .72rem var(--font); color: var(--ink-2); }
.tk-buybar b { font: 800 1.15rem/1.1 var(--font); font-variant-numeric: tabular-nums; }
.tk-has-buybar .tk-tabbar { display: none; }
.tk-has-buybar .tk-foot { padding-bottom: 120px; }
[data-draft] .tk-has-buybar .tk-draft { bottom: 84px; }

@media (min-width: 640px) {
  .tk-loc { grid-template-columns: 1fr 1fr; align-items: center; }
  .tk-merch--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .tk-tabs { top: 72px; margin-inline: 0; padding-inline: 0; }
  .tk-tabs a { padding-inline: 10px; font-size: .84rem; }
  .tk-evp { grid-template-columns: minmax(0, 1fr) 380px; }
  .tk-evp__side { position: sticky; top: 96px; }
  .tk-buybar { display: none; }
  .tk-has-buybar .tk-foot { padding-bottom: 40px; }
  [data-draft] .tk-has-buybar .tk-draft { bottom: 10px; }
}

/* Phones: the ticket picker comes directly after the event facts, before the long content. */
@media (max-width: 899.98px) {
  .tk-evp { gap: 0; }
  .tk-evp__main { display: contents; }
  .tk-evp__poster { order: 1; }
  .tk-evp__head { order: 2; }
  .tk-evp__side { order: 3; margin-top: 22px; }
  .tk-tabs { order: 4; }
  .tk-block { order: 5; }
}


/* ==========================================================
   14. Purchase flow: checkout, payment, result
   ========================================================== */
.tk-flow { min-height: 62vh; padding-block: clamp(18px, 3vw, 34px) clamp(48px, 8vw, 96px); }
.tk-flow h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-top: 6px; }
.tk-back { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; font: 800 .88rem var(--font); text-decoration: none; color: var(--ink-2); }
.tk-back:hover { color: var(--orange-600); }

.tk-stepper { display: flex; gap: 6px; margin-block: 14px clamp(20px, 3vw, 30px); counter-reset: st; }
.tk-stepper li { counter-increment: st; flex: 1; display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 4px solid var(--tint-2); font: 800 .8rem/1.2 var(--font); color: var(--ink-3); }
.tk-stepper li::before { content: counter(st); display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--tint-2); font-size: .74rem; }
.tk-stepper li.is-done { border-color: var(--navy); color: var(--ink-2); }
.tk-stepper li.is-done::before { content: "✓"; background: var(--navy); color: #fff; }
.tk-stepper li.is-on { border-color: var(--orange); color: var(--ink); }
.tk-stepper li.is-on::before { background: var(--orange); color: var(--navy-900); }

.tk-co { display: grid; gap: clamp(20px, 4vw, 44px); align-items: start; }
.tk-panel { padding: clamp(18px, 3vw, 28px); border: 1.5px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.tk-panel > h2 { font-size: 1.25rem; }
.tk-panel > h2 + p { margin-top: 4px; color: var(--ink-2); font-size: .94rem; }
.tk-form { display: grid; gap: 18px; margin-top: 20px; }
.tk-form__row { display: grid; gap: 18px; }
.tk-field small { font-size: .8rem; color: var(--ink-2); }
.tk-field.is-bad .tk-input, .tk-field.is-bad .tk-textarea { border-color: #c2331f; }
.tk-field__err { font: 700 .82rem var(--font); color: #c2331f; }
.tk-textarea { width: 100%; min-height: 110px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; font: inherit; font-weight: 600; resize: vertical; }
.tk-textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18, 32, 90, .14); }
.tk-check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.tk-check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--navy); }
.tk-check a { color: var(--ink); font-weight: 800; }
.tk-form .tk-btn { min-height: 54px; font-size: 1.02rem; }
.tk-alert { padding: 12px 16px; border-radius: var(--r-sm); border-left: 4px solid #c2331f; background: #fdeeeb; color: #7d1f12; font: 700 .9rem var(--font); }
.tk-alert[hidden] { display: none; }

/* Order summary (ticket shape) */
.tk-sum { --page: #fff; background: var(--tint); border-radius: var(--r-lg); }
.tk-sum__top { padding: 20px; }
.tk-sum__ev { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--tint-2); }
.tk-sum__ev img, .tk-sum__thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--navy); }
.tk-sum__ev b { display: block; font: 800 1rem/1.25 var(--font); }
.tk-sum__ev span { font-size: .84rem; color: var(--ink-2); }
.tk-sum__items { display: grid; gap: 10px; padding-top: 16px; font-size: .94rem; }
.tk-sum__items li { display: flex; justify-content: space-between; gap: 14px; }
.tk-sum__items span { color: var(--ink-2); }
.tk-sum__items b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-sum__stub { position: relative; padding: 18px 20px 20px; border-top: 2px dashed var(--page); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tk-sum__stub::before, .tk-sum__stub::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--page); }
.tk-sum__stub::before { left: -12px; }
.tk-sum__stub::after { right: -12px; }
.tk-sum__stub span { font: 700 .9rem var(--font); color: var(--ink-2); }
.tk-sum__stub b { font: 800 1.6rem/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tk-sum__note { padding: 0 20px 18px; font-size: .8rem; color: var(--ink-2); }

/* Payment */
.tk-pay { display: grid; gap: 18px; justify-items: center; text-align: center; }
.tk-pay__timer { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border-radius: 999px; background: var(--orange-100); font: 800 .95rem var(--font); color: var(--warn); font-variant-numeric: tabular-nums; }
.tk-qr { width: min(100%, 280px); aspect-ratio: 1; padding: 14px; border: 2px solid var(--navy); border-radius: var(--r); background: #fff; position: relative; }
.tk-qr img, .tk-qr svg { width: 100%; height: 100%; }
.tk-qr[data-sample]::after { content: "CONTOH"; position: absolute; inset: 44% 0 auto; padding: 6px 0; background: var(--orange); color: var(--navy-900); font: 800 .8rem/1 var(--font); letter-spacing: .3em; }
.tk-pay__amount small { display: block; font: 700 .82rem var(--font); color: var(--ink-2); }
.tk-pay__amount b { font: 800 2.1rem/1.1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tk-rows { width: 100%; text-align: left; border-top: 1px solid var(--line); }
.tk-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.tk-rows b { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.tk-code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .04em; }
.tk-wait { display: flex; align-items: center; gap: 10px; font: 700 .88rem var(--font); color: var(--ink-2); }
.tk-wait::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--tint-2); border-top-color: var(--navy); animation: tk-spin 1s linear infinite; }
@keyframes tk-spin { to { rotate: 360deg; } }
.tk-howto { width: 100%; text-align: left; }
.tk-howto ol { counter-reset: h; display: grid; gap: 10px; padding: 4px 0 16px; color: var(--ink-2); font-size: .94rem; }
.tk-howto ol li { counter-increment: h; padding-left: 2em; position: relative; }
.tk-howto ol li::before { content: counter(h) "."; position: absolute; left: .4em; font-weight: 800; color: var(--ink); }

/* Result (success, expired, not found) */
.tk-result { display: grid; gap: 14px; justify-items: center; text-align: center; padding-block: 10px; }
.tk-result__mark { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; background: var(--ok); color: #fff; rotate: -4deg; }
.tk-result__mark .tk-icon { width: 38px; height: 38px; stroke-width: 2.6; }
.tk-result.is-bad .tk-result__mark { background: var(--off); }
.tk-result h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.tk-result p { color: var(--ink-2); max-width: 30em; }
.tk-result p b { color: var(--ink); }
.tk-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }

/* ==========================================================
   15. E-ticket
   ========================================================== */
.tk-tix-list { display: grid; gap: 22px; justify-items: center; }
.tk-tix { --page: #fff; width: min(100%, 400px); border-radius: var(--r-lg); background: var(--tint); position: relative; }
.tk-tix__head { padding: 22px 22px 20px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--navy); color: #fff; }
.tk-tix__head small { display: block; font: 800 .68rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #ffb37d; }
.tk-tix__head h2 { margin-top: 8px; font-size: 1.45rem; color: #fff; }
.tk-tix__head dl { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tk-tix dt { font: 700 .68rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.tk-tix dd { margin-top: 4px; font: 800 .95rem/1.25 var(--font); }
.tk-tix__body { position: relative; padding: 22px; border-top: 2px dashed var(--page); display: grid; gap: 16px; justify-items: center; }
.tk-tix__body::before, .tk-tix__body::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--page); }
.tk-tix__body::before { left: -12px; }
.tk-tix__body::after { right: -12px; }
.tk-tix__body .tk-qr { width: min(100%, 230px); border-width: 0; }
.tk-tix__code { font: 800 1.15rem ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; }
.tk-tix__who { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 16px; border-top: 1px solid var(--tint-2); }
.tk-tix__who dt { color: var(--ink-3); opacity: 1; }
.tk-tix__n { font: 700 .8rem var(--font); color: var(--ink-2); }
.tk-tix.is-used .tk-qr { opacity: .25; }
.tk-tix__stamp { display: none; }
.tk-tix.is-used .tk-tix__stamp { display: block; position: absolute; left: 50%; top: 38%; translate: -50% -50%; rotate: -12deg; padding: .5em .9em; border: 3px solid #c2331f; border-radius: 8px; color: #c2331f; background: rgba(255, 255, 255, .85); font: 800 1.1rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; z-index: 2; }
.tk-tips { width: min(100%, 400px); margin-inline: auto; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.tk-tips li { display: flex; gap: 10px; align-items: flex-start; }
.tk-tips .tk-icon { color: var(--orange-600); margin-top: 2px; }

/* ==========================================================
   16. Order lookup
   ========================================================== */
.tk-narrow { width: min(100%, 620px); margin-inline: auto; }
.tk-order { margin-top: 22px; }
.tk-order__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.tk-order__list { margin-top: 14px; border-top: 1px solid var(--line); }
.tk-order__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tk-order__list b { display: block; font: 800 .95rem var(--font); }
.tk-order__list span { font-size: .82rem; color: var(--ink-2); }

/* ==========================================================
   17. Listing page
   ========================================================== */
.tk-listhead { padding-block: clamp(20px, 4vw, 40px) 0; }
.tk-listbar { display: grid; gap: 10px; margin-top: 18px; }
.tk-listbar .tk-search { margin-top: 0; }
.tk-sort { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.tk-sort label { display: flex; align-items: center; gap: 8px; font: 700 .86rem var(--font); color: var(--ink-2); }
.tk-sort .tk-select { width: auto; min-height: 44px; }
.tk-pager { margin-top: clamp(26px, 4vw, 44px); display: flex; justify-content: center; align-items: center; gap: 6px; }
.tk-pager a, .tk-pager span { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; font: 800 .92rem var(--font); text-decoration: none; }
.tk-pager a:hover { background: var(--tint); }
.tk-pager [aria-current] { background: var(--navy); color: #fff; }
.tk-pager .is-off { color: var(--line); }

/* ==========================================================
   18. Document pages (legal, help) and organiser page
   ========================================================== */
.tk-pagehead { padding-block: clamp(26px, 5vw, 56px) clamp(18px, 3vw, 30px); }
.tk-pagehead .tk-lead { margin-top: 12px; }
.tk-doc { display: grid; gap: clamp(20px, 4vw, 56px); align-items: start; padding-bottom: clamp(48px, 8vw, 96px); }
.tk-toc { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.tk-toc::-webkit-scrollbar { display: none; }
.tk-toc a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--tint); font: 800 .86rem var(--font); text-decoration: none; }
.tk-toc a:hover { background: var(--orange-100); }
.tk-prose h2 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); margin: 1.8em 0 .5em; }
.tk-prose > :first-child { margin-top: 0; }
.tk-prose h3 { margin: 1.4em 0 .3em; }
.tk-prose ul, .tk-prose ol { display: grid; gap: 8px; margin-top: .6em; color: var(--ink-2); max-width: 40em; }
.tk-prose ul li { padding-left: 1.2em; position: relative; }
.tk-prose ul li::before { content: "–"; position: absolute; left: 0; }
.tk-prose ol { counter-reset: p; }
.tk-prose ol li { counter-increment: p; padding-left: 2em; position: relative; }
.tk-prose ol li::before { content: counter(p) "."; position: absolute; left: .3em; font-weight: 800; color: var(--ink); }
.tk-todo { padding: 14px 16px; border: 2px dashed var(--orange); border-radius: var(--r-sm); background: #fff8f1; color: var(--warn); font: 700 .9rem var(--font); }
.tk-updated { font-size: .84rem; color: var(--ink-3); }

.tk-feats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.tk-feat-card { padding: 22px; border-radius: var(--r); background: var(--tint); }
.tk-feat-card .tk-icon { width: 30px; height: 30px; color: var(--orange-600); margin-bottom: 12px; }
.tk-feat-card p { margin-top: 4px; font-size: .9rem; color: var(--ink-2); }
.tk-price { display: grid; gap: 14px; }
.tk-price__card { padding: 24px; border-radius: var(--r-lg); border: 1.5px solid var(--line); }
.tk-price__card.is-on { border-color: var(--navy); background: var(--navy); color: #fff; }
.tk-price__card b.tk-price__n { display: block; margin: 10px 0 2px; font: 800 2rem/1 var(--font); letter-spacing: -.03em; }
.tk-price__card p { font-size: .92rem; color: var(--ink-2); }
.tk-price__card.is-on p { color: #c9cfea; }
.tk-price__card ul { margin-top: 14px; display: grid; gap: 8px; font: 700 .9rem var(--font); }
.tk-price__card li::before { content: "→"; margin-right: .5em; color: var(--orange); font-weight: 800; }
.tk-radio { display: grid; gap: 10px; }
.tk-radio label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
.tk-radio label:has(input:checked) { border-color: var(--navy); background: var(--tint); }
.tk-radio input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.tk-radio b { display: block; font: 800 .96rem var(--font); }
.tk-radio span { font-size: .84rem; color: var(--ink-2); }

/* ==========================================================
   19. Not found and error
   ========================================================== */
.tk-nf { min-height: 62vh; display: grid; place-items: center; padding-block: 48px; text-align: center; }
.tk-nf__ticket { display: inline-grid; grid-template-columns: auto auto; align-items: center; rotate: -4deg; margin-bottom: 26px; border-radius: 18px; background: var(--tint); }
.tk-nf__ticket b { padding: 18px 26px; font: 800 clamp(3.4rem, 14vw, 6rem)/1 var(--font); letter-spacing: -.05em; }
.tk-nf__ticket span { position: relative; padding: 18px 20px; border-left: 2px dashed #fff; font: 800 .74rem/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); writing-mode: vertical-rl; }
.tk-nf h1 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); }
.tk-nf p { margin: 10px auto 22px; color: var(--ink-2); max-width: 28em; }

/* ==========================================================
   20. Gate scanner (staff). Dark, large type, one hand.
   ========================================================== */
.tk-scan { --page: #0b1540; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: #0b1540; color: #fff; }
.tk-scan__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.tk-scan__ev b { display: block; font: 800 1rem/1.2 var(--font); }
.tk-scan__ev span { font-size: .78rem; color: #aab3db; }
.tk-scan__count { text-align: right; font-variant-numeric: tabular-nums; }
.tk-scan__count b { display: block; font: 800 1.35rem/1 var(--font); }
.tk-scan__count span { font: 700 .68rem var(--font); letter-spacing: .1em; text-transform: uppercase; color: #aab3db; }
.tk-scan__bar { height: 6px; background: rgba(255, 255, 255, .14); }
.tk-scan__bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--orange); transition: width .4s var(--ease); }

.tk-scan__view { position: relative; flex: 1 1 auto; min-height: 300px; display: grid; place-items: center; overflow: hidden; background: #050a22; }
.tk-scan__view video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tk-scan__frame { position: relative; width: min(68vw, 300px); aspect-ratio: 1; border-radius: 26px; box-shadow: 0 0 0 100vmax rgba(5, 10, 34, .55); }
.tk-scan__hint { position: absolute; inset: auto 0 18px; text-align: center; font: 700 .9rem var(--font); color: #dfe4f7; text-shadow: 0 1px 6px #000; padding-inline: 16px; }

/* Result covers the camera. Colour says the answer before the text does. */
.tk-scan__res { position: absolute; inset: 0; z-index: 3; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.tk-scan[data-result="ok"] .tk-scan__res--ok, .tk-scan[data-result="used"] .tk-scan__res--used, .tk-scan[data-result="bad"] .tk-scan__res--bad { display: flex; animation: tk-pop .18s var(--ease); }
@keyframes tk-pop { from { opacity: 0; scale: .96; } }
.tk-scan__res--ok { background: #128a52; }
.tk-scan__res--used { background: #c96a00; }
.tk-scan__res--bad { background: #b3261a; }
.tk-scan__res .tk-icon { width: 84px; height: 84px; stroke-width: 2.4; }
.tk-scan__res h2 { font-size: clamp(2rem, 9vw, 3rem); color: #fff; letter-spacing: -.03em; }
.tk-scan__res p { font: 700 1.1rem/1.35 var(--font); }
.tk-scan__res small { font: 600 .9rem var(--font); opacity: .9; }
.tk-scan__next { margin-top: 14px; min-height: 60px; padding: 0 2em; border: 0; border-radius: 999px; background: #fff; color: var(--navy-900); font: 800 1.1rem var(--font); cursor: pointer; }

.tk-scan__foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 12px; background: #0b1540; }
.tk-scan__manual { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.tk-scan__manual input { min-height: 54px; padding: 0 16px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 14px; background: rgba(255, 255, 255, .06); color: #fff; font: 800 1.05rem ui-monospace, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; }
.tk-scan__manual input::placeholder { color: #8f99c7; letter-spacing: 0; text-transform: none; font-family: var(--font); font-weight: 600; }
.tk-scan__manual input:focus { outline: none; border-color: var(--orange); }
.tk-scan__manual button { min-height: 54px; padding: 0 1.3em; border: 0; border-radius: 14px; background: var(--orange); color: var(--navy-900); font: 800 1rem var(--font); cursor: pointer; }
.tk-scan__log { max-height: 132px; overflow-y: auto; font-size: .86rem; }
.tk-scan__log li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.tk-scan__log b { font-weight: 800; }
.tk-scan__log .is-ok { color: #7ee2ae; }
.tk-scan__log .is-used { color: #ffc27a; }
.tk-scan__log .is-bad { color: #ff9c92; }
.tk-scan__msg { font: 700 .86rem var(--font); color: #ffc27a; }
.tk-scan__msg[hidden] { display: none; }
.tk-scan :focus-visible { outline-color: #fff; }

/* Staff sign-in for the scanner */
.tk-gate { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: #0b1540; color: #fff; }
.tk-gate__box { width: min(100%, 360px); display: grid; gap: 16px; text-align: center; }
.tk-gate__box img { height: 40px; width: auto; margin-inline: auto; }
.tk-gate__box p { color: #aab3db; font-size: .94rem; }
.tk-gate__pin { width: 100%; min-height: 64px; text-align: center; border: 2px solid rgba(255, 255, 255, .25); border-radius: 16px; background: rgba(255, 255, 255, .06); color: #fff; font: 800 1.8rem ui-monospace, Menlo, monospace; letter-spacing: .5em; }
.tk-gate__pin:focus { outline: none; border-color: var(--orange); }
.tk-gate .tk-btn { min-height: 56px; }

@media (min-width: 640px) {
  .tk-form__row { grid-template-columns: 1fr 1fr; }
  .tk-price { grid-template-columns: 1fr 1fr; }
  .tk-listbar { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .tk-co { grid-template-columns: minmax(0, 1fr) 380px; }
  .tk-co__side { position: sticky; top: 96px; }
  .tk-doc { grid-template-columns: 220px minmax(0, 1fr); }
  .tk-toc { position: sticky; top: 96px; flex-direction: column; overflow: visible; }
  .tk-toc a { background: none; padding: 0 10px; border-radius: 10px; }
  .tk-toc a:hover { background: var(--tint); }
}
@media (max-width: 899.98px) {
  .tk-co__side { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-wait::before { animation: none; }
}

/* Something that has no target yet. It is text, not a link. */
.tk-soon { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; color: var(--ink-3); cursor: default; }
.tk-soon small { padding: .2em .5em; border-radius: 4px; background: var(--tint-2); font: 800 .62rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.tk-help__box .tk-soon { font: 800 .95rem var(--font); gap: .6em; }
.tk-chip.tk-soon { cursor: default; }
.tk-alert--ok { border-left-color: var(--ok); background: var(--ok-bg); color: #0e5132; }
