/* UK casinos — deliberately plainer than the game pages: this is the real-money side.
   The row is built to be read left to right: who it is, what it is best at, what you
   get, what we scored it, then the two things you can do about it. */
.sr-casinos-page { padding-bottom: 46px; }
.sr-casino-note { font-size: 14px; color: var(--muted); margin: 0 0 16px; }

/* Column headings, so the row does not have to label itself five times over. */
.sr-casino-head {
  display: grid; grid-template-columns: 44px minmax(210px, 1.1fr) minmax(240px, 1.6fr) 86px 176px;
  gap: 18px; align-items: end; padding: 0 20px 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--faint);
}
.sr-casino-head span:nth-child(4) { text-align: center; }
.sr-casino-head span:nth-child(5) { text-align: center; }

.sr-casino-list { display: flex; flex-direction: column; gap: 12px; }

.sr-casino {
  display: grid; grid-template-columns: 44px minmax(210px, 1.1fr) minmax(240px, 1.6fr) 86px 176px;
  gap: 18px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px;
}
.sr-casino.is-pick { border-color: var(--amber); box-shadow: inset 3px 0 0 var(--amber); }

.sr-casino-rank {
  width: 36px; height: 36px; border-radius: 10px; background: var(--petrol); color: #fff;
  font-family: var(--font-mono), ui-monospace, monospace; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Who it is */
.sr-casino-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sr-casino-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; background: #fff; border: 1px solid var(--line); flex: none; }
.sr-casino-initial {
  display: flex; align-items: center; justify-content: center; border: 0;
  font-size: 22px; font-weight: 800; letter-spacing: .5px; color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.14);
}
.sr-casino-id { min-width: 0; }
.sr-casino-eyebrow {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: .7px;
  text-transform: uppercase; color: var(--faint); margin-bottom: 3px;
}
.sr-casino h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.2; }
.sr-casino-lic {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .3px;
  color: var(--petrol); background: var(--tint); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 9px;
}
.sr-casino-lic::before { content: "✓ "; font-weight: 800; }

