/* planbet2027.com: SITE-016, exact registered palette. */
/* Shared palette adapter for the first Mostbet template.
   The --mb-* values are supplied by each site's site-config.json or palette CSS. */
:root {
  --palette-chrome: var(--mb-chrome, var(--mb-dark));
  --palette-chrome-text: var(--mb-chrome-text, var(--mb-chrome_text, var(--mb-text)));
  --palette-chrome-muted: var(--mb-chrome-muted, var(--mb-chrome_muted, var(--mb-muted)));
  --palette-chrome-accent: var(--mb-chrome-accent, var(--mb-chrome_accent, var(--palette-chrome-text)));
  --palette-button-text: var(--mb-button-text, var(--mb-dark));
  color-scheme: var(--mb-color-scheme, dark);
}
body { background-color: var(--mb-bg); color: var(--mb-text); }
::selection { background: var(--mb-accent); color: var(--palette-button-text); }
.skip-link,
.button-primary,
.finder-filters button[aria-pressed=true],
.game-feature:hover .circle-link {
  background: var(--mb-accent);
  border-color: var(--mb-accent);
  color: var(--palette-button-text);
}
.button-primary:hover {
  background: var(--mb-text);
  border-color: var(--mb-text);
  color: var(--mb-bg);
}
.site-header,
.site-footer,
.mobile-nav nav {
  background: var(--palette-chrome);
  color: var(--palette-chrome-text);
  border-color: var(--mb-line);
}
.desktop-nav a,
.mobile-nav summary,
.mobile-nav nav a,
.site-header .button-quiet,
.site-header .button-outline,
.footer-columns h2,
.footer-bottom nav a { color: var(--palette-chrome-text); }
.footer-brand p,
.footer-columns a,
.footer-bottom p,
.footer-account button { color: var(--palette-chrome-muted); }
.desktop-nav a:hover,
.desktop-nav a[aria-current=page],
.mobile-nav nav a:hover,
.mobile-nav nav a[aria-current=page],
.footer-columns a:hover,
.footer-bottom nav a:hover,
.footer-account button:hover { color: var(--palette-chrome-accent); }
.desktop-nav a[aria-current=page]:after { background: var(--palette-chrome-accent); }
.site-header .button-quiet:hover,
.site-header .button-outline:hover {
  background: var(--palette-chrome-text);
  border-color: var(--palette-chrome-text);
  color: var(--palette-chrome);
}
.site-header .button-primary { color: var(--palette-button-text); }
.site-header .button-primary:hover { color: var(--mb-bg); }
.account-dialog {
  background: var(--mb-surface);
  color: var(--mb-text);
  border-color: var(--mb-line);
}
.account-dialog::backdrop {
  background: color-mix(in srgb, var(--palette-chrome) 82%, transparent);
}
.account-dialog .dialog-close { background: var(--mb-surface); color: var(--mb-text); }
.account-dialog .dialog-close:hover { background: var(--mb-raised); }
.account-dialog .account-tabs button { color: var(--mb-muted); }
.account-dialog .account-tabs button[aria-pressed=true] {
  color: var(--mb-accent);
  border-bottom-color: var(--mb-accent);
}
.account-dialog .account-note,
.account-dialog .dialog-foot { color: var(--mb-muted); }
.account-dialog .form-status { color: var(--mb-accent); }
input[type=text], input[type=password], input[type=search],
input[type=email], input[type=tel], select, textarea {
  background: var(--mb-bg);
  border-color: var(--mb-line);
  color: var(--mb-text);
}
input::placeholder, textarea::placeholder { color: var(--mb-muted); opacity: 1; }
input[type=checkbox], input[type=radio] { accent-color: var(--mb-accent); }
/* Preserve local article text and hierarchy while adapting legacy inline colours. */
:is(.article-content,.fallback-article) [style*="color"] { color: var(--mb-muted) !important; }
:is(.article-content,.fallback-article) :is(p,li,ul,ol,td,figcaption,small,cite) {
  color: var(--mb-muted) !important;
}
:is(.article-content,.fallback-article) :is(h1,h2,h3,h4,h5,h6,strong,b,th,caption,.faq-question) {
  color: var(--mb-text) !important;
}
:is(.article-content,.fallback-article) a:not(.button):not(.actual-game-card) {
  color: var(--mb-link) !important;
}
:is(.article-content,.fallback-article) a:not(.button):not(.actual-game-card) * { color: inherit !important; }
:is(.article-content,.fallback-article) :is(blockquote,pre,code,.faq-item),
:is(.article-content,.fallback-article) [style*="background"] {
  background-color: var(--mb-raised) !important;
  border-color: var(--mb-line) !important;
}
:is(.article-content,.fallback-article) blockquote { border-left-color: var(--mb-accent) !important; }
:is(.article-content,.fallback-article) thead,
:is(.article-content,.fallback-article) th,
:is(.article-content,.fallback-article) tbody tr:nth-child(even) {
  background-color: var(--mb-raised) !important;
}
:is(.article-content,.fallback-article) tbody { background-color: var(--mb-surface) !important; }
:is(.article-content,.fallback-article) :is(th,td,tr,.faq-item) { border-color: var(--mb-line) !important; }
:is(.article-content,.fallback-article) :is(div,figure):has(>table) {
  max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain;
}
:is(.article-content,.fallback-article) a.button-primary { color: var(--palette-button-text) !important; }
:is(.article-content,.fallback-article) a.button-primary:hover { color: var(--mb-bg) !important; }
:is(a,button,input,select,textarea,summary):focus-visible {
  outline-color: var(--mb-accent);
}
.site-header :is(a,button,summary):focus-visible,
.site-footer :is(a,button):focus-visible { outline-color: var(--palette-chrome-accent); }

