@font-face {
  font-family: 'Donkey Sans';
  src: url('fonts/donkey-sans-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Donkey Sans';
  src: url('fonts/donkey-sans-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f8f4e8;
  --surface: rgba(255, 255, 255, 0.92);
  --ink: #1f2a30;
  --muted: #5c6870;
  --accent: #2c7d4a;
  --accent-2: #da8f2a;
  --line: #d6d6cd;
  --radius: 14px;
  --shadow-soft: 0 12px 24px rgba(22, 35, 29, 0.08);
  --header-bg: rgba(30, 66, 53, 0.94);
  --header-ink: #f0f8f2;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font: 300 clamp(16px, 2.9vw, 18px)/1.5 'Donkey Sans', 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #f8f4e8 0%, #efe7d1 100%);
}

b,
strong {
  font-weight: 700;
}

img {
  max-width: 100%;
}

.site-bg {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.24;
  z-index: -1;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(120deg, rgba(26, 59, 47, 0.95), var(--header-bg));
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.brand img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.3));
}

#menuBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  padding: 0.4rem 0.72rem;
  font: inherit;
  font-weight: 700;
  color: var(--header-ink);
}

nav {
  grid-column: 1 / -1;
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  background: rgba(17, 44, 35, 0.95);
}

nav.open {
  display: flex;
}

nav a,
nav summary {
  color: var(--header-ink);
  text-decoration: none;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: block;
  cursor: pointer;
  list-style: none;
}

nav summary::-webkit-details-marker {
  display: none;
}

nav a.active,
nav a:hover,
nav summary:hover,
.nav-group.active > summary {
  background: rgba(173, 224, 142, 0.27);
}

.nav-group {
  width: 100%;
}

.nav-submenu {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.15rem 0.2rem 0.2rem;
}

.nav-submenu a {
  padding-left: 0.95rem;
  font-size: 0.95rem;
}

nav a:focus-visible,
#menuBtn:focus-visible,
.btn:focus-visible,
.store-btn:focus-visible,
a:focus-visible {
  outline: 2px solid #ffe28c;
  outline-offset: 2px;
}

main, footer {
  width: min(1060px, calc(100vw - 1rem));
  margin-inline: auto;
}

main {
  margin-top: 0.8rem;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  animation: rise 0.5s ease both;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0.2rem 0 0.55rem;
}

h1 {
  font-size: clamp(1.6rem, 6vw, 2.4rem);
}

h2 {
  font-size: clamp(1.2rem, 4.7vw, 1.6rem);
}

p {
  margin: 0.35rem 0 0.7rem;
}

.muted {
  color: var(--muted);
}

.hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
}

.hero-banner {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 0;
}

.hero-slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dfe8d8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 650ms ease;
  will-change: transform;
}

.hero-slide {
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
  display: block;
  text-decoration: none;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 47, 38, 0.45);
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 200ms ease, background-color 200ms ease;
}

.hero-nav:hover,
.hero-nav:focus-visible {
  opacity: 1;
  background: rgba(20, 47, 38, 0.72);
}

.hero-prev {
  left: 0.65rem;
}

.hero-next {
  right: 0.65rem;
}


.newsletter-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0.5rem;
  margin-bottom: 0.6rem;
  background: #0e0f10;
  border-top: 1px solid #22262b;
  border-bottom: 1px solid #22262b;
}

.newsletter-inner {
  width: min(1060px, calc(100vw - 1rem));
  margin: 0 auto;
  padding: 0.52rem 0.95rem 0.58rem;
}

.newsletter-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  align-items: center;
}

.newsletter-copy {
  text-align: center;
}

.newsletter-top h2 {
  margin: 0;
  color: #f1f2f3;
  letter-spacing: 0.02em;
  font-size: clamp(1.2rem, 5.5vw, 2.35rem);
  line-height: 1;
  text-align: center;
}

.newsletter-lead {
  margin: 0.28rem 0 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: #d0d4d9;
}

.newsletter-privacy {
  margin: 0.06rem 0 0;
  font-size: 0.72rem;
  color: #afb5bc;
}

.newsletter-privacy a {
  color: #dbe7ff;
}

.newsletter-form {
  max-width: 560px;
  margin: 0 auto;
  margin-top: 0.14rem;
}

