/* ninecasinobonos.com — Nine Casino brand style: navy #060e2a, panels #161d37 / #252c45,
   orange CTA #e45809, yellow #f7cd2a, purple promo banner. Mobile first. */
:root {
  --bg: #060e2a; --bg2: #0a1231; --panel: #161d37; --panel2: #252c45; --pill: #444a5f;
  --line: rgba(255, 255, 255, .08); --txt: #fff; --soft: #d5d9ea; --muted: #9ba3c2;
  --or: #e45809; --or2: #ff7322; --ye: #f7cd2a; --pu: #302276; --pu2: #4a2fa8; --green: #36c77b; --red: #ff5d5d;
  --r: 14px; --r-lg: 22px; --head: 64px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 14px); }
body { margin: 0; background: var(--bg); color: var(--soft); font: 500 16px/1.6 var(--font); overflow-x: hidden; padding-bottom: 86px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ye); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffe27a; }
b, strong { color: var(--txt); font-weight: 700; }
h1, h2, h3 { color: var(--txt); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
button { font: inherit; }
.i { width: 20px; height: 20px; flex: none; }
.i-arr { width: 18px; height: 18px; margin-left: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--or); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 14px; }
:focus-visible { outline: 2px solid var(--ye); outline-offset: 2px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 700; text-decoration: none; line-height: 1.15; text-align: center; padding: 11px 20px; font-size: 15px;
  transition: transform .15s, background .15s, box-shadow .15s; }