/* Planbet: olive parchment, warm ivory, forest accents. Colour properties only. */
:root{--mb-bg:#d2c58e;--mb-surface:#fff8e4;--mb-raised:#e8dbab;--mb-line:#948956;--mb-text:#2c351f;--mb-muted:#42452f;--mb-accent:#354e36;--mb-link:#294c36;--mb-dark:#62613a;--mb-chrome:#62613a;--mb-chrome-text:#fff8ed;--mb-chrome-muted:#eee6c6;--mb-button-text:#fffdf0;--mb-chrome-accent:#fff0b7;--mb-color-scheme:light;color-scheme:light}
/* Freeze the existing account interface palette before inherited root changes. */
.account-dialog,.account-actions,.footer-account{--mb-bg:#1e460b;--mb-surface:#23550d;--mb-raised:#286213;--mb-line:#5b963f;--mb-text:#f5f8f4;--mb-muted:#cbe1c1;--mb-accent:#E4D1A0;--mb-link:#BDD8B4;--mb-dark:#050b02;--mb-chrome:#183909;--mb-chrome-text:#fff8ed;--mb-chrome-muted:#e4ded4;--mb-button-text:#000000;--mb-chrome-accent:#E4D1A0;--palette-chrome:#183909;--palette-chrome-text:#fff8ed;--palette-chrome-muted:#e4ded4;--palette-chrome-accent:#E4D1A0;--palette-button-text:#000000;--mb-color-scheme:dark;color-scheme:dark}
/* Keep existing header button normal/hover/focus colours; no geometry or URLs change. */
.site-header .account-actions .button-quiet{background:transparent;border-color:transparent;color:#fff8ed}
.site-header .account-actions .button-quiet:hover{background:#fff8ed;border-color:#fff8ed;color:#183909}
.site-header .account-actions .button-primary{background:#e4d1a0;border-color:#e4d1a0;color:#000000}
.site-header .account-actions .button-primary:hover{background:#f5f8f4;border-color:#f5f8f4;color:#1e460b}
.site-header .account-actions :is(button,a):focus-visible{outline-color:#e4d1a0}
/* Decorative rules retain line colour; interactive boundaries use readable forest. */
.finder-filters button,main .button-outline,.bgn-search input[type=search],.bgn-filters a,.bgn-pagination>a{border-color:#62613a}
.finder-filters button[aria-pressed=true],.bgc-filters button[aria-pressed=true],.bgn-filters a[aria-current]{border-color:#354e36}
.finder-filters button:hover,main .button-outline:hover{border-color:#354e36}

/* Planbet native CSS fragment — PLN-DESIGN-B-20261023-v1.
 * Append to CURRENT brand-overrides.css only after ledger readback/backup.
 * This is a scoped fragment, not a replacement stylesheet/theme.
 * Original header/footer/dialog Logo geometry and account controls are excluded.
 * Required separate original-line edit: remove only ,.page-id-1052 from the
 * existing account palette freeze selector. Keep its declarations unchanged.
 */

/* body-local values outrank the later site-config :root inheritance. The
 * existing .account-actions/.account-dialog/.footer-account local values win
 * inside their protected regions. Keep the old explicit auth hover/focus rules.
 */
body.wp-theme-brand-stadium-v1 {
  --mb-bg: #211e1b;
  --mb-surface: #211e1b;
  --mb-raised: #3c342e;
  --mb-line: #70645a;
  --mb-text: #f4ece1;
  --mb-muted: #d6c9bb;
  --mb-accent: #a4d6df;
  --mb-link: #acdce3;
  --mb-dark: #191715;
  --mb-chrome: #292520;
  --mb-chrome-text: #f4ece1;
  --mb-chrome-muted: #d6c9bb;
  --mb-chrome-accent: #a4d6df;
  --mb-button-text: #17343b;
  --mb-color-scheme: dark;
  --palette-chrome: #292520;
  --palette-chrome-text: #f4ece1;
  --palette-chrome-muted: #d6c9bb;
  --palette-chrome-accent: #a4d6df;
  --palette-button-text: #17343b;
  --pb-card: #322d28;
  --pb-muted: #b9ada0;
  --pb-control-line: #9c9186;
  --pb-hover: #c2e8ed;
  --pb-heading-font: Georgia, 'Times New Roman', serif;
  color-scheme: dark;
  background: #211e1b;
  color: #f4ece1;
}

body.wp-theme-brand-stadium-v1 .site-header {
  background-color: #292520;
  border-bottom-color: #70645a;
}
body.wp-theme-brand-stadium-v1 .site-footer {
  background-color: #191715;
  border-color: #70645a;
}
/* No dimensions, padding, font, position or transform on the header, Logo,
 * account controls/dialog, footer-brand Logo or their wrappers are changed.
 */
body.wp-theme-brand-stadium-v1 .mobile-nav nav {
  background-color: #292520;
}

/* Continuous public canvas. All geometry/type/control changes stay in main. */
#main {
  color: var(--mb-text);
  background: transparent;
  font: 400 18px/1.7 Barlow, Arial, sans-serif;
}
#main > .shell {
  width: min(1280px, calc(100% - 64px));
}
#main :is(h1, h2) {
  font-family: var(--pb-heading-font);
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
#main h3 {
  line-height: 1.28;
  overflow-wrap: break-word;
}
#main p { color: var(--mb-muted); }
#main .category-label,
#main .bgn-eyebrow {
  color: var(--pb-muted);
  font: 600 14px/1.5 Barlow, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

/* Remove actual parent surfaces, rather than only transparent text children.
 * These named wrappers exist in the native theme/current public HTML.
 */
#main :is(.hero, .hero-copy, .article-masthead, .article-intro,
  .live-feature, .live-copy, .andar-section, .andar-copy,
  .offer-panel, .mobile-panel, .essential-copy, .reading-section,
  .reading-grid > article, .reading-copy, .feature-caption,
  .collection-opening, .collection-heading, .article-card,
  .article-card > div, .bgn-heading, .bgn-archive-heading,
  .bgn-result-card, .bgn-result-copy, .bgn-empty, .empty-state,
  .not-found, .fallback-article, .home-end) {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  backdrop-filter: none;
}
#main :is(.hero, .hero-copy, .article-masthead, .article-intro,
  .live-copy, .andar-copy, .essential-copy, .reading-copy,
  .collection-heading, .bgn-heading, .bgn-archive-heading,
  .bgn-result-copy)::before,
#main :is(.hero, .hero-copy, .article-masthead, .article-intro,
  .live-copy, .andar-copy, .essential-copy, .reading-copy,
  .collection-heading, .bgn-heading, .bgn-archive-heading,
  .bgn-result-copy)::after {
  content: none;
  background: none;
  box-shadow: none;
  border: 0;
}

/* Existing public controls, excluding every frozen account/header control. */
#main .button {
  border-radius: 3px;
  font-family: Barlow, Arial, sans-serif;
}
#main :is(.button-primary, .bgn-search button),
#main :is(.finder-filters, .bgc-filters) button[aria-pressed="true"],
#main .bgn-filters a[aria-current],
#main .bgn-pagination .current {
  background: var(--mb-accent);
  border-color: var(--mb-accent);
  color: var(--mb-button-text);
}
#main :is(.button-primary, .bgn-search button):hover {
  background: var(--pb-hover);
  border-color: var(--pb-hover);
  color: var(--mb-button-text);
}
#main :is(.button-outline, .finder-filters button, .bgc-filters button,
  .bgn-filters a, .bgn-pagination > a, .next-links a) {
  border-color: var(--pb-control-line);
}
#main :is(.button-outline, .finder-filters button, .bgc-filters button,
  .bgn-filters a, .bgn-pagination > a):hover {
  background: var(--pb-card);
  border-color: var(--mb-accent);
  color: var(--mb-text);
}
#main :is(.finder-filters, .bgc-filters) button[aria-pressed="true"]:hover,
#main .bgn-filters a[aria-current]:hover {
  background: var(--pb-hover);
  border-color: var(--pb-hover);
  color: var(--mb-button-text);
}
#main :is(.button, .bgn-search button, .finder-filters button,
  .bgc-filters button):active {
  border-color: var(--pb-hover);
  /* Stable geometry: no translate/scale/press shrink. */
}
#main :is(input[type="text"], input[type="search"], input[type="email"],
  input[type="tel"], select, textarea) {
  color: var(--mb-text);
  background: var(--pb-card);
  border-color: var(--pb-control-line);
  caret-color: var(--mb-accent);
}
#main :is(input, textarea)::placeholder {
  color: var(--pb-muted);
  opacity: 1;
}
#main :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--mb-accent);
  outline-offset: 4px;
}
#main :is(button:disabled, [aria-disabled="true"]) {
  color: var(--pb-muted) !important;
  background: var(--mb-raised) !important;
  border-color: var(--mb-line) !important;
  opacity: 1;
}

/* Hero: plain title/deck above one genuinely wider scene. */
#main .home-shell { padding-top: 42px; }
#main .hero {
  display: block;
  position: relative;
  min-height: 0;
  overflow: visible;
  isolation: auto;
}
#main .hero-copy {
  position: static;
  z-index: auto;
  width: 100%;
  max-width: none;
  padding: 0 0 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0 52px;
  align-items: start;
}
#main .hero-intro {
  grid-column: 1;
  grid-row: 1;
  color: var(--pb-muted);
  font: 600 14px/1.5 Barlow, Arial, sans-serif;
  margin: 0 0 12px;
}
#main .hero h1 {
  grid-column: 1;
  grid-row: 2 / 5;
  max-width: 20ch;
  font-size: clamp(46px, 4.05vw, 58px);
  line-height: 1.13;
  letter-spacing: -.03em;
}
#main .hero-deck {
  grid-column: 2;
  grid-row: 2;
  max-width: 52ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}
