/* FourballHQ brand (matches fourballhq.com; dark = its "Dark clubhouse" palette). Fonts self-hosted (OFL). */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/free/assets/fonts/Inter-var.woff2) format('woff2')}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:600 800;font-display:swap;src:url(/free/assets/fonts/PlayfairDisplay-var.woff2) format('woff2')}
:root{--bg:#f7f8f5;--fg:#1c2a22;--card:#fff;--muted:#55625a;--accent:#2f7d4f;--acfg:#fff;--line:#e1e6df;--focus:#1f5f3a;--serif:'Playfair Display',Georgia,'Times New Roman',serif;--sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
[data-theme=dark]{--bg:#10181a;--fg:#efe9dc;--card:#1a2427;--muted:#b0aa9c;--accent:#c9a24a;--acfg:#10181a;--line:#2c393c;--focus:#f0cf7a}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.5 var(--sans)}
.wrap{max-width:560px;margin:0 auto;padding:24px 16px}.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px;margin:16px 0}
label{display:block;margin:0 0 12px;font-weight:600}input{display:block;width:100%;padding:10px;margin-top:4px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--fg);font:inherit}
button{font:inherit;padding:10px 14px;border-radius:8px;border:0;background:var(--accent);color:var(--acfg);cursor:pointer;font-weight:600;margin:4px 4px 4px 0}button.ghost{background:transparent;color:var(--accent);border:1px solid var(--accent)}button.big{width:100%;padding:14px;font-size:1.1em}
button:disabled{opacity:.45;cursor:not-allowed}.row{display:flex;flex-wrap:wrap;gap:4px}.big-count{font-size:1.4em;font-weight:700}
ul{padding-left:0;list-style:none}li{padding:8px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}
.locked li{color:var(--muted)}.locked .tag{font-size:.85em;border:1px dashed var(--muted);border-radius:6px;padding:2px 8px;color:var(--muted);text-decoration:none}.small{color:var(--muted);font-size:.9em}
.testbanner{background:#fff3c4;color:#5a4300;border:1px solid #e0c060;border-radius:8px;padding:8px 12px;font-weight:600}
.spin{display:inline-block;width:1em;height:1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:fhqspin .7s linear infinite}
@keyframes fhqspin{to{transform:rotate(360deg)}}
.help{color:var(--muted);font-size:.92em;margin:.2em 0 .8em}.guide ol{padding-left:1.2em}.guide li{margin:0 0 12px;display:list-item;border:0}
.sample{background:var(--bg);border:1px dashed var(--line);border-radius:8px;padding:8px;font-size:.9em}
label.inline{display:flex;align-items:center;gap:8px;font-weight:600;margin:4px 8px 4px 0}label.inline input{width:5.5em;margin:0}
.grp{border:2px solid var(--line);border-radius:10px;padding:8px;margin:8px 0}.grp.target{border-color:var(--accent);border-style:dashed}
.grp h4{margin:0 0 6px;display:flex;justify-content:space-between}.chip{display:inline-block;margin:3px;padding:8px 10px;border-radius:16px;background:var(--bg);border:1px solid var(--line);color:var(--fg)}
.chip.sel{background:var(--accent);color:var(--acfg);border-color:var(--accent)}.mine{border-color:var(--accent)}h3{margin:0 0 4px}section.card{margin:14px 0}
h1,h2{font-family:var(--serif);font-weight:800;line-height:1.2}h3,h4{font-family:var(--sans);font-weight:700}
a{color:var(--accent)}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.site-h{border-bottom:1px solid var(--line);background:var(--card)}.site-h .in{max-width:560px;margin:0 auto;padding:12px 16px;display:flex;align-items:center;justify-content:space-between}
.logo{font-family:var(--serif);font-size:26px;font-weight:800;color:var(--fg);text-decoration:none;display:inline-flex;align-items:center;gap:8px}.logo .wm span{color:var(--accent)}.logo img{width:28px;height:28px}
.site-h .tagline{font-size:14px;font-weight:600;color:var(--muted)}
.site-f{max-width:560px;margin:24px auto 0;padding:16px;border-top:1px solid var(--line);color:var(--muted);font-size:.85em;text-align:center}.site-f a{color:var(--muted)}

.steps{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:8px}.steps li{display:flex;justify-content:flex-start;text-align:left;gap:10px;align-items:baseline;border:0;padding:0}.steps .n{flex:0 0 auto}.steps .n{color:var(--accent);font-weight:800;font-size:13px;letter-spacing:.1em}
.cf-turnstile{width:100%;margin:8px 0;display:flex;justify-content:center}.cf-turnstile iframe{max-width:100%}
.btnlink{display:inline-block;padding:12px 16px;border-radius:8px;background:var(--accent);color:var(--acfg);font-weight:600;text-decoration:none}.btnlink.big{display:block;text-align:center;font-size:1.1em}
.msg:empty{display:none}.msg.error{color:#9b1c1c;background:#fdecec;border:1px solid #f1b4b4;border-radius:8px;padding:8px 12px;font-weight:600}.msg.ok{color:#1d5a35;background:#e7f4ec;border:1px solid #9fd0b0;border-radius:8px;padding:8px 12px;font-weight:600;overflow-wrap:anywhere}
[data-theme=dark] .msg.error{color:#ffd6d6;background:#3a1d1d;border-color:#7a3a3a}[data-theme=dark] .msg.ok{color:#d9f2e2;background:#173325;border-color:#2f6b47}
#tsfail p{margin:0 0 6px}
.sample,.url,.msg,.card a{overflow-wrap:anywhere;word-break:break-word}
.btnlink.ghostlink{background:transparent;color:var(--accent);border:1px solid var(--accent);padding:10px 14px;margin:4px 0}
details.advanced{margin-top:12px;border-top:1px solid var(--line);padding-top:8px}details.advanced summary{cursor:pointer;font-weight:700;padding:8px 0}details.advanced h4{margin:12px 0 4px}
.locked .tag{white-space:nowrap}
button.waiting{opacity:.6}
/* Busy + done states: unmistakable on desktop and phone */
button[aria-busy=true]{opacity:1;cursor:progress}button[aria-busy=true].waiting{opacity:1}
.spin{width:1.15em;height:1.15em;border:3px solid currentColor;border-color:currentColor currentColor currentColor transparent;opacity:1;margin-right:.35em;vertical-align:-.2em}
button.done,button.done:disabled{background:#1f8a4c;color:#fff;opacity:1;cursor:default}
.check{display:inline-block;font-weight:800;margin-right:.3em}
@media (prefers-reduced-motion: reduce){.spin{animation:fhqpulse 1.2s ease-in-out infinite;border-color:currentColor}@keyframes fhqpulse{0%,100%{opacity:1}50%{opacity:.25}}}
.chip{min-height:44px;cursor:pointer}
/* "Move to group" bottom sheet (phone-first; centred card on wide screens) */
dialog.sheet{border:0;padding:16px 16px calc(16px + env(safe-area-inset-bottom));margin:auto auto 0;width:100%;max-width:520px;border-radius:16px 16px 0 0;background:var(--card,var(--bg));color:var(--fg);box-shadow:0 -6px 24px rgba(0,0,0,.25)}
dialog.sheet::backdrop{background:rgba(0,0,0,.45)}
@media (min-width:640px){dialog.sheet{margin:auto;border-radius:16px}}
.moveopts{display:flex;flex-direction:column;gap:8px;margin:10px 0}
button.moveopt{display:block;width:100%;min-height:48px;text-align:left;font-size:1em}button.moveopt:disabled{background:var(--line);color:var(--muted);cursor:not-allowed}
dialog.sheet #movecancel{width:100%;min-height:44px}
/* Locked-features list: name | badge | Upgrade, badges equal width and centred in one column */
.locked li.lockrow{display:grid;grid-template-columns:minmax(0,1fr) 6rem 3.75rem;column-gap:8px;align-items:center;justify-content:normal;min-height:44px;padding:6px 0}
.locked .fname{min-width:0;overflow-wrap:anywhere}
.locked li.lockrow .tag{box-sizing:border-box;width:100%;text-align:center;line-height:1.3;padding:3px 6px;justify-self:stretch}
.locked a.upgrade{font-size:.85em;font-weight:600;white-space:nowrap;justify-self:end;text-align:right;line-height:1.3;padding:8px 0}
.allplans{margin:10px 0 0;text-align:right}.allplans a{font-size:.85em;font-weight:600}
@media (max-width:379px){.allplans{text-align:left}.locked li.lockrow{grid-template-columns:6rem auto;row-gap:4px}.locked .fname{grid-column:1 / -1}.locked a.upgrade{justify-self:start;padding:4px 0}}

/* S96: desk banner when our emails to the owner bounce */
.bounce{background:#fff3c4;color:#5a4300;border:1px solid #e0c060}.bounce p{margin:0 0 10px}.bounce button{width:100%;white-space:normal}
[data-theme=dark] .bounce{background:#3a3015;color:#f5e3a8;border-color:#7a6430}
/* retest 2026-10-18: copy feedback, show-instructions link, copy fallback box */
.linkbtn{background:none;border:0;padding:.4em 0;color:inherit;text-decoration:underline;font:inherit;cursor:pointer;min-height:44px}button.copied{outline:2px solid currentColor;outline-offset:1px}.copybox{width:100%;font-size:16px;margin:.4em 0}
