[hidden] { display: none !important; }
:root {
--primary: #0b3a5b; --accent: #009fe3; --brand: #009fe3;
--bg: #f4f6f9; --card: #fff; --text: #1a2433; --muted: #6b7686; --line: #e2e7ee;
--ok: #1f8a4c; --warn: #b7791f; --bad: #c53030;
--r: 12px;
font-family: Lexend, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.45; }
body.noscroll { overflow: hidden; }
a { color: var(--primary); }
h1 { font-size: 1.7rem; margin: .3em 0; font-weight: 700; letter-spacing: -.01em; } h2 { font-size: 1.25rem; margin: .2em 0; } h3 { font-size: 1.05rem; margin: 1.2em 0 .5em; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
padding: calc(env(safe-area-inset-top) + .55rem) 1rem .55rem; background: #fff; color: var(--text); border-bottom: 1px solid var(--line); }
.topbar a { color: var(--text); text-decoration: none; }
.brand { display: flex; align-items: center; gap: .55rem; }
.wordmark { color: var(--brand); font-size: 1.25rem; font-weight: 400; letter-spacing: -.01em; transform: skewX(-10deg); display: inline-block; }
.wordmark b { font-weight: 800; }
.brand-sub { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); border-left: 1px solid var(--line); padding-left: .55rem; }
@media (max-width: 420px) { .brand-sub { display: none; } .wordmark { font-size: 1.1rem; } }
.footer { text-align: center; color: var(--muted); font-size: .8rem; padding: 1.5rem 1rem calc(env(safe-area-inset-bottom) + 2rem); }
.footer a { color: var(--muted); text-decoration: none; } .footer a:hover { color: var(--text); }
#nav { display: flex; gap: 1rem; font-size: .92rem; font-weight: 500; } #nav a { opacity: .85; } #nav a:hover { opacity: 1; text-decoration: underline; }
main { max-width: 980px; margin: 0 auto; padding: 1rem 1rem 1rem; min-height: 70vh; }
.loading { padding: 3rem; text-align: center; color: var(--muted); }
.hero { padding: 1rem 0; }
.event-hero { background: var(--primary); color: #fff; border-radius: var(--r); padding: 1.6rem 1.4rem; margin-bottom: 1rem;
background-image: linear-gradient(135deg, var(--primary) 60%, var(--accent)); }
.event-hero.small { padding: 1.1rem 1.4rem; } .event-hero.small h1 { font-size: 1.35rem; }
.event-hero p { margin: 0; opacity: .9; }
.logo { max-height: 56px; margin-bottom: .5rem; } .logo-text { font-weight: 800; letter-spacing: .15em; font-size: .8rem; color: #fff; opacity: .8; }
.card { display: block; background: var(--card); border-radius: var(--r); padding: 1.2rem 1.3rem; margin-bottom: 1rem; box-shadow: 0 1px 2px rgba(16,24,40,.06); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.card.narrow { max-width: 440px; margin: 2rem auto; }
.card.highlight { border: 2px solid var(--accent); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.event-card { position: relative; overflow: hidden; padding-top: 1.6rem; }
.event-band { position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--primary); }
.muted { color: var(--muted); } .small { font-size: .85rem; } .r { text-align: right; } .nowrap { white-space: nowrap; }
.row { display: flex; gap: .5rem; align-items: center; } .row.between { justify-content: space-between; } .row.wrap { flex-wrap: wrap; }
.pill { display: inline-block; padding: .12rem .55rem; border-radius: 99px; font-size: .78rem; background: #eef1f5; color: var(--muted); font-weight: 600; }
.pill.ok { background: #e3f4ea; color: var(--ok); } .pill.warn { background: #fdf3e1; color: var(--warn); } .pill.bad { background: #fde8e8; color: var(--bad); }
.avail { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .6rem; }
.banner { padding: .75rem 1rem; border-radius: 10px; background: #eef4fb; margin-bottom: 1rem; }
.banner.ok { background: #e3f4ea; } .banner.warn { background: #fdf3e1; } .banner.bad { background: #fde8e8; }
fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; } legend { font-weight: 700; margin-bottom: .5rem; padding: 0; font-size: 1rem; }
.stage-title { border-bottom: 2px solid var(--line); padding-bottom: .3rem; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; }
.field { grid-column: span 2; display: flex; flex-direction: column; gap: .25rem; } .field.half { grid-column: span 1; }
.field[hidden] { display: none; }
@media (max-width: 600px) { .field.half { grid-column: span 2; } h1 { font-size: 1.4rem; } }
label { font-size: .9rem; font-weight: 600; } .req { color: var(--bad); }
input, select, textarea { font: inherit; padding: .6rem .7rem; border: 1px solid #cfd6df; border-radius: 8px; background: #fff; width: 100%; color: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
input:disabled, select:disabled, textarea:disabled { background: #f3f5f8; color: var(--muted); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); background: #fff7f7; }
.help { color: var(--muted); }
.check { display: flex; gap: .5rem; align-items: flex-start; font-weight: 500; cursor: pointer; } .check input { width: auto; margin-top: .25rem; }
.checks { display: flex; flex-direction: column; gap: .4rem; }
.sail { display: grid; grid-template-columns: 110px 1fr; gap: .5rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .88rem; padding: .7rem; background: #f7f9fb; border-radius: 8px; margin-bottom: .5rem; cursor: pointer; }
.consent input { width: auto; margin-top: .2rem; transform: scale(1.2); }
.total-row { display: flex; justify-content: space-between; font-size: 1.1rem; padding: .8rem 0; border-top: 1px solid var(--line); margin-top: .5rem; }
.btn { font: inherit; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; padding: .55rem 1rem; border-radius: 8px; border: 1px solid #cfd6df; background: #fff; color: var(--text); cursor: pointer; text-decoration: none; font-weight: 600; font-size: .92rem; }
.btn:hover { background: #f4f6f9; } .btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; } .btn.primary:hover { filter: brightness(1.15); }
.btn.big { width: 100%; padding: .85rem; font-size: 1.05rem; margin-top: .5rem; } .btn.small { padding: .3rem .6rem; font-size: .8rem; }
.btn:disabled { opacity: .6; cursor: wait; }
.link { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; font-size: .85rem; text-decoration: underline; padding: 0 .2rem; }
.copyrow { display: flex; gap: .5rem; } .copyrow input { font-size: .85rem; }
.bank { background: #f7f9fb; border-radius: 10px; padding: 1rem; margin-top: 1rem; display: grid; gap: .35rem; }
.bank div { display: flex; gap: .5rem; flex-wrap: wrap; align-items: baseline; } .bank span { color: var(--muted); min-width: 110px; font-size: .9rem; }
.tbl-wrap { overflow-x: auto; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); background: #fafbfc; position: sticky; top: 0; }
.tbl th.r, .tbl td.r { text-align: right; }
.tbl.hover tbody tr { cursor: pointer; } .tbl.hover tbody tr:hover { background: #f5f8fc; }
.tbl tr.sum td { font-weight: 700; border-bottom: 0; }
.tbl tr.test { opacity: .55; } .tbl tr.overdue td { background: #fff6f6; }
.tbl.pay input { padding: .3rem .4rem; font-size: .85rem; min-width: 80px; }
.ok-text { color: var(--ok); font-weight: 600; } .bad-text { color: var(--bad); font-weight: 600; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 3px; background: var(--warn); } .dot.ok { background: var(--ok); }
.list-item { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.tabs { display: flex; gap: .3rem; border-bottom: 2px solid var(--line); margin: 1rem 0; }
.tabs a { padding: .5rem .9rem; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.tabs a.active { color: var(--primary); border-color: var(--primary); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .9rem; display: flex; flex-direction: column; }
.stat span { font-size: .8rem; color: var(--muted); } .stat b { font-size: 1.35rem; } .stat small { color: var(--muted); } .stat.bad b { color: var(--bad); }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; align-items: center; }
.filters input[type=search] { flex: 1; min-width: 200px; } .filters select { width: auto; } .filters .check { font-size: .9rem; }
.modal { position: fixed; inset: 0; background: rgba(10,20,35,.45); z-index: 50; display: flex; justify-content: flex-end; }
.modal-card { background: var(--bg); width: min(860px, 100%); height: 100%; overflow-y: auto; padding: 1.2rem 1.4rem 4rem; box-shadow: -8px 0 30px rgba(0,0,0,.15); }
.modal-card form { background: #fff; padding: 1rem; border-radius: var(--r); border: 1px solid var(--line); }
.log > div { padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; } code { font-size: .82rem; background: #eef1f5; padding: 0 .25rem; border-radius: 4px; }
details { margin: .6rem 0; } summary { cursor: pointer; font-weight: 600; padding: .4rem 0; }
textarea.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; }
.toast { position: fixed; bottom: calc(env(safe-area-inset-bottom) + 1.2rem); left: 50%; transform: translateX(-50%); background: #1a2433; color: #fff; padding: .7rem 1.1rem; border-radius: 10px; z-index: 100; box-shadow: 0 6px 20px rgba(0,0,0,.25); max-width: 90vw; }
.toast.bad { background: var(--bad); }
.btn.danger { color: var(--bad); border-color: #f1c4c4; }

.tabs.pills { border: 0; gap: .5rem; margin: 0 0 1rem; } .tabs.pills a { border: 1px solid var(--line); border-radius: 99px; background: #fff; margin: 0; padding: .45rem 1rem; }
.tabs.pills a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.hero-sub { margin-top: .6rem !important; font-size: .92rem; } .hero-sub .pill { vertical-align: middle; }
.hub { display: grid; grid-template-columns: 1fr 320px; gap: 1rem; align-items: start; }
@media (max-width: 800px) { .hub { grid-template-columns: 1fr; } .hub-side { order: -1; } }
.section-title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: .2rem 0 .7rem; }
.notice h3 { margin: .3rem 0 .5rem; font-size: 1.15rem; } .notice.pinned { border-left: 4px solid var(--accent); }
.notice-meta { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.md p { margin: .4em 0; } .md ul { margin: .4em 0; padding-left: 1.3em; } .md h3, .md h4, .md h5 { margin: .8em 0 .3em; }
.docs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; } .docs.col { flex-direction: column; margin: 0; }
.doc { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: inherit; background: #fafbfc; font-size: .9rem; }
.doc:hover { background: #f0f4f9; } .doc span { flex: 1; word-break: break-word; } .doc small { color: var(--muted); white-space: nowrap; }
.notice-admin { padding: .9rem 1.1rem; }

.updates-card { border: 2px solid var(--accent); }
.uc-head { display: flex; gap: .8rem; align-items: flex-start; } .uc-head h3 { margin: 0 0 .2rem; } .uc-head p { margin: 0 0 .8rem; color: var(--muted); font-size: .92rem; }
.uc-bell { font-size: 1.6rem; line-height: 1; background: #eaf6fd; border-radius: 12px; padding: .45rem; }
.updates-on { background: #e3f4ea; border-radius: 10px; padding: .55rem .9rem; margin-bottom: 1rem; font-size: .92rem; } .updates-on.muted { background: #eef1f5; }
.ios-steps { list-style: none; padding: 0; margin: .6rem 0; display: grid; gap: .55rem; }
.ios-steps li { display: flex; align-items: center; gap: .7rem; background: #f7f9fb; border-radius: 10px; padding: .6rem .7rem; font-size: .92rem; }
.ios-steps small { display: block; color: var(--muted); font-size: .8rem; }
.step-n { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.step-i { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 9px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: #0a84ff; }
.step-i img { border-radius: 6px; }
.nudge { display: flex; gap: .6rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .65rem .9rem; margin-bottom: .6rem; text-decoration: none; color: inherit; font-size: .92rem; }
.nudge span:nth-child(2) { flex: 1; } .welcome small { color: var(--muted); }
.windy { position: relative; padding-top: 75%; border-radius: 10px; overflow: hidden; margin: .7rem 0; background: #e8eef4; }
.windy iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wx-now { display: flex; gap: .9rem; align-items: center; font-size: .9rem; } .wx-big { font-size: 2.2rem; font-weight: 700; color: var(--accent); }
.wx-hist h3 { margin: 1.1rem 0 .5rem; font-size: 1rem; }
.wx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.wx-grid div { background: #f4f8fb; border-radius: 9px; padding: .5rem .6rem; display: flex; flex-direction: column; }
.wx-grid span { font-size: .75rem; color: var(--muted); } .wx-grid b { font-size: 1.1rem; } .wx-grid small { color: var(--muted); font-size: .72rem; }

#nav a { white-space: nowrap; }
@media (max-width: 560px) {
.topbar { gap: .6rem; padding-left: .8rem; padding-right: .8rem; }
.wordmark, .brand-sub { display: none; }
.brand img { width: 36px; height: 36px; }
#nav { gap: .9rem; font-size: .88rem; }
}

.updates-on { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
#updates-bottom .updates-on { margin: 1rem 0 0; }

.plain { color: inherit; text-decoration: none; }

.step-progress { margin: .2rem 0 1.1rem; }
.step-dots { display: flex; gap: .35rem; margin-bottom: .5rem; }
.step-dots span { flex: 1; height: 5px; border-radius: 99px; background: var(--line); transition: background .2s; }
.step-dots span.done { background: var(--accent); opacity: .5; } .step-dots span.on { background: var(--accent); }
.step-label { font-size: .85rem; color: var(--muted); } .step-label b { color: var(--text); }
.step-nav { display: flex; justify-content: space-between; gap: .6rem; margin-top: 1rem; } .step-nav .btn { min-width: 120px; padding: .75rem 1.1rem; }
.review { background: #f7f9fb; border-radius: 10px; padding: .9rem 1rem; margin-bottom: 1rem; } .review h4 { margin: 0 0 .6rem; }
.review-sec { padding: .5rem 0; border-top: 1px solid var(--line); } .review-sec:first-of-type { border-top: 0; }
.review-sec > div:not(.row) { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; padding: .15rem 0; } .review-sec span { color: var(--muted); } .review-sec b { text-align: right; font-weight: 500; }

.notice.flash { animation: flash 2.4s ease-out; scroll-margin-top: 80px; }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: 0 1px 2px rgba(16,24,40,.06); } }

@media (max-width: 800px) { .hub-side { order: 0; } }

.boat-list{display:flex;flex-direction:column;gap:.4rem;margin-top:.6rem}
.boat-row{display:flex;justify-content:space-between;align-items:center;gap:.6rem;padding:.55rem .7rem;border:1px solid rgba(11,58,91,.12);border-radius:10px;flex-wrap:wrap}
.boat-row .row{gap:.6rem;align-items:center}
.card.withdraw summary{cursor:pointer;color:#8a4b4b;font-weight:500}
.card.withdraw details[open] summary{margin-bottom:.4rem}

.doc-admin{display:flex;align-items:center;gap:.6rem;padding:.5rem 0;border-bottom:1px solid rgba(11,58,91,.08);flex-wrap:wrap}
.doc-admin:last-child{border-bottom:0}
.doc-admin .doc-title{flex:1;min-width:180px}
.doc-admin .row{gap:.3rem}

.photo-pick{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin-top:.4rem}
.photo-pick img{width:160px;height:110px;object-fit:cover;border-radius:10px}
.card.team-photo img{display:block;width:100%;max-height:360px;object-fit:cover;border-radius:12px;margin:.4rem 0 .5rem}
.card.team-photo .row{gap:.5rem}

.entry-list .chips{display:flex;gap:.35rem;flex-wrap:wrap}
.entry-list .chip{border:1px solid rgba(11,58,91,.18);background:#fff;border-radius:99px;padding:.25rem .75rem;font:inherit;font-size:.85rem;cursor:pointer;color:inherit}
.entry-list .chip.on{background:var(--primary,#0b3a5b);border-color:var(--primary,#0b3a5b);color:#fff}
.entry-list .chip small{opacity:.7}
.entries{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.9rem;margin-top:.8rem}
.entry{border:1px solid rgba(11,58,91,.1);border-radius:14px;overflow:hidden;background:#fff}
.entry.mine{border-color:#009fe3;box-shadow:0 0 0 2px rgba(0,159,227,.25)}
.entry-photo{position:relative;aspect-ratio:4/3;background:linear-gradient(135deg,var(--primary,#0b3a5b),#009fe3) center/cover no-repeat;display:flex;align-items:center;justify-content:center}
.entry-ph{font-size:2.6rem;opacity:.35}
.entry-model{position:absolute;left:.55rem;bottom:.4rem;font-size:2.4rem;font-weight:700;line-height:1;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.55);letter-spacing:-.02em}
.entry-you{position:absolute;right:.5rem;top:.5rem;background:#009fe3;color:#fff;font-size:.72rem;font-weight:600;padding:.15rem .5rem;border-radius:99px}
.entry-body{padding:.6rem .75rem .75rem;line-height:1.35}

.banner.prep{background:#fff4e5;border-color:#ffd59e}
.go-card{text-align:center;padding:1.6rem 1.2rem}
.go-card h2{margin:.2rem 0 .3rem}
.countdown{display:flex;justify-content:center;align-items:baseline;gap:.25rem;flex-wrap:wrap;margin:.6rem 0 1.1rem;font-variant-numeric:tabular-nums}
.countdown b{font-size:2.2rem;font-weight:700;line-height:1}
.countdown small{margin-right:.7rem;color:#6b7a88}
.countdown b.live{color:#d62828;font-size:1.5rem}
.go-btn{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:min(100%,360px);min-height:120px;border:0;border-radius:22px;background:#d62828;color:#fff;font:inherit;cursor:pointer;box-shadow:0 10px 26px rgba(214,40,40,.35);transition:transform .1s,opacity .2s}
.go-btn .go-main{font-size:2.1rem;font-weight:800;letter-spacing:-.01em}
.go-btn .go-small{font-size:.85rem;text-transform:uppercase;letter-spacing:.12em;opacity:.85;margin-top:.2rem}
.go-btn:disabled{opacity:.38;cursor:not-allowed;box-shadow:none}
.go-btn.live:not(:disabled){animation:go-pulse 1.4s infinite}
.go-btn:active:not(:disabled){transform:scale(.97)}
@keyframes go-pulse{0%,100%{box-shadow:0 10px 26px rgba(214,40,40,.35)}50%{box-shadow:0 10px 40px rgba(214,40,40,.7)}}
.draft-photo{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:12px;margin:.4rem 0 .8rem}

.has-hero .event-hero{background-image:linear-gradient(180deg,rgba(4,24,40,.08) 0%,rgba(4,24,40,.25) 45%,rgba(4,24,40,.78) 100%),var(--hero-img);background-size:cover;background-position:center 62%;min-height:230px;display:flex;flex-direction:column;justify-content:flex-end;text-shadow:0 1px 10px rgba(0,0,0,.5)}
.has-hero .event-hero.small{min-height:150px}
.has-go .go-card{background:linear-gradient(180deg,rgba(8,16,28,.30),rgba(8,16,28,.80)),var(--go-img) center 35%/cover;color:#fff;border:0}
.has-go .go-card .muted,.has-go .go-card .countdown small{color:rgba(255,255,255,.85)}
.has-go .go-card h2,.has-go .go-card .countdown b{text-shadow:0 1px 10px rgba(0,0,0,.5)}
.has-go .go-btn:disabled{opacity:.6}
.has-ph .entry-photo:not([style]){background-image:linear-gradient(rgba(6,30,50,.35),rgba(6,30,50,.35)),var(--ph-img)}
.has-ph .entry-photo:not([style]) .entry-ph{display:none}
.event-img{height:160px;margin:-1.6rem -1.3rem 1rem;background:center/cover no-repeat}
.photo-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:.9rem;margin-top:.6rem}
.photo-slot{display:flex;flex-direction:column;gap:.25rem}
.photo-slot .ps-img{aspect-ratio:16/10;border-radius:10px;background:#eef2f6 center/cover no-repeat;display:flex;align-items:center;justify-content:center;color:#8a97a5;font-size:.8rem;margin-bottom:.3rem}
.photo-slot .row{gap:.4rem;margin-top:.3rem}

.se{color:#d62828}
.event-hero .se,.go-card .se,.entry-photo .se,.btn.primary .se,.pill .se,.chip.on .se{color:#ff4d4d}