#main .hero-actions {
  grid-column: 2;
  grid-row: 3;
  margin-top: 19px;
  gap: 10px;
  flex-wrap: wrap;
}
#main .hero-small {
  grid-column: 2;
  grid-row: 4;
  margin-top: 12px;
  color: var(--pb-muted);
  font-size: 13px;
}
#main .hero-art {
  display: block;
  position: static;
  inset: auto;
  z-index: auto;
  clip-path: none;
  width: 100%;
  height: clamp(470px, 38.5vw, 560px);
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 2px;
}
#main .category-bar {
  margin-top: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--mb-line);
  border-radius: 0;
}
#main .category-bar a {
  min-height: 62px;
  padding: 12px 16px;
  border-right: 1px solid var(--mb-line);
  font-size: 15px;
}
#main .category-bar a:first-child { padding-left: 0; }
#main .category-bar a:last-child { border-right: 0; }
#main .category-bar a:hover { background: transparent; color: var(--mb-link); }

/* Native catalogue plugin: 20 tracks, first four span5, last five span4. */
#main .game-finder.home-section {
  display: block;
  padding-block: 56px 0;
  border: 0;
}
#main .finder-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 8px 42px;
  margin-bottom: 23px;
}
#main .finder-heading h2 { font-size: 38px; }
#main .finder-heading > .category-label { grid-column: 1; grid-row: 1; }
#main .finder-heading > h2 { grid-column: 1; grid-row: 2 / 4; }
#main .finder-heading > p { grid-column: 2; grid-row: 2; }
#main .finder-heading > .text-link { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 10px; }
#main .finder-heading > p { max-width: 58ch; font-size: 17px; line-height: 1.65; }
#main .finder-filters { gap: 9px; }
#main .finder-filters button { font-size: 14px; min-height: 44px; }
#main .finder-status { color: var(--pb-muted); margin-block: 12px 18px; }
#main .finder-grid.bgc-game-grid {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
#main .bgc-game-grid > a.bgc-game-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  color: var(--mb-text);
  background: var(--pb-card);
  border: 1px solid var(--mb-line);
  border-radius: 3px;
  overflow: hidden;
}
#main .bgc-game-grid > a.bgc-game-card:nth-child(-n+4) { grid-column: span 5; }
#main .bgc-game-grid > a.bgc-game-card[hidden] { display: none !important; }
#main .bgc-game-art {
  aspect-ratio: 16 / 10;
  background: var(--pb-card);
  border-color: var(--mb-line);
}
#main .bgc-game-art img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
#main .bgc-finder .finder-tile-copy { padding: 17px 16px 18px; }
#main .bgc-finder .bgc-game-name { font: 600 20px/1.3 Barlow, Arial, sans-serif; }
#main .bgc-finder .provider-name { color: var(--pb-muted); font-size: 12px; margin-bottom: 8px; }
#main .bgc-finder .finder-tile-copy p { font-size: 14px; line-height: 1.6; margin-top: 10px; }
#main .bgc-finder .card-read { font-size: 13px; padding-top: 16px; }
/* This tests existing native aria/hidden state; no extra filter control/JS. */
#main .bgc-finder:has(.bgc-filters button[aria-pressed="true"]:not([data-catalog-filter="all"])) .bgc-game-grid,
#main .bgc-game-grid:has(> .bgc-game-card[hidden]) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
}
#main .bgc-finder:has(.bgc-filters button[aria-pressed="true"]:not([data-catalog-filter="all"])) .bgc-game-grid > a.bgc-game-card,
#main .bgc-game-grid:has(> .bgc-game-card[hidden]) > a.bgc-game-card {
  grid-column: auto;
}
#main .bgc-artwork-note { color: var(--pb-muted); }

/* Ten destinations remain in their native order, as five pairs of plain rows. */
#main .bgn-discovery { padding: 48px 0 8px; }
#main .bgn-heading { margin-bottom: 18px; }
#main .bgn-heading h2 { font-size: 36px; }
#main .bgn-search { margin-block: 18px 23px; }
#main .bgn-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
#main .bgn-topic-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 18px;
  align-items: start;
  min-width: 0;
  padding: 18px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--mb-line);
  border-radius: 0;
  box-shadow: none;
}
#main .bgn-topic-card:hover { background: transparent; border-color: var(--mb-accent); }
#main .bgn-topic-number { display: none; }
#main .bgn-topic-card h3 { grid-column: 1; font: 600 18px/1.35 Barlow, Arial, sans-serif; }
#main .bgn-topic-card p { grid-column: 1; margin: 0; font-size: 15px; line-height: 1.55; }
#main .bgn-topic-read {
  grid-column: 2;
  grid-row: 1 / 3;
  width: auto;
  min-height: 44px;
  margin: 0;
  gap: 7px;
  align-self: center;
  font-size: 13px;
  white-space: nowrap;
}

/* Large gallery chapters, preserving the original semantic section order. */
#main .home-section { padding-block: 60px; }
#main .live-feature {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 25px;
  margin-top: 52px;
  overflow: visible;
}
#main .live-feature > img,
#main .live-feature > .pb-flow-media {
  grid-column: 1 / -1;
  width: 100%;
  height: clamp(390px, 36vw, 500px);
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
}
#main .live-feature > .pb-flow-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
#main .live-copy {
  grid-column: 2 / 12;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 48px;
  padding: 0;
}
#main .live-copy > .category-label { grid-column: 1; grid-row: 1; }
#main .live-copy h2 { grid-column: 1; grid-row: 2 / 5; max-width: 18ch; font-size: 40px; }
#main .live-copy > p { grid-column: 2; grid-row: 2; max-width: none; margin: 0; font-size: 18px; }
#main .live-copy .game-names { grid-column: 2; grid-row: 3; margin-block: 18px; }
#main .live-copy > .button { grid-column: 2; grid-row: 4; justify-self: start; }
#main .sports-section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px 24px;
  padding-block: 64px;
}
#main .sports-title { display: contents; }
#main .sports-title > .category-label { grid-column: 2 / 12; grid-row: 1; margin: 0; }
#main .sports-title > h2 { grid-column: 2 / 9; grid-row: 2; font-size: 39px; }
#main .sports-detail-image,
#main .sports-title > .pb-flow-media {
  grid-column: 2 / 12;
  grid-row: 3;
  width: 100%;
  height: clamp(360px, 32vw, 450px);
  margin: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
}
#main .sports-title > .pb-flow-media > img { width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: center; }
#main .sports-title > .text-link { grid-column: 9 / 12; grid-row: 2; justify-self: end; align-self: end; margin: 0; }
#main .sports-copy {
  grid-column: 2 / 12;
  grid-row: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  margin: 0;
}
#main .sports-copy > p { max-width: 50ch; font-size: 18px; }
#main .sports-formats { margin: 0; }
#main .sports-formats a { padding-block: 13px; }
#main .sports-formats strong { font-size: 18px; }
#main .sports-formats span { font-size: 15px; }
#main .andar-section {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6.5fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 0;
  overflow: visible;
}
#main .andar-copy { padding: 0; }
#main .andar-copy h2 { font-size: 40px; }
#main .andar-copy > p { max-width: 52ch; margin-block: 20px; font-size: 18px; }
#main .andar-section > img,
#main .andar-section > .pb-flow-media { width: 100%; height: 490px; object-fit: cover; object-position: center; border-radius: 2px; }
#main .andar-section > .pb-flow-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
#main .andar-details { gap: 22px; margin-bottom: 22px; padding-top: 19px; }
#main .andar-details h3 { font-size: 18px; }
#main .andar-details p { font-size: 15px; line-height: 1.6; }

