/* PH34 original identity, with a responsive game-guide layout. */
:root {
  color-scheme: dark;
  --page: #000;
  --hero: #0c1222;
  --header: #1a2237;
  --card: #1a223a;
  --text: #f1f1f1;
  --green: #94ff7f;
  --blue: #2283f6;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--page); color: var(--text); font: 16px/1.6 Arial, Helvetica, sans-serif; }
body:has(.menu-dialog[open]) { overflow: hidden; }
button, input, summary { font: inherit; }
button, summary { cursor: pointer; }
a { color: #ffef46; text-decoration: none; }
a:hover { color: #ffb849; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ffef46; outline-offset: 4px; }
h1, h2, h3, p { margin: 0 0 20px; }
h1, h2, h3 { line-height: 1.3; }
h2 { padding-left: 6px; border-left: 5px solid var(--blue); color: #fff; font-size: 28.8px; }
h3 { color: var(--green); font-size: 24px; }
.ph-wrap { max-width: 1250px; padding: 0 15px; margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 15px; z-index: 20; background: #fff; color: #111; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.ph-icon { display: inline-block; position: relative; width: 22px; height: 22px; vertical-align: middle; }
.ph-icon-menu::before { content: ""; position: absolute; width: 20px; height: 2px; left: 1px; top: 10px; background: currentColor; box-shadow: 0 -6px currentColor, 0 6px currentColor; }
.ph-icon-search::before { content: ""; position: absolute; width: 13px; height: 13px; left: 1px; top: 1px; border: 2px solid currentColor; border-radius: 50%; }
.ph-icon-search::after { content: ""; position: absolute; width: 9px; height: 2px; left: 13px; top: 16px; background: currentColor; transform: rotate(45deg); }
.ph-icon-up::before, .ph-icon-down::before { content: ""; position: absolute; width: 10px; height: 10px; left: 6px; top: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(-45deg); }
.ph-icon-down::before { top: 3px; transform: rotate(135deg); }
.ph-header { position: sticky; top: 0; z-index: 10; background: var(--header); }
.header-row { height: 75px; display: flex; align-items: center; gap: 20px; padding: 0 15px; }
.ph-brand { flex: 0 0 115px; color: #eee; text-align: center; }
.ph-brand img { width: 115px; height: auto; }
.ph-brand small { display: block; font-size: 9px; line-height: 13px; color: #e0e3e8; letter-spacing: .15px; white-space: nowrap; }
.menu-toggle { flex: 0 0 40px; width: 40px; height: 44px; padding: 0; border: 0; background: transparent; font-size: 24px; }
.desktop-nav { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 15px; min-width: 0; }
.desktop-nav a { color: #cdd0d9; white-space: nowrap; text-transform: uppercase; font-weight: 700; font-size: 12.8px; line-height: 1.25; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: #fff; }
.aff-hdr { display: flex; gap: 7px; flex: 0 0 auto; }
.aff-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; padding: 5px 13px; border: 1px solid #ffffa1; border-radius: 5px; background: linear-gradient(10deg, #fff 0%, #ffff7f 100%); color: #945000; font-size: 13px; font-weight: 700; line-height: 1.25; text-align: center; }
.aff-btn:hover { background: #ffffb0; color: #703c00; }
.aff-btn small { font-size: 9px; font-weight: 400; line-height: 1.4; }
.aff-btn:not(.aff-btn-ghost) { box-shadow: -4px -4px 15px #16c60c77, 4px 4px 15px #00ffff88; }
.aff-btn-ghost { background: transparent; border-color: #697484; color: #f1f1f1; }
.aff-btn-ghost:hover { background: #263248; color: #fff; }
.ph-hero { padding: 30px 0; background: var(--hero); }
.hero-grid { display: grid; grid-template-columns: 25% 75%; max-width: 1250px; margin: 0 auto; }
.hero-art, .hero-copy { padding: 0 15px 30px; }
.hero-art img { width: 100%; }
.hero-label { display: flex; align-items: center; gap: 24px; min-height: 44.8px; font-size: 24px; font-weight: 700; line-height: 1.6; }
.hero-label img { width: 40px; height: 40px; object-fit: cover; }
.hero-copy h1 { margin: 16px 15px 16px 0; padding-bottom: 7.5px; border-bottom: 2px solid #666970; color: var(--green); font-size: 27.2px; font-weight: 700; text-transform: uppercase; }
.hero-copy p { margin-bottom: 20px; }
.ph-steps { padding: 30px 0 72px; background: var(--hero) url("/assets/brand/games-background.webp") center/cover; }
.ph-steps h2 { padding: 0; border: 0; color: var(--green); font-size: 26px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { min-height: 156px; padding: 15px; border: 1px solid var(--blue); border-radius: 20px; background: var(--card); }
.step-card p { margin: 0; }
.step-card strong { display: block; }
.brand-section { padding-top: 30px; }
.brand-preview { height: 300px; overflow: hidden; position: relative; }
.brand-preview::after { content: ""; position: absolute; inset: auto 0 0; height: 65px; background: linear-gradient(transparent, #000); pointer-events: none; }
.read-more { margin-bottom: 50px; }
.read-more > summary { display: table; list-style: none; margin: 0 auto; padding: 5px 15px; border-radius: 9px; background: #159c55; color: #fff; }
.read-more > summary::-webkit-details-marker { display: none; }
.collapse-label { display: none; }
.read-more[open] .more-label { display: none; }
.read-more[open] .collapse-label { display: inline; }
.brand-section:has(.read-more[open]) .brand-preview { display: none; }
.guide-content { padding: 30px 0 0; }
.guide-content h2, .guide-content h3 { margin-top: 32px; }
.guide-content .hero, .guide-content .wrap { width: auto; max-width: none; margin: 0; padding: 0; }
.guide-content .lead, .guide-content .lede { font-size: 18px; }
.guide-content .byline, .guide-content .eyebrow { color: #bec6d3; font-size: 13px; }
.guide-content .callout, .guide-content .toc, .guide-content .facts { padding: 20px; border: 1px solid #526275; border-radius: 12px; background: #111a29; margin: 24px 0; }
.guide-content ul, .guide-content ol { padding-left: 24px; }
.guide-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.guide-content th, .guide-content td { padding: 12px; border: 1px solid #526275; text-align: left; overflow-wrap: anywhere; }
.guide-content figure { margin: 20px 0; overflow: auto; }
.guide-content svg { max-width: 100%; height: auto; }
.guide-content code { overflow-wrap: anywhere; }
.aff-box { display: flex; flex-wrap: wrap; gap: 12px; padding: 20px 0; }
.aff-note { display: block; width: 100%; color: #cbd0d9; font-size: 12px; }
.games-section { padding-bottom: 30px; }
.game-tabs { display: flex; justify-content: space-between; gap: 15px; margin-top: 24px; margin-bottom: 16px; }
.game-tabs button { width: 20%; min-height: 50px; padding: 8px 16px; border: 1px solid var(--blue); border-radius: 5px; background: var(--card); color: #cdd0d9; text-align: left; font-size: 18px; font-weight: 700; }
.game-tabs button[aria-selected="true"] { color: #fff; }
.game-tabs button:hover { border-color: #8ee6c8; }
.game-panel { display: grid; grid-template-columns: 5fr 1fr; align-items: center; gap: 20px; padding: 16px; min-height: 273px; border: 2px solid var(--blue); border-radius: 20px; background: var(--card); }
.game-panel h3 { margin-bottom: 0; color: var(--text); }
.game-panel p { margin: 0; }
.game-panel img { width: 100%; }
.provider-note { margin: 18px 0 0; color: var(--green); }
.app-section { padding: 30px 0; background: var(--hero) url("/assets/brand/games-background.webp") center/cover; }
.app-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 30px; align-items: center; }
.app-grid img { max-height: 300px; margin: 0 auto; }
.faq-section { padding: 30px 0; }
.faq-item { margin-bottom: 6px; border: 1px solid var(--blue); border-radius: 5px; background: var(--card); }
.faq-item summary { min-height: 48px; padding: 12px 16px; }
.faq-item[open] summary { background: #127bd9; }
.faq-item p { padding: 12px 16px; margin: 0; }
.ph-footer { padding: 30px 0; border-top: 1px solid #293747; color: #cdd0d9; font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.back-to-top { position: fixed; right: 22px; bottom: 20px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid #888; border-radius: 50%; background: #000b; color: #cdd0d9; font-size: 24px; z-index: 5; }
.menu-dialog { width: 300px; max-width: calc(100vw - 55px); height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #fffffff2; color: #555; overflow: visible; }
.menu-dialog::backdrop { background: #0009; }
.menu-dialog .menu-panel { height: 100%; overflow-y: auto; }
.menu-close { position: fixed; top: 0; right: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #fff; opacity: .6; }
.menu-close:hover { opacity: 1; }
.menu-close svg { width: 28px; height: 28px; }
.menu-search { display: flex; margin: 50px 20px 20px; }
.menu-search input { width: 100%; min-width: 0; height: 40px; padding: 8px 12px; border: 1px solid #ddd; border-radius: 0; background: #fff; color: #333; font-size: 16px; }
.menu-search button { min-width: 44px; height: 40px; border: 0; background: #227a69; color: #fff; font-size: 24px; }
.drawer-nav a { display: block; padding: 16px 20px; border-top: 1px solid #e7e7e7; color: #555; font-size: 12.8px; line-height: 20px; font-weight: 700; text-transform: uppercase; }
.drawer-nav a:hover { background: #e5e5e5; color: #111; }
.search-status { margin: 14px 20px; font-size: 14px; }
@media (max-width: 1250px) {
  .header-row { gap: 12px; }
  .desktop-nav { gap: 12px; }
  .desktop-nav a { font-size: 11px; }
  .desktop-nav .extra-provider { display: none; }
}
@media (max-width: 849px) {
  html { scroll-padding-top: 140px; }
  .header-row { position: relative; height: 70px; justify-content: center; }
  .ph-brand { flex-basis: 115px; }
  .menu-toggle { position: absolute; left: 10px; top: 13px; }
  .desktop-nav { display: none; }
  .aff-hdr { position: absolute; top: 70px; left: 0; width: 100%; justify-content: center; padding: 5px 15px; background: #424242; }
  .ph-header { padding-bottom: 54px; }
  .hero-grid { grid-template-columns: 100%; }
  .hero-label { min-height: 48px; font-size: 28.8px; }
  .hero-copy h1 { font-size: 22.4px; }
  .desktop-break { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .game-tabs { gap: 8px; }
  .game-tabs button { width: auto; flex: 1; min-width: 0; padding: 8px 8px; font-size: 16px; }
  .game-panel { grid-template-columns: 1fr; }
  .game-panel img { max-width: 300px; margin: 30px auto; }
  .app-grid { grid-template-columns: 1fr; }
  .app-grid img { max-height: 330px; }
  .guide-content table { font-size: 12px; }
  .guide-content td, .guide-content th { padding: 7px; }
}
@media (max-width: 359px) {
  .game-tabs button { padding: 8px 4px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Lobby-only pages: dark document edges, privacy policy and recovery panel. */
html { background: #000000; color-scheme: dark; }
body { background: #000000; }
.lobby-privacy, .lobby-not-found {
  box-sizing: border-box;
  width: min(calc(100% - 32px), 900px);
  margin: 24px auto;
  padding: 20px;
  border: 1px solid #94ff7f55;
  border-radius: 12px;
  background: #0c1222;
  color: #edf2f7;
  font: 14px/1.6 Arial, sans-serif;
  overflow-wrap: anywhere;
  color-scheme: dark;
}
.lobby-privacy :where(.hero, .wrap, .card, .facts, .note, .page-head) {
  width: auto; max-width: none; margin: 0; padding: 0;
  background: transparent; border: 0; border-radius: 0; color: inherit;
}
.lobby-privacy :where(section, .card, .note) { margin: 18px 0 0; }
.lobby-privacy h1, .lobby-not-found h1 { margin: 0 0 12px; color: #fff; font: 700 24px/1.25 Arial, sans-serif; letter-spacing: normal; }
.lobby-privacy h2 { margin: 20px 0 8px; padding: 0; border: 0; color: #fff; font: 700 18px/1.35 Arial, sans-serif; }
.lobby-privacy h3 { margin: 16px 0 8px; color: #fff; font: 700 16px/1.4 Arial, sans-serif; }
.lobby-privacy p, .lobby-not-found p { margin: 0 0 12px; color: inherit; font-size: inherit; }
.lobby-privacy :where(ul, ol) { margin: 8px 0 12px; padding-left: 20px; }
.lobby-privacy li { margin: 4px 0; }
.lobby-privacy :where(a, a:visited), .lobby-not-found :where(a, a:visited) { color: #94ff7f; text-decoration: underline; }
.lobby-privacy :where(code, th, td) { background: transparent; color: inherit; border-color: #94ff7f55; }
.lobby-privacy :where(.lead, .lede, .standfirst, .byline, .eyebrow) { color: inherit; font-size: inherit; }
.lobby-error { min-height: 100vh; padding-bottom: 0; }
.lobby-error .lobby-shell { min-height: 100vh; }
.lobby-error .lobby-not-found { margin-top: 32px; }
/* Keep the existing policy heading's appearance after correcting its level. */
.lobby-privacy h2.privacy-page-title{margin:0 0 12px;padding:0;border:0;color:#fff;font:700 24px/1.25 Arial,sans-serif;letter-spacing:normal}
