/* Slots Mama, redesigned site. Cream / burgundy / serif. Mobile-first. */

@font-face {
  font-family: "DM Serif Display";
  src: url("/assets/fonts/dm-serif-display-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Metric-adjusted fallback so the swap to DM Serif barely moves the layout (CLS). */
@font-face {
  font-family: "DM Serif Fallback";
  src: local("Georgia");
  size-adjust: 93%;
  ascent-override: 104%;
  descent-override: 30%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;
  --cream: #f7f1e6;
  --cream-2: #efe6d5;
  --paper: #fffdf8;
  --ink: #2b1c19;
  --muted: #6a5851;
  --burgundy: #7a1e2c;
  --burgundy-d: #5c1421;
  --burgundy-l: #a3324a;
  --gold: #c9963a;
  --gold-l: #e2b866;
  --line: #e3d7c1;
  --radius: 16px;
  --display: "DM Serif Display", "DM Serif Fallback", Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--burgundy); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; color: var(--ink); }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--burgundy); color: var(--cream); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--body); text-decoration: none; border: 2px solid var(--burgundy); cursor: pointer; text-align: center; }
.btn-solid { background: var(--burgundy); color: var(--cream); }
.btn-solid:hover { background: var(--burgundy-d); border-color: var(--burgundy-d); }
.btn-ghost { background: transparent; color: var(--burgundy); }
.btn-ghost:hover { background: rgba(122, 30, 44, .07); }
.btn-lg { min-height: 54px; font-size: 17px; }

/* Header */
.site-header { position: relative; z-index: 20; background: var(--cream); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--burgundy); }
.brand-name { font: 400 27px/1 var(--display); color: var(--burgundy); letter-spacing: -.01em; }
.brand-name span { color: var(--burgundy-l); }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; align-items: center; justify-content: center; color: var(--burgundy); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; content: ""; }
.menu-icon { position: relative; }
.menu-icon::before { position: absolute; top: -6px; }
.menu-icon::after { position: absolute; top: 6px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: block; padding: 13px 4px; color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { color: var(--burgundy); }
.btn-nav { min-height: 44px; padding: 0 20px; font-size: 15px; }

.js .menu-btn { display: inline-flex; }
.js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 6px 16px 18px; box-shadow: 0 18px 30px -20px rgba(43, 28, 25, .5); }
.js .site-nav.open { display: block; }
.js .site-nav .btn { width: 100%; margin-top: 8px; }
.no-js .bar { flex-wrap: wrap; padding: 8px 0; }
.no-js .site-nav ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
.no-js .site-nav .btn { display: none; }

@media (min-width: 1100px) {
  .js .menu-btn { display: none; }
  .js .site-nav, .js .site-nav.open, .site-nav { display: flex; position: static; align-items: center; gap: 30px; padding: 0; border: 0; background: none; box-shadow: none; }
  .site-nav ul { display: flex; gap: 26px; }
  .js .site-nav .btn { width: auto; margin: 0; }
  .no-js .site-nav .btn { display: inline-flex; }
}

