/* Homepage guide only. Existing offers, registration and POS styles stay intact. */
body.home-page .hmv-guide { margin-top: 22px; padding: 18px; min-width: 0; border: 1px solid rgba(255,228,169,.35); border-radius: 16px; background: rgba(20,8,15,.35); }
body.home-page .hero-content .hmv-guide h2 { margin: 0 0 8px; color: #ffe5a1; font: 700 20px/1.3 'Segoe UI',Arial,sans-serif; letter-spacing: 0; }
body.home-page .hero-content .hmv-guide p { margin: 0 0 14px; color: #fff5ed; font: 400 15px/1.55 'Segoe UI',Arial,sans-serif; overflow-wrap: anywhere; }
.hmv-launch { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 12px; border: 1px solid #edcf8e; border-radius: 12px; background: #ffe6ae; color: #3c2030; font: 700 15px/1.3 'Segoe UI',Arial,sans-serif; cursor: pointer; text-align: left; }
.hmv-launch svg { flex: 0 0 auto; }
.hmv-launch span { min-width: 0; overflow-wrap: anywhere; }
.hmv-launch small { display: block; margin-top: 3px; color: #66434e; font-size: 12px; font-weight: 500; }
.hmv-launch:hover { background: #fff2d5; }
.hmv-launch:focus-visible, .home-member-video-modal button:focus-visible, #homeMemberVideo:focus-visible { outline: 3px solid #f3cc77; outline-offset: 4px; }
#homeMemberVideoLaunch[hidden], #homeMemberVideoModal[hidden], #homeMemberVideoRetry[hidden] { display: none !important; }
body.home-page .home-member-video-modal { position: fixed; inset: 0; z-index: 10050; align-items: center; justify-content: center; width: 100%; height: 100vh; height: 100dvh; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: rgba(16,8,16,.92); overscroll-behavior: contain; }
body.home-page .home-member-video-modal.active { display: flex; }
.hmv-panel { display: flex; flex-direction: column; width: min(1200px, 100%); max-width: 100%; min-height: 0; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; background: #211a26; color: #fff; border: 1px solid #94747f; border-radius: 18px; box-shadow: 0 20px 70px #0008; animation: hmvOpen .18s ease-out; }
.hmv-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; flex: 0 0 auto; }
.hmv-heading h2 { min-width: 0; margin: 0; color: #fff0e2; font: 600 clamp(16px,2.1vw,24px)/1.35 'Segoe UI',Arial,sans-serif; overflow-wrap: anywhere; }
.home-member-video-modal button { flex: 0 0 auto; min-height: 44px; padding: 8px 14px; border: 1px solid #b08b99; border-radius: 10px; background: #452b3c; color: #fff; font: 600 15px/1.3 'Segoe UI',Arial,sans-serif; cursor: pointer; }
#homeMemberVideoClose span { margin-left: 6px; font-size: 23px; vertical-align: middle; }
#homeMemberVideo { display: block; width: 100%; height: auto; min-height: 0; max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); flex: 0 1 auto; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
#homeMemberVideo::cue { color: #fff; background-color: rgba(0,0,0,.92); font-family: 'Segoe UI',Arial,sans-serif; font-size: clamp(20px,2.65vw,38px); font-weight: 700; line-height: 1.3; text-shadow: 1px 1px 2px #000; }
.hmv-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 10px 18px 14px; flex: 0 0 auto; }
.hmv-bottom p { margin: 0; color: #f4e8ef; font: 14px/1.4 'Segoe UI',Arial,sans-serif; }
@keyframes hmvOpen { from { opacity: .4; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 380px) {
    body.home-page .hmv-guide { padding: 14px; }
    .hmv-launch { padding: 10px; font-size: 14px; }
    .hmv-heading { padding: 10px; gap: 8px; }
}
@media (max-height: 500px) {
    .hmv-heading { padding: 6px 12px; }
    .hmv-bottom { padding: 6px 12px; }
    #homeMemberVideo { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); }
}
@media (prefers-reduced-motion: reduce) { .hmv-panel { animation: none; } }
