
/* A single visual rhythm for navigation, data tables and detail surfaces. */
.app-header { padding:0 4vw; }
.tabs { position:relative; }
.app-header .tab::after { display:none; }
.nav-indicator { position:absolute;bottom:0;left:0;height:2px;background:#b8a980;pointer-events:none; }
.app-header .tab { padding-left:3px;padding-right:3px; }
.status-bar { position:relative;order:1;padding:14px 0;margin-top:0; }
body:not(.map-view) { display:flex;flex-direction:column; }
.app-header { order:0; }
.page { order:2; }
.footer { order:3; }
.hero,.grain-overlay { order:-1; }
body.map-view { display:block; }
.leaderboard { border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 32px #29236304; }
.lb-header { background:#f2f2f0;padding-top:19px;padding-bottom:19px; }
.lb-header>div { letter-spacing:1px;font-size:9px;color:#898892; }
.lb-row { min-height:62px;border-color:var(--border-light);transition:background .2s ease; }
.lb-row.current-round { background:none;border-left:0; }
.lb-row.current-round .round-col { color:var(--text-primary); }
.lb-row>div:nth-child(2) { font-weight:400; }
.lb-row button:hover { color:var(--brand-ink) !important; }
.rank { background:none !important;box-shadow:none !important;border-radius:0;color:var(--text-secondary) !important;font-size:11px;font-weight:400; }
.preview-notice { border:1px solid var(--border);border-radius:7px;border-left:2px solid var(--brand-gold);background:#f6f6f2;padding:12px 16px;font-size:9px;letter-spacing:.3px; }
.course-dock { box-shadow:0 8px 28px #0002;border-radius:12px; }
.course-controls { border-radius:9px; }
.course-panel { padding:30px;border-radius:12px; }
.course-panel h2 { font-size:24px;line-height:1.3; }
.course-panel p { font-size:12px;color:#878590; }
.course-panel-close { top:16px;right:16px;font-size:24px !important; }
.course-layer { gap:24px;padding:20px 0; }
.course-layer input { appearance:none;width:32px;height:19px;flex-shrink:0;border-radius:20px;background:#dddce4;position:relative;transition:background .25s; }
.course-layer input::after { content:'';position:absolute;width:13px;height:13px;border-radius:50%;background:white;left:3px;top:3px;transition:translate .25s var(--ease-out);box-shadow:0 1px 3px #0002; }
.course-layer input:checked { background:var(--brand-ink); }
.course-layer input:checked::after { translate:13px 0; }
.scorecard-overlay { background:#17142760;backdrop-filter:blur(6px); }
.scorecard-popup { visibility:hidden;transform:none;opacity:0;transition:none;bottom:20px;left:50%;right:auto;translate:-50% 0;width:min(760px,calc(100% - 40px));padding:28px;border-radius:16px;max-height:calc(100svh - 40px); }
.scorecard-popup.show { visibility:visible;opacity:1;transform:none; }
.scorecard-overlay { transition:none; }
.sc-header { align-items:center;padding-bottom:22px;border-bottom:1px solid var(--border);gap:16px; }
.sc-header .name { font-family:'Playfair Display',Georgia,serif;font-size:24px;letter-spacing:0;font-weight:700; }
.sc-header .total { margin-left:auto;font-size:22px;font-weight:400; }
.sc-close { width:32px;height:32px;border-radius:50%;background:var(--grass-bg);font-size:23px; }
.sc-round-controls { display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 0; }
.sc-round-controls>span { font-size:10px;color:var(--text-secondary); }
.sc-round-tabs { display:flex;gap:3px;padding:3px;border:1px solid var(--border);border-radius:7px; }
.sc-round-tabs button { border:0;background:none;color:var(--text-secondary);padding:7px 13px;border-radius:4px;font:inherit;font-size:10px;cursor:pointer;transition:background .2s,color .2s; }
.sc-round-tabs button[aria-pressed=true] { background:var(--brand-ink);color:white; }
.sc-table { font-size:12px;font-variant-numeric:tabular-nums; }
.sc-table th { background:none;border-bottom:1px solid var(--border);color:var(--text-secondary);font-weight:400;padding:11px 4px; }
.sc-table td { padding:12px 4px; }
.sc-table .sc-label { font-size:10px; }
.sc-subtotals { margin-top:24px;padding-top:22px;border-top:1px solid var(--border);background:none; }
.sc-subtotals .val { font-size:23px;font-weight:400; }
.sc-subtotals .lbl { font-size:8px;letter-spacing:1px;margin-top:6px; }
[data-theme="dark"] .lb-header,[data-theme="dark"] .preview-notice { background:#24242b; }
@media(min-width:900px) { .scorecard-popup { bottom:auto;top:50%;translate:-50% -50%; } }
@media(max-width:600px) {
 .app-header{padding:17px 20px 0;}
 .status-bar{padding:12px 0;margin:0 24px;}
 .lb-row{min-height:56px;} .lb-header>div{font-size:8px;letter-spacing:.3px;}
 .scorecard-popup { padding:21px 16px;bottom:10px;width:calc(100% - 20px);border-radius:13px; }
 .sc-header .name{font-size:21px;} .sc-round-controls{padding:18px 0;} .sc-table{font-size:10px;}
 .sc-table td{padding:11px 2px;} .sc-table th{padding:10px 2px;} .sc-table .sc-label{font-size:8px;}
}

.leaderboard-tools { display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px; }
.leaderboard-tools>span { font-size:10px;color:var(--text-secondary);letter-spacing:.5px; }
.player-search { display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:7px;padding:9px 12px;background:var(--bg-surface);transition:border-color .2s,box-shadow .2s; }
.player-search:focus-within { border-color:#a29abf;box-shadow:0 0 0 3px #29236308; }
.player-search svg { width:15px;height:15px;color:var(--text-secondary); }
.player-search input { width:145px;border:0;background:none;outline:none;color:var(--text-primary);font:inherit;font-size:11px; }
.player-search input::placeholder { color:var(--text-secondary); }
.no-players { text-align:center;padding:38px 16px;font-size:12px;color:var(--text-secondary); }

/* Keep the masthead and grouped controls intact under pointer interaction. */
.app-header { transform:none !important;overflow:hidden; }
.app-header .tabs { display:flex;gap:2px;padding:4px;border:1px solid #ffffff1f;background:#ffffff08;border-radius:9px;isolation:isolate; }
.app-header .tab { padding:12px 16px;transform:none !important;z-index:1;white-space:nowrap;border-radius:5px;transition:color .18s; }
.app-header .tab:hover { color:#fff; }
.app-header .tab:active { transform:none; }
.nav-indicator { top:4px;bottom:4px;height:auto;border-radius:5px;background:#ffffff12;z-index:0; }
.course-dock button,.course-controls button { transform:none !important; }
@media(max-width:600px) {
 .app-header { padding-bottom:12px; }
 .app-header .tabs { margin-top:12px; }
 .app-header .tab { padding:10px 6px; }
 .course-shell { height:calc(100svh - 121px); }
}

.language-toggle { flex-shrink:0;color:#e3deef;background:#ffffff08;border:1px solid #ffffff22;border-radius:6px;padding:9px 11px;font:inherit;font-size:11px;cursor:pointer;transition:background .2s; }
.language-toggle:hover { background:#ffffff16; }
.app-header { gap:22px; }
.app-header .tabs { margin-left:auto; }
html[lang="zh-Hant"] .page-intro h2,html[lang="zh-Hant"] .course-panel h2,html[lang="zh-Hant"] .sc-header .name { font-family:Inter,'PingFang TC','Microsoft JhengHei',sans-serif;font-weight:500;letter-spacing:1px; }
@media(max-width:900px) and (min-width:601px) { .app-header { padding-left:20px;padding-right:20px;gap:12px; } .app-header .tab { padding-left:10px;padding-right:10px; } .app-identity small { font-size:6px;letter-spacing:1px; } }
@media(max-width:600px) { .app-header{gap:0;}.language-toggle{margin-left:auto;} .app-header .tabs{order:3;margin-left:0;} }

.language-switch { position:relative;display:flex;align-items:center;flex-shrink:0;width:80px;height:32px;padding:3px;border:1px solid #ffffff22;background:#ffffff08;border-radius:7px;isolation:isolate; }
.language-switch button { width:36px;height:24px;padding:0;border:0;background:none;color:#bdb8d0;font:inherit;font-size:10px;font-weight:400;cursor:pointer;z-index:1;transition:color .18s; }
.language-switch button[aria-pressed="true"] { color:#292363;font-weight:500; }
.language-thumb { position:absolute;left:3px;top:3px;width:36px;height:24px;border-radius:4px;background:#f2eff8;box-shadow:0 1px 3px #0001;pointer-events:none; }
.language-switch button:focus-visible { outline:2px solid #c8bfa9;outline-offset:1px;border-radius:4px; }
@media(max-width:600px) { .language-switch { margin-left:auto; } }

/* Primary navigation anchors the lower side of the experience. */
.app-header { justify-content:space-between; }
.side-navigation { position:fixed;left:24px;bottom:24px;z-index:650; }
.side-navigation .tabs { display:flex;flex-direction:column;gap:4px;padding:5px;width:150px;border:1px solid #ffffff1e;border-radius:12px;background:#292363f5;box-shadow:0 8px 28px #0002;backdrop-filter:blur(12px);isolation:isolate; }
.side-navigation .tab { width:100%;text-align:left;padding:14px 17px;color:#c5bfd9;font-size:11px;line-height:1.6;flex:none;z-index:1;transform:none;transition:color .2s;white-space:nowrap; }
.side-navigation .tab.active,.side-navigation .tab:hover { color:white; }
.side-navigation .tab::after { display:none; }
.side-navigation .nav-indicator { left:0;top:0;bottom:auto;height:0;width:0;background:#ffffff12;border-radius:7px; }
.course-dock { left:auto;right:24px;bottom:24px;transform:none; }
.course-hint { left:auto;right:24px;transform:none;bottom:97px; }
.course-panel { left:auto;right:24px;bottom:100px;transform:none; }
@media(min-width:1000px) { body:not(.map-view) .page { padding-left:190px; } body:not(.map-view) .status-bar { margin-left:222px; margin-right:32px;max-width:none; } }
@media(max-width:600px) {
 .app-header { flex-wrap:nowrap;min-height:72px;padding:17px 20px; }
 .course-shell { height:calc(100svh - 72px); }
 .side-navigation { left:50%;bottom:14px;transform:translateX(-50%);width:calc(100% - 32px);max-width:380px; }
 .side-navigation .tabs { flex-direction:row;width:100%;gap:3px;padding:4px; }
 .side-navigation .tab { flex:1;text-align:center;padding:12px 6px;font-size:10px; }
 .course-dock { right:50%;transform:translateX(50%);bottom:80px; }
 .course-hint { right:50%;transform:translateX(50%);bottom:145px; }
 .course-panel { right:50%;transform:translateX(50%);bottom:155px;width:calc(100% - 40px); }
 body:not(.map-view) .footer { padding-bottom:90px; }
}

/* Compact championship shell: one navigation surface, restrained detail cards. */
.app-header { height:72px;min-height:72px;padding:0 28px;background:#292363; }
.app-identity { gap:11px; }
.app-identity img { width:32px;height:32px; }
.app-identity strong { font-size:18px;letter-spacing:1px; }
.app-identity small { font-size:7px;letter-spacing:1.4px;color:#c5bfd6; }
.course-shell { height:calc(100svh - 72px); }
.side-navigation { left:24px;bottom:24px; }
.side-navigation .tabs { width:172px;padding:6px;gap:3px;border-radius:16px;border:1px solid #ffffff1c;background:#292363;box-shadow:0 12px 36px #100d282b; }
.side-navigation .tab { display:flex;align-items:center;gap:12px;height:46px;padding:0 14px;font-size:12px;letter-spacing:.1px;border-radius:10px; }
.side-navigation .tab svg { width:18px;height:18px;flex-shrink:0;opacity:.75; }
.side-navigation .tab.active svg { opacity:1;color:#d1c399; }
.side-navigation .tab:focus-visible { outline:2px solid #c9b88b;outline-offset:-2px; }
.side-navigation .nav-indicator { border-radius:10px;background:#ffffff10;border:1px solid #ffffff0b; }
.course-controls { top:auto;right:24px;bottom:102px;gap:0;border:1px solid #e7e3dd;background:#faf9f6;border-radius:12px;box-shadow:0 8px 24px #0002; }
.course-controls button { width:38px;height:40px;background:transparent;color:#292363;font-size:20px; }
.course-controls button:hover { background:#eeedf3; }
.course-dock { right:24px;bottom:24px;padding:5px;gap:2px;background:#faf9f6;border:1px solid #e7e3dd;border-radius:14px;box-shadow:0 10px 32px #0002; }
.course-dock button { min-width:72px;padding:10px 12px;border-radius:9px;color:#77737e;font-size:10px;transition:background .2s,color .2s; }
.course-dock button:hover { background:#eeedf2;color:#292363; }
.course-dock button[aria-expanded=true] { background:#292363;color:#fff; }
.course-dock button svg { width:18px;height:18px; }
.course-hint { right:82px;bottom:111px;background:#172b236b;color:#ffffffb8;border:1px solid #ffffff16;padding:8px 12px;border-radius:7px;font-size:10px;pointer-events:none; }
.course-panel { right:82px;left:auto;bottom:102px;width:338px;padding:28px;max-height:calc(100% - 130px);background:#faf9f6;border:1px solid #e7e3dd;border-radius:16px;box-shadow:0 18px 60px #0c192533; }
.course-panel h2,html[lang="zh-Hant"] .course-panel h2 { font-family:Inter,'PingFang TC','Microsoft JhengHei',sans-serif;font-size:21px;font-weight:500;letter-spacing:-.4px;line-height:1.4;margin-bottom:22px; }
.course-tag { font-size:8px;letter-spacing:1.4px;color:#8c7c57; }
.course-facts { display:flex;flex-wrap:wrap;gap:0;margin:20px 0;padding:17px 0;border-top:1px solid #e7e3dd;border-bottom:1px solid #e7e3dd; }
.course-facts span { border:0;border-radius:0;background:none;padding:0 12px;font-size:11px;color:#292363; }
.course-facts span:first-child { padding-left:0; }
.course-facts span+span { border-left:1px solid #dedbd4; }
.course-panel p { line-height:1.85;font-size:12px;color:#7d7883; }
.course-panel-close { border-radius:50%;width:28px;height:28px;top:18px;right:17px; }
.course-credit { opacity:.65; }
@media(max-width:900px) {
 .app-header { height:68px;min-height:68px;padding:0 18px; }
 .app-identity strong { font-size:16px; }.app-identity small { font-size:6px;letter-spacing:.8px; }
 .app-identity img { width:29px;height:29px; }
 .course-shell { height:calc(100svh - 68px); }
 .side-navigation { left:50%;bottom:14px;width:calc(100% - 28px);max-width:380px; }
 .side-navigation .tabs { width:100%;padding:5px;border-radius:14px; }
 .side-navigation .tab { flex-direction:column;justify-content:center;gap:5px;height:53px;padding:4px;font-size:10px; }
 .side-navigation .tab svg { width:17px;height:17px; }
 .course-dock { right:14px;bottom:91px;transform:none;padding:4px; }
 .course-dock button { min-width:62px;padding:8px 9px;font-size:9px; }
 .course-controls { right:14px;bottom:172px; }
 .course-controls button { width:36px;height:38px; }
 .course-hint { display:none; }
 .course-panel { right:14px;left:14px;bottom:163px;width:auto;transform:none;max-height:calc(100% - 186px);padding:24px; }
 .course-credit { bottom:82px;left:16px;right:auto;font-size:8px; }
}

@media(max-width:900px) {
 .side-navigation { transform:translateX(-50%); }
 .side-navigation .tabs { flex-direction:row; }
 .side-navigation .tab { text-align:center; }
 body:not(.map-view) .footer { padding-bottom:100px; }
}
/* Tournament programme */
#page-schedule .page-intro { padding-bottom:28px; }
#page-schedule .page-intro h2 { font-family:Inter,'Microsoft JhengHei',sans-serif;font-weight:500;font-size:clamp(28px,4vw,42px);letter-spacing:-1px; }
.schedule-wrap { max-width:1040px; }
.event-facts { background:#292363;color:white;border:0;border-radius:14px;padding:26px 28px;gap:20px; }
.event-facts small { color:#bfb7d1; }.event-facts strong { color:white;font-size:13px;font-weight:400; }
.event-facts>div+div { border-left:1px solid #ffffff20;padding-left:24px; }
.schedule-note { max-width:none;padding-left:13px;border-left:2px solid #b5a57b;margin:22px 0 32px;font-size:11px; }
.schedule-browser { border:1px solid var(--border);border-radius:16px;background:var(--bg-surface);padding:26px; }
.schedule-browser-heading { display:flex;justify-content:space-between;gap:12px;margin-bottom:20px;color:var(--text-secondary);font-size:9px;letter-spacing:1px; }
.schedule-browser-heading>span:last-child { letter-spacing:0; }
.schedule-days { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:32px; }
.schedule-days button { border:1px solid var(--border);border-radius:9px;text-align:left;padding:15px 12px;background:transparent;font:inherit;color:var(--text-primary);cursor:pointer;transition:background .2s,color .2s; }
.schedule-days button span { display:block;font-size:11px;font-weight:500; }.schedule-days button small { display:block;margin-top:6px;font-size:9px;opacity:.6; }
.schedule-days button[aria-pressed=true] { background:#292363;border-color:#292363;color:white; }
.schedule-days button:hover:not([aria-pressed=true]) { background:var(--grass-bg); }
.schedule-days button:focus-visible,.tl-header:focus-visible { outline:2px solid #9d8d68;outline-offset:3px; }
#scheduleTimeline { margin:0;padding:0; }
#scheduleTimeline .tl-item { padding:0 0 16px;opacity:1;animation:none; }#scheduleTimeline .tl-item[hidden] { display:none; }
#scheduleTimeline .tl-card { border:1px solid var(--border);border-radius:12px;box-shadow:none;background:transparent; }
#scheduleTimeline .tl-header { padding:22px 24px;border-bottom:0;cursor:pointer;gap:16px;position:relative;padding-right:52px; }
#scheduleTimeline .tl-header::after { content:'+';position:absolute;right:24px;font-size:20px;font-weight:300;color:var(--text-secondary); }
#scheduleTimeline .tl-header[aria-expanded=true]::after { content:'−'; }
#scheduleTimeline .round-name { flex-direction:column;align-items:flex-start;gap:6px;font-size:18px;font-weight:500; }
#scheduleTimeline .round-name .tag { order:2;padding:0;background:none!important;color:#8c7c57;font-size:8px;letter-spacing:1px; }
#scheduleTimeline .tl-date { font-size:11px;white-space:nowrap;color:var(--text-secondary); }
#scheduleTimeline .tl-body { padding:0 24px;overflow:hidden; }#scheduleTimeline .tl-body[hidden] { display:none; }
#scheduleTimeline .info-row { padding:14px 0;font-size:12px; }#scheduleTimeline .info-row:first-child { border-top:1px solid var(--border); }
#scheduleTimeline .info-row .value { font-weight:400;font-variant-numeric:tabular-nums; }
#scheduleTimeline .tl-badge { margin:0;padding:19px 0 23px;font-size:11px;line-height:1.8;color:var(--text-secondary); }
#scheduleTimeline .tl-extra:empty { display:none; }#scheduleTimeline .tl-extra:has(button) { max-height:none;padding:0 24px 20px; }
@media(max-width:600px) {
 #page-schedule .page-intro { padding-top:34px; }.schedule-wrap { padding:0 18px 110px; }
 .event-facts { grid-template-columns:1fr;padding:22px;gap:16px; }.event-facts>div+div { padding:16px 0 0;border-left:0;border-top:1px solid #ffffff20; }.event-facts small { margin-bottom:6px; }
 .schedule-browser { padding:18px 14px;border-radius:13px; }.schedule-days { grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:22px; }
 .schedule-days button { padding:13px 12px; }.schedule-days button span { font-size:10px; }
 #scheduleTimeline .tl-header { padding:19px 16px;padding-right:39px;gap:9px; }#scheduleTimeline .tl-header::after { right:14px; }
 #scheduleTimeline .round-name { font-size:16px; }#scheduleTimeline .tl-date { font-size:9px; }#scheduleTimeline .tl-body { padding:0 16px; }
}
/* Clickable course point preview */
.map-point { position:absolute;z-index:460;translate:-50% -50%;width:40px;height:40px;border-radius:50%;border:2px solid #faf9f6;background:#faf9f6;color:#292363;box-shadow:0 3px 12px #0004;cursor:pointer;font:500 15px Inter,sans-serif;transition:box-shadow .2s,background .2s; }
.map-point:hover,.map-point[aria-expanded=true] { box-shadow:0 0 0 4px #b5a57b99,0 4px 18px #0004; }
.map-point[aria-expanded=true] { background:#292363;color:white; }
.map-point:focus-visible { outline:3px solid #b5a57b;outline-offset:4px; }
.point-preview { position:absolute;z-index:550;width:290px;border-radius:16px;overflow:hidden;background:#faf9f6;color:#292363;box-shadow:0 14px 48px #0004;border:1px solid #ffffff50; }
.point-preview[hidden],.map-point[hidden] { display:none; }
.point-cover { height:112px;background:#292363;position:relative;color:#d3c49b;display:flex;align-items:center;justify-content:center; }
.point-cover svg { width:100px;height:90px; }
.point-cover-label { position:absolute;left:20px;top:18px;font-size:8px;letter-spacing:1.8px;color:#dad4e6; }
.point-close { position:absolute;right:12px;top:12px;width:28px;height:28px;border:1px solid #ffffff25;background:#ffffff0d;color:white;border-radius:50%;font-size:20px;cursor:pointer; }
.point-close:hover { background:#ffffff25; }.point-close:focus-visible { outline:2px solid #d3c49b;outline-offset:2px; }
.point-content { padding:22px; }.point-title-row { display:flex;align-items:center;justify-content:space-between;gap:16px; }
.point-title-row h2 { font-family:Inter,'Microsoft JhengHei',sans-serif;font-size:22px;font-weight:500;letter-spacing:-.5px;margin:0; }
.point-par { font-size:10px;color:#8c7c57;letter-spacing:1px; }.point-subtitle { font-size:10px;color:#8b8591;margin:9px 0 20px; }
.point-distances { display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e4e0d9;border-bottom:1px solid #e4e0d9;padding:17px 0; }
.point-distances>div+div { border-left:1px solid #e4e0d9;padding-left:20px; }.point-distances small { display:block;font-size:9px;color:#8b8591;margin-bottom:8px; }
.point-distances strong { font-size:24px;font-weight:400;font-variant-numeric:tabular-nums; }.point-distances strong span { font-size:11px;color:#8b8591; }
.point-preview-note { font-size:9px;color:#99929a;margin:16px 0 0;line-height:1.7; }
@media(max-width:600px) { .point-preview { left:14px;right:14px;top:auto;bottom:164px;width:auto;max-height:calc(100% - 180px);overflow:auto; }.point-cover { height:94px; }.point-content { padding:20px; } }
/* Lighter, compact point cards. */
.map-point { width:30px;height:30px;border-width:1.5px;font-size:12px;box-shadow:0 2px 8px #0003; }
.map-point:hover,.map-point[aria-expanded=true] { box-shadow:0 0 0 3px #b5a57b66,0 3px 10px #0003; }
.point-preview { width:360px;display:grid;grid-template-columns:82px minmax(0,1fr);border-radius:12px;box-shadow:0 8px 28px #0003;background:#faf9f6f5; }
.point-cover { height:auto;min-height:180px;background:#eeeaf1;color:#9b8c67; }
.point-cover svg { width:70px;height:70px; }
.point-cover-label { left:12px;top:16px;font-size:7px;letter-spacing:.7px;color:#99919f; }
.point-close { position:fixed;right:10px;top:10px;width:24px;height:24px;font-size:18px;color:#817a89;background:#29236305;border:0; }
.point-close:hover { background:#29236310; }
.point-content { padding:20px 18px 16px; }
.point-title-row { padding-right:20px;gap:10px; }
.point-title-row h2 { font-size:18px; }.point-par { font-size:9px;letter-spacing:.5px; }
.point-subtitle { font-size:9px;margin:7px 0 14px; }
.point-distances { padding:12px 0; }.point-distances small { font-size:8px;margin-bottom:5px; }
.point-distances strong { font-size:20px; }.point-distances strong span { font-size:10px; }
.point-distances>div+div { padding-left:15px; }.point-preview-note { font-size:8px;margin-top:11px; }
@media(max-width:600px) {
 .point-preview { left:14px;right:14px;width:auto;grid-template-columns:65px minmax(0,1fr); }
 .point-cover { min-height:175px; }.point-cover svg { width:58px;height:65px; }
 .point-cover-label { left:9px;font-size:6px; }.point-content { padding:19px 15px 15px; }
}
.point-cover { position:static; }.point-close { position:absolute; }
/* Landscape media above the compact hole details. */
.point-preview { display:block;width:290px; }
.point-cover { position:relative;width:100%;aspect-ratio:16 / 9;height:auto;min-height:0; }
.point-cover svg { width:86px;height:86px; }
.point-cover-label { left:16px;top:15px;font-size:7px;letter-spacing:1px; }
.point-content { padding:17px 18px 15px; }
.point-title-row { padding-right:0; }
@media(max-width:600px) {
 .point-preview { left:50%;right:auto;translate:-50% 0;width:min(290px,calc(100% - 28px)); }
 .point-cover { min-height:0;aspect-ratio:16 / 9; }
 .point-cover svg { width:86px;height:86px; }
 .point-content { padding:17px 18px 15px; }
}
/* Wider landscape card with a shorter information section. */
.point-preview { width:340px; }
.point-content { padding:14px 18px 12px; }
.point-title-row h2 { font-size:17px; }
.point-subtitle { margin:5px 0 10px;font-size:9px; }
.point-distances { padding:9px 0; }
.point-distances small { margin-bottom:4px; }
.point-distances strong { font-size:19px; }
.point-preview-note { margin-top:8px;font-size:8px; }
@media(max-width:600px) {
 .point-preview { width:min(340px,calc(100% - 28px)); }
 .point-content { padding:14px 18px 12px; }
}
/* Dense point information beneath the landscape image. */
.point-content { padding:10px 14px 9px; }
.point-title-row h2 { font-size:16px;line-height:1.25; }
.point-subtitle { margin:3px 0 7px;font-size:9px;line-height:1.3; }
.point-distances { padding:7px 0;gap:10px; }
.point-distances>div { display:flex;align-items:baseline;gap:8px; }
.point-distances>div+div { padding-left:10px; }
.point-distances small { display:inline;margin:0;font-size:8px;white-space:nowrap; }
.point-distances strong { font-size:16px;line-height:1.3;white-space:nowrap; }
.point-distances strong span { font-size:9px; }
.point-preview-note { margin:5px 0 0;font-size:8px;line-height:1.35; }
@media(max-width:600px) { .point-content { padding:10px 14px 9px; } }
/* Facilities share the point scale, with distinct icon treatments. */
.facility-point { position:absolute;z-index:461;translate:-50% -50%;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;border:1.5px solid #292363;background:#faf9f6;color:#292363;box-shadow:0 2px 8px #0003;cursor:pointer;transition:background .18s,box-shadow .18s; }
.facility-point svg { width:18px;height:18px; }
.facility-point-dining { background:#292363;color:#faf9f6;border-color:#faf9f6; }
.facility-point-info { background:#f2ead7;border-color:#a69772; }
.facility-point:hover,.facility-point[aria-expanded=true] { box-shadow:0 0 0 3px #b5a57b77,0 3px 12px #0003; }
.facility-point:focus-visible { outline:2px solid #c7b683;outline-offset:3px; }
.facility-point[hidden],.facility-preview[hidden] { display:none; }
.facility-preview { position:absolute;z-index:555;width:300px;padding:19px;background:#faf9f6f7;border:1px solid #ffffff70;border-radius:12px;box-shadow:0 8px 28px #0003;color:#292363; }
.facility-close { position:absolute;right:10px;top:9px;border:0;background:none;font-size:19px;color:#817a89;cursor:pointer;width:26px;height:26px; }
.facility-heading { display:flex;align-items:center;gap:11px;padding-right:20px; }
.facility-card-icon { width:35px;height:35px;display:grid;place-items:center;background:#eeeaf1;border-radius:9px;flex-shrink:0; }
.facility-card-icon svg { width:21px;height:21px; }
.facility-heading small { display:block;font-size:8px;color:#958b9c;margin-bottom:4px; }
.facility-heading h2 { font-family:Inter,'Microsoft JhengHei',sans-serif;font-size:17px;font-weight:500;margin:0; }
.facility-preview p { margin:14px 0 11px;font-size:11px;line-height:1.7;color:#817a89; }
.facility-note { display:block;border-top:1px solid #e5e0d9;padding-top:9px;font-size:8px;color:#99929a; }
@media(max-width:600px) { .facility-preview { left:50%;translate:-50% 0;bottom:164px;top:auto;width:min(300px,calc(100% - 28px)); } }
/* Lucide pictograms: one clear marker system across facilities. */
.facility-point { width:34px;height:34px;border:1.5px solid #292363;background:#faf9f6;color:#292363; }
.facility-point svg { width:18px;height:18px; }
.facility-point[aria-expanded=true] { background:#292363;color:#faf9f6;border-color:#faf9f6; }
.facility-card-icon { background:#eeebf2; }.facility-card-icon svg { width:20px;height:20px; }
.facility-point-vip { border-color:#ac9864;background:#f1ead7;color:#786538; }
.hide-holes .map-point,.hide-visitor .facility-point[data-category=visitor],.hide-tournament .facility-point[data-category=tournament] { display:none; }
[data-panel-content=layers] .course-layer { padding:14px 0;font-size:12px; }
.facility-point-viewing { border-radius:10px; }
.facility-point-practice { border-radius:10px;background:#eeebf4;border-color:#8f84aa; }
.facility-point-practice svg { width:20px;height:20px; }
/* Reference-style round facility badges and browsable location directory. */
.facility-point-viewing,.facility-point-practice { border-radius:50%;background:#faf9f6;border-color:#292363;color:#292363; }
.facility-point-viewing[aria-expanded=true],.facility-point-practice[aria-expanded=true] { background:#292363;color:white;border-color:white; }
.facility-directory h3 { margin:17px 0 6px;font-size:9px;font-weight:500;letter-spacing:.6px;color:#99909d; }
.facility-directory button { width:100%;display:flex;align-items:center;gap:10px;padding:10px 0;background:none;border:0;border-bottom:1px solid #e8e3df;color:#292363;font:inherit;font-size:11px;text-align:left;cursor:pointer; }
.facility-directory button:hover { background:#eeebf2; }
.directory-icon { display:grid;place-items:center;width:27px;height:27px;border:1px solid #d7d0e0;border-radius:50%;flex-shrink:0;font-size:11px; }
.directory-icon svg { width:16px;height:16px; }.directory-arrow { margin-left:auto;color:#9c93a5;font-size:19px; }
.course-panel .directory-note { font-size:10px;margin-top:0; }.facility-directory button:focus-visible { outline:2px solid #b5a57b;outline-offset:2px; }
.directory-tools { display:flex;gap:7px;margin:17px 0; }
.directory-tools input,.directory-tools select { min-width:0;border:1px solid #ddd7e2;background:#fff;color:#292363;border-radius:7px;padding:9px;font:inherit;font-size:10px; }
.directory-tools input { width:100%; }.directory-tools select { width:100px;flex-shrink:0; }
.facility-directory button[hidden],.facility-directory h3[hidden],.directory-empty[hidden] { display:none; }
.directory-place-name small { display:block;font-size:8px;color:#9f96a5;margin-top:3px; }.directory-empty { font-size:11px; }
.event-extras { margin-top:23px;border-top:1px solid #e5e0d9;padding-top:18px; }
.event-extras h3 { font-size:11px;font-weight:500;margin:0 0 12px; }
.extras-actions { display:flex;gap:7px; }.extras-actions button { border:1px solid #ded7e4;border-radius:7px;background:#eeebf2;color:#292363;padding:9px 10px;font:inherit;font-size:10px;cursor:pointer; }
#shareStatus { display:block;font-size:9px;color:#8c7c57;margin:8px 0; }
.event-placeholder { border-top:1px solid #e5e0d9;padding:12px 0;font-size:11px; }
.event-placeholder summary { cursor:pointer; }.event-placeholder summary span { float:right;font-size:8px;color:#a096ab; }
.course-panel .event-placeholder p { font-size:10px;line-height:1.7;margin:10px 0 0; }
.layer-section-label { font-size:9px!important;letter-spacing:1px;color:#9a90a3!important;margin:20px 0 3px!important; }
.layer-subgroups { padding-left:17px;border-left:1px solid #dfd8e5;margin:0 0 10px 4px; }
[data-panel-content=layers] .layer-child { padding:10px 0;font-size:11px;color:#81788b; }
.hide-sub-amenities [data-sublayer=amenities].facility-point,.hide-sub-spectator [data-sublayer=spectator].facility-point,.hide-sub-transport [data-sublayer=transport].facility-point,.hide-sub-practice [data-sublayer=practice].facility-point,.hide-sub-hospitality [data-sublayer=hospitality].facility-point { display:none; }
.course-panel { z-index:510; }.point-preview,.facility-preview { z-index:560; }
/* Soft directory rows, including pointer and keyboard feedback. */
.facility-directory button { border-bottom:0;border-radius:10px;padding:10px 9px;margin:3px 0;transition:background .18s; }
.facility-directory button:hover,.facility-directory button:focus-visible { background:#eeebf2;border-radius:10px; }
.map-score-head,.map-score-row { display:grid;grid-template-columns:28px minmax(0,1fr) 42px;align-items:center;gap:8px; }
.map-score-head { padding:10px 8px;font-size:9px;color:#9a90a3;border-bottom:1px solid #e5e0d9; }
.map-score-head>span:last-child { text-align:right; }
.map-score-row { width:100%;padding:12px 8px;border:0;border-bottom:1px solid #ebe6e1;background:none;color:#292363;text-align:left;font:inherit;font-size:11px;border-radius:7px;cursor:pointer; }
.map-score-row:hover { background:#eeebf2; }.map-score-row>span:first-child { color:#99909f;font-size:10px; }
.map-score-row strong { text-align:right;font-size:13px;font-weight:500;font-variant-numeric:tabular-nums; }
.course-panel .map-score-status { font-size:10px;margin:0 0 12px; }
@media(max-width:600px) { .course-dock button { min-width:0;padding:8px;font-size:8px; } }
[data-panel-content=scores] h2 { margin-bottom:13px; }
.course-panel:has([data-panel-content=scores]:not([hidden])) { width:440px; }
.map-score-head,.map-score-row { grid-template-columns:24px minmax(80px,1fr) 22px 36px 37px 30px 24px;gap:7px; }
.map-score-head { font-size:8px;letter-spacing:0;padding:10px 4px; }.map-score-head>span { text-align:center; }.map-score-head>span:nth-child(2) { text-align:left; }
.map-score-row { padding:11px 4px;cursor:default;font-size:10px; }.map-score-row:nth-child(even) { background:#eeebf233; }
.map-player-link { border:0;padding:0;background:none;color:#292363;font:inherit;text-align:left;cursor:pointer;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.map-score-row>span { text-align:center; }.map-score-row strong { text-align:center;font-size:11px; }.under-par { color:#bd5065; }
.player-country { display:inline-flex;align-items:center;justify-content:center;width:20px;min-width:20px;height:15px;font-size:8px;color:#81788d;vertical-align:middle; }
.player-country img { display:block;width:20px;height:15px;border-radius:0;object-fit:contain;box-shadow:0 0 0 1px #00000012; }
.lb-row>div:nth-child(2) { display:flex;align-items:center;gap:7px; }.lb-row .player-country { margin-left:auto; }
.map-favorite { border:0;background:none;color:#a49baa;padding:0;font-size:27px;line-height:1;min-height:30px;cursor:pointer;transition:color .2s,transform .2s; }.map-favorite:hover { transform:scale(1.12); }.map-favorite[aria-pressed=true] { color:#ad9461; }
.map-player-link:focus-visible,.map-favorite:focus-visible { outline:2px solid #ad9461;outline-offset:2px; }
@media(max-width:900px) { .course-panel:has([data-panel-content=scores]:not([hidden])) { width:auto; } }
@media(max-width:600px) { .course-panel:has([data-panel-content=scores]:not([hidden])) { padding:20px 12px; }.map-score-head,.map-score-row { grid-template-columns:20px minmax(65px,1fr) 20px 31px 31px 27px 21px;gap:4px; }.map-score-head { font-size:7px; }.map-score-row { font-size:9px; } }
.map-score-legend { font-size:8px!important;color:#9a90a3!important;margin-top:13px!important;line-height:1.5; }
/* Spacious, tactile favorite control and a distinct saved row. */
.map-score-head,.map-score-row { grid-template-columns:24px minmax(70px,1fr) 22px 36px 37px 30px 40px; }
.map-favorite { width:38px;height:38px;min-height:38px;display:grid;place-items:center;border:1px solid #dfd8e6;border-radius:12px;background:#f1eef5;color:#85798f;transition:background .2s,color .2s,border-color .2s; }
.map-favorite svg { width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round; }
.map-favorite:hover { transform:none;background:#e8e2ef; }
.map-favorite[aria-pressed=true] { color:#fffaf0;background:#ab8a49;border-color:#ab8a49;box-shadow:0 3px 9px #ab8a4926; }
.map-favorite[aria-pressed=true] svg { fill:currentColor;stroke-width:1.2; }
.map-score-row.is-favorite,.map-score-row.is-favorite:nth-child(even),.map-score-row.is-favorite:hover { background:#f2e9d6;box-shadow:inset 3px 0 #ab8a49; }
.map-score-row { padding:8px 4px;margin:3px 0;border-radius:10px; }
@media(max-width:600px) { .map-score-head,.map-score-row { grid-template-columns:20px minmax(54px,1fr) 20px 28px 29px 24px 38px;gap:3px; }.map-favorite { width:36px;height:36px;min-height:36px; }.map-favorite svg { width:25px;height:25px; } }
@media(prefers-reduced-motion:reduce) { .map-favorite { transition:none; } }
/* Compact favorite control aligned with its column heading. */
.map-score-head>span:last-child { text-align:center;justify-self:center; }
.map-favorite { width:30px;height:30px;min-height:30px;border-radius:9px;justify-self:center; }
.map-favorite svg { width:21px;height:21px; }
@media(max-width:600px) { .map-favorite { width:30px;height:30px;min-height:30px; }.map-favorite svg { width:21px;height:21px; } }
.lb-header,.lb-row { grid-template-columns:2.2rem minmax(110px,1fr) repeat(6,minmax(35px,.5fr)); }
@media(max-width:600px) { .lb-header,.lb-row { grid-template-columns:22px minmax(85px,1fr) repeat(5,30px);gap:3px;padding-left:8px;padding-right:8px; } .lb-strokes { display:none; } }
/* Scroll live scores inside the card without showing a scrollbar. */
.course-panel:has([data-panel-content=scores]:not([hidden])) { scrollbar-width:none;overflow-x:hidden;overscroll-behavior:none; }
.course-panel:has([data-panel-content=scores]:not([hidden]))::-webkit-scrollbar { display:none;width:0;height:0; }
.markers-hidden .map-point,.markers-hidden .facility-point { display:none!important; }
#courseMarkersToggle { display:grid;place-items:center; }
#courseMarkersToggle[aria-pressed=true] { background:#292363;color:#faf9f6; }
/* Map markers stay behind the dock and camera controls. */
.course-dock,.course-controls { z-index:480;isolation:isolate; }
.map-point { z-index:460; }
.facility-point { z-index:461; }
/* Daily results: no in-play progress column or pulsing LIVE indicator. */
.map-score-head,.map-score-row { grid-template-columns:24px minmax(70px,1fr) 22px 40px 42px 40px; }
@media(max-width:600px) { .map-score-head,.map-score-row { grid-template-columns:20px minmax(54px,1fr) 20px 34px 35px 38px;gap:3px; } }
/* Readability pass: modest type increase across the public website. */
body { font-size:15px; }
.side-navigation .tab { font-size:13px; }
.course-dock button { font-size:12px; }
.course-panel p { font-size:14px;line-height:1.8; }
.course-facts span,.course-layer,.facility-directory button { font-size:13px; }
.course-tag,.course-credit { font-size:10px; }
.course-panel .directory-note,.course-panel .map-score-status { font-size:12px; }
.directory-place-name small,.event-placeholder summary span { font-size:11px; }
.event-placeholder,.course-panel .event-placeholder p,.extras-actions button { font-size:13px; }
.lb-header>div { font-size:11px;letter-spacing:.3px; }
.lb-row { font-size:15px; }.rank { font-size:13px; }
.lb-row>div { min-width:0; }.lb-row .player-name-link { min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.lb-row button.player-name-link { border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;padding:0; }
.player-full-name[popover] { position:fixed;inset:auto;margin:0;max-width:min(340px,calc(100vw - 16px));padding:9px 12px;border:0;border-radius:8px;background:#292363;color:#fff;box-shadow:0 4px 16px #17132e33;font-size:13px;overflow-wrap:anywhere; }
.player-full-name button { display:block;margin-top:6px;padding:3px 0;border:0;background:none;color:inherit;font:inherit;text-decoration:underline;cursor:pointer; }
.preview-notice,.leaderboard-tools>span,.player-search input,.update-info,.live-indicator { font-size:12px; }
.page-intro p,.schedule-note { font-size:14px; }
.eyebrow,.fact-label,.tl-date,.tl-tag { font-size:11px; }
.tl-body,.tl-body td,.tl-body p { font-size:14px; }
.map-score-head { font-size:10px; }.map-score-row { font-size:13px; }
.map-score-row>span:first-child,.map-score-row strong { font-size:12px; }
.map-score-legend { font-size:11px!important; }
.point-subtitle,.point-par,.point-preview-note,.point-distances small { font-size:11px; }
.point-distances strong span { font-size:12px; }
.point-cover-label,.facility-heading small,.facility-note { font-size:10px; }
.facility-preview p { font-size:13px; }
.sc-table { font-size:14px; }.sc-table .sc-label,.sc-round-controls>span,.sc-round-tabs button { font-size:12px; }
.sc-subtotals .lbl,.footer { font-size:11px; }
@media(max-width:900px) {
 .side-navigation .tab { font-size:12px; }
 .course-dock button { font-size:11px;min-width:0;padding:9px 10px; }
 .course-dock { max-width:calc(100% - 28px); }
}
@media(max-width:600px) {
 .lb-row { font-size:13px; }.lb-header>div { font-size:10px;letter-spacing:0; }.rank { font-size:12px; }
 .map-score-head { font-size:10px; }.map-score-row { font-size:12px; }
 .map-score-row>span:first-child,.map-score-row strong { font-size:12px; }
 .course-dock button { font-size:11px;gap:5px;padding:9px 7px; }
 .course-dock svg { width:16px;height:16px; }
 .sc-table { font-size:12px; }.sc-table .sc-label { font-size:10px; }
}
#courseReset { display:grid;place-items:center; }
#courseReset svg { width:17px;height:17px; }

/* Course photographs are illustrative until individual locations are confirmed. */
.point-cover { overflow:hidden; }
.point-sample-image,.facility-sample-media img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover; }
.point-cover .point-cover-label,.facility-sample-media .point-cover-label { top:auto;bottom:10px;left:12px;padding:5px 8px;border-radius:5px;background:#17251dc4;color:#fff;letter-spacing:.3px;font-size:10px;line-height:1.2; }
.point-cover .point-close,.facility-preview:has(.facility-sample-media) .facility-close { z-index:2;background:#faf9f6ed;color:#292363;border-radius:50%; }
.facility-sample-media { position:relative;aspect-ratio:16/9;margin:-19px -19px 15px;overflow:hidden;border-radius:11px 11px 0 0; }
.facility-preview { max-height:calc(100% - 110px);overflow:auto; }

.lite-entry { position:fixed;z-index:680;top:79px;right:16px;padding:7px 11px;border-radius:20px;background:#faf9f6ed;color:#292363;font:11px/1.3 Inter,sans-serif;text-decoration:none;box-shadow:0 2px 12px #0001; }
@media(max-width:600px){.lite-entry{top:76px;right:12px;font-size:10px;}}

/* Facilities: quick find and concise place cards. */
.facility-quick { margin:20px 0 8px; }
.facility-quick-title { display:block;font-size:10px;letter-spacing:.9px;text-transform:uppercase;color:#8b8096;margin-bottom:10px; }
.facility-quick-options { display:flex;gap:7px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin; }
.facility-quick-options button { flex:0 0 auto;display:flex;align-items:center;gap:6px;min-height:40px;padding:8px 12px;border:1px solid #29236318;border-radius:24px;background:#f1eef4;color:#292363;font:inherit;font-size:12px;cursor:pointer; }
.facility-quick-options button svg { width:15px;height:15px; }
.facility-quick-options button[aria-pressed=true] { background:#292363;color:#fff;border-color:#292363; }
.facility-quick-options button:focus-visible,.facility-filter-status button:focus-visible,.facility-locate:focus-visible { outline:2px solid #9d8d68;outline-offset:3px; }
.facility-filter-status { position:absolute;z-index:485;top:18px;left:18px;display:flex;align-items:center;gap:14px;padding:5px 6px 5px 14px;border:1px solid #fff8;border-radius:24px;background:#faf9f6f5;color:#292363;box-shadow:0 3px 15px #0002;font-size:12px; }
.facility-filter-status[hidden] { display:none; }
.facility-filter-status button { border:0;border-radius:20px;min-height:36px;padding:7px 12px;background:#eeebf3;color:#292363;font:inherit;font-size:11px;cursor:pointer; }
.facility-search-muted { opacity:.2!important; }
.facility-point.facility-search-match { z-index:462;box-shadow:0 0 0 6px #faf9f64d,0 0 0 10px #9d8d6844,0 4px 14px #0004; }
.facility-location-row { margin-top:16px;padding-top:12px;border-top:1px solid #29236312;display:flex;align-items:center;gap:10px;justify-content:space-between; }
.facility-location-row .facility-note { border:0;margin:0;padding:0;line-height:1.6; }
.facility-locate { flex-shrink:0;border:0;border-radius:7px;background:#eeebf3;color:#292363;padding:9px 10px;min-height:38px;font:inherit;font-size:11px;cursor:pointer; }
.facility-preview .facility-directions { margin:12px 0 0; }
@media(max-width:600px){.facility-filter-status{top:42px;left:12px;gap:10px}.facility-quick-options button{min-height:44px}.facility-filter-status button{min-height:40px}.facility-preview{width:min(340px,calc(100% - 28px));}}
@media(prefers-reduced-motion:no-preference){.facility-point,.map-point{transition:opacity .2s ease,background .18s,box-shadow .18s}}

.facility-point[aria-expanded=true] { box-shadow:0 0 0 6px #faf9f64d,0 0 0 10px #9d8d6844,0 4px 14px #0004; }

/* Keep an escape route available even when the map image fails. */
.course-error:not([hidden]) { position:absolute;z-index:40;left:50%;bottom:100px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:12px 16px;border-radius:12px;background:#faf9f6f5;color:#292363;box-shadow:0 4px 24px #0002;font:13px/1.5 Inter,system-ui,sans-serif; }
.course-error a { display:block;margin-top:4px;color:inherit;font-weight:600;text-underline-offset:3px; }
.map-help-zh { display:none; }
html[lang="zh-Hant"] .map-help-en { display:none; }
html[lang="zh-Hant"] .map-help-zh { display:inline; }

/* Mobile map tools share the primary navigation's width and centre line. */
@media(max-width:900px) {
 .course-dock { left:14px;right:14px;width:calc(100% - 28px);max-width:380px;margin-inline:auto;transform:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px; }
 .course-dock button { width:100%;min-width:0;padding:9px 3px;font-size:10px;white-space:normal;line-height:1.25;align-content:center; }
 .course-dock button span { font-size:16px; }
}

.side-navigation .nav-indicator { will-change:transform;transition:none; }


/* Keep the facility directory steady when changing categories. */
.course-panel:has([data-panel-content="course"]:not([hidden])){height:min(650px,calc(100dvh - 180px));width:380px;overflow:hidden;box-sizing:border-box}
[data-panel-content="course"]:not([hidden]){height:100%;display:flex;flex-direction:column;min-height:0}
[data-panel-content="course"] .facility-quick-options{display:flex;flex-wrap:wrap;overflow:visible;gap:6px}
[data-panel-content="course"] .facility-quick-options button{font-size:11px;padding:7px 10px;min-height:36px}
[data-panel-content="course"] .facility-directory{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:none;padding-right:6px}
[data-panel-content="course"] .facility-directory h3{padding:14px 4px 8px;font-size:12px;color:#8b8096;letter-spacing:.04em}
@media(max-width:600px){.course-panel:has([data-panel-content="course"]:not([hidden])){width:calc(100% - 28px);height:min(650px,calc(100dvh - 190px));left:14px;right:14px}}

.place-group{border-bottom:1px solid #e7e3ed;padding:0 3px}
.place-group>summary{display:flex;align-items:center;justify-content:space-between;min-height:60px;cursor:pointer;list-style:none;font-size:15px;font-weight:500;color:#292363}
.place-group>summary::-webkit-details-marker{display:none}
.place-group>summary:after{content:'+';font-size:23px;font-weight:300;color:#9b92ad}
.place-group[open]>summary:after{content:'−'}
.place-group-items{padding:0 0 12px 8px}.place-group-items button{width:100%}

@media(max-width:900px){.side-navigation .tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.side-navigation .tab{width:auto;min-width:0;flex:none}}

.header-preferences{display:flex;align-items:center;gap:12px;flex:none;margin-left:auto}.app-header .theme-toggle{display:grid;place-items:center;width:40px;height:40px;min-width:40px;padding:0;margin:0;border:1px solid #ffffff30;border-radius:8px;background:transparent;color:#e8e3f1;cursor:pointer}.app-header .theme-toggle:hover{background:#ffffff12;border-color:#ffffff60}.app-header .theme-toggle:focus-visible{outline:2px solid #d1c399;outline-offset:3px}#themeIcon{display:flex;align-items:center;justify-content:center}#themeIcon svg{width:19px;height:19px}@media(max-width:600px){.header-preferences{gap:8px}.app-header .theme-toggle{width:40px;height:40px}.app-header{gap:10px}}

body.map-view .header-preferences .theme-toggle{display:none}.app-header .theme-toggle{border:0;background:transparent;border-radius:50%}.app-header .theme-toggle:hover{border:0;background:#ffffff0d}

.scorecard-popup{inset:0!important;margin:auto!important;translate:none!important;width:min(760px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 32px);overflow-y:auto}@media(max-width:600px){.scorecard-popup{width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}}

.map-player-identity { display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;row-gap:3px;min-width:0; }
.map-player-identity .map-player-link { max-width:100%; }
.lb-row>div:nth-child(2):has(.entry-badge) { display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:3px; }
.lb-row:has(.entry-badge) .player-name-link { grid-column:1;grid-row:1;justify-self:start;max-width:100%; }
.lb-row .entry-badge { grid-column:1;grid-row:2;justify-self:start; }
.lb-row:has(.entry-badge) .player-country { grid-column:2;grid-row:1 / span 2;margin-left:0; }
.lb-row:has(.entry-badge) .move-indicator { grid-column:2;grid-row:2;justify-self:center; }
.lb-row:has(.entry-badge):has(.move-indicator) .player-country { grid-row:1; }
.entry-badge { flex:none;white-space:nowrap;font-size:10px;line-height:1.4;padding:1px 4px;border:1px solid currentColor;border-radius:4px;color:inherit;opacity:.75; }
.entry-badge [lang="zh-Hant"],html:lang(zh) .entry-badge [lang="en"] { display:none; }
html:lang(zh) .entry-badge [lang="zh-Hant"] { display:inline; }
@media(max-width:600px) { .entry-badge { font-size:9px;padding-inline:3px; } .lb-row>div:nth-child(2) { gap:4px; } }
.entry-badge[data-entry-type="team-a"] { background:#eeebfa;color:#483782;border-color:#d5cbed;opacity:1; }
.entry-badge[data-entry-type="team-b"] { background:#e5f1ed;color:#245f50;border-color:#bddbd2;opacity:1; }

.team-board-switch { display:flex;gap:6px;margin:0 0 16px; }
.team-board-switch button { font:inherit;padding:8px 14px;border:1px solid var(--border);border-radius:8px;background:transparent;color:var(--text-primary);cursor:pointer; }
.team-board-switch button[aria-pressed=true] { background:#292363;color:#fff; }
.show-team-board .leaderboard-tools,.show-team-board #leaderboard { display:none; }
#teamBoard h3 { margin:18px 0 10px; }
#teamBoard table { width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:clamp(12px,2vw,14px); }
#teamBoard :is(th,td) { padding:9px 5px;border-bottom:1px solid var(--border);text-align:center; }
#teamBoard > table > thead th:nth-child(2),#teamBoard th[scope=row] { text-align:left; }
#teamBoard th[scope=row] { font-weight:400; }
#teamBoard small { display:block;color:var(--text-secondary); }
#teamBoard summary { cursor:pointer; }
#teamBoard ul { padding-left:18px;margin:6px 0;font-size:12px; }

.individual-board-title { margin:0;padding:12px 16px;font-size:15px;border-bottom:1px solid var(--border); }
#leaderboard section + section { border-top:1px solid var(--border); }

.team-identity { display:inline-flex;align-items:center;gap:6px;vertical-align:middle; }

#teamBoard {
  --team-badge-fill:var(--brand-gold,#9d8d68);
  --team-badge-outline:#78643d;
  --team-badge-paper:#211a10;
  --team-score-ink:var(--brand-ink,#292363);
}
[data-theme="dark"] #teamBoard {
  --team-badge-fill:#c9b58a;
  --team-badge-outline:var(--team-badge-fill);
  --team-score-ink:#c5bce9;
}
#teamBoard .entry-badge {
  display:inline-grid;place-items:center;min-width:1.7em;
  color:var(--team-badge-outline);background:transparent;border-color:currentColor;
}
#teamBoard .entry-badge[data-entry-type="team-a"] {
  color:var(--team-badge-paper);background:var(--team-badge-fill);border-color:var(--team-badge-fill);
}
.team-expand { display:inline-flex;align-items:center;gap:8px;padding:3px 0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer; }
.team-chevron { flex:none;width:14px;height:14px;display:block;color:var(--text-secondary);transition:transform 240ms ease; }
.team-expand[aria-expanded="true"] .team-chevron { transform:rotate(180deg); }
@media(prefers-reduced-motion:reduce) { .team-chevron { transition:none; } }
#teamBoard tr.team-members-row > td { padding:0;text-align:left; }
.team-members-content { overflow:hidden; }
.team-members-inner { padding:4px 10px 12px; }
#teamBoard .team-members-table th:first-child { text-align:left;overflow-wrap:anywhere; }
#teamBoard .team-scoring-note { margin:8px 0 12px;color:var(--text-secondary);font-size:13px;line-height:1.55; }
#teamBoard .team-counted-score {
  position:relative;display:inline-block;padding:2px 12px;border-radius:4px;
  color:var(--team-score-ink);background:color-mix(in srgb,var(--team-score-ink) 12%,transparent);
  font-weight:650;white-space:nowrap;
}
#teamBoard .team-counted-score [aria-hidden="true"] { position:absolute;inset-inline-end:2px;font-size:.8em; }
#teamBoard .team-counted-label { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }

#page-schedule {
  --schedule-paper:#faf9f6;
  --schedule-ink:#292363;
  --schedule-muted:#625c70;
  --schedule-rule:#dad4ce;
  background:var(--schedule-paper);
}
[data-theme="dark"] #page-schedule {
  --schedule-paper:var(--bg-page);
  --schedule-ink:var(--text-primary);
  --schedule-muted:var(--text-secondary);
  --schedule-rule:var(--border);
}
#page-schedule .schedule-wrap {
  max-width:1010px;
  margin-inline:auto;
  padding:clamp(28px,5vw,62px) clamp(20px,4vw,40px) 115px;
}
.schedule-heading { margin:0 0 24px; }
.schedule-heading h2 { margin:0; color:var(--schedule-ink); font:clamp(30px,4vw,44px)/1.2 Georgia,serif; letter-spacing:-.02em; }
#scheduleTimeline { border-top:0; }
#scheduleTimeline .tl-item { padding:0; margin-bottom:14px; border:0; }
#scheduleTimeline .tl-card {
  position:relative;
  display:grid;
  grid-template-columns:minmax(8rem,.72fr) minmax(0,1.65fr) 8rem;
  align-items:center;
  gap:10px 24px;
  padding:28px 22px;
  background:var(--bg-card);
  border:1px solid var(--schedule-rule);
  border-radius:6px;
}
#scheduleTimeline .tl-date { color:var(--schedule-muted); font-size:14px; line-height:1.4; font-weight:500; white-space:normal; }
#scheduleTimeline .round-description { display:grid; gap:5px; min-width:0; }
#scheduleTimeline .round-name { margin:0; color:var(--schedule-ink); font-family:inherit; font-weight:600; font-size:clamp(18px,2.4vw,22px); line-height:1.35; letter-spacing:-.015em; overflow-wrap:anywhere; }
#scheduleTimeline .round-time { color:var(--schedule-muted); font-size:15px; font-weight:550; font-variant-numeric:tabular-nums; }
#scheduleTimeline .round-format,
#scheduleTimeline .round-note { margin:0; color:var(--schedule-muted); font-size:14px; overflow-wrap:anywhere; }
#scheduleTimeline .round-indicators { display:grid; justify-items:end; gap:7px; }
#scheduleTimeline .round-indicators .tl-view-scores-btn { margin:0; }
#scheduleTimeline .round-status { display:inline-flex; align-items:center; gap:6px; padding:0; font-size:13px; line-height:1.25; font-weight:550; white-space:nowrap; color:var(--schedule-muted); }
#scheduleTimeline .status-live { color:#286849; font-weight:650; }
[data-theme="dark"] #scheduleTimeline .status-live { color:#98d5ae; }
#scheduleTimeline .status-live::before { content:""; width:6px; height:6px; flex:none; border-radius:50%; background:currentColor; }
#scheduleTimeline .status-today { color:#795b26; }
[data-theme="dark"] #scheduleTimeline .status-today { color:#e1c483; }
@media (max-width:600px) {
  #scheduleTimeline .tl-card { grid-template-columns:minmax(0,1fr) auto; gap:7px 10px; padding:15px 10px 16px; }
  #scheduleTimeline .tl-date { grid-area:1/1; }
  #scheduleTimeline .round-description { grid-area:2/1/3/-1; }
  #scheduleTimeline .round-indicators { grid-area:1/2; }
}

#scheduleTimeline .round-live { background:color-mix(in srgb,var(--schedule-paper) 94%,#c9a05a); }

#playerCount { display:none; }

#scheduleTimeline .tl-date { display:flex; align-items:center; gap:11px; font-size:15px; font-weight:550; }
#scheduleTimeline .tl-date::before {
  content:"";
  width:17px;
  height:17px;
  flex:none;
  border:1.5px solid #a18555;
  border-radius:3px;
  background:linear-gradient(#a18555,#a18555) 0 4px / 100% 1.5px no-repeat;
}
#scheduleTimeline .tl-card { border-radius:8px; }
#scheduleTimeline .round-description { gap:7px; }
#page-schedule .schedule-wrap { padding-bottom:55px; }
@media(max-width:600px) {
  #scheduleTimeline .tl-card { padding:19px 16px 21px; gap:11px; }
  #scheduleTimeline .tl-date { gap:8px; font-size:14px; }
  #scheduleTimeline .round-description { padding-top:3px; }
}

#scheduleTimeline .tl-date { flex-direction:column; align-items:flex-start; gap:3px; }
#scheduleTimeline .tl-date::before { content:none; }
#scheduleTimeline .schedule-day { font:42px/1 Georgia,serif; color:var(--schedule-ink); }
#scheduleTimeline .schedule-month { font-size:13px; color:var(--schedule-muted); }
#scheduleTimeline .schedule-links { grid-column:2/-1; display:flex; gap:20px; padding-top:9px; border-top:1px solid var(--schedule-rule); }
#scheduleTimeline .schedule-links button { display:inline-flex; align-items:center; gap:7px; min-height:36px; padding:4px 0; margin:0; border:0; border-radius:0; background:transparent; font:inherit; font-size:14px; color:var(--schedule-ink); cursor:pointer; }
#scheduleTimeline .schedule-links button:hover { text-decoration:underline; text-underline-offset:4px; }
#scheduleTimeline .schedule-links button:focus-visible { outline:2px solid #a18555; outline-offset:4px; }
#scheduleTimeline .round-live { border-left:3px solid #b19662; }
@media(max-width:600px) {
 #scheduleTimeline .tl-card { grid-template-columns:65px minmax(0,1fr); gap:12px; }
 #scheduleTimeline .tl-date { grid-area:1/1/3/2; }
 #scheduleTimeline .round-indicators { grid-area:1/2; justify-items:start; }
 #scheduleTimeline .round-description { grid-area:2/2; padding-top:0; }
 #scheduleTimeline .schedule-links { grid-area:3/1/4/-1; }
}

.lb-header > :first-child,
.lb-row > :first-child,
.map-score-head > :first-child,
.map-score-row > :first-child { display:none; }
.lb-header,.lb-row { grid-template-columns:minmax(150px,1fr) repeat(3,minmax(35px,.5fr)) minmax(64px,.5fr); }
.map-score-head,.map-score-row { grid-template-columns:minmax(0,1fr) 22px repeat(3,28px) 36px 40px; }
#teamBoard > table > thead > tr > :first-child,
#teamBoard > table > tbody > tr:not(.team-members-row) > td:first-child { display:none; }
@media(max-width:600px) {
 .lb-header,.lb-row { grid-template-columns:minmax(0,1fr) repeat(3,30px) 54px; }
 .lb-strokes { display:block; }
 .map-score-head,.map-score-row { grid-template-columns:minmax(0,1fr) 19px repeat(3,22px) 32px 36px; }
}
.age-board-controls { display:flex;flex-wrap:wrap;gap:12px;margin:16px 0; }
.age-board-controls[hidden],.age-board-controls label[hidden] { display:none; }
.age-board-controls label { display:grid;gap:5px;color:var(--text-secondary);font-size:13px; }
.age-board-controls select { font:inherit;font-size:15px;color:var(--text-primary);background:var(--bg-card);border:1px solid var(--border);border-radius:5px;min-height:42px;padding:8px 30px 8px 10px; }

.team-board-switch { display:grid;grid-template-columns:1fr 1fr;gap:10px; }
.team-board-switch button { min-height:58px;font-size:18px;font-weight:600; }
.board-gender,.board-age-buttons { display:flex;flex-wrap:wrap;gap:8px;margin:14px 0; }
.board-gender button,.board-age-buttons button { min-height:42px;padding:9px 18px;border:1px solid var(--border);background:var(--bg-card);color:var(--text-primary);font:inherit;border-radius:5px;cursor:pointer; }
.board-gender button[aria-pressed=true],.board-age-buttons button[aria-pressed=true] { background:#292363;color:white;border-color:#292363; }
.board-age-buttons button[hidden] { display:none; }
.board-gender button:focus-visible,.board-age-buttons button:focus-visible { outline:2px solid #a18555;outline-offset:3px; }
.age-board-controls { margin:0; }

.team-board-switch button,.board-gender button,.board-age-buttons button {
 transition:background-color .18s,color .18s,border-color .18s,box-shadow .18s;
 box-shadow:0 1px 2px #2923630a;
}
.team-board-switch button[aria-pressed=true] {
 background:#292363;color:#fff;border-color:#292363;box-shadow:0 3px 8px #29236320;
}
.board-gender button[aria-pressed=true],.board-age-buttons button[aria-pressed=true] { box-shadow:inset 0 1px 0 #ffffff20,0 2px 5px #29236318; }
.team-board-switch button:hover,.board-gender button:hover,.board-age-buttons button:hover { border-color:#9b92b5; }

#page-schedule .tournament-heading,
#page-leaderboard .tournament-heading { text-align:left;margin-bottom:28px; }
#page-leaderboard .tournament-heading { padding-top:clamp(28px,5vw,62px);padding-bottom:0; }
#page-schedule .tournament-heading h2,
#page-leaderboard .tournament-heading h2 {
 margin:0 0 20px;
 color:var(--text-primary);
 font:clamp(36px,4.5vw,60px)/1.16 Georgia,serif;
 letter-spacing:-.025em;
}
#page-schedule .tournament-heading h2 { color:var(--schedule-ink); }
#page-schedule .tournament-heading p,
#page-leaderboard .tournament-heading p {
 margin:0;
 color:var(--text-secondary);
 font-size:16px;
 line-height:1.85;
}

/* Shared page alignment follows the Explore page. */
#page-leaderboard .tournament-heading,
#page-leaderboard .leaderboard-wrap,
#page-schedule .schedule-wrap {
 box-sizing:border-box;
 width:100%;
 max-width:1180px;
 margin-inline:auto;
 padding-inline:32px;
}
#page-leaderboard .tournament-heading { padding-top:40px; margin-bottom:28px; }
#page-leaderboard .leaderboard-wrap { padding-top:0; }
#page-schedule .schedule-wrap { padding-top:40px; }
#page-schedule .schedule-heading { margin-bottom:28px; }
.discover-hero { align-items:start; }
.discover-hero-copy { padding-top:0;padding-bottom:0; }
#page-leaderboard .tournament-heading h2,
#page-schedule .tournament-heading h2 { margin-top:0; }
@media(max-width:600px){
 #page-leaderboard .tournament-heading,
 #page-leaderboard .leaderboard-wrap,
 #page-schedule .schedule-wrap { padding-inline:20px; }
 #page-leaderboard .tournament-heading,
 #page-schedule .schedule-wrap { padding-top:28px; }
 #page-discover .discover { padding-top:28px;padding-inline:20px; }
}

html:has(body:not(.map-view)) { scrollbar-gutter: stable; }
#page-leaderboard, #page-schedule, #page-discover { background:#faf9f6; }
[data-theme="dark"] :is(#page-leaderboard,#page-schedule,#page-discover) { background:var(--bg-page); }
:is(#page-leaderboard,#page-schedule,#page-discover) .tournament-heading {
 padding-block:0;
 text-align:left;
}
#page-leaderboard .tournament-heading { padding-top:40px; }
#page-discover .discover-hero { align-items:start; }
:is(#page-leaderboard,#page-schedule,#page-discover) .tournament-heading :is(h1,h2) {
 margin:0 0 20px;
 color:var(--brand-ink,#292363);
 font:400 clamp(36px,4.5vw,60px)/1.16 Georgia,serif;
 letter-spacing:-.025em;
}
html[lang="zh-Hant"] :is(#page-leaderboard,#page-schedule,#page-discover) .tournament-heading :is(h1,h2) {
 font-family:Inter,"PingFang TC","Microsoft JhengHei",sans-serif;
 font-weight:500;
}
:is(#page-leaderboard,#page-schedule,#page-discover) .tournament-heading p {
 margin:0;
 color:#625c70;
 font-size:16px;
 line-height:1.85;
}
[data-theme="dark"] :is(#page-leaderboard,#page-schedule,#page-discover) .tournament-heading :is(h1,h2,p) { color:var(--text-primary); }
@media(max-width:600px) {
 #page-leaderboard .tournament-heading { padding-top:28px; }
}

/* Set the top inset on one container per page. */
:is(#page-leaderboard,#page-schedule,#page-discover) { --section-top:40px; }
#page-leaderboard > .tournament-heading,
#page-schedule > .schedule-wrap,
#page-discover > .discover { padding-top:var(--section-top); }
#page-schedule .schedule-heading,
#page-discover .discover-hero-copy.tournament-heading { margin-top:0; padding-top:0; }
#page-discover .discover-hero { align-items:start; }
@media (max-width:600px) {
 :is(#page-leaderboard,#page-schedule,#page-discover) { --section-top:28px; }
}

#page-leaderboard > .tournament-heading { margin-block-start:0; }
#page-discover .discover-hero-copy { grid-row:1; }
@media(max-width:600px) {
 #page-discover .discover-hero-photo { grid-row:2; }
}

#page-leaderboard #statusBar { margin-inline:0; }
#page-leaderboard #statusBar:has(.live-indicator:empty):has(.update-info:empty) { display:none !important; }


@media (max-width:900px) {
  .side-navigation .tab {
    height:auto;
    min-height:53px;
    padding:6px 4px;
    white-space:normal;
    line-height:1.15;
  }
  .side-navigation .tab > span {
    max-width:100%;
    min-width:0;
    overflow-wrap:anywhere;
    text-align:center;
  }
  html[lang="en"] .side-navigation .tab > span { min-height:2.3em; align-content:center; }
}

html, body { overscroll-behavior-y:none; }
#scheduleTimeline :is(.round-upcoming,.round-today) .schedule-day {
  color:var(--schedule-muted);
}
@supports (-webkit-text-stroke:1px currentColor) {
  #scheduleTimeline :is(.round-upcoming,.round-today) .schedule-day {
    -webkit-text-stroke:1px var(--schedule-muted);
    -webkit-text-fill-color:transparent;
  }
}
[data-theme="dark"] #page-discover .discover {
  --ink:var(--text-primary);
  --muted:var(--text-secondary);
  --paper:var(--bg-card);
}
[data-theme="dark"] #page-discover .discover-hero-caption,
[data-theme="dark"] #page-discover .discover-source-note { color:var(--text-secondary) !important; }
[data-theme="dark"] #page-discover :is(.discover-nav-icon,.journal-arrow,.journal-text-link,.journal-card-title) { color:var(--text-primary); }
[data-theme="dark"] #page-leaderboard .team-board-switch button[aria-pressed="false"] {
  background:var(--bg-card);
  color:var(--text-primary);
  border-color:var(--border);
}
[data-theme="dark"] #scheduleTimeline .round-time,
[data-theme="dark"] #scheduleTimeline .schedule-month { color:var(--text-secondary); }

#scheduleTimeline .status-live { position:relative; }
#scheduleTimeline .status-live::before { width:8px; height:8px; }
@media (prefers-reduced-motion: no-preference) {
  #scheduleTimeline .status-live::before {
    animation:schedule-live-breathe 1.75s ease-in-out infinite;
  }
  #scheduleTimeline .status-live::after {
    content:"";
    position:absolute;
    inset-inline-start:0;
    top:calc(50% - 4px);
    width:8px;
    height:8px;
    border:1px solid currentColor;
    border-radius:50%;
    pointer-events:none;
    animation:schedule-live-ring 1.75s ease-out infinite;
  }
}
@keyframes schedule-live-breathe {
  0%,100% { transform:scale(.85); }
  35% { transform:scale(1.22); }
}
@keyframes schedule-live-ring {
  0% { transform:scale(1); opacity:.8; }
  75%,100% { transform:scale(2.8); opacity:0; }
}

.event-video-preview { margin:0 0 16px; }
.event-video-preview summary { color:var(--brand-ink,#292363); font-weight:600; cursor:pointer; }
.event-video-preview [data-zh],
html[lang^="zh"] .event-video-preview [data-en] { display:none; }
html[lang^="zh"] .event-video-preview [data-zh] { display:inline; }
.event-video-preview .event-video-note { margin:10px 0 6px; color:var(--text-secondary); font-size:13px; line-height:1.5; }
.event-video-preview .event-video-action {
  display:inline-flex; align-items:center; gap:12px; min-height:40px;
  padding:0 12px; border:1px solid var(--border); border-radius:6px;
  color:var(--brand-ink,#292363); background:var(--bg-card);
  text-decoration:none; font-size:13px; font-weight:600;
}
.event-video-preview .event-video-action:hover { border-color:var(--champagne-dark); }
.event-video-preview .event-video-action:focus-visible { outline:2px solid var(--champagne-dark); outline-offset:2px; }


.venue-card { margin:12px 0 18px; padding:14px; border:1px solid var(--border); border-radius:8px; background:var(--bg-card); color:var(--text-primary); }
.venue-card h3 { margin:4px 0 6px; font-size:17px; color:inherit; }
.venue-card p { margin:0; font-size:13px; line-height:1.5; color:var(--text-secondary); }
.venue-card .venue-label { font-size:11px; }
.venue-card a { display:inline-flex; align-items:center; gap:8px; min-height:40px; color:inherit; font-size:13px; font-weight:600; text-underline-offset:3px; }
.venue-card .venue-date { border-top:1px solid var(--border); padding-top:9px; }



/* The open map pin stays above its neighbours while its details are shown. */
.course-shell :is(.map-point,.facility-point)[aria-expanded="true"] {
  z-index:470;
  opacity:1 !important;
}
.course-shell:has(:is(.map-point,.facility-point)[aria-expanded="true"])
  :is(.map-point,.facility-point):not([aria-expanded="true"]) {
  opacity:.32;
}

#coursePanelClose,#coursePanelClose:hover { transform:none;transition:none; }
.map-score-filters { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:6px; margin:8px 0 12px; }
.map-score-filters :is(input,select) { min-width:0;width:100%;min-height:34px;padding:5px 7px;border:1px solid var(--border);border-radius:5px;background:var(--bg-card);color:var(--text-primary);font:inherit;font-size:12px; }
.map-score-filters input { grid-column:1/-1; font-size:16px; }
.map-score-empty { font-size:13px;color:var(--text-secondary); }

.map-score-head,.map-score-row { padding-inline:14px 9px; }
.map-score-row.is-favorite,.map-score-row.is-favorite:nth-child(even),.map-score-row.is-favorite:hover {
  box-shadow:inset 2px 0 #ab8a49;
}
@media (max-width:600px) {
  .course-shell :is(.map-point,.facility-point):not([aria-expanded="true"]) {
    width:clamp(22px,6.5vw,30px);
    height:clamp(22px,6.5vw,30px);
    padding:0;
  }
  .course-shell .facility-point:not([aria-expanded="true"]) svg { width:14px;height:14px; }
}

.map-score-guide { margin:6px 0 10px; color:var(--text-secondary); font-size:12px; line-height:1.5; }
.map-score-guide a { color:inherit; text-underline-offset:3px; }
.map-score-guide [data-zh],html[lang^="zh"] .map-score-guide [data-en] { display:none; }
html[lang^="zh"] .map-score-guide [data-zh] { display:inline; }

/* Keep the final content above mobile browser chrome and bottom controls. */
@media (max-width:900px) {
  body:not(.map-view) .footer {
    padding-bottom:calc(550px + env(safe-area-inset-bottom, 0px));
  }
  .course-panel {
    overscroll-behavior-y:none;
    padding-bottom:calc(120px + env(safe-area-inset-bottom, 0px));
  }
}
.sc-table .sc-reference{font-size:12px;color:var(--text-secondary)}.sc-table .sc-reference th,.sc-table .sc-reference td{padding-block:6px;font-weight:400}.sc-table .sc-reference .sc-label{white-space:nowrap}
.schedule-weather{margin:32px 0;color:var(--text-primary)}.schedule-weather .weather{border:1px solid var(--border);padding:24px;border-radius:8px;background:var(--bg-card)}.schedule-weather h2{font-size:22px;margin:0 0 16px}.schedule-weather .weather-main{display:flex;align-items:center;gap:20px}.schedule-weather .weather-main svg{width:48px;height:48px;flex:none}.schedule-weather .weather-main strong{font-size:40px}.schedule-weather .weather-main small{font-size:18px}.schedule-weather dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.schedule-weather dt,.schedule-weather .note,.weather-refresh-note{font-size:13px;line-height:1.8;color:var(--text-secondary)}.schedule-weather dd{margin:5px 0;font-size:17px}.schedule-weather .forecast-section{margin-top:32px}.schedule-weather .forecast-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}.schedule-weather .forecast-day{border:1px solid var(--border);padding:14px 10px;border-radius:6px}.schedule-weather .forecast-day strong{display:block;font-size:21px;margin:12px 0}.schedule-weather .forecast-day p{font-size:13px}.schedule-weather .section-head{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}@media(max-width:700px){.schedule-weather .forecast-days{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-weather .weather{padding:18px}}
.schedule-weather .weather-schedule{margin-block:40px}.schedule-weather .forecast-today{background:#292363;color:#fff;border-color:#292363;box-shadow:0 0 0 2px #292363}.schedule-weather .forecast-today small{font-weight:700}.schedule-weather .weather-source-note{margin-top:32px;padding-top:20px;border-top:1px solid var(--border);font-size:12px;line-height:1.7;color:var(--text-secondary)}.schedule-weather a{color:#6253a0;text-decoration-color:currentColor;text-underline-offset:3px}.schedule-weather .weather-source-note p{margin:6px 0}
#page-leaderboard:has([data-division="all"][aria-pressed="true"]) #ageBoardControls{display:none}

@media(hover:none){#courseCanvas:focus:not(:focus-visible){outline:none!important}.course-canvas,.map-point,.facility-point{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}}

.board-age-buttons [data-age=""]{display:none!important}
#page-schedule .schedule-heading,#page-schedule .round-description,#page-schedule .tl-date,#page-schedule .forecast-day{min-width:0}#page-schedule :is(.round-name,.round-time,.round-format,.round-note,.round-status,.schedule-month,.forecast-day small,.section-head h2,.weather-source-note p){white-space:normal;overflow-wrap:anywhere;text-overflow:clip;max-width:100%}#page-schedule .schedule-links{flex-wrap:wrap}#page-schedule .section-head>*{min-width:0}#page-schedule .weather-source-note span{white-space:normal}#page-schedule .forecast-day small{display:block;line-height:1.5}#page-schedule .forecast-day strong{white-space:normal}

.weather-source-note .weather-timestamps{display:flex;flex-wrap:wrap;column-gap:14px;row-gap:2px}.weather-source-note :empty{display:none}

/* Keep the map directory anchored above the controls and size it to its content. */
.course-panel:has([data-panel-content="course"]:not([hidden])) {
  height:auto;
  max-height:min(650px, calc(100% - var(--map-panel-bottom) - 16px));
  overflow:auto;
  overscroll-behavior:none;
  padding-bottom:19px;
  overflow-anchor:none;
}
[data-panel-content="course"]:not([hidden]) {height:auto;}
[data-panel-content="course"] .facility-directory {overflow:visible; padding-right:0;}
[data-panel-content="course"] .facility-directory button[hidden] {display:none;}
@media(max-width:900px) {
  .course-panel:has([data-panel-content="course"]:not([hidden])) {
    padding-bottom:calc(19px + env(safe-area-inset-bottom, 0px));
  }
}

/* The map starts below the header. Measure popovers against the map itself. */
.course-shell .course-panel {
  --map-panel-bottom:102px;
  bottom:var(--map-panel-bottom);
  box-sizing:border-box;
  max-height:calc(100% - var(--map-panel-bottom) - 16px);
}
@media(max-width:600px) {
  .course-shell .course-panel {--map-panel-bottom:163px;}
  .course-shell :is(.point-preview,.facility-preview) {
    box-sizing:border-box;
    max-height:calc(100% - 164px - 16px);
    overflow-y:auto;
    overscroll-behavior:none;
  }
}

.map-score-row .map-round-strokes { font-variant-numeric:tabular-nums; }
.map-score-total-heading [data-zh],html[lang^="zh"] .map-score-total-heading [data-en] { display:none; }
html[lang^="zh"] .map-score-total-heading [data-zh] { display:inline; }

.app-header .app-identity { min-width:0; flex-shrink:1; }
.app-header .app-identity img { flex-shrink:0; }
.app-header .app-identity > span { min-width:0; }
.app-header .app-identity small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.page-refresh { display:grid; place-items:center; width:40px; height:40px; padding:0; border:0; border-radius:50%; background:transparent; color:#e8e3f1; cursor:pointer; }
.page-refresh svg { width:19px; height:19px; }
.page-refresh:hover { background:#ffffff0d; }
.page-refresh:focus-visible { outline:2px solid #d1c399; outline-offset:2px; }
.page-refresh:disabled { opacity:.5; cursor:wait; }
@media(max-width:380px) { .header-preferences { gap:4px; } }

.schedule-weather .forecast-date { display:block; margin-top:2px; font-size:12px; }
.schedule-weather .forecast-past { color:var(--text-secondary); }
@media (max-width:900px) {
  html.document-view { overflow:hidden; }
  body:not(.map-view) {
    position:fixed;
    inset:0;
    height:100%;
    height:100dvh;
    min-height:0;
    overflow:hidden auto;
    overscroll-behavior:none;
  }
  body:not(.map-view) > :is(.app-header,.status-bar,.page,.footer) { flex-shrink:0; }
  html.discover-reader-open body:not(.map-view) { overflow:hidden; }
}

.downloads-trigger, .downloads-file-action {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  border:0; border-radius:9px; background:#f2db9c; color:#292363;
  font:inherit; font-size:13px; font-weight:750; white-space:nowrap;
}
.downloads-trigger {
  position:fixed; right:24px; bottom:24px; z-index:490;
  min-height:44px; padding:0 13px; border-radius:12px; cursor:pointer;
  box-shadow:0 4px 14px #17133345; transition:background-color .15s;
}
.downloads-trigger-copy { display:grid; gap:2px; text-align:left; line-height:1.2; }
.downloads-trigger-summary { font-size:10px; font-weight:600; color:#443960; }
body:not(.map-view) .downloads-trigger { display:none; }
body.map-view .downloads-trigger { right:76px; bottom:85px; }
body.map-view:has(#coursePanel:not([hidden])) .downloads-trigger { visibility:hidden; }
.downloads-trigger:hover, .downloads-file:hover .downloads-file-action { background:#ffeab4; }
.downloads-trigger svg, .downloads-close svg { width:17px; height:17px; flex:none; }
.downloads-trigger:focus-visible, .downloads-close:focus-visible, .downloads-file:focus-visible {
  outline:2px solid #9277d1; outline-offset:3px;
}
.downloads-dialog {
  width:min(440px, calc(100% - 32px)); max-height:calc(100% - 32px);
  margin:auto; padding:18px; overflow:auto; overscroll-behavior:none;
  border:1px solid #c7bdd9; border-radius:17px;
  background:#fbf9ff; color:#292363; box-shadow:0 20px 65px #17133355;
}
html:has(.downloads-dialog[open]),
body:has(.downloads-dialog[open]) { overflow:hidden; }
.downloads-dialog::backdrop { background:#171333a6; }
.downloads-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.downloads-heading h2 { margin:0; font-size:19px; line-height:1.2; color:inherit; }
.downloads-close {
  display:grid; place-items:center; width:44px; height:44px; padding:0;
  border:0; border-radius:9px; background:#eee9f7; color:inherit; cursor:pointer;
}
.downloads-list { display:grid; gap:9px; list-style:none; padding:0; margin:12px 0 0; }
.downloads-file {
  display:flex; width:100%; font:inherit; text-align:left; cursor:pointer; align-items:center; justify-content:space-between; gap:10px;
  min-height:62px; padding:8px 10px 8px 12px; border:1px solid #d9cfe8;
  border-radius:11px; color:inherit; text-decoration:none; background:#fff;
}
.downloads-file-title { font-size:15px; font-weight:700; line-height:1.25; }
.downloads-file-title small { display:block; margin-top:3px; color:#5b5173; font-size:11px; }
.downloads-file-action { min-height:38px; padding:0 10px; }
.downloads-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
:is(.downloads-trigger,.downloads-dialog) [data-zh],
html[lang^="zh"] :is(.downloads-trigger,.downloads-dialog) [data-en] { display:none; }
html[lang^="zh"] :is(.downloads-trigger,.downloads-dialog) [data-zh] { display:inline; }
@media (max-width:420px) {
  .downloads-trigger { padding:0 7px; gap:4px; font-size:12px; }
  .downloads-trigger svg { width:14px; height:14px; }
}

.downloads-dialog [hidden] { display:none; }
.downloads-dialog.is-previewing[open] {
  display:flex; flex-direction:column; gap:10px;
  width:min(820px, calc(100% - 24px)); height:min(900px, calc(100% - 24px));
  padding:12px; overflow:hidden;
}
.document-preview {
  display:flex; flex:1; flex-direction:column; gap:8px; min-height:0;
}
.document-preview-tools { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.document-preview-tools a { margin-inline-start:auto; text-decoration:none; }
.document-tool {
  min-height:40px; padding:0 9px; border:1px solid #d9cfe8; border-radius:8px;
  background:#fff; color:inherit; font:inherit; font-size:13px; cursor:pointer;
}
.document-tool[aria-pressed="true"] { background:#e9e0f8; border-color:#9b84c6; }
.document-preview-pages {
  flex:1; min-height:0; overflow:auto; overscroll-behavior:none;
  background:#ece8f3; border-radius:8px; padding:5px;
}
.document-preview-pages img {
  display:block; width:100%; height:auto; aspect-ratio:auto 210 / 297;
  margin:0 auto 8px; background:#fff; transition-property:none;
}
.document-preview-pages img:last-child { margin-bottom:0; }
.document-preview-pages.is-zoomed img { width:max(165%, 600px); max-width:none; }
.document-preview-tools :focus-visible, .document-preview-pages:focus-visible {
  outline:2px solid #9277d1; outline-offset:2px;
}
@media (max-width:900px) {
  html:has(body.map-view) { overflow:hidden; background:#102c24; }
  body.map-view {
    position:fixed; inset:0; min-height:0; height:100vh; height:100dvh;
    display:flex; flex-direction:column; overflow:hidden; background:#102c24;
    --map-dock-bottom:calc(91px + env(safe-area-inset-bottom, 0px));
  }
  body.map-view .app-header { flex:none; }
  body.map-view #page-map { flex:1; min-height:0; transition-property:none; }
  body.map-view .course-shell { height:100%; min-height:0; transition-property:none; }
  body.map-view .course-dock { bottom:var(--map-dock-bottom); }
  body.map-view .course-controls { bottom:calc(var(--map-dock-bottom) + 81px); }
  body.map-view .side-navigation { bottom:calc(14px + env(safe-area-inset-bottom, 0px)); }
  html[lang="en"] .side-navigation [data-page="leaderboard"] > span {
    white-space:nowrap; font-size:clamp(10px, 2.8vw, 12px);
  }
  body.map-view .downloads-trigger {
    position:absolute; right:auto; left:max(14px, calc((100% - 380px) / 2));
    bottom:calc(var(--map-dock-bottom) + 73px);
  }
}