.newsletter-row {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.newsletter-row input {
  flex: 1;
  min-width: 0;
  padding: 0.54rem 0.62rem;
  border: 1px solid #bfd1c3;
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.newsletter-row button {
  border: 0;
  border-radius: 8px;
  padding: 0.54rem 0.84rem;
  background: #109967;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.newsletter-message {
  margin-top: 0.24rem;
  min-height: 1.05em;
  font-size: 0.9rem;
  font-weight: 800;
  color: #ff6b6b;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
  text-align: center;
}

@media (min-width: 860px) {
  .newsletter-top {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
  }

  .newsletter-copy {
    text-align: center;
    justify-self: center;
  }

  .newsletter-top h2 {
    text-align: center;
  }

  .newsletter-form {
    margin: 0;
    width: min(560px, 100%);
    justify-self: center;
  }

  .newsletter-message {
    text-align: center;
  }
}

.store-showcase {
  margin-top: 0.85rem;
}

.games-section {
  margin-top: 1.35rem;
}

.games-section h2 {
  margin: 0 0 1rem;
  text-align: center;
  font-size: clamp(1.8rem, 5.5vw, 2.6rem);
  letter-spacing: 0.01em;
}

.store-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.store-badge {
  display: block;
  height: 36px;
  width: auto;
}

.btn {
  display: inline-block;
  text-decoration: none;
  color: white;
  background: var(--accent);
  border-radius: 999px;
  padding: 0.52rem 0.95rem;
  font-weight: 700;
}

.btn.secondary { background: var(--accent-2); }

.game-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.game-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.72rem;
  background: white;
}

.game-link { text-decoration: none; color: inherit; }
.game-link img { width: 100%; height: 236px; object-fit: cover; border-radius: 9px; }
.stores { display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center; }
.game-card .stores { margin-top: 0.5rem; }
.stores a { text-decoration: none; line-height: 0; }
.stores .store-badge { height: 38px; width: auto; }

.video-section { margin-top: 1.2rem; }
.video-card {
  display: inline-grid;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem;
  background: white;
  width: 100%;
  max-width: 440px;
}
.video-card img { width: 100%; border-radius: 8px; aspect-ratio: 16/9; object-fit: cover; }
.video-card span { font-weight: 700; color: #2f4f5e; }

.game-video-card {
  max-width: 760px;
  padding: 0.45rem;
}

.game-video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}

.app-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: start;
  margin-bottom: 0.8rem;
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.app-title-img { max-width: min(520px, 100%); width: 100%; height: auto; }
.store-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.45rem; }
.store-btn {
  display: inline-block;
  text-decoration: none;
  color: white;
  background: #2f5f76;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 700;
  font-size: 0.92rem;
}
.store-btn.guide { background: #5a7f2d; }

.store-badge-link {
  background: transparent;
  padding: 0;
}

.app-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.app-shot {
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  padding: 0.2rem;
}

.quote { color: #2f4f5e; font-style: italic; }
.lead { font-weight: 700; }

.help-hero { display: grid; gap: 0.8rem; grid-template-columns: 1fr; }
.help-hero-img {
  width: 100%;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.help-section { margin-top: 1rem; }
.help-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0.9rem 0;
  padding: 0.3rem 0.45rem;
  border: 1px solid #d6dfcd;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.help-lang-toggle .lang-link,
.help-lang-toggle .lang-current {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
}

.help-lang-toggle .lang-link {
  color: #1f5f3a;
  text-decoration: none;
}

.help-lang-toggle .lang-link:hover,
.help-lang-toggle .lang-link:focus-visible {
  background: rgba(44, 125, 74, 0.12);
}

.help-lang-toggle .lang-current {
  font-weight: 700;
  color: #fff;
  background: #2c7d4a;
}

.help-list { margin: 0.5rem 0 0.4rem 1.2rem; padding: 0; }
.help-list li { margin: 0.25rem 0; }
.help-img-row {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: flex-start;
}
.help-img {
  max-height: 160px;
  width: auto;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.wow-help-page {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.76));
}

.wow-help-page .help-panel {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.wow-help-page .help-content {
  display: grid;
  gap: 0.9rem;
}

.wow-help-page .help-card {
  border: 1px solid #d3dfcc;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.93);
  padding: 0.9rem;
}

.wow-help-page .quick-tips-card h2 {
  margin-top: 0;
}

.wow-help-page .quick-tips-card .help-list {
  columns: 1;
  margin-left: 1rem;
}

.wow-help-page .quick-tips-card .help-list li {
  margin: 0.35rem 0;
  line-height: 1.42;
}

.wow-help-page .detailed-card > h2:first-child {
  margin-top: 0;
}

.wow-help-page .detailed-card > h2 {
  clear: both;
  margin-top: 1.05rem;
  padding-bottom: 0.22rem;
  border-bottom: 1px solid #dfe8d7;
  font-size: clamp(1.08rem, 3.1vw, 1.35rem);
}

.wow-help-page p {
  line-height: 1.55;
}

.wow-help-page .help-img-row {
  margin: 0.45rem 0 0.65rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.wow-help-page .help-img {
  border-radius: 0;
}

.wow-help-page .help-img-row.help-img-inline {
  float: right;
  width: min(320px, 46%);
  margin: 0.1rem 0 0.55rem 0.85rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.wow-help-page .help-img-row.help-img-inline .help-img {
  max-height: 96px;
  border-radius: 0;
}

.wow-help-page .help-img-row.help-img-inline.shuffle-tile-inline {
  width: min(170px, 30%);
}

.wow-help-page .help-img-row.help-img-inline.three-letter-dots-inline {
  width: min(300px, 46%);
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.28rem;
}

.wow-help-page .help-img-row.help-img-inline.three-letter-dots-inline .help-img {
  max-height: 52px;
}

.wow-help-page .help-img-row.help-img-inline.local-ranking-inline {
  float: none;
  width: min(950px, 98%);
  margin: 0.45rem auto 0.9rem;
}

.wow-help-page .help-img-row.help-img-inline.local-ranking-inline .help-img {
  max-height: 475px;
}

.wow-help-page .help-img-row.help-img-inline.rankings-inline .help-img {
  max-height: 461px;
}

.wow-help-page .help-img-row.help-img-inline.leaderboard-inline .help-img {
  max-height: 240px;
}

.wow-help-page .help-img-row.help-img-inline.word-missions-composite {
  position: relative;
  display: inline-block;
}

.wow-help-page .word-missions-base {
  display: block;
  position: relative;
  z-index: 1;
}

.wow-help-page .word-missions-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 80%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.wow-help-page .shuffle-tile-composite {
  position: relative;
  display: inline-block;
  width: 92px;
  height: 92px;
}

.wow-help-page .shuffle-base {
  width: 92px;
  height: auto;
  position: absolute;
  left: 0;
  bottom: 0;
}

.wow-help-page .shuffle-overlay {
  display: block;
  width: 92px;
  height: auto;
  position: absolute;
  left: 0;
  bottom: 0;
}

.wow-help-page .detailed-card p + p {
  margin-top: 0.05rem;
}

.wow-help-page .help-table-wrap {
  margin: 0.55rem 0 0.8rem;
  border: 1px solid #dce7d3;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.wow-help-page .help-score-table {
  width: 100%;
  border-collapse: collapse;
}

.wow-help-page .help-score-table th,
.wow-help-page .help-score-table td {
  padding: 0.52rem 0.65rem;
  border-bottom: 1px solid #e8efe2;
  text-align: left;
}

.wow-help-page .help-score-table thead th {
  background: #f1f8ea;
  font-weight: 700;
}

.wow-help-page .help-score-table tbody tr:last-child td {
  border-bottom: 0;
}

.bullet::before { content: '• '; color: var(--accent); }

.about-intro,
.contact-header {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: center;
}

.about-intro img,
.contact-header img {
  width: min(280px, 100%);
  justify-self: center;
}

.testimonial-section {
  margin-top: 1rem;
}

.testimonial-card,
.contact-panel {
  margin-top: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.8rem;
}

.testimonial-card .author {
  margin: 0;
  font-weight: 700;
  color: #2f4f5e;
}

.contact-tagline {
  font-weight: 700;
  color: #2f4f5e;
}

.contact-form {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #b9c7bd;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.success-panel {
  margin-top: 0.8rem;
  border: 1px solid #8bc59b;
  background: #effaf2;
  border-radius: 10px;
  padding: 0.75rem;
}

.success-panel h3 {
  margin: 0 0 0.3rem;
  color: #2f7a3d;
  font-size: 1rem;
}

.success-panel p {
  margin: 0;
}

.failure-panel {
  margin-top: 0.8rem;
  border: 1px solid #e19a9a;
  background: #fff0f0;
  border-radius: 10px;
  padding: 0.75rem;
}

.failure-panel h3 {
  margin: 0 0 0.2rem;
  color: #8f1f1f;
}

.failure-panel p {
  margin: 0;
}

.failure-actions {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sending-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: rgba(17, 28, 24, 0.5);
  padding: 1rem;
}

.sending-modal[hidden] {
  display: none;
}

.sending-card {
  width: min(420px, 100%);
  border-radius: 16px;
  border: 1px solid #c9d8cd;
  background: linear-gradient(180deg, #fff7df, #ffffff);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  padding: 1.1rem;
  text-align: center;
}

.sending-card h3 {
  margin: 0.35rem 0 0.25rem;
}

.sending-card p {
  margin: 0;
  color: var(--muted);
}

.sending-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border-radius: 50%;
  border: 5px solid #d9ead8;
  border-top-color: #57a66f;
  animation: spin 850ms linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.news-intro {
  margin-bottom: 0.7rem;
}

.news-feed {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.7rem;
}

.news-feed-frame {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 10px;
}

.news-fallback {
  margin: 0.6rem 0 0;
  text-align: center;
}

.legal-page {
  display: grid;
  gap: 0.85rem;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.9rem;
}

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

.legal-language-switch {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.legal-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.legal-table th,
.legal-table td {
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid #e6e6dc;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: #f3f8ef;
  font-weight: 700;
}

.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

footer {
  margin: 0.4rem auto 1.5rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  font-size: 0.92rem;
}

@media (min-width: 560px) {
  header {
    padding-inline: 1.15rem;
  }

  main, footer {
    width: min(1060px, calc(100vw - 1.5rem));
  }

  main {
    padding: 1.1rem;
  }

  .app-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .newsletter-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 760px) {
  .hero-slider {
    aspect-ratio: 21 / 7;
  }

  .wow-help-page .quick-tips-card .help-list {
    columns: 2;
    column-gap: 1.5rem;
  }

  .about-intro,
  .contact-header {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .about-intro img,
  .contact-header img {
    justify-self: end;
  }

  .app-hero {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
  }

  .app-icon {
    width: 108px;
    height: 108px;
  }

  .help-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .wow-help-page .help-img-row.help-img-inline {
    float: none;
    width: auto;
    margin: 0.45rem 0 0.65rem;
  }

  .wow-help-page .help-img-row.help-img-inline .help-img {
    max-height: 140px;
  }

  .wow-help-page .help-img-row.help-img-inline.shuffle-tile-inline {
    width: auto;
  }

  .wow-help-page .help-img-row.help-img-inline.three-letter-dots-inline {
    justify-content: flex-start;
  }

  .wow-help-page .help-img-row.help-img-inline.three-letter-dots-inline .help-img {
    max-height: 42px;
  }

  .wow-help-page .help-img-row.help-img-inline.local-ranking-inline .help-img {
    max-height: 550px;
  }

  .wow-help-page .help-img-row.help-img-inline.rankings-inline .help-img {
    max-height: 672px;
  }

  .wow-help-page .help-img-row.help-img-inline.leaderboard-inline .help-img {
    max-height: 350px;
  }
}

@media (min-width: 980px) {
  header {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 0.85rem 1.2rem;
  }

  #menuBtn {
    display: none;
  }

  nav {
    grid-column: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .nav-group {
    position: relative;
    width: auto;
  }

  nav summary {
    padding-right: 1.25rem;
  }

  nav summary::after {
    content: '▾';
    position: absolute;
    right: 0.45rem;
    top: 50%;
    transform: translateY(-52%);
    font-size: 0.72rem;
    opacity: 0.85;
  }

  .nav-submenu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.25rem);
    min-width: 220px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: rgba(17, 44, 35, 0.97);
    padding: 0.3rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 30;
  }

  .nav-submenu a {
    padding: 0.48rem 0.62rem;
    font-size: 0.92rem;
  }

  .nav-group:not([open]) .nav-submenu {
    display: none;
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@keyframes rise {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
