/* Golf Explorer: simple global navigation, account menu and My Golf page. */
#navProfile{display:flex;align-items:center;gap:10px}
.demoGolferLabel{font-size:12px;color:#d2ddb9;white-space:nowrap}
.golferAccountMenu{position:relative;z-index:50}
.golferAccountMenu>summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none}
.golferAccountMenu>summary::-webkit-details-marker{display:none}
.accountInitial{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;background:#c8d9a1;color:#173325;border-radius:50%;font-weight:750}
.golferAccountLinks{position:absolute;right:0;top:calc(100% + 12px);width:min(300px,calc(100vw - 24px));max-height:min(72dvh,680px);overflow-y:auto;overscroll-behavior:contain;padding:12px;display:grid;gap:4px;background:#192e23;color:#e6eed8;border:1px solid #728566;border-radius:14px;box-shadow:0 16px 30px #0008;z-index:100}
.golferAccountLinks strong{padding:9px 10px;color:#e9e0bf;font-size:13px}
.golferAccountLinks button,.golferAccountLinks a{display:block;box-sizing:border-box;width:100%;background:transparent;border:0;text-decoration:none;text-align:left;font:inherit;color:inherit;padding:11px 10px;border-radius:8px;cursor:pointer}
.golferAccountLinks button:hover,.golferAccountLinks a:hover,.golferAccountLinks :focus-visible{background:#314c38;outline-color:#d8d29d}
.golferAccountLinks hr{width:100%;border:0;border-top:1px solid #4c634e}
.myGolfDashboard[hidden],#discovery[hidden],.discoveryHero[hidden]{display:none!important}
.myGolfDashboard{min-height:calc(100vh - 90px)}
.myGolfHero{padding:32px 6px 20px}
.myGolfHero>p:first-child{letter-spacing:.16em;font-size:11px;color:#c2d4a1}
.myGolfHero h1{font-size:clamp(30px,4vw,45px);margin:10px 0}
.myGolfHero>p:last-child{color:#b5c9b5}
.myGolfTiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-bottom:44px}
.myGolfTiles section{background:#1b3125;border:1px solid #597056;border-radius:18px;padding:25px;display:flex;flex-direction:column;gap:13px}
.myGolfTiles h2{font-size:21px;margin:0;color:#f0eddb}
.myGolfTiles p{margin:0 0 5px;color:#bfcebc}
.myGolfTiles .btn{align-self:flex-start}
.myGolfActions{display:flex;flex-wrap:wrap;gap:8px}
.navLinks a[aria-current="page"]{color:#f5e5ae;text-decoration:underline;text-underline-offset:8px}
@media(max-width:720px){.myGolfTiles{grid-template-columns:1fr}.myGolfTiles section{padding:18px}.golferAccountLinks{right:0;max-width:min(235px,88vw)}.demoGolferLabel{font-size:11px}.myGolfHero{padding-top:16px}}

.navLinks a[hidden]{display:none!important}

/* Guest preview and sign-in prompts stay inside the existing design system. */
#guestSaveDialog,#demoGolferDialog{width:min(490px,calc(100vw - 26px));max-height:85dvh;overflow:auto;padding:26px;background:#1a3125;border:1px solid #84966a;border-radius:18px;color:#f0eddf;box-shadow:0 18px 50px #0008}
#guestSaveDialog::backdrop,#demoGolferDialog::backdrop{background:#06140fbd}
#guestSaveDialog h2,#demoGolferDialog h2{font-size:23px;margin:0 0 14px}
#guestSaveDialog p,#demoGolferDialog p{line-height:1.6;color:#c5d5c3}
.guestDialogActions{display:flex;flex-wrap:wrap;gap:11px;margin-top:25px}
.guestDialogActions button{min-height:45px;flex:1}
@media(max-width:520px){#guestSaveDialog,#demoGolferDialog{padding:18px}.guestDialogActions{flex-direction:column}}

.myGolfPlanLink{width:100%;text-align:left;background:#2b4835;border:1px solid #64775c;border-radius:10px;color:#f0f3e6;padding:12px 14px;cursor:pointer}
.myGolfPlanLink small{display:block;margin-top:4px;color:#c5d7c2}
.myGolfPlanLink:hover,.myGolfPlanLink:focus-visible{background:#406247}
.myGolfTiles section>div[id^="myGolf"]{display:grid;gap:9px}
@media(max-width:600px){
 .siteNav{flex-wrap:nowrap;gap:8px}
 .navLinks{order:0;flex-basis:auto;justify-content:center;border:0;margin:0 0 0 auto;padding:0}
 .navLinks a,.navLink{padding:8px;font-size:12px}
 #navProfile{margin-left:0}
 .golferAccountMenu>summary{padding:6px 9px}
}
@media(max-width:385px){
 .siteLogo>span{font-size:15px}
 .siteLogo small{font-size:8px}
 .demoGolferLabel{display:none}
 .golferAccountMenu>summary span:last-child{display:none}
}

.setupReminder[hidden]{display:none}.setupReminder{margin:0;padding:9px 20px;background:#304936;display:flex;gap:12px;justify-content:flex-end;align-items:center;font-size:13px}.setupReminder button{padding:8px 12px}.demoPlanningBadge{margin:7px 0;color:#e2d7a0;font-size:12px}

.myGolfPlanProgress{display:block;width:100%;height:8px;margin-top:8px;appearance:none;border:0;border-radius:5px;overflow:hidden;background:#142e24;color:#aac881}
.myGolfPlanProgress::-webkit-progress-bar{background:#142e24;border-radius:5px}
.myGolfPlanProgress::-webkit-progress-value{background:#aac881;border-radius:5px}
.myGolfPlanProgress::-moz-progress-bar{background:#aac881;border-radius:5px}
#myGolfContinuePlan .myGolfPlanProgress{height:10px;margin:0 0 13px}

.welcomeBanner{margin:14px auto;padding:16px 20px;max-width:calc(100% - 32px);width:1120px;background:#21382b;border:1px solid #6b8158;border-radius:12px}
.welcomeBanner h2{margin:0 0 6px;font-size:clamp(19px,3vw,24px);color:#f0e9cb}
.welcomeBanner p,.welcomeBanner small{color:#d3dfc6}
.welcomeBanner p{margin:0 0 12px}
.welcomeActions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:9px}
.setupReminder{justify-content:space-between;flex-wrap:wrap;border-radius:8px}
.setupReminder p{margin:0}
#tour .setupReminder{margin:0 0 12px}
button.onboardingGold,a.onboardingGold,#tour a.onboardingGold,#tour button.onboardingGold{background:#eed48a;color:#253120;border:1px solid #f4e1a9;font-weight:700}
button.onboardingGold:hover,a.onboardingGold:hover,#tour a.onboardingGold:hover,#tour button.onboardingGold:hover{background:#f7e3a6}
.onboardingGold:focus-visible{outline:2px solid #fff4ce;outline-offset:3px}

.welcomeBanner[hidden],#finishSetupReminder[hidden]{display:none}

.golferMenuGroup summary{padding:11px 10px;border-radius:8px;cursor:pointer}
.golferMenuGroup summary:hover{background:#314c38}
.golferMenuGroup summary::marker{color:#adbc95}
.golferMenuGroup[open]>a,.golferMenuGroup[open]>button{padding-inline-start:27px}

/* The negative search offset is reserved for the hero when the guest banner is hidden. */
#golfWelcome:not([hidden]) ~ #discovery{margin-top:16px}
