/* Thai Lotto Checker - design tokens from ตรวจหวย.world ("ราตรีมงคล": dark navy + luminous gold). Everything is scoped
   under .tlc so the theme (Astra / Elementor) cannot leak in and nothing leaks out. */
.tlc {
  --tlc-ground: #0c162e;
  --tlc-sunken: #060e23;
  --tlc-surface: #162241;
  --tlc-line-1: #24304f;
  --tlc-line-2: #2f3c5d;
  --tlc-line-3: #64718f;
  --tlc-fg-1: #f6f3ec;
  --tlc-fg-2: #9aa5bb;
  --tlc-fg-3: #8892a8;
  --tlc-gold: #fcc23d;
  --tlc-gold-hi: #ffda7c;
  --tlc-band: #3b2700;
  --tlc-band-edge: #6b4e0f;
  --tlc-cell-edge: #3a3325;
  --tlc-jade: #41dca5;
  --tlc-jade-bg: #053426;
  --tlc-rose: #fa89a5;
  --tlc-rose-bg: #471a27;
  --tlc-coral: #ff5a5f;
  --tlc-font: "IBM Plex Sans Thai Looped", "Sukhumvit Set", "Leelawadee UI", "Noto Sans Thai", sans-serif;
  --tlc-num: "Chakra Petch", "Sukhumvit Set", "Leelawadee UI", "Noto Sans Thai", sans-serif;
  box-sizing: border-box;
  position: relative;
  color: var(--tlc-fg-1);
  font-family: var(--tlc-font);
  font-size: 16px;
  line-height: 1.5;
  background: var(--tlc-ground);
  border-radius: 24px;
  padding: 16px;
  -webkit-font-smoothing: antialiased;
  /* layout follows the width of the box it is placed in (Elementor column, sidebar…), not the screen */
  container: tlc / inline-size;
}
/* Elementor flex containers size an auto-width widget at fit-content first; with container queries inside, that
   pass lays the box out narrow (taller) and the widget keeps that height, leaving a big empty gap below on
   mobile. A definite 100% width makes the measuring pass use the real width (custom Elementor widths are kept). */
:is(.e-con, .e-con-inner) > :is(.elementor-widget-tlc-checker, .elementor-widget-shortcode:has(.tlc)):not(.elementor-widget__width-initial, .elementor-widget__width-auto) { width: 100%; max-width: 100%; }
.tlc *, .tlc *::before, .tlc *::after { box-sizing: border-box; }
.tlc h2, .tlc h3 { margin: 0; padding: 0; font-family: var(--tlc-font); color: var(--tlc-fg-1); letter-spacing: 0; text-transform: none; }
.tlc a { color: inherit; text-decoration: none; }
.tlc [hidden] { display: none !important; }
.tlc-i { width: 20px; height: 20px; flex: none; }

/* live label */
.tlc-live { display: flex; justify-content: flex-end; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--tlc-fg-1); margin: 0 4px 8px; }
.tlc-live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--tlc-coral); }
/* the ring is its own layer and only animates transform/opacity, so it runs on the compositor (no repaint per frame) */
.tlc-live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 90, 95, .55); animation: tlc-pulse 2s infinite; will-change: transform, opacity; }
@keyframes tlc-pulse { 0% { transform: scale(1); opacity: 1; } 70% { transform: scale(2.8); opacity: 0; } 100% { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tlc-live-dot::after { animation: none; opacity: 0; } }

.tlc-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@container tlc (min-width: 980px) {
  .tlc-layout-both .tlc-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; }
}

