/* Crypto license and crypto casino license trackers (/tools/crypto-license-costs/, /tools/crypto-casino-license-costs/). Loaded on those pages only. */
.lt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lt-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; color: var(--muted); font-size: .92rem; }
.lt-stats b { color: var(--text); font-weight: 600; }
.lt-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; margin-bottom: 28px; }
.lt-head .h2 { margin: 0; }
.lt-legend { max-width: 56ch; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.lt-sec { margin-left: 1px; color: var(--orange); font-weight: 600; text-decoration: none; cursor: help; }

/* Controls */
.lt-controls { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 14px 24px; align-items: center; margin-bottom: 18px; }
.lt-controls[hidden] { display: none; }
.lt-search input, .lt-selects select { border: 1px solid var(--line-strong); background-color: var(--ink-2); color: var(--text); font: inherit; border-radius: 999px; }
.lt-search input { width: 100%; padding: .8em 1.1em; }
.lt-search input:focus-visible, .lt-selects select:focus-visible, .lt-chip:focus-visible, .lt-more-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.lt-selects { grid-row: 1; grid-column: 2; display: flex; flex-wrap: wrap; gap: 12px; }
.lt-selects label { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.lt-selects select { appearance: none; padding: .7em 2.3em .7em 1em; font-size: .9rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23aaa298' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95em center; background-size: 10px; }
.lt-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.lt-chip { padding: .55em 1em; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: .88rem; cursor: pointer; transition: border-color .2s, background-color .2s; }
.lt-chip:hover { border-color: var(--text); }
.lt-chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--on-orange); font-weight: 600; }
.lt-count { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--muted); }