/* Practical chapters have images and plain factual copy, without card plates. */
#main .essentials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; padding-top: 62px; }
#main .essentials-grid > article {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 21px;
  padding: 0;
  overflow: visible;
}
#main .panel-art { width: 100%; height: 100%; min-height: 285px; object-fit: cover; object-position: center; border-radius: 2px; }
#main .essential-copy { padding: 0; }
#main .essentials-grid h2 { font-size: 29px; }
#main .essentials-grid p { font-size: 16px; line-height: 1.6; margin-block: 15px 20px; }
#main .essentials-grid .button { padding-inline: 16px; white-space: normal; }
#main .mobile-bottom { margin-top: 17px; padding-top: 15px; gap: 10px; font-size: 14px; }
#main .payment-feature { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 42px; align-items: center; }
#main .payment-visual { padding: 0; min-height: 0; background: transparent; border: 0; border-radius: 2px; overflow: visible; }
#main .payment-visual img { width: 100%; height: 400px; object-fit: cover; object-position: center; }
#main .payment-copy h2 { font-size: 38px; }
#main .payment-copy > p { max-width: 58ch; font-size: 18px; }
#main .payment-methods { margin-top: 20px; }
#main .payment-methods > span { background: transparent; color: var(--mb-text); border-color: var(--mb-line); }

/* Three formal rows: card62%left / live58%right / slots66%left. */
#main .reading-section { padding-top: 12px; }
#main .section-heading h2 { font-size: 38px; }
#main .section-heading p { font-size: 18px; }
#main .reading-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
#main .reading-grid > article {
  display: grid;
  grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
  gap: 28px;
  align-items: center;
  padding: 0;
  overflow: visible;
}
#main .reading-grid > article:nth-child(2) { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
#main .reading-grid > article:nth-child(2) > :is(.reading-image, .pb-flow-media) { grid-column: 2; grid-row: 1; }
#main .reading-grid > article:nth-child(2) > .reading-copy { grid-column: 1; grid-row: 1; }
#main .reading-grid > article:nth-child(3) { grid-template-columns: minmax(0, 66fr) minmax(0, 34fr); }
#main .reading-image { width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; object-position: center; border-radius: 2px; }
#main .reading-grid > article > .pb-flow-media { width: 100%; aspect-ratio: 1.85; }
#main .reading-grid > article > .pb-flow-media > .reading-image { width: 100%; height: 100%; aspect-ratio: auto; }
#main .reading-copy { display: block; padding: 0; }
#main .reading-grid h3 { font: 400 32px/1.22 var(--pb-heading-font); }
#main .reading-grid p { font-size: 18px; line-height: 1.65; margin-top: 18px; }
#main .reading-copy .text-link { margin-top: 16px; padding-top: 0; }

/* Listing/search/archive rows use the same image/text language, no title plate. */
#main .bgn-archive { padding-block: 42px 56px; }
#main .bgn-archive-heading { max-width: 880px; }
#main :is(.bgn-archive-heading, .collection-heading) h1 { font-size: 48px; }
#main .bgn-archive-heading > p { font-size: 18px; }
#main .bgn-results-grid, #main .article-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
#main .bgn-result-link, #main .article-card {
  display: grid;
  grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
  gap: 28px;
  align-items: center;
  height: auto;
  overflow: visible;
}
#main .bgn-result-link > img, #main .article-card > img { width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; border-radius: 2px; }
#main .bgn-result-copy, #main .article-card > div { padding: 0; display: block; }
#main .bgn-result-copy h2, #main .article-card h2 { font-size: 32px; line-height: 1.22; }
#main .bgn-result-copy p, #main .article-card p { font-size: 18px; line-height: 1.65; margin-block: 17px 20px; }
#main .bgn-result-card:nth-child(3n+2) .bgn-result-link,
#main .article-card:nth-child(3n+2) { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
#main .bgn-result-card:nth-child(3n+2) .bgn-result-link > img,
#main .article-card:nth-child(3n+2) > img { grid-column: 2; grid-row: 1; }
#main .bgn-result-card:nth-child(3n+2) .bgn-result-copy,
#main .article-card:nth-child(3n+2) > div { grid-column: 1; grid-row: 1; }
#main .bgn-result-card:nth-child(3n) .bgn-result-link,
#main .article-card:nth-child(3n) { grid-template-columns: minmax(0, 66fr) minmax(0, 34fr); }
#main .bgn-pagination { margin-top: 32px; }
#main .bgn-empty { padding-block: 24px 34px; }
#main .bgn-empty h2 { font-size: 31px; }
#main .collection-opening { display: block; }
#main .collection-art { width: 100%; height: auto; aspect-ratio: 2.1; object-fit: cover; margin-top: 25px; }

/* All singular templates, with/without image, including necessary function pages. */
#main .article-shell { padding-top: 25px; padding-bottom: 48px; }
#main .breadcrumbs { font-size: 14px; flex-wrap: wrap; margin-bottom: 24px; }
#main .article-masthead,
#main .article-masthead.with-image { display: block; min-height: 0; overflow: visible; margin-bottom: 36px; }
#main .article-intro { max-width: 860px; padding: 0; margin: 0 0 25px; }
#main .article-masthead h1 { font-size: 48px; line-height: 1.16; letter-spacing: -.025em; max-width: 27ch; }
#main .article-deck { max-width: 68ch; margin-top: 19px; font-size: 20px; line-height: 1.6; }
#main .article-intro .button { margin-top: 19px; }
#main .article-masthead > img { width: 100%; height: clamp(460px, 43vw, 640px); object-fit: cover; object-position: center; border-radius: 2px; }
#main .article-masthead.game-art-masthead > img { object-fit: contain; background: transparent; }
#main .article-layout {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, min(72ch, 760px));
  gap: 42px;
  justify-content: center;
  padding: 0;
  align-items: start;
}
#main .article-layout.without-contents { display: block; max-width: min(72ch, 760px); margin-inline: auto; }
#main .contents-rail { position: static; top: auto; padding: 0; background: transparent; border: 0; border-radius: 0; }
#main .contents-rail h2 { font: 600 16px/1.45 Barlow, Arial, sans-serif; }
#main .contents-rail nav a { font-size: 14px; line-height: 1.5; padding-block: 7px; }
#main .article-content { width: 100%; max-width: 760px; min-width: 0; font-size: 18px; line-height: 1.7; }
#main .article-content h2 { font-size: 32px; line-height: 1.23; margin-block: 34px 17px; background: transparent !important; box-shadow: none; }
#main .article-content h3 { font: 600 23px/1.3 Barlow, Arial, sans-serif; margin-block: 27px 14px; background: transparent !important; }
#main .article-content :is(h1, h2, h3, h4)::before,
#main .article-content :is(h1, h2, h3, h4)::after { background: none; box-shadow: none; }
#main .article-content :is(img, iframe) { max-width: 100%; }
#main .article-content img { height: auto; }
#main .article-content :is(figure, .wp-block-image) { max-width: 100%; margin-inline: 0; }
#main .article-content figcaption { font-size: 14px; line-height: 1.55; color: var(--pb-muted) !important; }
#main .article-content .table-scroll,
#main .article-content .wp-block-table,
#main .article-content :is(div, figure):has(> table) { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
#main .article-content :is(h2, h3, section, .game-detail),
#main .bgc-reference { scroll-margin-top: 116px; }
#main .bgc-reference { background: var(--pb-card); border-color: var(--mb-line); }
#main .article-content .bgc-reference h2 { font: 600 27px/1.25 Barlow, Arial, sans-serif; margin-top: 0; }
#main .article-content .bgc-reference p { font-size: 15px; line-height: 1.65; }
#main .not-found { padding-block: 52px 72px; }
#main .not-found h1 { font-size: 48px; }
#main .not-found p { font-size: 18px; }
#main .fallback-article { padding-block: 42px 65px; }

