img{height:auto}
:root{color-scheme:light;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}html{scroll-padding-top:env(safe-area-inset-top,0px)}body{margin:0;padding:0;font:14px -apple-system,BlinkMacSystemFont,sans-serif;background:#FFF7E8;color:#000}img{max-width:100%}[hidden]:not([hidden=until-found i]){display:none!important}.jgs-link{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:8px;padding:20px 18px;background:#fff;border:2px solid var(--green);border-radius:18px;text-decoration:none;color:inherit;box-shadow:0 4px 0 rgba(0,0,0,.15)}.jgs-link img{display:block;width:100%;max-width:280px;height:auto}.jgs-link span{display:block;width:100%;box-sizing:border-box;padding:14px 12px;border-radius:14px;background:var(--green);color:var(--green-ink);font-size:18px;font-weight:800;text-align:center;line-height:1.25}.jgs-link:active{transform:translateY(2px);box-shadow:0 2px 0 rgba(0,0,0,.15)}
.yoc-logo{display:flex;align-items:center;justify-content:center;padding:22px 20px;background:#fff;border:2px solid var(--line);border-radius:18px;text-decoration:none}
.yoc-logo img{display:block;width:100%;max-width:320px;height:auto}/* Wall of Support: heading, live counter, scrolling ticker of signatures, signup form. Mobile first; rows are a fixed height so the loop never shifts. */
.wall { align-items: center; text-align: center; --wrh: 54px; --wrows: 6; scroll-margin-top: 12px }
.wall-form fieldset.rec legend { padding: 0 }
.wall [hidden] { display: none !important }
.wall > * { width: 100%; max-width: 640px }
.wall > p { margin: 0 auto }
.wall-jump { width: 100%; background: var(--sun); color: #1F1A14 }
.wall-count { font-family: var(--display); font-weight: 600; font-size: clamp(21px, 6.2vw, 30px); line-height: 1.2; color: var(--green); text-wrap: balance; font-variant-numeric: tabular-nums }
.wall-count b { font-weight: 700; font-size: 1.3em }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wall-count { color: var(--sun) } }
:root[data-theme="dark"] .wall-count { color: var(--sun) }
.wall-tick { position: relative; overflow: hidden; max-height: calc(var(--wrh) * var(--wrows)); border: 2px solid var(--line); border-radius: 16px; background: var(--bg); text-align: left; touch-action: pan-y }
.wall-tick.fade { -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent) }
.wall-tick.static { overflow-y: auto; overscroll-behavior: contain; -webkit-mask-image: none; mask-image: none }
.wall-track { will-change: transform }
.wall-tick.static .wall-track { will-change: auto }
.wall-track ul { list-style: none; margin: 0; padding: 0 }
.wrow { display: flex; align-items: center; gap: 12px; height: var(--wrh); padding: 0 14px; border-bottom: 1px solid var(--line); box-sizing: border-box; overflow: hidden }
.wflag { flex: none; display: block; width: 28px; height: 21px; object-fit: contain; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.14); background: var(--slot) }
.wtxt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; line-height: 1.3 }
.wtxt > * { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.wtxt b { font-weight: 800; font-size: 15.5px }
.wplace { color: var(--muted); font-size: 14px; font-weight: 700 }
.wdash { display: none }
.wrow.wnew { animation: wnew .8s ease-out both }
.wrow.glow { animation: wglow 3s ease-out both }
@keyframes wnew { from { opacity: 0; transform: translateY(-10px) } to { opacity: 1; transform: none } }
@keyframes wglow { 0%, 55% { background: var(--sun-soft); box-shadow: inset 0 0 0 2px var(--sun), inset 0 0 18px rgba(245,197,24,.55) } 100% { background: transparent; box-shadow: inset 0 0 0 2px transparent } }
.wall-empty { padding: 22px 16px; border: 2px dashed var(--slot-edge); border-radius: 16px; font-weight: 800; color: var(--muted) }
.wall-form { display: flex; flex-direction: column; gap: 12px; text-align: left; margin: 0 auto }
.wall-form .wfine { margin: 0; text-align: center; font-size: 14px; font-weight: 700 }
.wall-form .wsub { display: block; font-weight: 700; font-size: 13.5px; color: var(--muted) }
.wall-form .btn { width: 100% }
.wall-form fieldset.rec .wradios { display: flex; flex-direction: column; gap: 2px }
.wall-form .note { text-align: center }
.wall-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden }
.wcbox { position: relative }
.wcbox input { padding-left: 52px !important }
.wcbox > .wflag { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); pointer-events: none }
.wcl { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 6; max-height: 264px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: var(--surface); border: 2px solid var(--slot-edge); border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,.16); overscroll-behavior: contain }
.wcl li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: 8px; cursor: pointer; font-weight: 700 }
.wcl li span { min-width: 0; overflow-wrap: anywhere }
.wcl li.act, .wcl li:hover { background: var(--slot) }
.wcl li[aria-selected="true"] { color: var(--green); font-weight: 800 }
.wcl .none { cursor: default; color: var(--muted) }
.wall-thanks { text-align: left }
.wrev { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 2px solid var(--sun); border-radius: 16px; background: var(--surface); text-align: left; outline: none }
.wrev:focus-visible { box-shadow: 0 0 0 3px var(--sun) }
.wrev h3 { margin: 0; font-size: 19px; text-align: center }
.wrev .wsub { margin: 0 }
.wrev-prev { margin: 0; padding: 0; list-style: none; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); overflow: hidden }
.wrev-prev .wrow { border-bottom: 0 }
.wfix { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px }
.wfix li { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--sun-soft); color: var(--sun-ink); font-weight: 700; font-size: 14.5px }
.wfix li.wtidy { background: var(--slot); color: var(--fg); font-weight: 600 }
.wfix .wchg { font-size: 15px; overflow-wrap: anywhere }
.wfix .wchg s { opacity: .75 }
.wfix .wbtns { display: flex; gap: 8px; flex-wrap: wrap }
.wfix .wbtns .btn { width: auto; min-height: 40px; font-size: 14.5px; padding: 0 14px; flex: 1 1 auto }
@media (min-width: 700px) {
  .wall { --wrh: 46px; --wrows: 8 }
  .wtxt { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
  .wtxt > * { display: inline; white-space: nowrap }
  .wdash { display: inline; color: var(--muted) }
  .wall-form fieldset.rec .wradios { flex-direction: row; gap: 20px }
}
@media (prefers-reduced-motion: reduce) { .wrow.wnew { animation: none } .wrow.glow { animation-name: wglowstill } }
@keyframes wglowstill { 0%, 80% { background: var(--sun-soft); box-shadow: inset 0 0 0 2px var(--sun) } 100% { background: transparent } }
.guides { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 16px }
.guides h2 { font-size: 18px; margin: 0 0 10px }
.guides ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 16px }
.guides li a, .guides .glangs a { color: var(--fg); font-weight: 700; text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 3px; display: inline-block; padding: 6px 0 }
.guides .glangs { margin: 10px 0 0; color: var(--muted) }
/* Layout: one phone-width column, campus green header band, bright flower tiles; the photo is always the hero. */
:root {
  --bg: #FFF7E8; --surface: #FFFFFF; --line: #F0E3C8; --fg: #1F1A14; --muted: #5C574D;
  --green: #1D4B34; --green-ink: #FFFFFF; --sun: #F5C518; --sun-soft: #FFF1C2; --sun-ink: #5A4300;
  --ok: #145C38; --ok-soft: #DDF3E7; --warn-ink: #7A2E00; --warn-soft: #FFE2CC; --warn-edge: #F26B21;
  --bad-ink: #7A0B1C; --bad-soft: #FDE3E6; --bad-edge: #C8102E; --pink-soft: #FFF1F2; --pink-edge: #F3A6B0; --slot: #F7EFDF; --slot-edge: #D6CFC1;
  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #12170F; --surface: #1C2319; --line: #2E3828; --fg: #F2EDE2; --muted: #B9B2A3;
  --green: #1D4B34; --green-ink: #FFFFFF; --sun: #F5C518; --sun-soft: #3A3215; --sun-ink: #F7DB7A;
  --ok: #8FE0B2; --ok-soft: #173A27; --warn-ink: #FFC39C; --warn-soft: #3D2414; --warn-edge: #F26B21;
  --bad-ink: #FFB3BD; --bad-soft: #3D1820; --bad-edge: #E0435A; --pink-soft: #2C1A1D; --pink-edge: #8A4A55; --slot: #232B1F; --slot-edge: #3E4936;
  color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #12170F; --surface: #1C2319; --line: #2E3828; --fg: #F2EDE2; --muted: #B9B2A3;
  --green: #1D4B34; --green-ink: #FFFFFF; --sun: #F5C518; --sun-soft: #3A3215; --sun-ink: #F7DB7A;
  --ok: #8FE0B2; --ok-soft: #173A27; --warn-ink: #FFC39C; --warn-soft: #3D2414; --warn-edge: #F26B21;
  --bad-ink: #FFB3BD; --bad-soft: #3D1820; --bad-edge: #E0435A; --pink-soft: #2C1A1D; --pink-edge: #8A4A55; --slot: #232B1F; --slot-edge: #3E4936;
  color-scheme: dark }
* { box-sizing: border-box }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 15px; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--green) }
button, input, select { font-family: inherit; font-size: inherit; color: inherit }
button { cursor: pointer }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px }
.app { width: 100%; margin: 0; min-height: 100vh; display: flex; flex-direction: column }
@media (min-width: 700px) {
  main { padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)) }
  .hub { grid-template-columns: repeat(3, minmax(0, 1fr)) !important }
  .grid2 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .sfacts { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .hub > .hubtile:not(.wide):last-child:nth-child(odd) { grid-column: auto !important; justify-self: stretch !important; width: auto !important }
}
@media (min-width: 1000px) {
  .hub { grid-template-columns: repeat(4, minmax(0, 1fr)) !important }
  .grid2 { grid-template-columns: repeat(4, minmax(0, 1fr)) }
  .box p, .box li, .site-b > p { max-width: 80ch }
}
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--green); color: var(--green-ink);
  padding-block: 14px 12px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px }
.wm { display: flex; flex-direction: column; min-width: 0 }
.wm b { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1 }
.wm span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sun) }
.pill { background: var(--sun); color: #1F1A14; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 0; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
main { flex: 1; display: flex; flex-direction: column; gap: 18px; padding-block: 16px 28px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
h1, h2 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; color: var(--fg) }
h2 { font-size: 21px }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px }
.muted { color: var(--muted) }
.box { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px }
.photo { display: block; border-radius: 50%; object-fit: cover; background: #FFFFFF; max-width: 100% }
.grey { filter: grayscale(1); opacity: .38 }
.flock { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 5px }
.flock img { width: 100%; aspect-ratio: 1; border: 2px solid var(--line) }
.flock img.got { border: 3px solid var(--sun); box-shadow: 0 0 0 2px var(--green) }
.bar { height: 14px; border-radius: 999px; background: var(--line); overflow: hidden }
.bar > div { height: 100%; background: var(--sun); border-radius: 999px; transition: width .5s }
.stops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center }
.stop { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px }
.stop .dot { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; background: var(--surface); color: var(--muted); border: 3px dashed var(--slot-edge) }
.stop.on .dot { background: var(--sun); color: #1F1A14; border: 3px solid var(--green) }
.stop b { line-height: 1.25 }
.note { background: var(--sun-soft); color: var(--sun-ink); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 14px; text-align: center }
.banner { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 16px; text-align: left; border: 3px solid }
.banner .photo { width: 56px; height: 56px; flex: none }
.banner b { font-family: var(--display); font-weight: 600; font-size: 17px; display: block; line-height: 1.2 }
.banner span { font-size: 13px; font-weight: 600 }
.due { background: var(--sun-soft); color: var(--sun-ink); border-color: var(--sun) }
.grace { background: var(--warn-soft); color: var(--warn-ink); border-color: var(--warn-edge) }
.hold { background: var(--bad-soft); color: var(--bad-ink); border-color: var(--bad-edge) }
.current { background: var(--ok-soft); color: var(--ok); border-color: transparent }
.feat { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border: 0; border-radius: 20px; text-align: left; box-shadow: 0 4px 0 rgba(0,0,0,.2) }
.feat .photo { width: 116px; height: 116px; flex: none; border: 4px solid var(--sun) }
.feat small, .tile small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .92 }
.feat strong { overflow-wrap: anywhere;  font-family: var(--display); font-size: 25px; font-weight: 600; line-height: 1.1; display: block }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border: 0; border-radius: 18px; text-align: left; box-shadow: 0 3px 0 rgba(0,0,0,.18); min-width: 0 }
.tile .photo { width: 108px; height: 108px; margin-bottom: 4px; align-self: center; border: 3px solid rgba(255,255,255,.85) }
.tile strong { font-family: var(--display); font-size: 17px; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; hyphens: auto }
.tile em { font-style: normal; font-size: 13px; font-weight: 700 }
.done-msg { text-align: center; padding: 18px; }
.back { align-self: flex-start; background: none; border: 0; color: var(--fg); font-weight: 800; font-size: 16px; min-height: 44px; padding: 0 4px; display: flex; align-items: center; gap: 6px }
.hero { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 22px 16px; border-radius: 22px }
.hero .photo { width: 186px; height: 186px; border: 5px solid #FFFFFF }
.hero small { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase }
.hero h1 { font-size: 30px; line-height: 1.1; color: inherit }
.box h2 { font-size: 18px; color: var(--green) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .box h2 { color: var(--sun) } }
:root[data-theme="dark"] .box h2 { color: var(--sun) }
.box p { margin: 0; line-height: 1.5 }
.step { display: flex; gap: 12px; align-items: flex-start }
.step span:first-child { flex: none; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px }
.step span:last-child { line-height: 1.45; padding-top: 3px }
.ver { border-top: 2px dashed var(--line); padding-top: 10px; font-size: 14px; color: var(--muted) }
.ver b { color: var(--fg) }
.btn { min-height: 54px; border-radius: 16px; border: 0; font-size: 17px; font-weight: 800; padding: 0 18px; box-shadow: 0 4px 0 rgba(0,0,0,.2) }
.btn.primary { background: var(--green); color: var(--green-ink) }
.btn.plain { background: var(--slot); color: var(--fg); box-shadow: none; min-height: 46px; font-size: 15px }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; font-weight: 700; min-height: 44px }
.earned { background: var(--ok-soft); color: var(--ok); border-radius: 16px; padding: 14px; font-weight: 800; text-align: center }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px }
.slot { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 16px; text-align: center; font-size: 12px; font-weight: 800; line-height: 1.2; background: var(--slot); border: 2px dashed var(--slot-edge); color: var(--muted); min-width: 0 }
.slot.got { background: var(--surface); border: 3px solid; color: var(--fg) }
.slot .photo { width: 88px; height: 88px }
.slot i { font-style: normal; font-weight: 600; color: var(--muted) }
.prize { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface); border: 2px dashed var(--slot-edge) }
.prize.on { background: var(--sun-soft); border: 3px solid var(--sun) }
.prize .pi { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; background: var(--slot); color: var(--muted) }
.prize.on .pi { background: var(--green); color: #FFFFFF }
.prize div { display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.prize span { font-size: 13px; color: var(--muted); font-weight: 600 }
.card-status { border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 4px; background: var(--green); color: #FFFFFF }
.card-status b { font-family: var(--display); font-size: 20px; font-weight: 600 }
.card-status.off { background: var(--slot); color: var(--muted) }
nav.tabs { position: sticky; bottom: 0; display: flex; gap: 8px; background: var(--surface); border-top: 2px solid var(--line);
  padding-block: 10px calc(12px + env(safe-area-inset-bottom, 0px)); padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)) }
nav.tabs button { flex: 1; min-height: 50px; border-radius: 14px; border: 0; font-weight: 800; font-size: 16px; background: var(--slot); color: var(--muted) }
nav.tabs button[aria-current="page"] { background: var(--green); color: #FFFFFF }
.plist { display: flex; flex-direction: column; gap: 10px }
.prow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 2px solid var(--line); text-align: left }
.prow .photo { width: 56px; height: 56px; flex: none }
.prow div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px }
.prow strong { font-family: var(--display); font-size: 19px; font-weight: 600; overflow-wrap: anywhere }
.mini { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden }
.mini > div { height: 100%; background: var(--sun) }
.tag { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--slot-edge); border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: middle }
form.inline { display: flex; flex-direction: column; gap: 10px }
label { font-weight: 800; font-size: 14px; display: flex; flex-direction: column; gap: 6px }
input[type=text], input[type=password], input[type=date], input[type=number] { width: 100%; min-height: 48px; border-radius: 12px; border: 2px solid var(--slot-edge); background: var(--surface); padding: 0 12px; font-size: 16px }
.err { color: var(--bad-ink); font-weight: 700; font-size: 14px }
.sheet-wrap { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center }
.sheet { width: 100%; max-width: 480px; background: var(--bg); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; gap: 14px;
  padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)) }
