/* GOF photo-free directory: no stock, third-party, or placeholder course imagery. */
#courseCard .v5-profile-hero,
#listSheet .v5-course-media,
.gof-event-dialog .v5-course-media,
.gof-event-dialog .v5-profile-hero { display:none!important; }
#courseCard.v43-sheet.v5-course-profile .v43-content { padding-top:0; }

/* Reclaim the space previously reserved for images on every screen size. */
#courseCard.v43-sheet.v5-course-profile { padding-top:18px!important; }
#courseCard.v43-sheet.v5-course-profile .v53-summary { margin-top:0!important; }
#listSheet.v5-list .list-card { min-height:0!important; }
@media(min-width:1000px){ #listSheet.v5-list .list-card { min-height:0!important; } }
@media(max-width:800px){
  body.v600-map-active #courseCard.v43-sheet.v53-focused-card:not(.v53-peek){ padding-top:16px!important; }
  body.v600-map-active #courseCard.v53-focused-card:not(.v53-peek) .v46-course-tabs{ top:0!important; }
}

/* Mobile course-sheet density: keep the two destinations clear without oversized tab cards. */
@media(max-width:800px){
  #courseCard .v46-course-tabs{gap:4px!important;padding:4px!important;margin:12px 0 10px!important;border-radius:12px!important;}
  #courseCard .v46-course-tabs button{min-height:44px!important;padding:8px 5px!important;font-size:13px!important;line-height:1.25!important;border-radius:9px!important;}
  #courseCard .v43-tags{margin:8px 0!important;}
  #courseCard .v46-course-panels .v43-extra{padding:12px!important;margin-bottom:12px!important;}
  #courseCard .v46-course-panels .v43-event{padding:12px!important;}
}

/* Simplified course sheet: match map/save actions to Played, Wishlist and Trip. */
#courseCard.v53-focused-card .v53-summary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 8px;}
#courseCard.v53-focused-card .v53-summary-actions button{min-height:44px!important;padding:10px 8px!important;border:1px solid #cbdacb!important;border-radius:11px!important;background:#f6f8f4!important;color:#254e39!important;font-size:14px!important;font-weight:500!important;line-height:1.25!important;box-shadow:none!important;}
#courseCard.v53-focused-card .v53-summary-actions button:hover{background:#edf3eb!important;}
#courseCard.v53-focused-card .v53-summary-actions button:focus-visible{outline:3px solid #3e9261;outline-offset:2px;}
#courseCard.v53-focused-card .v53-location-tag,#courseCard.v53-focused-card .v53-no-opens{display:none!important;}
@media(max-width:800px){#courseCard.v53-focused-card .v53-summary-actions button{font-size:13px!important;min-height:48px!important;}#courseCard.v53-focused-card .v53-summary{margin-bottom:10px!important;}}

/* Course sheet: Upcoming Opens tab already communicates the count. Hide duplicate count-only pill, not ranking or course-type badges. */
#courseCard.v53-focused-card .v43-tags .v43-pill[data-gof-opens-count]{display:none!important;}

/* Lightweight numbered course clusters for low-zoom map views. */
.gof-cluster-wrap{background:transparent;border:0;}
.gof-cluster-count{display:grid;place-items:center;width:36px;height:36px;border:2px solid #fff;border-radius:50%;background:#174b36;color:#fff;font:700 12px/1 system-ui,sans-serif;box-shadow:0 2px 9px #173f3155;}

/* Consistent main navigation on all mobile GOF pages, not just the Map. */
@media(max-width:800px){
 :root{--v600-nav:calc(62px + env(safe-area-inset-bottom));}
 .app>.v600-bottom-nav{display:flex!important;position:fixed!important;left:0;right:0;bottom:0;z-index:1000;height:var(--v600-nav);padding:4px 10px max(4px,env(safe-area-inset-bottom));background:#fffefb;border-top:1px solid #e2e8da;align-items:stretch;box-shadow:0 -1px 10px #173f3107;}
 .app>.v600-bottom-nav button{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:48px;background:none;border:0;color:#52664c;font-size:10px;padding:3px 0;}
 .app>.v600-bottom-nav button svg{width:21px!important;height:21px!important;}
 .app>.v600-bottom-nav button[aria-current=page]{color:#1e5135;font-weight:700;}
 .app>.v600-bottom-nav button[aria-current=page] svg{background:#e6efdc;box-sizing:content-box;padding:3px 14px;border-radius:15px;margin:-3px -14px;}
 body:not(.v600-map-active) .header .nav{display:none!important;}
 body:not(.v600-map-active) .app{padding-bottom:var(--v600-nav);box-sizing:border-box;}
 body:not(.v600-map-active) .main{padding-bottom:12px;min-height:0;}
}
@media(min-width:801px){.app>.v600-bottom-nav{display:none!important;}}

/* Map-first iPhone view: results are available on demand, not permanently covering the map. */
.v600-floating-browse{display:none;}
@media(max-width:800px){
 body.v600-map-active #v600Results[data-snap="0"]{height:0!important;min-height:0!important;overflow:hidden!important;border:0!important;box-shadow:none!important;pointer-events:none!important;}
 body.v600-map-active .v600-floating-browse:not([hidden]){display:block;position:fixed;z-index:35;left:50%;transform:translateX(-50%);bottom:calc(var(--v600-nav) + 40px);min-height:44px;padding:10px 20px;border-radius:24px;border:1px solid #d5e1d1;background:#fffef9;color:#174b36;font:600 14px system-ui,sans-serif;box-shadow:0 4px 18px #153c3026;white-space:nowrap;}
}

/* Completely remove the collapsed results sheet from the iPhone map; Browse results opens it on demand. */
@media(max-width:800px){body.v600-map-active #v600Results[data-snap="0"]{display:none!important;}body.v600-map-active .v600-floating-browse:not([hidden]){display:block!important;}}

/* Keep Browse results above Leaflet panes and within the interactive map workspace. */
@media(max-width:800px){body.v600-map-active #v600Workspace .v600-floating-browse:not([hidden]){display:block!important;z-index:1001!important;pointer-events:auto!important;touch-action:manipulation!important;}}

/* Launch mobile: compact Find Opens filters, without removing any controls. */
@media(max-width:800px){
 #listSheet .list-head{align-items:center;gap:10px}
 #listSheet .list-head h1{font-size:23px!important}
 #listSheet .list-head .btn{min-height:44px;white-space:nowrap}
 #listSheet .mode-switch{margin:10px 0}
 #listSheet .list-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
 #listSheet .list-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0;align-items:end}
 #listSheet .list-actions label[for="listEventType"]{grid-column:1/-1;margin-bottom:-6px}
 #listSheet .list-actions #listEventType{grid-column:1/-1;width:100%;min-width:0}
 #listSheet .list-actions button{width:100%;min-width:0;padding:9px 7px;white-space:normal;line-height:1.2}
 #listSheet .field{min-width:0}
 #listSheet .field select,#listSheet .field input{min-width:0;width:100%}
}

/* My Golf free landing and saved Opens: explicitly visible, scrollable non-map screens. */
.gof-my-launch{overflow-y:auto!important;padding:24px 18px 110px!important;background:#f7f8f4;color:#173b31}
.gof-my-header h1{font:700 clamp(29px,5vw,42px) Georgia,serif;margin:6px 0}.gof-my-header p{color:#60776c;margin:0 0 20px}.gof-eyebrow{font-size:11px;letter-spacing:2px;color:#60776c;font-weight:700}
.gof-my-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}.gof-my-grid button{background:white;border:1px solid #dce5dc;border-radius:17px;padding:17px 12px;text-align:left;color:#173b31;display:flex;flex-direction:column;gap:8px;min-height:155px}.gof-my-grid button strong{font-size:17px}.gof-my-grid button span:last-child{font-size:12px;color:#63786c}.gof-my-icon{font-size:28px;color:#285a44}.gof-my-launch h2{font:700 22px Georgia,serif;margin:12px 0}.gof-my-premium{border:1px solid #dce5dc;border-radius:15px;background:white;padding:16px;margin:10px 0}.gof-my-premium p{font-size:13px;color:#63786c;margin:6px 0}.gof-my-premium>span{font-size:12px;color:#846a37;font-weight:700}
@media(max-width:800px){body:not(.v600-map-active) #wishSheet:not([hidden]),body:not(.v600-map-active) #gofLaunchMyGolf:not([hidden]){display:block!important;position:absolute!important;inset:0!important;overflow-y:auto!important;padding-bottom:calc(var(--v600-nav) + 30px)!important;z-index:490!important}body:not(.v600-map-active) #gofLaunchMyGolf:not([hidden]){display:block!important}}

/* GOF My Golf launch layout: free tools first, Premium clearly marked unavailable. */
.gof-my-section-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.gof-free-label,.gof-soon-label{font:700 11px system-ui,sans-serif;letter-spacing:.02em;border-radius:30px;padding:5px 9px;background:#e5f0e7;color:#23543d}.gof-soon-label{background:#f1eadc;color:#78602b}.gof-my-helper{font-size:13px;color:#60776c;line-height:1.5;margin:2px 0 20px}.gof-premium-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.gof-premium-title span{font:700 11px system-ui,sans-serif;border:1px solid #d9c9a4;border-radius:20px;padding:5px 9px;color:#826629;white-space:nowrap}.gof-my-grid button:focus-visible{outline:3px solid #66aa87;outline-offset:2px}

/* Public Premium information page, pricing illustrative and checkout disabled. */
.gof-premium-link{width:100%;border:1px solid #c7d9cd;background:#eaf1e9;border-radius:13px;color:#174b36;font-weight:750;min-height:48px;padding:12px;margin:10px 0 15px;cursor:pointer}
.gof-premium-page{overflow-y:auto!important;padding:22px max(18px,calc((100% - 960px)/2)) 110px!important;background:#f7f8f4;color:#173b31}
.gof-premium-page h1{font:700 clamp(34px,5vw,56px) Georgia,serif;line-height:1.08;margin:12px 0}.gof-premium-page h2{font:700 24px Georgia,serif;margin:24px 0 12px}.gof-premium-intro{font-size:16px;line-height:1.6;color:#5f756a;max-width:700px}.gof-premium-back{background:transparent;border:0;color:#285b45;padding:10px 0 24px;font-weight:700;cursor:pointer}.gof-premium-pricing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:24px 0}.gof-premium-pricing>div,.gof-premium-features article,.gof-premium-note{background:white;border:1px solid #dbe6dc;border-radius:18px;padding:19px}.gof-premium-pricing span{display:block;font-size:12px;color:#61766a}.gof-premium-pricing strong{display:block;font:700 35px Georgia,serif;margin:10px 0}.gof-premium-pricing small{font:500 14px system-ui,sans-serif}.gof-premium-pricing p,.gof-premium-features p,.gof-premium-note p{font-size:13px;color:#61766a;line-height:1.5}.gof-premium-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gof-premium-note{margin-top:20px;background:#edf3ed}.gof-premium-note button{background:#18533e;color:white;border:0;border-radius:12px;min-height:44px;padding:10px 18px;font-weight:700}
@media(max-width:800px){.gof-premium-pricing,.gof-premium-features{grid-template-columns:1fr}body:not(.v600-map-active) #gofPremiumPage:not([hidden]){display:block!important;position:absolute!important;inset:0!important;overflow-y:auto!important;padding-bottom:calc(var(--v600-nav) + 30px)!important;z-index:490!important}}