/* Native FAQ details and complete risk/age text are preserved. */
#main .faq-section { padding-block: 62px 42px; gap: 52px; }
#main .faq-section h2 { font-size: 37px; }
#main .faq-section > div > p { max-width: 36ch; }
#main .faq-list summary { font-size: 18px; line-height: 1.5; }
#main .faq-list details p { font-size: 17px; line-height: 1.7; }
#main .faq-image { height: 185px; max-width: 340px; border-radius: 2px; }
#main .player-care { padding-block: 24px 28px; }
#main .player-care p { font-size: 15px; }

/* Adapted finite Arrow Flow decoration. Requires opt-in markup and the bounded
 * native event integration in native-edit-map.json. Without that integration
 * arrows stay static and original actions remain usable. Never apply any
 * pb-flow class to auth/Logo/dialog. An eligible media/title/read-link group
 * shares one activation class; the image/title/summary never move.
 * Source: https://uiverse.io/Li-Deheng/shy-moth-10
 * MIT License — Copyright - 2026 Li-Deheng (李德恒)
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to
 * deal in the Software without restriction, including without limitation the
 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 * sell copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 * IN THE SOFTWARE.
 */
#main .pb-flow-group { position: relative; }
#main .pb-flow-media {
  display: block;
  position: relative;
  min-width: 0;
  overflow: visible;
  border-radius: 2px;
  line-height: 0;
}
#main .pb-flow-media > img { display: block; border-radius: 2px; }
#main .pb-flow-media .pb-media-hint {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 32px;
  color: #17343b;
  background: #a4d6df;
  border-radius: 2px;
  pointer-events: none;
}
#main .pb-flow-media .pb-media-hint .pb-arrow-flow { margin: 0; }
#main .pb-arrow-flow {
  display: inline-grid;
  grid-template-columns: repeat(3, 6px);
  justify-content: center;
  align-items: center;
  gap: 1px;
  width: 24px;
  height: 18px;
  flex: 0 0 24px;
  margin-inline-start: 7px;
  pointer-events: none;
}
#main .pb-arrow-flow > span {
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: 0;
  transform: rotate(45deg);
}
#main .pb-arrow-flow > span:first-child { opacity: 1; }
#main .pb-flow-target.pb-flow-active .pb-arrow-flow > span,
#main .pb-flow-group.pb-flow-active .pb-arrow-flow > span {
  /* 660ms per arrow, onsets 0/120/240; settle by 900ms. The event
   * activation lasts 1000ms including its final 100ms static rest. */
  animation: pb-arrow-flow-once 660ms ease-out 1;
}
#main .pb-flow-target.pb-flow-active .pb-arrow-flow > span:nth-child(2),
#main .pb-flow-group.pb-flow-active .pb-arrow-flow > span:nth-child(2) { animation-delay: 120ms; }
#main .pb-flow-target.pb-flow-active .pb-arrow-flow > span:nth-child(3),
#main .pb-flow-group.pb-flow-active .pb-arrow-flow > span:nth-child(3) { animation-delay: 240ms; }
@keyframes pb-arrow-flow-once {
  0%, 100% { opacity: 0; }
  28%, 54% { opacity: 1; }
}
#main :is(.pb-flow-target:disabled, .pb-flow-target[aria-disabled="true"]) .pb-arrow-flow > span { animation: none !important; }
#main .pb-flow-group:has([aria-disabled="true"]:focus-visible) .pb-arrow-flow > span { animation: none !important; }

@media (max-width: 1100px) {
  #main .hero-copy { column-gap: 34px; }
  #main .hero h1 { font-size: 49px; }
  #main .hero-art { height: 460px; }
  #main .finder-grid.bgc-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  #main .bgc-game-grid > a.bgc-game-card,
  #main .bgc-game-grid > a.bgc-game-card:nth-child(-n+4) { grid-column: auto; }
  #main .bgn-topic-grid { column-gap: 24px; }
  #main .bgn-topic-card { gap: 7px 12px; }
  #main .bgn-topic-read { font-size: 12px; }
  #main .live-copy { grid-column: 1 / -1; column-gap: 32px; }
  #main .sports-title > :is(.category-label, h2, .sports-detail-image, .pb-flow-media, .text-link),
  #main .sports-copy { grid-column: 1 / -1; }
  #main .sports-title > .text-link { grid-row: 5; justify-self: start; }
  #main .andar-section { gap: 30px; }
  #main .andar-section > img, #main .andar-section > .pb-flow-media { height: 430px; }
  #main .andar-copy h2 { font-size: 35px; }
  #main .essentials-grid { grid-template-columns: 1fr; gap: 35px; }
  #main .essentials-grid > article { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 30px; }
  #main .panel-art { min-height: 0; height: 300px; }
  #main .essentials-grid h2 { font-size: 34px; }
  #main .reading-grid h3, #main .bgn-result-copy h2, #main .article-card h2 { font-size: 29px; }
  #main .article-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 30px; }
  #main .article-masthead h1 { font-size: 43px; }
  #main .article-masthead > img { height: 470px; }
}

