/* Gives the inner pages (skins calculator, organizer, guide) the same look as the home screen */
:root{ --app-deep:#0F2F1E; --app-accent:#59B57F; --app-tint:#E7F4EC; }
body{font-family:"Barlow",system-ui,sans-serif;padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}

/* keep the words low and small so the course shows */
header.top, body > header{min-height:230px; display:flex; align-items:flex-end}
header.top .inner, body > header .in{width:100%}
header.top h1, body > header h1{font-size:clamp(28px,7.5vw,38px) !important;line-height:1.05 !important;margin:0 !important}
header.top p, body > header p{font-size:15px !important;margin-top:4px !important}
/* the top pill links move to the bottom tab bar */
header.top .inner > span, header.top p.tag:has(a), body > header nav{display:none !important}

/* cards and controls like the home screen */
main section, .wrap > section, #app section{border-radius:20px !important;border:1px solid var(--line) !important;box-shadow:0 2px 10px rgba(15,47,30,.06) !important}
button, .btn, input, select, textarea{border-radius:14px}
button.small{border-radius:12px}
.modes{border-radius:20px !important}
.modes button{border-radius:14px !important}

/* bottom tab bar (same as the home screen) */
.appbar{position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--card);border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px))}
.appbar .in{max-width:900px;margin:0 auto;display:grid;grid-template-columns:repeat(5,1fr);align-items:end}
.appbar a.ab{display:flex;flex-direction:column;align-items:center;gap:3px;font:600 13px "Barlow",system-ui,sans-serif;color:var(--muted);padding:4px 0;text-decoration:none;border:0}
.appbar a.ab svg{width:26px;height:26px}
.appbar a.ab.on{color:var(--ink)}
.appbar a.ab.on svg{color:var(--green)}
.appbar .ab-plus{justify-self:center;margin-top:-34px;width:64px;height:64px;border-radius:50%;background:var(--app-deep);color:#fff;display:grid;place-items:center;box-shadow:0 0 0 5px var(--app-accent),0 8px 20px rgba(0,0,0,.25)}
.appbar .ab-plus svg{width:30px;height:30px}
.appbar .ab-lbl{text-align:center;font:600 13px "Barlow",system-ui,sans-serif;color:var(--muted);margin-top:6px}
#updBar{bottom:calc(96px + env(safe-area-inset-bottom,0px)) !important}
#toast{bottom:calc(104px + env(safe-area-inset-bottom,0px)) !important}
@media print{ .appbar{display:none !important} header.top, body > header{background:#1C5636 !important;min-height:0} }

/* use the whole screen width on computers and tablets */
.wrap, main, header.top .inner, body > header .in, footer.club-foot{max-width:none !important}
.wrap, main{padding-left:clamp(16px,3vw,40px) !important;padding-right:clamp(16px,3vw,40px) !important}
header.top, body > header{padding-left:clamp(16px,3vw,40px) !important;padding-right:clamp(16px,3vw,40px) !important}
