:root {
  --gold: #c8f032;
  --gold-deep: #9ccc18;
  --gold-soft: #e8f6b4;
  --ink: #111111;
  --ink-soft: #3a3a3d;
  --paper: #f3f7f1;
  --white: #ffffff;
  --line: #dde8d8;
  --saffron: #ff9933;
  --green: #128807;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(17, 17, 17, 0.08);
  --max: 1180px;
  --header-h: 92px;
  --font: "Segoe UI", "Source Sans 3", "Noto Sans", sans-serif;
  --display: "Segoe UI", "Arial Black", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #2f6b14;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 12px;
  z-index: 80;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--gold);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: 220px;
  height: 73px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.nav a:hover,
.nav a[aria-current="page"],
.nav-item.is-on > a.nav-parent {
  background: rgba(17, 17, 17, 0.08);
  color: var(--ink);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-parent {
  padding-right: 4px;
}

.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-caret svg {
  display: block;
  width: 13px;
  height: 13px;
  transition: transform 0.15s ease;
}

.nav-caret:hover,
.nav-item.is-open > .nav-caret,
.nav-item:hover > .nav-caret {
  background: #111;
  color: var(--gold);
}

.nav-item.is-open > .nav-caret svg,
.nav-item:hover > .nav-caret svg {
  transform: rotate(180deg);
}

.nav-sub {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 196px;
  padding: 12px;
  border-radius: 14px;
  background: #111;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.22);
  z-index: 50;
}

.nav-item:hover > .nav-sub,
.nav-item.is-open > .nav-sub,
.nav-item:focus-within > .nav-sub {
  display: grid;
  gap: 4px;
}

.nav .nav-sub a {
  color: #fff;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  background: transparent;
}

.nav .nav-sub a:hover,
.nav .nav-sub a[aria-current="page"] {
  background: var(--gold);
  color: #111;
}

.header-cta {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #000;
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-deep);
  color: var(--ink);
}

.btn-line {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  border-radius: 12px;
  font-size: 20px;
}