/* Hero */
.hero { padding: 22px 0 12px; background: radial-gradient(70% 90% at 90% 0%, rgba(122, 30, 44, .10), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.eyebrow { margin: 0; font: 700 12px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy); }
.eyebrow-light { color: var(--gold-l); }
.hero h1 { font-size: clamp(2.5rem, 9.4vw, 3.9rem); margin: 10px 0 12px; letter-spacing: -.012em; }
.lede { margin: 0 0 20px; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 34em; }
.cta-row { display: grid; gap: 12px; }
.hero-art { position: relative; display: block; text-decoration: none; color: inherit; }
.hero-art picture { display: block; }
.hero-art img { display: block; width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 20px; background: #1a1210;
  border: 5px solid var(--paper); box-shadow: 0 22px 44px -22px rgba(60, 20, 20, .65), 0 0 0 1px var(--line); }
.seal { position: absolute; top: -12px; right: 6px; z-index: 2; width: 86px; height: 86px; border-radius: 50%; background: var(--burgundy); color: var(--gold-l);
  display: grid; place-content: center; text-align: center; transform: rotate(9deg);
  box-shadow: inset 0 0 0 3px var(--burgundy), inset 0 0 0 4px var(--gold), 0 8px 16px -8px rgba(0, 0, 0, .6); }
.seal span { font: 700 9px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.seal b { font: 400 13px/1.1 var(--display); color: var(--cream); }
.seal strong { font: 400 25px/1 var(--display); }
.hero-caption { display: block; margin-top: 12px; font-weight: 600; color: var(--ink); }
.hero-feat { display: inline-block; margin-right: 6px; padding: 2px 9px; border-radius: 999px; background: var(--burgundy); color: var(--cream); font: 700 11px/1.5 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.hero-caption small { display: none; margin-top: 4px; font-weight: 400; font-size: 14px; color: var(--muted); }

@media (min-width: 480px) { .cta-row { display: flex; flex-wrap: wrap; } }
@media (min-width: 720px) { .hero-caption small { display: block; } .seal { width: 96px; height: 96px; top: -18px; right: -6px; } }
@media (min-width: 960px) {
  .hero { padding: 56px 0 44px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center; gap: 64px; }
  .lede { font-size: 19px; }
}

/* Game room */
.room { padding: 36px 0 28px; scroll-margin-top: 8px; }
.room h2 { font-size: clamp(2rem, 6.4vw, 2.9rem); }
.room-sub { margin: 6px 0 0; color: var(--muted); }
.room-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; } /* minmax(0) stops the nowrap chips row widening the page */
.room-head > *, .tools { min-width: 0; }
.tools { display: flex; flex-direction: column; gap: 12px; }
.no-js .tools { display: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; scroll-snap-align: start; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font: 600 15px/1 var(--body); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--burgundy); }
.chip[aria-pressed="true"] { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }

@media (min-width: 860px) {
  .room { padding: 56px 0 40px; }
  .room-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
  .tools { flex-direction: row; align-items: center; gap: 14px; }
}

.grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
.card { display: block; height: 100%; color: inherit; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card:focus-visible { outline-offset: 2px; border-radius: var(--radius); }
.card-art { position: relative; display: block; aspect-ratio: 5 / 3; background: #1a1210; }
.card-art picture, .card-art img { display: block; width: 100%; height: 100%; }
.no-js picture[data-lazy] { display: none; } /* no JS: the <noscript> copy is used instead */
.card-art img { object-fit: cover; }
.card-play { position: absolute; right: 10px; bottom: 10px; padding: 7px 16px; border-radius: 999px; background: var(--burgundy); color: var(--cream);
  font: 700 13px/1 var(--body); letter-spacing: .04em; opacity: 0; transition: opacity .15s ease; }
.card:focus-visible .card-play { opacity: 1; }
@media (hover: hover) {
  .card { transition: box-shadow .15s ease, border-color .15s ease; }
  .card:hover { border-color: var(--gold); box-shadow: 0 14px 28px -16px rgba(60, 20, 20, .55); }
  .card:hover .card-play { opacity: 1; }
}
.card-body { display: block; padding: 8px 10px 9px; }
.card-name { display: block; font: 400 17.5px/1.15 var(--display); color: var(--ink); text-wrap: balance; }
.card-cat { display: block; margin-top: 3px; font: 600 10.5px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.empty { margin: 28px 0 0; padding: 28px 16px; text-align: center; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }

@media (min-width: 720px) { .wrap { padding: 0 24px; } .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 18px; } .card-name { font-size: 18.5px; } }
@media (min-width: 1080px) { .wrap { padding: 0 32px; } .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 20px; } }

/* Heritage */
.heritage { background: var(--burgundy); color: var(--cream); padding: 48px 0; background-image: radial-gradient(60% 120% at 100% 0%, rgba(255, 255, 255, .07), transparent 65%); }
.heritage h2 { color: var(--cream); font-size: clamp(2.1rem, 7vw, 3.3rem); margin-top: 8px; }
.heritage-grid { display: grid; gap: 18px; }
.heritage-copy p { margin: 0 0 14px; font-size: 17px; line-height: 1.65; color: rgba(247, 241, 230, .92); max-width: 40em; }
.heritage-copy p:last-child { margin-bottom: 0; }
@media (min-width: 860px) { .heritage { padding: 72px 0; } .heritage-grid { grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; } }

/* Slots 101 + news (long-form text) */
.learn { padding: 52px 0 20px; }
.learn h2, .news h2 { font-size: clamp(1.9rem, 5.6vw, 2.5rem); }
.learn h3 { font-size: 1.5rem; margin: 34px 0 10px; }
.learn-cols { display: grid; grid-template-columns: minmax(0, 1fr); }
.learn p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.72; }
.learn .toc { margin: 16px 0 0; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; line-height: 1.9; }
.learn a { font-weight: 500; }
.news { padding: 28px 0 60px; }
.news-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 8px; }
.news h2 a { text-decoration-thickness: 1px; }
.more { font-weight: 600; text-decoration: none; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { padding: 13px 0; border-top: 1px solid var(--line); }
.news-list a { font-weight: 600; color: var(--ink); text-decoration: none; }
.news-list a:hover { color: var(--burgundy); text-decoration: underline; }

/* Desktop: these sections use the same container width as the grid and heritage block above.
   The Slots 101 topics run as three columns so line length stays readable at that width. */
@media (min-width: 1000px) {
  .learn-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 44px; } /* 3rd topic is the longest, so it gets more width to even out the column heights */
  .learn-col h3 { margin-top: 30px; }
  .learn p { font-size: 16px; line-height: 1.7; }
  .learn .toc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 36px; line-height: 1.6; }
  .learn .toc br { display: none; }
}