@media (max-width: 700px) {
  #main { font-size: 17px; line-height: 1.7; }
  #main > .shell { width: calc(100% - 36px); }
  #main .home-shell { padding-top: 27px; }
  #main .hero-copy { display: block; padding-bottom: 23px; }
  #main .hero-intro { margin-bottom: 12px; }
  #main .hero h1 { max-width: 20ch; font-size: clamp(34px, 9.5vw, 38px); line-height: 1.15; }
  #main .hero-deck { max-width: none; margin-top: 17px; font-size: 17px; line-height: 1.65; }
  #main .hero-actions { margin-top: 19px; gap: 9px; }
  #main .hero-actions .button { font-size: 14px; min-height: 45px; padding-inline: 16px; }
  #main .hero-small { margin-top: 12px; font-size: 13px; }
  #main .hero-art { height: auto; aspect-ratio: 5 / 4; min-height: 0; object-fit: cover; object-position: center; }
  #main .category-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #main .category-bar a { padding: 13px 8px; min-height: 57px; gap: 8px; font-size: 13px; white-space: normal; }
  #main .category-bar a:nth-child(2n) { border-right: 0; }
  #main .category-bar a:nth-child(-n+2) { border-bottom: 1px solid var(--mb-line); }
  #main .category-bar a:nth-child(3) { padding-left: 0; }
  #main .home-section { padding-block: 39px; }
  #main .game-finder.home-section { padding-top: 38px; padding-bottom: 0; }
  #main .finder-heading { display: block; margin-bottom: 20px; }
  #main .finder-heading h2 { font-size: 30px; }
  #main .finder-heading > p { margin-block: 14px 9px; font-size: 17px; }
  #main .finder-heading .text-link { margin-top: 0; }
  #main .finder-grid.bgc-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  #main .bgc-finder .bgc-game-name { font-size: 20px; }
  #main .bgc-finder .finder-tile-copy { padding: 17px; }
  #main .bgc-finder .finder-tile-copy p { font-size: 15px; }
  #main .bgc-finder .provider-name { font-size: 12px; }
  #main .bgc-finder .card-read { font-size: 14px; }
  #main .bgn-discovery { padding: 37px 0 0; }
  #main .bgn-heading { display: block; }
  #main .bgn-heading h2 { font-size: 29px; }
  #main .bgn-topic-grid { grid-template-columns: 1fr; }
  #main .bgn-topic-card { padding-block: 16px; }
  #main .bgn-topic-card h3 { font-size: 18px; }
  #main .bgn-topic-card p { grid-column: 1 / -1; font-size: 15px; }
  #main .bgn-topic-read { grid-column: 2; grid-row: 1; font-size: 12px; align-self: start; }
  #main .live-feature { display: block; margin-top: 39px; }
  #main .live-feature > img,
  #main .live-feature > .pb-flow-media { width: 100%; height: auto; aspect-ratio: 5 / 4; min-height: 0; }
  #main .live-copy { display: block; padding: 22px 0 0; }
  #main .live-copy h2 { max-width: none; font-size: 31px; }
  #main .live-copy > p { margin-top: 16px; font-size: 17px; }
  #main .sports-section { display: flex; flex-direction: column; gap: 0; padding-block: 40px; }
  #main .sports-title { display: contents; }
  #main .sports-title > .category-label { order: 0; margin-bottom: 10px; }
  #main .sports-title > h2 { order: 1; font-size: 31px; }
  #main .sports-detail-image,
  #main .sports-title > .pb-flow-media { order: 2; height: auto; aspect-ratio: 4 / 3; margin-top: 21px; }
  #main .sports-title > .text-link { order: 4; margin-top: 13px; align-self: start; }
  #main .sports-copy { order: 3; display: block; margin-top: 19px; }
  #main .sports-copy > p { font-size: 17px; }
  #main .sports-formats { margin-top: 20px; }
  #main .andar-section { display: flex; flex-direction: column-reverse; gap: 23px; margin: 0; }
  #main .andar-section > img,
  #main .andar-section > .pb-flow-media { width: 100%; height: auto; aspect-ratio: 5 / 4; }
  #main .andar-copy h2 { font-size: 31px; }
  #main .andar-copy > p { font-size: 17px; }
  #main .andar-details { gap: 18px; }
  #main .andar-details h3 { font-size: 18px; }
  #main .essentials-grid { padding-top: 39px; gap: 37px; }
  #main .essentials-grid > article { display: block; }
  #main .panel-art { width: 100%; height: auto; aspect-ratio: 5 / 4; min-height: 0; }
  #main .essential-copy { padding-top: 21px; }
  #main .essentials-grid h2 { font-size: 30px; }
  #main .essentials-grid p { font-size: 17px; }
  #main .payment-feature { display: block; padding-block: 39px; }
  #main .payment-visual img { width: 100%; height: auto; aspect-ratio: 5 / 4; }
  #main .payment-copy { margin-top: 22px; }
  #main .payment-copy h2 { font-size: 31px; }
  #main .payment-copy > p { font-size: 17px; }
  #main .reading-section { padding-top: 0; }
  #main .section-heading { display: block; }
  #main .section-heading h2 { font-size: 30px; }
  #main .section-heading p { font-size: 17px; }
  #main .reading-grid { gap: 37px; }
  #main .reading-grid > article,
  #main .reading-grid > article:nth-child(2),
  #main .reading-grid > article:nth-child(3) { display: flex; flex-direction: column; gap: 21px; align-items: stretch; }
  #main .reading-image,
  #main .reading-grid > article > .pb-flow-media { width: 100%; height: auto; aspect-ratio: 5 / 4; }
  #main .reading-grid h3 { max-width: none; font-size: 29px; }
  #main .reading-grid p { font-size: 17px; }
  #main .bgn-archive { padding-block: 31px 43px; }
  #main :is(.bgn-archive-heading, .collection-heading) h1 { font-size: 34px; }
  #main .bgn-archive-heading > p { font-size: 17px; }
  #main .bgn-filters { gap: 7px; margin-block: 23px 20px; }
  #main .bgn-filters a { font-size: 13px; min-height: 44px; }
  #main .bgn-results-grid, #main .article-grid { gap: 35px; }
  #main .bgn-result-link,
  #main .bgn-result-card:nth-child(3n+2) .bgn-result-link,
  #main .bgn-result-card:nth-child(3n) .bgn-result-link,
  #main .article-card,
  #main .article-card:nth-child(3n+2),
  #main .article-card:nth-child(3n) { display: flex; flex-direction: column; gap: 20px; align-items: stretch; }
  #main .bgn-result-link > img, #main .article-card > img { width: 100%; height: auto; aspect-ratio: 5 / 4; }
  #main .bgn-result-copy h2, #main .article-card h2 { font-size: 29px; }
  #main .bgn-result-copy p, #main .article-card p { font-size: 17px; }
  #main .article-shell { padding-block: 21px 38px; }
  #main .breadcrumbs { font-size: 13px; gap: 8px; margin-bottom: 20px; }
  #main .article-masthead, #main .article-masthead.with-image { display: block; margin-bottom: 27px; }
  #main .article-intro { width: 100%; padding: 0; margin-bottom: 23px; }
  #main .article-masthead h1 { max-width: none; font-size: clamp(30px, 8.6vw, 35px); line-height: 1.18; }
  #main .article-deck { margin-top: 17px; max-width: none; font-size: 18px; line-height: 1.65; }
  #main .article-masthead > img { width: 100%; height: auto; aspect-ratio: 5 / 4; }
  #main .article-layout { display: flex; flex-direction: column; gap: 27px; padding: 0; }
  #main .contents-rail { width: 100%; position: static; padding: 0; background: transparent; border: 0; }
  #main .contents-rail nav a { padding-block: 7px; font-size: 15px; }
  #main .article-content { width: 100%; max-width: none; font-size: 17px; line-height: 1.7; }
  #main .article-content h2 { font-size: 28px; }
  #main .article-content h3 { font-size: 22px; }
  #main .article-content :is(h2, h3, section, .game-detail), #main .bgc-reference { scroll-margin-top: 96px; }
  #main .bgc-reference { grid-template-columns: 1fr; padding: 17px; gap: 20px; }
  #main .not-found { padding-block: 39px 55px; }
  #main .not-found h1 { font-size: 35px; }
  #main .faq-section { display: block; padding-block: 41px 29px; }
  #main .faq-section h2 { font-size: 30px; }
  #main .faq-section > div > p { max-width: none; }
  #main .faq-image { width: 100%; max-width: none; height: auto; aspect-ratio: 1.8; }
  #main .faq-list summary { font-size: 17px; }
  #main .player-care p { font-size: 14px; }
}

@media (max-width: 419px) {
  #main .finder-grid.bgc-game-grid,
  #main .bgc-finder:has(.bgc-filters button[aria-pressed="true"]:not([data-catalog-filter="all"])) .bgc-game-grid,
  #main .bgc-game-grid:has(> .bgc-game-card[hidden]) { grid-template-columns: 1fr; }
  #main .hero-actions { align-items: stretch; }
  #main .hero-actions .button { white-space: normal; }
  #main .bgn-topic-card { gap: 7px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  #main .pb-arrow-flow > span { animation: none !important; transform: rotate(45deg) !important; }
  #main .pb-arrow-flow > span:first-child { opacity: 1 !important; }
  #main .pb-arrow-flow > span:not(:first-child) { opacity: 0 !important; }
}
/* End Planbet native CSS fragment. Native previews/public verification pending. */