/* ------------------------------------------------------------------ result card */
.tlc-card { container: tlccard / inline-size; display: flex; flex-direction: column; overflow: hidden; background: var(--tlc-surface); border: 1px solid var(--tlc-line-1); border-radius: 20px; }
.tlc-empty { padding: 32px; text-align: center; color: var(--tlc-fg-2); }
.tlc-band { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 72px; padding: 14px 16px; background: var(--tlc-band); border-bottom: 1px solid var(--tlc-band-edge); }
.tlc-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--tlc-band-edge); background: rgba(0, 0, 0, .18); color: var(--tlc-gold-hi); font-family: var(--tlc-num); font-weight: 700; font-size: 17px; }
.tlc-band-text { display: flex; flex-direction: column; flex: none; }
.tlc .tlc-name { font-size: 20px; font-weight: 700; line-height: 28px; white-space: nowrap; }
.tlc-sub { font-size: 15px; color: var(--tlc-fg-2); white-space: nowrap; }
.tlc-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px 5px 10px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.tlc-badge-ok { background: var(--tlc-jade-bg); color: var(--tlc-jade); border: 1px solid rgba(65, 220, 165, .25); }
.tlc-badge-wait { background: #3b2a12; color: var(--tlc-gold-hi); border: 1px solid var(--tlc-band-edge); padding-left: 14px; }

.tlc-body { display: flex; flex-direction: column; gap: 16px; padding: 18px 16px 14px; }
@container tlccard (min-width: 560px) { .tlc-body { padding: 22px 24px 16px; } }
/* digits and the 3 boxes side by side only when the card is wide enough for both */
@container tlccard (min-width: 800px) { .tlc-body { flex-direction: row; align-items: stretch; gap: 28px; } }

.tlc-first { display: flex; flex-direction: column; gap: 10px; flex: none; }
.tlc-first-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tlc-first-label { font-size: 17px; font-weight: 700; white-space: nowrap; }
.tlc-amount { font-size: 14px; color: var(--tlc-fg-2); white-space: nowrap; }
.tlc-amount b { font-family: var(--tlc-num); font-size: 16px; font-weight: 600; color: var(--tlc-fg-1); }
.tlc-digits { display: flex; gap: 8px; max-width: 100%; }
.tlc-digit { display: grid; place-items: center; flex: 1 1 0; min-width: 0; max-width: 56px; height: 72px; border-radius: 12px; background: var(--tlc-sunken); border: 1px solid var(--tlc-cell-edge); color: var(--tlc-gold); font-family: var(--tlc-num); font-weight: 700; font-size: 46px; line-height: 1; }
@container tlccard (min-width: 440px) { .tlc-digit { width: 56px; flex: none; height: 76px; font-size: 50px; } .tlc-digits { gap: 10px; } }
@container tlccard (max-width: 340px) { .tlc-digit { height: 60px; font-size: 38px; } .tlc-digits { gap: 5px; } }
.tlc-digit-empty { border: 1.5px dashed var(--tlc-line-3); }
.tlc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tlc-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; flex: 1; min-width: 0; }
.tlc-boxes:has(.tlc-box:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container tlccard (min-width: 560px) { .tlc-boxes { gap: 14px; } }
.tlc-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding: 12px 6px 14px; border-radius: 14px; background: var(--tlc-sunken); }
.tlc-box-label { font-size: 14px; font-weight: 500; color: var(--tlc-fg-2); white-space: nowrap; text-align: center; }
.tlc-box-num { display: flex; flex-direction: column; align-items: center; font-family: var(--tlc-num); font-weight: 700; font-size: 30px; line-height: 38px; color: var(--tlc-fg-1); }
.tlc-box-num-4 { display: grid; grid-template-columns: repeat(2, auto); column-gap: 10px; font-size: 24px; line-height: 32px; }
.tlc-box-gold { color: var(--tlc-gold); font-size: 50px; line-height: 60px; }
@container tlccard (min-width: 560px) { .tlc-box-num { font-size: 34px; line-height: 44px; } .tlc-box-gold { font-size: 56px; line-height: 64px; } }
@container tlccard (max-width: 400px) { .tlc-box { padding: 10px 2px 12px; } .tlc-box-label { font-size: 12.5px; } .tlc-box-num { font-size: 26px; line-height: 34px; } .tlc-box-gold { font-size: 44px; line-height: 52px; } }

