/* =========================================================================
   UK Casino Toplist — final visual layer (loaded last, after toplist.css and
   rank-fix.css). Every rule is scoped to body .uktl and uses !important, so no
   other sheet can shear the ranking apart.

   The ranking is ONE column of full horizontal rows, one band 96–114px tall:
   Rank | Logo tile | Brand + offer + terms | Figures | Button
   The long terms live in a closed <details> pinned to the row's right foot.
   ========================================================================= */

body .uktl {
  --nb-ink: #10261F;
  --nb-felt: #1F5A45;
  --nb-felt-deep: #12382B;
  --nb-accent: #C85A18;          /* terracotta: the button and the lead row, nothing else */
  --nb-accent-deep: #8F3B06;
  --nb-paper: #FBFCF8;
  --nb-rule: #C9D6CE;
  --nb-muted: #3E5449;
  --nb-serif: "Literata", Georgia, "Times New Roman", serif;
  --nb-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- 1. ONE paid-placement sentence, in body type, above the list ---- */
/* The wrapper starts flush with the column above it, so the block's top edge
   clears the 600px budget even on a page with a long standfirst. */
body .uktl {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body .uktl > *:first-child { margin-top: 0 !important; }
body .uktl > h2.nb-toplist__title { margin: 0 0 6px !important; padding-top: 0 !important; }
body .uktl > p.nb-small,
body .uktl > p.nb-toplist__note { margin: 0 0 6px !important; }
body .uktl p.uktl-paid,
body .uktl p.nb-paid,
body .uktl p.uk-paid,
body .uktl p.nb-rank__disclosure,
body .uktl p.uk-paid.nb-rank__disclosure {
  display: block !important; width: 100% !important; max-width: none !important;
  margin: 0 0 6px !important; padding: 0 !important;
  font-family: var(--nb-sans) !important; font-size: 13px !important;
  line-height: 1.3 !important; color: #34483F !important;
  background: transparent !important; border: 0 !important;
  border-radius: 0 !important; box-shadow: none !important; opacity: 1 !important;
}
body .uktl p.uk-paid strong { color: #10261F !important; font-weight: 700 !important; }
body .uktl p.nb-rank__caption { display: none !important; }

/* ---------- 2. The list: one track at every width, never a card rack ------ */
body .uktl ol.uktl-board,
body .uktl ol.nb-rank {
  display: grid !important; grid-template-columns: minmax(0, 1fr) !important;
  gap: 6px !important; width: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 0 !important; list-style: none !important;
}
body .uktl ol.uktl-board > li.uktl-row {
  position: relative !important; display: grid !important;
  grid-template-columns: 30px 104px minmax(0, 1fr) 194px 190px !important;
  grid-template-rows: auto !important;
  grid-template-areas: "pos logo head side go" !important;
  column-gap: 12px !important; row-gap: 0 !important; align-items: center !important;
  width: 100% !important; max-width: 100% !important;
  min-height: 0 !important; height: auto !important; max-height: none !important;
  margin: 0 !important; padding: 8px 16px !important; box-sizing: border-box !important;
  overflow: visible !important;
  background: var(--nb-paper) !important;
  border: 1px solid var(--nb-rule) !important; border-left: 3px solid transparent !important;
  border-radius: 9px !important;
  box-shadow: 0 1px 0 rgba(16, 38, 31, 0.04) !important;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease !important;
}
body .uktl ol.uktl-board > li.uktl-row:hover {
  background: #FFFFFF !important; border-color: #A9C0B2 !important;
  box-shadow: 0 10px 20px -16px rgba(16, 38, 31, .55) !important;
}
body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--first {
  background: #FFFCF4 !important; border-color: #E8D3A6 !important;
  border-left: 3px solid var(--nb-accent) !important;
  box-shadow: 0 0 0 1px rgba(200, 90, 24, .18), 0 12px 22px -20px rgba(200, 90, 24, .7) !important;
}
body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--hidden { display: none !important; }
body .uktl ol.uktl-board.is-open > li.uktl-row.nb-rank__item--hidden { display: grid !important; }

/* ---------- 3. Rank ------------------------------------------------------ */
body .uktl .nb-rank__pos {
  grid-area: pos !important; align-self: center !important; justify-self: center !important;
  display: grid !important; place-items: center !important;
  width: 26px !important; height: 26px !important; border-radius: 7px !important;
  background: #EAF1EC !important; color: #1C4436 !important;
  font-family: var(--nb-sans) !important; font-weight: 700 !important;
  font-size: 13px !important; line-height: 1 !important;
  font-variant-numeric: tabular-nums !important;
  box-shadow: inset 0 0 0 1px #CBDBD2 !important;
}
body .uktl li.nb-rank__item--first .nb-rank__pos {
  background: var(--nb-accent) !important; color: #FFF7EE !important;
  box-shadow: inset 0 0 0 1px var(--nb-accent-deep) !important;
}

/* ---------- 4. Logo tile: the operator's own file, contain-fit ------------ */
body .uktl a.nb-rank__logo,
body .uktl .nb-rank__logo {
  grid-area: logo !important; position: relative !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 104px !important; min-width: 104px !important; height: 52px !important;
  padding: 4px 6px !important; box-sizing: border-box !important;
  background-color: var(--logo-bg, #1F5A45) !important; background-image: none !important;
  border-radius: 7px !important; overflow: hidden !important; text-decoration: none !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18) !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}
body .uktl a.nb-rank__logo:hover {
  transform: translateY(-1px) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 8px 16px -12px rgba(0, 0, 0, .6) !important;
}
body .uktl .nb-rank__logo img {
  display: block !important;
  width: 92px !important; min-width: 62px !important; max-width: 92px !important;
  height: 44px !important; min-height: 22px !important; max-height: 44px !important;
  object-fit: contain !important; object-position: center !important;
  filter: none !important; mix-blend-mode: normal !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important;
}
body .uktl .nb-rank__logo .nb-rank__wordmark {
  display: block !important; color: #F6FBF8 !important;
  font-family: var(--nb-serif) !important; font-weight: 700 !important;
  font-size: 14px !important; line-height: 1.1 !important; text-align: center !important;
}

/* ---------- 5. Brand, offer and the one line of terms --------------------- */
body .uktl .nb-rank__head {
  grid-area: head !important; min-width: 0 !important;
  overflow: visible !important; align-self: center !important;
}
body .uktl .nb-rank__name {
  margin: 0 !important; font-family: var(--nb-serif) !important;
  font-weight: 700 !important; font-size: 16px !important; line-height: 1.15 !important;
  letter-spacing: -.01em !important; color: var(--nb-ink) !important;
  white-space: nowrap !important; overflow: visible !important;
  text-overflow: clip !important; max-height: none !important;
}
body .uktl li.nb-rank__item--first .nb-rank__name,
body .uktl li.nb-rank__item--first .nb-rank__name a { color: var(--nb-accent-deep) !important; }
body .uktl .nb-rank__name a { color: inherit !important; text-decoration: none !important; }
body .uktl .nb-rank__name a:hover { text-decoration: underline !important; text-underline-offset: 2px !important; }
body .uktl .nb-rank__offer {
  margin: 1px 0 0 !important; font-family: var(--nb-sans) !important;
  font-size: 12.5px !important; line-height: 1.22 !important; font-weight: 620 !important;
  color: #16302A !important; white-space: nowrap !important;
  overflow: visible !important; text-overflow: clip !important; max-height: none !important;
}
/* The terms line: three short pairs, never clipped and never a second line. */
body .uktl .nb-rank__facts {
  display: flex !important; flex-wrap: wrap !important; gap: 0 6px !important;
  margin: 2px 0 0 !important; padding: 0 !important;
  font-family: var(--nb-sans) !important; font-size: 11px !important;
  line-height: 1.25 !important; color: #44564C !important;
  white-space: normal !important; overflow: visible !important; max-height: none !important;
}
body .uktl .nb-rank__facts span { white-space: nowrap !important; max-width: 100% !important; }
body .uktl .nb-rank__facts span + span::before {
  content: "·" !important; margin-right: .35rem !important; color: #93A79B !important;
}

/* ---------- 6. Figures: the largest type in the row, tabular -------------- */
body .uktl .nb-rank__side {
  grid-area: side !important; display: flex !important; align-items: center !important;
  justify-content: flex-end !important; min-width: 0 !important; align-self: center !important;
}
body .uktl .nb-rank__stats {
  display: flex !important; align-items: stretch !important; justify-content: center !important;
  gap: 0 !important; background: #EEF4EF !important; border: 1px solid #D2DED6 !important;
  border-radius: 7px !important; box-shadow: none !important; overflow: visible !important;
}
body .uktl .nb-rank__stats > div {
  display: flex !important; flex-direction: column !important;
  align-items: center !important; justify-content: center !important; gap: 1px !important;
  min-width: 0 !important; padding: 3px 9px !important; text-align: center !important;
}
body .uktl .nb-rank__stats > div + div { border-left: 1px solid #D2DED6 !important; }
body .uktl .nb-rank__stats small {
  display: block !important; margin: 0 !important; font-family: var(--nb-sans) !important;
  font-size: 8.5px !important; line-height: 1.05 !important; font-weight: 700 !important;
  letter-spacing: .06em !important; text-transform: uppercase !important;
  color: #4A6156 !important; background: transparent !important; white-space: nowrap !important;
}
body .uktl .nb-rank__stats strong {
  display: block !important; margin: 0 !important; font-family: var(--nb-serif) !important;
  font-size: 24px !important; line-height: 1 !important; font-weight: 700 !important;
  color: #12382B !important; font-variant-numeric: tabular-nums !important;
  letter-spacing: -.02em !important; white-space: nowrap !important; text-shadow: none !important;
}
body .uktl li.nb-rank__item--first .nb-rank__stats strong { color: var(--nb-accent-deep) !important; }

/* ---------- 7. Action: the painted CTA, then the age line, nothing else --- */
body .uktl .nb-rank__go {
  grid-area: go !important; display: grid !important; gap: 3px !important;
  justify-items: stretch !important; width: 100% !important;
  min-width: 0 !important; align-self: center !important;
}
body .uktl a.uktl-cta,
body .uktl a.nb-rank__cta {
  display: inline-flex !important; align-items: center !important;
  justify-content: center !important; gap: 6px !important;
  width: 100% !important; min-width: 160px !important; min-height: 44px !important;
  box-sizing: border-box !important; padding: 11px 15px !important;
  background: var(--nb-accent) !important;
  background-image: linear-gradient(180deg, #D96A24 0%, #C85A18 58%, #B04D10 100%) !important;
  color: #FFF7EF !important; border: 2px solid var(--nb-accent-deep) !important;
  border-radius: 8px !important; font-family: var(--nb-sans) !important;
  font-size: 17px !important; font-weight: 800 !important; line-height: 1.1 !important;
  letter-spacing: .005em !important; text-align: center !important;
  text-decoration: none !important; text-shadow: 0 1px 0 rgba(80, 30, 0, .45) !important;
  box-shadow: 0 4px 0 var(--nb-accent-deep), 0 12px 18px -12px rgba(143, 59, 6, .85) !important;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease !important;
}
body .uktl a.uktl-cta span,
body .uktl a.nb-rank__cta span {
  color: #FFF7EF !important; font-size: 17px !important;
  font-weight: 800 !important; line-height: 1.1 !important; opacity: 1 !important;
}
body .uktl a.uktl-cta svg,
body .uktl a.nb-rank__cta svg {
  flex: 0 0 auto !important; width: 17px !important; height: 17px !important;
  fill: none !important; stroke: currentColor !important; stroke-width: 2.4 !important;
  stroke-linecap: round !important; stroke-linejoin: round !important;
  transition: transform .15s ease !important;
}
body .uktl a.uktl-cta:hover,
body .uktl a.nb-rank__cta:hover {
  background: #D96A24 !important;
  background-image: linear-gradient(180deg, #E47A33 0%, #D96A24 58%, #C05A16 100%) !important;
  border-color: #7A3204 !important; color: #FFFFFF !important;
  transform: translate(3px, 3px) !important;
  box-shadow: 0 1px 0 var(--nb-accent-deep), 0 6px 12px -10px rgba(143, 59, 6, .9) !important;
}
body .uktl a.uktl-cta:hover svg,
body .uktl a.nb-rank__cta:hover svg { transform: translateX(3px) !important; }
body .uktl a.uktl-cta:active,
body .uktl a.nb-rank__cta:active {
  background: #A8470C !important; background-image: none !important;
  border-color: #6E2C03 !important; transform: translate(6px, 6px) !important;
  box-shadow: 0 0 0 var(--nb-accent-deep) !important;
}
body .uktl a.uktl-cta:focus-visible,
body .uktl a.nb-rank__cta:focus-visible {
  outline: 3px solid #12382B !important; outline-offset: 3px !important;
}
body .uktl .nb-rank__tc {
  margin: 0 !important; padding: 0 !important; border: 0 !important;
  background: transparent !important; box-shadow: none !important; border-radius: 0 !important;
  font-family: var(--nb-sans) !important; font-size: 10.5px !important;
  line-height: 1.2 !important; font-weight: 600 !important; color: #4A5F54 !important;
  text-align: center !important; white-space: nowrap !important; opacity: 1 !important;
}

/* ---------- 8. The expander: one line, closed, never a second button ------ */
body .uktl .nb-rank__more {
  align-self: stretch !important; justify-self: end !important;
  width: auto !important; min-width: 0 !important; margin: 0 !important;
  padding: 0 !important; border: 0 !important; background: transparent !important;
}
body .uktl .nb-rank__more:not([open]) > :not(summary) { display: none !important; }
body .uktl .nb-rank__more:not([open]) {
  position: absolute !important; right: 16px !important; bottom: 5px !important;
  height: 18px !important; width: auto !important;
  overflow: visible !important; white-space: nowrap !important;
}
body .uktl .nb-rank__more summary {
  display: inline-flex !important; align-items: center !important;
  justify-content: center !important; gap: 4px !important; box-sizing: border-box !important;
  width: auto !important; max-width: none !important;
  height: 18px !important; min-height: 0 !important; max-height: 18px !important;
  padding: 0 7px !important; border: 1px solid #CBD9D0 !important;
  border-radius: 9px !important; background: #F1F6F2 !important;
  font-family: var(--nb-sans) !important; font-size: 10.5px !important;
  line-height: 1 !important; font-weight: 700 !important; color: #1F4A3A !important;
  white-space: nowrap !important; overflow: visible !important;
  cursor: pointer !important; list-style: none !important;
  transition: background-color .15s ease, border-color .15s ease !important;
}
body .uktl .nb-rank__more summary::-webkit-details-marker { display: none !important; }
body .uktl .nb-rank__more summary::marker { content: "" !important; }
body .uktl .nb-rank__more-label { display: inline !important; white-space: nowrap !important; }
body .uktl .nb-rank__more summary::after {
  content: "\25BE" !important; font-size: 8px !important;
  line-height: 1 !important; color: #5A7168 !important;
}
body .uktl .nb-rank__more[open] summary::after { content: "\25B4" !important; }
body .uktl .nb-rank__more summary:hover { background: #E4EFE7 !important; border-color: #1F5A45 !important; }
body .uktl .nb-rank__more summary:focus-visible { outline: 2px solid #1F5A45 !important; outline-offset: 2px !important; }
body .uktl .nb-rank__more[open] {
  position: static !important; grid-column: 1 / -1 !important; width: 100% !important;
  height: auto !important; overflow: visible !important; margin: 8px 0 0 !important;
  padding-top: 8px !important; border-top: 1px dashed #CBD9D0 !important;
}
body .uktl .nb-rank__more[open] summary {
  width: auto !important; height: auto !important; max-height: none !important;
  padding: 2px 0 !important; border-color: transparent !important; background: transparent !important;
}
body .uktl .nb-rank__more-body {
  padding: 6px 0 !important; font-family: var(--nb-sans) !important;
  font-size: 13.5px !important; line-height: 1.5 !important; color: #23392F !important;
}
body .uktl .nb-rank__sum { margin: 0 0 8px !important; font-size: 14px !important; color: #23392F !important; }
body .uktl .nb-rank__verdict { margin: 0 0 10px !important; color: var(--nb-ink) !important; }
body .uktl .nb-rank__cols { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px 24px !important; }
body .uktl .nb-rank__cols h4 { margin: 0 0 6px !important; font-family: var(--nb-serif) !important; font-size: 15px !important; font-weight: 700 !important; color: var(--nb-ink) !important; }
body .uktl .nb-rank__dl { margin: 0 0 8px !important; }
body .uktl .nb-rank__dl > div { display: grid !important; grid-template-columns: 8rem minmax(0, 1fr) !important; gap: 8px !important; padding: 4px 0 !important; border-bottom: 1px solid #E2EAE4 !important; }
body .uktl .nb-rank__dl dt { margin: 0 !important; font-size: 13px !important; font-weight: 600 !important; color: #4A5F54 !important; }
body .uktl .nb-rank__dl dd { margin: 0 !important; font-size: 13.5px !important; color: #1E322A !important; }
body .uktl .nb-rank__terms { margin: 0 !important; font-size: 12.5px !important; color: #4A5F54 !important; }
body .uktl .nb-rank__lic { margin: 0 0 8px !important; font-size: 13.5px !important; }
body .uktl .nb-rank__lic--off { color: #7C3220 !important; }
body .uktl .nb-rank__pc ul { list-style: none !important; margin: 0 0 6px !important; padding: 0 !important; font-size: 13.5px !important; }
body .uktl .nb-rank__pc li { position: relative !important; margin: 0 0 3px !important; padding-left: 16px !important; }
body .uktl .nb-rank__pc li::before { position: absolute !important; left: 0 !important; top: 0 !important; font-weight: 700 !important; }
body .uktl .nb-rank__pros li::before { content: "+" !important; color: #1F5A45 !important; }
body .uktl .nb-rank__cons li::before { content: "\2013" !important; color: #B4432F !important; }
body .uktl .nb-rank__toggle {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  margin: 10px 0 4px !important; padding: 8px 16px !important;
  border: 1px solid #CBD9D0 !important; border-radius: 999px !important;
  background: #FFFFFF !important; font-family: var(--nb-sans) !important;
  font-size: 14px !important; font-weight: 700 !important; color: #12382B !important;
  cursor: pointer !important;
}

/* ---------- 9. 1181–1400px: the same band, narrower fixed tracks --------- */
@media (max-width: 1400px) {
  body .uktl ol.uktl-board > li.uktl-row {
    grid-template-columns: 28px 96px minmax(0, 1fr) 176px 174px !important;
    column-gap: 11px !important; padding: 8px 14px !important;
  }
  body .uktl a.nb-rank__logo,
  body .uktl .nb-rank__logo { width: 96px !important; min-width: 96px !important; height: 48px !important; }
  body .uktl .nb-rank__logo img { width: 84px !important; max-width: 84px !important; height: 40px !important; max-height: 40px !important; min-width: 62px !important; }
  body .uktl .nb-rank__stats strong { font-size: 22px !important; }
  body .uktl a.uktl-cta, body .uktl a.nb-rank__cta { font-size: 17px !important; padding: 10px 12px !important; }
  body .uktl a.uktl-cta span, body .uktl a.nb-rank__cta span { font-size: 17px !important; }
  body .uktl .nb-rank__more:not([open]) { right: 14px !important; }
}

/* ---------- 10. Tablet 781–1180px: brand and figures on top, button below - */
@media (max-width: 1180px) {
  body .uktl ol.uktl-board > li.uktl-row {
    grid-template-columns: 28px 104px minmax(0, 1fr) 196px !important;
    grid-template-areas: "pos logo head side" "pos logo go go" !important;
    column-gap: 12px !important; row-gap: 5px !important; padding: 8px 12px !important;
  }
  body .uktl .nb-rank__head { align-self: start !important; }
  body .uktl .nb-rank__side { align-self: start !important; }
  body .uktl .nb-rank__stats strong { font-size: 22px !important; }
  body .uktl .nb-rank__go {
    grid-area: go !important; display: flex !important;
    align-items: center !important; gap: 9px !important; width: 100% !important;
  }
  body .uktl a.uktl-cta, body .uktl a.nb-rank__cta {
    width: auto !important; min-width: 176px !important; min-height: 44px !important;
    padding: 10px 14px !important; font-size: 17px !important;
  }
  body .uktl a.uktl-cta span, body .uktl a.nb-rank__cta span { font-size: 17px !important; }
  body .uktl .nb-rank__tc { font-size: 10.5px !important; text-align: left !important; }
  body .uktl .nb-rank__more:not([open]) { right: 12px !important; bottom: 4px !important; }
}

/* ---------- 11. Phone ≤780px: a compact card ----------------------------
   Tile left, rank, brand, figures, then a full-width button. Three cards
   together stay well under 620px tall. */
@media (max-width: 780px) {
  body .uktl p.uktl-paid,
  body .uktl p.nb-paid,
  body .uktl p.nb-rank__disclosure {
    font-size: 13px !important; margin-bottom: 8px !important; line-height: 1.4 !important;
  }
  body .uktl ol.uktl-board { gap: 5px !important; }
  body .uktl ol.uktl-board > li.uktl-row {
    grid-template-columns: 20px 68px minmax(0, 1fr) !important;
    grid-template-areas: "pos logo head" "pos logo side" "go go go" !important;
    column-gap: 8px !important; row-gap: 3px !important;
    padding: 6px 9px !important; border-radius: 8px !important; align-items: start !important;
  }
  body .uktl .nb-rank__pos {
    grid-area: pos !important; width: 20px !important; height: 20px !important;
    border-radius: 5px !important; font-size: 10.5px !important;
    align-self: start !important; justify-self: start !important; margin-top: 1px !important;
  }
  body .uktl a.nb-rank__logo,
  body .uktl .nb-rank__logo {
    width: 68px !important; min-width: 68px !important; height: 44px !important;
    padding: 3px 4px !important; border-radius: 6px !important; align-self: start !important;
  }
  body .uktl .nb-rank__logo img {
    width: 60px !important; min-width: 60px !important; max-width: 60px !important;
    height: 38px !important; max-height: 38px !important; min-height: 20px !important;
  }
  body .uktl .nb-rank__head { grid-area: head !important; align-self: start !important; min-width: 0 !important; }
  body .uktl .nb-rank__name { font-size: 14.5px !important; line-height: 1.15 !important; white-space: nowrap !important; }
  body .uktl .nb-rank__offer {
    margin-top: 1px !important; font-size: 12px !important; line-height: 1.18 !important;
    white-space: normal !important; overflow: visible !important; overflow-wrap: anywhere !important;
  }
  body .uktl .nb-rank__facts {
    margin-top: 2px !important; font-size: 10.5px !important; gap: 0 5px !important;
    line-height: 1.2 !important; overflow: visible !important;
  }
  body .uktl .nb-rank__facts span { white-space: normal !important; }
  body .uktl .nb-rank__side {
    grid-area: side !important; justify-content: flex-start !important;
    align-self: start !important; margin-top: 1px !important;
  }
  body .uktl .nb-rank__stats { display: inline-flex !important; }
  body .uktl .nb-rank__stats > div { padding: 2px 8px !important; }
  body .uktl .nb-rank__stats small { font-size: 8px !important; }
  body .uktl .nb-rank__stats strong { font-size: 17px !important; }
  /* The button and its container take the card's full inner width. */
  body .uktl .nb-rank__go {
    grid-area: go !important; display: block !important;
    width: 100% !important; min-width: 0 !important; margin-top: 2px !important;
  }
  body .uktl a.uktl-cta,
  body .uktl a.nb-rank__cta {
    display: flex !important; width: 100% !important; max-width: none !important;
    min-width: 0 !important; min-height: 44px !important;
    padding: 9px 10px !important; font-size: 16px !important; gap: 6px !important;
  }
  body .uktl a.uktl-cta span,
  body .uktl a.nb-rank__cta span { font-size: 16px !important; }
  body .uktl .nb-rank__tc { font-size: 10px !important; text-align: center !important; margin-top: 2px !important; }
  body .uktl .nb-rank__more:not([open]) { right: 9px !important; bottom: 4px !important; height: 17px !important; }
  body .uktl .nb-rank__more summary { height: 17px !important; max-height: 17px !important; font-size: 10px !important; padding: 0 6px !important; }
  body .uktl .nb-rank__cols { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
  body .uktl .nb-rank__dl > div { grid-template-columns: 6.5rem minmax(0, 1fr) !important; }
}

@media (max-width: 400px) {
  body .uktl ol.uktl-board > li.uktl-row {
    grid-template-columns: 18px 62px minmax(0, 1fr) !important; column-gap: 7px !important;
  }
  body .uktl a.nb-rank__logo,
  body .uktl .nb-rank__logo { width: 62px !important; min-width: 62px !important; height: 42px !important; }
  body .uktl .nb-rank__logo img {
    width: 60px !important; min-width: 60px !important; max-width: 60px !important;
    height: 36px !important; max-height: 36px !important;
  }
  body .uktl .nb-rank__stats strong { font-size: 16px !important; }
  body .uktl a.uktl-cta, body .uktl a.nb-rank__cta { font-size: 14px !important; }
  body .uktl a.uktl-cta span, body .uktl a.nb-rank__cta span { font-size: 14px !important; }
}

@media (prefers-reduced-motion: reduce) {
  body .uktl a.uktl-cta,
  body .uktl a.nb-rank__cta,
  body .uktl a.nb-rank__logo,
  body .uktl .nb-rank__more summary,
  body .uktl ol.uktl-board > li.uktl-row { transition: none !important; }
  body .uktl a.uktl-cta:hover,
  body .uktl a.uktl-cta:active,
  body .uktl a.nb-rank__cta:hover,
  body .uktl a.nb-rank__cta:active,
  body .uktl a.uktl-cta:hover svg,
  body .uktl a.nb-rank__cta:hover svg,
  body .uktl a.nb-rank__logo:hover { transform: none !important; }
}

/* ---------- 12. Desktop: the "Offer terms" pill sits in a strip under the row, not on the age line of the button -- */
@media (min-width: 1181px) {
  body .uktl ol.uktl-board > li.uktl-row { padding-bottom: 28px !important; }
}

/* ---------- 13. Tweedbet row: the logo is a long thin strip, so its plate is wider than the others and the letters can be read -- */
body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo {
  grid-template-columns: 30px 156px minmax(0, 1fr) 194px 190px !important;
}
body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo .nb-rank__logo { width: 156px !important; min-width: 156px !important; }
body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo .nb-rank__logo img { width: 144px !important; max-width: 144px !important; }
@media (max-width: 1400px) {
  body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo {
    grid-template-columns: 28px 150px minmax(0, 1fr) 176px 174px !important;
  }
  body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo .nb-rank__logo { width: 150px !important; min-width: 150px !important; }
  body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo .nb-rank__logo img { width: 138px !important; max-width: 138px !important; }
}
@media (max-width: 1180px) {
  body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo {
    grid-template-columns: 28px 150px minmax(0, 1fr) 196px !important;
  }
  body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo .nb-rank__offer { white-space: normal !important; }
}
@media (max-width: 780px) {
  body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo {
    grid-template-columns: 20px 150px minmax(0, 1fr) !important;
  }
}
/* On a narrow phone the plate takes the first line with the name beside it; offer, terms and figures then use the full width under it. */
@media (max-width: 520px) {
  body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo {
    grid-template-areas: "pos logo name" "pos offer offer" "pos facts facts" "pos side side" "go go go" !important;
    row-gap: 4px !important;
  }
  body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo .nb-rank__head { display: contents !important; }
  body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo .nb-rank__name { grid-area: name !important; align-self: center !important; }
  body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo .nb-rank__offer { grid-area: offer !important; text-wrap: balance !important; }
  body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo .nb-rank__facts { grid-area: facts !important; }
}
@media (max-width: 400px) {
  body .uktl ol.uktl-board > li.uktl-row.nb-rank__item--wide-logo {
    grid-template-columns: 18px 150px minmax(0, 1fr) !important;
  }
}
