:root{--bg:#f4f5f7;--surface:#fff;--ink:#152222;--muted:#606d70;--line:#dce2e2;--dark:#142c2b;--accent:#d5f36a;--green:#285d45;--error:#9f2525;--radius:18px;--font:'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a,button{transition:background .18s,color .18s,box-shadow .18s}a:hover{text-decoration:underline}button{cursor:pointer}button:active,.button:active{filter:brightness(.94)}:focus-visible{outline:3px solid var(--green);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,3vw,44px);line-height:1.15;letter-spacing:-1.5px;margin-bottom:16px}h2{font-size:24px;letter-spacing:-.6px;line-height:1.25}h3{font-size:20px;line-height:1.35}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;display:block;margin-bottom:20px}.brand{display:flex;align-items:center;font-size:31px;letter-spacing:-1px;font-weight:750;color:white;line-height:1}.brand:hover{text-decoration:none}.brand-dot{color:var(--accent)}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--accent);color:var(--dark);margin-right:12px;font-size:34px;font-weight:800;line-height:1;padding-bottom:5px;transform:rotate(-8deg)}.button{display:inline-flex;justify-content:center;align-items:center;gap:14px;border:1px solid transparent;border-radius:10px;padding:13px 20px;min-height:48px;font-size:14px;font-weight:650;white-space:normal;text-align:center}.button:hover{text-decoration:none}.primary{background:var(--dark);color:white}.primary:hover{background:var(--green)}.secondary{background:white;color:var(--ink);border-color:var(--line)}.secondary:hover{background:var(--bg)}.wide{width:100%;justify-content:space-between}.skip-link{position:fixed;left:16px;top:-100px;background:white;color:var(--ink);padding:16px;z-index:100}.skip-link:focus{top:16px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{position:relative;overflow:hidden;background:var(--dark);color:white;padding:48px 10%;display:flex;flex-direction:column;justify-content:space-between;min-height:800px}.auth-heading{position:relative;z-index:1;padding:90px 0 75px}.auth-heading h1{font-size:clamp(48px,5.4vw,82px);font-weight:600;letter-spacing:-4px;line-height:1.07}.auth-heading h1 span{color:var(--accent)}.auth-heading p{color:#d0dcda;font-size:17px;line-height:1.75;margin:28px 0 0}.auth-heading .eyebrow{color:#c4d1ce}.auth-foot{font-size:12px;color:#c4d1ce;z-index:1;margin:0}.court{position:absolute;width:490px;height:660px;border:1px solid #527263;border-radius:150px;right:-230px;bottom:-220px;transform:rotate(28deg);opacity:.5}.court:before,.court:after,.court i,.court b{content:'';position:absolute;border:1px solid #527263}.court:before{inset:20px;border-radius:140px}.court:after{width:150px;height:150px;border-radius:50%;left:170px;top:240px}.court i{left:0;right:0;top:315px}.court b{width:220px;height:110px;left:135px;top:20px}.auth-panel{display:flex;justify-content:center;align-items:center;position:relative;padding:70px 40px;background:#fcfcfa}.auth-card{width:100%;max-width:390px}.auth-card h2{font-size:32px;letter-spacing:-1px;margin-bottom:14px}.auth-card>.muted{margin-bottom:32px}.auth-card .eyebrow{color:var(--green)}label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}input:not([type=checkbox]):not([type=hidden]),select{width:100%;min-height:50px;border:1px solid #a6b3b5;border-radius:9px;background:white;color:var(--ink);padding:12px 14px;margin-bottom:24px;min-width:0}input::placeholder{color:#6a7479}input[type=checkbox]{width:18px;height:18px;accent-color:var(--green);margin:0}.form-between{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;margin:-5px 0 24px}.form-between>a{display:flex;align-items:center;min-height:44px}.check{display:flex;align-items:center;gap:9px;margin:0;font-size:13px;font-weight:400;min-height:44px}.auth-help{font-size:13px;text-align:center;color:var(--muted);margin:26px auto 0;max-width:310px}.auth-bottom{position:absolute;bottom:28px;color:var(--muted);font-size:10px;letter-spacing:2px}.workspace{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--dark);color:white;padding:36px 22px;display:flex;flex-direction:column;min-height:100vh}.sidebar .brand{padding:0 10px}.sidebar-label{font-size:9px;letter-spacing:1.7px;color:#b2c4bf;margin:66px 10px 18px}.nav-item{display:flex;align-items:center;gap:14px;min-height:48px;padding:12px 16px;border-radius:10px;font-size:14px}.nav-item.active{background:var(--accent);color:var(--dark);font-weight:650}.nav-item span{font-size:24px;line-height:1}.sidebar-bottom{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:auto;padding:30px 4px 0}.avatar{width:36px;height:36px;display:grid;place-items:center;background:#37514a;border-radius:50%;text-transform:uppercase}.sidebar-bottom strong{display:block;max-width:145px;overflow-wrap:anywhere;font-size:13px}.sidebar-bottom small{display:block;color:#b2c4bf;font-size:11px}.sidebar-bottom form{width:100%}.logout{border:1px solid #628277;background:transparent;color:white;min-height:44px;padding:8px 15px;border-radius:8px;margin-top:10px;width:100%;text-align:left}.logout:hover{background:#37514a}.main{padding:0 46px;max-width:1600px;width:100%;margin:auto;align-self:start}.topbar{height:91px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:12px;color:var(--muted);margin-bottom:44px}.slash{padding:0 12px;color:#7b8787}.topbar-note{font-size:11px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.page-heading .eyebrow{color:var(--muted);margin-bottom:12px;font-size:10px}.page-heading h1{margin-bottom:12px}.page-heading p{font-size:14px;margin:0}.count{display:inline-grid;place-items:center;font-size:15px;letter-spacing:0;font-weight:500;background:#e6eae8;border:1px solid var(--line);min-width:30px;height:30px;border-radius:8px;margin-left:14px;vertical-align:middle}.welcome{position:relative;background:#e7eddf;border:1px solid #d7dfce;border-radius:var(--radius);padding:36px 40px;overflow:hidden;min-height:290px}.welcome>div:first-child{position:relative;z-index:1}.welcome .eyebrow{font-size:9px;color:#4e6452;margin-bottom:16px}.welcome h2{font-size:34px;line-height:1.15;letter-spacing:-1px;margin-bottom:16px;font-weight:600}.welcome p{font-size:14px;color:#4f6258;line-height:1.7;margin-bottom:16px}.text-link{font-size:14px;font-weight:650;display:inline-flex;align-items:center;gap:32px;min-height:44px}.welcome-number{position:absolute;right:26px;bottom:22px;font-size:9px;letter-spacing:2px;color:#506347}.mini-court{position:absolute;right:70px;top:49px;width:240px;height:190px;border:2px solid #96a98b;border-radius:12px;transform:rotate(-12deg);opacity:.8}.mini-court:before{content:'';position:absolute;left:50%;height:100%;border-left:2px solid #96a98b}.mini-court:after{content:'';position:absolute;left:calc(50% - 38px);top:calc(50% - 38px);width:72px;height:72px;border:2px solid #96a98b;border-radius:50%}.mini-court i{position:absolute;width:42px;height:86px;border:2px solid #96a98b;border-left:0;top:50px;left:0}.list-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:34px 0 18px}.list-heading h2{font-size:18px;margin:0}.list-heading>span{font-size:12px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:30px}.empty{text-align:center;padding:38px 24px}.empty h2{font-size:21px;margin:16px 0 8px}.empty p{font-size:14px;margin-bottom:20px}.empty-symbol{display:inline-grid;place-items:center;font-size:28px;width:50px;height:50px;border-radius:14px;border:1px solid var(--line);color:var(--green)}.tournament-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tournament-card{padding:24px}.card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:26px}.sport-label{font-size:12px;color:var(--green);font-weight:600}.badge{font-size:11px;background:#f0f2ed;color:#4a594a;border-radius:6px;padding:5px 9px;white-space:nowrap}.tournament-card h3{margin:0 0 12px;overflow-wrap:anywhere}.tournament-card p{font-size:13px;margin:0 0 8px}.venue{color:var(--muted);overflow-wrap:anywhere}.card-link{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:16px;margin-top:22px;font-size:13px;font-weight:600;min-height:44px}.workspace-footer{display:flex;justify-content:space-between;padding:30px 0;color:var(--muted);font-size:9px;letter-spacing:1.5px}.workspace-footer span{letter-spacing:0;font-size:11px}.back-link{display:inline-flex;align-items:center;min-height:44px;font-size:13px;margin:0 0 24px;color:var(--green)}.auth-card .back-link{margin-top:16px}.editor-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(200px,1fr);gap:24px}.editor-grid .panel h2{font-size:20px;margin-bottom:28px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-actions{display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:24px;margin-top:8px}.required{color:var(--green)}.guide{background:#e7eddf;align-self:start}.step-number{font-size:42px;color:#5a7150;letter-spacing:-2px;display:block;margin-bottom:24px}.guide p{font-size:14px;color:#4f6258;line-height:1.7}.guide h3{font-size:15px;margin-top:24px}.guide hr{border:0;border-top:1px solid #c4cfbb;margin-top:24px}.alert{background:#e6f0e6;color:#214f36;border:1px solid #9bbca0;border-radius:10px;padding:14px 18px;margin-bottom:24px;font-size:14px}.alert.error{background:#fff0f0;color:var(--error);border-color:#dba0a0}.site-content{max-width:900px;margin:60px auto;padding:24px}.site-brand{display:block;font-weight:700;margin-bottom:50px}.site-content img{max-width:100%;height:auto}
@media(min-width:1600px){.main{padding:0 64px}.welcome{min-height:320px}.mini-court{right:130px;top:65px}}
@media(max-width:1150px){.workspace{grid-template-columns:210px minmax(0,1fr)}.main{padding:0 28px}.mini-court{right:20px;width:160px;height:190px;opacity:.45}.editor-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading>.button{max-width:190px}.auth-story{padding:40px 10%}.auth-heading h1{letter-spacing:-2px}}
@media(max-width:760px){.auth-layout{grid-template-columns:1fr}.auth-story{padding:24px;min-height:0}.auth-heading,.auth-foot,.court{display:none}.auth-panel{padding:48px 24px 80px;min-height:calc(100svh - 88px)}.auth-card h2{font-size:28px}.workspace{display:block}.sidebar{min-height:0;padding:18px 20px;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}.sidebar .brand{padding:0;font-size:25px}.brand-mark{width:34px;height:34px;font-size:29px}.sidebar-label,.sidebar nav,.sidebar-bottom>.avatar,.sidebar-bottom>div{display:none}.sidebar-bottom{padding:0;margin:0}.sidebar-bottom form{width:auto}.logout{margin:0;width:auto}.main{padding:0 20px}.topbar{height:64px;margin-bottom:28px;font-size:11px}.topbar-note{display:none}.page-heading{display:block;margin-bottom:24px}.page-heading>.button{margin-top:22px;max-width:none}.page-heading>.badge{display:inline-block;margin-top:16px}.page-heading h1{font-size:32px}.welcome{padding:28px 24px;min-height:280px}.welcome h2{font-size:30px}.mini-court{right:-95px;top:85px;opacity:.25}.welcome-number{right:18px;bottom:15px}.list-heading{align-items:flex-start}.list-heading>span{font-size:10px;text-align:right}.tournament-grid{grid-template-columns:1fr}.panel{padding:24px}.field-grid{grid-template-columns:1fr;gap:0}.workspace-footer{gap:18px}.editor-grid{gap:20px}.form-actions>.button{flex:1}.auth-heading .eyebrow{font-size:10px}.brand:focus-visible,.logout:focus-visible{outline-color:var(--accent)}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
