/* Original member header with restrained, accessible navigation surfaces. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon { display: block; flex: 0 0 auto; width: 20px; height: 20px; }
[hidden] { display: none !important; }
.skip-link { z-index: 50; }
.site-header { position: relative; z-index: 30; min-height: 60px; padding: 0 24px; background: var(--page); border: 0; }
.header-inner { display: flex; align-items: center; gap: 12px; width: min(100%, 1320px); min-height: 60px; margin-inline: auto; }
.brand { display: inline-flex; flex-shrink: 0; margin-right: auto; text-decoration: none; }
.brand img { display: block; width: 100px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a, .site-nav button, .nav-casino > summary { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0; background: none; border: 0; color: var(--text); font-size: 1rem; font-weight: 600; white-space: nowrap; text-align: left; text-decoration: none; cursor: pointer; }
.site-nav > .nav-link > .icon, .nav-home > a > .icon, .nav-casino > summary > .icon { display: none; }
.site-nav a:hover, .site-nav button:hover { color: var(--accent); }
.nav-home { position: relative; }
.nav-toolbar { display: none; }
.nav-dismiss-mobile { display: none !important; }
.nav-casino { position: relative; }
.nav-casino > summary { list-style: none; }
.nav-casino > summary::-webkit-details-marker { display: none; }
.nav-chevron { display: none; }
.casino-links { position: absolute; top: 100%; left: -16px; min-width: 190px; padding: 8px; background: #21162f; border: 1px solid #493654; border-radius: 10px; }
.casino-links .nav-link { width: 100%; padding: 8px 16px; color: #f2edf7; font-size: .9375rem; }
.casino-links .nav-link:hover, .casino-links .nav-link:focus-visible { background: #33253f; color: #f5d98c; }
.casino-links .icon { width: 18px; height: 18px; color: #bca8cf; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 35px; padding: 7px 17px; border: 0; border-radius: 100px; color: #222; font-size: .875rem; font-weight: 700; line-height: 1.5; white-space: nowrap; text-decoration: none; }
.header-button .icon { width: 14px; height: 14px; stroke-width: 3; }
.register-link { background: #ebebeb; }
.login-link { background: var(--accent); }
.menu-toggle { display: none; flex: 0 0 32px; align-items: center; justify-content: center; width: 32px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--text); }
.menu-toggle .icon { width: 27px; height: 27px; stroke-width: 2.5; }
.menu-toggle .icon:last-child { display: none; }
.menu-toggle[aria-expanded="true"] .icon:first-child { display: none; }
.menu-toggle[aria-expanded="true"] .icon:last-child { display: block; }
.availability-message { display: flex; align-items: flex-start; gap: 16px; width: min(calc(100% - 40px), 600px); margin: 12px auto 0; padding: 16px 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.availability-message strong { color: var(--accent); }
.availability-message p { margin: 4px 0 0; font-size: .875rem; color: var(--muted); }
.dismiss-message { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; margin: -8px -8px -8px auto; border: 0; background: none; color: var(--text); }
.site-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 20px; min-height: 44px; padding: 10px 24px; color: var(--muted); font-size: .75rem; }
@media (max-width: 1199px) {
    .site-header { padding-inline: 16px; }
    .site-nav { display: none; position: absolute; top: 60px; left: auto; right: 12px; width: min(360px, calc(100% - 24px)); max-height: calc(100dvh - 76px); max-height: calc(100dvh - 76px - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 8px; background: #21162f; border: 1px solid #493654; border-radius: 12px; }
    .site-nav[data-open] { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding-left: 12px; margin-bottom: 4px; border-bottom: 1px solid #493654; color: #cbbbd8; font-size: .8125rem; font-weight: 500; }
    .site-nav > .nav-link, .nav-home > a, .nav-casino > summary { width: 100%; min-height: 48px; padding: 11px 12px; gap: 12px; border-radius: 7px; color: #f2edf7; font-size: 1rem; font-weight: 500; line-height: 1.5; white-space: normal; }
    .site-nav > .nav-link:hover, .nav-home > a:hover, .nav-casino > summary:hover, .nav-casino[open] > summary { background: #33253f; color: #f5d98c; }
    .site-nav a:focus-visible, .site-nav button:focus-visible, .nav-casino > summary:focus-visible { outline: 2px solid #d4b4f4; outline-offset: -2px; }
    .site-nav > .nav-link > .icon, .nav-home > a > .icon, .nav-casino > summary > .icon { display: block; width: 20px; height: 20px; color: #bca8cf; stroke-width: 2; }
    .site-nav .nav-dismiss-mobile { display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 7px; color: #cbbbd8; }
    .site-nav .nav-dismiss-mobile:hover { background: #33253f; color: #f2edf7; }
    .nav-dismiss-mobile .icon { width: 20px; height: 20px; }
    .nav-casino { background: transparent; border: 0; border-radius: 0; }
    .nav-chevron { display: block; margin-left: auto; color: #bca8cf; transition: transform 160ms ease-out; }
    .nav-chevron .icon { width: 16px; height: 16px; }
    .nav-casino[open] .nav-chevron { transform: rotate(180deg); }
    .casino-links { position: static; width: auto; min-width: 0; margin: 4px 8px 6px 22px; padding: 4px 0 4px 12px; background: #191021; border: 0; border-left: 2px solid #604a72; border-radius: 0 6px 6px 0; }
    .casino-links .nav-link { min-height: 44px; padding: 9px 12px; gap: 12px; border-radius: 6px; font-size: .9375rem; font-weight: 400; line-height: 1.5; white-space: normal; }
    .casino-links .icon { color: #bca8cf; }
    .menu-toggle { display: inline-flex; height: 44px; }
    .menu-toggle[aria-expanded="true"] { color: #e4ccf5; }
}
@media (prefers-reduced-motion: reduce) { .nav-chevron { transition: none; } }
@media (max-width: 560px) {
    .brand img { width: 94px; }
    .header-inner { gap: 6px; }
    .header-button { padding-inline: 16px; }
}
@media (max-width: 359px) {
    .site-header { padding-inline: 12px; }
    .brand img { width: 84px; }
    .header-inner { gap: 4px; }
    .header-button { padding-inline: 10px; font-size: .8125rem; }
    .menu-toggle { width: 28px; flex-basis: 28px; }
}