.sheet h2 { font-size: 22px }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px }
.sheet-head .btn.plain { min-height: 40px; font-size: 14px; padding: 0 14px; flex: none }
/* every sheet stays within the screen and scrolls, so the top is never cut off on short phones */
.sheet { max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch }
.sheet > * { flex-shrink: 0 }
.pad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px }
.pad button { min-height: 56px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); font-size: 22px; font-weight: 800 }
.pins { display: flex; justify-content: center; gap: 14px }
.pins span { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--green); }
.pins span.f { background: var(--green) }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line) }
.mrow:last-child { border-bottom: 0 }
.footer { text-align: center; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 30; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 800; max-width: calc(100% - 32px) }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 25; overflow: hidden }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall 1.6s ease-in forwards }
select { width: 100%; min-height: 48px; border-radius: 12px; border: 2px solid var(--slot-edge); background: var(--surface); padding: 0 12px; font-size: 16px }
.chip { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; border: 2px solid }
.chip.due { background: var(--sun-soft); color: var(--sun-ink); border-color: var(--sun) }
.chip.yes { background: var(--ok-soft); color: var(--ok); border-color: var(--ok) }
.chip.no { background: var(--bad-soft); color: var(--bad-ink); border-color: var(--bad-edge) }
.chip.alt { background: var(--warn-soft); color: var(--warn-ink); border-color: var(--warn-edge) }
.course-hero { border-radius: 22px; padding: 22px 18px; background: var(--green); color: #FFFFFF; display: flex; flex-direction: column; gap: 6px }
.course-hero h1 { color: #FFFFFF; font-size: 28px }
.course-hero span { color: #DCE7DF; font-weight: 700 }
.req { display: flex; flex-direction: column; gap: 8px }
.req .acts { display: flex; flex-wrap: wrap; gap: 8px }
.req .acts > * { flex: 1 1 140px }
.btn:disabled { background: var(--slot-edge); color: var(--muted); box-shadow: none; cursor: not-allowed }
.prow.locked { filter: grayscale(1); opacity: .5; cursor: not-allowed }
.lock { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--muted) }
.unlock { border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--slot); border: 2px dashed var(--slot-edge) }
.unlock.on { background: var(--ok-soft); border: 2px solid var(--ok); color: var(--ok) }
.unlock b { font-family: var(--display); font-size: 18px; font-weight: 600 }
.lbar { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 16px; border: 3px solid; text-align: left }
.lbar .photo { width: 48px; height: 48px; flex: none }
.lbar .dot { flex: none; width: 14px; height: 14px; border-radius: 50% }
.lbar div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px }
.lbar b { font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.2 }
.lbar span.s { font-size: 13px; font-weight: 700 }
.lbar.green { background: var(--ok-soft); color: var(--ok); border-color: var(--ok) }
.lbar.green .dot { background: var(--ok) }
.lbar.yellow { background: var(--sun-soft); color: var(--sun-ink); border-color: var(--sun) }
.lbar.yellow .dot { background: var(--sun) }
.lbar.red { background: var(--bad-soft); color: var(--bad-ink); border-color: var(--bad-edge) }
.lbar.red .dot { background: var(--bad-edge) }
.lbar.nofile { background: var(--pink-soft); color: var(--bad-ink); border-color: var(--pink-edge) }
.lbar.nofile .dot { background: var(--pink-edge) }
.demo { font-size: 13px; color: var(--muted); background: var(--slot); border-radius: 12px; padding: 10px 12px; line-height: 1.45 }
.tile .photo.sq { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; margin-bottom: 6px }
.photo.sq { border-radius: 16px }
.feat .photo.sq { width: 132px; height: 132px; border-radius: 18px }
.hero .photo.sq { width: min(260px, 72vw); height: auto; aspect-ratio: 1; border-radius: 24px }
.slot .photo.sq { width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px }
nav.tabs { gap: 6px }
nav.tabs button { font-size: 14px; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; padding: 4px 2px }
nav.tabs button small { font-size: 12px; font-weight: 700; opacity: .85 }
.mygolf { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 14px; border-radius: 18px; background: var(--surface); border: 2px solid var(--line); text-align: left }
.mygolf .rank { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap }
.mygolf .big { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--green) }
.mygolf .rank span { font-weight: 700; color: var(--muted) }
.mygolf .rank .who { flex-basis: 100%; font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--fg) }
.mygolf .rule { font-size: 13px; font-weight: 700; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px }
.counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px }
.counts div { background: var(--slot); border-radius: 12px; padding: 8px 6px; display: flex; flex-direction: column; align-items: center; text-align: center }
.counts b { font-family: var(--display); font-size: 22px; font-weight: 600 }
.counts span { font-size: 12px; font-weight: 700; color: var(--muted) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mygolf .big { color: var(--sun) } }
:root[data-theme="dark"] .mygolf .big { color: var(--sun) }
.thanks { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--sun-soft); color: var(--sun-ink); border: 2px solid var(--sun); font-size: 14px }
.lrow { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px }
.lrow .pos { font-weight: 800; color: var(--muted) } .lrow .av { font-weight: 800; text-align: right } .lrow .ct { color: var(--muted); font-size: 13px; text-align: right; min-width: 44px }
.lrow.r { grid-template-columns: 30px 1fr auto auto }
.lrow.head { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted) }
.lrow.me { background: var(--sun-soft); border-radius: 10px; padding-inline: 6px; color: var(--sun-ink) }
.glist { display: flex; flex-direction: column; gap: 6px }
.glist span { padding: 6px 10px; border-radius: 10px; background: var(--slot); font-weight: 700 }
.glist span.me { background: var(--sun-soft); color: var(--sun-ink); border: 2px solid var(--sun) }
.glist i { font-style: normal; font-weight: 600; font-size: 13px }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
.tile2 { background: var(--green); color: #FFFFFF; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px }
.tile2 b { font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--sun) }
.tile2 span { font-weight: 700; font-size: 13px }
.qrbox { flex-direction: row; align-items: center; gap: 14px }
.qrbox > div:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere }
.qr { flex: none; width: 128px; height: 128px; background: #FFFFFF; border-radius: 12px; padding: 4px }
.qr svg { width: 100%; height: 100% }
fieldset.rec { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px }
fieldset.rec legend { font-weight: 800; font-size: 14px; margin-bottom: 4px }
label.radio { flex-direction: row; align-items: center; gap: 10px; font-weight: 700; min-height: 36px }
label.radio input { width: 20px; height: 20px; accent-color: var(--green) }
.qlist { display: flex; flex-direction: column; gap: 4px }
textarea { width: 100%; min-height: 96px; border-radius: 12px; border: 2px solid var(--slot-edge); background: var(--surface); padding: 10px 12px; font: inherit; font-size: 15px; color: inherit }
input[type=email] { width: 100%; min-height: 48px; border-radius: 12px; border: 2px solid var(--slot-edge); background: var(--surface); padding: 0 12px; font-size: 16px }
.mi { flex: none; font-weight: 800; font-size: 14px; color: var(--green); background: var(--ok-soft); border-radius: 999px; padding: 4px 10px; white-space: nowrap }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.pacct { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--slot) }
.pacct b { font-family: var(--display); font-weight: 600; font-size: 18px; overflow-wrap: anywhere }
.pacct span { font-size: 14px; color: var(--muted); font-weight: 600; overflow-wrap: anywhere }
.pacct span.nw { white-space: nowrap }
.pkids { display: flex; flex-direction: column; gap: 8px; margin-top: 10px }
.jsteps { list-style: none; display: flex; gap: 8px; margin: 0 0 4px; padding: 0 }
.jsteps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--slot); font-size: 14px; color: var(--muted, #666) }
.jsteps li b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--slot); font-size: 13px; flex: none }
.jsteps li.now { border-color: var(--green, #1f7a3a); color: inherit; font-weight: 600 }
.jsteps li.now b, .jsteps li.done b { background: var(--green, #1f7a3a); color: #fff }
.jdone { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--slot) }
.jdone > b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green, #1f7a3a); color: #fff; font-size: 13px; flex: none }
.jdone div { display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.jdone span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere }
.addrf { display: flex; flex-direction: column; gap: 12px }
.addrf[hidden] { display: none }
.jsteps li { min-width: 0 }
@media (max-width: 430px) { .jsteps li { flex-direction: column; text-align: center; gap: 4px; padding: 8px 4px; font-size: 12px } }
.pkid { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--slot) }
.pkid b { font-size: 16px; overflow-wrap: anywhere }
.pkhead { display: flex; align-items: center; justify-content: space-between; gap: 10px }
.pkhead .btn.plain { min-height: 36px; font-size: 14px; padding: 0 14px; flex: none }
.btn.danger { background: #B3261E; color: #fff; box-shadow: none }
.pkid span { font-size: 14px; color: var(--muted); font-weight: 600 }
.pkid span i { font-style: normal; color: inherit; font-weight: 800 }
.added { display: flex; flex-direction: column; gap: 10px; background: var(--ok-soft); color: var(--ok); border-radius: 16px; padding: 14px; font-weight: 800 }
.added .two button { min-height: 48px }
.keepbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 16px; border: 0; background: var(--sun); color: #1F1A14; text-align: left; box-shadow: 0 3px 0 rgba(0,0,0,.15) }
.keepbar > span:first-child { display: flex; flex-direction: column; gap: 2px }
.keepbar b { font-family: var(--display); font-size: 19px; font-weight: 600 }
.keepbar span span { font-size: 13px; font-weight: 700 }
.keepbar > span:last-child { font-size: 28px; font-weight: 800; line-height: 1 }
.celebrate { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, var(--sun), #FFD95A); color: #1F1A14; border: 3px solid var(--green) }
.celebrate > div { display: flex; flex-direction: column; gap: 4px }
.celebrate small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green) }
.celebrate b { font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.15 }
.celebrate span { font-size: 14px; font-weight: 700 }
.celebrate .link { color: #1F1A14 }
.celebrate.big b { font-size: 26px }
.tier { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px }
.tier .row b { font-family: var(--display); font-size: 17px; font-weight: 600 }
.tier .row .muted { font-size: 13px; font-weight: 700; text-align: right }
.amts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px }
.amt { min-height: 46px; border-radius: 12px; border: 2px solid var(--slot-edge); background: var(--surface); font-weight: 800; font-size: 16px }
.amt.on { background: var(--green); color: #FFFFFF; border-color: var(--green) }
.freegolf { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--green); color: #FFFFFF }
.freegolf b { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--sun) }
.freegolf span { font-size: 14px; font-weight: 700; line-height: 1.4 }
.flabel { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.fgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px }
.fdiv { display: flex; flex-direction: column; align-items: center; padding: 6px 2px; border-radius: 10px; border: 2px solid var(--line); background: var(--surface); min-height: 50px }
.fdiv b { font-family: var(--display); font-size: 18px; font-weight: 600; line-height: 1.1 }
.fdiv span { font-size: 11px; font-weight: 800; color: var(--muted) }
.fdiv.mine { border-color: var(--sun) }
.fdiv.on { background: var(--green); border-color: var(--green); color: #FFFFFF }
.fdiv.on span { color: #DCE7DF }
.glist.two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px }
nav.tabs button { font-size: 13px; flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis }
@media (max-width: 360px) { nav.tabs button { font-size: 12px } nav.tabs { gap: 4px } }
.frow { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; width: 100%; padding: 8px 10px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); text-align: left; border-left-width: 6px }
.frow.g { border-left-color: #D6336C } .frow.b { border-left-color: #2F49B5 }
.frow.mine { box-shadow: 0 0 0 2px var(--sun) inset }
.frow.on { background: var(--slot) }
.fdv { display: flex; flex-direction: column; min-width: 0 } .fdv b { font-family: var(--display); font-size: 16px; font-weight: 600 } .fdv span { font-size: 12px; font-weight: 700; color: var(--muted) }
.fct { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1 } .fct b { font-size: 17px } .fct span { font-size: 11px; color: var(--muted); font-weight: 700 }
.fop { font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); white-space: nowrap }
.fop.full { background: var(--bad-soft); color: var(--bad-ink) }
.inactive { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--bad-soft); color: var(--bad-ink); border: 2px solid var(--bad-edge) }
.inactive.soft { background: var(--sun-soft); color: var(--sun-ink); border-color: var(--sun) }
.inactive b { font-family: var(--display); font-size: 18px; font-weight: 600 }
.inactive span { font-size: 14px; font-weight: 700; line-height: 1.4 }
.glist .vis { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 10px; border-radius: 10px; border: 2px solid #0E7C86; background: #DFF6F5; color: #0B4F55; font-weight: 800; text-align: left }
.glist .vis span { background: none; padding: 0; border-radius: 0 }
.glist .vis i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #0E7C86; color: #FFFFFF; border-radius: 999px; padding: 2px 8px }
.vtag { font-style: normal; font-weight: 800; color: #0E7C86; white-space: nowrap }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .glist .vis { background: #123B3E; color: #BFF1EE } :root:not([data-theme="light"]) .vtag { color: #6FD6CF } }
:root[data-theme="dark"] .glist .vis { background: #123B3E; color: #BFF1EE } :root[data-theme="dark"] .vtag { color: #6FD6CF }
.wavelbl { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 10px 14px; border-radius: 12px; background: var(--green); color: #FFFFFF }
.wavelbl b { font-family: var(--display); font-size: 22px; font-weight: 600 }
.wavelbl .nw { white-space: nowrap }
.wavelbl span { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--sun) }
.cmonths { display: grid; grid-template-columns: 1fr; gap: 14px }
.cmonth > b { font-family: var(--display); font-size: 17px; font-weight: 600; display: block; margin-bottom: 6px }
.cgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center }
.cgrid i { font-style: normal; font-size: 11px; font-weight: 800; color: var(--muted) }
.cday { display: flex; align-items: center; justify-content: center; min-height: 36px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--muted) }
.cday.today { outline: 2px solid var(--line) }
.cday.t { border: 2px solid var(--green); background: var(--surface); color: var(--fg); font-weight: 800; min-height: 40px }
.cday.t.reg { background: var(--green); color: #FFFFFF }
.cday.t.sel { box-shadow: 0 0 0 3px var(--sun) }
.cday.t.done { border-color: var(--slot-edge); background: var(--slot); color: var(--muted) }
.cdetail { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: var(--slot) }
.cdetail b { font-family: var(--display); font-size: 18px; font-weight: 600 }
.cdetail > span { font-size: 14px; font-weight: 700; color: var(--muted) }
.terms { display: grid; grid-template-columns: 1fr; gap: 8px }
.term { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; background: #1E3A5F; color: #F3E3B0; border: 2px solid #B8913A }
.term b { font-family: Georgia, "Times New Roman", serif; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: #E8C770 }
.term span { font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.4 }
.acct-priv { align-self: center; font-size: 14px; font-weight: 600; color: var(--muted) }
.legal-links { font-size: 14px; font-weight: 600; margin: 6px 0 0 } .legal-links a { color: var(--muted) }
.contactbar { display: flex; flex-direction: column; gap: 10px; text-align: center }
.site-qr { margin: 18px auto 0; width: 100%; max-width: 308px; box-sizing: border-box; padding: 20px; background: #fff; border: 2px solid var(--green); border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px }
.site-qr img { display: block; margin: 0 auto; width: 100%; max-width: 268px; height: auto; aspect-ratio: 1; image-rendering: pixelated }
.site-qr figcaption { color: #1D4B34; font-size: 18px; line-height: 1.3 }
.tile, .feat { position: relative }
.seenstar { display: inline-flex; vertical-align: middle; margin: -2px 2px 0 6px; width: 24px; height: 24px; letter-spacing: 0; border-radius: 50%; background: var(--sun); color: #1F1A14; border: 2px solid #FFFFFF; box-shadow: 0 1px 3px rgba(0,0,0,.25); align-items: center; justify-content: center; font-size: 15px; line-height: 1 }

.missionbar { container-type: inline-size; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 16px 18px; border: 0; border-radius: 20px; background: var(--green); color: #FFFFFF; text-align: center; box-shadow: 0 4px 0 rgba(0,0,0,.18) }
.missionbar small { display: block; width: 100%; max-width: 100%; overflow: hidden; font-size: 17px; font-size: min(calc((100vw - 76px) * .058), 42px); line-height: 1.1; white-space: nowrap; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--sun) }
.missionbar b { font-family: var(--display); font-weight: 600; font-size: 16.5px; line-height: 1.3 }
.missionbar span { font-size: 13px; font-weight: 700; color: #DCE7DF }
.servicebar { margin: 0 0 16px; text-decoration: none; box-sizing: border-box }
.servicebar:hover b, .servicebar:focus-visible b { text-decoration: underline }
.servicebar em { display: block; margin: 6px 0 4px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.25); font-style: normal; font-weight: 800; font-size: 15px; line-height: 1.3; color: var(--sun) }
.mvhero { background: var(--green); color: #FFFFFF; border-radius: 22px; padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; border-bottom: 4px solid var(--sun) }
.mvhero.alt { background: var(--surface); color: var(--fg); border: 2px solid var(--line); border-bottom: 4px solid var(--green) }
.mvhero small { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun) }
.mvhero.alt small { color: var(--green) }
.mvhero p { margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.3 }
.mvhead { font-size: 24px; margin: 6px 0 -4px; color: var(--green) }
.mvfit { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line) }
.mvfit b { font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.25 }
.mvfit p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5 }
.mvfit span { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--green); background: var(--ok-soft); border-radius: 999px; padding: 3px 10px }
.mvpre { border-top: 3px double #B8913A; border-bottom: 3px double #B8913A; padding: 16px 6px; text-align: center; display: flex; flex-direction: column; gap: 8px }
.mvpre small { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #8A6A1F }
.mvpre p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 18px; line-height: 1.55; color: var(--fg) }
.mvnum { font-family: Georgia, "Times New Roman", serif; font-size: 14px }
.mvval { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 16px }
.mvnum { width: 38px; height: 38px; border-radius: 50%; background: var(--sun); color: #1F1A14; font-weight: 800; display: flex; align-items: center; justify-content: center }
.mvval div { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.mvval small { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
.mvval b { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.2; color: var(--green) }
.mvval p { margin: 0; line-height: 1.55 }
.mvval blockquote, .mvq { margin: 4px 0 0; padding: 8px 12px; border-left: 3px solid #B8913A; background: #FFF8E6; color: #5A4300; font-style: italic; border-radius: 0 10px 10px 0; line-height: 1.45 }
.mvval cite, .mvq cite { display: block; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .06em; margin-top: 3px }
.mvpromise { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--green) }
.mvcreed { background: var(--green); color: #FFFFFF; border-radius: 22px; padding: 24px 20px; text-align: center; display: flex; flex-direction: column; gap: 12px; border: 3px solid var(--sun) }
.mvcreed small { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun) }
.mvcreed p { margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.45 }
.mvcreed b { font-weight: 700; font-size: 16px; line-height: 1.45; color: var(--sun) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mvval blockquote, :root:not([data-theme="light"]) .mvq { background: #3A3215; color: #F7DB7A } :root:not([data-theme="light"]) .mvval b, :root:not([data-theme="light"]) .mvhead, :root:not([data-theme="light"]) .mvpromise { color: var(--sun) } }

.podbar { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 2px solid #B8913A; border-radius: 18px; background: linear-gradient(135deg, #FFF6DD, #FFFFFF); color: var(--fg); text-align: left; box-shadow: 0 3px 0 rgba(0,0,0,.12) }
.podbar .podic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--sun); display: flex; align-items: center; justify-content: center }
.podbar > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px }
.podbar b { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2 }
.podbar small { font-size: 13px; font-weight: 700; color: var(--muted) }
.podbar i { font-style: normal; font-size: 28px; font-weight: 800; color: var(--green) }
.privbadge { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; margin: 16px 0 0; padding: 14px 16px; border: 2px solid var(--green); border-radius: 18px; background: var(--surface); color: var(--fg); text-decoration: none; text-align: left; box-shadow: 0 3px 0 rgba(0,0,0,.12) }
.privbadge .privic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--sun); display: flex; align-items: center; justify-content: center }
.privbadge > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px }
.privbadge small { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) }
.privbadge b { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2 }
.privbadge em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--muted) }
.privbadge i { font-style: normal; font-size: 28px; font-weight: 800; color: var(--green) }
:root[data-theme="dark"] .privbadge { border-color: var(--sun) } :root[data-theme="dark"] .privbadge i { color: var(--sun) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .privbadge { border-color: var(--sun) } :root:not([data-theme="light"]) .privbadge i { color: var(--sun) } }
.podlisten { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none }
.podep { display: flex; flex-direction: column; gap: 3px }
.podep b { font-family: var(--display); font-weight: 600; font-size: 18px }
.podep span { font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em }

.cb-note { margin: 0; font-weight: 700; color: var(--muted); line-height: 1.45 }
.contactbar .btn { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; line-height: 1.3; padding: 10px 14px; overflow-wrap: anywhere }
.place { display: block; font-size: 12px; font-weight: 700; color: var(--muted) }
.flag { margin-right: 4px; font-size: 14px }
.glist span .place, .glist .vis .place { font-weight: 700 }
.glist .vis > span { display: flex; flex-direction: column }
.glist .pl.vis > .who2 { display: block }
.srow { display: grid; grid-template-columns: 38px 1fr auto 40px; gap: 8px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line) }
.srow .pos { font-weight: 800; color: var(--muted) } .srow .nm { min-width: 0 } .srow .nm b { font-weight: 800 }
.srow .tp { font-weight: 700; color: var(--muted); font-size: 14px; text-align: right } .srow .sc { font-family: var(--display); font-size: 20px; font-weight: 600; text-align: right }
.srow.head { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted) } .srow.head .sc { font-family: inherit; font-size: 11px }
.srow.top .pos { color: var(--green); background: var(--sun); border-radius: 999px; text-align: center; padding: 2px 0 }
.srow.me { background: var(--sun-soft); border-radius: 10px }
.gline { display: block; margin-top: 3px; line-height: 1.2 }
.glist span .gline, .glist .vis .gline { padding: 0; background: none; border: 0; border-radius: 0 }
.gtag { font-style: normal; font-size: 10px; font-weight: 800; text-transform: uppercase; background: #0E7C86; color: #fff; border-radius: 999px; padding: 1px 6px; vertical-align: middle }
details.past summary { cursor: pointer; font-weight: 800; padding: 8px 0 }
.pastrow { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; grid-template-columns: 1fr auto }
button.srow { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; color: inherit; font: inherit }
button.srow.me { background: var(--sun-soft) }
.how { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted) }
.how.win { color: var(--green) }
.card { padding: 8px 4px 12px; border-bottom: 1px solid var(--line) }
.card .ch, .card .cs { display: grid; grid-template-columns: repeat(9, 1fr) 1.4fr; text-align: center; gap: 2px }
.card .ch span { font-size: 11px; font-weight: 800; color: var(--muted) }
.card .cs span { font-weight: 800; padding: 4px 0; border-radius: 6px; background: var(--slot) }
.card .cs span.bird { background: var(--ok-soft); color: var(--ok) } .card .cs span.bog { background: var(--bad-soft); color: var(--bad-ink) }
nav.tabs button[data-go="play"] { flex: 1.45 1 0 }
.cnav { display: flex; align-items: center; justify-content: space-between; gap: 10px }
.cnav span { font-size: 13px; font-weight: 700; color: var(--muted) }
.carrow { width: 52px; height: 44px; border-radius: 12px; border: 2px solid var(--green); background: var(--green); color: #FFFFFF; font-size: 28px; font-weight: 800; line-height: 1 }
.carrow:disabled { background: var(--slot); border-color: var(--line); color: var(--muted); cursor: default }
.fbtn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: 8px; vertical-align: middle; border-radius: 8px; border: 2px solid var(--green); background: var(--surface); color: var(--green); font-family: var(--display); font-weight: 700; font-size: 17px; padding: 0; line-height: 1 }
.fbtn.on { background: var(--green); color: #FFFFFF }
.fbtn.wait { background: var(--sun-soft); border-color: var(--sun); color: var(--sun-ink) }
.fbtn.big { width: 52px; height: 52px; font-size: 26px; margin: 0; flex: none; border-radius: 14px }
.glist .pl { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: var(--slot); font-weight: 700 }
.glist .pl .who2 { flex: 1; min-width: 0 }
.glist .pl.vis { background: #DFF6F5; border: 2px solid #0E7C86; color: #0B4F55 }
.glist .pl.me { background: var(--sun-soft); border: 2px solid var(--sun) }
.gbtn { border: 0; border-radius: 999px; background: #0E7C86; color: #FFFFFF; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px }
.srow { grid-template-columns: 38px 1fr auto 52px !important }
.srow .sc { box-sizing: border-box; width: 100%; min-width: 0; text-align: center; font-variant-numeric: tabular-nums; line-height: 1.2; border: 2px solid var(--line); background: var(--surface); border-radius: 10px; padding: 4px 2px; color: inherit }
.frow2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line) }
.frow2 > div:first-child { min-width: 0 }
.frow2 .btn { min-height: 40px; font-size: 14px; padding: 0 12px }
.acts2 { display: flex; gap: 6px }
.presets { display: flex; flex-direction: column; gap: 6px; padding: 6px 0 10px }
.preset { text-align: left; border: 2px solid var(--green); background: var(--ok-soft); color: var(--ok); border-radius: 12px; padding: 10px 12px; font-weight: 700 }
.msg { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 12px; background: var(--slot); max-width: 85% }
.msg.out { align-self: flex-end; background: var(--ok-soft) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .glist .pl.vis { background: #123B3E; color: #BFF1EE } }
.sbox { padding: 4px 2px 10px }
.srow.click { cursor: pointer }
.srow.open { background: var(--slot); border-radius: 10px }
.cmeta { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px }
.cmeta b { font-family: var(--display); font-size: 16px; font-weight: 600 }
.cmeta span { font-size: 13px; font-weight: 700; color: var(--muted) }
.cgrid2 { display: grid; grid-template-columns: max-content repeat(9, minmax(min-content, 1fr)) max-content; gap: 2px; text-align: center; align-items: center; overflow-x: auto; font-variant-numeric: tabular-nums }
.cgrid2 span { font-size: 12px; font-weight: 700; padding: 4px 1px; border-radius: 5px; background: var(--slot); white-space: nowrap }
.cgrid2 span.lbl { text-align: left; background: none; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; padding-right: 3px }
.cgrid2 span.yd { font-size: 10.5px; letter-spacing: -.04em; padding: 5px 1px }
.cgrid2 span.tot { padding-left: 4px; padding-right: 4px }
.cgrid2 span.bird { background: var(--ok-soft); color: var(--ok); font-weight: 800; font-size: 14px }
.cgrid2 span.bog { background: var(--bad-soft); color: var(--bad-ink); font-weight: 800; font-size: 14px }
.cgrid2 span.sc0 { font-weight: 800; font-size: 14px; background: var(--surface); border: 1px solid var(--line) }
/* traditional scorecard marks: red circles under par, squares over par */
.cgrid2 span.sc0 { padding: 5px 1px; display: grid; place-items: center }
.cgrid2 .sn { display: inline-grid; place-items: center; width: 22px; height: 22px; box-sizing: border-box; font-style: normal; line-height: 1; color: var(--fg) }
.cgrid2 .sn.u { color: var(--bad-edge) }
.cgrid2 .sn.c1, .cgrid2 .sn.c2 { border: 1.5px solid currentColor; border-radius: 50% }
.cgrid2 .sn.s1, .cgrid2 .sn.s2 { border: 1.5px solid currentColor; border-radius: 1px }
.cgrid2 .sn.c2, .cgrid2 .sn.s2 { width: 19px; height: 19px; box-shadow: 0 0 0 1.5px var(--surface), 0 0 0 3px currentColor }
.cgrid2 span.sc0.ace .sn.c2 { box-shadow: 0 0 0 1.5px var(--sun), 0 0 0 3px currentColor }
.cgrid2 span.ace .sn.u { color: #A00D25 }
.box h2 { font-size: 23px; line-height: 1.15 }
.box > .row { flex-wrap: wrap; row-gap: 2px }
.box > .row .muted { font-size: 15px !important; font-weight: 700 }
details.past summary { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--green) }
.prow strong { font-size: 21px }
.flabel { font-size: 14px }
.fdv b { font-size: 18px }
label { font-size: 16px }
legend { font-size: 16px }
.frow.click { cursor: pointer }
.fbtns { display: flex; flex-direction: column; gap: 6px; align-items: stretch }
.fbtns .fop { border: 0; font-family: inherit; text-align: center; padding: 6px 10px; font-size: 13px }
.fbtns .fop.tee { background: var(--sun-soft); color: var(--sun-ink) }
.tees { display: flex; flex-direction: column; gap: 8px; padding: 6px 2px 12px }
.teehead { display: flex; flex-direction: column } .teehead b { font-family: var(--display); font-size: 17px; font-weight: 600 } .teehead span { font-size: 13px; font-weight: 700; color: var(--muted) }
.tgroup { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 8px; border-radius: 12px; background: var(--slot) }
.thole { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--green); color: #FFFFFF; border-radius: 10px; padding: 6px 0 }
.thole b { font-family: var(--display); font-size: 16px; font-weight: 600 } .thole span { font-size: 12px; font-weight: 700; color: var(--sun) }
.tnames { display: flex; flex-direction: column; gap: 4px; font-weight: 700 }
.tgroup.open .thole { background: transparent; color: var(--muted); border: 1.5px dashed var(--muted) } .tgroup.open .thole span { color: var(--muted) } .tnames span.topen { color: var(--muted); font-style: italic; align-self: flex-start; margin-top: 6px }
.tnames span.me { background: var(--sun-soft); border-radius: 8px; padding: 2px 6px }
.mdl { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; font-style: normal; font-size: 14px; font-weight: 800; line-height: 1; border-radius: 999px; background: var(--sun); color: var(--green) }
.teenote { display: block; margin: 0 2px 8px; font-size: 13px; color: var(--muted) }
.starthole { margin-top: 8px; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--sun); color: #1F1A14 }
.starthole span { font-size: 14px; font-weight: 800; color: #1F1A14 !important; text-transform: uppercase; letter-spacing: .05em }
.starthole span:last-child { text-transform: none; letter-spacing: 0 }
.starthole span.sh-name { font-size: 17px; text-transform: none; letter-spacing: 0 }
.starthole b { font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.15 }
.starthole.pending { background: rgba(255,255,255,.14); color: #FFFFFF } .starthole.pending span { color: #DCE7DF !important } .starthole.pending b { font-size: 19px }
.starthole .sh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0 2px }
.starthole .sh-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,.55); border: 2px solid #1F1A14; border-radius: 12px; padding: 6px 4px; min-width: 0 }
.starthole .sh-cell small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #1F1A14 }
.starthole .sh-cell b { font-family: var(--display); font-size: clamp(26px, 8vw, 36px); font-weight: 700; line-height: 1; color: #1F1A14 }
.starthole .sh-cell.sh-time { grid-column: 1 / -1 }
.starthole .sh-cell.sh-time b { font-size: clamp(30px, 9vw, 40px); white-space: nowrap }
.starthole .sh-cell.sh-tee { grid-column: 1 / -1; border-left: 10px solid var(--tc) }
.starthole .sh-cell.sh-tee b { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: clamp(28px, 8.5vw, 38px); white-space: nowrap; max-width: 100% }
.starthole .sh-cell.sh-tee img { width: 38px; height: 38px; object-fit: contain; flex: none }
@media (max-width: 380px) { .starthole .sh-cell.sh-tee img { width: 32px; height: 32px } }
.sh-map { margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; border: 0; border-radius: 12px; background: var(--green); color: #FFFFFF; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer }
.sh-star { font-size: 34px; line-height: 1; color: #F5C518; text-shadow: 0 0 0 #1F1A14, 1px 1px 0 #1F1A14, -1px -1px 0 #1F1A14, 1px -1px 0 #1F1A14, -1px 1px 0 #1F1A14 }
.teemap .tm-head { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--sun); color: #1F1A14 }
.teemap .tm-head b { display: block; font-family: var(--display); font-size: 24px; line-height: 1.1 }
.teemap .tm-head span:not(.sh-star) { font-size: 14px; font-weight: 600 }
.teemap .tm-head .sh-star { font-size: 44px }
.teemap .tm-sc { display: flex; align-items: flex-start; justify-content: center; background: #FFFFFF }
.tm-svg { width: 100%; max-width: 900px; height: auto; display: block }
.tm-ring { fill: none; stroke: #C41E2A; stroke-width: 4; animation: tmpulse 1.4s ease-out infinite; transform-box: fill-box; transform-origin: center }
.tm-num { font: 900 19px/1 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; fill: #1F1A14; pointer-events: none }
@keyframes tmpulse { 0% { transform: scale(.7); opacity: 1 } 100% { transform: scale(1.8); opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .tm-ring { animation: none } }
.glist span .place, .glist span .flag, .glist span .place span, .glist span .pnm, .glist span .pnt { padding: 0; background: none; border: 0; border-radius: 0 }
.pnm { display: flex; align-items: center; gap: 8px; width: 100% }
.pnt { flex: 1; min-width: 0 }
.pnm .fbtn { margin-left: auto; flex: none }
.glist span.me .pnm, .glist span.me .pnt { color: inherit }
.reslist { display: flex; flex-direction: column }
.resrow { display: grid; grid-template-columns: 1fr auto 20px; align-items: center; gap: 10px; padding: 12px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; color: inherit }
.resrow b { font-family: var(--display); font-size: 19px; font-weight: 600 } .resrow span { font-size: 14px; font-weight: 700; color: var(--muted) } .resrow i { font-style: normal; font-size: 24px; font-weight: 800; color: var(--green) }
.reshead { margin: 4px 0 2px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green) }
.reshead.past { margin-top: 18px; padding-top: 16px; border-top: 3px solid var(--green) }
.resrow.latest { background: var(--sun-soft); border-radius: 12px; padding-inline: 10px }
.fbtns .fop.off { background: var(--slot); color: var(--muted); cursor: not-allowed; font-size: 12px }
/* division cards: name + count on top, both buttons side by side below, so long names never get squeezed */
.frow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "dv ct" "bt bt"; column-gap: 12px; row-gap: 10px; align-items: start; padding: 12px 14px }
.frow .fdv { grid-area: dv; gap: 2px } .frow .fdv b { line-height: 1.15; overflow-wrap: normal } .frow .fdv span { line-height: 1.35 }
.frow .fct { grid-area: ct; padding-top: 2px; text-align: right }
.frow .fbtns { grid-area: bt; flex-direction: row; flex-wrap: wrap; gap: 8px }
.frow .fbtns .fop { flex: 1 1 0; min-width: max-content; padding: 9px 12px; font-size: 14px; line-height: 1.2 }
.frow .nw, .fdv .nw { white-space: nowrap }
/* wave headers: the wave name stays on one line; the time wraps below it when space runs out */
.wavelbl { flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 2px; margin-top: 14px; padding: 12px 16px }
.wavelbl > b { white-space: nowrap; font-size: 21px; line-height: 1.2 }
.wavelbl > span { font-size: 19px; line-height: 1.25 }
.wavelbl > span .nw { font-size: inherit }
.vtog { display: inline-flex; flex: none; border: 2px solid var(--green); border-radius: 999px; padding: 2px; background: #FFFFFF; gap: 2px }
.vtog button { border: 0; background: transparent; color: var(--green); border-radius: 999px; padding: 6px 14px; min-width: 92px; font-weight: 800; font-size: 14px; white-space: nowrap; cursor: pointer }
.vtog button.on { background: var(--green); color: #FFFFFF; cursor: default }
.teetop { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap }
.tees .alist { background: var(--slot); border-radius: 12px; padding: 4px 8px }
.alist { display: flex; flex-direction: column }
.aletter { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--green); padding: 10px 4px 2px; border-bottom: 2px solid var(--line) }
.arow { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line) }
.arow.me { background: var(--sun-soft); border-radius: 10px }
.anm b { font-weight: 800; font-size: 16px } .adiv { display: block; font-size: 12px; font-weight: 700; color: var(--muted) }
.ahole { text-align: right; display: flex; flex-direction: column } .ahole b { font-family: var(--display); font-size: 18px; font-weight: 600 } .ahole span { font-size: 12px; font-weight: 700; color: var(--muted) }
.homebtn { flex: none; background: transparent; color: #FFFFFF; border: 2px solid rgba(255,255,255,.75); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px; min-height: 36px }
.hdr-r { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; min-width: 0 }
.hdr-btns { display: flex; align-items: center; gap: 8px; min-width: 0 }
.hdr-btns .pill.acct { max-width: 170px; flex: none }
.userbtn { flex: none; display: flex; align-items: center; gap: 7px; background: #FFFFFF; color: var(--green); border: 0; border-radius: 999px; padding: 6px 14px 6px 11px; font-weight: 800; font-size: 14px; min-height: 36px; white-space: nowrap; box-shadow: 0 1px 3px rgba(0,0,0,.2) }
.userbtn i { width: 9px; height: 9px; border-radius: 50%; background: #2DBE6C; box-shadow: 0 0 0 2px rgba(45,190,108,.25) }
.hdr-btns .whoami { max-width: 130px; flex: 0 1 auto }
.hdr-name { display: flex; justify-content: flex-end; align-items: center; gap: 8px; max-width: 100% }
.wm { flex: 1 1 0; min-width: 136px }
header.top { flex-wrap: wrap; row-gap: 8px }
.hdr-r { min-width: 0; margin-left: auto; max-width: 100% }
.hdr-btns .userbtn { flex: 0 1 auto; min-width: 0 }
.userbtn { max-width: 100%; overflow: hidden; text-overflow: ellipsis }
.hdr-name .pill { max-width: 230px; white-space: nowrap; overflow: visible; text-overflow: clip }
.wm .demotag { align-self: flex-start; margin-top: 5px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1F1A14; background: #DCE7DF; border-radius: 6px; padding: 1px 8px }
.wm span.tagline { text-transform: none; letter-spacing: .01em; font-size: 13px; font-style: italic }
.site { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; overflow: hidden }
.site.on { border-color: var(--green) }
.rudy { border: 3px solid #B8913A !important; background: linear-gradient(180deg, #FFF6DD, var(--surface)) }
.rudy small { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8A6A1F }
.rudy h2 { font-size: 26px !important }
.cg-stat { display: flex; align-items: center; gap: 14px; background: var(--slot); border-radius: 14px; padding: 12px 16px }
.cg-stat b { font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--green); line-height: 1 }
.cg-stat span { font-weight: 700; color: var(--muted); line-height: 1.35 }
.sp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px }
.sp-left { display: flex; flex-direction: column; gap: 18px; min-width: 0 }
.sp-art { flex: none; width: 190px; height: 190px; max-width: 55%; padding: 0; border: 3px solid #FFFFFF; border-radius: 16px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,.18); background: none }
.sp-art img { width: 100%; height: 100%; object-fit: cover; display: block }
.inch { font-size: 24px; color: var(--green); margin-top: 6px }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .inch { color: var(--sun) } }
:root[data-theme="dark"] .inch { color: var(--sun) }
.fishlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
.fishlist .fishcard:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px) }
.fishlist .fishtxt { padding: 10px 10px 12px; gap: 3px }
.fishlist .fishtxt small { font-size: 11px; letter-spacing: .05em }
.fishlist .fishtxt b { font-size: 17px }
.fishlist .fishtxt span { font-size: 14px; line-height: 1.4 }
.fishlist .fishpic em { font-size: 10.5px; margin: 5px 6px 2px; padding: 1px 6px }
.fishlist .fishpic { padding-top: 22px }
.fishcard { background: var(--surface); border: 2px solid var(--line); border-radius: 20px; overflow: hidden }
.fishpic { position: relative; background: var(--slot); padding-top: 26px; aspect-ratio: 720 / 402 }
.fishpic img { width: 100%; height: 100%; object-fit: contain; display: block }
.fishpic { display: flex; flex-direction: column; aspect-ratio: auto !important; padding-top: 0 !important }
.fishpic img { height: auto !important; aspect-ratio: 720 / 402 }
.fishpic em { position: static !important; order: -1; align-self: flex-start; margin: 6px 8px 2px; font-style: normal; font-size: 12px; font-weight: 800; color: #3A3F45; background: rgba(255,255,255,.85); padding: 2px 8px; border-radius: 999px }
.fishtxt { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; border-top: 2px solid var(--line) }
.fishtxt small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.fishtxt b { font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--green); line-height: 1.2 }
.fishtxt span { line-height: 1.5 }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fishtxt b { color: var(--sun) } }
:root[data-theme="dark"] .fishtxt b { color: var(--sun) }
.alph { display: flex; align-items: center; gap: 14px }
.alph img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #B8913A }
.inslist { display: flex; flex-direction: column }
.insrow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line) }
.insrow:last-child { border-bottom: 0 }
.insrow .insrow .sflag { height: 30px !important }
.insrow div { display: flex; flex-direction: column; min-width: 0 }
.insrow b { font-family: var(--display); font-weight: 600; font-size: 17px }
.insrow div span { font-size: 13px; font-weight: 700; color: var(--muted) }
.inschip { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--slot); color: var(--muted); text-align: center; max-width: 120px; line-height: 1.25 }
.founder { background: var(--surface); border: 2px solid var(--line); border-left: 6px solid var(--sun); border-radius: 18px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px }
.founder small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.founder p { margin: 0; line-height: 1.6; font-family: Georgia, "Times New Roman", serif; font-size: 16px }
.founder .sig { font-family: var(--display); font-weight: 600; font-size: 19px; margin-top: 4px; color: var(--green) }
.founder .sigt { font-size: 14px; font-weight: 700; color: var(--muted); margin-top: -8px }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .founder .sig { color: var(--sun) } }
:root[data-theme="dark"] .founder .sig { color: var(--sun) }
.rpt { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; line-height: 1.5 }
.rpt b { color: var(--green) }
.famousbtn { background: #B8913A !important; color: #1F1A14 !important }
.fscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; -webkit-overflow-scrolling: touch }
.fcard { flex: 0 0 82%; scroll-snap-align: start; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 6px; position: relative }
.fcard.ex { border-style: dashed }
.exlab { position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--slot); padding: 2px 8px; border-radius: 999px }
.fphoto { width: 96px; height: 96px; border-radius: 50%; background: var(--slot); border: 3px solid #B8913A; display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 800; font-size: 13px; overflow: hidden }
.fphoto img { width: 100%; height: 100%; object-fit: cover }
.fcard h3 { margin: 6px 0 0; font-family: var(--display); font-weight: 600; font-size: 22px }
.fmeta { font-size: 13px; font-weight: 700; color: var(--muted) }
.fach { font-size: 15px; line-height: 1.4; color: var(--green) }
.fcard p { margin: 0; font-style: italic; line-height: 1.5; color: var(--muted) }

.site-h[role=button] { cursor: pointer }
.site-hero { background: var(--green); color: #FFFFFF; border-radius: 22px; padding: 18px }
.site-hero small { color: var(--sun); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase }
.site-hero h1 { color: #FFFFFF; font-size: 28px; margin: 4px 0 8px }
.site-hero .sloc .cs small { color: #DCE7DF; letter-spacing: 0; text-transform: none; font-size: 15px }
.planimg { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 2px solid var(--line); border-radius: 16px; background: #FFFFFF; overflow: hidden; text-align: center }
.planimg img { width: 100%; height: auto; display: block }
.planimg span { font-size: 13px; font-weight: 800; color: #5C574D; padding: 4px 8px 10px }
.zoom-wrap { position: fixed; inset: 0; z-index: 40; background: #FFFFFF; display: flex; flex-direction: column }
.zoom-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--green); color: #FFFFFF }
.zoom-sc { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch }
.zoom-sc img { width: 1667px; max-width: none; height: auto; display: block }
.zoom-sc img.vec { width: 2400px }

.site-h { display: grid !important; grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 6px; align-items: center }
.site-h .sright { display: flex; align-items: center; gap: 8px; justify-content: flex-end }
.sloc { grid-column: 2 / 4; display: flex; align-items: center; gap: 12px }
.sloc .cs small { white-space: nowrap; font-size: 14px }
.site-h b.sbrand { white-space: nowrap; overflow-wrap: normal }
.sites .site-h { grid-template-columns: 30px max-content minmax(0, 1fr) }
.sites .site-h .sright .chip { white-space: normal; text-align: center; line-height: 1.15; min-width: 0; flex: 0 1 auto }
.sloc .cs small.scity { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--ink, inherit) }
.sloc .cs { display: flex; flex-direction: column; line-height: 1.25 }
.sflag { height: 44px !important; width: auto !important; max-width: none !important; flex: none; object-fit: contain; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12) }
input[type=tel], input[type=email] { width: 100%; min-width: 0; min-height: 48px; border-radius: 12px; border: 2px solid var(--slot-edge); background: var(--surface); padding: 0 12px; font-size: 16px }
.two > label { min-width: 0 }
.sitecontact { display: flex; align-items: center; justify-content: center; text-decoration: none }
.snum { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px }
.chip.want { cursor: pointer; white-space: nowrap; min-height: 32px; font-size: 13px }
.sites { display: flex; flex-direction: column; gap: 10px }
.chip.upc { background: #C8102E; border-color: #C8102E; color: #FFFFFF; font-size: 15px; padding: 6px 14px; cursor: pointer; box-shadow: 0 2px 0 rgba(0,0,0,.18) }
.dvgroup h3 { margin: 10px 0 6px; font-size: 15px }
.dvgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); grid-auto-rows: 48px; gap: 8px }
.dvbtn { width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0 6px; display: flex; align-items: center; justify-content: center; white-space: nowrap; line-height: 1; border: 2px solid var(--green); border-radius: 12px; background: var(--surface); color: var(--fg); font-weight: 800; font-size: 14px; cursor: pointer }
.dvbtn.on { background: var(--green); color: #FFFFFF }
.chip.upc.off { background: var(--surface); border-color: #C8102E; color: #9E0D24 }
.sites .site { background: linear-gradient(135deg, #E4EFE6 0%, #F3EBDA 100%); border-color: #D9E4D6 }
.sites .site .sflag { border: 2px solid #FFFFFF; box-shadow: 0 2px 6px rgba(0,0,0,.22) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sites .site { background: linear-gradient(135deg, #1E2C22 0%, #2A2A1E 100%); border-color: #34402F } }
:root[data-theme="dark"] .sites .site { background: linear-gradient(135deg, #1E2C22 0%, #2A2A1E 100%); border-color: #34402F }
.site-h { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px; border: 0; background: none; text-align: left; min-height: 64px }
.site-h .sname { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px }
.site-h .chip { white-space: nowrap; flex: none }
.site-h b { font-family: var(--display); font-weight: 600; font-size: 19px; overflow-wrap: anywhere }
.site-h small { color: var(--muted); font-weight: 700; font-size: 13px }
.site-h i { font-style: normal; font-weight: 800; font-size: 22px; width: 22px; text-align: center; color: var(--muted) }
.site-b { padding: 0 14px 16px; display: flex; flex-direction: column; gap: 12px }
.site-b > p { margin: 0; line-height: 1.5; font-weight: 600 }
.splan { display: flex; flex-direction: column; gap: 12px }
.splan-map { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; background: #CFE8C9; overflow: hidden; border: 2px solid #A9D3A0 }
.splan-map span { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 800; font-size: 12px; color: #1F1A14; line-height: 1.15 }
.splan-map small { font-weight: 700; font-size: 10px; opacity: .8 }
.splan-map .c { background: #8FCB84; border: 2px solid #5FA552; border-radius: 40% 55% 45% 50%; width: 38%; height: 34% }
.splan-map .a { left: 4%; top: 5% } .splan-map .b { right: 4%; top: 5% } .splan-map .cc { left: 31%; bottom: 4%; width: 38%; height: 30% }
.splan-map .hubc { left: 37%; top: 40%; width: 26%; height: 20%; background: #F5C518; border-radius: 12px; border: 2px solid #B8913A }
.splan-map .rng { left: 4%; top: 44%; width: 30%; height: 16%; background: #E9F2D8; border: 2px dashed #8FB07A; border-radius: 10px }
.splan-map .pg { right: 4%; top: 44%; width: 30%; height: 16%; background: #B9E4C9; border: 2px solid #6DB58A; border-radius: 999px }
.splan-map .shop { left: 4%; bottom: 6%; width: 24%; height: 14%; background: #FFFFFF; border-radius: 10px; border: 2px solid #D6CFC1; font-size: 11px }
.sfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.sfacts div { background: var(--slot); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 2px }
.sfacts b { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--green) }
.sfacts span { font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.3 }
.loginbtn { flex: none; background: var(--sun); color: #1F1A14; border: 0; border-radius: 999px; padding: 8px 18px; font-weight: 800; font-size: 15px; min-height: 40px }
.whoami { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: #DCE7DF; font-size: 12px; font-weight: 800; max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 22px }
.whoami i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #5EE08E; box-shadow: 0 0 0 2px rgba(94,224,142,.3) }
.whoami.out { color: #1F1A14; background: var(--sun); border-radius: 999px; padding: 2px 10px; font-size: 12px; text-decoration: none }
.whoami.out i { display: none }
.bio { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 16px; border: 2px dashed var(--slot-edge); background: var(--surface); color: var(--muted); font-weight: 800; font-size: 15px }
.bio small { font-weight: 700; font-size: 12px }
.login-new { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center }
.demo-hint { font-size: 13px; color: var(--muted); text-align: center; margin: 0 }
.admin-login { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center }
.admin-login .btn { text-decoration: none }
.hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.hubtile { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; border-radius: 20px; overflow: hidden; text-align: center; box-shadow: 0 4px 0 rgba(0,0,0,.18); min-width: 0 }
.hubtile.wide { grid-column: 1 / -1 }
.app:has(.hub) header.top { position: static }
.hub > .hubtile:not(.wide):last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px) }
.hubtile .pic { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.22); border-bottom: 2px dashed rgba(255,255,255,.55); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .9 }
.hubtile.wide .pic { aspect-ratio: 16 / 6 }
.hubtile .pic.photo-pic { padding: 0; border-bottom: 0; opacity: 1; overflow: hidden }
.hubtile .pic.photo-pic { position: relative }
.hubtile .pic.photo-pic { aspect-ratio: auto; display: flex; flex-direction: column }
.hubtile .pic.photo-pic img { height: auto !important; aspect-ratio: 4 / 3 }
.hubtile .fname { position: static; order: -1; align-self: flex-start; margin: 6px 6px 2px; flex: none; max-width: calc(100% - 8px); background: rgba(255,255,255,.85); color: #1F1A14; font-style: normal; font-size: 10.5px; line-height: 1.3; font-weight: 800; letter-spacing: 0; text-transform: none; padding: 1px 6px; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,.15); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.hubtile .pic.photo-pic img { width: 100%; height: 100%; object-fit: cover; display: block }
.hubtile b { display: block; padding: 12px 8px 14px; font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.15 }
/* One title size for every front-page badge, scaled to the badge width so "How It Works" always fits on one line. */
.hubtile { container-type: inline-size }
.hubtile b { padding-inline: 6px; font-size: 20px; font-size: min(20px, 11cqi) }
.hubintro { text-align: center; display: flex; flex-direction: column; gap: 4px }
.hubintro h1 { font-size: 26px; color: var(--green) }
.hubintro .concept-note { margin: 2px auto 0; max-width: 34em; font-size: 14px; line-height: 1.5; padding: 8px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); background: color-mix(in srgb, var(--sun) 14%, transparent) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hubintro h1 { color: var(--sun) } }
:root[data-theme="dark"] .hubintro h1 { color: var(--sun) }
.seat { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line) }
.seat b { font-family: var(--display); font-size: 17px; font-weight: 600 }
.seat .chip { flex: none; white-space: nowrap }
.vendbtn { cursor: pointer; font-size: 14px; padding: 6px 12px }
.vend-letter { display: block; cursor: zoom-in } .vend-letter img { display: block; width: 100%; height: auto; border: 2px solid var(--line); border-radius: 12px; background: #FFFFFF }
.seat-h { margin: 14px 0 2px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted) }
.certbox { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--slot); border: 2px dashed var(--slot-edge) }
.certbox b { font-family: var(--display); font-weight: 600; font-size: 18px }
.certbox > span { line-height: 1.45 }
.certbtn { align-self: flex-start; flex-direction: row; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 12px; background: var(--green); color: #FFFFFF; cursor: pointer }
.certbtns { display: flex; flex-wrap: wrap; gap: 8px }
.certbtn.up { background: var(--surface, #FFFFFF); color: var(--green); border: 2px solid var(--green) }
.certnote { font-size: 14px; color: var(--muted); font-weight: 700 }
#pcertview img { width: 100%; max-height: 260px; object-fit: contain; border-radius: 12px; background: #FFFFFF; border: 2px solid var(--line) }
#pcertview p { margin: 6px 0 0; font-weight: 800 }
.certres { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--line); background: var(--card, #FFFFFF); line-height: 1.4 }
.certres b { font-size: 16px }
.certres.ok { border-color: #2E8B57; background: #E6F4EA; color: #14532D }
.certres.bad { border-color: #C0392B; background: #FDECEA; color: #7F1D1D }
.certres.wait { border-style: dashed }
#pdob.locked { background: #E6F4EA; color: #14532D; font-weight: 800 }
.cblink { background: none; border: 0; padding: 10px 4px; color: var(--muted); font-weight: 700; font-size: 15px; line-height: 1.45; text-align: center }
.cblink u { color: var(--green); font-weight: 800 }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rpt b, :root:not([data-theme="light"]) .fach { color: var(--sun) } }
:root[data-theme="dark"] .rpt b, :root[data-theme="dark"] .fach { color: var(--sun) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cblink u { color: var(--sun) } }
:root[data-theme="dark"] .cblink u { color: var(--sun) }
main [style*="font-size:12px"], main [style*="font-size:13px"] { font-size: 14px !important }
.demo, .place, .fmeta, .site-h small { font-size: 14px }
label.radio input { flex: none }
label.radio:has(> span) { align-items: flex-start; font-weight: 600; line-height: 1.4 }
label.radio > span { flex: 1; min-width: 0 }
label.radio:has(> span) input { margin-top: 2px }
input[type=file] { width: 100%; font-size: 15px; color: var(--muted) }
input[type=file]::file-selector-button { margin-right: 12px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--green); color: #FFFFFF; font: inherit; font-weight: 800; cursor: pointer }
details.demohelp { font-size: 14px; color: var(--muted) }
details.demohelp summary { cursor: pointer; font-weight: 800; text-decoration: underline; min-height: 36px; display: flex; align-items: center }
.fgline { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 16px; border: 0; border-radius: 16px; background: var(--green); color: #FFFFFF; text-align: left; font-weight: 800; font-size: 15px }
.fgline b { color: var(--sun); font-family: var(--display); font-weight: 600; font-size: 18px; display: block }
.fgline i { font-style: normal; font-size: 26px; line-height: 1 }
@keyframes fall { to { transform: translateY(105vh) rotate(540deg) } }
@media (prefers-reduced-motion: reduce) { .confetti { display: none } .bar > div { transition: none } }

/* Banner: one layout on every page. Row 1: wordmark | Home. Row 2: page name | whoever is logged in, directly under Home. */
header.top.gbk { display: flex !important; flex-direction: column; align-items: stretch; gap: 6px; flex-wrap: nowrap }
.gbk-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0 }
.gbk-row.r1 { height: 36px }
.gbk-row.r2 { height: 34px }
.gbk-brand { flex: none }
.gbk-sub { flex: 1 1 auto }
.gbk-r1, .gbk-r2 { flex: 0 1 auto }
.gbk-name { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1; color: #FFFFFF; white-space: nowrap; overflow: visible }
.gbk-r1, .gbk-r2 { display: flex; justify-content: flex-end; align-items: center; gap: 8px; min-width: 0 }
.gbk-sub { display: flex; align-items: center; gap: 8px; min-width: 0 }
.gbk-sub.wide { grid-column: 1 / -1 }
@media (max-width: 380px) { .gbk-sub > span:not(.tl) { font-size: 10px; letter-spacing: .02em } .gbk-sub > span.tl { font-size: 14px } .gbk-sub { gap: 6px } .gbk-r2 { gap: 6px } .gbk-r2 .pill { padding: 0 10px } }
.gbk-sub > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--sun) }
.gbk-sub > span.tl { text-transform: none; letter-spacing: .01em; font-size: 14.5px; font-style: italic; flex: 1 1 auto; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: normal; line-height: 1.25 }
/* The tagline always shows in full: it may wrap to a second line on narrow phones but is never cut off */
.gbk-row.r2 { height: auto; min-height: 34px }
.gbk-row.r2 .gbk-r2 { flex: none }
.gbk-brand { display: flex; align-items: center; gap: 8px; min-width: 0 }
.gbk-brand .demotag, .gbk-sub .demotag { flex: none; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1F1A14; background: #DCE7DF; border-radius: 6px; padding: 2px 7px; line-height: 1.3 }
.hbtn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; min-height: 34px; padding: 0 14px; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 800; line-height: 1; white-space: nowrap; border: 0; box-shadow: none; max-width: none }
.hbtn.hb-user { background: #FFFFFF; color: var(--green); max-width: 62vw }
.hbtn.hb-user span { overflow: hidden; text-overflow: ellipsis }
.hbtn.hb-user i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #2DBE6C }
.hbtn.hb-home.here { background: rgba(255,255,255,.18) }
.hbtn.hb-home { background: transparent; color: #FFFFFF; border: 2px solid rgba(255,255,255,.75); width: 34px; padding: 0 }
.gbk-r2 .pill { height: 34px; display: inline-flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 800; border-radius: 999px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto }


/* Standard page architecture: back row, title card, section cards, in that order on every page */
main > .back:first-child { min-height: 32px; height: 32px; margin: 0 0 -6px; padding: 0 2px; font-size: 15px }
.course-hero { min-height: 92px; justify-content: center }
.course-hero h1 { line-height: 1.15 }
.sp-top { display: flex; gap: 12px; align-items: stretch }
.sp-top .sp-hero { flex: 1; min-width: 0 }
.sp-top .sp-hero h1 { font-size: clamp(20px, 6.6vw, 28px) }
.sp-top .page-art { width: clamp(104px, 30vw, 132px) }
.sp-top .page-art.nocap { width: clamp(128px, 38vw, 160px); aspect-ratio: auto; flex: none; align-self: stretch; background: #D8D7BD; justify-content: center }
.sp-top .page-art.nocap img { width: 100%; height: 100%; flex: 1 1 auto; min-height: 0; aspect-ratio: auto; object-fit: contain; background: #D8D7BD }

.sp-top .sp-art { width: 92px; height: auto; min-height: 92px; align-self: stretch }
.prsn { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 12px 0; border-bottom: 1px solid var(--line) }
.prsn:last-child { border-bottom: 0; padding-bottom: 0 }
.prsn.lyla { display: grid; grid-template-columns: minmax(0, 1fr) 128px; column-gap: 14px; row-gap: 5px; align-items: start }
.prsn.lyla > b, .prsn.lyla > .chip { grid-column: 1 / -1; justify-self: start }
.prsn.lyla > p { grid-column: 1; grid-row: 3; align-self: start; margin-top: 4px }
.msgcard { grid-column: 2; grid-row: 3; align-self: start; margin-top: 6px; position: relative; display: block; width: 128px; aspect-ratio: 9 / 16; padding: 0; border: 2px solid #B8913A; border-radius: 16px; overflow: hidden; background: #1D4B34; box-shadow: 0 6px 18px rgba(29,75,52,.28); cursor: pointer }
.msgcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block }
.msgcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(15,35,24,.88) 100%) }
.msgcard .play { position: absolute; z-index: 1; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 2px 10px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center }
.msgcard .play::before { content: ""; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #1D4B34 }
.msgcard .cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 8px 9px; color: #FFFFFF; text-align: center; display: flex; flex-direction: column; gap: 1px }
.msgcard .cap i { font-family: var(--display); font-style: normal; font-weight: 600; font-size: 14px; line-height: 1.15 }
.msgcard .cap small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #F5C518 }
.vidwrap { position: fixed; inset: 0; z-index: 45; background: rgba(10,22,15,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: max(14px, env(safe-area-inset-top, 0px)) 14px max(14px, env(safe-area-inset-bottom, 0px)) }
.vidwrap .vbar { width: min(100%, 460px); display: flex; justify-content: space-between; align-items: center; color: #FFFFFF }
.vidwrap .vbar b { font-family: var(--display); font-weight: 600; font-size: 19px }
.vidwrap .vbar span { display: block; font-size: 12px; font-weight: 700; color: #F5C518; letter-spacing: .06em; text-transform: uppercase }
.vidwrap video, .vidwrap iframe { max-width: 100%; max-height: calc(100vh - 110px); aspect-ratio: 9 / 16; border-radius: 16px; border: 2px solid #B8913A; background: #000 }
.vidwrap iframe { width: min(100%, 460px, calc((100vh - 110px) * 9 / 16)); height: auto }

.prsn > b { font-size: 16px; line-height: 1.3 }
.prsn > .chip { margin: 0 }
.prsn > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5 }

.page-art { flex: none; width: 132px; margin: 0; border-radius: 16px; overflow: hidden; background: #DFE6F0; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,.12) }
.page-art img { width: 100%; aspect-ratio: 3 / 4; height: auto; flex: none; object-fit: contain; background: #DFE6F0; display: block }
.page-art figcaption { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; background: #FFFFFF; color: #1F1A14; font-size: 11px; font-weight: 800; line-height: 1.2; padding: 5px 6px; text-align: center; white-space: normal; overflow-wrap: anywhere }

.bpic { position: relative; display: block; line-height: 0; flex: none }
.tile .bpic, .slot .bpic { width: 100%; align-self: stretch }
.hero .bpic { align-self: center }
.bpic .photo { margin-bottom: 0 !important }
.tile .bpic { margin-bottom: 6px }
.bpic .bname, .tile .bpic .bname, .feat .bpic .bname, .slot .bpic .bname, .hero .bpic .bname { position: absolute; top: 5px; left: 5px; max-width: calc(100% - 10px); background: rgba(255,255,255,.88); color: #1F1A14; font-style: normal; font-size: 8.5px; font-weight: 800; line-height: 1.3; letter-spacing: 0; text-transform: none; padding: 1px 6px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 1px 2px rgba(0,0,0,.12) }
.bpic .bname.r { left: auto; right: 5px }
.hero .bpic .bname { top: 9px; left: 9px; font-size: 11px; padding: 2px 9px }
.hero .bpic .bname.r { left: auto; right: 9px }
.feat .bpic .bname { top: 6px; left: 6px; font-size: 8.5px }
.slot .bpic .bname { top: 3px; left: 3px; font-size: 6.2px; letter-spacing: -.15px; padding: 0 3px; max-width: calc(100% - 6px) }
@media (max-width: 374px) { .slot .bpic .bname { font-size: 5.6px !important } }
.slot .bpic .bname.r { left: auto; right: 3px }
/* Names sit below the picture so they never cover the bird, fish or flower */
.bpic { display: flex; flex-direction: column; align-items: center; gap: 5px }
.bpic .bname, .bpic .bname.r, .tile .bpic .bname, .feat .bpic .bname, .slot .bpic .bname, .hero .bpic .bname, .bpic .bname.r, .hero .bpic .bname.r, .slot .bpic .bname.r { position: static; top: auto; left: auto; right: auto; align-self: center; max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: center; line-height: 1.25; box-shadow: none }
.tile .bpic .bname, .feat .bpic .bname { font-size: 10px; padding: 2px 7px }
.hero .bpic .bname { font-size: 12px; padding: 3px 10px }
.slot .bpic .bname { font-size: 8px !important; letter-spacing: 0; padding: 1px 4px }
.tile .bpic { margin-bottom: 4px }
.tile .bpic .photo.sq { margin-bottom: 0 !important }
.chip.mr-open { cursor: pointer; font-family: inherit; font-size: 13px; padding: 5px 12px }
.mr-poslist { list-style: none; padding: 0; margin: 0 }
.mr-pos { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line) }
.mr-pos:first-child { border-top: 0 }
.mr-pos p { margin: 3px 0 0 }
.mr-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px }
.mr-list { margin-top: 2px }
.mr-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line) }
.mr-item:first-child { border-top: 0 }
.mr-item > div { min-width: 0 }
.mr-q { flex: none; width: 34px; font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--green); text-align: right }
.mr-q small { font-size: 13px; margin-left: 1px; opacity: .7 }
.mr-mk { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.mr-md { display: block; font-family: var(--display); font-size: 17px; font-weight: 600; line-height: 1.25 }
.mr-use { display: block; font-size: 14.5px; margin-top: 2px; line-height: 1.4 }
.mr-sub { text-align: right; font-weight: 800; color: var(--green); margin: 10px 0 0 }
.mr-budget div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line) }
.mr-budget .mr-tot { border-top: 2px solid var(--green); font-size: 18px }
.mr-budget .mr-tot span { font-weight: 800 }
.mr-note { font-size: 14.5px; color: var(--muted); margin-top: 12px }
.mr-top { margin: 0 4px 14px; font-style: italic }
.incbtn { display: flex; flex-direction: column; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100% }
.incbtn .fishtxt { flex: 1 }
.incmore { margin-top: auto; padding-top: 6px; font-style: normal; font-weight: 800; font-size: 13.5px; color: var(--green) }
.incfig { margin: 0 0 14px; border: 2px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column }
.incfig em { align-self: flex-start; margin: 8px 10px 2px; font-style: normal; font-size: 12px; font-weight: 800; color: #3A3F45; background: rgba(255,255,255,.85); padding: 2px 8px; border-radius: 999px }
.incfig img { width: 100%; aspect-ratio: 720 / 402; object-fit: contain; display: block }
.debitpic, .debitfig { background: #F6EFD9; display: grid !important; place-items: center; padding: 14px 0 !important }
.debitpic { aspect-ratio: auto; min-height: 0 }
.debit { position: relative; width: 74%; aspect-ratio: 1.586; border-radius: 10px; background: linear-gradient(135deg, #2A6B4A, #1D4B34 60%, #12301F); color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.22); font-family: var(--display); overflow: hidden }
.debit .dw { position: absolute; left: 8%; top: 9%; font-weight: 700; font-size: clamp(10px, 3.4vw, 18px) }
.debit .dchip { position: absolute; left: 8%; top: 38%; width: 15%; aspect-ratio: 1.3; border-radius: 3px; background: linear-gradient(135deg, #F7DC7A, #C9A43A) }
.debit .damt { position: absolute; right: 8%; top: 32%; font-weight: 700; color: var(--sun); font-size: clamp(14px, 5.2vw, 30px) }
.debit .dlbl { position: absolute; left: 8%; bottom: 9%; font-size: clamp(8px, 2.5vw, 13px); letter-spacing: .1em; text-transform: uppercase; opacity: .9 }
.debitfig .debit { width: 62% }
.debitfig .debit .dw { font-size: clamp(12px, 4.4vw, 22px) } .debitfig .debit .damt { font-size: clamp(18px, 7vw, 38px) } .debitfig .debit .dlbl { font-size: clamp(9px, 3vw, 15px) }
.welcome { padding-block: 14px 0 }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100% }
html.wl-lock, html.wl-lock body { overflow: hidden; overscroll-behavior: none }
.wl-sky { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 30px 22px 32px; border-radius: 26px; box-sizing: border-box; justify-content: space-evenly; justify-content: safe space-evenly; gap: 1.2vh; padding: 3vh 22px;
  background: radial-gradient(120% 70% at 50% 108%, #F2B544 0%, #D9772E 22%, #6B3B2A 44%, #1D3B2B 70%, #0F2219 100%); color: #FFF7E8; box-shadow: 0 8px 24px rgba(0,0,0,.25) }
.wl-sun { position: absolute; left: 50%; bottom: -160px; width: 340px; height: 340px; margin-left: -170px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,120,.55), rgba(255,170,70,0) 68%); animation: wlrise 4s ease-out both; pointer-events: none }
.wl-sky > *:not(.wl-sun) { position: relative }
.wl-icon { width: calc(var(--wls, 1) * min(86vw, 400px, 38vh)); height: auto; display: block; filter: drop-shadow(0 6px 16px rgba(0,0,0,.45)) }
.wl-head { margin: 4px 0 0; font-family: var(--display); font-weight: 600; font-size: calc(var(--wls, 1) * clamp(20px, min(6.6vw, 3.6vh), 30px)); line-height: 1.2; color: #FFFFFF }
.wl-tag { white-space: nowrap; font-size: calc(var(--wls, 1) * min(17px, 4.2vw)); font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #F5C518; border: 1.5px solid rgba(245,197,24,.75); padding: 5px 14px; border-radius: 999px; background: rgba(0,0,0,.18) }
.wl-sky p { margin: 0; font-size: calc(var(--wls, 1) * clamp(14px, 2.1vh, 16.5px)); line-height: 1.55; color: #F3E9D6; max-width: 34em }
.wl-sky .wl-strong { font-weight: 800; color: #FFFFFF }
.wl-sky .wl-sandlot { font-weight: 700; color: #FFFFFF; font-style: italic }
.wl-sky .wl-free { font-family: var(--display); font-weight: 700; font-size: calc(var(--wls, 1) * clamp(17px, 2.6vh, 21px)); color: #F5C518; letter-spacing: .02em }
.wl-go { margin-top: 4px; width: 100%; max-width: 360px; padding: calc(var(--wls, 1) * min(16px, 2vh)) 20px; border: 0; border-radius: 999px; background: #F5C518; color: #1F1A14; font: inherit; font-size: calc(var(--wls, 1) * 18px); font-weight: 800; cursor: pointer; animation: wlin 1s ease-out 3.1s both, wlglow 2.6s ease-in-out 4.2s infinite }
.wl-a1 { animation: wlin 1.2s ease-out .2s both } .wl-a2 { animation: wlin 1s ease-out 1s both } .wl-a3 { animation: wlin .9s ease-out 1.6s both }
.wl-a4 { animation: wlin .9s ease-out 2.1s both }
.wl-ctas { display: flex; flex-direction: column; align-items: center; gap: calc(var(--wls, 1) * 10px); width: 100%; max-width: 360px; margin-top: 4px }
.wl-ctas .wl-go { margin-top: 0; box-sizing: border-box; display: block; text-decoration: none; text-align: center }
.wl-go:not(.wl-alt) { font-family: var(--display); font-size: calc(var(--wls, 1) * clamp(30px, 9vw, 40px)); line-height: 1.1; letter-spacing: .04em; padding-top: calc(var(--wls, 1) * min(18px, 2.2vh)); padding-bottom: calc(var(--wls, 1) * min(18px, 2.2vh)) }
.wl-star { color: #B8860B; text-shadow: 0 1px 0 rgba(255,255,255,.45); font-size: .95em }
.wl-go.wl-alt .wl-star { color: #F5C518; text-shadow: 0 1px 2px rgba(0,0,0,.35) }
.wl-go.wl-alt { background: rgba(0,0,0,.22); color: #FFFFFF; box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); animation: wlin 1s ease-out 3.3s both }
.wl-go.wl-alt:hover, .wl-go.wl-alt:focus-visible { background: rgba(255,255,255,.14) } .wl-a5 { animation: wlin .9s ease-out 2.6s both }
@keyframes wlin { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@keyframes wlrise { from { opacity: 0; transform: translateY(80px) } to { opacity: 1; transform: none } }
@keyframes wlglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,197,24,.55) } 50% { box-shadow: 0 0 0 12px rgba(245,197,24,0) } }
@media (prefers-reduced-motion: reduce) { .wl-sky *, .wl-sun { animation: none !important } }
/* GolfbyKids is a brand: always one word, exactly as written. It never wraps, splits or changes case. */
span.bn.bn.bn { all: unset; display: inline !important; white-space: nowrap !important; overflow-wrap: normal !important; word-break: keep-all !important; hyphens: manual !important; -webkit-hyphens: manual !important; text-transform: none !important; font-variant: normal !important; letter-spacing: normal !important }
.savewarn{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:9999;max-width:560px;margin:0 auto;background:#7A1F1F;color:#fff;border-radius:14px;padding:14px 16px;box-shadow:0 8px 24px rgba(0,0,0,.3);display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.4}
.savewarn p{margin:0;flex:1}
.savewarn .homebtn{flex:none}
/* The birth-certificate file inputs stay in the tab order (so keyboards can reach them) but are
   drawn by their label button; the button shows the focus ring. */
.certbtn{position:relative}
.certin{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0}
.certbtn:focus-within{outline:3px solid #F5C518;outline-offset:2px}
/* Headings and pop-up windows receive focus from the app so screen readers announce them;
   they are not controls, so they show no focus ring. */
h1[tabindex="-1"]:focus,h2[tabindex="-1"]:focus,[role="dialog"][tabindex="-1"]:focus,.vidwrap[tabindex="-1"]:focus{outline:none}
.starthole .sh-map .sh-star { color: #F5C518 !important; font-size: 34px; text-transform: none; letter-spacing: 0 }
/* fruit tee boxes */
.teetag { display: inline-block; width: .8em; height: .8em; border-radius: 50%; background: var(--tc); border: 1.5px solid rgba(0,0,0,.35); margin-right: .35em; vertical-align: -.05em }
.teelink { flex-direction: row; align-items: center; gap: 12px; text-align: left; color: var(--fg); font: inherit; cursor: pointer; box-shadow: 0 3px 0 rgba(0,0,0,.1) }
.teelink .tl-fruit { display: flex; flex: none }
.teelink .tl-fruit img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); background: #fff; margin-left: -12px; box-shadow: 0 1px 3px rgba(0,0,0,.2) }
.teelink .tl-fruit img:first-child { margin-left: 0 }
.teelink .tl-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0 }
.teelink .tl-txt b { font-size: 16px }
.teelink .tl-txt span { font-size: 13px; color: var(--muted) }
.teelink > i { font-style: normal; font-size: 26px; color: var(--muted) }
/* Yardages page */
.yd-hero { margin: 0; position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.14) }
.yd-hero img { display: block; width: 100%; height: auto }
.yd-hero figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(20,14,6,.82)); color: #fff; display: flex; flex-direction: column; gap: 4px }
.yd-hero figcaption b { font-size: 22px; line-height: 1.15 }
.yd-hero figcaption span { font-size: 14px; line-height: 1.4; opacity: .95 }
.yd-list { display: flex; flex-direction: column; gap: 12px }
.yd-card { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 2px solid var(--line); border-left: 8px solid var(--tc); border-radius: 18px; padding: 12px 16px 12px 12px; box-shadow: 0 3px 0 rgba(0,0,0,.08) }
.yd-pic { margin: 0; flex: none; width: 96px; height: 96px; border-radius: 16px; overflow: hidden; background: #fff }
.yd-pic img { display: block; width: 100%; height: 100%; object-fit: cover }
.yd-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px }
.yd-head { display: flex; align-items: center; gap: 10px }
.yd-rank { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tc); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 14px; text-shadow: 0 1px 1px rgba(0,0,0,.35) }
.yd-head h3 { margin: 0; font-size: 19px; line-height: 1.1 }
.yd-ages { font-size: 13px; color: var(--muted); font-weight: 700 }
.yd-row { display: flex; align-items: baseline; gap: 10px }
.yd-who { min-width: 46px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted) }
.yd-num { font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums }
.yd-num small { font-size: 11px; font-weight: 600; color: var(--muted) }
.yd-foot { font-size: 12px; color: var(--muted); line-height: 1.4 }
@media (max-width: 420px) {
  .yd-card { flex-direction: column; align-items: stretch; padding: 12px }
  .yd-pic { width: 100%; height: 150px }
  .yd-pic img { object-fit: contain }
}

/* scoring pages: each player's flag and name stay on one line */
.pn1 { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100% }
.srow .nm .pn1 b { font-size: clamp(13px, 3.9vw, 16px) }

/* Home screen: campus scale numbers and the five GolfbyKids principles. */
.gd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 4px 0 }
.gd-stats > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 10px 6px; border-radius: 14px; background: var(--surface); border: 2px solid var(--line) }
.gd-stats b { font-family: var(--display); font-size: clamp(20px, 5.4vw, 28px); line-height: 1.1; color: var(--fg); white-space: nowrap }
.gd-stats span { font-size: 12px; line-height: 1.3; color: var(--muted) }
@media (max-width: 420px) { .gd-stats { grid-template-columns: repeat(2, 1fr) } }
.gd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: gd }
.gd-list li { display: flex; flex-direction: column; gap: 2px; padding-left: 40px; position: relative; counter-increment: gd }
.gd-list li::before { content: counter(gd); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); color: #1F1A14; font-weight: 800; display: grid; place-items: center }
.gd-list b { font-size: 17px }
.gd-list span { line-height: 1.45 }
.gd-partner { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; background: var(--sun); color: #1F1A14; padding: 10px 18px; line-height: 1.3; box-sizing: border-box }
/* Why Golf? tributes: one card per voice, with a coloured accent, a video link, pull quotes and letters. */
.trib-intro { margin: 0; font-size: 16px; line-height: 1.6; text-align: center }
.trib-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px }
.trib-toc button { font: 800 14px var(--body); padding: 8px 14px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer }
.trib { --tc: var(--green); scroll-margin-top: 14px; background: var(--surface); border: 2px solid var(--line); border-top: 8px solid var(--tc); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 4px 0 rgba(0,0,0,.08) }
.trib > p { margin: 0; line-height: 1.6 }
.trib-hd { display: flex; align-items: center; gap: 14px }
.trib-av { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--tc); color: #fff; font: 700 21px var(--display); letter-spacing: .02em; box-shadow: inset 0 0 0 3px rgba(255,255,255,.35) }
.trib-hd small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.trib-hd h2 { margin: 2px 0 0; font-family: var(--display); font-size: 25px; line-height: 1.1 }
.trib-hd em { display: block; font-style: normal; font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 3px }
.trib-lead { font-size: 17px; font-weight: 700 }
.trib-vid { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: #10202E; box-shadow: 0 4px 0 rgba(0,0,0,.2) }
.trib-ted { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #111; cursor: pointer; box-shadow: 0 4px 0 rgba(0,0,0,.2) }
.trib-ted img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease }
.trib-ted:hover img, .trib-ted:focus-visible img { transform: scale(1.03) }
.trib-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--tc); box-shadow: 0 6px 18px rgba(0,0,0,.35) }
.trib-play::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff }
.trib-tedtag { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font: 800 13px var(--body) }
.trib-tedframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #111 }
.trib-sect { text-align: center; padding: 22px 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px }
.trib-sect span { font-size: 26px }
.trib-sect h2 { margin: 0; font-family: var(--display); font-size: 27px; line-height: 1.15 }
.trib-sect p { margin: 0; max-width: 34em; color: var(--muted); line-height: 1.55 }
.trib-sect::after { content: ""; width: 64px; height: 4px; border-radius: 4px; background: var(--green); margin-top: 8px }
.trib-note { margin: 0; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.5 }
.trib-img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 4px 0 rgba(0,0,0,.12) }
.trib-q { margin: 0; padding: 4px 0 4px 18px; border-left: 5px solid var(--tc) }
.trib-q p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.45; font-style: italic }
.trib-q cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; font-weight: 700; color: var(--muted) }
.trib-letter { border-left-color: var(--tc) }
.trib-link { align-self: flex-start; font-weight: 800; color: var(--tc); text-decoration: none; border-bottom: 2px solid currentColor }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .trib-link { color: var(--sun) } }
:root[data-theme="dark"] .trib-link { color: var(--sun) }
/* rankings: tap a player for score details */
.lrow.click { cursor: pointer }
.lrow.click .rkname { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px }
.lrow.click .rkname i { font-style: normal; font-size: 11px; margin-left: 4px; color: var(--muted) }
.lrow.open { background: var(--slot); border-radius: 10px 10px 0 0; padding-inline: 6px }
.rkdetail { background: var(--slot); border-radius: 0 0 10px 10px; padding: 8px 10px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line) }
.rkdetail p { margin: 4px 0 }
.rksum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; font-size: 12px; color: var(--muted) }
.rksum b { display: block; font-size: 18px; color: var(--ink, inherit) }
.rkscroll { overflow-x: auto; -webkit-overflow-scrolling: touch }
.rktab { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap }
.rktab th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-align: left; padding: 4px 6px; border-bottom: 1px solid var(--line) }
.rktab td { padding: 5px 6px; border-bottom: 1px solid var(--line) }
.rkrules { padding-left: 20px } .rkrules li { margin-bottom: 8px }

/* ---- Unified button system: every tappable control shares one shape, weight and press feel ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; line-height: 1.25; text-decoration: none;
  font-family: var(--body); letter-spacing: .01em; -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease, border-color .15s ease, color .15s ease }
.btn:not(:disabled):active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.2) }
.btn.primary:not(:disabled):hover { background: #245C40 }
.btn.plain { background: var(--surface); color: var(--green); border: 2px solid var(--green); box-shadow: 0 3px 0 rgba(29,75,52,.18) }
.btn.plain:not(:disabled):hover { background: var(--ok-soft) }
.btn.plain:not(:disabled):active { box-shadow: 0 1px 0 rgba(29,75,52,.18) }
.btn.danger:not(:disabled):active { box-shadow: none }
.btn:disabled { border-color: transparent }
:root[data-theme="dark"] .btn.plain { color: var(--fg); border-color: var(--ok); background: var(--surface) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.plain { color: var(--fg); border-color: var(--ok); background: var(--surface) } }

/* Secondary text actions (Cancel, Remove, Sign out…) become small outlined buttons instead of underlined text */
.link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 2px solid var(--slot-edge); background: transparent; color: var(--muted); font-weight: 800; font-size: 14px; line-height: 1.2;
  text-decoration: none; text-align: center; transition: background-color .15s ease, border-color .15s ease, color .15s ease; -webkit-tap-highlight-color: transparent }
.link:hover { border-color: var(--muted); color: var(--fg) }
.link:active { background: var(--slot) }
.celebrate .link { border-color: rgba(31,26,20,.35) }

/* Tournament calendar detail card: status, cancel and "Tee times and scores" line up as one clear stack */
.cdetail .btn { width: 100% }
.cdetail .row { align-items: center; flex-wrap: wrap; gap: 10px }
.cdetail .row .chip { font-size: 14px; padding: 8px 14px; min-height: 44px; display: inline-flex; align-items: center }
.cdetail .row .link { flex: 1 1 auto }
.cdetail .link { background: var(--surface) }
/* Next tournament card: date, division, status and sign-up in one box */
.course-hero.nt { gap: 4px }
.nt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap }
.nt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #1F1A14 !important; background: var(--sun) }
.nt-chip.ok { background: #DDF3E7; color: #145C38 !important }
.nt-chip i { font-style: normal }
.course-hero .nt-div { font-size: 17px; color: #DCE7DF }
.nt-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18) }
.nt-facts > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; min-width: 0 }
.nt-facts > div + div { border-left: 1px solid rgba(255,255,255,.18) }
.nt-facts small { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #BFD3C6 }
.nt-facts b { font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.15; color: #FFFFFF }
.nt-tee { display: flex; align-items: center; gap: 5px; min-width: 0; overflow-wrap: anywhere }
.nt-tee img { width: 22px; height: 22px; object-fit: contain; flex: none }
.nt-status { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: #DDF3E7; color: #145C38 }
.nt-status.wait { background: #FFF1C2; color: #5A4300 }
.nt-status.no { background: #FDE4EA; color: #7A1230 }
.nt-status .nt-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 800; font-size: 15px }
.nt-status.ok .nt-ic { background: #145C38; color: #FFFFFF !important } .nt-status.wait .nt-ic { background: #F5C518; color: #1F1A14 !important } .nt-status.no .nt-ic { background: #B3264A; color: #FFFFFF !important }
.nt-status div { display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.nt-status b { font-family: var(--display); font-size: 18px; font-weight: 600; line-height: 1.2 }
.course-hero .nt-status span { color: inherit; font-weight: 700; font-size: 14px }
.course-hero .nt-status span.nt-ic { font-size: 15px }
.nt-cta { margin-top: 10px; width: 100%; background: var(--sun); color: #1F1A14; border: 0; font-weight: 800 }
/* Hole in One History badge and page */
.acebadge { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px; border-radius: 18px; border: 3px solid var(--green); background: linear-gradient(135deg, #FFF1C2, #FFD95A); color: #1F1A14; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 4px 0 rgba(0,0,0,.15) }
.acebadge:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.15) }
.ab-medal { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #FFFFFF; border: 3px solid var(--green); box-shadow: inset 0 0 0 3px #F5C518 }
.ab-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px }
.ab-txt small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1D4B34 }
.ab-txt b { font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.15 }
.ab-txt span { font-size: 13px; font-weight: 700; color: #3D3524 }
.acebadge > i { font-style: normal; font-size: 26px; font-weight: 800; color: #1D4B34 }
.ah-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px }
.ah-stats > div { container-type: inline-size; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border-radius: 14px; background: var(--surface); border: 2px solid var(--line); text-align: center }
.ah-stats b { max-width: 100%; font-variant-numeric: tabular-nums; white-space: nowrap; font-family: var(--display); font-size: min(26px, 26cqi); font-weight: 700; line-height: 1; color: var(--green) }
.ah-stats small { font-size: 11px; font-weight: 800; color: var(--muted); line-height: 1.2 }
@media (max-width: 380px) { .ah-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
.ah-bars { display: flex; flex-direction: column; gap: 6px }
.ah-bar { display: grid; grid-template-columns: 76px 1fr 28px; align-items: center; gap: 8px; font-size: 13px; font-weight: 700 }
.ah-bar i { display: block; height: 12px; width: var(--w); min-width: 3px; border-radius: 999px; background: var(--green) }
.ah-bar b { text-align: right; font-variant-numeric: tabular-nums }
.ah-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px }
.ah-date { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 4px 6px }
.ah-date b { font-family: var(--display); font-size: 18px; color: var(--green) }
.ah-date span { font-size: 13px; font-weight: 700; color: var(--muted) }
.ah-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 2px solid var(--line); margin-bottom: 6px }
.ah-no { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: #1F1A14; font-weight: 800; font-size: 14px }
.ah-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; font-size: 13px }
.ah-body b { font-size: 16px }
.ah-shot { font-weight: 700 }
.cgrid2 span.ace { background: var(--sun); color: #1F1A14 }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ah-date b, :root:not([data-theme="light"]) .ah-stats b { color: var(--sun) } :root:not([data-theme="light"]) .ah-bar i { background: var(--sun) } }
:root[data-theme="dark"] .ah-date b, :root[data-theme="dark"] .ah-stats b { color: var(--sun) } :root[data-theme="dark"] .ah-bar i { background: var(--sun) }
/* Hole in one: pulsating button on the division row and the notation on the player who made it */
.fbtns .fop.acebtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(135deg, #FFE27A, #F5C518 55%, #E0A800); color: #1F1A14; box-shadow: 0 0 0 0 rgba(245,197,24,.7); animation: acepulse 1.6s ease-out infinite }
.acebtn .ab-dot { width: 8px; height: 8px; border-radius: 50%; background: #C8102E; box-shadow: 0 0 0 2px #fff }
@keyframes acepulse { 0% { box-shadow: 0 0 0 0 rgba(245,197,24,.75); transform: scale(1) } 50% { transform: scale(1.06) } 70% { box-shadow: 0 0 0 12px rgba(245,197,24,0) } 100% { box-shadow: 0 0 0 0 rgba(245,197,24,0); transform: scale(1) } }
.srow.acerow { background: linear-gradient(90deg, rgba(245,197,24,.28), rgba(245,197,24,.06)); border-radius: 10px }
.acenote { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; margin: 6px 0 10px; padding: 12px 14px; border-radius: 16px; border: 2px solid #E0A800; background: linear-gradient(135deg, #FFF6D6, #FFE27A 60%, #F5C518); color: #1F1A14; box-shadow: 0 4px 14px rgba(224,168,0,.3); animation: acein .5s ease-out }
.acenote::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 48%, transparent 66%); transform: translateX(-100%); animation: aceshine 3.2s ease-in-out 0.4s infinite; pointer-events: none }
.an-flag { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: #1F1A14; box-shadow: 0 0 0 3px #1D4B34 }
.an-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; font-size: 13px; font-weight: 700 }
.an-txt small { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8A5A00 }
.an-txt b { font-family: var(--display); font-size: 18px; line-height: 1.2; color: #1D4B34 }
.an-ball { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #E9E4D8); border: 2px solid #1D4B34; color: #1D4B34; line-height: 0 }
.an-ball svg { display: block }
.cace { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 8px; padding: 6px 10px; border-radius: 10px; background: var(--sun); color: #1F1A14; font-size: 13px; font-weight: 700 }
.cace b { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase }
@keyframes acein { from { opacity: 0; transform: translateY(-6px) scale(.98) } to { opacity: 1; transform: none } }
@keyframes aceshine { 0%, 60% { transform: translateX(-100%) } 100% { transform: translateX(100%) } }
.acelive { margin: 10px 0 4px }
.acelive > b { display: block; margin: 0 4px 4px; font-size: 14px }
button.acenote { width: 100%; text-align: left; font: inherit; cursor: pointer }
@media (prefers-reduced-motion: reduce) { .fbtns .fop.acebtn, .acenote, .acenote::after { animation: none } }

/* Roots story button: a magazine-cover style card linking to the Roots PDF on the History page. */
.roots-cta{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;margin:22px 0 8px;padding:26px 20px 20px;border-radius:20px;text-align:center;text-decoration:none;color:#fff;overflow:hidden;background:radial-gradient(120% 90% at 100% 0%,rgba(245,197,24,.28),transparent 55%),linear-gradient(160deg,#245C40 0%,#1D4B34 55%,#143726 100%);box-shadow:0 6px 0 #0E2A1C,0 14px 28px rgba(20,55,38,.28);transition:transform .15s ease,box-shadow .15s ease}
.roots-cta::before{content:"";position:absolute;inset:8px;border:1.5px solid rgba(245,197,24,.45);border-radius:14px;pointer-events:none}
.roots-cta-kicker{font-size:16px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#F5C518}
.roots-cta-date{display:block;white-space:nowrap}
.roots-cta-title{font-family:"Fredoka","Trebuchet MS",system-ui,sans-serif;font-size:clamp(44px,12vw,64px);font-weight:700;line-height:1;letter-spacing:.08em;margin:2px 0}
.roots-cta-sub{font-size:16px;font-style:italic;line-height:1.35;color:rgba(255,255,255,.9);max-width:30ch}
.roots-cta-byline{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.85);margin-top:2px}
.roots-cta-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin-top:12px;padding:14px 26px;border-radius:999px;background:#F5C518;color:#1D4B34;font-size:18px;font-weight:800;line-height:1.2;box-shadow:0 3px 0 #B48E00;transition:background .15s ease}
.roots-cta-note{font-size:12px;color:rgba(255,255,255,.7);margin-top:4px}
.roots-cta:hover{transform:translateY(-2px);box-shadow:0 8px 0 #0E2A1C,0 18px 32px rgba(20,55,38,.32)}
.roots-cta:hover .roots-cta-btn{background:#FFD43B}
.roots-cta:active{transform:translateY(4px);box-shadow:0 2px 0 #0E2A1C,0 6px 12px rgba(20,55,38,.25)}
.roots-cta:focus-visible{outline:3px solid #F5C518;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.roots-cta,.roots-cta-btn{transition:none}.roots-cta:hover{transform:none}}

/* ---------- Petition page ---------- */
.pet { gap: 22px; max-width: 1080px; margin: 0 auto; width: 100%; box-sizing: border-box }
.pet-hero { display: grid; gap: 0; border-radius: 26px; overflow: hidden; background: var(--green); color: #fff; box-shadow: 0 14px 34px rgba(20,55,38,.22) }
.pet-art { margin: 0; aspect-ratio: 2 / 3; overflow: hidden; background: #2f7fc4 }
.pet-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top }
.pet-pitch { display: flex; flex-direction: column; gap: 14px; padding: 26px 22px 28px }
.pet-pitch small { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun) }
.pet-pitch h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(32px, 8vw, 50px); line-height: 1.04; text-wrap: balance; color: #fff }
.pet-pitch p { margin: 0; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.9) }
.pet-u { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: .09em; text-underline-offset: .12em; text-decoration-skip-ink: none }
.pet-pitch .pet-flag { padding: 12px 16px; border-left: 4px solid var(--sun); background: rgba(255,255,255,.1); border-radius: 0 10px 10px 0; font-weight: 700; color: #fff }
.pet-cta { width: 100%; min-height: 60px; font-size: 20px; background: var(--sun); color: #1F1A14; box-shadow: 0 5px 0 #A88300 }
.pet-cta:hover { background: #FFD43B }
.pet-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px }
.pet-fine { font-size: 14.5px; font-weight: 700; color: rgba(255,255,255,.75); text-align: center }
.pet-why h2, .pet-share h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(24px, 6vw, 32px); color: var(--green); text-align: center }
.pet-why ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px }
.pet-why li { background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: center }
.pet-n { grid-row: span 2; align-self: start; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: #1F1A14; font-family: var(--display); font-weight: 700; font-size: 20px }
.pet-why li b { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--fg) }
.pet-why li p { margin: 0; line-height: 1.5; color: var(--muted); font-size: 16px }
.pet .wall { border-width: 3px; border-color: var(--sun); border-radius: 24px; padding: 24px 18px; box-shadow: 0 10px 28px rgba(20,55,38,.10) }
.pet .wall h2 { font-family: var(--display); font-size: clamp(26px, 6.5vw, 34px) }
.pet-share { display: grid; gap: 20px; align-items: center; background: var(--surface); border: 2px solid var(--line); border-radius: 24px; padding: 24px 20px }
.pet-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 auto }
.pet-qr img { display: block; width: 210px; height: 210px; padding: 12px; background: #fff; border-radius: 18px; border: 3px solid var(--green); box-shadow: 0 6px 0 rgba(29,75,52,.18) }
.pet-qr span { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--green) }
.pet-sharetxt { display: flex; flex-direction: column; gap: 12px; text-align: center }
.pet-sharetxt p { margin: 0; font-size: 17px; line-height: 1.5 }
.pet-link { font-family: var(--display); font-weight: 600; font-size: 20px !important; color: var(--green); word-break: break-all }
.pet-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.pet-btns .btn:not(.primary) { background: var(--sun-soft); color: var(--fg) }
:root[data-theme="dark"] .pet-why h2, :root[data-theme="dark"] .pet-share h2, :root[data-theme="dark"] .pet-qr span, :root[data-theme="dark"] .pet-link { color: var(--sun) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pet-why h2, :root:not([data-theme="light"]) .pet-share h2, :root:not([data-theme="light"]) .pet-qr span, :root:not([data-theme="light"]) .pet-link { color: var(--sun) } }
@media (min-width: 760px) {
  .pet-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch }
  .pet-hero { align-items: center }
  .pet-art { aspect-ratio: auto; align-self: stretch; display: flex; align-items: center; background: var(--green) }
  .pet-art img { height: auto; aspect-ratio: 2 / 3; object-fit: contain }
  .pet-pitch { justify-content: center; padding: 40px 40px }
  .pet-cta { width: auto; align-self: flex-start; padding: 0 34px }
  .pet-fine { text-align: left }
  .pet-why ol { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .pet-why li { grid-template-columns: 1fr; align-content: start; padding: 22px }
  .pet-n { grid-row: auto }
  .pet .wall { padding: 32px 32px }
  .pet-share { grid-template-columns: auto 1fr; padding: 30px 34px; gap: 34px }
  .pet-sharetxt { text-align: left }
  .pet-btns { grid-template-columns: repeat(4, auto); justify-content: start }
}
@media (prefers-reduced-motion: reduce) { .pet-cta { transition: none } }

/* $500 petition drawing */
.pet-pitch .pet-prize { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(245,197,24,.14); border: 1px solid rgba(245,197,24,.5); font-size: 16px; font-weight: 700; color: #fff }
.pet-prize b { flex: none; font-family: var(--display); font-size: 20px; color: var(--sun); white-space: nowrap }
.prz { position: relative; display: grid; gap: 18px; padding: 26px 22px; border-radius: 26px; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(120% 90% at 0% 0%, rgba(245,197,24,.22), transparent 60%), linear-gradient(160deg, #1D4B34, #12301F); border: 2px solid rgba(245,197,24,.55); box-shadow: 0 14px 34px rgba(20,55,38,.22) }
.prz::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(245,197,24,.28); border-radius: 20px; pointer-events: none }
.prz small { font-family: var(--display); font-weight: 600; font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--sun) }
.prz h2 { margin: 4px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 6.5vw, 36px); line-height: 1.1; color: #fff; text-wrap: balance }
.prz p { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.88); text-wrap: pretty }
.prz-txt { display: flex; flex-direction: column; gap: 10px }
.prz-amt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; margin: 0 auto; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFE680, #F5C518 45%, #B88A00); color: #1F1A14; box-shadow: 0 0 0 6px rgba(245,197,24,.18), 0 10px 24px rgba(0,0,0,.3), inset 0 -4px 8px rgba(0,0,0,.15) }
.prz-amt b { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1 }
.prz-amt span { font-weight: 800; font-size: 14px; letter-spacing: .04em }
.prz-bar { height: 12px; border-radius: 12px; background: rgba(255,255,255,.14); overflow: hidden; margin-top: 4px }
.prz-bar span { display: block; height: 100%; min-width: 12px; border-radius: 12px; background: linear-gradient(90deg, #F5C518, #FFE680); transition: width 1.2s cubic-bezier(.2,.8,.2,1) }
.prz .prz-n { font-weight: 700; font-variant-numeric: tabular-nums }
.prz-n b { font-family: var(--display); font-size: 22px; color: var(--sun) }
.prz .prz-fine { font-size: 14px; color: rgba(255,255,255,.72) }
.wlink { display: inline; padding: 0; border: 0; background: none; font: inherit; font-weight: 800; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer }
.prz .wlink { color: var(--sun) }
.prz-winners { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; gap: 14px }
.prz-winners li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px 20px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(245,197,24,.4); animation: przin .8s cubic-bezier(.2,.8,.2,1) both }
.prz-winners li:nth-child(2) { animation-delay: .15s }
.prz-medal { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; margin-bottom: 6px; font-family: var(--display); font-weight: 700; font-size: 21px; color: #1F1A14;
  background: radial-gradient(circle at 35% 30%, #FFE680, #F5C518 45%, #B88A00); box-shadow: 0 0 0 5px rgba(245,197,24,.18), 0 6px 16px rgba(0,0,0,.3) }
.prz-winners b { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.15; color: #fff; overflow-wrap: anywhere }
.prz-winners li > span:last-child { font-weight: 700; color: rgba(255,255,255,.75) }
.prz-winners .prz-wait { opacity: .7 }
.prz-winners .prz-wait b { font-size: 19px }
@keyframes przin { from { opacity: 0; transform: translateY(14px) scale(.97) } to { opacity: 1; transform: none } }
.wprize { padding: 12px 14px; border-radius: 14px; background: var(--sun-soft); border: 2px solid var(--sun); color: var(--fg) }
.wprize .radio { font-weight: 700 }
.wall-form .wprize .wsub { margin-top: 4px; padding-left: 30px }
.prz-rules { background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 4px 18px; scroll-margin-top: 12px }
.prz-rules summary { cursor: pointer; padding: 14px 0; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--green) }
.prz-rules ol { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; line-height: 1.5; color: var(--muted) }
.prz-rules ol b { color: var(--fg) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .prz-rules summary { color: var(--sun) } }
:root[data-theme="dark"] .prz-rules summary { color: var(--sun) }
@media (min-width: 700px) {
  .prz:not(.prz-won) { grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding: 30px 34px; text-align: left }
  .prz-amt { width: 170px; height: 170px }
  .prz-amt b { font-size: 50px }
  .prz-winners { grid-template-columns: 1fr 1fr }
  .prz-won { padding: 34px }
}
@media (prefers-reduced-motion: reduce) { .prz-winners li { animation: none } .prz-bar span { transition: none } }
/* Demo-app button on the Players page: bright yellow, large and gently pulsing so visitors spot it right away. */
.btn.demo { display: block; width: 100%; margin-top: 16px; padding: 18px 20px; background: var(--sun); color: #1D4B34; font-size: 21px; font-weight: 800; letter-spacing: .01em; border: 3px solid #B48E00; border-radius: 14px; box-shadow: 0 5px 0 #B48E00, 0 0 0 0 rgba(245,197,24,.7); animation: demopulse 1.6s ease-in-out infinite }
.btn.demo .demo-arrow { display: inline-block; margin-left: 8px; transition: transform .2s }
.btn.demo:hover { background: #FFD43B }
.btn.demo:hover .demo-arrow { transform: translateX(4px) }
.btn.demo:active { animation: none; transform: translateY(3px); box-shadow: 0 2px 0 #B48E00 }
.btn.demo:focus-visible { outline: 3px solid var(--green); outline-offset: 4px }
@keyframes demopulse {
  0% { transform: scale(1); box-shadow: 0 5px 0 #B48E00, 0 0 0 0 rgba(245,197,24,.75) }
  50% { transform: scale(1.04); box-shadow: 0 5px 0 #B48E00, 0 0 0 14px rgba(245,197,24,0) }
  100% { transform: scale(1); box-shadow: 0 5px 0 #B48E00, 0 0 0 0 rgba(245,197,24,0) }
}
@media (prefers-reduced-motion: reduce) { .btn.demo { animation: none } .btn.demo .demo-arrow { transition: none } }