/* Table */
.lt-wrap { position: relative; margin: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }  /* scrolls inside its box, never the page; relative keeps the hidden header label inside it */
.lt-table td[data-label="Player KYC"] .lt-v, .lt-table td[data-label="Gaming tax"] .lt-v { white-space: normal; }  /* sentences, not figures */
.lt-table td[data-label="Player KYC"] { min-width: 150px; }
.lt-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: .9rem; line-height: 1.4; }
.lt-table thead th { padding: 12px 14px; background: var(--ink-3); text-align: left; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.lt-table tbody th, .lt-table td { padding: 16px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.lt-table tbody th { min-width: 210px; font-weight: 400; }
.lt-table tr[hidden] { display: none !important; }
.lt-j { display: block; font-size: 1rem; font-weight: 600; color: var(--text); }
.lt-reg, .lt-lic { display: block; margin-top: 2px; font-size: .82rem; color: var(--muted); }
.lt-status { display: inline-block; margin-top: 8px; padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lt-status--live { color: #8fd18f; border-color: rgba(143, 209, 143, .4); }
.lt-status--transitional, .lt-status--opening-soon { color: #ffc56b; border-color: rgba(255, 197, 107, .4); }
.lt-v { display: block; font-weight: 600; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lt-usd, .lt-basis, .lt-off { display: block; margin-top: 2px; font-size: .8rem; color: var(--muted); }
.lt-usd { font-variant-numeric: tabular-nums; }
.lt-off { margin-top: 6px; }
.lt-na { font-size: .85rem; color: var(--muted); }
.lt-acts { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; max-width: 180px; margin: 0; padding: 0; }
.lt-acts li { padding: 2px 8px; border-radius: 6px; background: var(--ink-3); font-size: .75rem; color: #ddd6cb; white-space: nowrap; }
.lt-table .lt-act { text-align: right; white-space: nowrap; }
.lt-table:not(.is-enhanced) .lt-act, #lt-table:not(.is-enhanced) thead th:last-child { display: none; }
.lt-more-btn { display: block; margin-left: auto; padding: .5em .95em; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: .82rem; cursor: pointer; }
.lt-more-btn:hover, .lt-row.is-open .lt-more-btn { border-color: var(--orange); color: var(--orange); }
.lt-cmp { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 10px; font-size: .8rem; color: var(--muted); cursor: pointer; }
.lt-cmp input { width: 16px; height: 16px; accent-color: var(--orange); }
.lt-cmp:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.lt-row.is-open > *, .lt-more > td { background: var(--ink-2); }
.lt-more > td { padding: 0 14px 24px; border-top: 0; }
.lt-more-in { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px 40px; }
.lt-dl { display: grid; gap: 10px; margin: 0; }
.lt-dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; }
.lt-dl dt, .lt-src-h { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lt-dl dt { padding-top: 2px; }
.lt-dl dd { margin: 0; font-size: .9rem; line-height: 1.5; color: #ddd6cb; }
.lt-src-h { margin: 0 0 8px; }
.lt-src ul { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; font-size: .85rem; }
.lt-src a { color: var(--orange); }
.lt-status--closed-to-new-applicants, .lt-status--contested { color: #f28b82; border-color: rgba(242, 139, 130, .4); }
/* iGaming tracker: standing tier, local substance, combined fees, one-market note */
.lt-tier, .lt-subst { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.lt-tier--1 { background: rgba(143, 209, 143, .14); color: #8fd18f; }
.lt-tier--2 { background: rgba(255, 197, 107, .14); color: #ffc56b; }
.lt-tier--3 { background: rgba(242, 139, 130, .14); color: #f28b82; }
.lt-subst { background: var(--ink-3); color: #ddd6cb; font-weight: 500; }
.lt-fee { display: block; }
.lt-fee + .lt-fee { margin-top: 10px; }
.lt-fee-l { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lt-note { margin: 0 0 36px; padding: 20px 24px; border: 1px solid rgba(252, 136, 6, .45); border-left-width: 4px; border-radius: var(--radius-sm); background: rgba(252, 136, 6, .07); }
.lt-note-h { margin: 0 0 6px; font-weight: 600; color: var(--text); }
.lt-note p:last-child { margin: 0; color: #ddd6cb; max-width: 80ch; }
.lt-note a { color: var(--orange); }
/* iGaming tracker: crypto position */
.lt-crypto { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.lt-crypto--allowed { background: rgba(143, 209, 143, .14); color: #8fd18f; }
.lt-crypto--conditional { background: rgba(255, 197, 107, .14); color: #ffc56b; }
.lt-crypto--not-addressed { background: var(--ink-3); color: var(--muted); }
.lt-crypto--prohibited { background: rgba(242, 139, 130, .14); color: #f28b82; }
.lt-empty { padding: 24px; text-align: center; color: var(--muted); }

/* Compare tray and dialog */
.lt-tray { position: sticky; bottom: 16px; z-index: 30; display: flex; align-items: center; gap: 14px; width: max-content; max-width: 100%; margin: 16px auto 0; padding: 8px 8px 8px 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(21, 18, 15, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); font-size: .9rem; }
.lt-tray[hidden] { display: none; }
.btn--sm { padding: .7em 1.15em; font-size: .88rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.lt-clear { padding: 0 8px 0 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.lt-dialog { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--ink); color: var(--text); }
.lt-dialog::backdrop { background: rgba(0, 0, 0, .72); }
.lt-dlg-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); background: var(--ink); }
.lt-dlg-head .h3 { margin: 0; font-size: 1.6rem; color: var(--text); }
.lt-x { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.lt-cmp-grid { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); }
.lt-card { padding: 22px 24px; border-left: 1px solid var(--line); }
.lt-card:first-child { border-left: 0; }
.lt-card dl { display: grid; gap: 12px; margin: 16px 0 0; }
.lt-card dl > div { padding-top: 12px; border-top: 1px solid var(--line); }
.lt-card dt { margin-bottom: 4px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lt-card dd { margin: 0; font-size: .92rem; line-height: 1.5; }
.lt-card .lt-acts { max-width: none; }
.lt-card .lt-v { white-space: normal; }

/* Takeaways, method, citation */
.lt-take li { margin-bottom: .8em; }
.lt-cite { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--paper-line); border-radius: var(--radius-sm); background: var(--paper-2); }
.section--paper .lt-src-h { color: var(--paper-muted); }
.lt-cite [data-lt-cite] { margin: 0 0 16px; font: .85rem/1.5 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
/* Method section sits on paper: .prose text defaults to the dark-theme cream, so set paper ink explicitly
   (owner saw white-on-light text here, 25 Nov 2026). */
.section--paper .lt-method p, .section--paper .lt-method li { color: var(--paper-ink); }
.section--paper .lt-method strong { color: var(--paper-ink); font-weight: 600; }
.section--paper .lt-method em { color: inherit; }
.section--paper .lt-method a { color: #b35400; }
.section--paper .lt-cite [data-lt-cite] { color: var(--paper-ink); }
.section--paper .lt-dl-btn { --fg: var(--paper-ink); color: var(--paper-ink); border-color: var(--paper-line); }
.section--paper .lt-dl-btn:hover { border-color: var(--paper-ink); }

/* Phones and small tablets: each license becomes a card */
@media (max-width: 900px) {
  .lt-controls { grid-template-columns: 1fr; }
  .lt-selects { grid-row: auto; grid-column: 1; }
  .lt-wrap { overflow: visible; border: 0; }
  .lt-table, .lt-table tbody, .lt-table tr, .lt-table tbody th, .lt-table td { display: block; min-width: 0; }
  .lt-table thead { display: none; }
  .lt-table tbody tr:not(.lt-more) { margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .lt-table tbody th, .lt-table td { padding: 0; border: 0; }
  .lt-table tbody th { padding-bottom: 10px; }
  .lt-table td[data-label] { position: relative; padding: 9px 0 9px 128px; border-top: 1px solid var(--line); }
  .lt-table td[data-label]::before { content: attr(data-label); position: absolute; left: 0; top: 11px; width: 116px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .lt-v { white-space: normal; }
  .lt-acts { max-width: none; }
  .lt-table .lt-act { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); text-align: left; }
  .lt-more-btn { margin-left: 0; }
  .lt-cmp { margin-top: 0; }
  .lt-row.is-open { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .lt-row.is-open > * { background: transparent; }
  .lt-row.is-open, .lt-table tr.lt-more { background: var(--ink-2); }
  .lt-table tr.lt-more { padding: 4px 16px 16px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .lt-more > td { padding: 0; background: transparent; }
  .lt-more-in { grid-template-columns: 1fr; }
  .lt-dl > div { grid-template-columns: 1fr; gap: 2px; }
  .lt-cmp-grid { grid-template-columns: 1fr; }
  .lt-card { border-left: 0; border-top: 1px solid var(--line); }
  .lt-card:first-child { border-top: 0; }
}
@media (max-width: 420px) {
  .lt-table td[data-label] { padding-left: 0; padding-top: 26px; }
  .lt-table td[data-label]::before { top: 8px; }
}
/* Preview only: on phones the draft banner turns static (site.css) and slid under the fixed header. Start it below the
   header and drop the hero's own header clearance, which the banner now provides. Gone at launch with the banner. */
@media (max-width: 720px) {
  .draft-banner { margin-top: var(--header-h); }
  .draft-banner + .page-hero { padding-top: clamp(40px, 9vw, 120px); }
}
/* /tools/ hub: hero with a live tracker card (rows come from the iGaming data at build time) */
.cards--1 { grid-template-columns: 1fr; }
.th-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.th-hero .lede { max-width: 54ch; }
.th-card { position: relative; border: 1px solid var(--line-strong); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(252, 136, 6, .08); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.th-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.th-live { margin-left: auto; color: var(--orange); }
.th-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: th-pulse 2.4s ease-out infinite; }
.th-rows { position: relative; }
.th-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto auto 9.5ch; gap: 10px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .9rem; opacity: 0; transform: translateY(8px); animation: th-in .55s var(--ease, ease) forwards; animation-delay: calc(var(--i) * 110ms + 250ms); }
.th-row .lt-tier, .th-row .lt-crypto { font-size: .68rem; padding: 2px 8px; }
.th-j { color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-v { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.th-v small { color: var(--muted); font-size: .72em; margin-left: 2px; }
.th-scan { position: absolute; left: 0; right: 0; top: 0; height: 47px; background: linear-gradient(90deg, rgba(252, 136, 6, 0), rgba(252, 136, 6, .14), rgba(252, 136, 6, 0)); animation: th-scan 7s ease-in-out 1.2s infinite; pointer-events: none; }
.th-foot { display: flex; justify-content: space-between; padding: 12px 18px; color: var(--muted); font-size: .75rem; }
@keyframes th-in { to { opacity: 1; transform: none; } }
@keyframes th-pulse { 0% { box-shadow: 0 0 0 0 rgba(252, 136, 6, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(252, 136, 6, 0); } }
@keyframes th-scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(235px); } }
@media (max-width: 900px) {
  .th-hero .wrap { grid-template-columns: 1fr; }
  .th-card { transform: none; }
}
@media (max-width: 480px) {
  .th-row { grid-template-columns: minmax(0, 1fr) auto 9ch; }
  .th-row .lt-crypto { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .th-row { opacity: 1; transform: none; animation: none; }
  .th-scan, .th-dot { animation: none; }
}

