/* SG Clarity (sgc1): light Singapore theme over the V3 renderer.
   Every selector is scoped to body[data-theme="sgc1"], so other themes are unchanged.
   Brand colours come from the brand tokens (primary, secondary, buttonText, footer); the light
   neutral surfaces are part of the theme, so any brand palette stays a daytime design.
   Distinctive sections are V3 blocks with structural `sgc-*` block ids set by the preset. */
body[data-theme="sgc1"] {
  --sg-ink: #0f1b2a;
  --sg-muted: #4a5a68;
  --sg-band: color-mix(in srgb, var(--primary) 7%, #fff);
  --sg-tile: color-mix(in srgb, var(--primary) 12%, #fff);
  --sg-line: color-mix(in srgb, var(--primary) 14%, #e2e8eb);
  --sg-link: color-mix(in srgb, var(--primary) 78%, #000);
  --sg-warm: color-mix(in srgb, var(--secondary) 13%, #fff);
  --sg-shadow: 0 2px 10px rgb(15 27 42 / 8%);
  --sg-width: 1200px;
  --sg-gutter: 24px;
  --sg-icon-games: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7.5' height='7.5' rx='2'/%3E%3Crect x='13.5' y='3' width='7.5' height='7.5' rx='2'/%3E%3Crect x='3' y='13.5' width='7.5' height='7.5' rx='2'/%3E%3Crect x='13.5' y='13.5' width='7.5' height='7.5' rx='2'/%3E%3C/svg%3E");
  --sg-icon-offers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V4a1 1 0 0 1 1-1h8l9 9-9 9z'/%3E%3Ccircle cx='8' cy='8' r='1.6'/%3E%3C/svg%3E");
  --sg-icon-payments: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2.5'/%3E%3Cpath d='M2.5 10h19M6.5 15h4'/%3E%3C/svg%3E");
  --sg-icon-help: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.7.3-1 .9-1 1.6v.6M12 17.2v.1'/%3E%3C/svg%3E");
  --sg-icon-start: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 4h11l-2 4 2 4H5'/%3E%3C/svg%3E");
  --sg-icon-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.6-3.2 8.3-7.5 9.5-4.3-1.2-7.5-4.9-7.5-9.5V6z'/%3E%3Cpath d='M8.8 12.2l2.2 2.2 4.3-4.6'/%3E%3C/svg%3E");
  --sg-icon-live: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='13' rx='2.5'/%3E%3Cpath d='M10 9v5l4.5-2.5z'/%3E%3Cpath d='M8 21h8'/%3E%3C/svg%3E");
  --sg-icon-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4.5'/%3E%3Cpath d='M11.3 11.7L20 3M16.5 6.5l2.5 2.5M14 9l2 2'/%3E%3C/svg%3E");
  --sg-icon-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10A4.3 4.3 0 0 1 12 7.4 4.3 4.3 0 0 1 19.5 10c0 5.4-7.5 10-7.5 10z'/%3E%3C/svg%3E");
  --sg-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --sg-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 9.5L12 15l5.5-5.5'/%3E%3C/svg%3E");
  --radius: 8px;
  --radius-lg: 12px;
  background: #fff;
  color: var(--sg-ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: clip;
}
/* The brand palette generator makes dark neutrals; this theme keeps its own light ones. */
body[data-theme="sgc1"] > * {
  --background: #fff; --surface: var(--sg-band); --inset: var(--sg-band); --header: #fff;
  --text: var(--sg-ink); --muted: var(--sg-muted); --muted-text: var(--sg-muted);
  --border: var(--sg-line); --link: var(--sg-link); --accent: var(--primary); --focus: var(--sg-link);
}
body[data-theme="sgc1"] a { color: var(--sg-link); }
/* v3.css fixes article text at 15.36px; this theme sizes text per section instead. */
body[data-theme="sgc1"] article.container :where(p, li) { font-size: inherit; line-height: inherit; }
body[data-theme="sgc1"] article.container { line-height: 1.65; }
body[data-theme="sgc1"] h1, body[data-theme="sgc1"] h2, body[data-theme="sgc1"] h3, body[data-theme="sgc1"] .article-section h2 { color: var(--sg-ink); letter-spacing: -.01em; text-transform: none; }

/* Buttons: filled brand primary, white outline secondary. No uppercase. */
body[data-theme="sgc1"] .button {
  min-height: 44px; padding: 9px 20px; border: 2px solid var(--sg-link); border-radius: 8px;
  background-color: #fff !important; color: var(--sg-link); font-size: 15px; font-weight: 700; text-transform: none; text-decoration: none; filter: none;
}
/* style.css forces every .button to the primary fill with !important; outline buttons opt back out. */
body[data-theme="sgc1"] .button:not(.primary) { color: var(--sg-link) !important; }
body[data-theme="sgc1"] .button.primary { border-color: var(--primary); background-color: var(--primary) !important; color: var(--buttonText) !important; }
body[data-theme="sgc1"] .button:hover { background-color: var(--sg-tile) !important; }
body[data-theme="sgc1"] .button.primary:hover { background-color: color-mix(in srgb, var(--primary) 86%, #000) !important; }

/* Notice bar */
body[data-theme="sgc1"] .notice-bar { max-width: var(--sg-width); margin: 0 auto; padding: 7px var(--sg-gutter); border-radius: 0 0 16px 16px; background: var(--sg-warm); color: var(--sg-ink); font-size: 13px; line-height: 1.45; text-align: center; }
body[data-theme="sgc1"] .notice-bar p { margin: 0; }
body[data-theme="sgc1"] .notice-link { color: var(--sg-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* Header */
body[data-theme="sgc1"] .site-header { background: rgb(255 255 255 / 96%); border-bottom: 1px solid var(--sg-line); backdrop-filter: blur(8px); }
body[data-theme="sgc1"] .header-inner { max-width: var(--sg-width); min-height: 76px; padding: 8px var(--sg-gutter); gap: 28px; }
body[data-theme="sgc1"] .header-inner .brand img { width: auto; height: 46px; }
body[data-theme="sgc1"] .desktop-nav { justify-content: flex-start; gap: 4px; }
body[data-theme="sgc1"] .desktop-nav a { padding: 8px 12px; border-radius: 8px; color: var(--sg-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
body[data-theme="sgc1"] .desktop-nav a:hover, body[data-theme="sgc1"] .desktop-nav a[aria-current="page"] { background: var(--sg-tile); color: var(--sg-link); text-decoration: none; }
body[data-theme="sgc1"] .header-actions { display: flex; gap: 10px; margin-left: auto; }
body[data-theme="sgc1"] .menu-toggle { color: var(--sg-ink); }

/* Hero: an in-container banner, tinted from the brand colours, with a dotted texture behind the art */
body[data-theme="sgc1"] .hero { padding: 20px var(--sg-gutter) 0; border: 0; background: none; }
body[data-theme="sgc1"] .hero-inner {
  position: relative; isolation: isolate; max-width: var(--sg-width); min-height: 480px; margin: 0 auto; padding: 0 0 0 64px; gap: 16px;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; overflow: hidden; border-radius: 20px;
  background: radial-gradient(circle at 74% 46%, color-mix(in srgb, var(--secondary) 20%, transparent), transparent 52%), linear-gradient(118deg, color-mix(in srgb, var(--primary) 18%, #fff), color-mix(in srgb, var(--primary) 5%, #fff) 70%);
}
body[data-theme="sgc1"] .hero-inner::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 42%; background-image: radial-gradient(color-mix(in srgb, var(--primary) 26%, transparent) 1.5px, transparent 1.7px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
body[data-theme="sgc1"] .hero-copy { padding: 56px 0; }
body[data-theme="sgc1"] .eyebrow { display: inline-block; margin: 0 0 18px; padding: 5px 14px; border-radius: 999px; background: #fff; color: var(--sg-link); font-size: 13px; font-weight: 700; }
body[data-theme="sgc1"] .hero-title { margin: 0 0 30px; text-transform: none; color: var(--sg-ink); font-size: clamp(34px, 4vw, 54px); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; }
body[data-theme="sgc1"] .hero-cta { margin-right: 10px; font-size: 16px; padding: 12px 28px; box-shadow: none; }
/* style.css pins .hero-art to 305px with !important; this theme sizes the art to its column. */
body[data-theme="sgc1"] .hero-art { align-self: center; width: 100% !important; height: auto !important; max-height: 470px; margin: 12px 0; object-fit: contain; }
body[data-theme="sgc1"] .hero[data-variant="split-compact"] .hero-inner { min-height: 320px !important; max-width: var(--sg-width); }
body[data-theme="sgc1"] .hero[data-variant="split-compact"] .hero-copy { padding: 40px 0; }
body[data-theme="sgc1"] .hero[data-variant="split-compact"] .hero-title { font-size: clamp(28px, 3vw, 42px); text-transform: none !important; }
body[data-theme="sgc1"] .hero[data-variant="split-compact"] .hero-art { width: min(400px, 100%) !important; max-height: 310px; justify-self: center; }

/* Page body */
body[data-theme="sgc1"] main > article.container { max-width: var(--sg-width); padding: 0 var(--sg-gutter) 56px; }
body[data-theme="sgc1"] main > article > h1 { max-width: 800px; margin: 40px auto 8px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
body[data-theme="sgc1"] main > article:has([data-block-id="sgc-lead"]) > h1 { max-width: none; text-align: center; }
body[data-theme="sgc1"] [data-block-id="sgc-lead"] { max-width: 760px; margin: 0 auto; color: var(--sg-muted); font-size: 18px; text-align: center; }
/* Reading column for ordinary content blocks */
body[data-theme="sgc1"] article > .rich-text, body[data-theme="sgc1"] article > .article-section:not([data-block-id^="sgc-"]),
body[data-theme="sgc1"] article > .faq, body[data-theme="sgc1"] article > .toc, body[data-theme="sgc1"] article > .contact-section,
body[data-theme="sgc1"] article > .cta-section, body[data-theme="sgc1"] article > .content-image { max-width: 800px; margin-inline: auto; }
/* Pages with game grids line their text up with the grids instead. */
body[data-theme="sgc1"] article:has(> .games):not(:has(> [data-block-id="sgc-chapter"])) > :is(h1, .rich-text, .article-section:not([data-block-id^="sgc-"]), .faq, .toc, .cta-section) { max-width: 800px; margin-inline: 0 auto; }
body[data-theme="sgc1"] article > .content-image { margin-block: 32px; }
body[data-theme="sgc1"] article > .content-image img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 16px; }
body[data-theme="sgc1"] article > [data-block-id="sgc-lead"] { margin-inline: auto; }
body[data-theme="sgc1"] .article-section { margin-block: 40px; }
body[data-theme="sgc1"] .article-section > h2, body[data-theme="sgc1"] .faq > h2, body[data-theme="sgc1"] .collection-title { margin: 0 0 14px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; }
body[data-theme="sgc1"] .rich-text p, body[data-theme="sgc1"] .article-section p { margin: 0 0 14px; line-height: 1.65; }
body[data-theme="sgc1"] .article-list { padding-left: 0; list-style: none; }
body[data-theme="sgc1"] ul.article-list > li { position: relative; margin: 8px 0; padding-left: 28px; }
body[data-theme="sgc1"] ul.article-list > li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; background: var(--primary); -webkit-mask: var(--sg-icon-check) center / contain no-repeat; mask: var(--sg-icon-check) center / contain no-repeat; }
body[data-theme="sgc1"] ol.article-list { counter-reset: sg-step; }
body[data-theme="sgc1"] ol.article-list > li { position: relative; margin: 10px 0; padding: 2px 0 2px 44px; counter-increment: sg-step; }
body[data-theme="sgc1"] ol.article-list > li::before { content: counter(sg-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sg-tile); color: var(--sg-link); font-size: 14px; font-weight: 800; }
body[data-theme="sgc1"] .cta-section { margin-block: 20px; }
body[data-theme="sgc1"] .table-scroll { border: 1px solid var(--sg-line); border-radius: 12px; overflow: auto; }
body[data-theme="sgc1"] table { width: 100%; margin: 0; border: 0; border-collapse: collapse; border-radius: 0; font-size: 15px; }
body[data-theme="sgc1"] th { background: var(--sg-band); color: var(--sg-ink); font-size: 13px; letter-spacing: 0; text-align: left; text-transform: none; }
body[data-theme="sgc1"] th, body[data-theme="sgc1"] td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--sg-line); }
body[data-theme="sgc1"] tbody tr:nth-child(n) { background: #fff; }
body[data-theme="sgc1"] tbody tr:last-child td { border-bottom: 0; }

/* Quick links: a brand band with a white panel overlapping its lower edge */
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 40px 0 8px; padding-top: 40px; }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"]::before { content: ""; position: absolute; z-index: -2; top: 0; left: 50%; width: 100vw; height: 190px; transform: translateX(-50%); background: var(--primary); }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"]::after { content: ""; z-index: -1; grid-column: 1 / -1; grid-row: 2 / 4; border-radius: 16px; background: #fff; box-shadow: 0 6px 24px rgb(15 27 42 / 10%); }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > h2 { grid-column: 1 / -1; margin: 0 0 24px; color: var(--buttonText); text-align: center; }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > h3 { grid-row: 2; position: relative; margin: 0; padding: 92px 28px 6px; font-size: 18px; }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > ul { grid-row: 3; margin: 0; padding: 0 28px 28px; list-style: none; }
/* Explicit columns: the panel behind them already occupies these cells. */
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > :is(h3, ul):nth-of-type(1) { grid-column: 1; }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > :is(h3, ul):nth-of-type(2) { grid-column: 2; }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > :is(h3, ul):nth-of-type(3) { grid-column: 3; }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > :is(h3, ul):nth-of-type(4) { grid-column: 4; }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > h3:not(:nth-of-type(1)), body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > ul:not(:nth-of-type(1)) { border-left: 1px solid var(--sg-line); }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > h3::after { content: ""; position: absolute; top: 28px; left: 28px; width: 52px; height: 52px; border-radius: 14px; background: var(--sg-tile); }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > h3::before { content: ""; position: absolute; z-index: 1; top: 41px; left: 41px; width: 26px; height: 26px; background: var(--primary); -webkit-mask: var(--sg-icon-games) center / contain no-repeat; mask: var(--sg-icon-games) center / contain no-repeat; }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > h3:nth-of-type(2)::before { -webkit-mask-image: var(--sg-icon-offers); mask-image: var(--sg-icon-offers); }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > h3:nth-of-type(3)::before { -webkit-mask-image: var(--sg-icon-payments); mask-image: var(--sg-icon-payments); }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > h3:nth-of-type(4)::before { -webkit-mask-image: var(--sg-icon-help); mask-image: var(--sg-icon-help); }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] ul.article-list > li { margin: 0; padding: 0; }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] ul.article-list > li::before { content: none; }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] li a { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 15px; font-weight: 700; text-decoration: none; }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] li a::after { content: "\2192"; }
body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] li a:hover { text-decoration: underline; }

/* Game grids: the catalogue artwork leads, at its native 16:9 (no RTP, rating or availability claims) */
body[data-theme="sgc1"] .games { margin: 64px 0; padding: 0; border-radius: 0; background: none; }
body[data-theme="sgc1"] .collection-heading { align-items: end; margin-bottom: 22px; }
body[data-theme="sgc1"] .collection-title { margin: 0; }
body[data-theme="sgc1"] .collection-heading .button.all-games { border-color: var(--sg-link); background-color: #fff !important; color: var(--sg-link) !important; }
body[data-theme="sgc1"] .game-grid, body[data-theme="sgc1"] .game-grid[data-variant] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; overflow: visible; padding: 0; }
body[data-theme="sgc1"] .game { display: flex; flex-direction: column; min-width: 0; max-width: none; padding: 0; border: 0; background: none; }
body[data-theme="sgc1"] .poster { flex: none; overflow: hidden; border-radius: 14px; background: var(--sg-tile); box-shadow: 0 1px 2px rgb(15 27 42 / 10%), 0 8px 22px -12px rgb(15 27 42 / 35%); }
body[data-theme="sgc1"] .poster > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: none; transform: none; transition: transform .25s ease; }
body[data-theme="sgc1"] .game:hover .poster > img { transform: scale(1.04); }
body[data-theme="sgc1"] .game-actions { display: none; }
body[data-theme="sgc1"] .game h3 { margin: 12px 0 4px; overflow: hidden; color: var(--sg-ink); font-size: 16px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
body[data-theme="sgc1"] .game p { margin: 0; overflow: hidden; color: var(--sg-muted); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
/* Homepage: one lead title beside two, then a row of three */
body[data-theme="sgc1"] [data-block-id="sgc-featured-games"] .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body[data-theme="sgc1"] [data-block-id="sgc-featured-games"] .game:first-child { grid-column: span 2; grid-row: span 2; }
body[data-theme="sgc1"] [data-block-id="sgc-featured-games"] .game:first-child .poster { flex: 1; }
body[data-theme="sgc1"] [data-block-id="sgc-featured-games"] .game:first-child .poster > img { height: 100%; aspect-ratio: auto; min-height: 300px; }
body[data-theme="sgc1"] [data-block-id="sgc-featured-games"] .game:first-child h3 { margin-top: 14px; font-size: 22px; }
body[data-theme="sgc1"] [data-block-id="sgc-featured-games"] .game:first-child p { font-size: 14px; }

/* Category chips */
body[data-theme="sgc1"] [data-block-id="sgc-categories"] { margin: 32px 0 0; }
body[data-theme="sgc1"] [data-block-id="sgc-categories"] > h2 { margin: 0 0 12px; color: var(--sg-muted); font-size: 14px; font-weight: 700; letter-spacing: 0; }
body[data-theme="sgc1"] [data-block-id="sgc-categories"] .feature-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
body[data-theme="sgc1"] [data-block-id="sgc-categories"] li { margin: 0; padding: 0; }
body[data-theme="sgc1"] [data-block-id="sgc-categories"] li::before { content: none; }
body[data-theme="sgc1"] [data-block-id="sgc-categories"] a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--sg-line); border-radius: 999px; background: #fff; color: var(--sg-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
body[data-theme="sgc1"] [data-block-id="sgc-categories"] li:first-child a { border-color: var(--primary); background: var(--primary); color: var(--buttonText); }
body[data-theme="sgc1"] [data-block-id="sgc-categories"] a:hover { border-color: var(--primary); }

/* Homepage, below the games: four composed sections, each with its own ground.
   1 brand panel  2 editorial band  3 long read as a chapter  4 closing band (FAQ + safer play) */
body[data-theme="sgc1"] main > article:has(> [data-block-id="sgc-chapter"]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 56px; padding-bottom: 0; counter-reset: sg-read; }
body[data-theme="sgc1"] main > article:has(> [data-block-id="sgc-chapter"]) > * { grid-column: 1 / -1; }

/* 1. Brand panel: heading and action left, numbered checks right, the essentials as figures along the foot.
   It overlaps the top of the editorial band, like Quick Links over its band. */
body[data-theme="sgc1"] [data-block-id="sgc-checks"] { position: relative; z-index: 1; isolation: isolate; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr auto auto; column-gap: 24px; margin: 72px 0 -80px; padding: 64px 64px 52px; overflow: hidden; border-radius: 24px; background: var(--primary); color: var(--buttonText); box-shadow: 0 24px 48px -28px rgb(15 27 42 / 45%); }
body[data-theme="sgc1"] [data-block-id="sgc-checks"]::before { content: ""; position: absolute; z-index: -1; top: -140px; right: -110px; width: 420px; height: 420px; border-radius: 50%; background: color-mix(in srgb, var(--buttonText) 7%, transparent); }
body[data-theme="sgc1"] [data-block-id="sgc-checks"] > h2 { grid-column: 1 / 6; grid-row: 1; margin: 0 0 16px; color: var(--buttonText); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; }
body[data-theme="sgc1"] [data-block-id="sgc-checks"] > .rich-text:first-of-type { grid-column: 1 / 6; grid-row: 2; color: color-mix(in srgb, var(--buttonText) 82%, transparent); font-size: 17px; }
body[data-theme="sgc1"] [data-block-id="sgc-checks"] > .cta-section { grid-column: 1 / 6; grid-row: 3; margin: 14px 0 0; }
body[data-theme="sgc1"] [data-block-id="sgc-checks"] .button.primary { border-color: var(--buttonText); background-color: var(--buttonText) !important; color: var(--primary) !important; }
body[data-theme="sgc1"] [data-block-id="sgc-checks"] > ol { grid-column: 7 / 13; grid-row: 1 / 5; margin: 0; }
body[data-theme="sgc1"] [data-block-id="sgc-checks"] ol.article-list > li { margin: 0; padding: 24px 0 24px 76px; border-top: 1px solid color-mix(in srgb, var(--buttonText) 24%, transparent); color: var(--buttonText); font-size: 19px; line-height: 1.45; }
body[data-theme="sgc1"] [data-block-id="sgc-checks"] ol.article-list > li:first-child { padding-top: 4px; border-top: 0; }
body[data-theme="sgc1"] [data-block-id="sgc-checks"] ol.article-list > li::before { content: counter(sg-step, decimal-leading-zero); top: 20px; width: auto; height: auto; border-radius: 0; background: none; color: var(--buttonText); font-size: 34px; font-weight: 800; line-height: 1; opacity: .9; }
body[data-theme="sgc1"] [data-block-id="sgc-checks"] ol.article-list > li:first-child::before { top: 0; }
body[data-theme="sgc1"] [data-block-id="sgc-checks"] > h3 { grid-row: 5; grid-column: span 3; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid color-mix(in srgb, var(--buttonText) 28%, transparent); color: var(--buttonText); font-size: clamp(22px, 2.1vw, 30px); font-weight: 800; line-height: 1.1; white-space: nowrap; }
body[data-theme="sgc1"] [data-block-id="sgc-checks"] > .rich-text:not(:first-of-type) { grid-row: 6; grid-column: span 3; color: color-mix(in srgb, var(--buttonText) 76%, transparent); font-size: 14px; }
body[data-theme="sgc1"] [data-block-id="sgc-checks"] > .rich-text:not(:first-of-type) p { margin: 6px 0 0; }

/* 2. Editorial band: a lead guide on the brand's deep colour, six ruled entries beside it */
body[data-theme="sgc1"] [data-block-id="sgc-guide-band"] { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; margin: 0; padding: 168px 0 96px; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-band"]::before { content: ""; position: absolute; z-index: -1; inset: 0 auto 0 50%; width: 100vw; transform: translateX(-50%); background: var(--sg-band); }
body[data-theme="sgc1"] [data-block-id="sgc-guide-band"] > h2 { grid-column: 1 / 3; max-width: 15ch; margin: 0 0 40px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-band"] > .rich-text { grid-column: 3; align-self: end; margin-bottom: 40px; color: var(--sg-muted); font-size: 17px; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-band"] > .rich-text p { margin: 0; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li { position: relative; margin: 0; padding: 26px 0 30px; border-top: 1px solid color-mix(in srgb, var(--primary) 24%, transparent); color: var(--sg-muted); font-size: 15px; line-height: 1.55; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li::before { content: none; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li a { display: block; margin-bottom: 8px; color: var(--sg-ink); font-size: 20px; font-weight: 750; line-height: 1.25; text-decoration: none; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li a::after { content: ""; position: absolute; inset: 0; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li:hover a { color: var(--sg-link); text-decoration: underline; text-underline-offset: 3px; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li:first-child { grid-column: 1; grid-row: 1 / span 3; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; margin: 0 8px 0 0; padding: 40px; overflow: hidden; border: 0; border-radius: 20px; background: var(--footer); color: rgb(255 255 255 / 80%); font-size: 17px; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li:first-child::before { content: "S$" / ""; position: absolute; top: 22px; left: 36px; color: var(--secondary); font-size: 150px; font-weight: 800; line-height: 1; letter-spacing: -.05em; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li:first-child a { margin-bottom: 12px; color: #fff; font-size: 34px; line-height: 1.08; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li:first-child:hover a { color: #fff; }

/* 3. The long read as a chapter: an opener with a chapter bar, then chapters with hanging numerals */
/* Grid items with auto margins shrink to their content, so the chapter column gets an explicit width. */
body[data-theme="sgc1"] [data-block-id="sgc-chapter"] { width: min(960px, 100%); max-width: none; margin: 104px auto 8px; }
body[data-theme="sgc1"] [data-block-id="sgc-chapter"] > h2 { max-width: 17ch; margin: 0 0 16px; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.06; letter-spacing: -.02em; }
body[data-theme="sgc1"] [data-block-id="sgc-chapter"] > .rich-text { max-width: 620px; color: var(--sg-muted); font-size: 18px; }
body[data-theme="sgc1"] [data-block-id="sgc-chapter"] ul.article-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin: 36px 0 0; border-top: 2px solid var(--sg-ink); counter-reset: sg-chapter; }
body[data-theme="sgc1"] [data-block-id="sgc-chapter"] ul.article-list > li { margin: 0; padding: 16px 0 0; counter-increment: sg-chapter; }
body[data-theme="sgc1"] [data-block-id="sgc-chapter"] ul.article-list > li::before { content: counter(sg-chapter, decimal-leading-zero); position: static; display: block; width: auto; height: auto; margin-bottom: 6px; background: none; color: var(--primary); font-size: 14px; font-weight: 800; -webkit-mask: none; mask: none; }
body[data-theme="sgc1"] [data-block-id="sgc-chapter"] li a { color: var(--sg-ink); font-size: 16px; font-weight: 700; text-decoration: none; }
body[data-theme="sgc1"] [data-block-id="sgc-chapter"] li a:hover { color: var(--sg-link); text-decoration: underline; }
body[data-theme="sgc1"] [data-block-id^="sgc-read-"] { position: relative; width: min(960px, 100%); max-width: none; margin: 0 auto; padding: 52px 0 12px 168px; border-top: 1px solid var(--sg-line); counter-increment: sg-read; }
body[data-theme="sgc1"] [data-block-id="sgc-read-compare"] { margin-top: 56px; }
body[data-theme="sgc1"] [data-block-id^="sgc-read-"]::before { content: counter(sg-read, decimal-leading-zero); position: absolute; top: 46px; left: 0; color: color-mix(in srgb, var(--primary) 32%, #fff); font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
body[data-theme="sgc1"] [data-block-id^="sgc-read-"] > h2 { margin-bottom: 16px; font-size: clamp(24px, 2.4vw, 32px); }
body[data-theme="sgc1"] [data-block-id^="sgc-read-"] p { max-width: 700px; }
body[data-theme="sgc1"] [data-block-id="sgc-read-compare"] ul.article-list { columns: 2; column-gap: 40px; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px dashed var(--sg-line); }
body[data-theme="sgc1"] [data-block-id="sgc-read-compare"] ul.article-list > li { break-inside: avoid; }
body[data-theme="sgc1"] [data-block-id="sgc-pullquote"] p { max-width: 720px; margin: 6px 0 22px; padding-left: 24px; border-left: 4px solid var(--secondary); color: var(--sg-ink); font-size: clamp(21px, 2.2vw, 27px); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }

/* 4. Closing band: questions and safer play side by side on a warm ground, straight into the footer */
body[data-theme="sgc1"] main > article:has(> [data-block-id="sgc-chapter"]) > [data-block-id="home-faq"] { position: relative; isolation: isolate; grid-column: 1; max-width: none; margin: 96px 0 0; padding: 80px 0 88px; }
/* The band spreads from the FAQ column across the full width; the safer-play card sits on top of it. */
body[data-theme="sgc1"] main > article:has(> [data-block-id="sgc-chapter"]) > [data-block-id="home-faq"] { box-shadow: 0 0 0 100vmax var(--sg-warm); clip-path: inset(0 -100vmax); background: var(--sg-warm); }
body[data-theme="sgc1"] main > article:has(> [data-block-id="sgc-chapter"]) > [data-block-id="home-faq"] > h2 { font-size: clamp(26px, 2.8vw, 36px); }
body[data-theme="sgc1"] main > article:has(> [data-block-id="sgc-chapter"]) > [data-block-id="sgc-safer-play"] { grid-column: 2; align-self: start; max-width: none; margin: 176px 0 88px; padding: 104px 32px 32px; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px -26px rgb(15 27 42 / 40%); }
body[data-theme="sgc1"] main > article:has(> [data-block-id="sgc-chapter"]) > [data-block-id="sgc-safer-play"]::before { top: 36px; left: 32px; }

/* Guides: a hairline index with icons and arrows, not tiles */
body[data-theme="sgc1"] [data-block-id="sgc-guides"] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); column-gap: 48px; margin: 72px 0 64px; }
body[data-theme="sgc1"] [data-block-id="sgc-guides"] > h2 { margin: 0; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin: 0; padding: 0; border-top: 1px solid var(--sg-line); list-style: none; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] li { margin: 0; padding: 0; border-bottom: 1px solid var(--sg-line); }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] li::before { content: none; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] a { display: flex; align-items: center; gap: 16px; padding: 18px 4px; color: var(--sg-ink); font-size: 17px; font-weight: 600; text-decoration: none; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] a::before { content: ""; flex: none; width: 24px; height: 24px; background: var(--primary); -webkit-mask: var(--sg-icon-start) center / contain no-repeat; mask: var(--sg-icon-start) center / contain no-repeat; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] a::after { content: "\2192"; margin-left: auto; color: var(--sg-link); transition: transform .15s; }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] a:hover { color: var(--sg-link); }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] a:hover::after { transform: translateX(4px); }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] li:nth-child(2) a::before { -webkit-mask-image: var(--sg-icon-shield); mask-image: var(--sg-icon-shield); }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] li:nth-child(3) a::before { -webkit-mask-image: var(--sg-icon-offers); mask-image: var(--sg-icon-offers); }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] li:nth-child(4) a::before { -webkit-mask-image: var(--sg-icon-payments); mask-image: var(--sg-icon-payments); }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] li:nth-child(5) a::before { -webkit-mask-image: var(--sg-icon-games); mask-image: var(--sg-icon-games); }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] li:nth-child(6) a::before { -webkit-mask-image: var(--sg-icon-live); mask-image: var(--sg-icon-live); }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] li:nth-child(7) a::before { -webkit-mask-image: var(--sg-icon-key); mask-image: var(--sg-icon-key); }
body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] li:nth-child(8) a::before { -webkit-mask-image: var(--sg-icon-heart); mask-image: var(--sg-icon-heart); }

/* Before you play / safer play callouts */
body[data-theme="sgc1"] [data-block-id="sgc-before-you-play"] { max-width: 800px; margin: 48px 0; padding: 28px 32px; border: 1px solid var(--sg-line); border-radius: 16px; background: var(--sg-band); }
body[data-theme="sgc1"] [data-block-id="sgc-safer-play"] { position: relative; max-width: 800px; margin: 56px auto 0; padding: 32px 32px 32px 104px; border-radius: 16px; background: var(--sg-warm); }
body[data-theme="sgc1"] [data-block-id="sgc-safer-play"]::before { content: ""; position: absolute; top: 32px; left: 32px; width: 48px; height: 48px; background: var(--secondary); -webkit-mask: var(--sg-icon-heart) center / contain no-repeat; mask: var(--sg-icon-heart) center / contain no-repeat; }
body[data-theme="sgc1"] [data-block-id="sgc-safer-play"] .cta-section { margin-bottom: 0; }

/* Contents and FAQ */
body[data-theme="sgc1"] .toc { margin-block: 40px; padding: 18px 22px; border: 1px solid var(--sg-line); border-radius: 12px; background: #fff; }
body[data-theme="sgc1"] .toc > summary { margin: 0; border: 0; font-size: 17px; }
body[data-theme="sgc1"] .toc[open] > summary { margin-bottom: 10px; }
body[data-theme="sgc1"] .toc nav { padding: 0; background: none; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row; }
body[data-theme="sgc1"] .toc a { color: var(--sg-link); font-size: 15px; font-weight: 600; }
body[data-theme="sgc1"] .faq { margin-block: 48px; }
body[data-theme="sgc1"] .faq details { margin-bottom: 10px; padding: 0; border: 1px solid var(--sg-line); border-radius: 12px; background: #fff; }
body[data-theme="sgc1"] .faq details[open] { border-color: color-mix(in srgb, var(--primary) 40%, #fff); }
body[data-theme="sgc1"] .faq summary { padding: 14px 18px; cursor: pointer; }
body[data-theme="sgc1"] .faq summary h3 { margin: 0; font-size: 16px; line-height: 1.4; }
body[data-theme="sgc1"] .faq-chevron { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 50%; background-color: var(--sg-tile) !important; background-image: none !important; color: var(--sg-link) !important; opacity: 1; }
body[data-theme="sgc1"] .faq-answer { padding: 0 18px 6px; color: var(--sg-muted); }

/* Footer: deep brand colour */
body[data-theme="sgc1"] > footer { --text: #fff; --muted: rgb(255 255 255 / 72%); --link: #fff; margin-top: 0; padding: 56px 0 32px; background: var(--footer); color: #fff; text-align: left; }
body[data-theme="sgc1"] footer .container { max-width: var(--sg-width); padding: 0 var(--sg-gutter); }
body[data-theme="sgc1"] footer nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; justify-content: stretch; padding-bottom: 28px; border-bottom: 1px solid rgb(255 255 255 / 16%); }
body[data-theme="sgc1"] footer nav a { color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
body[data-theme="sgc1"] footer nav a:hover { text-decoration: underline; }
body[data-theme="sgc1"] footer p { margin: 16px 0 0; color: rgb(255 255 255 / 72%); font-size: 14px; line-height: 1.5; }
body[data-theme="sgc1"] .back-top { border-radius: 50%; background: var(--primary); color: var(--buttonText); box-shadow: var(--sg-shadow); }

/* Mobile navigation drawer */
body[data-theme="sgc1"] .drawer { background: #fff; color: var(--sg-ink); }
body[data-theme="sgc1"] .drawer nav a { color: var(--sg-ink); font-weight: 600; }

@media (max-width: 1149px) {
  body[data-theme="sgc1"] .header-inner { gap: 16px; }
}
@media (max-width: 767px) {
  body[data-theme="sgc1"] .header-inner { display: flex; flex-wrap: nowrap; }
  body[data-theme="sgc1"] .header-inner .brand { margin: 0 auto 0 0; }
  body[data-theme="sgc1"] .header-inner .brand img { width: auto; }
  body[data-theme="sgc1"] .header-actions .button { flex: none; }
}
@media (max-width: 899px) {
  body[data-theme="sgc1"] { --sg-gutter: 16px; }
  body[data-theme="sgc1"] .hero { padding-top: 12px; }
  body[data-theme="sgc1"] .hero-inner, body[data-theme="sgc1"] .hero[data-variant="split-compact"] .hero-inner { grid-template-columns: 1fr; min-height: 0 !important; padding: 0; gap: 0; }
  body[data-theme="sgc1"] .hero-inner::before { inset: 0 0 45% 0; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
  body[data-theme="sgc1"] .hero-art, body[data-theme="sgc1"] .hero[data-variant="split-compact"] .hero-art { grid-row: 1; width: 100% !important; height: auto !important; max-height: 300px; margin: 12px 0 0; justify-self: center; }
  body[data-theme="sgc1"] .hero-copy, body[data-theme="sgc1"] .hero[data-variant="split-compact"] .hero-copy { margin: 0; padding: 20px 20px 24px; text-align: left; }
  body[data-theme="sgc1"] .hero-title, body[data-theme="sgc1"] .hero[data-variant="split-compact"] .hero-title { margin-bottom: 20px; font-size: clamp(26px, 7vw, 34px); }
  body[data-theme="sgc1"] .hero-cta { margin: 0 0 10px; }
  body[data-theme="sgc1"] .hero-copy .button { width: 100%; }
  body[data-theme="sgc1"] main > article > h1 { margin-top: 28px; }
  body[data-theme="sgc1"] [data-block-id="sgc-lead"] { font-size: 16px; }
  body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] { display: block; margin: 32px 0 40px; padding-top: 32px; }
  body[data-theme="sgc1"] [data-block-id="sgc-quick-links"]::before { height: 150px; }
  body[data-theme="sgc1"] [data-block-id="sgc-quick-links"]::after { content: none; }
  body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > :is(h3, ul):nth-of-type(n) { border: 1px solid var(--sg-line); border-block: 0; background: #fff; }
  body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > h3:nth-of-type(1) { border-top: 1px solid var(--sg-line); border-radius: 16px 16px 0 0; }
  body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > ul:last-of-type { border-bottom: 1px solid var(--sg-line); border-radius: 0 0 16px 16px; box-shadow: 0 10px 18px -12px rgb(15 27 42 / 22%); }
  body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > h3 { padding: 22px 20px 4px 84px; }
  body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > h3:not(:nth-of-type(1)) { border-top: 1px solid var(--sg-line); margin-top: -1px; }
  body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > h3::after { top: 18px; left: 20px; width: 48px; height: 48px; }
  body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > h3::before { top: 30px; left: 32px; width: 24px; height: 24px; }
  body[data-theme="sgc1"] [data-block-id="sgc-quick-links"] > ul { padding: 0 20px 16px 84px; }
  body[data-theme="sgc1"] .game-grid, body[data-theme="sgc1"] .game-grid[data-variant], body[data-theme="sgc1"] [data-block-id="sgc-featured-games"] .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  body[data-theme="sgc1"] [data-block-id="sgc-featured-games"] .game:first-child { grid-column: auto; grid-row: auto; }
  body[data-theme="sgc1"] [data-block-id="sgc-featured-games"] .game:first-child .poster > img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  body[data-theme="sgc1"] [data-block-id="sgc-featured-games"] .game:first-child h3, body[data-theme="sgc1"] .game h3 { margin-top: 10px; font-size: 15px; }
  body[data-theme="sgc1"] [data-block-id="sgc-featured-games"] .game:first-child p, body[data-theme="sgc1"] .game p { font-size: 12px; }
  body[data-theme="sgc1"] .games { margin: 48px 0; }
  body[data-theme="sgc1"] [data-block-id="sgc-guides"] { display: block; margin: 64px 0 48px; }
  body[data-theme="sgc1"] [data-block-id="sgc-guides"] > h2 { margin-bottom: 16px; }
  body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] { grid-template-columns: 1fr; }
  body[data-theme="sgc1"] [data-block-id="sgc-guide-tiles"] a { padding: 15px 2px; font-size: 16px; }
  body[data-theme="sgc1"] [data-block-id="sgc-safer-play"] { padding: 84px 20px 24px; }
  body[data-theme="sgc1"] main > article:has(> [data-block-id="sgc-chapter"]) { display: block; }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; column-gap: 16px; margin: 56px calc(-1 * var(--sg-gutter)) -40px; padding: 40px 22px 32px; border-radius: 0 0 24px 24px; }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] > :is(h2, .rich-text:first-of-type, .cta-section, ol) { grid-column: 1 / -1; grid-row: auto; }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] > ol { margin-top: 12px; }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] > .cta-section { order: 1; margin-top: 20px; }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] ol.article-list > li, body[data-theme="sgc1"] [data-block-id="sgc-checks"] ol.article-list > li:first-child { padding: 18px 0 18px 54px; border-top: 1px solid color-mix(in srgb, var(--buttonText) 24%, transparent); font-size: 17px; }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] ol.article-list > li::before, body[data-theme="sgc1"] [data-block-id="sgc-checks"] ol.article-list > li:first-child::before { top: 18px; font-size: 26px; }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] > h3 { grid-column: auto; grid-row: auto; margin-top: 24px; padding-top: 16px; font-size: clamp(17px, 4.7vw, 21px); }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] > .rich-text:not(:first-of-type) { grid-column: auto; grid-row: auto; }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] > h3:nth-of-type(1) { grid-area: 5 / 1; } body[data-theme="sgc1"] [data-block-id="sgc-checks"] > .rich-text:nth-of-type(2) { grid-area: 6 / 1; }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] > h3:nth-of-type(2) { grid-area: 5 / 2; } body[data-theme="sgc1"] [data-block-id="sgc-checks"] > .rich-text:nth-of-type(3) { grid-area: 6 / 2; }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] > h3:nth-of-type(3) { grid-area: 7 / 1; } body[data-theme="sgc1"] [data-block-id="sgc-checks"] > .rich-text:nth-of-type(4) { grid-area: 8 / 1; }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] > h3:nth-of-type(4) { grid-area: 7 / 2; } body[data-theme="sgc1"] [data-block-id="sgc-checks"] > .rich-text:nth-of-type(5) { grid-area: 8 / 2; }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] > h2 { grid-area: 1 / 1 / 2 / -1; } body[data-theme="sgc1"] [data-block-id="sgc-checks"] > .rich-text:first-of-type { grid-area: 2 / 1 / 3 / -1; }
  body[data-theme="sgc1"] [data-block-id="sgc-checks"] > ol { grid-area: 3 / 1 / 4 / -1; } body[data-theme="sgc1"] [data-block-id="sgc-checks"] > .cta-section { grid-area: 4 / 1 / 5 / -1; }
  body[data-theme="sgc1"] [data-block-id="sgc-guide-band"] { display: block; padding: 96px 0 56px; }
  body[data-theme="sgc1"] [data-block-id="sgc-guide-band"] > h2 { margin-bottom: 12px; }
  body[data-theme="sgc1"] [data-block-id="sgc-guide-band"] > .rich-text { margin-bottom: 28px; }
  body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] { grid-template-columns: 1fr; }
  body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li:first-child { grid-row: auto; min-height: 0; margin: 0 0 12px; padding: 136px 28px 28px; }
  body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li:first-child::before { top: 16px; left: 24px; font-size: 104px; }
  body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li:first-child a { font-size: 27px; }
  body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li { padding: 20px 0 22px; }
  body[data-theme="sgc1"] [data-block-id="sgc-guide-list"] > li a { font-size: 18px; }
  body[data-theme="sgc1"] [data-block-id="sgc-chapter"] { margin: 64px 0 0; }
  body[data-theme="sgc1"] [data-block-id="sgc-chapter"] > .rich-text { font-size: 16px; }
  body[data-theme="sgc1"] [data-block-id="sgc-chapter"] ul.article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  body[data-theme="sgc1"] [data-block-id="sgc-chapter"] ul.article-list > li { padding: 14px 0 12px; }
  body[data-theme="sgc1"] [data-block-id^="sgc-read-"] { padding: 36px 0 8px; }
  body[data-theme="sgc1"] [data-block-id="sgc-read-compare"] { margin-top: 36px; }
  body[data-theme="sgc1"] [data-block-id^="sgc-read-"]::before { position: static; display: block; margin-bottom: 10px; font-size: 40px; }
  body[data-theme="sgc1"] [data-block-id="sgc-read-compare"] ul.article-list { columns: 1; }
  body[data-theme="sgc1"] main > article:has(> [data-block-id="sgc-chapter"]) > [data-block-id="home-faq"] { margin-top: 56px; padding: 48px 0 8px; }
  body[data-theme="sgc1"] main > article:has(> [data-block-id="sgc-chapter"]) > [data-block-id="sgc-safer-play"] { margin: 0; padding: 84px 20px 24px; box-shadow: 0 0 0 100vmax var(--sg-warm); clip-path: inset(0 -100vmax -56px); margin-bottom: 56px; }
  body[data-theme="sgc1"] [data-block-id="sgc-safer-play"]::before { top: 24px; left: 20px; width: 40px; height: 40px; }
  body[data-theme="sgc1"] [data-block-id="sgc-before-you-play"] { padding: 22px 20px; }
  body[data-theme="sgc1"] .toc nav { grid-template-columns: 1fr; }
  body[data-theme="sgc1"] .table-scroll { border: 0; border-radius: 0; }
  body[data-theme="sgc1"] tbody tr { margin-bottom: 12px; border: 1px solid var(--sg-line); border-radius: 12px; overflow: hidden; }
  body[data-theme="sgc1"] td { border-bottom: 1px solid var(--sg-line); }
  body[data-theme="sgc1"] td:last-child { border-bottom: 0; }
  body[data-theme="sgc1"] footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 559px) {
  body[data-theme="sgc1"] .notice-bar { border-radius: 0; font-size: 12px; }
  body[data-theme="sgc1"] .header-inner { flex-wrap: nowrap; min-height: 60px; padding: 8px 12px; gap: 8px; }
  body[data-theme="sgc1"] .header-inner .brand img { height: 36px; }
  body[data-theme="sgc1"] .header-actions { flex-basis: auto; }
  body[data-theme="sgc1"] .header-actions [data-account-nav="login"] { display: none; }
  body[data-theme="sgc1"] .header-actions .button { flex: none; min-height: 38px; padding: 6px 14px; font-size: 14px; }
  body[data-theme="sgc1"] .menu-toggle { padding: 2px 6px; }
}
