/*
Theme Name: Spring Valley Lady Timberwolves Soccer
Theme URI: https://example.com/
Author: Spring Valley Lady Timberwolves Soccer
Description: Member-only soccer seasons, Dropbox game film, rosters, events and coaching staff.
Version: 1.5.1
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: sv-soccer
*/
:root{--navy:#0d203e;--navy2:#16375e;--blue:#78bde7;--silver:#d6e0e9;--white:#fff;--ink:#19304c;--muted:#5c7184}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f8fb;color:var(--ink);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{display:inline-block;border:0;background:#145887;color:white;padding:10px 18px;border-radius:8px;font-weight:750;cursor:pointer}button:hover,.button:hover{background:#237bac;color:white;text-decoration:none}input,select,textarea{display:block;width:100%;padding:10px 12px;border:1px solid #c4d2dd;border-radius:7px;background:white;color:var(--ink);min-height:44px}textarea{min-height:120px}label{display:block;font-weight:700;font-size:14px;margin:13px 0}label input,label select,label textarea{margin-top:6px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.skip-link{position:absolute;left:-10000px;top:8px;background:white;z-index:20;padding:8px}.skip-link:focus{left:8px}.site-header{color:white;background:var(--navy);position:relative;overflow:hidden;border-bottom:5px solid var(--blue)}.site-header:before{content:"";position:absolute;right:-8%;top:-130px;width:60%;height:400px;background:linear-gradient(135deg,transparent 25%,#64b7ec25 25% 27%,transparent 27% 47%,#b8d7ef1c 47% 49%,transparent 49%);transform:skewX(-15deg);pointer-events:none}.header-top{position:relative;max-width:1200px;margin:auto;padding:17px 24px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:15px;font-weight:950;letter-spacing:.09em;line-height:1.05}.brand img,.brand-mark{width:60px;height:60px;object-fit:contain;border:1px solid #91bddb;border-radius:12px;background:#23466e;padding:4px}.brand-mark{display:grid;place-items:center;color:var(--blue);font-size:22px}.brand small{display:block;font-size:12px;letter-spacing:.22em;color:var(--blue);margin-top:7px}.site-nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-weight:750;font-size:14px}.site-nav a:hover{color:var(--blue)}.masthead{max-width:1200px;margin:auto;position:relative;padding:45px 24px 58px}.masthead .overline,.overline{font-size:12px;font-weight:900;letter-spacing:.23em;color:var(--blue)}.masthead h1{font-size:clamp(2.6rem,6vw,5.6rem);line-height:.98;letter-spacing:-.055em;margin:14px 0 0;max-width:850px;text-transform:uppercase}.masthead h1 span{color:var(--blue)}.masthead .stripe{width:100px;height:7px;background:linear-gradient(90deg,var(--blue),var(--silver));transform:skew(-20deg);margin-top:26px}.shell{max-width:1200px;margin:auto;padding:36px 24px 80px;min-height:55vh}.page-intro{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:24px}.page-intro h2,.page-title{font-size:clamp(1.9rem,3.2vw,2.8rem);line-height:1.1;margin:6px 0;letter-spacing:-.04em}.page-intro p{color:var(--muted);margin:0}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:20px}.card,.panel{background:#fff;border:1px solid var(--silver);border-radius:14px;box-shadow:0 8px 28px #0b29440c}.card{padding:26px;border-top:5px solid var(--blue);min-height:215px;display:flex;flex-direction:column}.card .year{color:#3381b4;font-weight:900;letter-spacing:.17em;font-size:14px}.card h3{font-size:1.35rem;margin:13px 0 4px}.card p,.muted{color:var(--muted)}.card .link{margin-top:auto;border-top:1px solid var(--silver);padding-top:12px;font-weight:800;color:#19658f}.panel{padding:27px;margin-bottom:22px}.panel h3{margin-top:0}.columns{display:grid;grid-template-columns:1.3fr 1fr;gap:22px}.row{display:flex;gap:15px;align-items:center;padding:13px 0;border-top:1px solid var(--silver)}.row>*:nth-child(2){flex:1}.play,.number{background:#e7f4fc;border-radius:8px;width:38px;height:38px;display:grid;place-items:center;color:#246e9b;font-weight:900;flex:none}.row small{display:block;color:var(--muted);font-weight:400}.date{min-width:62px;text-align:center;color:#2a709e;font-weight:800;line-height:1.05}.date strong{display:block;font-size:25px}.coach-photo{aspect-ratio:4/3;width:100%;object-fit:cover;border-radius:9px;background:#e3edf5}.coach-card{padding:15px}.coach-card h3{margin:16px 8px 0}.coach-card .title{margin:0 8px 10px;color:#327fae;font-weight:750}.coach-card .bio{margin:0 8px 15px}.admin-form{max-width:640px}.notice{padding:13px 16px;border-radius:8px;background:#e3f2fb;margin:15px 0}.notice.error{background:#fff0ee;color:#872f2a}.site-footer{background:var(--navy);color:#b3c7d8;padding:27px 24px;text-align:center;font-size:14px}.wp-block-image img{height:auto}.entry-content{max-width:780px}.button-row{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:750px){.header-top{align-items:flex-start;flex-direction:column}.site-nav{gap:14px}.masthead{padding-top:31px;padding-bottom:40px}.columns{grid-template-columns:1fr}.shell{padding:26px 16px 60px}.brand img,.brand-mark{width:48px;height:48px}.site-nav a{font-size:14px}}

/* Supplied team artwork */
.brand img{background:#fff;border-color:#cee3ef;padding:3px}.masthead{padding-right:220px}.masthead-sv{position:absolute;right:28px;top:42px;width:160px;height:160px;object-fit:contain;filter:drop-shadow(0 9px 17px #0005)}.intro-wolf{width:80px;height:80px;object-fit:contain;border-radius:50%;background:#fff;border:1px solid var(--silver);padding:5px}.site-footer{display:flex;align-items:center;justify-content:center;gap:25px;flex-wrap:wrap}.site-footer img{width:170px;max-height:100px;object-fit:contain}@media(max-width:750px){.masthead{padding-right:24px}.masthead-sv{position:static;width:95px;height:95px;margin-top:12px}.intro-wolf{width:60px;height:60px}}

.sv-player{display:block;width:100%;max-height:70vh;background:#07152a;border-radius:10px}.sv-player+p{color:var(--muted)}

.roster-table{overflow-x:auto}.roster-table table{border-collapse:collapse;width:100%;min-width:430px;text-align:left}.roster-table th{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#51677c;background:#eaf3f9}.roster-table th,.roster-table td{padding:11px 12px;border-bottom:1px solid var(--silver)}.roster-table td:nth-child(2){font-weight:700}.roster-number{font-weight:900;color:#1d6591}

.roster-person{display:flex;align-items:center;gap:10px;min-width:150px}.player-photo{width:42px;height:42px;object-fit:cover;border-radius:50%;background:#fff;border:1px solid var(--silver);flex:none}.roster-person img[src$="soccer-crest.jpg"]{object-fit:contain;padding:2px}

.player-picker fieldset{border:1px solid var(--silver);border-radius:8px;padding:10px 14px;margin:14px 0}.player-picker legend{font-weight:800;color:#225b83;padding:0 6px}.player-picker .player-choice{display:flex;gap:10px;align-items:center;font-size:15px;font-weight:500;margin:8px 0}.player-picker .player-choice input{width:19px;height:19px;min-height:auto;margin:0;flex:none}.player-picker p{font-size:14px;color:var(--muted)}

/* Season schedule */
.schedule-filter{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.schedule-filter label{margin:0;min-width:130px}.schedule-filter select{max-width:360px;flex:1;min-width:220px}.schedule-section{padding:0;overflow:hidden}.schedule-section h3{margin:0;padding:22px 25px;background:var(--navy);color:white;font-size:1.35rem}.schedule-section>p{padding:20px 25px}.schedule-scroll{overflow-x:auto}.schedule-table{width:100%;border-collapse:collapse;text-align:left;min-width:580px}.schedule-table th{background:#e9eff4;color:#41556d;font-weight:850}.schedule-table th,.schedule-table td{padding:18px 24px}.schedule-table tbody tr:nth-child(even){background:#f2f6f9}.schedule-table td{border-top:1px solid #e2ebf2}.schedule-date strong,.schedule-date span{display:block;white-space:nowrap}.schedule-date strong{font-size:1.1rem}.schedule-date span{font-size:.9rem;color:var(--muted)}.schedule-opponent{display:flex;align-items:center;gap:13px}.schedule-opponent>span:last-child{display:block}.schedule-opponent strong{font-size:1.05rem}.schedule-opponent small{display:block;color:var(--muted);font-size:.82rem}.schedule-venue{width:25px;font-weight:900;color:#337ba5}.schedule-logo{width:42px;height:42px;object-fit:contain;border-radius:50%;background:white;flex:none}.schedule-result{font-weight:850;white-space:nowrap}.schedule-result .result-w{color:#16834d}.schedule-result .result-l{color:#b72737}.schedule-result .result-t{color:#5a6777}.schedule-watch{color:#135d87;font-weight:800;text-decoration:underline}
.season-content{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.season-content>*{min-width:0}.season-schedule>h3{font-size:1.35rem;margin:0 0 14px}.season-schedule .schedule-table{min-width:530px}.season-schedule .schedule-table th,.season-schedule .schedule-table td{padding:13px 12px}.season-schedule .schedule-section h3{font-size:1.1rem;padding:16px}.season-film{margin-top:10px}.schedule-film-link{display:inline-flex;align-items:center;gap:5px;margin-top:6px;color:#17668f;font-size:.87rem;font-weight:800;text-decoration:underline}.schedule-film-link span{white-space:nowrap}@media(max-width:750px){.season-content{grid-template-columns:1fr}}
.season-links{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}.season-links a{display:inline-flex;align-items:center;padding:9px 14px;border:1px solid #b5cfdf;background:#e9f4fb;color:#164e72;border-radius:8px;font-weight:800}.season-links a:hover{background:#d5ebf8;text-decoration:none}
.coach-list{display:flex;flex-direction:column;gap:18px}.coach-list .coach-card{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:24px;min-height:0;padding:18px}.coach-list .coach-photo{width:220px;height:165px;aspect-ratio:4/3;object-fit:cover}.coach-list .coach-details{min-width:0}.coach-list .coach-card h3{margin:0 0 4px}.coach-list .coach-card .title{margin:0 0 12px}.coach-list .coach-card .bio{margin:0}.coach-list .coach-card .bio>*:first-child{margin-top:0}@media(max-width:620px){.coach-list .coach-card{grid-template-columns:90px minmax(0,1fr);gap:14px}.coach-list .coach-photo{width:90px;height:90px;aspect-ratio:1}.coach-list .coach-card h3{font-size:1.1rem}}
.masthead-crest{position:absolute;right:20px;top:14px;width:200px;aspect-ratio:1/1.16;perspective:850px;filter:drop-shadow(0 15px 17px #0008)}.crest-spin{position:relative;width:100%;height:100%;transform-style:preserve-3d;animation:sv-shield-spin 20s linear infinite}.crest-face,.crest-depth{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.crest-depth{filter:brightness(.26) saturate(.8);pointer-events:none}.crest-face{backface-visibility:hidden;transform:translateZ(15px)}.crest-back{transform:rotateY(180deg) translateZ(15px)}@keyframes sv-shield-spin{from{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}@media(max-width:750px){.masthead-crest{position:relative;right:auto;top:auto;width:140px;margin:22px auto 0}}@media(prefers-reduced-motion:reduce){.crest-spin{animation:none}.crest-back,.crest-depth{display:none}}
.season-record{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:25px}.record-panel{background:#fff;border:1px solid var(--silver);border-radius:14px;box-shadow:0 8px 28px #0b29440c;padding:22px}.record-panel h3{margin:0 0 10px;font-size:1.1rem;color:var(--navy)}.record-overview{display:flex;align-items:baseline;gap:14px;border-bottom:1px solid var(--silver);padding-bottom:13px}.record-overview strong{font-size:clamp(1.75rem,3vw,2.4rem);line-height:1.1;color:var(--navy)}.record-overview span{font-size:.95rem;color:var(--muted);font-weight:750}.record-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding-top:14px}.record-lines{display:grid;gap:9px;padding:0 15px}.record-lines:first-child{padding-left:0}.record-lines+ .record-lines{border-left:1px solid var(--silver)}.record-lines>div{display:flex;justify-content:space-between;gap:12px}.record-lines span{color:var(--muted);font-weight:650}.record-lines strong{font-weight:850;color:var(--navy)}@media(max-width:900px){.season-record{grid-template-columns:1fr}}@media(max-width:450px){.record-panel{padding:18px 12px}.record-lines{padding:0 8px}.record-overview{gap:8px;flex-wrap:wrap}}

.sv-photo-form{max-width:720px;margin:30px auto}.sv-photo-form form{display:grid;gap:20px}.sv-photo-form label{display:grid;gap:8px;font-weight:700;color:var(--navy)}.sv-photo-form input:not([type="hidden"]),.sv-photo-form textarea{max-width:100%;padding:12px;border:1px solid #aab8c7;border-radius:8px;font:inherit}.sv-photo-form textarea{width:100%;box-sizing:border-box}.sv-photo-form input[type="file"]{width:100%;box-sizing:border-box}.sv-photo-form input[type="number"]{width:180px}.sv-photo-form .button{justify-self:start}.sv-photo-trap{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.sv-photo-message{border-left:5px solid var(--blue,#8ac4e5);padding:13px;background:#edf7ff}

.sv-parent-picker{display:grid;gap:8px;margin:18px 0}.sv-parent-picker label{font-weight:750;color:var(--navy)}.sv-parent-picker select{width:100%;padding:11px;border:1px solid #aab8c7;border-radius:8px;background:#fff}.sv-parent-picker select:disabled{background:#eef2f6}.sv-request-details summary.button{list-style:none;display:inline-block}.sv-request-details summary.button::-webkit-details-marker{display:none}.sv-request-details[open] summary.button{margin-bottom:8px}

.sv-exchange-login{max-width:560px}.sv-exchange-login form{display:grid;gap:14px}.sv-exchange-login input[type=email]{width:100%;padding:13px;border:1px solid #aab8c7;border-radius:8px}.sv-exchange-login label{font-weight:750}.sv-exchange-login button{justify-self:start}.sv-exchange-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px}.sv-exchange-welcome h3,.sv-exchange-welcome p{margin:0}.sv-exchange-season h3{font-size:1.5rem;margin:8px 0 18px}.sv-exchange-film{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-top:1px solid var(--silver)}.sv-exchange-film strong{overflow-wrap:anywhere}.sv-exchange-film .button-row{flex-shrink:0}@media(max-width:700px){.sv-exchange-film,.sv-exchange-welcome{align-items:flex-start;flex-direction:column}.sv-exchange-film .button-row{flex-shrink:1}}

.sv-help-contents{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0}.sv-help-contents a{padding:8px 12px;border:1px solid var(--silver);border-radius:8px;background:#fff;color:var(--navy);font-weight:650}.sv-help-step{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:28px;align-items:start;scroll-margin-top:20px}.sv-help-number{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--navy);color:var(--blue);font-size:24px;font-weight:850;margin-bottom:16px}.sv-help-step h3{font-size:1.35rem}.sv-help-step figure{margin:0;padding:12px;border:1px solid var(--silver);background:#f5f8fb;border-radius:10px;text-align:center}.sv-help-step img{display:block;width:100%;height:auto;max-height:760px;object-fit:contain}.sv-help-step figcaption{color:var(--muted);font-size:13px;margin-top:9px}.sv-help-faq dt{font-weight:800;color:var(--navy);margin-top:18px}.sv-help-faq dd{margin:6px 0 18px}@media(max-width:750px){.sv-help-step{grid-template-columns:1fr;gap:15px}.sv-help-contents{display:grid;grid-template-columns:1fr}.sv-help-step figure{padding:6px}}

.sv-help-topics{margin-bottom:28px}.sv-help-topic-title{font-size:1.8rem;color:var(--navy);margin:30px 0 16px;scroll-margin-top:22px}.sv-help-season-guide{scroll-margin-top:22px}

.sv-remove-details{margin-top:14px}.sv-remove-choice{display:flex;align-items:flex-start;gap:10px;margin:14px 0}.sv-remove-choice input{margin-top:5px;flex-shrink:0}.sv-remove-details fieldset{border:1px solid var(--silver);padding:14px;border-radius:8px;margin:16px 0}.sv-connection-status{padding-left:20px;color:var(--muted);font-size:14px}
