/* LIVE RTP TOTALWLA — responsive, buildless design system. */
:root {
  color-scheme: dark;
  --bg: #101114;
  --surface: #191a1f;
  --surface-raised: #222329;
  --line: #323238;
  --text: #f7f5f0;
  --muted: #aaaab3;
  --red: #d82b3d;
  --red-deep: #a8172b;
  --gold: #e7c27b;
  --green: #79d8ae;
  --radius: 12px;
  --wrap: 1280px;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 1rem; line-height: 1.5; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, select, input { min-height: 44px; }
button, select { border: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
button:focus:not(:focus-visible) { outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 14px 20px; color: #151515; background: var(--gold); border-radius: 4px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 30; background: #141519; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 40px; }
.wordmark { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 42px; background: var(--red-deep); border-bottom: 3px solid var(--gold); border-radius: 6px 6px 2px 2px; font-weight: 900; color: #f6dfae; font-size: 1.65rem; font-style: italic; }
.brand-stack { display: flex; flex-direction: column; line-height: 1; }
.brand-kicker { font-size: .65rem; letter-spacing: .19em; color: var(--gold); font-weight: 800; margin-bottom: 6px; }
.brand-name { font-size: 1.4rem; letter-spacing: -.035em; font-weight: 900; font-style: italic; }
.main-nav { display: flex; align-items: center; gap: 27px; margin-right: auto; }
.main-nav a { display: inline-flex; align-items: center; gap: 7px; font-size: .875rem; font-weight: 700; color: #b9b9c1; min-height: 44px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--text); border-bottom-color: var(--red); }
.nav-count { font-size: .75rem; color: var(--gold); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 11px 22px; font-weight: 700; font-size: .875rem; border-radius: 6px; border: 1px solid transparent; white-space: nowrap; transition: background .15s, border-color .15s; }
.button-red { background: var(--red); color: white; box-shadow: inset 0 1px 0 #ffffff24; }
.button-red:hover { background: #ec3548; }
.button-gold { background: var(--gold); color: #292016; box-shadow: inset 0 1px 0 #ffffff61; }
.button-gold:hover { background: #f5d594; }
.button-outline { border-color: #555157; background: transparent; }
.button-outline:hover { border-color: var(--gold); background: #ffffff06; }
.button-subtle { background: #222329; border-color: var(--line); }
.button-subtle:hover { border-color: #77727c; }
.page-content { padding-block: 26px 64px; }
.hero { position: relative; overflow: hidden; background: #2d1019; border: 1px solid #5b2833; border-radius: var(--radius); isolation: isolate; }
.hero::before { content: ""; position: absolute; width: 700px; height: 700px; right: -185px; top: -260px; border: 1px solid #dfb56a25; border-radius: 50%; box-shadow: 0 0 0 80px #dfb56a06, 0 0 0 160px #dfb56a04; z-index: -1; pointer-events: none; }
.hero-panel { min-height: 302px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; padding: 32px 44px 53px; background: linear-gradient(100deg, #39151d 0%, #561320 55%, #1d171c 100%); }
.hero-panel:nth-child(2) { background: linear-gradient(100deg, #30191a, #33141b 56%, #211b20); }
.hero-panel:nth-child(3) { background: linear-gradient(100deg, #3b131c, #55202a 56%, #21191b); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .13em; color: var(--gold); text-transform: uppercase; margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 17px; height: 2px; background: var(--gold); }
.hero h1, .hero h2 { margin: 0 0 12px; font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.hero h1 span, .hero h2 span { color: var(--gold); }
.hero-copy p:not(.eyebrow) { color: #d5bfc3; font-size: .9375rem; margin: 0 0 23px; max-width: 390px; }
.hero .button { padding-inline: 20px; }
.hero-art { position: relative; height: 224px; margin-left: 18px; align-self: center; }
.hero-art::after { content: ""; position: absolute; z-index: 0; left: 15%; right: -2%; bottom: -7px; height: 32px; border-radius: 50%; background: #0b060999; filter: blur(12px); }
.hero-tile { position: absolute; width: 51%; border: 3px solid #e7c27b80; border-radius: 12px; box-shadow: 0 10px 25px #0008; overflow: hidden; z-index: 2; background: #19171b; }
.hero-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-tile-back { left: 4%; top: 38px; transform: rotate(-13deg); z-index: 1; border-color: #6f4b3e; }
.hero-tile-main { right: 5%; top: 30px; transform: rotate(8deg); width: 59%; }
.hero-tile-small { left: 34%; top: 152px; padding: 8px 14px; background: #1c1919; border: 1px solid #e7c27b60; border-radius: 6px; box-shadow: 0 8px 16px #0005; font-size: .75rem; color: var(--gold); z-index: 3; transform: rotate(-4deg); }
.hero-tile-small b { display: block; font-size: 1rem; color: white; }
.hero-provider-art { display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; gap: 12px; padding: 0 20px; height: 224px; transform: rotate(-7deg); }
.hero-provider-art div { border: 1px solid #d2a96166; border-radius: 8px; min-height: 82px; display: grid; place-items: center; padding: 10px; color: #efd69f; font-weight: 800; font-size: 1rem; background: #17181cee; box-shadow: 0 8px 15px #0004; text-align: center; }
.hero-provider-art div:nth-child(2n) { transform: translateY(-12px); }
.hero-code-art { display: grid; align-content: center; gap: 9px; height: 224px; padding: 0 30px; transform: rotate(-4deg); }
.hero-code-art div { background: #19191deb; border: 1px solid #b5905959; border-radius: 8px; padding: 14px 20px; display: flex; align-items: center; gap: 13px; font-weight: 700; color: #e6ca9b; font-size: 1rem; }
.hero-code-art .icon { width: 24px; height: 24px; }
.hero-controls { position: absolute; left: 44px; bottom: 15px; display: flex; align-items: center; gap: 5px; z-index: 3; }
.hero-dot { width: 32px; height: 24px; min-height: 24px; display: grid; place-items: center; background: transparent; padding: 0; }
.hero-dot::before { content: ""; height: 3px; width: 22px; border-radius: 2px; background: #966d76; }
.hero-dot.is-active::before { background: var(--gold); }
.hero-pause { min-height: 28px; width: 32px; display: grid; place-items: center; background: transparent; color: #d4bec3; padding: 0; margin-left: 7px; }
.hero-pause .icon { width: 14px; height: 14px; }
.service-strip { display: flex; align-items: center; gap: 22px; padding: 17px 0 21px; border-bottom: 1px solid var(--line); color: #b3b3bb; font-size: .8125rem; }
.service-strip > span { display: inline-flex; align-items: center; gap: 7px; }
.service-strip > span + span { border-left: 1px solid #38363b; padding-left: 22px; }
.service-strip .icon { width: 17px; height: 17px; color: var(--gold); }
.service-strip strong { color: #e9e6df; font-weight: 600; }
.service-strip a { margin-left: auto; color: var(--gold); display: flex; align-items: center; gap: 6px; }
.provider-section { padding-top: 24px; scroll-margin-top: 100px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.section-heading h2 { font-size: 1rem; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.section-heading .subtle { color: var(--muted); font-size: .8125rem; margin-left: 7px; font-weight: 400; }
.provider-controls { display: flex; align-items: center; gap: 8px; }
.provider-controls .icon-button { width: 36px; min-height: 36px; border-radius: 6px; background: #222329; border: 1px solid var(--line); padding: 0; display: grid; place-items: center; }
.provider-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #55414a transparent; padding-block: 2px 10px; }
.provider { min-width: 146px; flex: 0 0 146px; height: 90px; border: 1px solid #303139; border-radius: 9px; background: #191a1e; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; scroll-snap-align: start; transition: border-color .15s, background .15s; padding: 9px 10px; }
.provider:hover { background: #242127; border-color: #66515a; }
.provider.active { border-color: var(--red); box-shadow: inset 0 -2px 0 var(--red); background: #2d1a21; }
.provider img { width: 91px; height: 34px; object-fit: contain; }
.provider-pragmatic { font-size: .8rem; line-height: 1.04; text-align: center; letter-spacing: -.02em; font-weight: 800; color: white; height: 34px; display: flex; align-items: center; }
.provider span.provider-label { color: #c5c5cc; font-size: .75rem; white-space: nowrap; }
.provider.active span.provider-label { color: #f1d1d5; }
.catalog-section { padding-top: 25px; scroll-margin-top: 90px; }
.catalog-title-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.catalog-heading { display: flex; align-items: center; gap: 12px; }
.heading-rule { width: 4px; height: 36px; background: var(--red); border-radius: 2px; }
.catalog-heading h2 { font-size: 1.5rem; letter-spacing: -.025em; margin: 0; line-height: 1.2; }
.catalog-heading p { color: var(--muted); font-size: .8125rem; margin: 3px 0 0; }
.provider-rating { display: flex; align-items: center; gap: 7px; font-size: .8125rem; color: var(--gold); }
.provider-rating small { color: var(--muted); font-size: .75rem; }
.provider-rating .icon { width: 15px; height: 15px; fill: currentColor; }
.catalog-toolbar { display: grid; grid-template-columns: minmax(220px,1fr) auto auto; align-items: center; gap: 12px; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field > .icon { position: absolute; left: 15px; color: #93939f; pointer-events: none; }
.search-field input { width: 100%; height: 48px; background: #1a1b20; color: white; border: 1px solid #38383f; border-radius: 7px; padding: 10px 45px; font-size: .875rem; }
.search-field input::placeholder { color: #9696a1; }
.search-field input::-webkit-search-cancel-button { appearance: none; }
.clear-search { position: absolute; right: 5px; width: 38px; height: 38px; min-height: 38px; background: transparent; color: #c4c2c9; padding: 0; }
.select-wrap { display: flex; align-items: center; gap: 8px; position: relative; }
.select-wrap .icon { position: absolute; right: 11px; width: 15px; height: 15px; pointer-events: none; }
.select-wrap select { appearance: none; height: 48px; padding: 10px 35px 10px 14px; border-radius: 7px; background: #1a1b20; border: 1px solid #38383f; color: #dfdce3; font-size: .875rem; cursor: pointer; width: 100%; }
.filter-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block: 13px 19px; }
.filter-meta-left { display: flex; align-items: center; gap: 15px; }
.favorite-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; font-size: .8125rem; color: #cbc7ce; cursor: pointer; }
.favorite-filter input { width: 16px; height: 16px; min-height: 16px; accent-color: var(--red); margin: 0; }
#result-count { color: #9696a1; font-size: .8125rem; }
.data-stamp { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: #b6a485; }
.data-stamp .icon { width: 14px; height: 14px; }
.refresh-data { background: transparent; color: #aaaab2; min-height: 32px; padding: 5px; display: grid; place-items: center; }
.refresh-data:hover { color: var(--gold); }
.data-note { display: flex; align-items: flex-start; gap: 8px; font-size: .8125rem; color: #a4a0a8; margin: -5px 0 18px; line-height: 1.6; }
.data-note .icon { margin-top: 2px; width: 16px; height: 16px; color: #c5a975; }
.data-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; align-items: start; }
.game-card { border: 1px solid #303139; border-radius: 10px; overflow: hidden; background: #1a1b20; transition: border-color .15s; min-width: 0; }
.game-card:hover { border-color: #70604c; }
.game-cover { position: relative; margin: 0; aspect-ratio: 4 / 3; background: #23232a; overflow: hidden; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; }
.save-game { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 36px; height: 36px; min-height: 36px; background: #111217e8; border: 1px solid #ffffff2e; border-radius: 6px; color: #f8f5ee; padding: 0; }
.save-game:hover { background: #393039; }
.save-game.is-saved { color: var(--gold); border-color: #deb66b; }
.save-game.is-saved .icon { fill: #deb66b44; }
.save-game .icon { width: 17px; height: 17px; }
.game-body { padding: 13px 12px 0; }
.game-provider { color: #b9b5c1; font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; line-height: 1.2; display: block; margin-bottom: 5px; }
.game-name { font-size: .9375rem; line-height: 1.35; font-weight: 700; margin: 0 0 10px; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.game-number { font-size: .75rem; color: var(--muted); }
.metric-line { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: .75rem; color: #b8b5bf; margin-top: 6px; }
.metric-line strong { color: var(--green); font-size: 1.125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.metric-line.is-medium strong, .metric-line.medium strong { color: var(--gold); }
.metric-line.is-low strong, .metric-line.low strong { color: #fa8a8f; }
.rtp-track { height: 4px; background: #34343c; border-radius: 6px; margin-top: 5px; overflow: hidden; }
.rtp-track span { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.rtp-track.is-medium span, .rtp-track.medium span { background: var(--gold); }
.rtp-track.is-low span, .rtp-track.low span { background: #ed7180; }
.game-details { border-top: 1px solid #32323a; margin-top: 13px; }
.game-details summary { font-size: .8125rem; min-height: 44px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: #e7cc9d; padding-block: 9px; }
.game-details summary::-webkit-details-marker { display: none; }
.game-details summary .icon { width: 15px; height: 15px; }
.game-details[open] summary .icon { transform: rotate(180deg); }
.pattern-content { font-size: .8125rem; padding-bottom: 12px; }
.pattern-content table { width: 100%; border-collapse: collapse; margin: 0 0 10px; font-size: .75rem; }
.pattern-content td { padding: 5px 0; border-bottom: 1px solid #313139; }
.pattern-content td:last-child { text-align: right; }
.pattern-toggles { display: inline-flex; gap: 4px; }
.pattern-toggle { display: inline-flex; justify-content: center; align-items: center; width: 17px; height: 17px; border-radius: 4px; font-size: .6875rem; font-weight: 700; }
.pattern-toggle.is-on, .turbo-on { color: #88dfb6; background: #1e3a30; }
.pattern-toggle.is-off, .turbo-off { color: #f298a2; background: #3b252c; }
.turbo-on, .turbo-off { border-radius: 3px; padding: 2px 4px; white-space: nowrap; }
.game-time { color: #dfd9e2; font-size: .75rem; margin: 8px 0; }
.game-time .icon { width: 13px; height: 13px; margin-right: 3px; }
.pattern-note, .game-empty-pattern { color: #aba6b2; font-size: .75rem; line-height: 1.5; margin: 7px 0 12px; }
.card-play { display: flex; align-items: center; justify-content: center; background: #a92031; border-radius: 5px; min-height: 40px; font-size: .8125rem; font-weight: 700; padding: 7px; }
.card-play:hover { background: #c32537; }
.load-zone { display: flex; align-items: center; flex-direction: column; gap: 12px; margin-top: 27px; }
.load-zone .button { min-width: 240px; }
.load-status { font-size: .8125rem; color: var(--muted); min-height: 20px; text-align: center; margin: 0; }
.load-error { color: #ffb0b8; }
.empty-state { text-align: center; padding: 45px 20px; border: 1px dashed #494049; border-radius: 10px; background: #19191e; }
.empty-state > .icon { color: var(--gold); width: 32px; height: 32px; }
.empty-state h3 { margin: 15px 0 6px; font-size: 1.125rem; }
.empty-state p { color: var(--muted); margin: 0 0 20px; font-size: .875rem; }
.join-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-block: 42px; border: 1px solid #6e2a35; border-left: 4px solid var(--red); border-radius: 8px; padding: 24px 28px; background: #28171e; }
.join-banner h2 { margin: 0 0 5px; font-size: 1.25rem; }
.join-banner p { margin: 0; color: #bba6af; font-size: .875rem; }
.join-actions { display: flex; gap: 10px; }
.info-section { border-top: 1px solid var(--line); padding-top: 28px; scroll-margin-top: 100px; }
.info-section > h2 { font-size: 1.125rem; margin: 0 0 16px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.info-grid details { background: #191a1e; border: 1px solid var(--line); border-radius: 8px; padding: 0 18px; }
.info-grid summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .875rem; font-weight: 700; cursor: pointer; list-style: none; }
.info-grid summary::-webkit-details-marker { display: none; }
.info-grid summary .icon { width: 16px; height: 16px; }
.info-grid details[open] summary .icon { transform: rotate(180deg); }
.info-grid details p { font-size: .875rem; color: #bdb8c2; margin: 0 0 16px; line-height: 1.7; }
.site-footer { background: #141519; border-top: 1px solid var(--line); padding-block: 30px; }
.footer-main { display: flex; justify-content: space-between; gap: 32px; }
.footer-copy { max-width: 490px; }
.footer-copy p { font-size: .8125rem; color: #a5a0ad; line-height: 1.7; margin: 16px 0 0; }
.footer-links { display: flex; align-items: flex-start; gap: 26px; font-size: .8125rem; color: #b7b2be; }
.footer-links a { padding-block: 10px; }
.footer-links a:hover { color: var(--gold); }
.footer-end { display: flex; justify-content: space-between; border-top: 1px solid #2d2d34; margin-top: 26px; padding-top: 18px; color: #8c8994; font-size: .75rem; }
.age-label { font-weight: 700; color: #b4abb5; }
.mobile-nav { display: none; }
.back-top { position: fixed; right: 20px; bottom: 24px; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; color: var(--gold); background: #262329; border: 1px solid #5c4b3d; border-radius: 8px; z-index: 20; box-shadow: 0 4px 15px #0005; }
.no-script { padding: 14px; color: #efd9ad; border: 1px solid #665134; margin-bottom: 18px; }
@media (min-width: 1500px) { .game-grid { grid-template-columns: repeat(6,minmax(0,1fr)); } }
@media (max-width: 1190px) {
  .header-inner { gap: 24px; }
  .main-nav { gap: 18px; }
  .main-nav .info-link { display: none; }
  .game-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .hero-panel { padding-inline: 32px; }
  .hero-controls { left: 32px; }
  .hero h1, .hero h2 { font-size: 2.6rem; }
  .hero-art { height: 200px; }
  .hero-tile-small { top: 136px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; }
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero-panel { min-height: 280px; padding: 27px 26px 52px; }
  .hero h1, .hero h2 { font-size: 2.1rem; }
  .hero-copy p:not(.eyebrow) { font-size: .875rem; }
  .hero-controls { left: 26px; }
  .hero-art { margin-left: 0; }
  .hero-tile-small { top: 125px; }
  .hero-provider-art { gap: 8px; padding: 0 5px; }
  .hero-provider-art div { min-height: 65px; font-size: .875rem; }
  .hero-code-art { padding: 0 5px; }
  .hero-code-art div { padding: 13px; font-size: .875rem; }
  .service-strip { gap: 14px; }
  .service-strip > span + span { padding-left: 14px; }
  .service-strip .strip-extra { display: none; }
  .game-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
  .footer-links { gap: 17px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 84px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 28px); }
  .header-inner { min-height: 67px; gap: 8px; }
  .wordmark { gap: 7px; }
  .brand-mark { width: 30px; height: 35px; font-size: 1.4rem; }
  .brand-name { font-size: 1.125rem; }
  .brand-kicker { font-size: .57rem; margin-bottom: 5px; letter-spacing: .18em; }
  .header-actions { gap: 6px; }
  .header-actions .button { min-height: 38px; font-size: .75rem; padding: 7px 12px; }
  .header-actions .button .icon { display: none; }
  .page-content { padding-block: 14px 28px; }
  .hero { border-radius: 9px; }
  .hero-panel { grid-template-columns: 1.2fr .85fr; min-height: 233px; padding: 23px 18px 48px; gap: 0; overflow: hidden; }
  .eyebrow { font-size: .59rem; letter-spacing: .08em; gap: 5px; margin-bottom: 12px; }
  .eyebrow::before { width: 11px; }
  .hero h1, .hero h2 { font-size: clamp(1.5rem, 6.1vw, 2.15rem); line-height: 1.08; margin-bottom: 11px; letter-spacing: -.035em; }
  .hero-copy p:not(.eyebrow) { font-size: .75rem; line-height: 1.5; margin-bottom: 16px; }
  .hero .button { min-height: 36px; padding: 8px 12px; font-size: .75rem; }
  .hero-art { margin-left: -2px; margin-right: -25px; height: 180px; }
  .hero-tile { border-width: 2px; border-radius: 8px; }
  .hero-tile-back { width: 79%; top: 28px; left: 0; transform: rotate(-12deg); }
  .hero-tile-main { top: 75px; right: -5px; width: 87%; transform: rotate(10deg); }
  .hero-tile-small { display: none; }
  .hero-controls { left: 15px; bottom: 11px; }
  .hero-provider-art { grid-template-columns: 1fr 1fr; gap: 8px; margin-left: 8px; margin-right: -16px; height: 180px; }
  .hero-provider-art div { padding: 7px 4px; min-height: 50px; font-size: .6875rem; }
  .hero-code-art { height: 180px; margin-left: 13px; margin-right: -14px; gap: 10px; }
  .hero-code-art div { padding: 9px; font-size: .75rem; gap: 7px; }
  .hero-code-art .icon { width: 17px; height: 17px; }
  .service-strip { padding-block: 13px; font-size: .6875rem; gap: 12px; }
  .service-strip > span { gap: 5px; }
  .service-strip > span + span { padding-left: 12px; }
  .service-strip .icon { width: 14px; height: 14px; }
  .service-strip a { display: none; }
  .provider-section { padding-top: 18px; scroll-margin-top: 78px; }
  .section-heading { margin-bottom: 10px; }
  .section-heading h2 { font-size: .9375rem; }
  .section-heading .subtle { font-size: .75rem; }
  .provider-controls .icon-button { width: 32px; min-height: 32px; }
  .provider-controls .icon { width: 17px; height: 17px; }
  .provider-track { gap: 8px; margin-right: -14px; padding-right: 14px; padding-bottom: 8px; }
  .provider { flex-basis: 106px; min-width: 106px; height: 77px; padding: 8px; border-radius: 7px; gap: 6px; }
  .provider img { height: 28px; width: 75px; }
  .provider-pragmatic { height: 28px; font-size: .7rem; }
  .provider span.provider-label { font-size: .6875rem; }
  .catalog-section { padding-top: 20px; scroll-margin-top: 80px; }
  .catalog-title-row { margin-bottom: 15px; }
  .catalog-heading { gap: 9px; }
  .catalog-heading h2 { font-size: 1.25rem; }
  .catalog-heading p { font-size: .75rem; }
  .heading-rule { height: 33px; width: 3px; }
  .provider-rating { display: none; }
  .catalog-toolbar { grid-template-columns: 1fr 1fr; gap: 9px; }
  .search-field { grid-column: 1/-1; }
  .search-field input { height: 46px; font-size: .875rem; }
  .select-wrap select { height: 44px; font-size: .8125rem; padding-left: 11px; }
  .filter-meta { flex-wrap: wrap; gap: 8px; margin-block: 10px 13px; }
  .filter-meta-left { gap: 12px; width: 100%; justify-content: space-between; }
  .favorite-filter { font-size: .75rem; }
  #result-count { font-size: .75rem; }
  .data-stamp { font-size: .6875rem; width: 100%; }
  .refresh-data { margin-left: auto; }
  .data-note { font-size: .75rem; line-height: 1.55; margin-bottom: 15px; }
  .data-note .icon { flex-shrink: 0; }
  .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 10px; }
  .game-card { border-radius: 8px; }
  .game-body { padding: 11px 10px 0; }
  .game-provider { font-size: .625rem; letter-spacing: .04em; }
  .game-name { font-size: .875rem; line-height: 1.3; margin-bottom: 7px; min-height: 2.6em; }
  .save-game { top: 5px; right: 5px; width: 34px; height: 34px; min-height: 34px; }
  .metric-line { font-size: .6875rem; }
  .metric-line strong { font-size: 1.0625rem; }
  .game-details { margin-top: 12px; }
  .game-details summary { min-height: 44px; font-size: .75rem; }
  .pattern-content table { font-size: .6875rem; }
  .pattern-toggles { gap: 3px; }
  .pattern-toggle { width: 16px; height: 16px; }
  .game-time, .pattern-note { font-size: .6875rem; }
  .card-play { min-height: 44px; font-size: .75rem; }
  .load-zone { margin-top: 22px; }
  .load-zone .button { width: 100%; }
  .join-banner { flex-direction: column; align-items: flex-start; padding: 21px 20px; margin-block: 30px; gap: 18px; }
  .join-banner h2 { font-size: 1.125rem; }
  .join-banner p { font-size: .8125rem; }
  .join-actions { width: 100%; }
  .join-actions .button { flex: 1; padding-inline: 11px; font-size: .8125rem; }
  .info-section { padding-top: 23px; scroll-margin-top: 85px; }
  .info-grid { grid-template-columns: 1fr; gap: 9px; }
  .info-grid details { padding-inline: 14px; }
  .info-grid summary { font-size: .8125rem; }
  .info-grid details p { font-size: .8125rem; }
  .footer-main { flex-direction: column; gap: 17px; }
  .footer-links { flex-wrap: wrap; gap: 6px 22px; }
  .footer-copy p { font-size: .75rem; }
  .footer-end { font-size: .6875rem; flex-wrap: wrap; gap: 10px; }
  .mobile-nav { display: grid; grid-template-columns: repeat(5,1fr); position: fixed; inset: auto 0 0; background: #191a20; border-top: 1px solid #3d333c; z-index: 40; padding: 6px 5px calc(5px + env(safe-area-inset-bottom)); box-shadow: 0 -5px 20px #0004; }
  .mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 53px; font-size: .625rem; color: #b2acb9; }
  .mobile-nav a .icon { width: 20px; height: 20px; }
  .mobile-nav a.active { color: var(--gold); }
  .mobile-nav .mobile-register { color: #f7e6c0; }
  .mobile-register .icon { background: #a51f30; width: 35px !important; height: 29px !important; padding: 4px 7px; border-radius: 6px; }
  .back-top { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; width: 38px; height: 38px; min-height: 38px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 22px); }
  .brand-mark { display: none; }
  .header-actions .button { padding-inline: 10px; }
  .hero-panel { padding-left: 15px; }
  .hero h1, .hero h2 { font-size: 1.4rem; }
  .hero-copy p:not(.eyebrow) { font-size: .6875rem; }
  .hero-art { margin-right: -35px; }
  .game-body { padding-inline: 8px; }
  .game-grid { gap: 10px 8px; }
  .game-name { font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Catalog renderer and accessibility refinements. */
.provider-track { position: relative; }
.hero-pause span { display: none; }
.pattern-table th { text-align: left; font-weight: 500; padding: 5px 0; border-bottom: 1px solid #313139; }
.pattern-table thead th { color: #a5a0ab; font-weight: 400; font-size: .75rem; }
.pattern-table thead th:last-child { text-align: right; }
[data-rtp-tier="medium"] .metric-line strong { color: var(--gold); }
[data-rtp-tier="medium"] .rtp-track span { background: var(--gold); }
[data-rtp-tier="low"] .metric-line strong { color: #fa8a8f; }
[data-rtp-tier="low"] .rtp-track span { background: #ed7180; }
.cover-fallback { height: 100%; display: grid; place-items: center; color: var(--gold); padding: 20px; text-align: center; }
.game-provider { font-size: .75rem; }
.game-time, .pattern-note { font-size: .75rem; }
.save-game { width: 40px; height: 40px; min-height: 40px; }
@media (max-width:640px) {
 .hero-panel { min-height: 194px; }
 .hero-copy p:not(.eyebrow) { display: none; }
 .hero h1, .hero h2 { margin-bottom: 17px; }
 .hero-art, .hero-provider-art, .hero-code-art { height: 145px; }
 .hero-tile-back { top: 2px; }
 .hero-tile-main { top: 53px; }
 .game-provider, .provider span.provider-label, .mobile-nav a, .service-strip, .data-stamp { font-size: .75rem; }
 .game-name { font-size: .875rem; }
 .metric-line, .game-details summary { font-size: .8125rem; }
 .pattern-content table { font-size: .75rem; }
 .save-game { width: 40px; height: 40px; min-height: 40px; }
 .provider-controls .icon-button { width: 40px; min-height: 40px; }
 .hero-dot { min-height: 36px; }
 .hero-controls { bottom: 3px; }
 .hero-pause { min-height: 36px; width: 36px; }
}
/* Clip decoration without creating a nested scroll container for banner controls. */
.hero { overflow: clip; }

.hero-tile-small { position: absolute; width: max-content; max-width: 65%; }
@media (max-width:640px) { .hero-panel { min-height: 215px; } .hero h1, .hero h2 { font-size: 1.5rem; } }
@media (max-width:360px) { .hero h1, .hero h2 { font-size: 1.3rem; } .provider-track { margin-right: -11px; padding-right: 11px; } }