/* What you get */
.sr-casino-offerbox { min-width: 0; }
.sr-casino-offer { margin: 0 0 7px; font-size: 16.5px; font-weight: 700; line-height: 1.35; color: var(--text); }
.sr-casino-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 7px; }
.sr-tag {
  font-size: 12.5px; font-weight: 700; color: var(--muted);
  background: var(--tint); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px;
}
.sr-tag.good { color: var(--amber-ink); background: rgba(201, 162, 39, .16); border-color: rgba(201, 162, 39, .45); }
.sr-tag.pay { font-family: var(--font-mono), ui-monospace, monospace; font-weight: 600; letter-spacing: .3px; color: var(--faint); }
.sr-casino-blurb { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.sr-casino-points { margin: 6px 0 0; padding-left: 17px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* What we scored it */
.sr-casino-score { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.sr-score-badge {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 44px; border-radius: 10px;
  background: var(--petrol); color: #fff;
  font-family: var(--font-mono), ui-monospace, monospace; font-size: 19px; font-weight: 700;
}
.sr-stars { display: flex; gap: 1px; font-size: 13px; line-height: 1; }
.sr-stars i { font-style: normal; color: var(--line); }
.sr-stars i.on { color: var(--amber); }
.sr-stars i.half { position: relative; color: var(--line); }
.sr-stars i.half::before { content: "★"; position: absolute; left: 0; top: 0; width: 50%; overflow: hidden; color: var(--amber); }

/* What you can do about it */
.sr-casino-act { display: flex; flex-direction: column; align-items: stretch; gap: 7px; text-align: center; }
.sr-casino-cta {
  display: block; background: var(--amber); color: var(--amber-ink); font-weight: 800; font-size: 15.5px;
  padding: 12px 16px; border-radius: 10px; text-decoration: none;
}
.sr-casino-cta:hover { background: var(--amber-hover); }
.sr-casino-cta.is-soon { background: var(--tint); color: var(--faint); border: 1px dashed var(--line); font-weight: 600; }
.sr-casino-second {
  display: block; font-size: 13.5px; font-weight: 700; color: var(--petrol);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; text-decoration: none;
}
.sr-casino-second:hover { border-color: var(--petrol); background: var(--tint); }

.sr-casino-licence { font-size: 12px; color: var(--faint); }
.sr-casino-terms { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.sr-casino-foot { margin: 16px 0 0; font-size: 14.5px; font-weight: 700; }
.sr-casino-foot a { color: var(--petrol); text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 1px; }
.sr-casino-disclosure { margin: 22px 0 8px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.sr-casino-rg { margin: 0; font-size: 13px; font-weight: 600; color: var(--text); }

/* Below a laptop the score moves up beside the name and the buttons go full width. */
@media (max-width: 1080px) {
  .sr-casino-head { display: none; }
  .sr-casino { grid-template-columns: 40px 1fr 86px; grid-template-areas: "rank brand score" "offer offer offer" "act act act"; row-gap: 14px; }
  .sr-casino-rank { grid-area: rank; }
  .sr-casino-brand { grid-area: brand; }
  .sr-casino-score { grid-area: score; }
  .sr-casino-offerbox { grid-area: offer; }
  .sr-casino-act { grid-area: act; flex-direction: row; }
  .sr-casino-act > * { flex: 1; }
  .sr-casino-second { display: flex; align-items: center; justify-content: center; }
}
@media (max-width: 560px) {
  .sr-casino { padding: 14px 15px; gap: 12px; }
  .sr-casino-logo { width: 56px; height: 56px; }
  .sr-casino-brand { gap: 11px; }
  .sr-casino h3 { font-size: 17.5px; }
  .sr-casino-offer { font-size: 15.5px; }
}

/* A promotion above the list. One offer, with its conditions attached to it. */
.sr-promo { display: block; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 14px; overflow: hidden; margin: 0 0 18px; }
.sr-promo-img { display: block; width: 100%; height: auto; }
.sr-promo-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; }
.sr-promo-body { min-width: 0; }
.sr-promo-body strong { display: block; font-size: 19px; line-height: 1.3; color: var(--text); }
.sr-promo-body p { margin: 5px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.sr-promo-cta { flex: none; background: var(--amber); color: var(--amber-ink); font-weight: 800; font-size: 15.5px; padding: 12px 24px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
.sr-promo-cta:hover { background: var(--amber-hover); }
.sr-promo-terms { display: block; padding: 0 20px 14px; font-size: 12px; line-height: 1.5; color: var(--faint); }
@media (max-width: 620px) {
  .sr-promo-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .sr-promo-cta { text-align: center; }
}

/* Editor's pick — the same row as every other casino, with a gold edge and a flag. It used to
   be a wide hero above the list, which meant the same casino appeared twice at two different
   sizes; one row, marked, is easier to read and easier to trust. */
.sr-casino.is-pick { position: relative; border-color: var(--amber); border-width: 2px; box-shadow: none; margin-top: 10px; }
.sr-pick-flag {
  position: absolute; top: -12px; left: 18px; z-index: 1;
  background: var(--amber); color: var(--amber-ink);
  font-size: 11.5px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase;
  border-radius: 999px; padding: 5px 12px;
}
.sr-casino-why { margin: 7px 0 0; font-size: 14.5px; line-height: 1.5; font-weight: 600; color: var(--amber-ink); }

/* A promotion above the list. One offer, with its conditions attached to it. */
.sr-promo { display: block; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 14px; overflow: hidden; margin: 0 0 18px; }
.sr-promo-img { display: block; width: 100%; height: auto; }
.sr-promo-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; }
.sr-promo-body { min-width: 0; }
.sr-promo-body strong { display: block; font-size: 19px; line-height: 1.3; color: var(--text); }
.sr-promo-body p { margin: 5px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.sr-promo-cta { flex: none; background: var(--amber); color: var(--amber-ink); font-weight: 800; font-size: 15.5px; padding: 12px 24px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
.sr-promo-cta:hover { background: var(--amber-hover); }
.sr-promo-terms { display: block; padding: 0 20px 14px; font-size: 12px; line-height: 1.5; color: var(--faint); }
@media (max-width: 620px) {
  .sr-promo-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .sr-promo-cta { text-align: center; }
}

/* Editor's pick — the same row as the list, given more room. One casino, one obvious action. */
.sr-pick { position: relative; background: var(--card); border: 2px solid var(--amber); border-radius: 16px; padding: 24px 24px 18px; margin: 0 0 22px; }
.sr-pick-flag { position: absolute; top: -13px; left: 22px; background: var(--amber); color: var(--amber-ink); font-size: 12.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; border-radius: 999px; padding: 6px 14px; }
.sr-pick-body { display: grid; grid-template-columns: auto 1fr 220px; gap: 22px; align-items: center; }
.sr-pick-logo { width: 88px; height: 88px; object-fit: contain; border-radius: 16px; background: #fff; border: 1px solid var(--line); flex: none; }
.sr-pick-logo.sr-casino-initial { border: 0; font-size: 30px; }
.sr-pick-text { min-width: 0; }
.sr-pick-line { display: flex; align-items: center; gap: 14px; margin: 2px 0 7px; flex-wrap: wrap; }
.sr-pick-text h2 { margin: 0; font-size: 27px; line-height: 1.1; }
.sr-pick-score { display: flex; align-items: center; gap: 9px; }
.sr-pick-score .sr-stars { font-size: 15px; }
.sr-pick-offer { margin: 10px 0 0; font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--text); }
.sr-pick-text .sr-casino-tags { margin: 9px 0 0; }
.sr-pick-why { margin: 9px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.sr-pick-act { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.sr-pick-act .sr-casino-cta { font-size: 16px; padding: 14px 18px; }
.sr-pick .sr-casino-terms { margin-top: 16px; }
@media (max-width: 900px) {
  .sr-pick-body { grid-template-columns: auto 1fr; row-gap: 16px; }
  .sr-pick-act { grid-column: 1 / -1; flex-direction: row; }
  .sr-pick-act > * { flex: 1; }
  .sr-pick-act .sr-casino-second { display: flex; align-items: center; justify-content: center; }
}
@media (max-width: 560px) {
  .sr-pick { padding: 22px 16px 16px; }
  .sr-pick-logo { width: 62px; height: 62px; }
  .sr-pick-text h2 { font-size: 23px; }
  .sr-pick-offer { font-size: 16.5px; }
}

/* Phones. Nothing under 12px, every control at least a thumb tall, and the row reads top to
   bottom in the order someone decides in: who it is, what you get, what we scored it, go. */
@media (max-width: 760px) {
  .sr-casinos-page { padding-bottom: 36px; }
  .sr-casino { padding: 15px 15px 13px; row-gap: 13px; }
  .sr-casino-rank { width: 32px; height: 32px; border-radius: 9px; font-size: 15px; }
  .sr-casino-logo { width: 54px; height: 54px; border-radius: 12px; }
  .sr-casino-brand { gap: 12px; }
  .sr-casino h3 { font-size: 18px; margin-bottom: 5px; }
  .sr-casino-offer { font-size: 16px; }
  .sr-casino-blurb { font-size: 14.5px; }
  .sr-casino-points { font-size: 14px; }
  /* The score stays stacked in its column: side by side it runs out of room and the stars
     collide with the badge. */
  .sr-casino-score { flex-direction: column; gap: 5px; align-items: center; }
  .sr-score-badge { width: 50px; height: 40px; font-size: 18px; }
  .sr-stars { font-size: 13px; }
  .sr-casino-eyebrow { font-size: 12px; line-height: 1.3; }
  .sr-casino-act { gap: 9px; }
  .sr-casino-cta, .sr-casino-second { min-height: 48px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
  .sr-casino-terms { font-size: 12.5px; }
  .sr-casino-note, .sr-casino-disclosure, .sr-casino-rg { font-size: 13.5px; }
  .sr-casino-foot { font-size: 15px; }
  .sr-casino-foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .sr-promo-body strong { font-size: 17.5px; }
  .sr-promo-cta { min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .sr-pick-act .sr-casino-cta, .sr-pick-act .sr-casino-second { min-height: 50px; }
}
@media (max-width: 400px) {
  .sr-casino { grid-template-columns: 34px 1fr 72px; gap: 10px; }
  .sr-stars { font-size: 12px; gap: 0; }
  .sr-casino-logo { width: 48px; height: 48px; }
  .sr-casino h3 { font-size: 17px; }
  .sr-casino-act { flex-direction: column; }
}

/* ------------------------------------------------------------------ the block on a dark page */
/* The cards carry their own white background, so they survive anywhere. Everything around them
   — the heading, the column labels, the footnotes — is dark text picked for the casinos page,
   and on the assistant's dark page it disappears completely. These put it back. */
.ask-casinos { margin: 6px 0 10px; }
.ask-casinos .sr-casinos-block { max-width: 920px; margin: 0 auto; }
.ask-casinos .sr-casino-block-title { margin: 0 0 14px; font-size: 22px; font-weight: 800; color: #fff; text-align: center; letter-spacing: -0.01em; }
.ask-casinos .sr-casino-head { color: rgba(255, 255, 255, 0.52); }
.ask-casinos .sr-casino-foot a { color: #fff; border-bottom-color: var(--amber); }
.ask-casinos .sr-casino-disclosure { color: rgba(255, 255, 255, 0.5); }
.ask-casinos .sr-casino-rg { color: rgba(255, 255, 255, 0.72); }
/* No conversation yet: the empty thread was leaving a hole between the strip and the list. */
.ask-console .ask-thread:empty { display: none; }

@media (max-width: 860px) {
  .ask-casinos .sr-casino-block-title { font-size: 19px; }
}
