/* =============================================
   TopCasinoList.online - Casino Review Pages
   "Paua" design system
   ============================================= */

/* ===== HERO ===== */
.tui-opener {
  padding-top: calc(var(--topbar-h) + var(--header-h) + 1px);
  padding-bottom: 76px;
}

.tui-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.tui-trail a { color: var(--text-2); }
.tui-trail a:hover { color: var(--teal); }

.tui-opener-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 980px) {
  .tui-opener-grid { grid-template-columns: 1.6fr 1fr; align-items: start; }
}

.tui-opener-h1 {
  font-size: clamp(2rem, 4.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.tui-opener-h1 .highlight {
  background: var(--iri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tui-opener-sub {
  font-size: 15.5px;
  color: var(--text-2);
  max-width: 640px;
  margin-bottom: 28px;
}

/* Screenshot in a browser frame */
.tui-screenshot-wrap {
  max-width: 640px;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
}
.tui-frame-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
  border: 1px solid var(--border-hi);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 10px 14px;
}
.tui-fr-dot { width: 10px; height: 10px; border-radius: 50%; }
.tui-fr-url {
  margin-left: 10px;
  font-size: 12px;
  color: var(--text-2);
  background: rgba(10, 13, 20, 0.65);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 14px;
}
.tui-screenshot-frame {
  position: relative;
  border: 1px solid var(--border-hi);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  line-height: 0;
}
.tui-screenshot-frame img { width: 100%; }
.tui-screenshot-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(255, 255, 255, 0.08) 0%, transparent 24%);
  pointer-events: none;
}

/* Author strip */
.tui-scribe-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.tui-scribe-face {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-hi);
}
.tui-scribe-meta { display: flex; flex-direction: column; }
.tui-scribe-name { font-weight: 700; font-size: 14px; }
.tui-scribe-role { font-size: 12.5px; color: var(--muted); }
.tui-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-2);
  background: rgba(22, 28, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 13px;
  backdrop-filter: blur(6px);
}
.tui-meta-pill img { filter: invert(80%); }

@media (max-width: 979px) {
  .tui-trail { justify-content: center; }
  .tui-opener-h1, .tui-opener-sub { text-align: center; }
  .tui-opener-sub { margin-left: auto; margin-right: auto; }
  .tui-screenshot-wrap { margin: 0 auto; }
  .tui-scribe-strip { justify-content: center; }
}

