@font-face{font-family:PickleSystem;src:local('Inter'),local('Segoe UI')}
:root{color-scheme:dark;--bg:#090f0d;--panel:#111b17;--panel-raised:#16221c;--line:#29362d;--text:#f0f4ec;--muted:#a7b4a9;--lime:#b7f632;--danger:#ffb4a9;--radius:16px;--font:PickleSystem,system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.5 var(--font)}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--lime);outline-offset:4px}button{border:0}h1,h2,h3,p{margin-top:0}.skip{position:absolute;top:-100px;z-index:20;background:var(--lime);color:#0a1208;padding:12px}.skip:focus{top:0}.app-shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{display:flex;flex-direction:column;padding:34px 22px 24px;border-right:1px solid var(--line);background:#0d1511}.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:850;letter-spacing:-1px}.brand img{width:37px;height:37px;object-fit:contain}.brand span span,.lime{color:var(--lime)}.brand small{display:block;font-size:8px;letter-spacing:1.7px;color:var(--muted);font-weight:600;margin-top:3px}.nav-label{margin:52px 12px 15px;font-size:10px;font-weight:700;letter-spacing:1.7px;color:#899b8d}.sidebar nav{display:grid;gap:8px}.sidebar nav a{padding:13px 15px;border-radius:9px;display:flex;gap:13px;color:#b7c2b9;font-size:13px}.sidebar nav a:hover{background:#17271d}.sidebar nav .active{background:#b7f632;color:#122005;font-weight:750}.sidebar-bottom{margin-top:auto;padding:64px 12px 0;display:grid;gap:15px;font-size:12px;color:var(--muted)}.sidebar-bottom p{color:#c4d1bc;max-width:160px}.sidebar-bottom small{font-size:9px;letter-spacing:1.8px;margin-top:13px}.workspace{min-width:0}.topbar{height:85px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 48px;font-size:11px}.breadcrumb{color:#a7b4a9;display:flex;gap:16px}.breadcrumb>span:first-child{font-size:10px;letter-spacing:1.8px;color:#788c7f}.header-controls{display:flex;align-items:center;gap:22px}.language{display:flex;border:1px solid var(--line);border-radius:6px;padding:3px}.language button{background:transparent;color:var(--muted);font-size:10px;padding:6px 10px;border-radius:3px}.language button[aria-pressed=true]{color:var(--lime);background:#26321d}.save-indicator{color:var(--muted);font-size:11px}main{max-width:1400px;margin:auto;padding:52px 48px 20px}.hero{display:grid;grid-template-columns:1.3fr 1fr;gap:45px;align-items:center;min-height:300px;margin-bottom:40px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;color:var(--lime);margin-bottom:17px}h1{font-size:clamp(38px,4.3vw,66px);letter-spacing:-2.5px;font-weight:650;line-height:1.06;margin-bottom:20px}.hero-copy{font-size:14px;color:var(--muted);max-width:370px;line-height:1.7;margin-bottom:25px}.primary,.secondary{padding:12px 18px;border-radius:7px;font-size:12px;font-weight:750}.primary{background:var(--lime);color:#132005}.primary:hover{background:#ceff6a}.secondary{background:transparent;border:1px solid #46533e;color:var(--text)}.secondary:hover{background:#1c2a20}.court-art{height:250px;position:relative;display:grid;place-items:center;background:radial-gradient(ellipse at center,#28391988,transparent 70%);overflow:hidden}.court-lines{width:270px;height:165px;border:2px solid #728954;transform:rotate(-24deg) skew(8deg);position:relative;box-shadow:0 0 40px #b7f63212,inset 0 0 60px #b7f63209}.court-lines:before{content:'';position:absolute;inset:0 32%;border-left:1px solid #728954;border-right:1px solid #728954}.court-lines:after{content:'';position:absolute;inset:50% 0;border-top:2px solid #a6c17b}.court-lines i,.court-lines b{position:absolute;width:1px;height:50%;background:#728954;left:50%}.court-lines b{bottom:0}.ball{width:49px;height:49px;border-radius:50%;position:absolute;right:20%;top:48px;transform:rotate(-25deg);background:radial-gradient(circle at 30% 30%,#eaff99,#afee2e 60%,#548710);box-shadow:15px 23px 20px #0009}.ball:after{content:'• •';display:block;color:#587819;font-size:26px;text-align:center}.court-art>span{position:absolute;bottom:5px;font-size:8px;letter-spacing:4px;color:#718763}.attention{padding:22px 25px;border:1px solid #374629;border-radius:var(--radius);display:flex;align-items:center;gap:20px;background:linear-gradient(105deg,#1b2818,#101914);margin-bottom:43px}.attention-mark{font-size:27px;color:var(--lime)}.attention h2{font-size:14px;margin:0 0 3px}.attention p{color:var(--muted);font-size:12px;margin:0}.text-button{color:var(--lime);background:none;font-size:11px;line-height:1.5;margin-left:auto;text-align:right;max-width:160px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.section-top .eyebrow{margin-bottom:6px;color:#7f9486;font-size:9px}.section-top h2{font-size:26px;font-weight:600;letter-spacing:-.8px;margin:0}.filters{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0 15px}.tabs{display:flex;gap:5px}.tabs button{font-size:11px;padding:9px 15px;border-radius:6px;background:transparent;color:var(--muted)}.tabs button[aria-pressed=true]{color:var(--text);background:#253225}.search{display:flex;align-items:center;gap:10px;color:#9aac9d;border:1px solid var(--line);padding:7px 12px;border-radius:6px}.search input{background:none;border:0;color:var(--text);width:170px;font-size:11px;padding:3px;min-width:0}.notice:empty{display:none}.notice{font-size:13px;color:var(--danger)}.competition-list{display:grid;gap:10px}.competition-card{display:grid;grid-template-columns:54px 1fr auto;gap:20px;align-items:center;border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:22px}.competition-icon{width:48px;height:48px;border-radius:10px;background:#213321;color:#bad490;display:grid;place-items:center;font-size:23px}.competition-card h3{font-size:17px;margin:0 0 7px;font-weight:600}.meta{color:var(--muted);font-size:11px;display:flex;gap:12px;flex-wrap:wrap}.status{color:var(--lime);font-size:10px;letter-spacing:.5px}.card-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end;max-width:280px}.card-actions button{font-size:10px;padding:8px 11px}.empty{border:1px dashed #364537;border-radius:12px;padding:48px 25px;text-align:center;color:var(--muted)}.empty strong{display:block;color:var(--text);font-size:19px;margin-bottom:8px}.empty p{font-size:13px;margin:0 auto;max-width:390px}.workspace-footer{border-top:1px solid var(--line);margin-top:48px;padding-top:20px;display:flex;justify-content:space-between;gap:20px;color:#879b8c;font-size:10px}.workspace-footer>span:last-child{font-weight:800;letter-spacing:1px}dialog{color:var(--text);background:#101b15;border:1px solid #43523b;border-radius:20px;width:min(600px,calc(100% - 28px));padding:30px;box-shadow:0 30px 100px #000b}dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}dialog h2{font-size:26px;margin:0 0 15px}.dialog-heading{display:flex;justify-content:space-between}.dialog-heading .eyebrow{font-size:9px;margin-bottom:8px}.close{color:var(--muted);background:none;font-size:26px;align-self:start}.muted{color:var(--muted);font-size:12px;line-height:1.65}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:25px 0}.form-grid label{display:grid;gap:7px;font-size:11px;color:#bccabd}.form-grid .full{grid-column:1/-1}.form-grid input,.form-grid select{padding:11px 12px;background:#0a130d;border:1px solid #384a3a;border-radius:7px;color:var(--text);width:100%;min-width:0}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}#formError,#migrationError{color:var(--danger);font-size:12px}#migrationList{max-height:40vh;overflow:auto}#migrationList p{padding:10px;background:#1c2b1d;border-radius:5px;font-size:13px}
@media(min-width:1500px){main{padding-top:65px}.hero{margin-bottom:55px}.court-art{height:300px}.court-lines{width:330px;height:195px}}
@media(max-width:1000px){.app-shell{grid-template-columns:195px 1fr}.sidebar{padding:25px 14px}.brand{font-size:18px}.brand img{width:30px;height:30px}.topbar{padding:0 25px}main{padding:35px 25px}.court-art{height:210px}.court-lines{width:200px;height:125px}.hero{gap:10px}h1{font-size:43px}.attention{align-items:flex-start}.competition-card{grid-template-columns:42px 1fr;gap:13px}.card-actions{grid-column:2;justify-content:flex-start;max-width:none}}
@media(max-width:700px){.app-shell{display:block}.sidebar{padding:16px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:20px}.nav-label,.sidebar-bottom,.brand small{display:none}.sidebar nav{display:flex;overflow:auto;margin-top:18px;gap:4px}.sidebar nav a{white-space:nowrap;padding:10px;font-size:11px;gap:6px}.topbar{height:60px;padding:0 20px}.breadcrumb{font-size:10px;gap:7px}.breadcrumb>span:first-child{display:none}.header-controls{gap:10px}.save-indicator{font-size:9px}main{padding:32px 20px 20px}.hero{display:block;min-height:auto;margin-bottom:30px}.hero h1{font-size:44px}.court-art{display:none}.hero-copy{max-width:95%}.attention{padding:18px;gap:13px;flex-wrap:wrap;margin-bottom:32px}.attention>div{flex:1}.text-button{margin-left:36px;max-width:none}.filters{align-items:stretch;flex-direction:column}.search input{width:100%}.search{padding:9px 12px}.tabs button{padding:9px 12px}.competition-card{padding:18px}.competition-card h3{font-size:16px}.workspace-footer{font-size:9px}.form-grid{grid-template-columns:1fr}dialog{padding:24px}.form-grid .full{grid-column:auto}.section-top h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

dialog{max-height:calc(100dvh - 32px);overflow-y:auto}

