/* Golf Opens Finder V5: design system applied without replacing directory logic */
:root{--v5-green:#173d31;--v5-dark:#102a22;--v5-cream:#f7f6f1;--v5-line:#e3e9e2}
.header{height:auto!important;min-height:70px!important;padding:12px max(16px,calc((100vw - 1240px)/2))!important;flex-wrap:wrap!important;background:#fff!important;color:var(--v5-dark)!important;gap:12px!important;z-index:900!important}
.header .logo{color:var(--v5-dark)!important;font-size:16px!important;letter-spacing:.25px}
.header .sub{color:#60796b!important;opacity:1!important}
.header .nav{display:flex!important;width:auto!important;grid-template-columns:none!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
.header .nav button{background:transparent!important;color:#2c4e3d!important;border:1px solid transparent!important;white-space:nowrap!important;font-size:13px!important;min-height:39px!important;padding:9px 12px!important;font-weight:700!important;border-radius:10px!important}
.header .nav button:hover{background:#edf3ee!important}
.header .nav button.selected{background:var(--v5-green)!important;color:white!important}
.header .nav button.v5-account{border-color:#d5e2d7!important;background:#f0f5ee!important}
.header .nav button.v5-account.selected{background:var(--v5-green)!important;color:white!important}
#v5AccountMenu{position:absolute;top:69px;right:max(16px,calc((100vw - 1240px)/2));z-index:1200;background:white;border:1px solid #dae5da;box-shadow:0 16px 38px #173d3124;border-radius:14px;padding:8px;width:230px}
#v5AccountMenu[hidden]{display:none!important}
#v5AccountMenu button{width:100%;background:white;border:0;text-align:left;padding:12px;border-radius:9px;color:var(--v5-dark);font-weight:650;cursor:pointer}
#v5AccountMenu button:hover{background:#eef3ed}
/* course results: more photography and breathing room */
#listSheet.v5-list{background:#f7f6f1!important;padding:24px max(16px,calc((100vw - 1160px)/2))!important}
#listSheet.v5-list .list-head h1{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(26px,3.5vw,39px)!important;color:var(--v5-dark)}
#listSheet.v5-list .list-card{overflow:hidden!important;border:1px solid var(--v5-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:0 7px 24px #173d310b!important;padding:20px!important;position:relative}
#listSheet.v5-list .v5-course-media{margin:-20px -20px 18px;aspect-ratio:3.4/1;position:relative;background:#d7e4d8 center/cover no-repeat;overflow:hidden}
#listSheet.v5-list .v5-course-media small{position:absolute;right:11px;bottom:10px;font-size:10px;background:#102a22d4;color:#fff;border-radius:5px;padding:5px 8px}
#listSheet.v5-list .v5-card-topline{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0 6px}
#listSheet.v5-list .v5-chip{display:inline-flex;background:#edf3ed;border-radius:100px;color:#25543c;font-size:11px;font-weight:700;padding:5px 9px}
#listSheet.v5-list .v5-description{font-size:13px;color:#627669;line-height:1.55;margin:8px 0 11px}
#listSheet.v5-list .list-card h2{font-family:Georgia,'Times New Roman',serif!important;font-size:23px!important;margin:3px 0 8px!important}
#listSheet.v5-list .list-event{background:#f9faf7!important;border:1px solid #e6ebe5;border-radius:11px;padding:12px!important;margin:10px 0!important}
#listSheet.v5-list .list-card .links button,#listSheet.v5-list .list-card .links a{background:#eef4ee;color:#173d31!important;border:1px solid #d5e5d6!important;text-decoration:none!important;border-radius:9px}
#listSheet.v5-list .list-card .links button:hover,#listSheet.v5-list .list-card .links a:hover{background:#dce9de}
/* smaller flatter map pins: preserve category colours */
.course-map-marker .pin{transform:scale(.76)!important;transform-origin:center!important;box-shadow:0 2px 7px #163c2a22!important;border-width:1px!important}
/* existing course profile becomes a more premium drawer, still keeps all working buttons */
#courseCard.v43-sheet.v5-course-profile{padding:0 0 24px!important;max-width:850px!important;max-height:88dvh!important}
#courseCard.v43-sheet.v5-course-profile>*:not(.v5-profile-hero){margin-left:22px;margin-right:22px}
#courseCard.v43-sheet.v5-course-profile .v5-profile-hero{height:180px;background:#365c4a center/cover no-repeat;position:relative;margin-bottom:18px}
#courseCard.v43-sheet.v5-course-profile .v5-profile-hero small{position:absolute;right:12px;bottom:12px;background:#102a22dc;color:white;font-size:11px;border-radius:5px;padding:6px 9px}
#courseCard.v43-sheet.v5-course-profile .v43-title{font-family:Georgia,'Times New Roman',serif!important;font-size:27px!important}
#courseCard.v43-sheet.v5-course-profile .v43-event{background:#fafbf8;border-color:#e1e9df}
#courseCard.v43-sheet.v5-course-profile .v5-passport-tools{padding:15px;background:#eff4ec;border-radius:12px;margin-top:15px;display:flex;flex-wrap:wrap;gap:10px;align-items:end}
#courseCard.v43-sheet.v5-course-profile .v5-passport-tools label{font-size:12px;color:#3f594a;font-weight:700;display:grid;gap:5px}
#courseCard.v43-sheet.v5-course-profile .v5-passport-tools input{width:115px;max-width:100%;border:1px solid #bed2c1;background:white;border-radius:8px;padding:10px;font-size:14px}
#courseCard.v43-sheet.v5-course-profile .v5-passport-tools button{background:#173d31;color:white;border:0;border-radius:8px;padding:11px;font-weight:700}
/* New locally saved personal dashboards */
.v5-personal{background:var(--v5-cream)!important;padding:32px max(16px,calc((100vw - 1120px)/2))!important;overflow-y:auto!important}
.v5-wrap{max-width:1120px;margin:auto;padding-bottom:70px}
.v5-eyebrow{font-size:11px;color:#658171;letter-spacing:1.5px;text-transform:uppercase;font-weight:800}
.v5-personal h1{font:500 clamp(31px,4vw,45px)/1.15 Georgia,'Times New Roman',serif;color:var(--v5-dark);margin:8px 0 10px}
.v5-personal p{color:#687a6e;line-height:1.6}
.v5-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:22px 0 25px}
.v5-stat{padding:22px;background:white;border:1px solid #e3e9e2;border-radius:15px}
.v5-stat strong{display:block;font:600 35px Georgia,serif;color:#163c2d}
.v5-stat span{font-size:12px;color:#718074}
.v5-row-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.v5-panel{background:#fff;border:1px solid #e0e9e0;border-radius:15px;padding:23px;margin:12px 0}
.v5-panel h2{font:500 23px Georgia,serif;color:#173d31;margin:0 0 10px}
.v5-panel h3{color:#173d31;margin:0 0 8px}
.v5-panel p{margin:6px 0;font-size:13px}
.v5-control{border:1px solid #c9d9cb;border-radius:9px;background:#fff;color:#173d31;padding:9px 11px;min-height:40px;font-weight:700;cursor:pointer}
.v5-control.primary{background:#173d31;color:#fff;border-color:#173d31}
.v5-item{padding:15px 0;border-bottom:1px solid #edf1eb;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.v5-item:last-child{border-bottom:0}
.v5-item-copy{flex:1;min-width:170px}
.v5-item-copy strong{display:block;color:#193e30}
.v5-item-copy small{display:block;margin-top:5px;color:#748375;font-size:12px}
.v5-item input,.v5-item select{max-width:150px;padding:9px;border:1px solid #cfddce;border-radius:8px;background:#fff}
.v5-muted{font-size:12px;color:#758577}
.v5-empty{padding:25px;background:#f7faf5;border:1px dashed #cbdccc;border-radius:12px;color:#648071;text-align:center}
.v5-progress{height:9px;background:#e8eee7;overflow:hidden;border-radius:100px;margin:11px 0}
.v5-progress span{height:100%;display:block;background:#173d31;border-radius:100px}
@media(min-width:1000px){#listSheet.v5-list .list-card{display:inline-block;vertical-align:top;width:calc(50% - 12px);margin-right:12px!important;min-height:390px}#courseCard.v43-sheet.v5-course-profile{width:570px!important}}
@media(max-width:850px){.header{justify-content:center!important;padding:10px 12px!important;gap:9px!important}.header>div:first-child{text-align:center}.header .nav{justify-content:center!important;width:100%!important;gap:5px!important}.header .nav button{flex:1 1 auto!important;padding:9px 7px!important;font-size:12px!important;min-width:0!important}#v5AccountMenu{top:115px;right:12px}.v5-row-grid{grid-template-columns:1fr}}
@media(max-width:540px){.header .logo{font-size:14px!important}.header .sub{font-size:9px!important}.header .nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}.header .nav button{font-size:11px!important;min-height:42px!important;white-space:normal!important;line-height:1.2!important;padding:7px 2px!important}.header .nav button.v5-account{grid-column:span 2}#v5AccountMenu{top:153px;left:12px;right:12px;width:auto}.v5-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.v5-stat{padding:12px 9px}.v5-stat strong{font-size:27px}.v5-stat span{font-size:10px}.v5-personal{padding:20px 13px!important}#listSheet.v5-list .v5-course-media{aspect-ratio:2.1/1}#courseCard.v43-sheet.v5-course-profile .v5-profile-hero{height:145px}}

.gof-home-v2 .gof-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
#listSheet.v5-list .v5-rank-toggle{border:1px solid #bfd4c4;background:#eaf2e9;color:#173d31;border-radius:10px;padding:9px 13px;font-weight:700;cursor:pointer}
#listSheet.v5-list .v5-rank-toggle[aria-pressed="true"]{background:#173d31;color:#fff}
@media(max-width:800px){.gof-home-v2 .gof-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
