/* Last-loaded portrait menu layer. Keeps the supplied premium design stable. */
@media (orientation: portrait) {
  body:not(.game-active) .start-menu {
    width: 100vw !important;
    height: 100dvh !important;
    overflow: hidden !important;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.74)),
      url("./assets/vertical-menu/background-staand.png") center / cover no-repeat !important;
  }

  body:not(.game-active) .start-menu-stage {
    width: min(100vw, 620px) !important;
    height: 100dvh !important;
    margin: 0 auto !important;
    padding: max(8px, env(safe-area-inset-top)) clamp(10px, 2.8vw, 18px) max(8px, env(safe-area-inset-bottom)) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(260px, 41dvh) minmax(0, 1fr) !important;
    gap: clamp(6px, 1dvh, 10px) !important;
    overflow: hidden !important;
    background: none !important;
  }

  body:not(.game-active) .start-menu-stage::before,
  body:not(.game-active) .start-menu-stage::after,
  body:not(.game-active) .start-menu-panel::before,
  body:not(.game-active) .start-menu-panel::after,
  body:not(.game-active) .start-heading,
  body:not(.game-active) .menu-error {
    display: none !important;
    content: none !important;
  }

  body:not(.game-active) .brand-showcase {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
    pointer-events: none !important;
  }

  body:not(.game-active) .brand-showcase img,
  body:not(.game-active) .brand-showcase p {
    display: none !important;
  }

  body:not(.game-active) .brand-showcase::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    bottom: clamp(-10px, -1.3dvh, 0px) !important;
    width: min(112vw, 690px) !important;
    height: min(43dvh, 430px) !important;
    max-height: 100% !important;
    transform: translateX(-50%) !important;
    background: url("./assets/vertical-menu/table-menu.png") center bottom / contain no-repeat !important;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.86)) !important;
  }

  body:not(.game-active) .start-menu-panel {
    position: relative !important;
    z-index: 3 !important;
    width: min(100%, 540px) !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows:
      minmax(82px, 1.05fr)
      minmax(78px, 0.92fr)
      minmax(76px, 0.9fr)
      minmax(112px, 1.34fr)
      minmax(58px, 0.72fr) !important;
    gap: clamp(8px, 1.18dvh, 13px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body:not(.game-active) .home-player-section {
    display: none !important;
  }

  body:not(.game-active) .variant-group,
  body:not(.game-active) .level-group,
  body:not(.game-active) .home-options-section,
  body:not(.game-active) .competition-entry {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: clamp(10px, 1.35dvh, 14px) clamp(10px, 2.8vw, 16px) !important;
    border: 1px solid rgba(211, 145, 55, 0.84) !important;
    border-radius: clamp(10px, 2.4vw, 16px) !important;
    background:
      linear-gradient(180deg, rgba(33, 20, 11, 0.82), rgba(9, 7, 5, 0.86)),
      radial-gradient(circle at 50% 0%, rgba(238, 179, 84, 0.11), transparent 56%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 225, 150, 0.16), 0 8px 16px rgba(0, 0, 0, 0.36) !important;
    overflow: hidden !important;
  }

  body:not(.game-active) .variant-group {
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: clamp(8px, 2.1vw, 12px) !important;
  }

  body:not(.game-active) .level-group {
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: clamp(8px, 2.1vw, 12px) !important;
  }

  body:not(.game-active) .home-options-section {
    grid-row: 3 !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }

  body:not(.game-active) .competition-entry {
    grid-row: 4 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(86px, 0.72fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: clamp(8px, 2vw, 12px) !important;
  }

  body:not(.game-active) .start-menu-panel > .start-game-button {
    grid-row: 5 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 clamp(14px, 4vw, 24px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(10px, 3vw, 16px) !important;
    border: 1px solid rgba(255, 204, 84, 0.9) !important;
    border-radius: clamp(10px, 2.6vw, 16px) !important;
    background:
      linear-gradient(180deg, rgba(28, 112, 30, 0.98), rgba(10, 69, 22, 0.99)),
      radial-gradient(circle at 50% 0%, rgba(255, 242, 154, 0.22), transparent 64%) !important;
    color: #efd194 !important;
    -webkit-text-fill-color: #efd194 !important;
    font-size: clamp(28px, 7.4vw, 45px) !important;
    font-weight: 560 !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.74) !important;
    box-shadow: inset 0 2px 0 rgba(255, 238, 157, 0.3), inset 0 -4px 0 rgba(0, 41, 11, 0.58), 0 8px 18px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
  }

  body:not(.game-active) .variant-group legend,
  body:not(.game-active) .level-group legend,
  body:not(.game-active) .home-options-section h2,
  body:not(.game-active) .competition-entry::before {
    position: absolute !important;
    left: clamp(18px, 5vw, 32px) !important;
    top: 0 !important;
    transform: translateY(-52%) !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: calc(100% - 36px) !important;
    padding: 0 clamp(8px, 2vw, 12px) !important;
    clip: auto !important;
    overflow: visible !important;
    background: linear-gradient(90deg, rgba(16, 11, 6, 0.94), rgba(33, 22, 10, 0.94)) !important;
    color: #e3a93c !important;
    font-size: clamp(12px, 3vw, 18px) !important;
    font-weight: 560 !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    border-radius: 999px !important;
  }

  body:not(.game-active) .variant-group legend,
  body:not(.game-active) .level-group legend,
  body:not(.game-active) .home-options-section h2 {
    font-size: 0 !important;
  }

  body:not(.game-active) .variant-group legend::after { content: "Speelvariant" !important; font-size: clamp(12px, 3vw, 18px) !important; }
  body:not(.game-active) .level-group legend::after { content: "AI-niveau" !important; font-size: clamp(12px, 3vw, 18px) !important; }
  body:not(.game-active) .home-options-section h2::after { content: "Opties" !important; font-size: clamp(12px, 3vw, 18px) !important; }
  body:not(.game-active) .competition-entry::before { content: "Competitie" !important; display: block !important; }

  body:not(.game-active) .variant-group .menu-choice,
  body:not(.game-active) .level-group .menu-choice,
  body:not(.game-active) .home-action-card,
  body:not(.game-active) .premium-action,
  body:not(.game-active) .home-highscore,
  body:not(.game-active) .competition-copy {
    grid-area: auto !important;
    min-height: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    border: 1px solid rgba(208, 137, 48, 0.72) !important;
    border-radius: clamp(8px, 2vw, 13px) !important;
    background:
      linear-gradient(180deg, rgba(45, 28, 13, 0.94), rgba(12, 10, 7, 0.94)),
      radial-gradient(circle at 50% 0%, rgba(241, 198, 103, 0.12), transparent 60%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 226, 156, 0.15), 0 4px 9px rgba(0, 0, 0, 0.34) !important;
    overflow: hidden !important;
  }

  body:not(.game-active) .variant-group .menu-choice {
    display: grid !important;
    grid-template-columns: clamp(42px, 11.5vw, 72px) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(8px, 2vw, 12px) !important;
    padding: clamp(8px, 1.2dvh, 12px) clamp(10px, 2.3vw, 15px) !important;
  }

  body:not(.game-active) .variant-group .menu-choice::before {
    content: "" !important;
    display: block !important;
    width: clamp(42px, 11.5vw, 72px) !important;
    height: clamp(38px, 10.5vw, 66px) !important;
    background: url("./assets/vertical-menu/icon-amsterdams.png") center / contain no-repeat !important;
  }

  body:not(.game-active) .variant-group .menu-choice:nth-of-type(2)::before {
    background-image: url("./assets/vertical-menu/icon-rotterdams.png") !important;
  }

  body:not(.game-active) .variant-group .menu-choice:has(input:checked),
  body:not(.game-active) .level-group .menu-choice:has(input:checked) {
    border-color: rgba(255, 211, 93, 0.96) !important;
    background:
      linear-gradient(180deg, rgba(28, 99, 39, 0.96), rgba(13, 55, 24, 0.96)),
      radial-gradient(circle at 50% 0%, rgba(255, 233, 138, 0.24), transparent 62%) !important;
  }

  body:not(.game-active) .variant-group .menu-choice span,
  body:not(.game-active) .level-group .menu-choice span {
    min-width: 0 !important;
    padding: 0 !important;
    background: none !important;
    text-align: left !important;
  }

  body:not(.game-active) .variant-group .menu-choice strong,
  body:not(.game-active) .level-group .menu-choice strong,
  body:not(.game-active) .home-action-card strong,
  body:not(.game-active) .competition-copy strong,
  body:not(.game-active) .home-highscore strong,
  body:not(.game-active) .premium-action-text {
    color: #fff0c8 !important;
    font-weight: 520 !important;
    text-transform: none !important;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.74) !important;
  }

  body:not(.game-active) .variant-group .menu-choice strong {
    font-size: clamp(12px, 3.1vw, 19px) !important;
    line-height: 1.08 !important;
  }

  body:not(.game-active) .variant-group .menu-choice small {
    display: block !important;
    margin-top: 3px !important;
    color: rgba(255, 229, 178, 0.88) !important;
    font-size: clamp(8px, 2.25vw, 13px) !important;
    font-weight: 390 !important;
    line-height: 1.14 !important;
    max-height: 2.35em !important;
    overflow: hidden !important;
  }

  body:not(.game-active) .level-group .menu-choice {
    display: grid !important;
    grid-template-columns: clamp(24px, 6vw, 38px) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(5px, 1.2vw, 8px) !important;
    padding: clamp(7px, 1dvh, 10px) clamp(6px, 1.6vw, 10px) !important;
  }

  body:not(.game-active) .level-group .menu-choice::before {
    content: "" !important;
    display: block !important;
    width: clamp(24px, 6vw, 38px) !important;
    height: clamp(24px, 6vw, 38px) !important;
    background: url("./assets/vertical-menu/icon-tafels.png") center / contain no-repeat !important;
  }

  body:not(.game-active) .level-group .menu-choice:nth-of-type(2)::before {
    background-image: url("./assets/vertical-menu/icon-eenvoudig.png") !important;
  }

  body:not(.game-active) .level-group .menu-choice:nth-of-type(3)::before {
    background-image: url("./assets/vertical-menu/icon-ranglijst.png") !important;
  }

  body:not(.game-active) .level-group .menu-choice strong {
    display: block !important;
    font-size: clamp(11px, 2.85vw, 17px) !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body:not(.game-active) .level-group .menu-choice small {
    display: block !important;
    margin-top: 2px !important;
    color: rgba(255, 231, 188, 0.84) !important;
    font-size: clamp(7px, 1.95vw, 11px) !important;
    font-weight: 380 !important;
    line-height: 1.08 !important;
    max-height: 2.15em !important;
    overflow: hidden !important;
  }

  body:not(.game-active) .home-action-grid {
    grid-row: 1 / -1 !important;
    height: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: clamp(8px, 2vw, 12px) !important;
  }

  body:not(.game-active) .home-action-card {
    display: grid !important;
    grid-template-columns: clamp(28px, 6.5vw, 40px) minmax(0, 1fr) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    gap: clamp(5px, 1.4vw, 8px) !important;
    padding: clamp(7px, 1dvh, 10px) clamp(6px, 1.8vw, 10px) !important;
    text-align: left !important;
  }

  body:not(.game-active) .home-action-card .home-action-icon {
    display: block !important;
    width: clamp(28px, 6.5vw, 40px) !important;
    height: clamp(28px, 6.5vw, 40px) !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  body:not(.game-active) .home-action-card .home-action-icon svg,
  body:not(.game-active) .premium-action svg,
  body:not(.game-active) .home-highscore .home-trophy svg,
  body:not(.game-active) .home-highscore::before {
    display: none !important;
    content: none !important;
  }

  body:not(.game-active) .home-action-card[data-info="rules"] .home-action-icon { background-image: url("./assets/vertical-menu/icon-tafels.png") !important; }
  body:not(.game-active) #startDemoHomeButton .home-action-icon { background-image: url("./assets/vertical-menu/icon-speel-nu.png") !important; }
  body:not(.game-active) #openSettingsButton .home-action-icon { background-image: url("./assets/vertical-menu/icon-instellingen.png") !important; }

  body:not(.game-active) .home-action-card strong {
    display: block !important;
    font-size: clamp(11px, 2.85vw, 17px) !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body:not(.game-active) .home-action-card small {
    display: block !important;
    color: rgba(255, 230, 188, 0.86) !important;
    font-size: clamp(7px, 1.9vw, 11px) !important;
    font-weight: 380 !important;
    line-height: 1.12 !important;
    max-height: 2.25em !important;
    overflow: hidden !important;
  }

  body:not(.game-active) .competition-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: clamp(30px, 7.2vw, 46px) minmax(0, 1fr) !important;
    column-gap: clamp(7px, 1.8vw, 11px) !important;
    align-content: center !important;
    padding: clamp(9px, 1.3dvh, 13px) clamp(8px, 2vw, 12px) !important;
  }

  body:not(.game-active) .competition-copy::before {
    content: "" !important;
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
    width: clamp(30px, 7.2vw, 46px) !important;
    height: clamp(30px, 7.2vw, 46px) !important;
    background: url("./assets/vertical-menu/icon-ranglijst.png") center / contain no-repeat !important;
  }

  body:not(.game-active) .competition-copy .online-kicker {
    display: none !important;
  }

  body:not(.game-active) .competition-copy strong,
  body:not(.game-active) .competition-copy p {
    grid-column: 2 !important;
  }

  body:not(.game-active) .competition-copy strong {
    font-size: clamp(12px, 3.05vw, 18px) !important;
    line-height: 1.1 !important;
  }

  body:not(.game-active) .competition-copy p {
    margin: 3px 0 0 !important;
    color: rgba(255, 230, 187, 0.88) !important;
    font-size: clamp(8px, 2.15vw, 12px) !important;
    font-weight: 380 !important;
    line-height: 1.18 !important;
    overflow: hidden !important;
  }

  body:not(.game-active) .home-highscore {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: clamp(30px, 7.2vw, 46px) minmax(0, 1fr) !important;
    column-gap: clamp(7px, 1.8vw, 11px) !important;
    align-content: center !important;
    padding: clamp(9px, 1.3dvh, 13px) clamp(8px, 2vw, 12px) !important;
  }

  body:not(.game-active) .home-highscore .home-trophy {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
    width: clamp(30px, 7.2vw, 46px) !important;
    height: clamp(30px, 7.2vw, 46px) !important;
    background: url("./assets/vertical-menu/icon-daguitdaging.png") center / contain no-repeat !important;
  }

  body:not(.game-active) .home-highscore .winner-label,
  body:not(.game-active) .home-highscore strong,
  body:not(.game-active) .home-highscore small {
    grid-column: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body:not(.game-active) .home-highscore .winner-label {
    color: #e8ae42 !important;
    font-size: clamp(8px, 2.05vw, 12px) !important;
    font-weight: 520 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  body:not(.game-active) .home-highscore strong {
    font-size: clamp(13px, 3.45vw, 21px) !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
  }

  body:not(.game-active) .home-highscore small {
    color: #e8ae42 !important;
    font-size: clamp(8px, 2.05vw, 12px) !important;
    font-weight: 500 !important;
    line-height: 1.12 !important;
    text-transform: uppercase !important;
  }

  body:not(.game-active) .online-entry-actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(5px, 0.75dvh, 8px) !important;
    overflow: hidden !important;
  }

  body:not(.game-active) .premium-action {
    display: grid !important;
    grid-template-columns: clamp(23px, 5.8vw, 34px) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(4px, 1.1vw, 7px) !important;
    padding: 0 clamp(5px, 1.5vw, 9px) !important;
  }

  body:not(.game-active) .premium-action-icon {
    display: block !important;
    width: clamp(23px, 5.8vw, 34px) !important;
    height: clamp(23px, 5.8vw, 34px) !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
  }

  body:not(.game-active) #openOnlineButton .premium-action-icon { background-image: url("./assets/vertical-menu/icon-online.png") !important; }
  body:not(.game-active) #openDailyButton .premium-action-icon { background-image: url("./assets/vertical-menu/icon-daguitdaging.png") !important; }
  body:not(.game-active) #openRankingsButton .premium-action-icon { background-image: url("./assets/vertical-menu/icon-ranglijst.png") !important; }

  body:not(.game-active) .premium-action-text {
    display: block !important;
    font-size: clamp(10px, 2.55vw, 15px) !important;
    line-height: 1.06 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body:not(.game-active) .premium-action small {
    display: none !important;
  }

  body:not(.game-active) .start-menu-panel > .start-game-button::before {
    content: "" !important;
    width: clamp(28px, 7vw, 44px) !important;
    height: clamp(28px, 7vw, 44px) !important;
    background: url("./assets/vertical-menu/icon-speel-nu.png") center / contain no-repeat !important;
  }
}

/* v6: clean variant buttons and keep score/roem notices readable. */
@media (orientation: portrait) {
  body:not(.game-active) .variant-group .menu-choice {
    grid-template-columns: clamp(64px, 18vw, 104px) minmax(0, 1fr) !important;
    gap: clamp(10px, 2.6vw, 16px) !important;
    padding: clamp(8px, 1.2dvh, 12px) clamp(10px, 2.6vw, 16px) !important;
    background:
      linear-gradient(180deg, rgba(40, 25, 12, 0.96), rgba(10, 8, 5, 0.96)),
      radial-gradient(circle at 50% 0%, rgba(239, 184, 77, 0.12), transparent 62%) !important;
  }

  body:not(.game-active) .variant-group .menu-choice::before {
    width: clamp(64px, 18vw, 104px) !important;
    height: clamp(54px, 15.5vw, 88px) !important;
    background-image: url("./assets/vertical-menu/icon-amsterdams.png") !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.48)) !important;
  }

  body:not(.game-active) .variant-group .menu-choice:nth-of-type(2)::before {
    background-image: url("./assets/vertical-menu/icon-rotterdams.png") !important;
  }

  body:not(.game-active) .variant-group .menu-choice:has(input:checked) {
    background:
      linear-gradient(180deg, rgba(25, 102, 36, 0.97), rgba(10, 59, 22, 0.97)),
      radial-gradient(circle at 50% 0%, rgba(255, 215, 107, 0.2), transparent 62%) !important;
  }

  body:not(.game-active) .variant-group .menu-choice strong {
    font-size: clamp(13px, 3.45vw, 20px) !important;
    line-height: 1.08 !important;
    font-weight: 520 !important;
  }

  body:not(.game-active) .variant-group .menu-choice small {
    display: block !important;
    max-height: 2.3em !important;
    margin-top: 3px !important;
    font-size: clamp(8px, 2.1vw, 12px) !important;
    line-height: 1.12 !important;
  }
}

@media (orientation: portrait) and (max-width: 390px), (orientation: portrait) and (max-height: 720px) {
  body:not(.game-active) .variant-group .menu-choice {
    grid-template-columns: clamp(48px, 14vw, 66px) minmax(0, 1fr) !important;
    text-align: left !important;
    justify-items: stretch !important;
  }

  body:not(.game-active) .variant-group .menu-choice::before {
    width: clamp(48px, 14vw, 66px) !important;
    height: clamp(42px, 12vw, 58px) !important;
  }

  body:not(.game-active) .variant-group .menu-choice small {
    display: none !important;
  }
}

body.game-active .table > .roem-burst {
  top: 50% !important;
  width: clamp(170px, 34%, 270px) !important;
  min-height: 66px !important;
  padding: 9px 12px !important;
}

body.game-active .table > .roem-burst.burst-active {
  top: 50% !important;
}

body.game-active .table > .roem-burst strong {
  font-size: clamp(21px, 4.2vw, 34px) !important;
}

body.game-active .table > .roem-burst span {
  font-size: clamp(9px, 1.75vw, 13px) !important;
  line-height: 1.18 !important;
  max-width: 100% !important;
}

@media (orientation: portrait) and (max-width: 700px) {
  body.game-active .game-events {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.game-active .game-events:has(.roem-board:not([hidden])) .message,
  body.game-active .game-events:has(.roem-burst:not([hidden])) .message,
  body.game-active .game-events .message {
    grid-column: 1 / -1 !important;
  }

  body.game-active .game-events .roem-board {
    position: static !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 48px !important;
    max-height: none !important;
    padding: 7px 10px !important;
    text-align: left !important;
  }

  body.game-active .game-events .roem-board strong {
    font-size: clamp(15px, 3.8vw, 18px) !important;
    line-height: 1.05 !important;
  }

  body.game-active .game-events .roem-board p {
    margin-top: 3px !important;
    font-size: clamp(10px, 2.7vw, 13px) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
}

@media (orientation: portrait) and (max-height: 820px) {
  body:not(.game-active) .start-menu-stage {
    grid-template-rows: minmax(214px, 37dvh) minmax(0, 1fr) !important;
  }

  body:not(.game-active) .brand-showcase::before {
    height: min(38dvh, 348px) !important;
  }

  body:not(.game-active) .start-menu-panel {
    grid-template-rows:
      minmax(68px, 1fr)
      minmax(62px, 0.86fr)
      minmax(58px, 0.78fr)
      minmax(96px, 1.24fr)
      minmax(48px, 0.62fr) !important;
    gap: 6px !important;
  }

  body:not(.game-active) .variant-group .menu-choice small,
  body:not(.game-active) .level-group .menu-choice small,
  body:not(.game-active) .home-action-card small,
  body:not(.game-active) .competition-copy p {
    display: none !important;
  }
}

@media (orientation: portrait) and (max-width: 390px), (orientation: portrait) and (max-height: 720px) {
  body:not(.game-active) .start-menu-stage {
    grid-template-rows: minmax(188px, 34dvh) minmax(0, 1fr) !important;
    padding-inline: 8px !important;
  }

  body:not(.game-active) .start-menu-panel {
    grid-template-rows:
      minmax(60px, 1fr)
      minmax(54px, 0.86fr)
      minmax(52px, 0.82fr)
      minmax(84px, 1.18fr)
      minmax(44px, 0.58fr) !important;
    gap: 5px !important;
  }

  body:not(.game-active) .level-group .menu-choice,
  body:not(.game-active) .home-action-card,
  body:not(.game-active) .premium-action {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  body:not(.game-active) .level-group .menu-choice::before,
  body:not(.game-active) .home-action-icon,
  body:not(.game-active) .premium-action-icon {
    display: none !important;
  }
}

/* v7: final portrait variant override after compact rules. */
@media (orientation: portrait) {
  body:not(.game-active) .variant-group .menu-choice {
    grid-template-columns: clamp(58px, 16vw, 98px) minmax(0, 1fr) !important;
    justify-items: stretch !important;
    text-align: left !important;
  }

  body:not(.game-active) .variant-group .menu-choice::before {
    display: block !important;
    width: clamp(58px, 16vw, 98px) !important;
    height: clamp(50px, 14vw, 84px) !important;
    background-image: url("./assets/vertical-menu/icon-amsterdams.png") !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  body:not(.game-active) .variant-group .menu-choice:nth-of-type(2)::before {
    background-image: url("./assets/vertical-menu/icon-rotterdams.png") !important;
  }

  body:not(.game-active) .variant-group .menu-choice span {
    display: block !important;
    align-self: center !important;
  }

  body:not(.game-active) .variant-group .menu-choice strong {
    display: block !important;
    font-size: clamp(13px, 3.3vw, 20px) !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }

  body:not(.game-active) .variant-group .menu-choice small {
    display: block !important;
    font-size: clamp(8px, 2vw, 12px) !important;
    line-height: 1.1 !important;
    max-height: 2.2em !important;
  }
}

@media (orientation: portrait) and (max-height: 720px) {
  body:not(.game-active) .variant-group .menu-choice {
    grid-template-columns: clamp(48px, 13vw, 66px) minmax(0, 1fr) !important;
  }

  body:not(.game-active) .variant-group .menu-choice::before {
    width: clamp(48px, 13vw, 66px) !important;
    height: clamp(40px, 11vw, 56px) !important;
  }

  body:not(.game-active) .variant-group .menu-choice small {
    display: none !important;
  }
}

/* v8: definitive portrait menu based on the supplied premium vertical design. */
@media (orientation: portrait) {
  body:not(.game-active) {
    overflow: hidden !important;
    background: #090604 !important;
  }

  body:not(.game-active) .start-menu {
    min-height: 100dvh !important;
    height: 100dvh !important;
    padding: max(env(safe-area-inset-top), 8px) max(env(safe-area-inset-right), 10px)
      max(env(safe-area-inset-bottom), 8px) max(env(safe-area-inset-left), 10px) !important;
    overflow: hidden !important;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.2)),
      url("./assets/vertical-menu/background-staand.png") center / cover no-repeat !important;
  }

  body:not(.game-active) .start-menu-stage {
    width: min(100%, 620px) !important;
    height: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-rows: minmax(220px, 38dvh) minmax(0, 1fr) !important;
    gap: clamp(10px, 1.4dvh, 16px) !important;
    border: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body:not(.game-active) .start-menu-stage::before,
  body:not(.game-active) .start-menu-stage::after,
  body:not(.game-active) .start-menu-panel::before,
  body:not(.game-active) .start-menu-panel::after,
  body:not(.game-active) .brand-showcase::after,
  body:not(.game-active) .home-options-section::before,
  body:not(.game-active) .home-options-section::after,
  body:not(.game-active) .home-action-grid::before,
  body:not(.game-active) .home-action-grid::after,
  body:not(.game-active) .online-entry-actions::before,
  body:not(.game-active) .online-entry-actions::after,
  body:not(.game-active) .competition-entry::after,
  body:not(.game-active) .home-highscore::before {
    content: none !important;
    display: none !important;
  }

  body:not(.game-active) .brand-showcase {
    position: relative !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
  }

  body:not(.game-active) .brand-showcase img,
  body:not(.game-active) .brand-showcase p,
  body:not(.game-active) .start-heading,
  body:not(.game-active) .home-player-section {
    display: none !important;
  }

  body:not(.game-active) .brand-showcase::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    bottom: clamp(2px, 0.6dvh, 8px) !important;
    width: min(112%, 650px) !important;
    height: min(42dvh, 390px) !important;
    transform: translateX(-50%) !important;
    background: url("./assets/vertical-menu/table-menu.png") center bottom / contain no-repeat !important;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.55)) !important;
    z-index: 1 !important;
  }

  body:not(.game-active) .start-menu-panel {
    min-height: 0 !important;
    height: 100% !important;
    padding: clamp(8px, 1.3dvh, 14px) clamp(9px, 2.6vw, 18px) !important;
    display: grid !important;
    grid-template-rows:
      minmax(88px, 1.05fr)
      minmax(82px, 0.95fr)
      minmax(78px, 0.86fr)
      minmax(130px, 1.48fr)
      minmax(58px, 0.68fr) !important;
    gap: clamp(9px, 1.25dvh, 15px) !important;
    overflow: hidden !important;
    border: 1px solid rgba(218, 157, 60, 0.7) !important;
    border-radius: clamp(18px, 4.5vw, 30px) !important;
    background:
      linear-gradient(180deg, rgba(31, 18, 9, 0.38), rgba(13, 8, 5, 0.88)),
      radial-gradient(circle at 50% -20%, rgba(239, 194, 92, 0.12), transparent 58%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 233, 163, 0.18),
      0 18px 32px rgba(0, 0, 0, 0.42) !important;
  }

  body:not(.game-active) .home-section,
  body:not(.game-active) .menu-group,
  body:not(.game-active) .competition-entry {
    position: relative !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: clamp(11px, 1.7dvh, 18px) clamp(10px, 2.7vw, 18px) clamp(9px, 1.5dvh, 15px) !important;
    border: 1px solid rgba(213, 150, 49, 0.82) !important;
    border-radius: clamp(11px, 3vw, 20px) !important;
    background:
      linear-gradient(180deg, rgba(31, 21, 11, 0.88), rgba(8, 7, 5, 0.9)),
      radial-gradient(circle at 50% 0%, rgba(233, 177, 63, 0.1), transparent 58%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 225, 140, 0.16),
      inset 0 -12px 24px rgba(0, 0, 0, 0.24) !important;
  }

  body:not(.game-active) .variant-group legend,
  body:not(.game-active) .level-group legend,
  body:not(.game-active) .home-options-section h2,
  body:not(.game-active) .competition-entry .online-kicker {
    position: absolute !important;
    top: -0.72em !important;
    left: clamp(12px, 3vw, 22px) !important;
    z-index: 2 !important;
    padding: 0 0.65em !important;
    color: #f0bd54 !important;
    background: linear-gradient(90deg, rgba(14, 8, 3, 0), rgba(14, 8, 3, 0.95) 18%, rgba(14, 8, 3, 0.95) 82%, rgba(14, 8, 3, 0)) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(12px, 3vw, 18px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
  }

  body:not(.game-active) .variant-group legend {
    width: auto !important;
  }

  body:not(.game-active) .variant-group legend::before {
    content: "Speelvariant" !important;
  }

  body:not(.game-active) .variant-group legend {
    color: transparent !important;
  }

  body:not(.game-active) .variant-group legend::before {
    color: #f0bd54 !important;
  }

  body:not(.game-active) .level-group legend::before {
    content: "AI-niveau" !important;
  }

  body:not(.game-active) .level-group legend {
    color: transparent !important;
  }

  body:not(.game-active) .level-group legend::before {
    color: #f0bd54 !important;
  }

  body:not(.game-active) .variant-group,
  body:not(.game-active) .level-group,
  body:not(.game-active) .home-action-grid {
    display: grid !important;
    align-items: stretch !important;
  }

  body:not(.game-active) .variant-group {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(8px, 2.2vw, 16px) !important;
  }

  body:not(.game-active) .level-group,
  body:not(.game-active) .home-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(7px, 1.9vw, 14px) !important;
  }

  body:not(.game-active) .variant-group .menu-choice,
  body:not(.game-active) .level-group .menu-choice,
  body:not(.game-active) .home-action-card,
  body:not(.game-active) .premium-action {
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    border: 1px solid rgba(209, 143, 42, 0.8) !important;
    border-radius: clamp(8px, 2.2vw, 15px) !important;
    background:
      linear-gradient(180deg, rgba(47, 29, 12, 0.96), rgba(13, 9, 5, 0.97)),
      radial-gradient(circle at 50% 0%, rgba(239, 183, 69, 0.1), transparent 62%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 231, 158, 0.12),
      0 5px 12px rgba(0, 0, 0, 0.22) !important;
    color: #fbefd5 !important;
    cursor: pointer !important;
    overflow: hidden !important;
  }

  body:not(.game-active) .variant-group .menu-choice:has(input:checked),
  body:not(.game-active) .level-group .menu-choice:has(input:checked),
  body:not(.game-active) .home-action-card.primary {
    border-color: rgba(255, 211, 91, 0.98) !important;
    background:
      linear-gradient(180deg, rgba(34, 104, 35, 0.98), rgba(13, 61, 22, 0.98)),
      radial-gradient(circle at 50% 0%, rgba(255, 229, 123, 0.23), transparent 64%) !important;
    box-shadow:
      0 0 0 1px rgba(255, 222, 105, 0.28),
      0 0 18px rgba(228, 183, 62, 0.2),
      inset 0 1px 0 rgba(255, 241, 180, 0.18) !important;
  }

  body:not(.game-active) .variant-group .menu-choice {
    padding: clamp(7px, 1.15dvh, 12px) clamp(8px, 2.2vw, 14px) !important;
    display: grid !important;
    grid-template-columns: clamp(42px, 11.5vw, 70px) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(7px, 2vw, 12px) !important;
    text-align: left !important;
  }

  body:not(.game-active) .variant-group .menu-choice::before {
    content: "" !important;
    display: block !important;
    width: clamp(40px, 11vw, 68px) !important;
    height: clamp(40px, 11vw, 68px) !important;
    background: url("./assets/vertical-menu/icon-amsterdams.png") center / contain no-repeat !important;
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.45)) !important;
  }

  body:not(.game-active) .variant-group .menu-choice:nth-of-type(2)::before {
    background-image: url("./assets/vertical-menu/icon-rotterdams.png") !important;
  }

  body:not(.game-active) .variant-group .menu-choice strong {
    display: block !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(13px, 3.15vw, 20px) !important;
    font-weight: 650 !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    text-wrap: balance !important;
  }

  body:not(.game-active) .variant-group .menu-choice small {
    display: block !important;
    margin-top: 3px !important;
    max-height: 2.35em !important;
    color: rgba(255, 238, 207, 0.88) !important;
    font-size: clamp(8px, 2.05vw, 12px) !important;
    line-height: 1.13 !important;
    overflow: hidden !important;
  }

  body:not(.game-active) .level-group .menu-choice {
    padding: clamp(6px, 1.05dvh, 10px) clamp(6px, 1.8vw, 12px) !important;
    display: grid !important;
    grid-template-columns: clamp(30px, 8vw, 48px) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(5px, 1.5vw, 10px) !important;
    text-align: left !important;
  }

  body:not(.game-active) .level-group .menu-choice::before {
    content: "" !important;
    display: block !important;
    width: clamp(28px, 7.5vw, 46px) !important;
    height: clamp(28px, 7.5vw, 46px) !important;
    background: url("./assets/vertical-menu/icon-tafels.png") center / contain no-repeat !important;
    filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.45)) !important;
  }

  body:not(.game-active) .level-group .menu-choice:nth-of-type(2)::before {
    background-image: url("./assets/vertical-menu/icon-eenvoudig.png") !important;
  }

  body:not(.game-active) .level-group .menu-choice:nth-of-type(3)::before {
    background-image: url("./assets/vertical-menu/icon-ranglijst.png") !important;
  }

  body:not(.game-active) .level-group .menu-choice strong,
  body:not(.game-active) .home-action-card strong,
  body:not(.game-active) .premium-action-text {
    display: block !important;
    color: #fff4d7 !important;
    font-size: clamp(11px, 2.75vw, 17px) !important;
    font-weight: 650 !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: normal !important;
  }

  body:not(.game-active) .level-group .menu-choice small {
    display: block !important;
    margin-top: 2px !important;
    max-height: 2.25em !important;
    color: rgba(255, 235, 199, 0.82) !important;
    font-size: clamp(8px, 1.92vw, 11px) !important;
    line-height: 1.12 !important;
    overflow: hidden !important;
  }

  body:not(.game-active) .home-options-section {
    display: block !important;
  }

  body:not(.game-active) .home-action-grid {
    width: 100% !important;
    height: 100% !important;
  }

  body:not(.game-active) .home-action-card {
    padding: clamp(7px, 1.15dvh, 12px) clamp(6px, 1.8vw, 11px) !important;
    display: grid !important;
    grid-template-columns: clamp(30px, 8.5vw, 50px) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(5px, 1.6vw, 10px) !important;
    text-align: left !important;
  }

  body:not(.game-active) .home-action-icon {
    width: clamp(30px, 8.5vw, 50px) !important;
    height: clamp(30px, 8.5vw, 50px) !important;
    flex: 0 0 auto !important;
    display: block !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: center / contain no-repeat !important;
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.5)) !important;
  }

  body:not(.game-active) .home-action-card:nth-child(1) .home-action-icon {
    background-image: url("./assets/vertical-menu/icon-tafels.png") !important;
  }

  body:not(.game-active) .home-action-card:nth-child(2) .home-action-icon {
    background-image: url("./assets/vertical-menu/icon-speel-nu.png") !important;
  }

  body:not(.game-active) .home-action-card:nth-child(3) .home-action-icon {
    background-image: url("./assets/vertical-menu/icon-instellingen.png") !important;
  }

  body:not(.game-active) .home-action-icon svg {
    display: none !important;
  }

  body:not(.game-active) .home-action-card small {
    display: block !important;
    margin-top: 2px !important;
    max-height: 2.35em !important;
    color: rgba(255, 235, 199, 0.82) !important;
    font-size: clamp(8px, 1.9vw, 11px) !important;
    line-height: 1.12 !important;
    overflow: hidden !important;
  }

  body:not(.game-active) .competition-entry {
    display: grid !important;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1fr) minmax(94px, 0.78fr) !important;
    grid-template-rows: 100% !important;
    align-items: stretch !important;
    gap: clamp(8px, 2vw, 14px) !important;
  }

  body:not(.game-active) .competition-copy,
  body:not(.game-active) .home-highscore,
  body:not(.game-active) .online-entry-actions {
    min-height: 0 !important;
    height: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body:not(.game-active) .competition-copy {
    padding: clamp(7px, 1.1dvh, 12px) !important;
    display: grid !important;
    grid-template-columns: clamp(28px, 7vw, 44px) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(6px, 1.6vw, 10px) !important;
    border: 0 !important;
  }

  body:not(.game-active) .competition-copy::before {
    content: "" !important;
    width: clamp(28px, 7vw, 44px) !important;
    height: clamp(28px, 7vw, 44px) !important;
    background: url("./assets/vertical-menu/icon-ranglijst.png") center / contain no-repeat !important;
    filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.45)) !important;
  }

  body:not(.game-active) .competition-copy strong {
    display: block !important;
    color: #fff2cf !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(12px, 3vw, 18px) !important;
    font-weight: 650 !important;
    line-height: 1.08 !important;
  }

  body:not(.game-active) .competition-copy p {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    color: rgba(255, 235, 199, 0.82) !important;
    font-size: clamp(8px, 1.95vw, 12px) !important;
    line-height: 1.15 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  body:not(.game-active) .home-highscore {
    padding: clamp(7px, 1.05dvh, 12px) !important;
    display: grid !important;
    grid-template-columns: clamp(34px, 8.8vw, 54px) minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    align-items: center !important;
    column-gap: clamp(7px, 1.9vw, 12px) !important;
    border: 1px solid rgba(212, 150, 49, 0.55) !important;
    border-radius: clamp(8px, 2.2vw, 14px) !important;
    background: linear-gradient(180deg, rgba(37, 24, 11, 0.72), rgba(13, 9, 6, 0.72)) !important;
  }

  body:not(.game-active) .home-trophy {
    grid-row: 1 / 4 !important;
    width: clamp(34px, 8.8vw, 54px) !important;
    height: clamp(34px, 8.8vw, 54px) !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 35% 25%, #fff0b4, #d89c2a 66%, #6f3d0b) !important;
  }

  body:not(.game-active) .home-trophy svg {
    width: 58% !important;
    height: 58% !important;
    fill: #211307 !important;
  }

  body:not(.game-active) .winner-label,
  body:not(.game-active) .home-highscore small {
    color: #f0bd54 !important;
    font-size: clamp(8px, 1.95vw, 11px) !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body:not(.game-active) .home-highscore strong {
    color: #fff2cc !important;
    font-size: clamp(12px, 3.3vw, 20px) !important;
    font-weight: 650 !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body:not(.game-active) .online-entry-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(5px, 1.2dvh, 9px) !important;
  }

  body:not(.game-active) .premium-action {
    padding: clamp(4px, 0.9dvh, 8px) clamp(6px, 1.5vw, 10px) !important;
    display: grid !important;
    grid-template-columns: clamp(24px, 6vw, 38px) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(5px, 1.3vw, 8px) !important;
    text-align: left !important;
  }

  body:not(.game-active) .premium-action-icon {
    width: clamp(24px, 6vw, 38px) !important;
    height: clamp(24px, 6vw, 38px) !important;
    color: #f5d680 !important;
  }

  body:not(.game-active) .premium-action-icon svg {
    width: 100% !important;
    height: 100% !important;
    stroke: currentColor !important;
    fill: none !important;
  }

  body:not(.game-active) .premium-action small {
    display: none !important;
  }

  body:not(.game-active) .menu-error {
    display: none !important;
  }

  body:not(.game-active) .start-menu-panel > .start-game-button {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 clamp(14px, 4vw, 28px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(8px, 2.4vw, 16px) !important;
    border: 2px solid rgba(252, 205, 82, 0.96) !important;
    border-radius: clamp(12px, 3vw, 20px) !important;
    background:
      linear-gradient(180deg, rgba(31, 128, 38, 0.98), rgba(7, 79, 20, 0.98)),
      radial-gradient(circle at 50% 0%, rgba(255, 229, 128, 0.26), transparent 64%) !important;
    box-shadow:
      inset 0 2px 0 rgba(255, 245, 185, 0.2),
      0 0 18px rgba(255, 198, 66, 0.18),
      0 10px 18px rgba(0, 0, 0, 0.32) !important;
    color: #f7d681 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(22px, 6.4vw, 42px) !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.58) !important;
  }

  body:not(.game-active) .start-menu-panel > .start-game-button::before {
    content: "" !important;
    display: block !important;
    width: clamp(28px, 7.5vw, 52px) !important;
    height: clamp(28px, 7.5vw, 52px) !important;
    background: url("./assets/vertical-menu/icon-speel-nu.png") center / contain no-repeat !important;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45)) !important;
  }

  body:not(.game-active) .start-menu-panel > .start-game-button:active {
    transform: translateY(1px) scale(0.995) !important;
    color: #fff4cd !important;
  }
}

