:root{--bg:#0f2740;--surface:#173556;--text:#f3f6fa;--muted:#a9bbd0;--sun:#ffb81c;--on-sun:#1a1200;--line:#2b4a6e;box-sizing:border-box}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:400 1.0625rem/1.6 "Instrument Sans",system-ui,sans-serif;transition:background .4s,color .4s}
h1,h2,h3{font-family:"Bricolage Grotesque",Georgia,sans-serif;line-height:1.02;margin:0}
a{color:inherit}
:focus-visible{outline:3px solid var(--sun);outline-offset:3px}
.wrap{max-width:1080px;margin:0 auto;padding:0 1.25rem;position:relative;z-index:1}
header.top{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 0;gap:1rem;flex-wrap:wrap}
.logo{font:800 1.25rem "Bricolage Grotesque",sans-serif;text-decoration:none;display:flex;align-items:center;gap:.6rem}
.logo i{width:14px;height:14px;border-radius:50%;background:var(--sun);box-shadow:0 0 0 5px color-mix(in srgb,var(--sun) 25%,transparent)}
nav{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}
nav a{text-decoration:none;color:var(--muted);font-weight:600}nav a:hover{color:var(--text)}
.hero{padding:3rem 0 4rem;display:grid;gap:2.5rem}
.hero h1{font-size:clamp(3rem,11vw,7.5rem);font-weight:800;letter-spacing:-.03em;max-width:11ch;overflow-wrap:anywhere}
.hero p.lead{color:var(--muted);max-width:46ch;font-size:1.2rem;margin:1.25rem 0 0}
.player{background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:1.5rem;display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}
#play{width:84px;height:84px;border-radius:50%;border:0;background:var(--sun);color:var(--on-sun);cursor:pointer;display:grid;place-items:center;flex:none;transition:transform .15s}
#play:active{transform:scale(.94)}#play svg{width:34px;height:34px;fill:currentColor}#play .ico-pause{display:none}
.playing #play .ico-play{display:none}.playing #play .ico-pause{display:block}
.cover{width:96px;height:96px;border-radius:16px;flex:none;background:var(--bg);border:1px solid var(--line);display:grid;place-items:center;overflow:hidden;font-size:2.2rem;color:var(--muted)}
.cover img{width:100%;height:100%;object-fit:cover;display:block}
.info{flex:1;min-width:200px}.info b{font:800 1.5rem "Bricolage Grotesque",sans-serif;display:block;overflow-wrap:anywhere}
.np-label{color:var(--sun);font-weight:600;font-size:.9rem}
.np-artist{color:var(--muted);font-size:1.05rem}
.status{color:var(--muted);display:flex;align-items:center;gap:.5rem;margin-top:.25rem;font-size:.95rem}
.dot{width:9px;height:9px;border-radius:50%;background:var(--muted)}.playing .dot{background:#ff4d4d}
.eq{display:flex;align-items:flex-end;gap:4px;height:44px;margin-left:auto}
.eq span{width:6px;height:6px;border-radius:3px;background:var(--sun)}
.playing .eq span{animation:eq 1s ease-in-out infinite}
.playing .eq span:nth-child(2){animation-delay:-.7s}.playing .eq span:nth-child(3){animation-delay:-.3s}.playing .eq span:nth-child(4){animation-delay:-.9s}.playing .eq span:nth-child(5){animation-delay:-.5s}
@keyframes eq{0%,100%{height:6px}50%{height:44px}}
.vol{display:flex;align-items:center;gap:.6rem;width:100%;color:var(--muted)}.vol input{flex:1;accent-color:var(--sun)}
section{padding:3.5rem 0;border-top:1px solid var(--line)}
section h2{font-size:clamp(2rem,5vw,3.25rem);font-weight:800;letter-spacing:-.02em;margin-bottom:1.5rem}
.two{display:grid;gap:2rem;grid-template-columns:1fr}@media(min-width:760px){.two{grid-template-columns:1fr 1fr}}
.about p{margin:0 0 1rem;max-width:60ch}
.contact-text{max-width:50ch;margin:0 0 1.25rem;color:var(--muted)}
.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.show{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:1.25rem}
.show time{color:var(--sun);font-weight:600}.show h3{font-size:1.4rem;margin:.35rem 0 .4rem}.show p{margin:0;color:var(--muted)}
.btn{display:inline-block;background:var(--sun);color:var(--on-sun);font:600 1rem "Instrument Sans",sans-serif;padding:.7rem 1.3rem;border-radius:999px;text-decoration:none;border:0;cursor:pointer}
.btn.ghost{background:transparent;color:var(--text);border:1px solid var(--line)}
.btn.danger{background:transparent;color:#ff6b6b;border:1px solid #ff6b6b}
footer{padding:2.5rem 0;color:var(--muted);border-top:1px solid var(--line);font-size:.95rem}
#fx{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0}
#fx span{position:absolute;top:-10%;animation:fall linear infinite;opacity:.8}
@keyframes fall{to{transform:translate3d(var(--dx,40px),115vh,0) rotate(360deg)}}
@media (prefers-reduced-motion:reduce){#fx{display:none}.playing .eq span{animation:none;height:24px}html{scroll-behavior:auto}}

/* Administration */
.adm{max-width:900px;margin:0 auto;padding:1.25rem}
.adm h1{font-size:2.25rem;margin:0}
.adm .bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.adm .tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.25rem}
.adm .tabs a.on{background:var(--sun);color:var(--on-sun);border-color:transparent}
.card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:1.5rem}
.adm label{display:block;font-weight:600;margin:1rem 0 .3rem}
.adm input[type=text],.adm input[type=password],.adm select,.adm textarea{width:100%;font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:.6rem .8rem}
.adm textarea{min-height:70px;resize:vertical}
.row{display:grid;gap:.6rem;grid-template-columns:130px 1fr;padding:1rem 0;border-top:1px solid var(--line)}
.row .full{grid-column:1/-1}.row .acts{grid-column:1/-1;display:flex;gap:.5rem;flex-wrap:wrap}
.themes{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));margin:1rem 0}
.theme{display:block;position:relative;border:2px solid var(--line);border-radius:16px;padding:.75rem;background:var(--bg);cursor:pointer;margin:0!important;font-weight:600}
.theme input{position:absolute;opacity:0}
.theme:has(input:checked){border-color:var(--sun)}
.theme:has(input:focus-visible){outline:3px solid var(--sun);outline-offset:2px}
.sw{display:flex;height:22px;border-radius:8px;overflow:hidden;margin-bottom:.5rem;border:1px solid rgba(128,128,128,.3)}.sw i{flex:1}
.ok{background:color-mix(in srgb,#2ecc71 25%,var(--surface));border:1px solid #2ecc71;border-radius:12px;padding:.7rem 1rem;margin-bottom:1rem}
.err{background:color-mix(in srgb,#ff4d4d 22%,var(--surface));border:1px solid #ff6b6b;border-radius:12px;padding:.7rem 1rem;margin-bottom:1rem}
.note{color:var(--muted);font-size:.95rem}
@media(max-width:560px){.row{grid-template-columns:1fr}}
