@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
:root{--green:#174d3c;--ink:#233d32;--cream:#f7f5ed;--line:#dcded3;--muted:#6e796f;--gold:#c9a65b}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:15px 'DM Sans',system-ui,sans-serif}header{height:100px;border-bottom:1px solid var(--line);padding:0 6vw;display:flex;justify-content:space-between;align-items:center;background:#fffefa}.brand{display:flex;gap:12px;color:var(--green);font:32px 'Libre Baskerville',Georgia,serif;text-decoration:none}.brand small{display:block;font:9px 'DM Sans',sans-serif;letter-spacing:3px;margin-top:7px}main{max-width:1180px;margin:auto;padding:48px 28px 70px}h1,h2,h3{font-family:'Libre Baskerville',Georgia,serif;font-weight:400}h1{font-size:48px;line-height:1.2;margin:12px 0 20px}h2{font-size:28px;margin:8px 0 24px}h3{font-size:21px;margin:0 0 16px}p{line-height:1.7}.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:700}.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:65px;align-items:center}.hero-art{background:var(--green);border-radius:160px 160px 8px 8px;min-height:380px;position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;padding:40px;color:#f0e7cf;font-family:Georgia,serif}.hero-art:before{content:'';position:absolute;width:175px;height:175px;border-radius:50%;background:radial-gradient(circle at 33% 25%,#f1f0e8,#a6aea5 48%,#465d50 90%);box-shadow:90px 70px 0 -15px #9ca99f,-75px 92px 0 -30px #bdc2b3;top:60px}.hero-art:after{content:'';position:absolute;background:var(--gold);width:24px;height:24px;border-radius:50%;bottom:95px;right:60px}.panel,.card{border:1px solid var(--line);background:#fffefa;border-radius:12px;padding:28px}.auth{max-width:560px;margin:0 auto}.auth-intro{text-align:center;margin-bottom:28px}.auth-intro h1{font-size:34px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700}input,select{font:inherit;color:var(--ink);padding:12px 13px;border:1px solid #cdd3c8;border-radius:6px;background:white;min-width:0;width:100%}input:focus,select:focus{outline:2px solid #6b967f;outline-offset:2px}button,.button{cursor:pointer;font:600 13px 'DM Sans',sans-serif;display:inline-flex;justify-content:center;align-items:center;gap:6px;background:var(--green);color:white;padding:13px 20px;border:1px solid var(--green);border-radius:6px;text-decoration:none}button:disabled{opacity:.55;cursor:wait}.secondary{background:transparent;color:var(--green);border-color:#c8d0c5}.text-button{padding:5px;border:0;background:none;color:var(--green)}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:22px}.muted{color:var(--muted);font-size:13px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 30px}.toolbar select{width:auto;max-width:300px}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin:28px 0}.tabs button{background:none;color:var(--muted);border:0;border-radius:0;padding:15px 0}.tabs button.active{color:var(--green);border-bottom:3px solid var(--green)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.badge{display:inline-block;border-radius:30px;background:#e8eee4;padding:6px 10px;font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase}.card .eyebrow{margin-bottom:14px}.card h3{line-height:1.4}.details{border-top:1px solid var(--line);padding-top:16px;margin-top:20px;display:flex;justify-content:space-between;font-size:13px}.empty{text-align:center;padding:55px 25px}.empty p{color:var(--muted)}.split{display:grid;grid-template-columns:1.15fr 1fr;gap:24px}.error{color:#9d382b;background:#fff0e8;padding:12px;border-radius:6px;margin-bottom:16px}.inline{display:flex;gap:12px;align-items:end}.inline label{flex:1}footer{padding:25px;text-align:center;color:var(--muted);font:italic 14px Georgia;border-top:1px solid var(--line)}#notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--green);color:white;padding:14px 25px;border-radius:8px;display:none;z-index:10}.note{background:#eeeee3;padding:14px;border-radius:6px;font-size:13px;line-height:1.6}.check{flex-direction:row;align-items:center}.check input{width:auto}.member{display:flex;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.role-options{display:flex;flex-wrap:wrap;gap:12px}.role-options label{font-weight:400}#identity{display:flex;gap:15px;align-items:center}
@media(max-width:850px){.hero{gap:30px}.cards{grid-template-columns:repeat(2,1fr)}h1{font-size:36px}.split{grid-template-columns:1fr}}
@media(max-width:580px){header{height:85px;padding:0 22px}.brand{font-size:26px}main{padding:30px 20px 50px}.hero,.cards{grid-template-columns:1fr}.hero-art{min-height:300px}.formgrid{grid-template-columns:1fr}.full{grid-column:auto}.toolbar{align-items:flex-start;flex-direction:column}.tabs{gap:19px}.panel,.card{padding:22px}h1{font-size:34px}.member{flex-direction:column}.inline{align-items:stretch;flex-direction:column}#identity span{display:none}}

.directory-nav{display:flex;gap:12px}.directory-map{height:360px;border:1px solid var(--line);border-radius:12px;background:#e5eadf;z-index:0}.directory-map-section{margin:24px 0 36px}.map-note{font-size:12px;color:var(--muted);margin:10px 0}.directory-search{max-width:680px}.scope-switch{display:flex;gap:8px}.location-photo{width:100%;height:200px;object-fit:cover;display:block;background:#e7ece2;border-radius:8px}.photo-placeholder{display:flex;align-items:center;justify-content:center;color:#9bad96;font:64px Georgia}.club-thumbnail{width:88px;height:88px;flex-shrink:0;border-radius:10px}.club-entry{display:flex;gap:20px;margin-bottom:18px}.club-entry h3{margin:12px 0 8px}.club-info{min-width:0}.club-info p{margin:6px 0}.contact{font-size:13px}.contact a{color:var(--green);overflow-wrap:anywhere}.image-caption{font-size:13px;color:var(--muted);font-style:italic;line-height:1.6;margin:10px 0}.venue-card{padding:0;overflow:hidden}.venue-card .location-photo{border-radius:0}.venue-card-body{padding:24px}.venue-card h3{margin:16px 0}.venue-create{margin-top:36px;max-width:760px}.private-group{align-self:start}.geocoding-note{margin-top:16px;font-size:12px}#photo-preview{margin-bottom:22px}#photo-preview .location-photo{height:260px}#notice{z-index:2000}.directory-map a{color:#174d3c}
@media(max-width:580px){.directory-map{height:280px}.directory-nav{gap:5px}.directory-nav button{font-size:11px;padding:4px}.brand small{letter-spacing:1px;font-size:7px}.brand{font-size:20px}header{padding:0 14px}#identity{gap:5px}.club-entry{gap:14px;padding:18px}.club-thumbnail{width:64px;height:64px}.club-entry .actions{flex-direction:column;align-items:flex-start}.scope-switch{flex-wrap:wrap}}

.admin-profile-search{max-width:760px;margin:30px auto}#navprofile{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:580px){#navprofile{font-size:11px;max-width:80px}}

.session-photo{margin:0 0 20px}.session-photo img{height:170px}

.round-staff,.round-attendance,.round-start{margin-bottom:24px}.round-staff .inline{margin-top:20px}.round-attendance .toolbar h3{margin:0}.attendance-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}.attendance-row p{margin:5px 0}.attendance-row .actions{margin:0}.round-attendance details{margin:20px 0}.round-attendance form{margin-top:24px}.round-history{margin-top:40px}.round-section{margin-bottom:40px}.round-lanes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.lane-card .toolbar{margin-bottom:22px}.lane-card h3{margin:0}.round-teams{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}.round-teams ul{padding-left:18px;line-height:1.9}.round-result{background:#e8eee4;padding:12px;border-radius:6px;font-weight:600}.round-waiting{margin-top:18px}.lane-card input[type=number]{min-width:0}.round-start form{max-width:760px}
@media(max-width:700px){.round-lanes{grid-template-columns:1fr}.attendance-row{align-items:flex-start;flex-direction:column}.round-teams{gap:12px}.round-teams .eyebrow{font-size:10px;letter-spacing:1px}}

/* Landing page video background. */
main:has(.hero){max-width:none;padding:0}
.hero{position:relative;isolation:isolate;min-height:calc(100svh - 168px);padding:64px max(28px,calc((100vw - 1124px)/2));gap:65px;background:#174d3c url('/media/deadend_wide.jpeg') center/cover}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;pointer-events:none;opacity:1;transition:opacity 1.2s ease}
.hero-video.is-finished{opacity:0}
.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,30,22,.82),rgba(10,30,22,.38));z-index:-1}
.hero-copy{color:#fffefa;max-width:520px}
.hero-copy .eyebrow,.hero-copy .muted{color:#f0e7cf}
.hero-copy .muted{font-size:17px}
.hero-caption{margin-top:40px;font:italic 22px 'Libre Baskerville',Georgia,serif}
.hero-video-toggle{color:#fffefa;border-color:#fff8;background:#173d2c88;margin-top:12px}
.hero-video-toggle[hidden]{display:none}
.hero>.panel{width:100%;box-shadow:0 16px 48px #0003}
@media(max-width:850px){.hero{gap:30px;padding:42px 28px}}
@media(max-width:580px){.hero{padding:36px 20px;gap:28px}.hero-caption{margin-top:24px}.hero-copy .muted{font-size:15px}}

.gender-field{display:flex;flex-direction:column;gap:8px}.gender-label{display:flex;align-items:center;gap:6px}.gender-help{padding:0;border:0;background:transparent;color:var(--green);border-radius:50%;width:24px;height:24px}.gender-help svg{width:20px;height:20px}.gender-help:focus-visible{outline:2px solid var(--green);outline-offset:2px}.gender-field .note{margin:0}.gender-field [hidden]{display:none}

#auth label:has(input[name="mobile"]){line-height:24px}#auth input[name="mobile"]{line-height:normal}

.game-score{font-size:clamp(3rem,12vw,5rem);font-weight:800;text-align:center;margin:16px}.game-score span{color:#899087}.dice-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0}.dice-row strong{min-width:72px}.die{font-family:system-ui,sans-serif;font-size:42px;line-height:1;padding:8px;background:#fff;color:#253c31;border:1px solid #b6c9bc;border-radius:12px;min-width:56px;min-height:56px}.die:hover,.die:focus-visible{background:#e0ede4;outline:2px solid #38634a}.end-history{padding-left:24px}.end-history li{padding:12px 0;border-bottom:1px solid #d9e0d9}.end-history li>div{display:inline-flex;gap:12px;align-items:center;flex-wrap:wrap;margin-right:12px}.end-history small{color:#59665d}

.round-player-choice{display:flex;align-items:center;gap:10px;padding:10px 0}.round-player-choice input,#show-end-timing{width:auto;min-height:auto}#round-review:empty{display:none}

@media(prefers-reduced-motion:reduce){.hero-video{transition:none}}