.tlc-source { display: flex; align-items: center; gap: 10px; padding: 4px 16px 16px; font-size: 14px; color: var(--tlc-fg-2); }
.tlc-source b { color: var(--tlc-fg-1); font-weight: 600; }
.tlc-source a { color: var(--tlc-gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.tlc-source .tlc-i { color: var(--tlc-fg-2); }
@container tlccard (min-width: 560px) { .tlc-source { padding: 4px 24px 18px; font-size: 15px; } }

.tlc-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 64px; padding: 12px 16px; border-top: 1px solid var(--tlc-line-1); }
@container tlccard (min-width: 560px) { .tlc-next { padding: 12px 24px; } }
.tlc-next-label { font-size: 15px; color: var(--tlc-fg-2); text-decoration: underline; text-decoration-color: var(--tlc-line-3); text-underline-offset: 5px; white-space: nowrap; }
.tlc-next-label b { color: var(--tlc-fg-1); font-weight: 700; }
.tlc-countdown { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--tlc-fg-2); }
.tlc-cd-word { color: var(--tlc-fg-1); font-weight: 600; font-size: 18px; }
.tlc-cd-num { display: inline-grid; place-items: center; min-width: 46px; height: 42px; padding: 0 6px; border-radius: 10px; background: var(--tlc-sunken); border: 1px solid var(--tlc-line-2); color: var(--tlc-gold); font-family: var(--tlc-num); font-weight: 700; font-size: 26px; }
.tlc-countdown.is-live .tlc-cd-word { color: var(--tlc-coral); }
.tlc-cd-num { overflow: hidden; }
.tlc-cd-v { display: block; font-style: normal; }
.tlc-roll { animation: tlc-roll .45s cubic-bezier(.2, .8, .3, 1); }
@keyframes tlc-roll { 0% { transform: translateY(-65%); opacity: 0; } 60% { opacity: 1; } 100% { transform: translateY(0); opacity: 1; } }
.tlc-cd-num[data-part="s"] { color: var(--tlc-gold-hi); }
@container tlccard (max-width: 440px) { .tlc-countdown { gap: 5px; font-size: 14px; } .tlc-cd-num { min-width: 38px; height: 38px; font-size: 22px; padding: 0 4px; } .tlc-cd-word { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .tlc-roll { animation: none; } }

.tlc-more { display: flex; justify-content: flex-end; border-top: 1px solid var(--tlc-line-1); padding: 0 14px 0 16px; }
.tlc-arrow-link { display: inline-flex; align-items: center; gap: 6px; min-height: 56px; font-size: 17px; font-weight: 700; color: var(--tlc-fg-1); }
.tlc-arrow-link .tlc-i { color: var(--tlc-gold); width: 18px; height: 18px; }
.tlc-arrow-link:hover, .tlc-arrow-link:focus-visible { color: var(--tlc-gold-hi); }

/* ------------------------------------------------------------------ checker */
.tlc-checker { container: tlcchk / inline-size; background: var(--tlc-surface); border: 1px solid var(--tlc-line-1); border-radius: 24px; padding: 22px 18px 20px; }
@container tlc (min-width: 640px) { .tlc-checker { padding: 26px 26px 24px; } }
.tlc .tlc-checker-title { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; line-height: 30px; margin-bottom: 18px; }
.tlc-checker-title .tlc-i { color: var(--tlc-gold); width: 28px; height: 28px; }
.tlc-form { display: flex; flex-direction: column; margin: 0; }
.tlc-label { display: block; font-size: 16px; font-weight: 500; color: var(--tlc-fg-2); margin: 0 0 10px; padding: 0; }
.tlc-select { position: relative; margin-bottom: 22px; }
.tlc-select::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2.4px solid var(--tlc-fg-1); border-bottom: 2.4px solid var(--tlc-fg-1); transform: rotate(45deg); pointer-events: none; }
.tlc .tlc-select select { appearance: none; -webkit-appearance: none; width: 100%; height: 64px; margin: 0; padding: 0 52px 0 20px; border-radius: 14px; border: 1px solid var(--tlc-line-2); background: var(--tlc-sunken); color: var(--tlc-fg-1); font-family: var(--tlc-font); font-size: 19px; font-weight: 700; line-height: 1.2; box-shadow: none; cursor: pointer; }
.tlc .tlc-select select option, .tlc .tlc-select select optgroup { background: var(--tlc-surface); color: var(--tlc-fg-1); }
.tlc .tlc-select select:focus { outline: 2px solid var(--tlc-gold); outline-offset: 2px; border-color: var(--tlc-gold); }
.tlc-tickets { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.tlc-ticket-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tlc-ticket { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tlc-ticket-label { font-size: 15px; color: var(--tlc-fg-2); }
.tlc .tlc-input { width: 100%; height: 74px; margin: 0; padding: 0 6px; border-radius: 14px; border: 1px solid var(--tlc-line-3); background: var(--tlc-sunken); color: var(--tlc-fg-1); font-family: var(--tlc-num); font-size: 28px; font-weight: 600; letter-spacing: 3px; text-align: center; box-shadow: none; }
.tlc .tlc-input::placeholder { color: var(--tlc-fg-3); opacity: 1; }
.tlc .tlc-input:focus { outline: 2px solid var(--tlc-gold); outline-offset: 1px; border-color: var(--tlc-gold); }
.tlc .tlc-input[aria-invalid="true"] { border-color: var(--tlc-rose); }
.tlc .tlc-series { height: 46px; font-size: 18px; letter-spacing: 1px; }
.tlc .tlc-series::placeholder { font-family: var(--tlc-font); font-size: 14px; letter-spacing: 0; }
@media (max-width: 480px) {
  .tlc { padding: 10px; border-radius: 18px; }
  .tlc-trust { font-size: 14px; }
}
/* 6 digits must always fit in a ticket field, whatever the width of the checker */
@container tlcchk (max-width: 520px) { .tlc .tlc-input { height: 62px; padding: 0 2px; font-size: 22px; letter-spacing: 0; } .tlc-ticket-row { gap: 8px; } }
@container tlcchk (max-width: 330px) { .tlc .tlc-input { height: 56px; font-size: 18px; } .tlc .tlc-select select { height: 56px; font-size: 17px; } .tlc .tlc-btn { height: 60px; font-size: 20px; } }
@container tlcchk (max-width: 290px) { .tlc-ticket-row { grid-template-columns: minmax(0, 1fr); } .tlc .tlc-input { font-size: 24px; letter-spacing: 3px; } }
@container tlc (max-width: 480px) { .tlc-checker { padding: 20px 14px 18px; } }
.tlc-field-error { min-height: 0; font-size: 13px; color: var(--tlc-rose); }
.tlc-field-error:empty { display: none; }
.tlc .tlc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 72px; margin: 0; border: 0; border-radius: 16px; background: var(--tlc-gold); color: #1b1300; font-family: var(--tlc-font); font-size: 22px; font-weight: 700; cursor: pointer; box-shadow: none; text-transform: none; }
.tlc .tlc-btn:hover { background: var(--tlc-gold-hi); color: #1b1300; }
.tlc .tlc-btn:focus-visible { outline: 3px solid var(--tlc-fg-1); outline-offset: 2px; }
.tlc .tlc-btn[disabled] { opacity: .65; cursor: progress; }
.tlc-btn .tlc-i { width: 26px; height: 26px; }
.tlc-note { margin: 24px 0 0; font-size: 14px; color: var(--tlc-fg-2); }
.tlc-coverage { margin: -8px 0 18px; padding: 10px 14px; border-radius: 12px; background: #3b2a12; border: 1px solid var(--tlc-band-edge); color: var(--tlc-gold-hi); font-size: 14px; }

/* results */
.tlc-results { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.tlc-results:empty { display: none; }
.tlc-row { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--tlc-line-2); background: var(--tlc-sunken); }
.tlc-row-head { font-size: 14px; color: var(--tlc-fg-2); }
.tlc-row-head b { font-family: var(--tlc-num); color: var(--tlc-fg-1); letter-spacing: 1px; }
.tlc-row-title { font-size: 18px; font-weight: 700; }
.tlc-row-sub { font-family: var(--tlc-num); font-size: 26px; font-weight: 700; color: var(--tlc-gold); }
.tlc-row-sub.is-unknown { font-family: var(--tlc-font); font-size: 16px; color: var(--tlc-gold-hi); }
.tlc-row ul { margin: 4px 0 0; padding-left: 18px; font-size: 14px; color: var(--tlc-fg-2); }
.tlc-row-win { border-color: rgba(65, 220, 165, .45); background: linear-gradient(180deg, rgba(5, 52, 38, .9), var(--tlc-sunken)); }
.tlc-row-win .tlc-row-title { color: var(--tlc-jade); }
.tlc-row-miss .tlc-row-title { color: var(--tlc-fg-1); }
.tlc-row-unknown { border-color: var(--tlc-band-edge); }
.tlc-row-unknown .tlc-row-title { color: var(--tlc-gold-hi); font-size: 16px; }
.tlc-row-total { border-color: var(--tlc-gold); }
.tlc-row-error { border-color: var(--tlc-rose); color: var(--tlc-rose); }

/* footer */
.tlc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 18px; padding: 0 4px; }
.tlc-trust { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--tlc-fg-2); }
.tlc-trust .tlc-i { color: var(--tlc-gold); }

/* ------------------------------------------------------------------ full results */
.tlc-full-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin: 0 0 16px; }
.tlc-full-pick .tlc-label { margin: 0; }
.tlc-full-pick .tlc-select { flex: 1 1 260px; margin: 0; max-width: 420px; }
.tlc-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px 16px; }
@container tlccard (min-width: 560px) { .tlc-board { padding: 22px 24px; gap: 14px; } }
.tlc-tier { min-width: 0; border-radius: 14px; background: var(--tlc-sunken); padding: 12px 14px 14px; }
.tlc .tlc-tier-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.tlc-tier-nums { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--tlc-num); font-weight: 700; font-size: 22px; letter-spacing: 1px; }
.tlc-t-first { grid-column: 1 / -1; text-align: center; }
.tlc-t-first .tlc-tier-head { justify-content: center; }
.tlc-t-first .tlc-tier-nums { justify-content: center; font-size: 52px; color: var(--tlc-gold); letter-spacing: 8px; }
.tlc-t-3 .tlc-tier-nums, .tlc-t-2 .tlc-tier-nums { justify-content: center; font-size: 30px; }
.tlc-t-2 .tlc-tier-nums { color: var(--tlc-gold); font-size: 40px; }
.tlc-t-3 .tlc-tier-head, .tlc-t-2 .tlc-tier-head { justify-content: center; text-align: center; }
.tlc-t-grid { grid-column: 1 / -1; }
.tlc-t-grid .tlc-tier-nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px 10px; font-size: 20px; }
@container tlccard (max-width: 560px) {
  .tlc-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tlc-t-2 { grid-column: 1 / -1; }
  .tlc-t-first .tlc-tier-nums { font-size: 40px; letter-spacing: 4px; }
}
.tlc-full .tlc-coverage { margin: 0 16px 14px; }

