*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#111827;color:#f9fafb}
.page{max-width:1250px;margin:0 auto;padding:28px}
.page.full{max-width:1500px}
.page.narrow{max-width:760px}
.top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}
.top nav{display:flex;gap:10px;flex-wrap:wrap}
h1{margin:6px 0 8px;font-size:34px}
h2{margin-top:0}
p{color:#cbd5e1}
.eyebrow{color:#38bdf8;text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:bold}
.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:0;border-radius:14px;background:#f97316;color:white;font-weight:800;padding:12px 18px;cursor:pointer}
.btn:hover{filter:brightness(1.1)}
.btn.ghost{background:#334155}
.btn.green{background:#22c55e;color:#052e16}
.btn.big{font-size:18px;padding:16px 24px}
.small-btn{padding:8px 12px;border-radius:10px}
.card{background:#1f2937;border:1px solid #334155;border-radius:26px;padding:22px;box-shadow:0 16px 40px rgba(0,0,0,.25);margin-bottom:20px}
.layout{display:grid;grid-template-columns:300px 1fr;gap:20px;align-items:stretch}
.side{margin-bottom:0;max-height:calc(100vh - 210px);overflow:auto}
.map-wrap{position:relative;background:#1f2937;border:1px solid #334155;border-radius:26px;padding:12px;min-height:720px}
#map{width:100%;height:700px;border-radius:18px;overflow:hidden;background:#0f172a}
#pickMap{width:100%;height:520px;border-radius:18px;overflow:hidden;background:#0f172a}
.legend{position:absolute;left:28px;bottom:28px;background:white;color:#111827;border-radius:14px;padding:10px 14px;display:flex;gap:14px;font-weight:800;z-index:500}
.dot{display:inline-block;width:13px;height:13px;border-radius:50%;margin-right:5px}
.dot.club{background:#f97316}.dot.range{background:#22c55e}
.tabs{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}
.tab{display:inline-block;text-decoration:none;color:white;background:#334155;border:1px solid #475569;border-radius:14px;padding:11px 16px;font-weight:800}
.tab.active{background:#f97316;border-color:#f97316}
.region-list,.club-list{display:flex;flex-direction:column;gap:10px}
.region-list a,.club-list a{display:block;text-decoration:none;color:white;background:#0f172a;border:1px solid #334155;border-radius:14px;padding:12px}
.region-list a:hover,.club-list a:hover{border-color:#f97316}
.club-list strong{display:block}
.club-list span{display:block;color:#cbd5e1;margin-top:5px}
.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.form{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form label,.confirm-form label{display:flex;flex-direction:column;gap:8px;font-weight:bold}
.full-row{grid-column:1 / -1}
.captcha{background:#0f172a;border:1px solid #334155;border-radius:16px;padding:14px}
.form input,.form select,.confirm-form input{width:100%;border:1px solid #475569;border-radius:14px;background:#0f172a;color:white;padding:14px;font-size:16px}
.form button{grid-column:1 / -1}
.confirm-form{display:flex;flex-direction:column;gap:16px}
.alert{padding:18px;border-radius:18px;margin-bottom:18px}
.alert.ok{background:#14532d;border:1px solid #22c55e}
.alert.error{background:#7f1d1d;border:1px solid #ef4444}
.list{display:flex;flex-direction:column;gap:12px}
.list-item{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#0f172a;border:1px solid #334155;border-radius:16px;padding:14px}
.list-item span{display:block;color:#cbd5e1;margin-top:5px}
code{color:#fde68a}
.marker{display:flex;align-items:center;justify-content:center;border-radius:50%;color:white;font-weight:900;border:3px solid white;box-shadow:0 4px 16px rgba(0,0,0,.4)}
.marker-club{background:#f97316}
.marker-range{background:#22c55e}
.popup-btn{display:inline-block;margin-top:6px;padding:7px 10px;border-radius:8px;background:#f97316;color:white!important;text-decoration:none;font-weight:800}
.leaflet-popup-content{font-family:Arial,Helvetica,sans-serif}
@media(max-width:900px){
    .page{padding:16px}
    .top{flex-direction:column;align-items:flex-start}
    h1{font-size:26px}
    .layout,.admin-grid,.form{grid-template-columns:1fr}
    .side{max-height:none}
    .map-wrap{min-height:520px}
    #map{height:500px}
    #pickMap{height:420px}
    .legend{position:static;margin-top:10px}
}
a{color:#38bdf8}


.home-grid{display:grid;grid-template-columns:1fr 420px;gap:20px;align-items:start}
.home-side{display:flex;flex-direction:column;gap:20px}
.event-list,.ad-list{display:flex;flex-direction:column;gap:12px}
.event-card,.ad-card{display:flex;gap:12px;align-items:center;text-decoration:none;color:white;background:#0f172a;border:1px solid #334155;border-radius:16px;padding:12px}
.event-card:hover,.ad-card:hover{border-color:#f97316}
.event-date{min-width:92px;text-align:center;background:#f97316;color:white;font-weight:900;border-radius:12px;padding:10px}
.event-card strong,.ad-card strong{display:block;font-size:17px}
.event-card span,.event-card em,.ad-card span{display:block;color:#cbd5e1;font-style:normal;margin-top:3px}
.ad-card img{width:74px;height:58px;object-fit:contain;background:#111827;border-radius:12px;padding:5px}
.ad-card small{color:#38bdf8;text-transform:uppercase;font-weight:900;letter-spacing:.08em}
.ad-head{display:flex;justify-content:space-between;align-items:center}
.region-list.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
.popup-logo{display:block;width:120px;max-height:70px;object-fit:contain;margin-bottom:8px;background:#0f172a;border-radius:10px}
.profile-card{display:flex;gap:18px;align-items:flex-start}
.profile-logo{width:160px;max-height:120px;object-fit:contain;background:#0f172a;border:1px solid #334155;border-radius:18px;padding:8px}
@media(max-width:1100px){.home-grid{grid-template-columns:1fr}.home-side{display:grid;grid-template-columns:1fr 1fr}.map-wrap{min-height:560px}#map{height:540px}}
@media(max-width:760px){.home-side{display:flex}.profile-card{flex-direction:column}.profile-logo{width:100%}}

.actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.btn.danger{background:#dc2626}.small{font-size:13px;color:#94a3b8}

.btn.blue{background:#2563eb}
.check-list{display:flex;flex-direction:column;gap:10px}
.check-row{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:12px;background:#0f172a;border:1px solid #334155;border-radius:14px;padding:12px}
.check-row input{width:auto!important;margin-top:4px}