/* Footer */
.site-footer { background: #2a1a17; color: rgba(247, 241, 230, .86); padding: 44px 0 30px; }
.site-footer a { color: rgba(247, 241, 230, .86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; gap: 30px; }
.brand-foot .brand-name { color: var(--cream); }
.brand-foot .brand-name span { color: var(--gold-l); }
.foot-brand p { margin: 10px 0 0; max-width: 24em; font-size: 15px; }
.foot-col h2 { margin: 0 0 6px; font: 700 12px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col a { display: inline-block; padding: 8px 0; font-size: 15px; }
.foot-games { columns: 2; column-gap: 20px; }
.foot-games li { break-inside: avoid; }
.responsible { margin: 32px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 70ch; font-size: 14px; line-height: 1.65; color: rgba(247, 241, 230, .74); }
.responsible strong { color: var(--cream); }
.copy { margin: 14px 0 0; font-size: 13px; color: rgba(247, 241, 230, .6); }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.15fr 1.5fr 1fr 1fr; gap: 40px; } .foot-brand { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* =====================================================================================================
   UNIFIED PAGE SYSTEM (game pages, articles, forms, blog). Same tokens as the homepage above.
   ===================================================================================================== */

/* ---- Game header: COMPACT Slots Mama identity + advertising slot. Nothing else sits between it and the game. ---- */
.brand-text { display: flex; flex-direction: column; }
.brand-tag { margin-top: 4px; font: 600 10.5px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.site-header--ad .bar { flex-wrap: wrap; min-height: 0; padding-top: 4px; row-gap: 0; }
.site-header--ad .brand { min-height: 40px; }
.site-header--ad .brand-mark { width: 28px; height: 28px; }
.site-header--ad .brand-name { font-size: 24px; }
.site-header--ad .brand-tag { display: none; }
.site-header--ad .menu-btn { width: 40px; height: 40px; border-radius: 10px; }
.site-header--ad .btn-nav { display: none; }
.masthead-ad { flex: 0 0 100%; order: 3; padding: 0 0 6px; }
.masthead-ad .promo { --promo-fg: var(--muted); --promo-line: var(--line); --promo-bg: var(--paper); --promo-accent: var(--burgundy); margin: 0; padding: 0; }
.masthead-ad .promo-label { min-height: 12px; font-size: 10px; line-height: 12px; text-align: center; }

/* Tablet: brand row, then the leaderboard */
@media (min-width: 720px) {
  .site-header--ad .bar { padding-top: 6px; }
  .site-header--ad .brand-mark { width: 34px; height: 34px; }
  .site-header--ad .brand-name { font-size: 27px; }
  .site-header--ad .brand-tag { display: block; }
  .site-header--ad .brand { min-height: 44px; }
  .site-header--ad .menu-btn { width: 44px; height: 44px; }
  .masthead-ad { padding-bottom: 8px; }
  .masthead-ad .promo-label { min-height: 14px; line-height: 14px; }
}

/* Laptop/desktop: brand + inline nav on the left, fixed 728x90 leaderboard on the right, one compact band */
@media (min-width: 1100px) {
  .site-header--ad .bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; grid-template-areas: "brand ad" "nav ad"; align-items: start; column-gap: 24px; padding-top: 0; }
  .site-header--ad .brand { grid-area: brand; align-self: end; gap: 12px; padding: 12px 0 2px; min-height: 0; }
  .site-header--ad .brand-mark { width: 44px; height: 44px; }
  .site-header--ad .brand-name { font-size: 32px; }
  .site-header--ad .site-nav { grid-area: nav; align-self: start; justify-content: flex-start; gap: 18px; border: 0; min-height: 0; padding: 4px 0 0; }
  .site-header--ad .site-nav ul { gap: 20px; }
  .site-header--ad .site-nav a:not(.btn) { padding: 10px 3px; font-size: 14.5px; }
  .masthead-ad { grid-area: ad; order: 0; padding: 6px 0; }
  .masthead-ad .promo-label { text-align: right; }
  /* Fixed width from the placement size (not from the creative's own size), so the slot is identical with or without a campaign: no layout shift. */
  .masthead-ad .promo { width: calc(var(--w-d) * 1px); }
}

/* Landscape phone / very short window: brand and the small banner share ONE row so the game keeps the height */
@media (max-height: 520px) and (max-width: 1099px) {
  .site-header--ad .bar { flex-wrap: nowrap; align-items: center; gap: 10px; }
  .site-header--ad .brand-tag { display: none; }
  .masthead-ad { flex: 0 1 auto; order: 2; margin-left: auto; padding: 4px 0; }
  .masthead-ad .promo-label { text-align: right; }
  .site-header--ad .menu-btn { order: 3; }
  .site-header--ad .bar { padding-top: 2px; }
  .masthead-ad { padding: 2px 0; }
  .stage { margin-top: 4px; }
}

/* ---- Breadcrumbs ---- */
.crumbs { margin: 14px 0 0; font: 14px/1.4 var(--body); color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "\203A"; margin-right: 8px; color: var(--gold); font-weight: 700; }
.crumbs a { color: var(--burgundy); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] span { color: var(--ink); font-weight: 600; }

/* ---- Section heads and cards used across page types ---- */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.section-head h2 { font-size: clamp(1.5rem, 4.2vw, 2rem); }
.more { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.related { margin: 36px 0 0; }
.related .grid { margin-top: 14px; }
.linkcards { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.linkcards a { display: block; height: 100%; padding: 13px 16px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.linkcards b { display: block; margin-bottom: 3px; font: 400 19px/1.2 var(--display); color: var(--burgundy); }
.linkcards a:hover { border-color: var(--gold); box-shadow: 0 12px 24px -18px rgba(60, 20, 20, .5); }
@media (min-width: 720px) { .linkcards { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } }

/* ---- Game page: the game comes first; title, breadcrumb and text follow it ---- */
.stage { width: 100%; margin: 8px 0 0; }
/* Sizes come from the inline script in sm_game_open() (viewport height AND width); this is the no-JS fallback. Beats html5-game-chrome.css without !important */
.page-game .stage .html5-game-frame { position: relative; width: var(--fw, 100%); height: var(--fh, clamp(520px, calc(100vh - 150px), 760px)); margin: 0 auto; overflow: hidden; background: #070406; border: 1px solid #2a1f1c; border-radius: 12px; box-shadow: 0 18px 40px -28px rgba(60, 20, 20, .7); }
.page-game .stage .html5-game-frame iframe { position: absolute; left: var(--l, 0); top: 0; display: block; width: var(--vw, 100%); height: var(--vh, 100%); border: 0; transform: scale(var(--s, 1)); transform-origin: 0 0; }
.page-game .stage p { margin: 0; }
/* Phones: the game runs edge to edge (cancels the page gutter; no border/radius/shadow). The sizing script measures .stage, so it sees the full width. */
@media (max-width: 719px) {
  .page-game .stage { margin-left: -16px; margin-right: -16px; width: auto; }
  .page-game .stage .html5-game-frame { border: 0; border-radius: 0; box-shadow: none; }
  .masthead-ad { flex-basis: calc(100% + 32px); margin: 0 -16px; padding-bottom: 2px; }
  .page-game .stage { margin-top: 4px; }   /* the 320px banner gets the full width even on a 320px phone */
}

.game-info { margin: 22px 0 0; }
.page-game main { padding-bottom: 44px; }
.game-info .crumbs { margin: 0 0 6px; }
.game-head { margin: 4px 0 0; }
.game-head h1 { font-size: clamp(2rem, 6vw, 2.9rem); letter-spacing: -.01em; }
.game-sub { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }
.game-cols { display: grid; gap: 18px; margin: 20px 0 0; grid-template-columns: minmax(0, 1fr); }
.game-about, .game-howto { padding: 20px 22px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.game-about h2, .game-howto h2 { font-size: 1.55rem; margin-bottom: 8px; }
.game-about p { margin: 0 0 12px; max-width: 62ch; font-size: 16.5px; line-height: 1.7; }
.game-about p:last-child { margin-bottom: 0; }
.game-howto ol { margin: 0 0 12px; padding-left: 22px; line-height: 1.75; }
.game-howto .fine { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
@media (min-width: 860px) { .game-cols { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }

/* ---- Article / content pages (Slots 101, legal, forms). Readable measure, not a newspaper column. ---- */
.article { max-width: 760px; margin: 20px auto 44px; }
.article--wide { max-width: 1000px; }
.article h1 { font-size: clamp(2.1rem, 6vw, 3.1rem); letter-spacing: -.012em; margin: 6px 0 14px; }
.article h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); margin: 1.7em 0 .45em; }
.article h3 { font-size: 1.3rem; margin: 1.5em 0 .4em; }
.article p, .article li { font-size: 17px; line-height: 1.75; }
.article p { margin: 0 0 1.05em; }
.article ul, .article ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.article li { margin-bottom: .35em; }
.article a { font-weight: 500; }
.article img { max-width: 100%; height: auto; }
.article .lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); margin-bottom: 1.3em; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.article .slotsdesc { display: block; }
.article center, .article .center { display: block; text-align: center; }
.callout { margin: 1.6em 0; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; }
.callout > :last-child { margin-bottom: 0; }
.callout p { font-size: 16.5px; }
.callout--warn { border-left-color: var(--burgundy); }
.callout .callout-title { display: block; margin-bottom: 4px; font: 400 1.25rem/1.2 var(--display); color: var(--burgundy); }

/* ---- Forms (contact, rate, newsletter) ---- */
.form { margin: 1.4em 0; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.form p { margin: 0 0 16px; }
.form label, .form .label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15.5px; }
.form input[type="text"], .form input[type="email"], .form textarea { width: 100%; max-width: 520px; padding: 12px 14px; border: 1px solid #cdbfa5; border-radius: 10px; background: #fff; font: 16px var(--body); color: var(--ink); }
.form textarea { min-height: 110px; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 1px; }
.form input[type="text"].count { width: 3.2em; text-align: center; padding: 10px 6px; }
.form .choices { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.form .choices label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; min-height: 44px; }
.form .choices input { width: 20px; height: 20px; accent-color: var(--burgundy); }
.form input[type="submit"], .form button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 2px solid var(--burgundy); border-radius: 999px; background: var(--burgundy); color: var(--cream); font: 600 16px var(--body); cursor: pointer; }
.form input[type="submit"]:hover { background: var(--burgundy-d); border-color: var(--burgundy-d); }
.form .fine { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---- Webmaster embed codes ---- */
.embed-list { list-style: none; margin: 1.4em 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.embed-item { padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.embed-item h3 { margin: 0 0 8px; font-size: 1.25rem; }
.embed-item textarea { width: 100%; min-height: 118px; padding: 10px 12px; border: 1px solid #cdbfa5; border-radius: 10px; font: 13px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--ink); background: #fff; resize: vertical; }
@media (min-width: 860px) { .embed-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Link lists (other sites) ---- */
.link-list { list-style: none; margin: 1em 0; padding: 0; columns: 1; }
.link-list li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
@media (min-width: 720px) { .link-list { columns: 2; column-gap: 40px; } }

/* ---- Blog: index, cards, article ---- */
.blog-hero { margin: 18px 0 0; }
.blog-hero h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); letter-spacing: -.012em; }
.blog-hero p { margin: 8px 0 0; max-width: 60ch; font-size: 1.1rem; color: var(--muted); }
.post-cards { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card a.post-link { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 18px; color: inherit; text-decoration: none; }
.post-card:hover { border-color: var(--gold); box-shadow: 0 14px 28px -18px rgba(60, 20, 20, .5); }
.post-card .post-thumb { display: block; aspect-ratio: 16 / 9; background: var(--cream-2); }
.post-card .post-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card .post-cat { font: 700 11px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 8px; }
.post-card h2, .post-card h3 { margin: 0 0 8px; font: 400 1.45rem/1.2 var(--display); color: var(--ink); text-wrap: balance; }
.post-card .post-excerpt { margin: 0 0 12px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.post-card .post-more { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--burgundy); }
.post-card:hover h2, .post-card:hover h3 { color: var(--burgundy); }
@media (min-width: 720px) { .post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1080px) { .post-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-cards--compact { margin-top: 14px; }
.pager, .wp-pagenavi { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 32px 0 8px; }
.pager a, .pager span, .wp-pagenavi a, .wp-pagenavi span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 15px var(--body); text-decoration: none; }
.pager a:hover, .wp-pagenavi a:hover { border-color: var(--burgundy); color: var(--burgundy); }
.pager .current, .wp-pagenavi .current { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.wp-pagenavi .pages { border: 0; background: none; color: var(--muted); font-weight: 500; }
.entry-terms { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.article .entry-terms { padding-left: 0; margin-bottom: 18px; }
.article .entry-terms li { margin: 0; font-size: inherit; line-height: 1; }
.entry-terms a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; background: var(--cream-2); color: var(--burgundy); font: 600 12px var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.entry-content { overflow-wrap: anywhere; }
.entry-content figure, .entry-content .wp-caption { max-width: 100%; margin: 1.4em 0; }
.entry-content img { border-radius: 10px; }
.entry-content blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold); color: var(--muted); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15.5px; }
.entry-content th, .entry-content td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.post-nav { display: grid; gap: 10px; margin: 32px 0 0; grid-template-columns: minmax(0, 1fr); }
.post-nav a { display: block; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.post-nav small { display: block; margin-bottom: 3px; font: 700 11px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-nav b { font: 400 1.15rem/1.25 var(--display); }
@media (min-width: 720px) { .post-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post-nav .next { text-align: right; } }

/* ---- Homepage refinements ---- */
.learn details.learn-col > summary { list-style: none; cursor: default; }
.learn details.learn-col > summary::-webkit-details-marker { display: none; }
.learn details.learn-col > summary h3 { margin: 34px 0 10px; }
.learn-more { margin: 22px 0 0; font-size: 16px; }
@media (max-width: 719px) {
  .learn details.learn-col { border-top: 1px solid var(--line); }
  .learn details.learn-col > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; min-height: 56px; }
  .learn details.learn-col > summary h3 { margin: 0; font-size: 1.2rem; padding: 12px 0; }
  .learn details.learn-col > summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-content: center; background: var(--cream-2); color: var(--burgundy); font: 700 20px/1 var(--body); }
  .learn details[open].learn-col > summary::after { content: "\2212"; }
  .learn .toc { display: none; }
}
@media (min-width: 720px) { .learn details.learn-col > summary { pointer-events: none; } }
@media (min-width: 1000px) { .learn details.learn-col > summary h3 { margin-top: 30px; } }

/* Tablet: hero copy and featured art side by side, so the game grid is reachable in the first screen */
@media (min-width: 720px) and (max-width: 959px) {
  .hero { padding: 26px 0 14px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
  .hero h1 { font-size: clamp(2.2rem, 5.4vw, 2.9rem); }
  .lede { font-size: 17px; margin-bottom: 16px; }
  .room { padding-top: 28px; }
}

/* Phone: get to playable games fast. Compact hero, featured art stays visible, first row of cards sits in the first screen. */
.lede-2 { display: inline; }
@media (max-width: 719px) {
  .hero { padding: 10px 0 2px; }
  .hero-grid { gap: 10px; }
  .hero h1 { margin: 4px 0 6px; font-size: clamp(1.75rem, 8.3vw, 2.6rem); letter-spacing: -.02em; } /* "Your lucky break starts" on one line from ~360px up */
  .lede { margin: 0 0 10px; font-size: 16px; line-height: 1.4; }
  .lede-2 { display: none; }
  .cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta-row .btn { min-height: 48px; padding: 0 8px; font-size: 14.5px; white-space: nowrap; }
  .hero-art img { aspect-ratio: 2 / 1; object-position: center 45%; border-width: 4px; }
  .hero-caption { margin-top: 6px; }
  .seal { width: 70px; height: 70px; top: -10px; right: 4px; }
  .seal strong { font-size: 20px; }
  .seal b { font-size: 11px; }
  .seal span { font-size: 8px; }
  .room { padding: 16px 0 22px; }
  .room-sub { display: none; }
  .room-head { gap: 8px; }
  .room h2 { font-size: clamp(1.7rem, 6.4vw, 2.1rem); }
  .tools { gap: 0; }
  .grid { margin-top: 8px; }
}