/* Planbet hero image text overlay — PLN-HERO-TEXT-20261024-v1.
 * Text remains semantic HTML; this fragment only places it over the generated
 * image and adds a local readability wash in the image safe area.
 */
#main .hero {
  display: block;
  position: relative;
  min-height: clamp(520px, 42vw, 700px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 2px;
}
#main .hero-art {
  display: block;
  position: relative;
  inset: auto;
  z-index: 0;
  width: 100%;
  height: clamp(520px, 42vw, 700px);
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 0;
}
#main .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(20,18,15,.86) 0%, rgba(20,18,15,.67) 27%, rgba(20,18,15,.24) 53%, rgba(20,18,15,.03) 74%, transparent 100%);
}
#main .hero-copy {
  position: absolute;
  inset: clamp(29px, 5.2vw, 78px) auto auto clamp(24px, 5.2vw, 78px);
  z-index: 2;
  width: min(520px, 44%);
  max-width: none;
  padding: 0;
  display: block;
}
#main .hero-intro { margin: 0 0 13px; color: #d6c9bb; }
#main .hero h1 { max-width: 12ch; margin: 0; color: #f4ece1; }
#main .hero-deck { max-width: 47ch; margin: 20px 0 0; color: #eee4d8; }
#main .hero-actions { margin-top: 22px; }
#main .hero-small { margin-top: 13px; color: #d6c9bb; }

@media (max-width: 1100px) {
  #main .hero-copy { width: min(500px, 48%); }
}

@media (max-width: 700px) {
  #main .hero {
    min-height: 520px;
  }
  #main .hero-art {
    height: 520px;
    aspect-ratio: auto;
    object-position: 29% 50%;
  }
  #main .hero::after {
    background: linear-gradient(180deg, rgba(20,18,15,.9) 0%, rgba(20,18,15,.72) 43%, rgba(20,18,15,.27) 78%, rgba(20,18,15,.08) 100%);
  }
  #main .hero-copy {
    inset: 24px 18px auto;
    width: auto;
    max-width: calc(100% - 36px);
  }
  #main .hero h1 {
    max-width: 14ch;
    font-size: clamp(34px, 9.5vw, 38px);
    line-height: 1.15;
  }
  #main .hero-deck {
    max-width: 33ch;
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.55;
  }
  #main .hero-actions { margin-top: 17px; }
  #main .hero-small { margin-top: 11px; }
}
/* End Planbet hero image text overlay. */

/* Planbet mobile hero fit correction — PLN-HERO-MOBILE-FIT-20261024-v1.
 * Based on the real 390×844 capture: long semantic HTML hero copy needs a
 * taller image safe area so deck, CTA and condition stay inside the image.
 */
@media (max-width: 700px) {
  #main .hero { min-height: 700px; }
  #main .hero-art { height: 700px; }
}
/* End Planbet mobile hero fit correction. */

/* Planbet layout reframe — PLN-LAYOUT-REFRAME-20261024-v2.
 * Cross-site de-duplication: this site uses a plain masthead + standalone scene,
 * vertical topic index, asymmetric catalogue mosaic and alternating chapters.
 * No logo, auth control, URL, image source or semantic copy is changed here.
 */
#main .home-shell { padding-top: 52px; }
#main .hero {
  display: block;
  position: relative;
  min-height: 0;
  overflow: visible;
  isolation: auto;
  border-radius: 0;
}
#main .hero::after { display: none; }
#main .hero-copy {
  position: static;
  inset: auto;
  z-index: auto;
  width: 100%;
  max-width: none;
  padding: 0 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  gap: 0 64px;
  align-items: start;
}
#main .hero-intro { grid-column: 1; grid-row: 1; margin: 0 0 13px; color: var(--pb-muted); }
#main .hero h1 { grid-column: 1; grid-row: 2 / 5; max-width: 14ch; margin: 0; color: var(--mb-text); font-size: clamp(48px, 4.7vw, 70px); line-height: 1.04; letter-spacing: -.04em; }
#main .hero-deck { grid-column: 2; grid-row: 2; max-width: 42ch; margin: 0; color: var(--mb-text); font-size: 18px; line-height: 1.7; }
#main .hero-actions { grid-column: 2; grid-row: 3; margin-top: 24px; gap: 11px; }
#main .hero-small { grid-column: 2; grid-row: 4; margin-top: 14px; color: var(--pb-muted); font-size: 13px; }
#main .hero-art { display: block; position: static; inset: auto; z-index: auto; width: 100%; height: clamp(430px, 34vw, 520px); object-fit: cover; object-position: 50% 50%; border-radius: 3px; }

/* A vertical topic index instead of the shared four-cell horizontal rail. */
#main .category-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
#main .category-bar a,
#main .category-bar a:first-child,
#main .category-bar a:last-child {
  min-height: 112px;
  padding: 16px 17px;
  border: 1px solid var(--mb-line);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 1.35;
}
#main .category-bar a:nth-child(2), #main .category-bar a:nth-child(4) { transform: translateY(22px); }
#main .category-bar a:hover { background: var(--pb-card); color: var(--mb-link); border-color: var(--mb-accent); }

/* Magazine mosaic: the first source card owns a wide measure, the remaining
 * references fill smaller editorial tiles instead of a repeated 4+5 strip. */
#main .finder-grid.bgc-game-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
#main .bgc-game-grid > a.bgc-game-card { grid-column: span 3; }
#main .bgc-game-grid > a.bgc-game-card:nth-child(1) { grid-column: span 6; grid-row: span 2; }
#main .bgc-game-grid > a.bgc-game-card:nth-child(2),
#main .bgc-game-grid > a.bgc-game-card:nth-child(3),
#main .bgc-game-grid > a.bgc-game-card:nth-child(4),
#main .bgc-game-grid > a.bgc-game-card:nth-child(5) { grid-column: span 3; }
#main .bgc-game-grid > a.bgc-game-card:nth-child(1) .bgc-game-art { aspect-ratio: 16 / 11; }

/* Discovery topics use a numbered editorial index, distinct from the catalogue. */
#main .bgn-topic-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; }
#main .bgn-topic-card { grid-template-columns: 1fr; min-height: 164px; padding: 18px 0 20px; border-top: 1px solid var(--mb-line); }
#main .bgn-topic-card:nth-child(-n+5) { border-top: 0; border-bottom: 1px solid var(--mb-line); }
#main .bgn-topic-number { display: block; color: var(--pb-accent); font-size: 12px; letter-spacing: .08em; }
#main .bgn-topic-card h3, #main .bgn-topic-card p, #main .bgn-topic-read { grid-column: 1; }
#main .bgn-topic-card h3 { font-size: 17px; }
#main .bgn-topic-read { grid-row: auto; align-self: start; min-height: 0; }