.btn-primary { background: var(--or); color: #fff; box-shadow: 0 6px 18px rgba(228, 88, 9, .35); }
.btn-primary:hover { background: var(--or2); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-ghost { background: var(--pill); color: #fff; }
.btn-ghost:hover { background: #565d75; color: #fff; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 40; background: var(--bg2); border-bottom: 1px solid var(--line); }
.top-in { height: var(--head); padding: 0 12px; display: flex; align-items: center; gap: 10px; }
.burger { background: none; border: 0; color: #c9cee2; padding: 8px; margin-left: -6px; cursor: pointer; display: grid; place-items: center; border-radius: 10px; }
.burger:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.burger .i { width: 26px; height: 26px; }
.burger .ic-close { display: none; }
.logo img { height: 26px; width: auto; }
.topnav { display: none; }
.top-play { margin-left: auto; padding: 9px 16px; font-size: 14px; white-space: nowrap; }

/* ---------- side menu (like the casino's): mobile = off-canvas panel, desktop = icon rail / wide menu */
.drawer { position: fixed; z-index: 60; inset: 0 auto 0 0; width: min(360px, 88vw); background: #11183a; padding: 12px 12px 16px;
  display: flex; flex-direction: column; gap: 12px; transform: translateX(-102%); transition: transform .25s ease, width .22s ease; }
.shade { position: fixed; inset: 0; z-index: 55; background: rgba(2, 6, 20, .65); opacity: 0; pointer-events: none; transition: opacity .25s; }
body.menu-open .drawer { transform: none; }
body.menu-open .shade { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; gap: 12px; padding: 4px 2px 2px; }
.drawer-x { background: none; border: 0; color: #c9cee2; cursor: pointer; padding: 6px; display: grid; }
.drawer-x .i { width: 24px; height: 24px; }
.drawer-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; display: grid; align-content: start; gap: 12px; scrollbar-width: thin; scrollbar-color: #2b3356 transparent; }
.drawer-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dt { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; color: #fff; font-weight: 700; text-decoration: none; min-height: 62px; line-height: 1.2; }
.dt img { width: 44px; height: 44px; border-radius: 8px; flex: none; }
.dt-bonus { background: linear-gradient(90deg, #52061a, #aa3904); }
.dt-spins { background: linear-gradient(90deg, #33194f, #993796); }
.dt:hover { color: #fff; filter: brightness(1.12); }
.drawer-group { background: var(--panel2); border-radius: 12px; padding: 6px; }
.drawer-group a { display: flex; align-items: center; gap: 12px; padding: 11px 10px; color: #fff; text-decoration: none; border-radius: 9px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.drawer-group a .i { color: #c9cee2; }
.drawer-group a:hover, .drawer-group a[aria-current] { background: rgba(255, 255, 255, .07); }
.drawer-group a[aria-current] .i { color: var(--or2); }
.drawer-foot { display: grid; gap: 8px; }
.drawer-row { display: flex; gap: 8px; }
.drawer-help { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--pill); color: #fff; display: grid; place-items: center; }
.drawer-help:hover { color: #fff; background: #565d75; }
.drawer-help .i { width: 22px; height: 22px; }
.drawer-play { flex: 1; }
.drawer-lang { display: block; text-align: center; background: var(--pill); color: #fff; border-radius: 999px; padding: 10px; font-weight: 700; white-space: nowrap; }

/* ---------- hero (purple promo banner) */
.page { padding: 14px 0 10px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #5d6585; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.hero-card { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, #4a34b4 0%, #34268a 40%, #22195f 100%); }
.hero-card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: radial-gradient(circle at 15% 85%, rgba(247, 205, 42, .25), transparent 40%), radial-gradient(circle at 90% 10%, rgba(255, 115, 34, .25), transparent 35%); }
.hero-art { position: relative; height: 190px; overflow: hidden; }
.hero-lion { position: absolute; left: 50%; top: 4px; width: 230px; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.hero-slot { display: none; }
.hero-art::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; }
.hero-txt { position: relative; padding: 0 16px 20px; margin-top: -14px; }
.hero h1 { font-size: 27px; font-weight: 900; margin: 0 0 8px; }
.updated { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 13px; color: #c8c3ee; font-style: italic; }
.updated .i { width: 15px; height: 15px; }
.disc { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 8px 12px; border-radius: 12px; background: rgba(6, 14, 42, .45);
  font-size: 13px; line-height: 1.4; color: #dcd8f5; }
.age { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--or2); color: #fff; font-weight: 800; font-size: 12px; }
.lede { font-size: 16.5px; color: #ece9ff; margin: 0 0 16px; }
.hero .lede b { color: #fff; }
.hero a:not(.btn) { color: var(--ye); }
.hero-cta { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 6px; }
.hero-cta .btn { width: 100%; }
.note { font-size: 12px; color: var(--muted); }
.hero .note { color: #bdb7e6; text-align: center; }

/* ---------- promo code block */
.code-box { background: rgba(6, 14, 42, .72); border: 2px dashed rgba(247, 205, 42, .55); border-radius: 18px; padding: 14px; margin: 0 0 14px; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.code-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ye); }
.code-tag .i { width: 17px; height: 17px; }
.code-name { font-size: 13px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .1); padding: 3px 10px; border-radius: 999px; }
.code-row { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.code-head { flex-wrap: wrap; }
.code-val { flex: 1; min-width: 0; width: 100%; cursor: copy; background: #fff; color: #0e1631; border: 0; border-radius: 12px; font-size: 28px; font-weight: 900;
  letter-spacing: .12em; padding: 10px 12px; text-align: center; transition: transform .15s; }
.code-val:hover { transform: scale(1.02); }
.code-copy { border-radius: 12px; padding: 10px 14px; font-size: 14px; white-space: nowrap; }
.code-copy .i { width: 18px; height: 18px; }
.code-copy.ok { background: var(--green); }
.code-terms { margin: 10px 0 12px; font-size: 14px; line-height: 1.45; color: #dcd8f5; }
.code-go { width: 100%; }
.article .code-box { background: var(--panel); }

/* ---------- layout */
.layout { display: block; margin-top: 18px; }
.article { min-width: 0; }
.article h2 { font-size: 23px; margin: 34px 0 14px; scroll-margin-top: calc(var(--head) + 14px); }
.article h2:first-child { margin-top: 8px; }
.article p { margin: 0 0 14px; }
.subh { color: #fff; font-size: 18px; margin-top: 18px !important; }
.side { display: none; }

/* tables */
.tbl { margin: 0 0 16px; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { background: var(--panel2); color: #fff; font-weight: 700; text-align: left; padding: 11px 12px; font-size: 13.5px; }
.tbl td { padding: 11px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl tr.tot td { background: rgba(228, 88, 9, .12); }
.tbl tr.tot b { color: var(--ye); }
.tbl.kv td:first-child { color: #fff; font-weight: 600; width: 46%; }
.tbl.pc th:first-child { color: var(--green); }
.tbl.pc th:last-child { color: #ffb36b; }
.cell-link { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; text-decoration: none; }
.cell-link .i-chev { width: 15px; height: 15px; }
code, .cc { font-family: var(--font); font-weight: 800; color: var(--ye); background: rgba(247, 205, 42, .1); border: 1px dashed rgba(247, 205, 42, .5);
  padding: 1px 7px; border-radius: 6px; letter-spacing: .04em; font-size: .95em; }
@media (max-width: 599px) {
  .tbl:not(.kv):not(.pc) thead { display: none; }
  .tbl:not(.kv):not(.pc) tr { display: block; border-top: 1px solid var(--line); padding: 6px 0; }
  .tbl:not(.kv):not(.pc) tr:first-child { border-top: 0; }
  .tbl:not(.kv):not(.pc) td { display: flex; justify-content: space-between; gap: 14px; border: 0; padding: 5px 12px; text-align: right; }
  .tbl:not(.kv):not(.pc) td::before { content: attr(data-th); color: var(--muted); font-weight: 600; text-align: left; font-size: 13px; }
  .tbl:not(.kv):not(.pc) td:first-child { color: #fff; font-weight: 700; }
  .tbl:not(.kv):not(.pc) td[data-th=""]::before { content: none; }
}

/* lists */
.article ul, .article ol { margin: 0 0 16px; padding: 0; list-style: none; }
.ticks li, .warn li, .tips li { position: relative; padding: 6px 0 6px 30px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 13px; height: 7px; border-left: 2.5px solid var(--or2); border-bottom: 2.5px solid var(--or2); transform: rotate(-45deg); }
.warn li::before { content: "!"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 93, 93, .18); color: var(--red); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.tips { background: var(--panel); border-radius: var(--r); padding: 8px 14px !important; border-left: 4px solid var(--ye); }
.tips li::before { content: "💡"; position: absolute; left: 0; top: 6px; font-size: 16px; }
.icons { display: grid; gap: 10px; }
.icons li { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border-radius: var(--r); padding: 12px 14px; }
.emo { font-size: 22px; line-height: 1.2; flex: none; }
.rules { display: grid; gap: 8px; }
.rules li { position: relative; background: var(--panel); border-radius: 12px; padding: 11px 14px 11px 46px; }
.rules li::before { content: ""; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 6px; background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.steps { counter-reset: st; display: grid; gap: 10px; }
.steps li { counter-increment: st; position: relative; background: var(--panel); border-radius: var(--r); padding: 13px 14px 13px 58px; min-height: 54px; }
.steps li::before { content: counter(st); position: absolute; left: 12px; top: 11px; width: 32px; height: 32px; border-radius: 50%; background: var(--or); color: #fff;
  font-weight: 800; display: grid; place-items: center; }

/* inline CTA */
.cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; margin: 22px 0; padding: 16px; border-radius: var(--r-lg);
  background: linear-gradient(100deg, #34268a, #4a2fa8 55%, #6a2f9e); }
.cta-l { display: flex; gap: 12px; align-items: center; }
.cta-ic { width: 50px; height: 50px; border-radius: 12px; flex: none; }
.cta-t { color: #fff; font-weight: 600; line-height: 1.35; }
.cta-t b { color: var(--ye); }
.cta-n { font-size: 12px; color: #c8c3ee; }

/* figure */
.fig { margin: 22px 0; }
.fig img { border-radius: var(--r-lg); width: 100%; }

/* games */
.games-sec { margin: 32px 0 10px; }
.sec-title { color: #fff; font-weight: 900; font-size: 22px; text-transform: uppercase; text-align: center; margin: 0 0 14px; letter-spacing: .02em; }
.sec-title.sm { font-size: 17px; text-transform: none; text-align: left; }
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.game { position: relative; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: var(--panel); text-decoration: none;
  border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.game-img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.game img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.game-n { display: block; padding: 7px 6px 8px; text-align: center; font-size: 10.5px; font-weight: 800; line-height: 1.2; color: #fff; text-transform: uppercase; }
.game-n small { display: block; font-size: 9px; font-weight: 600; color: #aab0cc; text-transform: none; margin-top: 2px; }
.game:hover { border-color: rgba(228, 88, 9, .7); transform: translateY(-2px); }
.game-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6, 14, 42, .62); opacity: 0; transition: opacity .2s; }
.game-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--or); color: #fff; font-weight: 800; font-size: 14px; padding: 9px 18px; border-radius: 999px;
  transform: translateY(6px); transition: transform .2s; box-shadow: 0 6px 18px rgba(228, 88, 9, .45); }
.game-btn .i { width: 15px; height: 15px; }
.game:hover .game-play, .game:focus-visible .game-play { opacity: 1; }
.game:hover .game-btn, .game:focus-visible .game-btn { transform: none; }
.game:hover img { transform: scale(1.06); }
.games-more { text-align: center; margin: 16px 0 0 !important; }

/* FAQ */
.faq { display: grid; gap: 8px; margin-bottom: 18px; }
.faq details { background: var(--panel); border-radius: var(--r); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; color: #fff; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid var(--or2); border-bottom: 2.5px solid var(--or2);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 16px 6px; }

/* responsible gaming */
.rg { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid rgba(255, 115, 34, .35); border-radius: var(--r-lg); padding: 16px; margin: 30px 0 10px; }
.rg h2 { margin: 0 0 6px !important; font-size: 19px; }
.rg p { margin: 0 !important; font-size: 14.5px; }
.rg .age { width: 42px; height: 42px; font-size: 14px; }

/* related */
.related { margin: 30px 0 10px; }
.rel-grid { display: grid; gap: 8px; }
.rel { display: flex; align-items: center; gap: 12px; background: var(--panel2); border-radius: 12px; padding: 13px 14px; color: #fff; font-weight: 700; text-decoration: none; }
.rel .i { color: var(--or2); }
.rel span { flex: 1; }
.rel .i-chev { color: var(--muted); width: 18px; }
.rel:hover { background: #2f3754; color: #fff; }

/* contact form, doc pages */
.form { display: grid; gap: 12px; background: var(--panel); border-radius: var(--r-lg); padding: 16px; margin: 0 0 18px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #fff; }
.form input, .form select, .form textarea { font: inherit; color: #fff; background: var(--bg); border: 1px solid #343c5c; border-radius: 10px; padding: 11px 12px; }
.form .btn { justify-self: start; }
.form-status { margin: 0 !important; font-size: 14px; color: var(--green); }

/* ---------- footer */
.foot { background: var(--bg2); border-top: 1px solid var(--line); padding: 26px 0 20px; margin-top: 34px; font-size: 14px; }
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 28px; }
.feat { background: var(--panel); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 128px; }
.feat p { margin: 0; padding: 10px 12px 0; color: var(--ye); font-weight: 700; font-size: 13px; line-height: 1.3; }
.feat img { width: 104px; align-self: center; }
.feat:last-child { grid-column: 1 / -1; }
.foot-grid { display: grid; gap: 22px; }
.foot-brand p { color: var(--muted); margin: 12px 0; }
.foot-badges { display: flex; gap: 10px; align-items: center; }
.b18 { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--or2); color: #fff; font-weight: 800; font-size: 13px; }
.foot-badges a { color: #fff; font-weight: 700; background: var(--panel2); padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 13px; }
.foot-h { color: #fff; font-weight: 800; margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { color: var(--muted); text-decoration: none; }
.foot ul a:hover { color: #fff; }
.foot-txt { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; color: #7d86a8; font-size: 12.5px; }
.foot-txt p { margin: 0 0 8px; }
.foot-txt a { color: var(--muted); }

/* ---------- sticky mobile offer button */
.mbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(6, 14, 42, .92) 30%); }
.mbar-btn { width: 100%; justify-content: flex-start; padding: 7px 18px 7px 8px; gap: 10px; text-align: left; }
.mbar-btn img { width: 44px; height: 44px; border-radius: 50%; }
.mbar-btn span { flex: 1; display: grid; }
.mbar-btn b { color: #fff; font-size: 18px; font-weight: 900; }
.mbar-btn small { font-size: 11.5px; font-weight: 600; opacity: .9; }

/* ---------- /play, /ir.html, 404 */
.go-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.go-card { max-width: 480px; width: 100%; text-align: center; background: var(--panel); border-radius: var(--r-lg); padding: 28px 22px; display: grid; gap: 10px; justify-items: center; }
.go-card h1 { margin: 4px 0; font-size: 26px; }
.go-t { color: #fff; font-weight: 700; margin: 0; }
.go-404 { font-size: 54px; font-weight: 900; color: var(--or2); margin: 6px 0 0; line-height: 1; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .15); border-top-color: var(--or); animation: sp 0.8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.tiles404 { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 6px 0; }
.tiles404 a { background: var(--panel2); color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; }

/* ================= tablet */
@media (min-width: 600px) {
  .wrap { padding: 0 20px; }
  .games { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .game-n { font-size: 11.5px; }
  .feats { grid-template-columns: repeat(5, 1fr); }
  .feat:last-child { grid-column: auto; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 16px 18px; }
  .cta .btn { flex: none; }
  .hero-cta { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
  .hero-cta .btn { width: auto; }
  .code-go { width: auto; }
  .code-row { flex-direction: row; }
  .code-val { width: auto; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .hero h1 { font-size: 32px; }
}

/* ================= desktop */
@media (min-width: 1024px) {
  body { padding-bottom: 0; --rail: 76px; }
  body.rail-wide { --rail: 288px; }
  .mbar { display: none; }
  .top-in { padding: 0 22px 0 14px; gap: 18px; }
  .burger { margin-left: 0; }
  body.rail-wide .burger .ic-open { display: none; }
  body.rail-wide .burger .ic-close { display: block; }
  /* rail under the header, always visible; content moves with it */
  .drawer { top: var(--head); width: var(--rail); transform: none; z-index: 35; background: #0d1536; border-right: 1px solid var(--line);
    padding: 12px 10px 14px; }
  .shade, .drawer-head { display: none; }
  body.menu-open { overflow: auto; }
  .page, .foot { margin-left: var(--rail); transition: margin-left .22s ease; }
  /* collapsed: icons only (tooltips from title) */
  body:not(.rail-wide) .drawer-scroll { gap: 10px; }
  body:not(.rail-wide) .drawer-tiles { grid-template-columns: 1fr; justify-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  body:not(.rail-wide) .dt { width: 54px; height: 54px; min-height: 0; padding: 5px; justify-content: center; }
  body:not(.rail-wide) .drawer span,
  body:not(.rail-wide) .drawer-play,
  body:not(.rail-wide) .drawer-lang { display: none; }
  body:not(.rail-wide) .drawer-group { background: none; padding: 0 0 10px; border-radius: 0; border-bottom: 1px solid var(--line); }
  body:not(.rail-wide) .drawer-group:last-child { border-bottom: 0; }
  body:not(.rail-wide) .drawer-group a { justify-content: center; padding: 13px 0; }
  body:not(.rail-wide) .drawer-group a .i { width: 24px; height: 24px; }
  body:not(.rail-wide) .drawer-row { justify-content: center; }
  body:not(.rail-wide) .drawer-help { background: none; color: var(--green); }
  body:not(.rail-wide) .drawer-help:hover { background: rgba(255, 255, 255, .06); }
  .logo img { height: 32px; }
  .topnav { display: flex; gap: 2px; background: #1a2142; border-radius: 999px; padding: 4px; margin-left: 10px; }
  .tn { display: flex; align-items: center; gap: 7px; color: #c9cee2; text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 13px; border-radius: 999px; white-space: nowrap; }
  .tn .i { width: 17px; height: 17px; }
  .tn:hover { color: #fff; background: rgba(255, 255, 255, .06); }
  .tn[aria-current] { color: #fff; background: var(--pill); }
  .tn[aria-current] .i { color: var(--or2); }
  .top-play { padding: 11px 22px; font-size: 15px; }
  .page { padding-top: 22px; }
  .hero-card { min-height: 400px; display: flex; align-items: center; }
  .hero-art { position: absolute; inset: 0; height: auto; z-index: -1; }
  .hero-lion { left: auto; right: 4%; top: auto; bottom: -120px; width: 330px; transform: none; -webkit-mask-image: none; mask-image: none; }
  .hero-txt { margin: 0; padding: 40px 44px; max-width: 700px; width: 62%; }
  .hero h1 { font-size: 40px; }
  .lede { font-size: 17.5px; }
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; margin-top: 26px; }
  .side { display: grid; gap: 14px; position: sticky; top: calc(var(--head) + 16px); }
  .side-offer { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 20px 18px 16px; text-align: center;
    background: radial-gradient(120% 90% at 50% 0%, #4a34b4, #22195f); }
  .side-lion { width: 150px; margin: -6px auto 2px; }
  .side-offer .k { margin: 0; color: #fff; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }
  .side-offer .big { margin: 2px 0; color: var(--ye); font-size: 48px; font-weight: 900; line-height: 1; }
  .side-offer .big small { display: block; color: var(--ye); font-size: 19px; margin-top: 6px; }
  .side-offer .s { margin: 8px 0 12px; font-size: 13px; color: #dcd8f5; }
  .side-offer .btn { width: 100%; }
  .side-offer .note { margin: 8px 0 0; color: #bdb7e6; }
  .toc { background: var(--panel); border-radius: var(--r-lg); padding: 16px 18px; max-height: calc(100vh - 420px); overflow: auto; }
  .toc-t { margin: 0 0 8px; color: #fff; font-weight: 800; font-size: 14px; text-transform: uppercase; }
  .toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
  .toc a { color: var(--soft); text-decoration: none; }
  .toc a:hover { color: var(--ye); }
  .article h2 { font-size: 27px; }
  .games { grid-template-columns: repeat(6, 1fr); }
  .tbl table { font-size: 15px; }
}
@media (min-width: 1024px) and (max-width: 1319px) {
  body.rail-wide .layout { grid-template-columns: minmax(0, 1fr); }
  body.rail-wide .side { display: none; }
  body.rail-wide .topnav .tn span { display: none; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .topnav .tn span { display: none; }
}
@media (min-width: 1200px) {
  .hero-slot { display: block; position: absolute; right: -60px; bottom: -150px; width: 290px; }
  .hero-lion { right: 170px; width: 320px; }
  .hero-txt { width: 56%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
