:root {
  --bg: #f6f7f9;
  --surface: #fff;
  --text: #272936;
  --muted: #6d707e;
  --line: #e8e9ef;
  --accent: #ea6435;
  --accent-dark: #bc4620;
  --violet: #30214f;
  --sidebar: 220px;
  --max: 1440px;
  --radius: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.65 'IBM Plex Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }
:focus-visible { outline: 3px solid #a56ce2; outline-offset: 4px; }
::selection { background: #fbd9ca; color: #272936; }
.icon { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 32px; }
.site-shell { margin-left: var(--sidebar); min-height: 100vh; display: flex; flex-direction: column; }
#main { width: 100%; flex: 1; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; background: var(--text); color: #fff; border-radius: 8px; padding: 10px 20px; }
.skip-link:focus { top: 12px; }
.icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; background: none; border: 1px solid var(--line); border-radius: 10px; }
.icon-button:hover { background: var(--bg); }

/* A quiet library rail, with actions grouped by purpose. */
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--sidebar); background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.sidebar-top { height: 84px; display: flex; align-items: center; padding: 0 24px; flex: none; }
.logo { display: inline-flex; align-items: center; gap: 9px; }
.brand-symbol { display: grid; place-items: center; width: 35px; height: 38px; background: var(--accent); color: #fff; border-radius: 11px; transform: rotate(-8deg); }
.brand-symbol .icon { width: 25px; height: 25px; transform: rotate(8deg); }
.brand-name { position: relative; font: 750 20px/1.1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: -.9px; padding-bottom: 12px; }
.brand-name > span { color: var(--accent); }
.brand-name small { position: absolute; left: 1px; bottom: -1px; font-size: 9px; letter-spacing: 3px; font-weight: 650; color: #8d8f99; }
.sidebar-scroll { padding: 6px 14px 24px; overflow-y: auto; scrollbar-width: thin; flex: 1; }
.nav-label { color: #6d707e; font-size: 11px; font-weight: 500; margin: 20px 12px 10px; }
.nav { display: flex; flex-direction: column; gap: 5px; }
.nav a { display: flex; gap: 12px; align-items: center; min-height: 43px; padding: 9px 12px; border-radius: 9px; color: #686b78; font-size: 13px; }
.nav a > .icon { width: 18px; height: 18px; }
.nav a small { margin-left: auto; font-size: 10px; background: #f0f1f4; border-radius: 5px; padding: 1px 5px; }
.nav a:hover { background: #f7f7fa; color: var(--text); }
.nav a.is-active { color: #c34c22; font-weight: 600; background: #fff0e9; }
.nav a.is-active small { background: #ffe1d3; }
.nav-dot { margin-left: auto; height: 5px; width: 5px; background: var(--accent); border-radius: 50%; }
.sidebar-divider { margin: 23px 12px 0; border-top: 1px solid var(--line); }
.provider-nav a { min-height: 40px; gap: 11px; font-size: 12px; }
.provider-mark { width: 31px; height: 31px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #eeeaf7; color: #69518a; font: 800 12px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: -.6px; flex: none; }
.provider-nav .provider-mark { width: 24px; height: 24px; border-radius: 6px; font-size: 10px; }
.mark-pgsoft { color: #292b35; background: #f0f0f4; letter-spacing: -1px; }
.mark-pragmatic-play { color: #ba7110; background: #fff2df; }
.mark-hacksaw { color: #4c4d51; background: #eeeff1; font-style: italic; }
.mark-gamesglobal { color: #684ad0; background: #f0ebff; }
.mark-playngo { color: #246ec2; background: #e7f1ff; }
.mark-bgaming { color: #d54358; background: #ffebee; }
.sidebar-note { margin: 16px; padding: 14px 10px; border-top: 1px solid var(--line); display: flex; align-items: flex-start; gap: 8px; color: #898b95; }
.sidebar-note > .icon { width: 17px; margin-top: 2px; }
.sidebar-note strong { font-size: 11px; color: #5a5d6b; font-weight: 500; }
.sidebar-note p { font-size: 10px; margin: 3px 0 0; }
.close-menu, .menu-toggle, .mobile-logo, .menu-backdrop { display: none; }

/* Global search is available on every route. */
.site-head { position: sticky; top: 0; z-index: 30; background: #ffffffed; backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; gap: 16px; height: 84px; padding-inline: 32px; max-width: var(--max); margin: auto; }
.head-search { position: relative; display: flex; align-items: center; gap: 11px; width: min(460px, 65%); background: #f6f7f9; border: 1px solid #eeeff3; border-radius: 10px; padding-inline: 15px 11px; }
.head-search > .icon { color: #6d707e; width: 18px; }
.search { min-width: 0; width: 100%; border: 0; background: transparent; padding: 11px 0; color: var(--text); font-size: 12px; outline: none; }
.search::placeholder { color: #6d707e; opacity: 1; }
.head-search:focus-within, .filter-search:focus-within { border-color: #d29b86; box-shadow: 0 0 0 3px #ea643512; }
.head-search kbd { border: 1px solid #e4e5ea; border-radius: 5px; height: 24px; min-width: 24px; text-align: center; background: white; color: #9a9ca5; font: 12px/22px sans-serif; }
.head-meta { margin-left: auto; display: flex; gap: 23px; align-items: center; }
.demo-status { font-size: 11px; color: #6c707b; white-space: nowrap; }
.demo-status i, .art-caption i { width: 6px; height: 6px; border-radius: 50%; background: #4aa382; display: inline-block; margin-right: 7px; }
.age-badge { display: inline-flex; flex: none; align-items: center; justify-content: center; border: 1px solid #d7d9e0; border-radius: 50%; width: 32px; height: 32px; color: #838592; font: 600 11px/1 sans-serif; }
.suggest { position: absolute; top: calc(100% + 9px); left: 0; right: 0; max-height: 65vh; overflow-y: auto; background: white; box-shadow: 0 12px 45px #2528391a; border: 1px solid var(--line); border-radius: 12px; padding: 5px; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 9px; border-radius: 7px; }
.suggest a:hover, .suggest a:focus { background: #f6f4fa; }
.suggest img { width: 43px; height: 43px; border-radius: 7px; object-fit: cover; }
.suggest b { display: block; font-size: 12px; font-weight: 600; }
.suggest small { display: block; color: var(--muted); font-size: 10px; }
.suggest .more { display: block; padding: 13px; text-align: center; font-size: 12px; color: var(--muted); }

/* The game artwork is the focal point; the rest stays restrained. */
.welcome { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 29px 0 25px; }
.welcome h1 { margin: 0 0 4px; font-size: 24px; font-weight: 600; letter-spacing: -.6px; }
.welcome p { margin: 0; color: var(--muted); font-size: 12px; }
.welcome-note { color: #858795; font-size: 11px; display: flex; align-items: center; gap: 6px; }
.welcome-note .icon { width: 15px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(235px, 1fr); gap: 20px; }
.feature-banner { min-height: 320px; position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; border-radius: 18px; background: #30214f; color: white; }
.feature-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 78% 40%, #79519c80, transparent 62%); }
.feature-copy { position: relative; z-index: 2; width: 62%; padding: 27px 0 26px 30px; }
.feature-label { display: inline-flex; align-items: center; gap: 6px; background: #ffffff12; border: 1px solid #ffffff1a; color: #e9d6ff; border-radius: 6px; padding: 3px 8px; font-size: 10px; }
.feature-label .icon { width: 12px; height: 12px; }
.feature-copy h2 { margin: 13px 0 10px; font-size: clamp(25px, 2.4vw, 37px); font-weight: 600; line-height: 1.42; letter-spacing: -.8px; }
.feature-copy p { color: #c9c1d8; font-size: 11px; line-height: 1.9; margin: 0 0 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #c94b22; color: #fff; border: 1px solid transparent; border-radius: 9px; padding: 11px 19px; font-size: 13px; line-height: 1.6; font-weight: 600; cursor: pointer; }
.btn:hover { background: #d85628; }
.btn .icon { height: 16px; width: 16px; }
.btn.ghost { background: #fff; color: #585c6d; border-color: var(--line); font-size: 12px; font-weight: 500; padding: 9px 14px; }
.btn.ghost:hover { background: #f8f5f2; border-color: #e4c3b5; }
.btn.small { padding: 9px 15px; font-size: 12px; }
.feature-copy .btn { font-size: 11px; padding: 10px 15px; box-shadow: 0 4px 15px #1a0a2b38; }
.feature-copy .btn .icon { fill: currentColor; width: 13px; }
.feature-caption { display: block; margin-top: 12px; color: #b0a5c3; font-size: 9px; }
.feature-art { position: absolute; width: 36%; max-width: 270px; right: 6%; top: 50%; transform: translateY(-50%); }
.feature-art > img { position: relative; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 17px; transform: rotate(8deg); border: 4px solid #ffffff25; box-shadow: 0 15px 35px #1206205e; }
.art-orbit { position: absolute; inset: -26px; border: 1px solid #c1a5df22; border-radius: 50%; }
.art-orbit::before { content: ''; position: absolute; inset: -26px; border: 1px solid #c1a5df12; border-radius: 50%; }
.art-caption { display: flex; position: relative; z-index: 2; justify-content: center; align-items: center; gap: 5px; margin: -3px auto 0; width: 88%; padding: 9px 12px; background: #fff; color: #48404d; box-shadow: 0 6px 18px #14082826; border-radius: 8px; font: 650 10px/1.3 sans-serif; transform: rotate(-3deg); }
.art-caption span { margin-left: auto; color: #8c8394; font-size: 8px; font-weight: 400; }
.art-caption i { width: 5px; height: 5px; margin-right: 0; }
.discovery-banner { border: 1px solid #f4e5d9; border-radius: 18px; padding: 25px; background: #fcf0e5; position: relative; overflow: hidden; }
.discovery-top { display: flex; align-items: center; gap: 10px; color: #a26a47; font-size: 10px; }
.discovery-icon { height: 35px; width: 35px; border: 1px solid #ead6c5; border-radius: 11px; background: #fff8f2; display: grid; place-items: center; transform: rotate(-8deg); color: #cf7944; }
.discovery-icon .icon { width: 22px; height: 22px; }
.discovery-banner h2 { font-size: 24px; line-height: 1.45; font-weight: 600; letter-spacing: -.5px; margin: 16px 0 8px; color: #654a39; }
.discovery-banner p { color: #7e695b; font-size: 11px; line-height: 1.9; margin: 0 0 20px; }
.discovery-button { background: #fff; border: 1px solid #ebd7c8; color: #805d44; padding: 9px 12px; width: 100%; font-size: 11px; }
.discovery-button:hover { background: #fff9f3; border-color: #cc9d7b; }
.discovery-button .icon:last-child { margin-left: auto; width: 14px; }
.discovery-note { display: block; color: #806c5d; font-size: 9px; text-align: center; margin-top: 9px; }

/* Catalog shelves */
.game-section, .provider-section { margin-top: 31px; }
.section-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 17px; }
.section-title > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.section-title h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.3px; white-space: nowrap; }
.section-icon { height: 27px; width: 27px; border-radius: 8px; display: grid; place-items: center; }
.section-icon .icon { width: 17px; height: 17px; }
.section-icon.warm { background: #ffede4; color: #d77948; }
.section-icon.violet { background: #ede9f8; color: #8a70b8; }
.section-icon.green { background: #e6f1ed; color: #689c89; }
.section-caption { color: #6d707e; font-size: 10px; margin-left: 4px; }
.text-link, .section-title > a { color: #8b7d79; font-size: 11px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.text-link:hover, .section-title > a:hover { color: var(--accent-dark); }
.text-link .icon { width: 15px; height: 15px; }
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 16px; }
.card { position: relative; min-width: 0; }
.card-link { display: block; border-radius: 12px; }
.thumb { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 1.05; background: #eeebf3; }
.thumb > img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 5px; color: #fff; background: #c94b22; font-size: 9px; font-weight: 500; }
.play { position: absolute; inset: 0; display: grid; place-items: center; background: #25183d99; opacity: 0; transition: opacity .18s ease; }
.play b { display: inline-flex; gap: 5px; align-items: center; font-size: 10px; font-weight: 500; border-radius: 7px; padding: 7px 10px; background: #fff; color: #4d365d; }
.play .icon { width: 12px; height: 12px; fill: currentColor; }
.card-link:hover .play, .card-link:focus-visible .play { opacity: 1; }
.meta { position: relative; padding: 10px 15px 0 1px; }
.card h3 { font-family: 'IBM Plex Sans Thai', sans-serif; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0 0 3px; }
.card small { display: block; font: 10px/1.5 'IBM Plex Sans Thai', sans-serif; color: #6d707e; }
.card-arrow { position: absolute; right: 0; top: 13px; color: #aeb0b9; }
.card-arrow .icon { width: 12px; height: 12px; }
.favorite { position: absolute; z-index: 2; top: 8px; right: 8px; background: #21172d7a; color: #fff; border: 1px solid #ffffff29; border-radius: 7px; width: 27px; height: 27px; padding: 0; display: grid; place-items: center; backdrop-filter: blur(6px); }
.favorite .icon { width: 14px; height: 14px; }
.favorite:hover { background: #fff; color: #d85b3c; }
.favorite[aria-pressed='true'] { background: #fff3ee; color: #d8532d; border-color: #fff3ee; }
.favorite[aria-pressed='true'] .icon, .save-game[aria-pressed='true'] .icon { fill: currentColor; }
.save-game[aria-pressed='true'] { color: var(--accent-dark); }
.provider-section { margin-top: 31px; }
.provider-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: white; border: 1px solid var(--line); border-radius: 12px; padding: 17px 0; }
.provider-tile { display: grid; justify-items: center; gap: 5px; border-right: 1px solid var(--line); }
.provider-tile:last-child { border: 0; }
.provider-tile .provider-mark { width: 37px; height: 30px; font-size: 17px; background: transparent; }
.provider-tile strong { font: 600 11px/1.5 'IBM Plex Sans Thai', sans-serif; }
.provider-tile small { font-size: 10px; color: #6d707e; }
.provider-tile:hover strong { color: var(--accent-dark); }
.catalog-tabs { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 19px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.chip { white-space: nowrap; border: 1px solid #e6e7ed; background: transparent; color: #777b88; border-radius: 7px; padding: 7px 13px; font-size: 10px; }
.chip:hover { border-color: #ddb59f; color: #ab542e; }
.chip.is-active { background: #fff0e8; border-color: #f3d7c8; color: #bd592f; font-weight: 500; }
.catalog-total { font-size: 10px; color: #6d707e; white-space: nowrap; }
.demo-note { display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 38px; }
.demo-note > .icon { width: 28px; height: 28px; color: #8a91a2; }
.demo-note h2 { font-size: 13px; font-weight: 500; margin: 0 0 4px; color: #606676; }
.demo-note p { color: #6d707e; font-size: 11px; margin: 0; }
.demo-note > .age-badge { margin-left: auto; }

/* Interior pages share the same catalog vocabulary. */
.hero { padding-block: 34px 18px; }
.page-kicker { font-size: 11px; color: #aa765b; }
.hero h1 { font-size: clamp(25px, 3vw, 34px); font-weight: 600; letter-spacing: -.8px; line-height: 1.4; margin: 5px 0 8px; }
.hero p { color: var(--muted); font-size: 13px; margin: 0; max-width: 650px; }
.toolbar { display: flex; align-items: center; gap: 15px; margin: 8px 0 23px; flex-wrap: wrap; }
.filter-search { display: flex; align-items: center; gap: 10px; background: white; border: 1px solid var(--line); border-radius: 9px; padding: 0 13px; max-width: 430px; width: 100%; }
.filter-search > .icon { width: 17px; color: #9296a3; }
.filter-count { font-size: 11px; color: #6d707e; margin-left: auto; }
.empty { padding: 65px 20px; text-align: center; color: var(--muted); border: 1px dashed #dce0e7; border-radius: 14px; background: #fff; }
.empty > .icon { width: 32px; height: 32px; margin: auto auto 10px; color: #9d85b7; }
.empty h2 { margin: 0; font-size: 20px; font-weight: 500; color: var(--text); }
.empty p { font-size: 13px; margin: 8px 0 18px; }
.prov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-block: 14px 20px; }
.prov-card { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 13px; }
.prov-card .provider-mark { width: 45px; height: 45px; border-radius: 12px; font-size: 17px; }
.prov-card b { font-size: 13px; font-weight: 600; }
.prov-card small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.prov-card > .icon { width: 16px; margin-left: auto; color: #b0b2bb; }
.prov-card:hover { border-color: #dcbaa8; }
.pager { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; margin: 32px 0 10px; }
.pager a, .pager b, .pager span { min-width: 34px; text-align: center; padding: 7px 11px; border-radius: 7px; border: 1px solid var(--line); background: white; font-size: 12px; }
.pager b { background: var(--accent); color: #fff; border-color: var(--accent); }
.pager span { border-color: transparent; background: none; color: var(--muted); }
.pager a:hover { border-color: #ce9a7f; }
.crumbs { display: flex; gap: 7px; flex-wrap: wrap; color: #6d707e; font-size: 11px; padding: 23px 0 20px; }
.crumbs a:hover { color: var(--accent-dark); }
.crumbs + .hero { padding-top: 0; }
.game-head { display: flex; gap: 14px; align-items: center; margin-bottom: 23px; }
.game-head img { width: 62px; height: 62px; border-radius: 12px; object-fit: cover; }
.game-head h1 { font-size: clamp(20px, 2.2vw, 29px); line-height: 1.5; margin: 0 0 2px; font-weight: 600; }
.game-head .prov { color: var(--muted); font-size: 11px; }
.game-head .prov a { color: #947156; }
.player { position: relative; background: #171321; border: 1px solid #ded9e6; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; width: 100%; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player.is-fullscreen { border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; }
.cover { position: absolute; inset: 0; display: grid; place-items: center; background: center / cover no-repeat; }
.cover::before { content: ''; position: absolute; inset: 0; background: #160d25be; backdrop-filter: blur(4px); }
.cover .inner { position: relative; text-align: center; padding: 25px; }
.cover p { color: #d7cde1; font-size: 12px; margin: 15px 0 0; }
.cover .btn { padding: 13px 24px; }
.controls { display: flex; gap: 8px; flex-wrap: wrap; padding-block: 15px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.controls .save-game { margin-right: auto; }
.prose { max-width: 850px; margin: 25px auto; color: #616573; font-size: 14px; line-height: 1.95; }
.prose h2 { font-size: 20px; font-weight: 600; color: var(--text); line-height: 1.6; margin: 28px 0 12px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 6px; }
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 10px; margin-block: 12px 25px; }
.info div { background: #fff; border: 1px solid var(--line); padding: 13px 15px; border-radius: 9px; }
.info small { font-size: 11px; color: var(--muted); display: block; }
.info b { font-size: 14px; font-weight: 500; color: #333646; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 13px 17px; margin: 10px 0; }
.faq summary { cursor: pointer; color: #3a3e4f; font-size: 13px; font-weight: 500; }
.faq p { margin: 12px 0 0; font-size: 13px; }
.notice { border-left: 3px solid #d4c5e4; background: #eeebf4; border-radius: 0 8px 8px 0; color: #888292; font-size: 11px; padding: 15px 20px; margin: 26px 0; }
.notice + .section-title { margin-top: 30px; }

/* Footer and browser-local status. */
.site-foot { margin-top: 35px; }
.footer-main { display: flex; align-items: center; gap: 25px; border-top: 1px solid var(--line); padding: 24px 0; }
.footer-main .logo { opacity: .7; transform: scale(.83); transform-origin: left center; margin-right: -20px; }
.footer-main p { font-size: 10px; color: #6d707e; margin: 0; }
.footer-main > .age-badge { margin-left: auto; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding: 15px 0 23px; font-size: 10px; color: #6d707e; }
.age { position: fixed; bottom: 18px; left: calc(var(--sidebar) + 24px); right: 24px; z-index: 50; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e1dce8; border-radius: 12px; box-shadow: 0 6px 40px #20162e21; padding: 15px 18px; }
.age p { flex: 1; margin: 0; color: #747282; font-size: 12px; }
.age .btn { flex: none; }
.toast { position: fixed; left: calc(50% + var(--sidebar) / 2); bottom: 28px; transform: translateX(-50%); z-index: 60; padding: 11px 20px; border-radius: 9px; background: #352a46; color: #fff; font-size: 12px; box-shadow: 0 5px 24px #24163124; max-width: calc(100vw - 32px); text-align: center; }

@media (min-width: 1700px) {
  .feature-banner { min-height: 355px; }
  .feature-copy { padding-left: 38px; }
  .feature-copy h2 { font-size: 39px; }
  .discovery-banner { padding: 30px; }
  .discovery-banner h2 { font-size: 28px; }
  .discovery-banner p { margin-bottom: 25px; }
}
@media (max-width: 1250px) {
  :root { --sidebar: 200px; }
  .sidebar-top { padding-inline: 18px; }
  .wrap, .head-inner { padding-inline: 25px; }
  .hero-layout { gap: 15px; grid-template-columns: minmax(0, 2.4fr) minmax(210px, 1fr); }
  .feature-copy { padding-left: 24px; width: 66%; }
  .feature-copy h2 { font-size: 28px; }
  .feature-art { width: 36%; right: 2%; }
  .feature-copy .btn { padding-inline: 11px; font-size: 10px; }
  .discovery-banner { padding: 23px 20px; }
  .discovery-banner h2 { font-size: 23px; }
  .section-caption { display: none; }
  .grid { gap: 18px 12px; }
}
@media (max-width: 1050px) {
  :root { --sidebar: 0px; }
  .sidebar { width: 235px; transform: translateX(-100%); transition: transform .2s ease; visibility: hidden; }
  .sidebar-top { padding-inline: 22px; justify-content: space-between; }
  .sidebar-top .brand-name { font-size: 18px; }
  .site-shell { margin-left: 0; }
  .menu-toggle, .close-menu { display: inline-grid; }
  .close-menu { border: 0; width: 28px; }
  .mobile-logo { display: grid; place-items: center; color: var(--accent); }
  .mobile-logo .icon { width: 30px; height: 30px; }
  .menu-backdrop { display: block; position: fixed; inset: 0; background: #21182d66; border: 0; z-index: 35; }
  body.menu-open { overflow: hidden; }
  .menu-open .sidebar { transform: translateX(0); visibility: visible; }
  .head-inner { height: 72px; }
  .head-search { width: min(450px, 62%); }
  .welcome { padding-top: 25px; }
  .hero-layout { grid-template-columns: minmax(0, 2.5fr) minmax(215px, 1fr); }
  .feature-copy h2 { font-size: 32px; }
  .feature-art { width: 38%; right: 3%; }
  .feature-copy { width: 62%; }
  .age { left: 20px; right: 20px; }
}
@media (max-width: 780px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 13px; }
  .featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .feature-banner { min-height: 325px; }
  .feature-copy { padding-left: 30px; }
  .feature-copy h2 { font-size: 35px; }
  .feature-art { width: 35%; right: 7%; }
  .discovery-banner { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 17px 22px; }
  .discovery-top { grid-column: 1; }
  .discovery-top > span:last-child { font-size: 11px; }
  .discovery-banner h2 { grid-column: 1; font-size: 17px; margin: 9px 0 0; }
  .discovery-banner h2 br { display: none; }
  .discovery-banner p, .discovery-note { display: none; }
  .discovery-button { grid-column: 2; grid-row: 1 / 3; width: auto; gap: 10px; padding: 10px 15px; }
  .welcome-note { display: none; }
  .provider-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 21px; }
  .provider-tile:nth-child(3) { border-right: 0; }
  .provider-tile strong { font-size: 11px; }
  .prov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head-meta { gap: 12px; }
  .head-meta .demo-status { display: none; }
  .head-search { flex: 1; width: auto; }
  .catalog-total { display: none; }
  .catalog-tabs { overflow-x: auto; padding-bottom: 5px; }
  .catalog-tabs .chips { flex-wrap: nowrap; }
  .game-head h1 { font-size: 22px; }
  .age { flex-wrap: wrap; gap: 10px; }
  .age p { flex-basis: calc(100% - 50px); font-size: 11px; }
  .age .btn { margin-left: auto; }
}
@media (max-width: 520px) {
  .wrap, .head-inner { padding-inline: 18px; }
  .head-inner { height: 66px; gap: 10px; }
  .mobile-logo { display: none; }
  .head-meta .age-badge { width: 27px; height: 27px; font-size: 9px; }
  .head-search { padding-inline: 10px; gap: 7px; }
  .head-search .search { font-size: 10px; padding-block: 10px; }
  .head-search kbd { display: none; }
  .menu-toggle { width: 32px; border: 0; }
  .welcome { padding: 22px 0 19px; }
  .welcome h1 { font-size: 22px; }
  .welcome p { font-size: 10px; max-width: 300px; }
  .hero-layout { gap: 13px; }
  .feature-banner { min-height: 318px; border-radius: 14px; }
  .feature-copy { padding: 24px 0 24px 23px; width: 75%; }
  .feature-copy h2 { font-size: 27px; line-height: 1.45; margin-top: 14px; }
  .feature-copy p { font-size: 10px; max-width: 175px; margin-bottom: 21px; }
  .feature-copy .btn { font-size: 10px; padding: 10px 12px; }
  .feature-caption { font-size: 8px; }
  .feature-label { font-size: 9px; }
  .feature-art { width: 33%; right: -3%; top: 47%; }
  .feature-art > img { border-radius: 12px; border-width: 3px; transform: rotate(9deg); }
  .art-caption { padding: 8px; font-size: 8px; width: 90%; }
  .art-caption span { display: none; }
  .art-orbit { inset: -12px; }
  .art-orbit::before { inset: -15px; }
  .discovery-banner { border-radius: 12px; padding: 15px; gap: 8px; }
  .discovery-top { gap: 6px; }
  .discovery-icon { width: 27px; height: 27px; border-radius: 8px; }
  .discovery-icon .icon { width: 18px; height: 18px; }
  .discovery-top > span:last-child { font-size: 9px; }
  .discovery-banner h2 { font-size: 13px; }
  .discovery-button { font-size: 10px; padding: 9px; gap: 6px; }
  .discovery-button > .icon:first-child { display: none; }
  .grid, .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 13px; }
  .thumb { aspect-ratio: 1.07; border-radius: 11px; }
  .card h3 { font-size: 12px; }
  .card small { font-size: 10px; }
  .favorite { width: 28px; height: 28px; }
  .section-title { margin-bottom: 15px; gap: 8px; }
  .section-title h2 { font-size: 17px; }
  .section-title > div { gap: 7px; }
  .section-title > a { font-size: 10px; }
  .section-icon { width: 23px; height: 23px; border-radius: 6px; }
  .section-icon .icon { width: 14px; height: 14px; }
  .text-link .icon { width: 13px; }
  .game-section, .provider-section { margin-top: 27px; }
  .provider-strip { padding: 16px 0; row-gap: 17px; }
  .provider-tile strong { font-size: 10px; }
  .provider-tile small { font-size: 9px; }
  .chip { padding: 6px 11px; font-size: 10px; }
  .demo-note { align-items: flex-start; gap: 10px; }
  .demo-note > .icon { width: 22px; }
  .demo-note h2 { font-size: 12px; }
  .demo-note p { font-size: 10px; }
  .demo-note > .age-badge { display: none; }
  .footer-main { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .footer-main p { order: 3; width: 100%; }
  .footer-bottom { font-size: 9px; }
  .age { left: 12px; right: 12px; bottom: 12px; padding: 13px; }
  .hero { padding: 24px 0 16px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 12px; }
  .prov-grid { gap: 10px; }
  .prov-card { flex-wrap: wrap; padding: 16px; gap: 10px; }
  .prov-card > .icon { display: none; }
  .prov-card > div { width: 100%; }
  .prov-card b { font-size: 12px; }
  .filter-count { font-size: 10px; }
  .toolbar { gap: 8px; }
  .game-head { align-items: flex-start; gap: 12px; }
  .game-head img { width: 50px; height: 50px; border-radius: 10px; }
  .game-head h1 { font-size: 18px; }
  .game-head .prov { font-size: 10px; }
  .player { aspect-ratio: 3 / 4; }
  .cover .btn { font-size: 12px; padding: 12px 16px; }
  .cover p { font-size: 10px; }
  .controls { gap: 7px; }
  .controls .btn { font-size: 10px; padding: 8px 10px; }
  .controls .save-game { margin-right: 0; }
  .prose { font-size: 13px; }
  .prose h2 { font-size: 18px; }
  .info { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .info div { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.load-more { display: flex; margin: 30px auto 0; }
button:disabled { cursor: wait; opacity: .65; }
