/* Dominologist Dominoes: one stylesheet for the whole site (the /app/ pages use app/app.css).
   Black and gold, the app's own colors. System fonts only: nothing loads from other servers.
   No inline styles anywhere, so the Content-Security-Policy can say style-src 'self'. */

:root {
  --bg: #0B0B0C;
  --card: #17171A;
  --card-hi: #1F1F23;
  --line: rgba(255, 255, 255, .08);
  --line-gold: rgba(226, 177, 80, .32);
  --ink: #F4EEE2;
  --muted: #A2A5AB;
  --gold: #E2B150;
  --gold-deep: #A8741E;
  --gold-grad: linear-gradient(135deg, #FFE6A0 0%, #E9B955 35%, #C48A26 72%, #F3CD72 100%);
  --gold-text: linear-gradient(180deg, #FFF1C4 0%, #F1C45E 55%, #C78C28 100%);
  --display: "DIN Condensed", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, sans-serif;
  --text: "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius: 16px;
  --wrap: 1120px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  overflow-wrap: break-word;
}
img, video, canvas, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #F3CD72; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
strong { color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--gold); color: #120d04; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; min-width: 0; }
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section h2, .page-head h1 { text-align: center; }
  .section-intro, .lede { margin-left: auto; margin-right: auto; text-align: center; }
  .brawl-hero { text-align: center; justify-items: center; }
  .brawl-poster { margin-left: auto; margin-right: auto; }
  .icon-row { justify-content: center; }
  .btns { justify-content: center; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
/* The same top bar on every page (Oct 20, 2026): the six main pages, then "All pages", a <details>
   that opens with no script (nav.js only closes it on a tap outside or Escape). On phones the six are
   a 3 × 2 grid of buttons and "All pages" is a full-width button whose list opens in the page. */
header.site-head { display: block; padding: 0; background: #08080A; border-bottom: 1px solid var(--line); }
.site-head .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; padding-top: 12px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand span { font: 700 21px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.nav a { display: inline-block; padding: 11px 0; color: var(--ink); text-decoration: none; font: 600 15px/1.2 var(--text); }
.nav a:hover { color: var(--gold); }
.nav a[aria-current] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
.nav .all-pages { margin: 0; padding: 0; border: 0; background: none; }
.all-pages > summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px; padding: 0 15px; border: 1px solid var(--line-gold); border-radius: 999px; color: var(--gold); font: 700 14.5px/1 var(--text); cursor: pointer; user-select: none; -webkit-user-select: none; }
.all-pages > summary::-webkit-details-marker { display: none; }
.all-pages > summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.all-pages[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.all-pages > summary:hover, .all-pages[open] > summary { background: #1D170B; border-color: var(--gold); }
.all-pages-panel { position: absolute; z-index: 60; top: 100%; left: 24px; right: 24px; max-height: calc(100vh - 110px); overflow: auto; overscroll-behavior: contain; padding: 18px 22px 20px; background: #0F0F12; border: 1px solid var(--line-gold); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .65); }
.all-pages-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.all-pages-top p { margin: 0; }
.all-pages-panel .all-pages-signup { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--gold-grad); color: #160F03; font-weight: 800; box-shadow: none; }
.all-pages-groups { columns: 5 165px; column-gap: 24px; }
.all-pages-groups > div { break-inside: avoid; padding-bottom: 14px; }
.all-pages-h { margin: 0 0 2px; font: 700 12px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.all-pages-panel ul { list-style: none; margin: 0; padding: 0; }
.all-pages-panel ul a { display: block; padding: 7px 0; font-weight: 500; font-size: 15px; }
.all-pages-panel ul a[aria-current="page"] { color: var(--gold); box-shadow: none; }
.all-pages-panel ul a[aria-current="page"]::after { content: " · you are here"; color: var(--muted); font-size: 12.5px; }
@media (max-width: 600px) {
  .nav { width: 100%; display: block; }
  .nav > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .nav > ul a { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 6px 4px; text-align: center; font-size: 14px; background: #131316; border: 1px solid var(--line); border-radius: 10px; }
  .nav > ul a[aria-current] { box-shadow: none; border-color: var(--gold); }
  .nav-long { display: none; }
  .nav .all-pages { margin-top: 6px; }
  .all-pages > summary { display: flex; width: 100%; min-height: 44px; border-radius: 10px; }
  .all-pages-panel { position: static; max-height: none; overflow: visible; margin-top: 8px; padding: 16px; }
  .all-pages-groups { columns: 2; column-gap: 16px; }
  .all-pages-panel ul a { padding: 8px 0; font-size: 14.5px; }
}
@media (max-width: 380px) {
  .nav > ul a { font-size: 13px; }
  .brand span { font-size: 19px; }
}

/* ---------- The felt (the app's own cloth, tiled, under a table lamp) ---------- */
.felt {
  background:
    radial-gradient(ellipse 70% 60% at 50% 34%, rgba(255, 236, 206, .085), rgba(255, 236, 206, 0) 60%),
    radial-gradient(ellipse 110% 90% at 50% 38%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .62) 100%),
    url("/img/felt-house.jpg") 50% 0 / 256px 256px repeat,
    #101011;
}
.steel {
  background:
    radial-gradient(ellipse 70% 60% at 50% 34%, rgba(240, 244, 250, .05), rgba(240, 244, 250, 0) 60%),
    radial-gradient(ellipse 110% 90% at 50% 38%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .6) 100%),
    url("/img/felt-steel.jpg") 50% 0 / 256px 256px repeat,
    #121315;
}

/* ---------- Type ---------- */
.eyebrow { margin: 0 0 10px; font: 700 13px/1.35 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
/* Lines that name iPhone or iPad are never set in capitals (Apple's typesetting rule). */
.eyebrow.plain { text-transform: none; letter-spacing: .03em; font-size: 16px; }
.display, .section h2, .page-head h1, .doc h1 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .98;
  color: var(--gold);
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-top: .08em;
}
.lede { font-size: 18px; max-width: 38em; margin: 0 0 14px; }
.muted, .small { color: var(--muted); }
.small { font-size: 14.5px; }
.pill { display: inline-block; padding: 3px 10px 2px; border: 1px solid var(--line-gold); border-radius: 999px; font: 700 11.5px/1.5 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 16px/1.1 var(--text); text-decoration: none; text-align: center; }
.btn-gold { background: var(--gold-grad); color: #1a1205; box-shadow: 0 6px 20px rgba(226, 177, 80, .22); }
.btn-gold:hover { color: #000; filter: brightness(1.06); }
.btn-line { border: 1.5px solid var(--line-gold); color: var(--ink); background: rgba(0, 0, 0, .35); }
.btn-line:hover { border-color: var(--gold); color: var(--ink); }

/* ---------- Home hero ---------- */
.hero { padding: 30px 0 44px; text-align: center; overflow-x: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; }
.hero .wrap > * { min-width: 0; max-width: 100%; }
.hero h1 { margin: 0; width: 100%; max-width: 100%; }
.hero h1 img { width: min(100%, 400px); margin: 0 auto; }
.hero .display { font-size: clamp(44px, 11vw, 76px); margin: 0 0 14px; }
.hero .lede { margin-left: auto; margin-right: auto; }
.hero .btns { justify-content: center; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 72px; text-align: left; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; }
  .hero h1 img { width: 100%; max-width: 460px; }
  .hero .lede { margin-left: 0; }
  .hero .btns { justify-content: flex-start; }
}

/* ---------- Sections ---------- */
.section { padding: 52px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(36px, 7vw, 54px); margin: 0 0 12px; }
.section-intro { max-width: 40em; margin: 0 0 26px; color: var(--muted); }
.cards { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; }
.card h3 { margin: 0 0 6px; font: 700 18px/1.3 var(--text); color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* The two worlds: live phone captures. Contain the full frame so standing sixes on the rack are not cropped. */
.worlds { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 0 0 10px; max-width: 420px; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .worlds { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
/* One capture on its own (Oct 20, 2026: the Court Yard table left the home page): centered, phone width. */
.worlds.worlds-one { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
.worlds figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.worlds picture { display: block; background: #0B0B0C; }
.worlds img, .worlds svg.worlds-draw { width: 100%; height: auto; object-fit: contain; object-position: top center; display: block; }
.founder-match { margin: 0; }
.founder-match-frame { position: relative; }
.founder-match-frame > img:not(.founder-six-cover) { width: 100%; display: block; border: 1px solid #ad874c; border-radius: 16px; }
.founder-six-cover { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; border: 0 !important; border-radius: 16px; }
.worlds figcaption { padding: 10px 12px 12px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.worlds figcaption strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 16px; }
.worlds-note { margin: 0 0 26px; }
@media (min-width: 900px) {
  .worlds { gap: 16px; }
  .worlds figure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .worlds figcaption { padding: 20px; font-size: 15.5px; }
  .worlds figcaption strong { font-size: 17px; }
}

.split { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; } .split.flip > :first-child { order: 2; } }
.frame { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-gold); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
.frame img { width: 100%; }

.crests { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.crests img { border-radius: 12px; border: 1px solid var(--line); width: 100%; }
@media (max-width: 520px) { .crests { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .crests img { border-radius: 8px; } }

.cover { margin: 0 auto; width: min(100%, 300px); }
.cover img { border-radius: 8px; box-shadow: 0 22px 48px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); }
.cover.big { width: min(100%, 270px); }
@media (min-width: 900px) { .cover.big { width: min(100%, 360px); } }
.tagline { font-style: italic; font-size: 19px; color: var(--ink); border-left: 3px solid var(--gold); padding-left: 14px; margin: 0 0 16px; }

/* Coming later: plain notes, not buttons (only Books is a link). */
.soon { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 620px) { .soon { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.soon li { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.soon .what { color: var(--ink); font-weight: 700; font-size: 17px; line-height: 1.3; }
.soon a.what { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; padding: 2px 0; }
.soon .when { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ---------- Inner pages ---------- */
.page-head { padding: 40px 0 34px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(42px, 9vw, 68px); margin: 0 0 10px; }
.page-head .lede { margin: 0; }
.doc { padding-top: 34px; padding-bottom: 56px; }
.doc > * { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 8vw, 60px); margin: 0 0 10px; }
.doc h2 { margin: 36px 0 8px; font: 700 21px/1.3 var(--text); color: var(--gold); }
.doc h3 { margin: 22px 0 4px; font: 700 17.5px/1.35 var(--text); color: var(--ink); }
.doc p, .doc li { color: #E4DED2; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc .meta { color: var(--muted); font-size: 15px; }
.callout { margin: 18px 0; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-gold); }
.callout p { margin: 0; }
.faq h3 { margin-top: 20px; }

.events { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 860px) { .events { grid-template-columns: 1fr 1fr; } }
.event { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.event img { width: 92px; height: 92px; border-radius: 12px; }
.event h3 { margin: 0 0 2px; font: 700 17.5px/1.3 var(--text); }
.event .meta { margin: 0 0 6px; font-size: 13.5px; letter-spacing: .04em; color: var(--gold); }
.event p { margin: 0; color: var(--muted); font-size: 15.5px; }

.table-wrap { overflow-x: auto; margin: 14px 0 6px; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { table { font-size: 13.5px; } th, td { padding: 9px 6px; } th:first-child, td:first-child { padding-left: 10px; } }
thead th { background: var(--card-hi); color: var(--gold); font-weight: 700; }
tbody th { color: var(--ink); font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }

.video { margin: 0 0 22px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-gold); background: #000; }
.video video { width: 100%; aspect-ratio: 16 / 9; }

/* ---------- Notify me ---------- */
.notify { margin: 26px 0 0; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-gold); max-width: 560px; }
.notify h2, .notify legend { margin: 0 0 6px; padding: 0; font: 700 19px/1.3 var(--text); color: var(--ink); }
.notify .lead-line { margin: 0; font-size: 16.5px; }
.notify .lead-line a { overflow-wrap: anywhere; }
.notify .fine { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-foot { background: #08080A; border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 14.5px; }
.site-foot .cols { display: grid; gap: 22px 18px; grid-template-columns: 1fr 1fr; }
.site-foot .cols > :first-child { grid-column: 1 / -1; }
@media (min-width: 760px) { .site-foot .cols { grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; } .site-foot .cols > :first-child { grid-column: auto; } }
.site-foot h2 { margin: 0 0 8px; font: 700 12px/1.4 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.site-foot p { margin: 0 0 8px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li a { display: inline-block; padding: 5px 0; color: var(--ink); text-decoration: none; }
.site-foot li a:hover { color: var(--gold); text-decoration: underline; }
.site-foot .legal { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Phase-1 additions ---------- */
.display-sm { font-size: 40px; margin: 0 0 14px; }
.page-body { padding-top: 34px; padding-bottom: 52px; }
.note { margin: 22px 0 0; padding: 16px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-gold); max-width: 760px; }
.note p { margin: 0; }
.note p + p { margin-top: 8px; }
.show-still { display: block; margin: 0 0 22px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-gold); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
.show-still img { width: 100%; }
.show-wrap { max-width: 1000px; }
.book { display: grid; gap: 16px; grid-template-columns: 110px 1fr; align-items: start; }
.book h3 a { color: var(--ink); }
.book .pill { margin-top: 10px; }
.byline { margin: 0 0 14px; font-size: 18px; }
.byline span { display: block; }
.e404 { min-height: 56vh; display: grid; align-items: center; }
.e404 .wrap { display: block; text-align: center; }
.e404 .display { font-size: clamp(46px, 10vw, 80px); margin: 0 0 14px; }
.e404 .lede { margin: 0 auto 18px; }
.e404 .btns { justify-content: center; }
.site-foot .legal p { margin: 0 0 6px; }
.mt-20 { margin-top: 20px; }

/* Reflective house gold: slow light sweep with small, contained glints. */
.btn-gold{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#b47c22 0%,#edc56b 22%,#fff0b0 39%,#d6a342 57%,#f8d981 76%,#ba8428 100%);border:1px solid #f6d78b;box-shadow:inset 0 1px 0 #fff3c5,inset 0 -2px 0 #936419,0 5px 22px #d7a64140;transition:transform .2s,box-shadow .2s}
.btn-gold::before{content:"";position:absolute;inset:-50% -80%;z-index:-1;pointer-events:none;background:linear-gradient(110deg,transparent 42%,#fff9dc00 45%,#fff9dcab 50%,#fff9dc00 55%,transparent 58%);transform:translateX(-48%);animation:dd-gold-shine 6s ease-in-out infinite}
.btn-gold::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 2px 7px at 18% 23%,#fffbea 0%,transparent 100%),radial-gradient(ellipse 7px 2px at 18% 23%,#fffbea 0%,transparent 100%),radial-gradient(ellipse 2px 5px at 83% 72%,#fffbea 0%,transparent 100%),radial-gradient(ellipse 5px 2px at 83% 72%,#fffbea 0%,transparent 100%);animation:dd-gold-glint 4s ease-in-out infinite}
.btn-gold:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 #fff3c5,0 8px 28px #e5b85666}.btn-gold:focus-visible{outline:3px solid #fff3c5;outline-offset:4px}
@keyframes dd-gold-shine{0%,35%{transform:translateX(-48%)}65%,100%{transform:translateX(48%)}}
@keyframes dd-gold-glint{0%,100%{opacity:.25}45%{opacity:1}65%{opacity:.4}}
@media(prefers-reduced-motion:reduce){.btn-gold::before,.btn-gold::after{animation:none}.btn-gold::before{display:none}.btn-gold{transition:none}.btn-gold:hover{transform:none}}

/* Dominologist Mall digital billboard: TV slides, logo on the board, no LED mesh. */
.mall-tv {
  max-width: 640px;
  margin: 0 0 18px;
  padding: 10px;
  border-radius: 12px;
  background: #07080C;
  border: 3px solid #9AA0AA;
  box-shadow: 0 10px 28px #0008;
  position: relative;
}
.mall-tv-screen {
  position: relative;
  min-height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.mall-tv-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 16px;
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: opacity .45s ease;
}
.mall-tv-slide.is-on { opacity: 1; z-index: 1; }
.mall-tv-slide img { width: 76px; height: 76px; }
.mall-tv-slide h2, .mall-tv-slide p { margin: 0; }
.mall-tv-slide h2 { font: 800 22px/1.2 var(--display); letter-spacing: .04em; }
.mall-tv-slide p { font: 600 15px/1.35 var(--display); opacity: .88; }
.mall-tv-brand { background: linear-gradient(135deg, #1A0C18, #3A1A28 45%, #0A0608); }
.mall-tv-lease { background: linear-gradient(#0C1A22, #163040); }
.mall-tv-ads { background: linear-gradient(90deg, #141008, #3A2A10); }
.mall-tv-inquire { background: linear-gradient(225deg, #081410, #123028); }
.mall-tv-site { background: linear-gradient(135deg, #120818, #2A1450); }
.mall-tv-live {
  position: absolute;
  right: 16px;
  bottom: 10px;
  z-index: 2;
  margin: 0;
  font: 800 10px/1 var(--display);
  letter-spacing: .18em;
  color: #ffffff73;
}
@media (prefers-reduced-motion: reduce) {
  .mall-tv-slide { transition: none; }
}

/* Social profiles and brand contact */
.brand-connect{padding:24px 16px;text-align:center;background:#111;color:#fff;border-top:1px solid #b98a32}.brand-connect h2{color:#f5c542;font-size:18px}.brand-socials{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.brand-socials a{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #564221;border-radius:12px;text-decoration:none;color:#fff;font-size:13px}.brand-socials a:hover,.brand-socials a:focus-visible{border-color:#f5c542;background:#292115}.brand-socials img{object-fit:contain}.brand-connect p a{color:#f5c542;overflow-wrap:anywhere}

/* Website v2 (Oct 2026): the "Play now" cards on the home page */
.playnow .card { display: flex; flex-direction: column; }
.playnow .card p { flex: 1 1 auto; }
.playnow .card .btn { align-self: flex-start; margin-top: 12px; }
.watch-video { display: block; width: 100%; height: auto; margin: 18px 0 12px; border-radius: 12px; background: #000; }
.advertise-main { max-width: 720px; margin: auto; padding: 48px 24px; }

/* Tournament-first refinement: authentic app previews, clear signup. */
.signup-nav{color:#f4d483!important;border-bottom:2px solid #b98b35}
.tournament-invite{background:linear-gradient(115deg,#092f28,#101616 65%);border-block:1px solid #97733d}
.format-strip{display:flex;flex-wrap:wrap;gap:12px 36px;margin:28px 0;color:#e9cd96;letter-spacing:.12em;font-weight:700}
.hero .btns{gap:14px}
.hero .btn-gold,.tournament-invite .btn-gold{min-height:52px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:600px){.hero .btns{display:grid;grid-template-columns:1fr}.format-strip{display:grid;gap:16px}.tournament-invite .btns{display:grid}.nav .signup-nav{padding-inline:10px;background:#292111;border-radius:5px}}



/* 3D globe behind a still crown, DD, and gold frame. Do not rotate the PNG. */
.globe-well {
  --globe: 38px;
  display: inline-grid;
  place-items: center;
  width: var(--globe);
  height: var(--globe);
  border-radius: 22%;
  overflow: hidden;
  background: #050403;
  flex: none;
  vertical-align: middle;
  position: relative;
  isolation: isolate;
}
.hero h1 .globe-well {
  --globe: min(100%, 280px);
  margin: 0 auto;
  box-shadow: 0 18px 40px #000c;
}
.mall-fascia .globe-well,
.mall-tv-brand .globe-well { --globe: 78px; margin: 0 auto; }
.brand .globe-well { --globe: 38px; }

.globe-well > * {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
}
.globe-well img,
.globe-well canvas {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  animation: none;
}
.globe-well canvas.globe-spin {
  object-fit: fill;
  clip-path: circle(40% at 50% 50.6%);
  transform: scale(1.02);
  z-index: 0;
}
.globe-well img.globe-still,
.globe-well img.globe-chrome {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.globe-well.is-3d img.globe-still { opacity: 0; }
.globe-well.is-3d img.globe-chrome {
  animation: diamond-glint 5.5s ease-in-out infinite;
}
@keyframes diamond-glint {
  0%, 70%, 100% { filter: brightness(1); }
  78% { filter: brightness(1.08); }
  84% { filter: brightness(1.02); }
  90% { filter: brightness(1.06); }
}

.hero h1 { display: flex; justify-content: center; }
@media (min-width: 900px) {
  .hero h1 { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .globe-well img,
  .globe-well.is-3d img.globe-chrome { animation: none; filter: none; }
}

/* The store music's on/off button (store-music.js). It kept the class name of the retired menu
   click sound, whose stylesheet (menu-sound.css) was removed with the click sound on Oct 20, 2026. */
.menu-sound-toggle { margin: 12px auto; padding: 10px 16px; border: 1px solid #d4af37; border-radius: 9px; background: #151510; color: #f5dfa2; font: inherit; cursor: pointer; display: block; }
.menu-sound-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

/* Home: real games recorded in the app (Oct 20, 2026). Four 9:16 clips in a row, two on phones. */
.real-games .highlight-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)) !important; gap: 20px !important; margin-top: 8px; }
.real-games article { min-width: 0; }
.real-games .highlight-video { border-radius: 14px; border: 1px solid var(--line-gold); }
.real-games h3 { margin: 12px 0 4px; font-size: 17px; }
.real-games article p { margin: 0 0 6px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.capture-tag { display: inline-block; margin: 2px 0 0; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold); font: 700 11px/1.4 var(--text); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 600px) {
  .real-games .highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
  .real-games h3 { font-size: 15.5px; text-align: center; }
  .real-games article p { font-size: 13.5px; text-align: center; }
  .real-games article { text-align: center; }
  .real-games .capture-tag { font-size: 10px; letter-spacing: .08em; }
}

/* A tournament gameplay clip beside its caption, wherever a page talks about tournaments (home,
   Tournament Hall, Tournament signup). Oct 20, 2026. */
.tournament-clip { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 24px; align-items: center; margin: 24px 0; }
.tournament-clip video { width: 100%; aspect-ratio: 9 / 16; background: #090B0A; border: 1px solid var(--line-gold); border-radius: 14px; }
.tournament-clip figcaption strong { display: block; margin-bottom: 6px; font-size: 19px; }
.tournament-clip figcaption p { margin: 0 0 10px; color: var(--muted); }
@media (max-width: 600px) {
  .tournament-clip { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .tournament-clip video { max-width: 250px; }
}
/* Emerald's walkthrough video (home page and /watch/, Oct 20, 2026) */
.emerald-tour .tour-video { max-width: 960px; aspect-ratio: 16 / 9; border: 1px solid var(--line-gold); }