/* ------------------------------------------------------------------ draw / year pages + archive block (v1.1.0) */
.tlc-draw, .tlc-year { display: flex; flex-direction: column; gap: 16px; }
.tlc-draw .tlc-full-pick { margin: 0; }
.tlc-full > .tlc-panel { margin-top: 16px; }
.tlc-draw > .tlc-panel, .tlc-year > .tlc-panel { margin-top: 0; }

.tlc .tlc-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--tlc-fg-2); }
.tlc .tlc-crumbs li { display: inline-flex; align-items: center; min-width: 0; margin: 0; padding: 0; }
.tlc .tlc-crumbs li + li::before { content: "\203A"; margin: 0 8px; color: var(--tlc-line-3); }
.tlc .tlc-crumbs a { display: inline-block; padding: 6px 0; color: var(--tlc-fg-2); text-decoration: underline; text-decoration-color: var(--tlc-line-3); text-underline-offset: 3px; }
.tlc .tlc-crumbs a:hover, .tlc .tlc-crumbs a:focus-visible { color: var(--tlc-gold-hi); }
.tlc .tlc-crumbs [aria-current="page"] { color: var(--tlc-fg-1); font-weight: 600; }

.tlc-head { display: flex; flex-direction: column; gap: 8px; }
.tlc h1.tlc-h1 { margin: 0; padding: 0; font-family: var(--tlc-font); font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--tlc-fg-1); }
.tlc p.tlc-summary { margin: 0; font-size: 16px; line-height: 1.6; color: var(--tlc-fg-2); }
@container tlc (min-width: 640px) { .tlc h1.tlc-h1 { font-size: 34px; } .tlc p.tlc-summary { font-size: 17px; } }