.hero {
  background: var(--gold);
  padding: 18px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero-grid:not(:has(.hero-art)) {
  grid-template-columns: minmax(0, 720px);
}

.hero h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.hero p {
  margin: 0 0 22px;
  font-size: 18px;
  max-width: 46ch;
}

.page-updated,
.hero .page-updated {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.hero .crumbs {
  margin: 0 0 10px;
  color: #3a3a3d;
}

.hero .crumbs a:hover {
  color: #111;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-row .btn {
  flex: 0 0 auto;
  max-width: 100%;
}

.hero-art {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-art picture {
  display: block;
}

.hero-art > img:not(.hero-art-logo),
.hero-art picture > img,
.frame img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
}

.hero-art > img:not(.hero-art-logo),
.hero-art picture > img {
  min-height: 320px;
  max-height: 460px;
}

.hero-art-logo {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: min(158px, 38%);
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 7px 12px;
  border-radius: 999px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.16);
  z-index: 2;
}

.pills {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.pill {
  background: var(--white);
  border-radius: 18px;
  padding: 16px 10px 14px;
  text-align: center;
  box-shadow: var(--shadow);
  font-weight: 800;
  font-size: 13px;
}

.pill img {
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
  border-radius: 50%;
  object-fit: cover;
}

.page {
  padding: 36px 0 64px;
}

.panel {
  background: var(--white);
  border-radius: 28px;
  padding: 28px 28px 36px;
  box-shadow: var(--shadow);
}

.contact-card {
  margin: 22px 0 8px;
  padding: 22px 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.contact-card h2 {
  margin-top: 0;
}

.contact-note {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 62ch;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  min-height: 44px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: #0b5c4c;
}

.contact-form .btn {
  justify-self: start;
  min-height: 44px;
}

.crumbs {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.crumbs a:hover {
  color: var(--ink);
}

.page h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 70ch;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 8px;
}

.toc a {
  background: var(--paper);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 28px;
  align-items: stretch;
  margin: 28px 0;
}

.split-media {
  position: relative;
  min-height: 160px;
  border-radius: 22px;
  overflow: hidden;
  background: #e8f5b0;
}

.split-media img,
.split > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

h2 {
  margin: 36px 0 12px;
  font-size: 30px;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

h3 {
  margin: 22px 0 8px;
  font-size: 21px;
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 8px;
}

.card {
  background: var(--paper);
  border-radius: 20px;
  padding: 18px;
}

.card h3 {
  margin-top: 0;
}

.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #2f6b14;
  margin-bottom: 8px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.offer {
  background: var(--paper);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.offer img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.offer div {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.offer strong {
  font-size: 16px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.game {
  background: var(--paper);
  border-radius: 20px;
  overflow: hidden;
}

.game img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.game div {
  padding: 12px 14px 16px;
}

.game strong {
  display: block;
  margin-bottom: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
}

th {
  background: #eef8c8;
}

.game-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 16px 22px;
  align-items: stretch;
  margin: 8px 0 28px;
}

.game-sheet > table {
  margin: 0;
}

.game-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

.game-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.game-aside-art {
  position: relative;
  margin: 0;
  flex: 1 1 auto;
  min-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}

.game-aside-art.is-light {
  background: #fff;
}

.game-aside-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-facts div {
  background: #e8f6b4;
  border-radius: 16px;
  padding: 14px 16px 12px;
}

.game-facts span {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.game-facts strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.game-frame {
  margin: 12px 0 8px;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}

.game-frame iframe {
  display: block;
  width: 100%;
  height: 700px;
  border: 0;
  background: #111;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.faq summary {
  font-weight: 800;
  cursor: pointer;
}

.lobby {
  margin: 8px 0 40px;
}

.lobby-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
}

.lobby-head h2 {
  margin: 0;
  font-size: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gift-ico {
  flex-shrink: 0;
}

.lobby-head a {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

.lobby-row {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.lobby-banner {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  min-height: 220px;
  background: #111;
}

.lobby-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lobby-banner span {
  position: absolute;
  left: 14px;
  right: 12px;
  bottom: 16px;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.lobby-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
  gap: 10px;
}

.lobby-grid .gcard {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  min-width: 0;
}

.gcard-art {
  position: relative;
}

.lobby-grid img {
  width: 100%;
  aspect-ratio: 16 / 11;
  height: auto;
  object-fit: cover;
  display: block;
}

.gcard-actions {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(17, 17, 17, 0.48);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.gcard:hover .gcard-actions,
.gcard:focus-within .gcard-actions {
  opacity: 1;
}

.gcard-actions .btn {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 11px;
}

.gcard-name {
  margin: 0;
  padding: 7px 8px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.promo {
  border-radius: 24px;
  padding: 20px 18px 16px;
  min-height: 248px;
  display: flex;
  flex-direction: column;
  color: #111;
}

.promo-yellow { background: #c8f032; }
.promo-blue { background: #1a56ff; color: #fff; }
.promo-orange { background: #ff8f12; }
.promo-purple { background: #8b4dff; color: #fff; }

.promo .tag {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.72;
  margin-bottom: 18px;
}

.promo-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: auto;
}

.promo h3,
.promo-name {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 11.5ch;
  font-weight: 800;
}

.promo-ico {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  margin-top: -4px;
}

.promo-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.promo-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 16px 0 14px;
  text-align: center;
}

.promo-timer:not(.is-ready) {
  visibility: hidden;
}

.promo-timer b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.88;
}

.promo-timer span {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
  opacity: 0.68;
}

.promo .btn {
  width: 100%;
  background: #d4f24a;
  color: #111;
  min-height: 40px;
}

.promo .btn:hover {
  background: #c8f032;
  color: #111;
}

.lobby-cta {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.lobby-cta .btn {
  border-radius: 10px;
  min-width: min(280px, 100%);
  padding: 12px 28px;
}

.more-wrap.is-collapsed .more-body {
  max-height: 260px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}

.more-toggle {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: 0;
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-fold {
  margin: 28px 0 0;
}

.guide-fold > summary {
  list-style: none;
  width: fit-content;
  max-width: 100%;
  border-radius: 10px;
}

.guide-fold > summary::-webkit-details-marker,
.guide-fold > summary::marker {
  display: none;
  content: none;
}

.guide-fold[open] > summary {
  margin-bottom: 18px;
}

.guide-fold-actions {
  margin: 28px 0 0;
}

.guide-fold-actions .btn {
  border-radius: 10px;
}

.cta-band {
  margin: 32px 0 8px;
  background: var(--gold);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cta-band h2,
.cta-band p {
  margin: 0 0 6px;
}

.note {
  font-size: 13px;
  color: var(--ink-soft);
}

.site-footer {
  background: var(--ink);
  color: #ececec;
  padding: 36px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(340px, 1.15fr);
  gap: 28px 48px;
  align-items: start;
}

.footer-grid > div:first-child > img {
  background: var(--gold);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

.help-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #2b2b2b;
}

.help-row a {
  display: inline-flex;
  line-height: 0;
}

.help-row a:hover {
  color: inherit;
  opacity: 0.88;
}

.help-row img {
  width: 120px;
  height: 36px;
  background: none;
  border-radius: 8px;
  padding: 0;
  margin: 0;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer .footer-links,
.footer-links {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 10px;
}

.footer-links > strong {
  display: block !important;
  font-size: 15px;
}

.site-footer .footer-cols,
.footer-cols {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px 40px;
  width: 100%;
}

.site-footer .footer-col,
.footer-col {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 8px;
}

.site-footer .footer-col a,
.site-footer .footer-links a,
.footer-col a,
.footer-links a {
  display: block !important;
  width: max-content;
}

.legal {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
  font-size: 13px;
  color: #bdbdbd;
}

.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-weight: 800;
  margin-right: 8px;
}

.to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid #111;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease, background 0.15s ease;
}

.to-top.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top:hover,
.to-top:focus-visible {
  background: #d8f24a;
  color: #111;
}

.to-top:focus-visible {
  outline: 3px solid #111;
  outline-offset: 2px;
}

.to-top svg {
  display: block;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .cards,
  .footer-grid,
  .game-sheet {
    grid-template-columns: 1fr;
  }

  .split-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .pills,
  .game-grid,
  .lobby-grid,
  .offer-grid,
  .promo-grid,
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .lobby-row {
    grid-template-columns: 1fr;
  }

  .lobby-banner {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .lobby-grid {
    grid-template-rows: none;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #d4f06a;
    border-radius: 16px;
    padding: 8px;
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .nav-item.has-sub {
    flex-wrap: wrap;
  }

  .nav-item.has-sub > .nav-parent {
    flex: 1;
  }

  .logo img {
    width: 168px;
    height: 56px;
  }

  .nav.open a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
  }

  .nav-caret {
    width: 44px;
    height: 44px;
  }

  .nav-caret svg {
    width: 16px;
    height: 16px;
  }

  .nav-sub {
    position: static;
    width: 100%;
    display: none;
    margin-top: 4px;
    background: #111;
  }

  .nav-item:hover > .nav-sub,
  .nav-item:focus-within > .nav-sub {
    display: none;
  }

  .nav-item.is-open > .nav-sub {
    display: grid;
    gap: 4px;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    column-gap: 10px;
    row-gap: 8px;
    align-items: center;
    padding: 10px 0;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
  }

  .header-cta,
  .header-cta.open {
    display: flex;
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: stretch;
    gap: 8px;
  }

  .header-cta .btn {
    flex: 1;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .contact-form .btn {
    width: 100%;
  }

  .site-footer .footer-cols,
  .footer-cols {
    grid-template-columns: 1fr !important;
  }

  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  .pills,
  .game-grid,
  .lobby-grid,
  .offer-grid,
  .promo-grid,
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .panel {
    padding: 20px 16px 28px;
  }

  .hero {
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(26px, 7.2vw, 36px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero-art > img:not(.hero-art-logo),
  .hero-art picture > img {
    min-height: 200px;
    max-height: 280px;
  }

  .hero-art-logo {
    right: 12px;
    bottom: 12px;
    width: min(132px, 42%);
    padding: 6px 10px;
  }

  .logo img {
    width: 148px;
    height: 49px;
  }

  .header-cta .btn {
    min-height: 40px;
    padding: 8px 12px;
  }

  .cta-row .btn,
  .lobby-cta .btn,
  .guide-fold > summary {
    min-height: 44px;
  }

  .cta-row .btn {
    flex: 1 1 auto;
    min-width: min(100%, 148px);
  }

  .gcard-actions .btn {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .game-frame iframe {
    height: 460px;
    max-width: 100%;
  }

  h2 {
    font-size: 24px;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .to-top {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 420px) {
  .header-inner {
    gap: 8px;
  }

  .logo img {
    width: 136px;
    height: 45px;
  }

  .pill {
    font-size: 12px;
    padding: 12px 8px 10px;
  }

  .pill img {
    width: 56px;
    height: 56px;
  }

  .promo h3,
  .promo-name {
    font-size: 18px;
  }

  .promo-timer b {
    width: 36px;
    height: 36px;
  }

  .game-facts {
    grid-template-columns: 1fr;
  }

  .game-frame iframe {
    height: 420px;
  }
}

@media (hover: none) {
  .gcard-actions {
    opacity: 1;
    align-items: flex-end;
    padding-bottom: 8px;
    background: linear-gradient(transparent 30%, rgba(17, 17, 17, 0.55));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .to-top {
    transition: none;
  }
}

.byline {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: #3a3a3d;
}

.byline-desk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.byline-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(17, 17, 17, 0.15);
}

.hero-art.hero-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111;
  padding: 28px;
}

.hero-art.hero-avatar > img.author-portrait {
  width: min(280px, 72%);
  min-height: 0;
  max-height: none;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
}

.rating-box {
  background: #f2f8d4;
  border-radius: 18px;
  padding: 16px 18px;
  margin: 0 0 22px;
}

.guide-open {
  margin-top: 8px;
}

.guide-open h2 {
  margin-top: 28px;
}

.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #ff8a1a 0 33.33%, #fff 33.33% 66.66%, #128807 66.66%);
}
.logo img {
  background: transparent;
  border-radius: 0;
  padding: 0;
  object-fit: contain;
}
.promo-blue { background: #0b5c4c; color: #fff; }
.promo-purple { background: #128807; color: #fff; }
.btn-gold {
  box-shadow: 0 0 0 1px rgba(200,240,50,0.35), 0 8px 18px rgba(10,61,50,0.12);
}