/* Alternating chapters: image and explanation trade the dominant edge. */
#main .live-feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 42px; align-items: end; margin-top: 72px; }
#main .live-feature > img, #main .live-feature > .pb-flow-media { grid-column: 2; grid-row: 1; height: 470px; }
#main .live-copy { grid-column: 1; grid-row: 1; display: block; padding: 0 0 13px; }
#main .live-copy h2 { max-width: 12ch; margin-top: 13px; font-size: 45px; }
#main .live-copy > p { max-width: 36ch; margin-block: 22px; font-size: 17px; }
#main .live-copy .game-names { justify-content: flex-start; margin-block: 18px; }
#main .sports-section { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 34px; align-items: start; }
#main .sports-title > .category-label { grid-column: 1; grid-row: 1; }
#main .sports-title > h2 { grid-column: 1; grid-row: 2 / 4; align-self: start; max-width: 11ch; font-size: 43px; }
#main .sports-detail-image, #main .sports-title > .pb-flow-media { grid-column: 2; grid-row: 1 / 4; height: 470px; }
#main .sports-title > .text-link { grid-column: 1; grid-row: 4; justify-self: start; }
#main .sports-copy { grid-column: 1 / -1; grid-row: 5; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 38px; }
#main .andar-section { grid-template-columns: minmax(0, 6.5fr) minmax(0, 3.5fr); gap: 48px; }
#main .andar-section > img, #main .andar-section > .pb-flow-media { grid-column: 1; grid-row: 1; height: 520px; }
#main .andar-copy { grid-column: 2; grid-row: 1; align-self: center; }
#main .essentials-grid { grid-template-columns: 1fr; gap: 58px; }
#main .essentials-grid > article { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; }
#main .essentials-grid > article:nth-child(2) { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
#main .essentials-grid > article:nth-child(2) .panel-art { grid-column: 2; grid-row: 1; }
#main .essentials-grid > article:nth-child(2) .essential-copy { grid-column: 1; grid-row: 1; }
#main .payment-feature { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 52px; }
#main .payment-copy { align-self: end; }

@media (max-width: 1000px) {
  #main .hero-copy { gap: 0 36px; }
  #main .hero h1 { font-size: clamp(44px, 5.4vw, 60px); }
  #main .bgn-topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #main .bgn-topic-card:nth-child(-n+5) { border-bottom: 0; border-top: 1px solid var(--mb-line); }
  #main .bgn-topic-card:nth-child(-n+3) { border-top: 0; border-bottom: 1px solid var(--mb-line); }
  #main .live-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  #main .live-feature > img, #main .live-feature > .pb-flow-media { height: 400px; }
}
@media (max-width: 700px) {
  #main .home-shell { padding-top: 28px; }
  #main .hero { min-height: 0; }
  #main .hero-copy { display: block; padding-bottom: 22px; }
  #main .hero-intro { margin-bottom: 11px; }
  #main .hero h1 { max-width: 15ch; font-size: clamp(36px, 10vw, 44px); line-height: 1.08; }
  #main .hero-deck { max-width: none; margin-top: 18px; font-size: 17px; line-height: 1.6; }
  #main .hero-actions { margin-top: 18px; }
  #main .hero-small { margin-top: 12px; }
  #main .hero-art { height: auto; min-height: 0; aspect-ratio: 4 / 3; object-position: center; }
  #main .category-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 18px; }
  #main .category-bar a, #main .category-bar a:first-child, #main .category-bar a:last-child { min-height: 88px; padding: 13px 12px; }
  #main .category-bar a:nth-child(2), #main .category-bar a:nth-child(4) { transform: none; }
  #main .finder-grid.bgc-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  #main .bgc-game-grid > a.bgc-game-card, #main .bgc-game-grid > a.bgc-game-card:nth-child(1), #main .bgc-game-grid > a.bgc-game-card:nth-child(2), #main .bgc-game-grid > a.bgc-game-card:nth-child(3), #main .bgc-game-grid > a.bgc-game-card:nth-child(4), #main .bgc-game-grid > a.bgc-game-card:nth-child(5) { grid-column: auto; grid-row: auto; }
  #main .bgn-topic-grid { grid-template-columns: 1fr; gap: 0; }
  #main .bgn-topic-card, #main .bgn-topic-card:nth-child(-n+5), #main .bgn-topic-card:nth-child(-n+3) { min-height: 0; border-top: 1px solid var(--mb-line); border-bottom: 0; padding-block: 16px; }
  #main .live-feature, #main .sports-section, #main .andar-section, #main .essentials-grid, #main .essentials-grid > article, #main .essentials-grid > article:nth-child(2), #main .payment-feature { display: flex; flex-direction: column; gap: 21px; }
  #main .live-feature > img, #main .live-feature > .pb-flow-media, #main .sports-detail-image, #main .sports-title > .pb-flow-media, #main .andar-section > img, #main .andar-section > .pb-flow-media { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  #main .live-copy, #main .sports-copy, #main .andar-copy, #main .payment-copy, #main .essentials-grid > article .essential-copy, #main .essentials-grid > article:nth-child(2) .essential-copy { width: 100%; }
  #main .essentials-grid > article:nth-child(2) .panel-art, #main .essentials-grid > article:nth-child(2) .essential-copy { order: initial; }
}
/* End Planbet layout reframe. */

/* Planbet hero overlay user steer — PLN-HERO-OVERLAY-USER-STEER-20261024-v2.
 * User-directed correction: keep the title, deck, CTAs and 18+ condition inside
 * the hero image's dark safe area while preserving the cross-site layout reframe.
 */
#main .hero {
  position: relative;
  min-height: clamp(520px, 42vw, 700px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 3px;
}
#main .hero::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(20,18,15,.86) 0%, rgba(20,18,15,.67) 27%, rgba(20,18,15,.24) 53%, rgba(20,18,15,.03) 74%, transparent 100%);
}
#main .hero-art {
  position: relative;
  z-index: 0;
  width: 100%;
  height: clamp(520px, 42vw, 700px);
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 0;
}
#main .hero-copy {
  position: absolute;
  inset: clamp(29px, 5.2vw, 78px) auto auto clamp(24px, 5.2vw, 78px);
  z-index: 2;
  width: min(560px, 48%);
  max-width: none;
  padding: 0;
  display: block;
}
#main .hero-intro { margin: 0 0 13px; color: #d6c9bb; }
#main .hero h1 { max-width: 12ch; margin: 0; color: #f4ece1; }
#main .hero-deck { max-width: 47ch; margin: 20px 0 0; color: #eee4d8; }
#main .hero-actions { margin-top: 22px; }
#main .hero-small { margin-top: 13px; color: #d6c9bb; }

@media (max-width: 700px) {
  #main .hero { min-height: 700px; }
  #main .hero-art { height: 700px; aspect-ratio: auto; object-position: 29% 50%; }
  #main .hero::after { background: linear-gradient(180deg, rgba(20,18,15,.9) 0%, rgba(20,18,15,.72) 43%, rgba(20,18,15,.27) 78%, rgba(20,18,15,.08) 100%); }
  #main .hero-copy { inset: 24px 18px auto; width: auto; max-width: calc(100% - 36px); }
  #main .hero h1 { max-width: 14ch; font-size: clamp(34px, 9.5vw, 38px); line-height: 1.15; }
  #main .hero-deck { max-width: 33ch; margin-top: 15px; font-size: 16px; line-height: 1.55; }
  #main .hero-actions { margin-top: 17px; }
  #main .hero-small { margin-top: 11px; }
}
/* End Planbet hero overlay user steer. */

/* Planbet hero overlay safe-height guard — PLN-HERO-OVERLAY-SAFE-HEIGHT-20261024-v3.
 * Keeps the full semantic copy stack, including the 18+ condition, inside the
 * desktop image while preserving the user-steered mobile 700px safe area.
 */
#main .hero { min-height: clamp(700px, 42vw, 760px); }
#main .hero-art { height: clamp(700px, 42vw, 760px); }
@media (max-width: 700px) {
  #main .hero { min-height: 700px; }
  #main .hero-art { height: 700px; }
}
/* End Planbet hero overlay safe-height guard. */