.tlc-panel { background: var(--tlc-surface); border: 1px solid var(--tlc-line-1); border-radius: 20px; padding: 18px 16px; }
@container tlc (min-width: 640px) { .tlc-panel { padding: 22px 24px; } }
.tlc .tlc-panel-title { margin: 0 0 12px; font-size: 19px; font-weight: 700; line-height: 1.35; }
.tlc .tlc-panel-sub { margin: -4px 0 12px; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--tlc-fg-2); }
.tlc .tlc-panel h3.tlc-panel-sub { margin: 18px 0 10px; font-size: 15px; font-weight: 600; color: var(--tlc-fg-1); }
.tlc .tlc-panel p { margin: 0; }
.tlc .tlc-panel a { color: var(--tlc-gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.tlc .tlc-stat p { font-size: 16px; line-height: 1.75; color: var(--tlc-fg-2); }
.tlc .tlc-stat b { font-family: var(--tlc-num); font-size: 18px; color: var(--tlc-gold); }
.tlc .tlc-more-link { margin-top: 14px !important; }
.tlc-muted { font-size: 12px; font-weight: 400; color: var(--tlc-fg-3); }
.tlc .tlc-note a { color: var(--tlc-gold-hi); text-decoration: underline; text-underline-offset: 3px; }

.tlc .tlc-table { width: 100%; margin: 0; border-collapse: collapse; border: 0; background: transparent; font-size: 15px; }
.tlc .tlc-table th, .tlc .tlc-table td { padding: 10px 8px 10px 0; border: 0; border-top: 1px solid var(--tlc-line-1); background: transparent; color: var(--tlc-fg-1); text-align: left; vertical-align: middle; }
.tlc .tlc-table thead th { border-top: 0; font-size: 13px; font-weight: 600; color: var(--tlc-fg-2); }
.tlc .tlc-table tbody th { font-weight: 500; }
.tlc .tlc-table .tlc-num { font-family: var(--tlc-num); font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.tlc .tlc-table .tlc-gold { color: var(--tlc-gold); }

.tlc-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tlc .tlc-pn a { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--tlc-line-1); background: var(--tlc-surface); }
.tlc .tlc-pn a:hover, .tlc .tlc-pn a:focus-visible { border-color: var(--tlc-gold); }
.tlc .tlc-pn-next { justify-content: flex-end; text-align: right; }
.tlc .tlc-pn-prev .tlc-i { transform: rotate(180deg); }
.tlc .tlc-pn .tlc-i { width: 18px; height: 18px; color: var(--tlc-gold); }
.tlc .tlc-pn a > span { display: flex; flex-direction: column; min-width: 0; }
.tlc .tlc-pn small { font-size: 13px; color: var(--tlc-fg-2); }
.tlc .tlc-pn b { font-size: 15px; font-weight: 600; }
@container tlc (max-width: 440px) {
  .tlc-pn { grid-template-columns: minmax(0, 1fr); }
  .tlc .tlc-pn-next { justify-content: flex-start; text-align: left; }
  .tlc-pn-gap { display: none; }
}

.tlc .tlc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tlc .tlc-chips li { margin: 0; padding: 0; }
.tlc .tlc-panel .tlc-chips a, .tlc .tlc-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--tlc-line-2); background: var(--tlc-sunken); color: var(--tlc-fg-1); font-size: 15px; font-weight: 500; text-decoration: none; }
.tlc .tlc-chips a:hover, .tlc .tlc-chips a:focus-visible { border-color: var(--tlc-gold); color: var(--tlc-gold-hi); }
.tlc .tlc-chips a[aria-current="page"] { border-color: var(--tlc-band-edge); background: var(--tlc-band); color: var(--tlc-gold-hi); }

.tlc-fixed-date { display: flex; align-items: center; min-height: 64px; margin-bottom: 22px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--tlc-line-2); background: var(--tlc-sunken); font-size: 19px; font-weight: 700; }
