/* The approved comparison table is scoped to licensed bookmakers. */
.cat-licensed .licensed-table-wrap { min-width: 0; }
.cat-licensed .licensed-table-scroll { position: relative; width: 100%; overflow: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--muted) var(--surface-soft); border-block: 1px solid var(--border); }
.cat-licensed .licensed-table-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.cat-licensed .licensed-table { width: 100%; min-width: 1080px; table-layout: fixed; border-collapse: separate; border-spacing: 0; text-align: left; font-size: 13px; line-height: 1.5; color: var(--text); }
.cat-licensed .licensed-col-brand { width: 17%; }
.cat-licensed .licensed-col-margin { width: 6.5%; }
.cat-licensed .licensed-col-amount { width: 12%; }
.cat-licensed .licensed-col-type { width: 10.5%; }
.cat-licensed .licensed-col-conditions { width: 29%; }
.cat-licensed .licensed-col-expiry { width: 9.5%; }
.cat-licensed .licensed-col-action { width: 15.5%; }
.cat-licensed .licensed-table thead th { padding: 17px 10px; background: var(--surface-soft); font-size: 12px; font-weight: 500; color: var(--muted); vertical-align: middle; }
.cat-licensed .licensed-table thead th:first-child { padding-left: 16px; }
.cat-licensed .licensed-table tbody th,
.cat-licensed .licensed-table tbody td { padding: 20px 10px; vertical-align: top; border-bottom: 1px solid var(--border); background: var(--bg); transition: background-color .15s ease-out; }
.cat-licensed .licensed-table tbody th { padding-left: 16px; font-weight: 600; }
.cat-licensed .licensed-table tbody tr:last-child > * { border-bottom: 0; }
.cat-licensed .licensed-table tbody tr:hover > * { background: var(--surface); }
.cat-licensed .licensed-table tr[hidden] { display: none; }
.cat-licensed .licensed-table-brand { position: relative; display: flex; align-items: center; min-height: 48px; }
.cat-licensed .licensed-table-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 144px; width: 144px; height: 48px; padding: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.cat-licensed .licensed-table-logo img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
/* Theme-specific artwork keeps brand colors; light originals stay unchanged. */
.cat-licensed .licensed-table-logo .licensed-table-logo-image--dark { display: none; }
.dark .cat-licensed .licensed-table-logo .licensed-table-logo-image--light { display: none; }
.dark .cat-licensed .licensed-table-logo .licensed-table-logo-image--dark { display: block; }
.cat-licensed .licensed-table-logo[data-logo-surface="dark"],
.dark .cat-licensed .licensed-table-logo[data-logo-surface="dark"] { background: #191a20; border-radius: 6px; }
.cat-licensed .licensed-table-number,
.cat-licensed .licensed-table-amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cat-licensed .licensed-table-number { font-size: 14px; font-weight: 500; padding-top: 26px; }
.cat-licensed .licensed-table-amount { display: block; margin-bottom: 5px; font-size: 18px; font-weight: 650; line-height: 1.35; letter-spacing: -.02em; }
.cat-licensed .licensed-table-meta { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }
.cat-licensed .licensed-table-status { display: block; margin-top: 7px; color: var(--text); font-size: 11px; line-height: 1.4; }
.cat-licensed .licensed-table-type { font-size: 12px; padding-top: 26px; overflow-wrap: anywhere; }
.cat-licensed .licensed-table-conditions p { margin: 0 0 6px; }
.cat-licensed .licensed-table-conditions .licensed-table-eligibility { color: var(--text); font-size: 12px; }
.cat-licensed .licensed-table-details { margin-top: 8px; }
.cat-licensed .licensed-table-details summary { width: fit-content; color: var(--muted); font-size: 12px; cursor: pointer; text-underline-offset: 3px; }
.cat-licensed .licensed-table-details summary:hover { color: var(--text); }
.cat-licensed .licensed-table-details > div { padding-top: 10px; }
.cat-licensed .licensed-table-details p { font-size: 12px; margin-bottom: 10px; }
.cat-licensed .licensed-table-sources { display: flex; gap: 8px 16px; flex-wrap: wrap; }
.cat-licensed .licensed-table-sources a { font-size: 12px; color: var(--sb-link); text-underline-offset: 3px; }
.cat-licensed .licensed-table-expiry { padding-top: 26px; font-size: 12px; }
.cat-licensed .licensed-table-expiry-content { display: block; }
.cat-licensed .licensed-table-action { padding-right: 16px; padding-top: 20px; }
.cat-licensed .licensed-table-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 42px; padding: 10px 8px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.35; text-decoration: none; white-space: nowrap; }
.cat-licensed .licensed-table-cta svg { width: 15px; height: 15px; flex: 0 0 15px; }
.cat-licensed .licensed-table-cta:hover { background: var(--accent-hover); }
.cat-licensed .licensed-table-site { display: inline-flex; min-height: 42px; align-items: center; color: var(--text); font-size: 12px; text-underline-offset: 4px; }
.cat-licensed .licensed-table :is(a,summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.cat-licensed .licensed-table-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.cat-licensed .licensed-table-mobile-note { display: none; margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.cat-licensed .licensed-catalog-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.cat-licensed .licensed-catalog-meta .platform-demo-note { margin: 0; }
.cat-licensed #platform-result-count.platform-demo-note { color: #fff; background: #721cff; }
.cat-licensed .licensed-check-date { margin: 0; color: var(--muted); font-size: 12px; }
.cat-licensed .licensed-check-date a { color: inherit; text-underline-offset: 3px; }
.dark .cat-licensed .licensed-table-cta { background: #7950e9; }
.dark .cat-licensed .licensed-table-cta:hover { background: #815bed; }
@media (max-width: 1430px) {
  .cat-licensed .licensed-table :is(th,td):first-child { position: sticky; left: 0; z-index: 1; border-right: 1px solid var(--border); }
  .cat-licensed .licensed-table thead th:first-child { z-index: 2; }
  .cat-licensed .licensed-table-mobile-note { display: block; }
}
@media (max-width: 600px) {
  .cat-licensed .licensed-table { min-width: 1060px; }
  .cat-licensed .licensed-col-brand { width: 144px; }
  .cat-licensed .licensed-col-conditions { width: 310px; }
  .cat-licensed .licensed-table-logo { width: 122px; height: 40px; flex-basis: 122px; }
  .cat-licensed .licensed-table :is(th,td):first-child { padding-left: 8px; }
  .cat-licensed .licensed-table-type,
  .cat-licensed .licensed-table-conditions,
  .cat-licensed .licensed-table-expiry { overflow-wrap: anywhere; word-break: normal; }
  .cat-licensed .licensed-table-scroll[data-expiry-occluded] .licensed-table-expiry-content { opacity: 0; pointer-events: none; }
  .cat-licensed .licensed-table-cta { min-height: 44px; }
  .cat-licensed .licensed-catalog-meta { align-items: flex-start; }
}
@media (max-width: 359px) {
  .cat-licensed .licensed-table-cta { width: 116px; max-width: 100%; margin-left: auto; padding-inline: 5px; gap: 4px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .cat-licensed .licensed-table tbody tr > * { transition: none; } }

/* Approved mobile cards share the same 15 rows and the existing catalogue filter. */
.cat-licensed .licensed-mobile-card { display: none; }
@media (max-width: 600px) {
  .cat-licensed .licensed-table-mobile-note,
  .cat-licensed .licensed-table > caption,
  .cat-licensed .licensed-table > colgroup,
  .cat-licensed .licensed-table > thead,
  .cat-licensed .licensed-table tbody tr > td,
  .cat-licensed .licensed-table tbody tr > th > .licensed-table-brand { display: none; }
  .cat-licensed .licensed-table-scroll { overflow: visible; border: 0; }
  .cat-licensed .licensed-table { display: block; width: 100%; min-width: 0; }
  .cat-licensed .licensed-table > tbody { display: grid; width: 100%; gap: 16px; }
  .cat-licensed .licensed-table tbody > tr { display: block; }
  .cat-licensed .licensed-table tbody tr > th:first-child { display: block; position: static; left: auto; z-index: auto; width: 100%; padding: 0; border: 0; background: transparent; font-weight: 400; }
  .cat-licensed .licensed-mobile-card { display: block; min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); font: 400 14px/1.5 Inter, Arial, sans-serif; }
  .cat-licensed .licensed-mobile-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
  .cat-licensed .licensed-mobile-brand { display: flex; align-items: center; min-width: 0; height: 36px; margin: 0; font-size: 16px; line-height: 1; }
  .cat-licensed .licensed-mobile-brand .licensed-table-logo { width: 146px; height: 36px; flex-basis: 146px; }
  .cat-licensed .licensed-mobile-margin { display: flex; align-items: baseline; gap: 6px; flex-shrink: 0; margin: 0; color: var(--muted); font-size: 12px; }
  .cat-licensed .licensed-mobile-margin strong { color: var(--text); font-size: 14px; font-weight: 500; font-variant-numeric: normal; }
  .cat-licensed .licensed-mobile-specs { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; margin: 0; }
  .cat-licensed .licensed-mobile-specs > div { min-width: 0; }
  .cat-licensed .licensed-mobile-specs dt { margin-bottom: 3px; color: var(--muted); font-size: 12px; line-height: 1.5; }
  .cat-licensed .licensed-mobile-specs dd { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 500; font-variant-numeric: normal; overflow-wrap: break-word; }
  .cat-licensed .licensed-mobile-period-note { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
  .cat-licensed .licensed-mobile-receipt { margin-top: 8px; }
  .cat-licensed .licensed-mobile-receipt-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
  .cat-licensed .licensed-mobile-receipt-head h3 { margin: 0; font-size: 13px; line-height: 1.5; font-weight: 600; letter-spacing: normal; }
  .cat-licensed .licensed-mobile-more { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; min-height: 44px; min-width: 82px; padding: 10px 0 10px 6px; border: 0; background: transparent; color: var(--muted); font: 400 13px/1.5 Inter, Arial, sans-serif; }
  .cat-licensed .licensed-mobile-more svg { width: 16px; height: 16px; flex-shrink: 0; }
  .cat-licensed .licensed-mobile-more:hover { color: var(--text); }
  .cat-licensed .licensed-mobile-more[aria-expanded="true"] svg { transform: rotate(180deg); }
  .cat-licensed .licensed-mobile-copy { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: break-word; }
  .cat-licensed .licensed-mobile-requirement { margin: 5px 0 0; font-size: 13px; line-height: 1.5; font-weight: 500; }
  .cat-licensed .licensed-mobile-keep { white-space: nowrap; }
  .cat-licensed .licensed-mobile-panel { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
  .cat-licensed .licensed-mobile-panel p { margin: 0; }
  .cat-licensed .licensed-mobile-panel p + p { margin-top: 10px; }
  .cat-licensed .licensed-mobile-sources { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
  .cat-licensed .licensed-mobile-sources a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-size: 12px; }
  .cat-licensed .licensed-mobile-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: .28em; row-gap: 0; width: 100%; min-height: 46px; margin-top: 16px; padding: 12px 10px; border-radius: 10px; background: var(--accent); color: #fff; font: 500 14px/1.5 Inter, Arial, sans-serif; font-variant-numeric: normal; font-feature-settings: normal; text-decoration: none; white-space: normal; }
  .cat-licensed .licensed-mobile-cta-amount { font: inherit; letter-spacing: normal; font-variant-numeric: normal; font-feature-settings: normal; }
  .cat-licensed .licensed-mobile-cta:hover { background: var(--accent-hover); }
  .cat-licensed .licensed-mobile-card :is(a,button):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
  .dark .cat-licensed .licensed-mobile-cta { background: #7950e9; }
  .dark .cat-licensed .licensed-mobile-cta:hover { background: #815bed; }
}
@media (max-width: 359px) {
  .cat-licensed .licensed-mobile-card { padding: 14px; }
  .cat-licensed .licensed-mobile-brand .licensed-table-logo { width: 132px; flex-basis: 132px; }
  .cat-licensed .licensed-mobile-head { gap: 12px; }
  .cat-licensed .licensed-mobile-specs { gap: 14px; }
  .cat-licensed .licensed-mobile-cta { padding-inline: 8px; }
}
@media (forced-colors: active) {
  .cat-licensed .licensed-mobile-cta { border: 1px solid ButtonText; }
  .cat-licensed .licensed-mobile-card { border-color: CanvasText; }
}

/* Keep the claim action in view; collapse secondary fields into the same rules. */
@media (min-width: 601px) {
  .cat-licensed .licensed-table-wrap { container: licensed-comparison / inline-size; }
  .cat-licensed .licensed-table { min-width: 0; }
  .cat-licensed .licensed-table-mobile-note { display: none; }
  .cat-licensed .licensed-table :is(th,td):first-child { position: static; left: auto; z-index: auto; border-right: 0; }
  .cat-licensed .licensed-table-collapsed-specs,
  .cat-licensed .licensed-table-collapsed-copy { display: none; }

  @container licensed-comparison (max-width: 1079px) {
    .cat-licensed .licensed-col-type,
    .cat-licensed .licensed-col-expiry,
    .cat-licensed .licensed-table tr > :nth-child(4),
    .cat-licensed .licensed-table tr > :nth-child(6) { display: none; }
    .cat-licensed .licensed-col-brand { width: 172px; }
    .cat-licensed .licensed-col-margin { width: 72px; }
    .cat-licensed .licensed-col-amount { width: 124px; }
    .cat-licensed .licensed-col-conditions { width: auto; }
    .cat-licensed .licensed-col-action { width: 166px; }
    .cat-licensed .licensed-table-conditions { overflow-wrap: anywhere; }
    .cat-licensed .licensed-table-collapsed-specs { display: block; margin: 0 0 12px; font-size: 12px; }
    .cat-licensed .licensed-table-collapsed-specs > div { margin-bottom: 8px; }
    .cat-licensed .licensed-table-collapsed-specs dt { color: var(--muted); }
    .cat-licensed .licensed-table-collapsed-specs dd { margin: 0; }
    .cat-licensed .licensed-table-collapsed-specs > .licensed-table-collapsed-margin { display: none; }
  }

  @container licensed-comparison (max-width: 759px) {
    .cat-licensed .licensed-col-margin,
    .cat-licensed .licensed-table tr > :nth-child(2),
    .cat-licensed .licensed-table-conditions > p { display: none; }
    .cat-licensed .licensed-col-brand { width: 148px; }
    .cat-licensed .licensed-col-amount { width: 116px; }
    .cat-licensed .licensed-table-brand .licensed-table-logo { width: 122px; flex-basis: 122px; }
    .cat-licensed .licensed-table-details { margin-top: 0; }
    .cat-licensed .licensed-table-details summary { padding-block: 12px; }
    .cat-licensed .licensed-table-collapsed-specs > .licensed-table-collapsed-margin,
    .cat-licensed .licensed-table-collapsed-copy { display: block; }
  }
}