@media (orientation: portrait) and (max-height: 820px) {
  body:not(.game-active) .start-menu-stage {
    grid-template-rows: minmax(190px, 34dvh) minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body:not(.game-active) .brand-showcase::before {
    height: min(37dvh, 330px) !important;
    width: min(116%, 620px) !important;
  }

  body:not(.game-active) .start-menu-panel {
    grid-template-rows:
      minmax(74px, 1fr)
      minmax(64px, 0.86fr)
      minmax(62px, 0.78fr)
      minmax(104px, 1.2fr)
      minmax(50px, 0.58fr) !important;
    gap: 6px !important;
    padding-block: 8px !important;
  }

  body:not(.game-active) .home-section,
  body:not(.game-active) .menu-group,
  body:not(.game-active) .competition-entry {
    padding-top: 10px !important;
    padding-bottom: 7px !important;
  }

  body:not(.game-active) .variant-group .menu-choice small,
  body:not(.game-active) .level-group .menu-choice small,
  body:not(.game-active) .home-action-card small,
  body:not(.game-active) .competition-copy p {
    display: none !important;
  }
}

@media (orientation: portrait) and (max-height: 720px) {
  body:not(.game-active) .start-menu {
    padding-inline: 7px !important;
  }

  body:not(.game-active) .start-menu-stage {
    grid-template-rows: minmax(158px, 30dvh) minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  body:not(.game-active) .brand-showcase::before {
    height: min(31dvh, 270px) !important;
  }

  body:not(.game-active) .start-menu-panel {
    grid-template-rows:
      minmax(60px, 1fr)
      minmax(52px, 0.82fr)
      minmax(48px, 0.7fr)
      minmax(82px, 1.08fr)
      minmax(42px, 0.52fr) !important;
    gap: 5px !important;
  }

  body:not(.game-active) .variant-group .menu-choice,
  body:not(.game-active) .level-group .menu-choice,
  body:not(.game-active) .home-action-card,
  body:not(.game-active) .premium-action {
    padding: 5px 6px !important;
  }

  body:not(.game-active) .home-action-card {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  body:not(.game-active) .home-action-icon {
    display: none !important;
  }

  body:not(.game-active) .competition-entry {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) !important;
  }

  body:not(.game-active) .competition-copy {
    display: none !important;
  }
}

/* v9: tighten the hero and restore readable button interiors. */
@media (orientation: portrait) {
  body:not(.game-active) .start-menu-stage {
    grid-template-rows: minmax(190px, 33dvh) minmax(0, 1fr) !important;
    gap: clamp(9px, 1.15dvh, 13px) !important;
  }

  body:not(.game-active) .brand-showcase::before {
    bottom: 0 !important;
    width: min(106%, 610px) !important;
    height: min(35dvh, 324px) !important;
  }

  body:not(.game-active) .start-menu-panel {
    grid-template-rows:
      minmax(96px, 1.08fr)
      minmax(86px, 0.96fr)
      minmax(94px, 0.95fr)
      minmax(156px, 1.52fr)
      minmax(60px, 0.64fr) !important;
    gap: clamp(8px, 1.05dvh, 12px) !important;
  }

  body:not(.game-active) .variant-group .menu-choice {
    grid-template-columns: clamp(38px, 9.4vw, 56px) minmax(0, 1fr) !important;
    padding: clamp(7px, 1dvh, 10px) clamp(8px, 2vw, 12px) !important;
  }

  body:not(.game-active) .variant-group .menu-choice::before {
    width: clamp(38px, 9.4vw, 56px) !important;
    height: clamp(38px, 9.4vw, 56px) !important;
  }

  body:not(.game-active) .variant-group .menu-choice strong {
    font-size: clamp(12px, 2.95vw, 18px) !important;
    line-height: 1.08 !important;
  }

  body:not(.game-active) .variant-group .menu-choice small {
    font-size: clamp(8px, 1.8vw, 11px) !important;
    line-height: 1.12 !important;
    max-height: 2.25em !important;
  }

  body:not(.game-active) .level-group .menu-choice {
    grid-template-columns: clamp(28px, 7vw, 42px) minmax(0, 1fr) !important;
    gap: clamp(5px, 1.25vw, 9px) !important;
  }

  body:not(.game-active) .level-group .menu-choice::before {
    width: clamp(28px, 7vw, 42px) !important;
    height: clamp(28px, 7vw, 42px) !important;
  }

  body:not(.game-active) .home-options-section {
    padding-top: clamp(14px, 1.9dvh, 19px) !important;
  }

  body:not(.game-active) .home-action-grid {
    height: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: 1fr !important;
    gap: clamp(7px, 1.8vw, 12px) !important;
    align-items: stretch !important;
  }

  body:not(.game-active) .home-action-card {
    position: relative !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: clamp(7px, 1dvh, 10px) clamp(6px, 1.5vw, 10px) !important;
    display: grid !important;
    grid-template-columns: clamp(30px, 7.8vw, 46px) minmax(0, 1fr) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: clamp(5px, 1.3vw, 9px) !important;
    text-align: left !important;
    overflow: hidden !important;
  }

  body:not(.game-active) .home-action-card > span:not(.home-action-icon) {
    display: block !important;
    min-width: 0 !important;
    position: static !important;
  }

  body:not(.game-active) .home-action-card strong {
    display: block !important;
    font-size: clamp(11px, 2.75vw, 16px) !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body:not(.game-active) .home-action-card small {
    display: block !important;
    margin-top: 2px !important;
    font-size: clamp(8px, 1.75vw, 10px) !important;
    line-height: 1.08 !important;
    max-height: 2.15em !important;
  }

  body:not(.game-active) .home-action-icon {
    width: clamp(30px, 7.8vw, 46px) !important;
    height: clamp(30px, 7.8vw, 46px) !important;
  }

  body:not(.game-active) .competition-entry {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.1fr) minmax(98px, 0.8fr) !important;
    gap: clamp(7px, 1.7vw, 12px) !important;
    padding-top: clamp(16px, 2.1dvh, 22px) !important;
  }

  body:not(.game-active) .competition-copy {
    grid-template-columns: clamp(28px, 6.8vw, 42px) minmax(0, 1fr) !important;
    align-content: center !important;
  }

  body:not(.game-active) .competition-copy strong {
    font-size: clamp(11px, 2.8vw, 17px) !important;
  }

  body:not(.game-active) .competition-copy p {
    -webkit-line-clamp: 3 !important;
  }

  body:not(.game-active) .home-highscore {
    align-content: center !important;
    grid-template-columns: clamp(34px, 8vw, 50px) minmax(0, 1fr) !important;
  }

  body:not(.game-active) .home-highscore strong {
    font-size: clamp(12px, 3vw, 18px) !important;
  }

  body:not(.game-active) .online-entry-actions {
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    min-height: 0 !important;
  }

  body:not(.game-active) .premium-action {
    grid-template-columns: clamp(22px, 5.7vw, 34px) minmax(0, 1fr) !important;
    padding: 4px 7px !important;
    min-height: 0 !important;
  }

  body:not(.game-active) .premium-action-icon {
    width: clamp(22px, 5.7vw, 34px) !important;
    height: clamp(22px, 5.7vw, 34px) !important;
  }

  body:not(.game-active) .premium-action-text {
    font-size: clamp(10px, 2.35vw, 14px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

@media (orientation: portrait) and (max-height: 820px) {
  body:not(.game-active) .start-menu-stage {
    grid-template-rows: minmax(164px, 29dvh) minmax(0, 1fr) !important;
  }

  body:not(.game-active) .brand-showcase::before {
    height: min(30dvh, 276px) !important;
  }

  body:not(.game-active) .start-menu-panel {
    grid-template-rows:
      minmax(78px, 1fr)
      minmax(68px, 0.88fr)
      minmax(66px, 0.84fr)
      minmax(118px, 1.25fr)
      minmax(50px, 0.55fr) !important;
    gap: 6px !important;
  }

  body:not(.game-active) .level-group .menu-choice small,
  body:not(.game-active) .home-action-card small,
  body:not(.game-active) .competition-copy p {
    display: none !important;
  }
}

@media (orientation: portrait) and (max-width: 390px) {
  body:not(.game-active) .home-action-card {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  body:not(.game-active) .home-action-icon {
    display: none !important;
  }

  body:not(.game-active) .competition-entry {
    grid-template-columns: minmax(0, 1fr) minmax(94px, 0.82fr) !important;
  }

  body:not(.game-active) .competition-copy {
    display: none !important;
  }
}

/* v10: reference-driven start menu. Keep content roomy instead of squeezing text into broken cards. */
body:not(.game-active) .start-menu,
body:not(.game-active) .start-menu * {
  box-sizing: border-box !important;
}

body:not(.game-active) .start-menu {
  min-height: 100dvh !important;
  height: auto !important;
  padding: max(env(safe-area-inset-top), 10px) max(env(safe-area-inset-right), 10px)
    max(env(safe-area-inset-bottom), 16px) max(env(safe-area-inset-left), 10px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.26)),
    url("./assets/vertical-menu/background-staand.png") center top / cover no-repeat fixed !important;
}

body:not(.game-active) .start-menu-stage {
  width: min(100%, 480px) !important;
  min-height: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 0 clamp(14px, 2.4dvh, 26px) !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto !important;
  gap: clamp(16px, 2.4dvh, 24px) !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:not(.game-active) .start-menu-stage::before,
body:not(.game-active) .start-menu-stage::after,
body:not(.game-active) .start-menu-panel::before,
body:not(.game-active) .start-menu-panel::after,
body:not(.game-active) .brand-showcase::after,
body:not(.game-active) .home-options-section::before,
body:not(.game-active) .home-options-section::after,
body:not(.game-active) .home-action-grid::before,
body:not(.game-active) .home-action-grid::after,
body:not(.game-active) .competition-entry::before,
body:not(.game-active) .competition-entry::after,
body:not(.game-active) .home-highscore::before,
body:not(.game-active) .online-entry-actions::before,
body:not(.game-active) .online-entry-actions::after {
  content: none !important;
  display: none !important;
}

body:not(.game-active) .brand-showcase {
  position: relative !important;
  height: clamp(330px, 52dvh, 560px) !important;
  min-height: 330px !important;
  margin: 0 calc(clamp(8px, 2vw, 14px) * -1) !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
}

body:not(.game-active) .brand-showcase img,
body:not(.game-active) .brand-showcase p,
body:not(.game-active) .start-heading,
body:not(.game-active) .home-player-section {
  display: none !important;
}

body:not(.game-active) .brand-showcase::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  background: url("./assets/vertical-menu/table-menu.png") center bottom / contain no-repeat !important;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.58)) !important;
}

body:not(.game-active) .start-menu-panel {
  width: min(100%, 430px) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto !important;
  gap: clamp(14px, 2dvh, 20px) !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:not(.game-active) .home-section,
body:not(.game-active) .menu-group,
body:not(.game-active) .competition-entry {
  position: relative !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(18px, 2.3dvh, 24px) clamp(12px, 3vw, 18px) clamp(12px, 2dvh, 18px) !important;
  border: 1px solid rgba(219, 147, 39, 0.88) !important;
  border-radius: clamp(12px, 3.5vw, 18px) !important;
  background:
    linear-gradient(180deg, rgba(39, 24, 11, 0.9), rgba(10, 7, 4, 0.94)),
    radial-gradient(circle at 50% 0%, rgba(236, 184, 75, 0.12), transparent 64%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 143, 0.18),
    inset 0 -16px 24px rgba(0, 0, 0, 0.22),
    0 10px 20px rgba(0, 0, 0, 0.28) !important;
  overflow: visible !important;
}

body:not(.game-active) .variant-group legend,
body:not(.game-active) .level-group legend,
body:not(.game-active) .home-options-section h2,
body:not(.game-active) .competition-entry .online-kicker {
  position: absolute !important;
  top: -0.72em !important;
  left: clamp(12px, 3.5vw, 22px) !important;
  width: auto !important;
  max-width: calc(100% - 28px) !important;
  padding: 0 0.7em !important;
  color: transparent !important;
  background: linear-gradient(90deg, rgba(10, 7, 4, 0), rgba(10, 7, 4, 0.97) 18%, rgba(10, 7, 4, 0.97) 82%, rgba(10, 7, 4, 0)) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(14px, 3.2vw, 20px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  z-index: 2 !important;
}

body:not(.game-active) .variant-group legend::before {
  content: "Speelvariant" !important;
  color: #e7ad42 !important;
}

body:not(.game-active) .level-group legend::before {
  content: "AI-niveau" !important;
  color: #e7ad42 !important;
}

body:not(.game-active) .home-options-section h2::before {
  content: "Opties" !important;
  color: #e7ad42 !important;
}

body:not(.game-active) .competition-entry .online-kicker::before {
  content: "Competitie" !important;
  color: #e7ad42 !important;
}

body:not(.game-active) .variant-group,
body:not(.game-active) .level-group {
  display: grid !important;
  gap: clamp(10px, 2.6vw, 14px) !important;
}

body:not(.game-active) .variant-group {
  grid-template-columns: 1fr !important;
}

body:not(.game-active) .level-group {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body:not(.game-active) .variant-group .menu-choice,
body:not(.game-active) .level-group .menu-choice,
body:not(.game-active) .home-action-card,
body:not(.game-active) .premium-action {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 70px !important;
  height: auto !important;
  margin: 0 !important;
  padding: clamp(10px, 2.6vw, 14px) !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(10px, 2.8vw, 14px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(205, 129, 31, 0.82) !important;
  border-radius: clamp(9px, 2.6vw, 15px) !important;
  background:
    linear-gradient(180deg, rgba(46, 27, 11, 0.96), rgba(13, 9, 5, 0.97)),
    radial-gradient(circle at 50% 0%, rgba(236, 174, 58, 0.1), transparent 62%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 232, 166, 0.14), 0 5px 12px rgba(0, 0, 0, 0.22) !important;
  color: #fff0ca !important;
  text-align: left !important;
}

body:not(.game-active) .variant-group .menu-choice:has(input:checked),
body:not(.game-active) .level-group .menu-choice:has(input:checked),
body:not(.game-active) .home-action-card.primary {
  border-color: rgba(255, 211, 91, 0.98) !important;
  background:
    linear-gradient(180deg, rgba(30, 106, 35, 0.98), rgba(11, 63, 21, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(255, 230, 133, 0.24), transparent 66%) !important;
  box-shadow: 0 0 0 1px rgba(255, 224, 105, 0.26), 0 0 18px rgba(228, 179, 58, 0.2) !important;
}

body:not(.game-active) .variant-group .menu-choice::before,
body:not(.game-active) .level-group .menu-choice::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 clamp(46px, 12vw, 62px) !important;
  width: clamp(46px, 12vw, 62px) !important;
  height: clamp(46px, 12vw, 62px) !important;
  background: center / contain no-repeat !important;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.5)) !important;
}

body:not(.game-active) .variant-group .menu-choice::before {
  background-image: url("./assets/vertical-menu/icon-amsterdams.png") !important;
}

body:not(.game-active) .variant-group .menu-choice:nth-of-type(2)::before {
  background-image: url("./assets/vertical-menu/icon-rotterdams.png") !important;
}

body:not(.game-active) .level-group .menu-choice {
  min-height: 86px !important;
  padding: clamp(9px, 2.4vw, 12px) !important;
  flex-direction: column !important;
  justify-content: center !important;
  text-align: center !important;
}

body:not(.game-active) .level-group .menu-choice::before {
  flex-basis: clamp(34px, 9vw, 48px) !important;
  width: clamp(34px, 9vw, 48px) !important;
  height: clamp(34px, 9vw, 48px) !important;
  background-image: url("./assets/vertical-menu/icon-tafels.png") !important;
}

body:not(.game-active) .level-group .menu-choice:nth-of-type(2)::before {
  background-image: url("./assets/vertical-menu/icon-eenvoudig.png") !important;
}

body:not(.game-active) .level-group .menu-choice:nth-of-type(3)::before {
  background-image: url("./assets/vertical-menu/icon-ranglijst.png") !important;
}

body:not(.game-active) .variant-group .menu-choice span,
body:not(.game-active) .level-group .menu-choice span,
body:not(.game-active) .home-action-card > span:not(.home-action-icon),
body:not(.game-active) .premium-action .premium-action-text {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  display: block !important;
  position: static !important;
}

body:not(.game-active) .variant-group .menu-choice strong,
body:not(.game-active) .level-group .menu-choice strong,
body:not(.game-active) .home-action-card strong,
body:not(.game-active) .premium-action-text {
  display: block !important;
  color: #fff1d0 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(15px, 3.9vw, 22px) !important;
  font-weight: 650 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: normal !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body:not(.game-active) .level-group .menu-choice strong {
  font-size: clamp(12px, 3vw, 17px) !important;
  text-align: center !important;
}

body:not(.game-active) .variant-group .menu-choice small,
body:not(.game-active) .level-group .menu-choice small,
body:not(.game-active) .home-action-card small {
  display: block !important;
  margin-top: 4px !important;
  color: rgba(255, 230, 190, 0.88) !important;
  font-size: clamp(10px, 2.55vw, 14px) !important;
  line-height: 1.2 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body:not(.game-active) .level-group .menu-choice small {
  display: none !important;
}

body:not(.game-active) .home-action-grid {
  width: 100% !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto !important;
  gap: clamp(10px, 2.4vw, 14px) !important;
}

body:not(.game-active) .home-action-card {
  min-height: 74px !important;
}

body:not(.game-active) .home-action-icon {
  flex: 0 0 clamp(42px, 11vw, 56px) !important;
  width: clamp(42px, 11vw, 56px) !important;
  height: clamp(42px, 11vw, 56px) !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: center / contain no-repeat !important;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.5)) !important;
}

body:not(.game-active) .home-action-card:nth-child(1) .home-action-icon {
  background-image: url("./assets/vertical-menu/icon-tafels.png") !important;
}

body:not(.game-active) .home-action-card:nth-child(2) .home-action-icon {
  background-image: url("./assets/vertical-menu/icon-speel-nu.png") !important;
}

body:not(.game-active) .home-action-card:nth-child(3) .home-action-icon {
  background-image: url("./assets/vertical-menu/icon-instellingen.png") !important;
}

body:not(.game-active) .home-action-icon svg {
  display: none !important;
}

body:not(.game-active) .competition-entry {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(10px, 2.4vw, 14px) !important;
}

body:not(.game-active) .competition-copy,
body:not(.game-active) .home-highscore,
body:not(.game-active) .online-entry-actions {
  min-width: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
}

body:not(.game-active) .competition-copy {
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(10px, 2.8vw, 14px) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:not(.game-active) .competition-copy::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 clamp(42px, 11vw, 56px) !important;
  width: clamp(42px, 11vw, 56px) !important;
  height: clamp(42px, 11vw, 56px) !important;
  background: url("./assets/vertical-menu/icon-ranglijst.png") center / contain no-repeat !important;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.5)) !important;
}

body:not(.game-active) .competition-copy strong {
  color: #fff1d0 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(17px, 4.4vw, 24px) !important;
  font-weight: 650 !important;
  line-height: 1.18 !important;
}

body:not(.game-active) .competition-copy p {
  margin: 4px 0 0 !important;
  color: rgba(255, 230, 190, 0.88) !important;
  font-size: clamp(11px, 2.7vw, 15px) !important;
  line-height: 1.24 !important;
}

body:not(.game-active) .home-highscore {
  min-height: 86px !important;
  padding: clamp(10px, 2.6vw, 14px) !important;
  display: grid !important;
  grid-template-columns: clamp(48px, 13vw, 64px) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: clamp(10px, 2.8vw, 14px) !important;
  border: 1px solid rgba(205, 129, 31, 0.82) !important;
  border-radius: clamp(9px, 2.6vw, 15px) !important;
  background: linear-gradient(180deg, rgba(43, 27, 13, 0.9), rgba(15, 10, 6, 0.92)) !important;
  overflow: hidden !important;
}

body:not(.game-active) .home-trophy {
  grid-row: 1 / span 3 !important;
  width: clamp(48px, 13vw, 64px) !important;
  height: clamp(48px, 13vw, 64px) !important;
}

body:not(.game-active) .winner-label,
body:not(.game-active) .home-highscore small {
  color: #e7ad42 !important;
  font-size: clamp(10px, 2.6vw, 14px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  white-space: normal !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
}

body:not(.game-active) .home-highscore strong {
  color: #fff1d0 !important;
  font-size: clamp(18px, 4.8vw, 26px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body:not(.game-active) .online-entry-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(8px, 2vw, 12px) !important;
}

body:not(.game-active) .premium-action {
  min-height: 56px !important;
}

body:not(.game-active) .premium-action-icon {
  flex: 0 0 clamp(30px, 8vw, 42px) !important;
  width: clamp(30px, 8vw, 42px) !important;
  height: clamp(30px, 8vw, 42px) !important;
  color: #f5d680 !important;
}

body:not(.game-active) .premium-action small {
  display: block !important;
  flex: 0 0 auto !important;
  padding: 2px 10px !important;
  border: 1px solid rgba(239, 184, 70, 0.85) !important;
  border-radius: 999px !important;
  color: #f3c65f !important;
  font-size: clamp(10px, 2.4vw, 13px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}

body:not(.game-active) .menu-error {
  display: none !important;
}

body:not(.game-active) .start-menu-panel > .start-game-button {
  order: 99 !important;
  width: 100% !important;
  min-height: clamp(72px, 10dvh, 98px) !important;
  height: auto !important;
  margin: 0 !important;
  padding: clamp(12px, 3vw, 18px) clamp(18px, 4vw, 26px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(12px, 3vw, 18px) !important;
  border: 2px solid rgba(255, 210, 89, 0.95) !important;
  border-radius: clamp(12px, 3.2vw, 18px) !important;
  background:
    linear-gradient(180deg, rgba(33, 130, 40, 0.98), rgba(8, 82, 22, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(255, 230, 128, 0.25), transparent 65%) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 244, 185, 0.24),
    0 0 20px rgba(255, 197, 64, 0.18),
    0 12px 20px rgba(0, 0, 0, 0.34) !important;
  color: #f8d884 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(30px, 7.8vw, 46px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.58) !important;
  overflow: hidden !important;
}

body:not(.game-active) .start-menu-panel > .start-game-button::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 clamp(38px, 10vw, 56px) !important;
  width: clamp(38px, 10vw, 56px) !important;
  height: clamp(38px, 10vw, 56px) !important;
  background: url("./assets/vertical-menu/icon-speel-nu.png") center / contain no-repeat !important;
}

@media (min-width: 760px) and (orientation: landscape) {
  body:not(.game-active) .start-menu {
    height: 100dvh !important;
    overflow: hidden !important;
    padding: clamp(12px, 2dvh, 26px) clamp(14px, 2vw, 34px) !important;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.34)),
      url("./assets/vertical-menu/background-staand.png") center / cover no-repeat !important;
  }

  body:not(.game-active) .start-menu-stage {
    width: min(100%, 1520px) !important;
    height: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr) !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    gap: clamp(16px, 2vw, 28px) !important;
    align-items: center !important;
  }

  body:not(.game-active) .brand-showcase {
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: min(78dvh, 720px) !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  body:not(.game-active) .start-menu-panel {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    width: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
    align-content: center !important;
    gap: clamp(10px, 1.45dvh, 16px) !important;
  }

  body:not(.game-active) .variant-group {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body:not(.game-active) .home-action-grid,
  body:not(.game-active) .online-entry-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body:not(.game-active) .competition-entry {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  body:not(.game-active) .online-entry-actions {
    grid-column: 1 / -1 !important;
  }

  body:not(.game-active) .start-menu-panel > .start-game-button {
    min-height: clamp(58px, 10dvh, 90px) !important;
    font-size: clamp(28px, 3.4vw, 52px) !important;
  }
}