/* ===== SCORECARD ===== */
.tui-scorecard {
  position: relative;
  background:
    radial-gradient(340px 200px at 50% -60px, rgba(139, 92, 246, 0.16), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.tui-sc-top { text-align: center; margin-bottom: 24px; }
.tui-sc-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.tui-sc-dial {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 14px auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 33px;
  background:
    radial-gradient(closest-side, #121826 80%, transparent 81% 100%),
    conic-gradient(from 210deg, #2DD4BF 0%, #5B8DEF 30%, #8B5CF6 60%, #F6C453 calc(var(--score) * 1%), rgba(38, 48, 70, 0.9) calc(var(--score) * 1%));
}
.tui-sc-dial::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.22), transparent 75%);
  z-index: -1;
}
.tui-sc-num { font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 1; }
.tui-sc-max { font-size: 14px; color: var(--muted); font-weight: 600; }
.tui-sc-sparks { color: var(--gold); font-size: 17px; letter-spacing: 3px; margin-bottom: 5px; }
.tui-sc-ruling {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 999px;
  padding: 4px 14px;
}

.tui-meter {
  display: grid;
  grid-template-columns: 106px 1fr 30px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 10px;
  white-space: nowrap;
}
.tui-meter-track {
  height: 7px;
  background: rgba(34, 43, 62, 0.9);
  border-radius: 4px;
  overflow: hidden;
}
.tui-meter-fill {
  height: 100%;
  width: var(--w);
  border-radius: 4px;
  background: var(--teal);
}
.tui-sc-bars .tui-meter:nth-child(1) .tui-meter-fill { background: linear-gradient(90deg, #2DD4BF, #4EE3CF); }
.tui-sc-bars .tui-meter:nth-child(2) .tui-meter-fill { background: linear-gradient(90deg, #5B8DEF, #7CA6F5); }
.tui-sc-bars .tui-meter:nth-child(3) .tui-meter-fill { background: linear-gradient(90deg, #F0A93C, #F6C453); }
.tui-sc-bars .tui-meter:nth-child(4) .tui-meter-fill { background: linear-gradient(90deg, #8B5CF6, #A78BFA); }
.tui-sc-bars .tui-meter:nth-child(5) .tui-meter-fill { background: linear-gradient(90deg, #E879A9, #F0A1C2); }
.tui-sc-bars .tui-meter:nth-child(6) .tui-meter-fill { background: linear-gradient(90deg, #34D399, #6EE7B7); }
.tui-meter-val { font-weight: 700; color: var(--text); text-align: right; }
.tui-sc-cta { display: block; margin-top: 20px; font-size: 15px; padding: 14px 24px; }
.tui-sc-disclaimer {
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 10px;
}

/* ===== QUICK FACTS BAR (floating glass card) ===== */
.tui-specs-bar {
  position: relative;
  z-index: 5;
  max-width: var(--max-w);
  margin: -38px auto 0;
  padding: 0 20px;
}
.tui-specs-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  justify-content: center;
  background: rgba(16, 21, 31, 0.86);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 18px 26px;
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}
.tui-spec {
  display: grid;
  grid-template-columns: 32px auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  font-size: 13px;
}
.tui-spec img {
  grid-row: 1 / 3;
  background: var(--violet-dim);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 8px;
  padding: 6px;
  width: 32px;
  height: 32px;
  filter: invert(1);
}
.tui-spec-label { color: var(--muted); font-size: 11.5px; line-height: 1.3; grid-column: 2; }
.tui-spec strong { color: var(--text); font-size: 13.5px; font-family: var(--font-display); line-height: 1.3; grid-column: 2; }
.tui-spec-green { color: var(--teal) !important; }

@media (max-width: 639px) {
  .tui-specs-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
  .tui-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
  }
  .tui-spec img { margin-bottom: 6px; }
}

/* ===== LAYOUT: SIDEBAR + ARTICLE ===== */
.tui-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 48px;
}
@media (min-width: 980px) {
  .tui-layout { grid-template-columns: 272px 1fr; }
}

.tui-rail { display: none; }
@media (min-width: 980px) {
  .tui-rail { display: block; }
  .tui-rail-sticky { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 20px); }
}

.tui-jump {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 20px;
}
.tui-jump-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: var(--text-2);
}
.tui-jump-head img { filter: invert(80%); }
.tui-jump-list { counter-reset: toc; list-style: none; }
.tui-jump-list li { margin-bottom: 2px; }
.tui-jump-link {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  padding: 6px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.tui-jump-link:hover {
  color: var(--teal);
  background: var(--teal-dim);
  border-left-color: var(--teal);
}

.tui-rail-offer {
  position: relative;
  background:
    radial-gradient(220px 130px at 50% -30px, rgba(45, 212, 191, 0.12), transparent 70%),
    var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  margin-bottom: 20px;
}
.tui-deal-logo {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: inline-block;
  margin-bottom: 12px;
  line-height: 0;
}
.tui-deal-pts { font-size: 14px; color: var(--gold); margin-bottom: 10px; font-weight: 800; font-family: var(--font-display); }
.tui-deal-offer { font-family: var(--font-display); font-size: 15.5px; font-weight: 800; line-height: 1.4; margin-bottom: 14px; }
.tui-deal-btn { display: block; }
.tui-deal-disclaimer { font-size: 11px; color: var(--muted); margin-top: 10px; }

/* ===== ARTICLE ===== */
.tui-article { min-width: 0; }
.tui-section { margin-bottom: 56px; scroll-margin-top: calc(var(--topbar-h) + var(--header-h) + 16px); }
.tui-h2 {
  position: relative;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  padding-bottom: 12px;
}
.tui-h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--iri);
}
.tui-h3 { font-size: 1.15rem; font-weight: 800; margin: 30px 0 14px; }
.tui-lead { font-size: 15.5px; color: var(--text-2); margin-bottom: 22px; }
.tui-article p { margin-bottom: 14px; color: var(--text-2); }
.tui-article p strong { color: var(--text); }
.tui-article a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.tui-article a:hover { color: var(--text); }

@media (max-width: 759px) {
  .tui-h2 { text-align: center; }
  .tui-h2::after { left: 50%; transform: translateX(-50%); }
}

/* Pros / Cons */
.tui-updown {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) { .tui-updown { grid-template-columns: 1fr 1fr; } }
.tui-ups, .tui-downs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.tui-ups { background: linear-gradient(180deg, rgba(45, 212, 191, 0.05), transparent 40%), var(--surface); }
.tui-downs { background: linear-gradient(180deg, rgba(246, 196, 83, 0.05), transparent 40%), var(--surface); }
.tui-ud-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}
.tui-ups .tui-ud-head { color: var(--teal); }
.tui-downs .tui-ud-head { color: var(--gold); }
.tui-ud-head img { border-radius: 7px; padding: 4px; width: 26px; height: 26px; filter: invert(1); }
.tui-ud-head img.mk-ups { background: rgba(45, 212, 191, 0.22); }
.tui-ud-head img.mk-downs { background: rgba(246, 196, 83, 0.22); }
@media (max-width: 759px) {
  .tui-ud-head { justify-content: center; }
}
.tui-ups ul, .tui-downs ul { list-style: none; }
.tui-ups ul li, .tui-downs ul li {
  font-size: 14px;
  color: var(--text-2);
  padding: 7px 0 7px 24px;
  position: relative;
}
.tui-ups ul li::before, .tui-downs ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.tui-ups ul li::before { background: var(--teal); box-shadow: 0 0 8px rgba(45, 212, 191, 0.6); }
.tui-downs ul li::before { background: var(--gold); box-shadow: 0 0 8px rgba(246, 196, 83, 0.5); }
.tui-ups ul li strong, .tui-downs ul li strong { color: var(--text); }

/* Verdict box */
.tui-ruling-box {
  position: relative;
  background:
    radial-gradient(420px 160px at 8% 0%, rgba(139, 92, 246, 0.14), transparent 70%),
    var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 22px;
}
.tui-ruling-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  background: var(--iri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tui-ruling-label img { filter: invert(65%) sepia(30%) saturate(900%) hue-rotate(215deg); }
.tui-ruling-box p { margin-bottom: 0; }

/* Bonus showcase (gradient border) */
.tui-offer-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(115deg, rgba(45, 212, 191, 0.55), rgba(91, 141, 239, 0.45), rgba(139, 92, 246, 0.55)) border-box;
}
@media (min-width: 820px) { .tui-offer-spotlight { grid-template-columns: 1fr 1.35fr; } }
.tui-offer-main {
  position: relative;
  background:
    radial-gradient(300px 180px at 20% 15%, rgba(45, 212, 191, 0.12), transparent 70%),
    radial-gradient(280px 200px at 85% 90%, rgba(139, 92, 246, 0.14), transparent 70%),
    var(--surface-2);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.tui-offer-topline { display: flex; align-items: center; justify-content: center; gap: 16px; text-align: left; }
.tui-offer-rate {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  background: var(--iri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tui-offer-up { display: block; font-size: 13px; color: var(--muted); }
.tui-offer-cap { display: block; font-family: var(--font-display); font-size: 27px; font-weight: 800; }
.tui-offer-plus { font-size: 15px; font-weight: 700; color: var(--gold); }
.tui-offer-note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.tui-offer-terms {
  background: var(--surface);
  padding: 18px 22px;
  border-top: 1px solid var(--border);
}
@media (min-width: 820px) { .tui-offer-terms { border-top: none; border-left: 1px solid var(--border); } }
.tui-term-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.tui-term-row:last-child { border-bottom: none; }
.tui-term-k { color: var(--muted); flex-shrink: 0; }
.tui-term-v { color: var(--text); font-weight: 600; text-align: right; }

/* Insight box */
.tui-insight-box {
  display: flex;
  gap: 14px;
  background: linear-gradient(90deg, rgba(246, 196, 83, 0.06), transparent 55%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-2);
}
.tui-insight-box img {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 8px;
  background: rgba(246, 196, 83, 0.2);
  filter: invert(1);
}
.tui-insight-box strong { color: var(--text); }

/* Promo / feature card grids */
.tui-promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .tui-promo-grid { grid-template-columns: 1fr 1fr; } }
.tui-promo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  transition: border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.tui-promo-card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.tui-promo-card img {
  display: block;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  filter: invert(1);
  margin: 0 auto 12px;
}
.tui-promo-grid .tui-promo-card:nth-child(2n+1) img { background: rgba(45, 212, 191, 0.18); }
.tui-promo-grid .tui-promo-card:nth-child(2n) img { background: rgba(139, 92, 246, 0.2); }
.tui-promo-card h3 { font-size: 15px; margin-bottom: 8px; }
.tui-promo-card p { font-size: 13.5px; margin-bottom: 0; }

/* Payment grid */
.tui-payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.tui-payment-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.tui-payment-item:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.tui-payment-item img { max-height: 42px; width: auto; }
.tui-payment-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* Data table */
.tui-matrix-wrap { overflow-x: auto; }
.tui-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.tui-matrix th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: var(--surface-2);
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-hi);
}
.tui-matrix td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.tui-matrix tr:last-child td { border-bottom: none; }
.tui-matrix td strong { color: var(--text); }

/* Game category grid */
.tui-games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .tui-games-grid { grid-template-columns: 1fr 1fr; } }
.tui-game-cat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  transition: border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.tui-game-cat:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.tui-game-cat img {
  display: block;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  filter: invert(1);
  margin: 0 auto;
}
.tui-games-grid .tui-game-cat:nth-child(4n+1) img { background: rgba(45, 212, 191, 0.18); }
.tui-games-grid .tui-game-cat:nth-child(4n+2) img { background: rgba(91, 141, 239, 0.2); }
.tui-games-grid .tui-game-cat:nth-child(4n+3) img { background: rgba(246, 196, 83, 0.2); }
.tui-games-grid .tui-game-cat:nth-child(4n+4) img { background: rgba(139, 92, 246, 0.2); }
.tui-cat-count {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  margin-top: 10px;
  background: var(--iri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tui-cat-label { font-family: var(--font-display); font-weight: 800; font-size: 14.5px; margin-bottom: 8px; }
.tui-game-cat p { font-size: 13.5px; margin-bottom: 0; }

/* Feature/security grid */
.tui-perk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .tui-perk-grid { grid-template-columns: 1fr 1fr; } }
.tui-perk-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  transition: border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.tui-perk-item:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.tui-perk-item img {
  display: block;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  filter: invert(1);
  margin: 0 auto 12px;
}
.tui-perk-grid .tui-perk-item:nth-child(4n+1) img { background: rgba(45, 212, 191, 0.18); }
.tui-perk-grid .tui-perk-item:nth-child(4n+2) img { background: rgba(246, 196, 83, 0.2); }
.tui-perk-grid .tui-perk-item:nth-child(4n+3) img { background: rgba(91, 141, 239, 0.2); }
.tui-perk-grid .tui-perk-item:nth-child(4n+4) img { background: rgba(139, 92, 246, 0.2); }
.tui-perk-item h3 { font-size: 15px; margin-bottom: 8px; }
.tui-perk-item p { font-size: 13.5px; margin-bottom: 0; }

/* Inline article image */
.tui-img {
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  margin: 22px 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
.tui-img img { width: 100%; }
.tui-img-caption {
  font-size: 12.5px;
  color: var(--muted);
  padding: 11px 14px;
  background: var(--surface);
  line-height: 1.5;
}

/* Two-col image + text */
.tui-imgtext {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 820px) { .tui-imgtext { grid-template-columns: 300px 1fr; } }
.tui-imgtext .tui-img { margin: 0; max-width: 300px; }
@media (max-width: 819px) { .tui-imgtext .tui-img { margin: 0 auto; } }

/* Steps */
.tui-ladder { display: flex; flex-direction: column; gap: 14px; }
.tui-rung {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color 0.2s var(--ease);
}
.tui-rung:hover { border-color: var(--border-hi); }
.tui-rung-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--iri);
  color: #071018;
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(91, 141, 239, 0.35);
}
.tui-rung-body h3 { font-size: 15px; margin-bottom: 6px; }
.tui-rung-body p { font-size: 13.5px; margin-bottom: 0; }
@media (max-width: 639px) {
  .tui-rung { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
}

/* Claim CTA */
.tui-grab-cta { text-align: center; margin-top: 28px; }
.tui-grab-btn { font-size: 16px; padding: 15px 44px; }
.tui-grab-cta p { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* FAQ */
.tui-qa-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.tui-qa-item[open] { border-color: var(--border-hi); }
.tui-qa-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 600;
  font-size: 14.5px;
}
.tui-qa-item summary::-webkit-details-marker { display: none; }
.tui-qa-item summary img {
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
  filter: invert(78%);
}
.tui-qa-item[open] summary img { transform: rotate(180deg); }
.tui-qa-item .tui-qa-a { padding: 0 18px 16px; }
.tui-qa-item .tui-qa-a p { font-size: 14px; margin-bottom: 0; }

/* Author card */
.tui-scribe-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  background:
    radial-gradient(400px 200px at 0% 0%, rgba(45, 212, 191, 0.07), transparent 70%),
    var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 28px;
}
@media (min-width: 720px) { .tui-scribe-card { grid-template-columns: 150px 1fr; } }
.tui-sc-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-hi);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
}
.tui-sc-kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tui-sc-name { font-size: 1.4rem; font-weight: 800; margin: 4px 0 2px; }
.tui-sc-role { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.tui-sc-bio { font-size: 14px; }
.tui-sc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tui-sc-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 13px;
}
.tui-sc-link { font-size: 13.5px; font-weight: 700; display: inline-block; margin-top: 14px; }
@media (max-width: 719px) {
  .tui-scribe-card { text-align: center; }
  .tui-sc-img { margin: 0 auto; }
  .tui-sc-pills { justify-content: center; }
}

/* Related lists */
.tui-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) { .tui-related-grid { grid-template-columns: 1fr 1fr 1fr; } }
.tui-article a.tui-related-card { text-decoration: none; color: inherit; }
.tui-related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-align: center;
  transition: border-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.tui-related-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.tui-related-card img {
  display: block;
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 10px;
  filter: invert(1);
  margin: 0 auto 12px;
}
.tui-related-grid .tui-related-card:nth-child(3n+1) img { background: rgba(246, 196, 83, 0.2); }
.tui-related-grid .tui-related-card:nth-child(3n+2) img { background: rgba(45, 212, 191, 0.18); }
.tui-related-grid .tui-related-card:nth-child(3n+3) img { background: rgba(139, 92, 246, 0.2); }
.tui-related-card h3 { font-size: 15px; margin-bottom: 6px; color: var(--text); }
.tui-related-card p { font-size: 13px; color: var(--text-2); margin-bottom: 0; }

/* RG / legal box */
.tui-fineprint-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 56px;
}
.tui-fineprint-box img {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 9px;
  background: rgba(240, 113, 106, 0.18);
  filter: invert(1);
}
.tui-fineprint-box strong { color: var(--text); }
.tui-fineprint-box a { color: var(--teal); text-decoration: underline; }
