:root {
  --accent: #e53e3e;
  --accent-dark: #c53030;
  --bg: #0a0a0f;
  --bg2: #0f0f18;
  --bg3: #111118;
  --bg4: #141420;
  --border: #1e1e2e;
  --border2: #2a2a3a;
  --text: #ddd;
  --text2: #aaa;
  --text3: #666;
  --text4: #444;
  --white: #fff;
  --green: #38a169;
  --blue: #4a9eff;
  --amber: #d69e2e;
  --radius: 8px;
  --radius-lg: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
input, textarea, select, button { font-family: inherit; }

/* ── Typography ── */
h1 { font-size: 1.8rem; font-weight: 600; color: var(--white); }
h2 { font-size: 1.3rem; font-weight: 500; color: var(--white); }
h3 { font-size: 1.05rem; font-weight: 500; color: var(--white); }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-xs { gap: .35rem; }
.gap-sm { gap: .6rem; }
.gap-md { gap: 1rem; }

/* ── Cards ── */
.card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.25rem; }
.card-sm { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: .75rem 1rem; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: var(--radius); font-size: .875rem; font-weight: 500; cursor: pointer; border: none; transition: opacity .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--text2); border: 1px solid var(--border2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--white); }
.btn-green { background: var(--green); color: #fff; }
.btn-sm { padding: .3rem .7rem; font-size: .8rem; }
.btn-icon { width: 32px; height: 32px; padding: 0; border-radius: 50%; justify-content: center; }

/* ── Forms ── */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; color: var(--text3); font-size: .8rem; margin-bottom: .35rem; }
.form-control { width: 100%; padding: .6rem .9rem; background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--radius); color: var(--white); font-size: .9rem; outline: none; transition: border-color .15s; }
.form-control:focus { border-color: var(--accent); }
textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control { cursor: pointer; }
.toggle { position: relative; display: inline-block; width: 38px; height: 21px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--border2); border-radius: 21px; cursor: pointer; transition: background .2s; }
.toggle-slider::before { content: ''; position: absolute; height: 15px; width: 15px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform .2s; }
.toggle input:checked + .toggle-slider { background: var(--accent); }
.toggle input:checked + .toggle-slider::before { transform: translateX(17px); }

/* ── Nav ── */
#main-nav { position: sticky; top: 0; z-index: 100; background: rgba(10,10,15,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); height: 56px; display: flex; align-items: center; }
#main-nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; font-weight: 600; color: var(--white); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: pulse-dot 1.4s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.3} }
.nav-links { display: flex; gap: .25rem; }
.nav-link { padding: .4rem .85rem; border-radius: 6px; color: var(--text3); font-size: .875rem; transition: color .15s, background .15s; }
.nav-link:hover { color: var(--white); background: var(--bg3); }
.nav-link.active { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: .5rem; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bg4); object-fit: cover; border: 2px solid var(--border2); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--radius-lg); min-width: 160px; padding: .4rem; display: none; z-index: 200; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-item { display: block; padding: .5rem .75rem; border-radius: var(--radius); color: var(--text2); font-size: .875rem; }
.dropdown-item:hover { background: var(--bg4); color: var(--white); }
.dropdown-sep { border-top: 1px solid var(--border); margin: .3rem 0; }

/* ── Player bar ── */
#player-bar { background: var(--bg3); border-bottom: 1px solid var(--border); padding: .5rem 0; }
#player-bar .container { display: flex; align-items: center; gap: 1rem; }
.live-badge { background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; letter-spacing: .5px; }
.player-info { flex: 1; min-width: 0; }
.track-title { color: var(--white); font-size: .875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-sub { color: var(--text3); font-size: .75rem; margin-top: 1px; }
.player-controls { display: flex; align-items: center; gap: .75rem; }
.play-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 13px; transition: background .15s; }
.play-btn:hover { background: var(--accent-dark); }
.volume-wrap { display: flex; align-items: center; gap: 6px; }
.volume-wrap input[type=range] { width: 70px; accent-color: var(--accent); }
#listen-count { color: var(--text3); font-size: .8rem; white-space: nowrap; }

/* ── Slider ── */
.news-slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform .5s ease; }
.slide { min-width: 100%; position: relative; overflow: hidden; }
.slide-inner { padding: 2rem 1.5rem; min-height: 180px; display: flex; align-items: flex-end; position: relative; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-bg-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 100%); }
.slide-content { position: relative; z-index: 1; }
.slide-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .5rem; }
.tag-show   { background: rgba(229,62,62,.3); color: #ffaaaa; }
.tag-news   { background: rgba(74,158,255,.3); color: #aaccff; }
.tag-event  { background: rgba(56,161,105,.3); color: #aaffc4; }
.slide-title { color: #fff; font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.slide-sub   { color: rgba(255,255,255,.7); font-size: .8rem; margin-top: .25rem; }
.slider-btn  { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; font-size: 16px; transition: background .15s; }
.slider-btn:hover { background: rgba(229,62,62,.7); }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.slider-dots { display: flex; justify-content: center; gap: 6px; padding: .6rem 0; background: var(--bg2); }
.slider-dot  { width: 6px; height: 6px; border-radius: 3px; background: var(--border2); cursor: pointer; transition: all .25s; }
.slider-dot.active { width: 18px; background: var(--accent); }

/* ── Hero / On Air ── */
.hero-section { background: var(--bg2); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 220px; }
.hero-content { padding: 2rem 1.5rem; }
.on-air-badge { display: flex; align-items: center; gap: 7px; margin-bottom: .75rem; }
.on-air-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse-dot 1.2s infinite; }
.on-air-text { color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.hero-show { font-size: 1.3rem; font-weight: 600; color: var(--white); line-height: 1.3; margin-bottom: .3rem; }
.hero-meta { color: var(--text3); font-size: .8rem; margin-bottom: 1rem; }
.host-chip { display: flex; align-items: center; gap: 8px; margin-bottom: 1.25rem; }
.host-av { width: 36px; height: 36px; border-radius: 50%; background: var(--bg4); object-fit: cover; border: 2px solid var(--border2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 600; color: var(--text2); }
.host-name { color: var(--text); font-size: .875rem; font-weight: 500; }
.host-since { color: var(--text3); font-size: .75rem; }
.webcam-box { background: #060610; position: relative; overflow: hidden; }
.webcam-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 20px 20px; }
.webcam-iframe { width: 100%; height: 100%; border: none; }
.webcam-off { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: .5rem; color: var(--text4); font-size: .875rem; }
.cam-rec-badge { position: absolute; top: 8px; right: 8px; display: flex; align-items: center; gap: 4px; background: rgba(229,62,62,.85); padding: 2px 8px; border-radius: 4px; }
.cam-rec-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse-dot 1s infinite; }
.cam-label { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,.65); padding: 2px 8px; border-radius: 4px; color: #fff; font-size: .75rem; }

/* ── Schedule strip ── */
.schedule-strip { background: var(--bg); border-top: 1px solid var(--border); padding: 1.25rem 0; }
.sched-cards { display: flex; gap: 8px; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.sched-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: .75rem; min-width: 130px; flex-shrink: 0; }
.sched-card.now-playing { border-color: var(--accent); background: var(--bg4); }
.sc-time { color: var(--text3); font-size: .7rem; margin-bottom: 3px; }
.sc-time.live { color: var(--accent); }
.sc-show { color: var(--text); font-size: .8rem; font-weight: 500; }
.sc-host { color: var(--text4); font-size: .7rem; margin-top: 2px; }

/* ── Full schedule page ── */
.schedule-page { padding: 2rem 0; }
.day-selector { display: flex; gap: 4px; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.day-tab { padding: .5rem .9rem; border-radius: var(--radius); cursor: pointer; font-size: .875rem; color: var(--text3); border: none; background: transparent; transition: all .15s; }
.day-tab:hover { color: var(--white); background: var(--bg3); }
.day-tab.active { background: var(--bg3); color: var(--white); border: 1px solid var(--border2); }
.day-tab.today .day-name { color: var(--accent); }
.show-card-full { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; overflow: hidden; margin-bottom: .75rem; cursor: pointer; transition: border-color .15s; }
.show-card-full:hover { border-color: var(--border2); }
.show-card-full.live-now { border-color: var(--accent); }
.sc-artwork { width: 90px; height: 90px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 2rem; position: relative; }
.sc-artwork img { width: 100%; height: 100%; object-fit: cover; }
.sc-live-badge { position: absolute; top: 4px; left: 4px; background: var(--accent); color: #fff; font-size: .6rem; font-weight: 700; padding: 1px 5px; border-radius: 3px; letter-spacing: .5px; }
.sc-body { padding: .75rem 1rem; flex: 1; }
.sc-time-row { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.sc-time-txt { color: var(--text3); font-size: .8rem; }
.sc-dur-badge { color: var(--text4); font-size: .7rem; padding: 1px 6px; border-radius: 3px; border: 1px solid var(--border2); }
.sc-title { color: var(--white); font-size: .95rem; font-weight: 500; }
.sc-desc { color: var(--text3); font-size: .8rem; line-height: 1.4; margin: 3px 0 8px; }
.sc-host-row { display: flex; align-items: center; gap: 6px; }
.sc-hav { width: 22px; height: 22px; border-radius: 50%; background: var(--bg4); object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 600; color: var(--text3); }
.sc-hname { color: var(--text2); font-size: .8rem; }
.sc-genre { font-size: .7rem; padding: 1px 6px; border-radius: 3px; margin-left: auto; }
.genre-musik  { background: rgba(74,158,255,.15); color: var(--blue); }
.genre-talk   { background: rgba(56,161,105,.15); color: var(--green); }
.genre-news   { background: rgba(214,158,46,.15); color: var(--amber); }
.genre-mixed  { background: rgba(159,122,234,.15); color: #9f7aea; }
.empty-slot-card { background: var(--bg3); border: 1px dashed var(--border2); border-radius: var(--radius-lg); height: 70px; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--text4); font-size: .875rem; cursor: pointer; margin-bottom: .75rem; transition: border-color .15s, color .15s; }
.empty-slot-card:hover { border-color: var(--accent); color: var(--accent); }

/* ── Community ── */
.comm-layout { display: grid; grid-template-columns: 1fr 240px; gap: 1.5rem; padding: 2rem 0; }
.compose-box { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem; margin-bottom: 1rem; }
.compose-inner { display: flex; gap: .75rem; }
.compose-av { width: 32px; height: 32px; border-radius: 50%; background: var(--bg4); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 600; color: var(--text3); }
.compose-field { flex: 1; background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--radius); padding: .6rem .9rem; color: var(--text); font-size: .875rem; resize: none; outline: none; min-height: 60px; }
.compose-field:focus { border-color: var(--accent); }
.compose-toolbar { display: flex; align-items: center; gap: .75rem; margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--border); }
.compose-icon { color: var(--text4); font-size: 1rem; cursor: pointer; background: none; border: none; }
.compose-icon:hover { color: var(--text2); }
.post-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem; margin-bottom: .75rem; }
.post-card.pinned { border-color: rgba(214,158,46,.3); background: #141210; }
.post-header { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.post-av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.post-name { color: var(--text); font-size: .875rem; font-weight: 500; }
.role-badge { font-size: .65rem; padding: 1px 7px; border-radius: 3px; margin-left: 4px; }
.role-admin { background: rgba(229,62,62,.2); color: var(--accent); }
.role-dj { background: rgba(74,158,255,.2); color: var(--blue); }
.role-editor { background: rgba(214,158,46,.2); color: var(--amber); }
.role-mod { background: rgba(56,161,105,.2); color: var(--green); }
.post-time { color: var(--text4); font-size: .75rem; margin-left: auto; }
.pin-icon { color: var(--amber); margin-left: 4px; }
.post-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: .5rem; }
.post-tag { background: var(--bg4); color: var(--text3); font-size: .7rem; padding: 1px 7px; border-radius: 3px; cursor: pointer; }
.post-tag:hover { color: var(--text); }
.post-text { color: #bbb; font-size: .875rem; line-height: 1.55; margin-bottom: .65rem; }
.post-image { width: 100%; border-radius: var(--radius); margin-bottom: .65rem; max-height: 250px; object-fit: cover; }
.post-actions { display: flex; align-items: center; gap: 1rem; padding-top: .5rem; border-top: 1px solid var(--border); }
.post-action { display: flex; align-items: center; gap: 4px; color: var(--text4); font-size: .8rem; cursor: pointer; background: none; border: none; transition: color .15s; }
.post-action:hover { color: var(--text2); }
.post-action.liked { color: var(--accent); }
.comments-section { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--border); display: none; }
.comment { display: flex; gap: .5rem; margin-bottom: .5rem; }
.comment-av { width: 24px; height: 24px; border-radius: 50%; background: var(--bg4); flex-shrink: 0; font-size: .65rem; display: flex; align-items: center; justify-content: center; color: var(--text3); }
.comment-body { flex: 1; background: var(--bg2); border-radius: var(--radius); padding: .4rem .7rem; font-size: .8rem; color: var(--text2); }
.comment-name { font-weight: 500; color: var(--text); font-size: .8rem; }

/* ── Sidebar widgets ── */
.sidebar-widget { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: .9rem; margin-bottom: .75rem; }
.widget-title { color: var(--text3); font-size: .7rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .65rem; }
.online-row { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; }
.online-av { width: 24px; height: 24px; border-radius: 50%; background: var(--bg4); position: relative; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 600; color: var(--text3); }
.online-status { position: absolute; bottom: 0; right: 0; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--bg3); }
.status-online { background: var(--green); }
.status-idle { background: var(--amber); }
.online-name { color: var(--text2); font-size: .8rem; }
.online-role { color: var(--text4); font-size: .7rem; margin-left: auto; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 4px; }
.tc-tag { background: var(--bg4); color: var(--text3); font-size: .7rem; padding: 3px 8px; border-radius: 4px; cursor: pointer; }
.tc-tag:hover { color: var(--text); }
.tc-tag.hot { background: rgba(229,62,62,.12); color: #e87979; border: 1px solid rgba(229,62,62,.2); }
.stat-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.stat-box { background: var(--bg2); border-radius: var(--radius); padding: 7px; text-align: center; }
.stat-val { color: var(--white); font-size: 1.1rem; font-weight: 600; }
.stat-key { color: var(--text4); font-size: .65rem; margin-top: 1px; }

/* ── Studio ── */
.studio-layout { display: grid; grid-template-columns: 1fr 280px; min-height: calc(100vh - 56px); }
.studio-sidebar { background: var(--bg3); border-left: 1px solid var(--border); padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.studio-main { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.go-live-btn { width: 100%; padding: .75rem; border-radius: var(--radius); border: none; color: #fff; font-size: .9rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.go-live-btn.live { background: var(--accent); }
.go-live-btn.ready { background: var(--green); }
.go-live-btn.blocked { background: var(--bg4); color: var(--text4); cursor: not-allowed; }
.blocked-notice { background: rgba(214,158,46,.1); border: 1px solid rgba(214,158,46,.3); border-radius: var(--radius); padding: .6rem .9rem; }
.blocked-notice p { color: var(--amber); font-size: .8rem; line-height: 1.5; }
.handover-box { background: rgba(56,161,105,.08); border: 1px solid rgba(56,161,105,.25); border-radius: var(--radius); padding: .75rem; }
.handover-title { color: var(--green); font-size: .8rem; margin-bottom: .25rem; }
.handover-countdown { color: var(--white); font-size: 1.4rem; font-weight: 600; }
.handover-sub { color: var(--text3); font-size: .75rem; margin-top: 2px; }
.waveform-box { background: var(--bg3); border-radius: var(--radius); border: 1px solid var(--border); padding: .6rem .9rem; }
.waveform { display: flex; align-items: center; gap: 2px; height: 44px; }
.wave-bar { flex: 1; background: var(--accent); border-radius: 1px; opacity: .7; min-height: 3px; transition: height .1s; }
.mixer-grid { display: flex; gap: 6px; }
.mixer-ch { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: .6rem 4px; flex: 1; text-align: center; }
.ch-label { color: var(--text4); font-size: .65rem; text-transform: uppercase; letter-spacing: .3px; margin-bottom: .4rem; }
.ch-fader { width: 4px; height: 55px; background: var(--border2); border-radius: 2px; margin: 0 auto .4rem; position: relative; cursor: pointer; }
.ch-fill { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 2px; }
.ch-vol { color: var(--text4); font-size: .7rem; }
.music-tabs { display: flex; border-bottom: 1px solid var(--border); }
.music-tab { flex: 1; padding: .5rem; text-align: center; color: var(--text3); font-size: .8rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.music-tab.active { color: var(--white); border-bottom-color: var(--accent); background: rgba(229,62,62,.05); }
.track-list { display: flex; flex-direction: column; }
.track-row { display: flex; align-items: center; gap: .6rem; padding: .4rem .5rem; border-radius: var(--radius); cursor: pointer; }
.track-row:hover { background: var(--bg4); }
.track-row.playing { background: rgba(229,62,62,.1); border-left: 2px solid var(--accent); padding-left: calc(.5rem - 2px); }
.track-num { color: var(--text4); font-size: .75rem; width: 16px; text-align: right; flex-shrink: 0; }
.track-info { flex: 1; min-width: 0; }
.track-name { color: var(--text2); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-name.now { color: var(--white); }
.track-artist { color: var(--text4); font-size: .7rem; }
.track-dur { color: var(--text3); font-size: .75rem; flex-shrink: 0; }
.upload-zone { border: 1px dashed var(--border2); border-radius: var(--radius); padding: 1rem; text-align: center; cursor: pointer; }
.upload-zone:hover { border-color: var(--accent); }
.upload-zone-icon { font-size: 1.4rem; color: var(--text4); margin-bottom: .35rem; }
.upload-zone-text { color: var(--text3); font-size: .8rem; }
.upload-zone-hint { color: var(--text4); font-size: .7rem; margin-top: 2px; }
.guest-row { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; }
.guest-av { width: 26px; height: 26px; border-radius: 50%; background: var(--bg4); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 600; color: #fff; flex-shrink: 0; }
.guest-name { color: var(--text2); font-size: .8rem; flex: 1; }
.guest-badge { font-size: .65rem; padding: 1px 6px; border-radius: 3px; }
.badge-live { background: rgba(229,62,62,.2); color: var(--accent); border: 1px solid rgba(229,62,62,.3); }
.badge-wait { background: rgba(214,158,46,.2); color: var(--amber); border: 1px solid rgba(214,158,46,.3); }
.badge-mute { background: var(--bg4); color: var(--text4); border: 1px solid var(--border2); }
.stream-info-box { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: .6rem .9rem; }
.sinfo-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3px; }
.sinfo-row:last-child { margin-bottom: 0; }
.sinfo-key { color: var(--text4); font-size: .75rem; }
.sinfo-val { color: var(--text2); font-size: .75rem; font-weight: 500; }

/* ── Admin ── */
.admin-layout { display: grid; grid-template-columns: 200px 1fr; min-height: calc(100vh - 56px); }
.admin-nav { background: var(--bg3); border-right: 1px solid var(--border); padding: .75rem 0; }
.admin-nav-item { display: flex; align-items: center; gap: .5rem; padding: .55rem 1rem; color: var(--text3); font-size: .875rem; cursor: pointer; transition: all .15s; }
.admin-nav-item:hover { color: var(--white); background: var(--bg4); }
.admin-nav-item.active { color: var(--white); background: var(--bg4); border-right: 2px solid var(--accent); }
.admin-nav-sep { height: 1px; background: var(--border); margin: .4rem .75rem; }
.admin-content { padding: 1.5rem; overflow-x: hidden; }
.admin-page { display: none; }
.admin-page.active { display: block; }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.page-title { color: var(--white); font-size: 1.1rem; font-weight: 500; }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: .75rem; margin-bottom: 1.25rem; }
.stat-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: .9rem 1rem; }
.stat-label { color: var(--text3); font-size: .75rem; margin-bottom: .25rem; }
.stat-number { color: var(--white); font-size: 1.5rem; font-weight: 600; }
.stat-number.red { color: var(--accent); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem; }
.admin-card-title { color: var(--text3); font-size: .7rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .9rem; }
.setting-row { display: flex; align-items: center; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid var(--border); }
.setting-row:last-child { border: none; }
.setting-label { color: var(--text2); font-size: .875rem; }
.color-swatches { display: flex; gap: 6px; flex-wrap: wrap; margin-top: .4rem; }
.color-swatch { width: 28px; height: 28px; border-radius: 6px; cursor: pointer; border: 2px solid transparent; }
.color-swatch.selected { border-color: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.data-table th { text-align: left; color: var(--text3); font-size: .75rem; font-weight: 500; padding: .5rem .75rem; border-bottom: 1px solid var(--border); }
.data-table td { padding: .6rem .75rem; border-bottom: 1px solid var(--border); color: var(--text2); vertical-align: middle; }
.data-table tr:last-child td { border: none; }
.data-table tr:hover td { background: var(--bg4); }

/* ── Editor (Redaktion) ── */
.editor-toolbar { display: flex; gap: 3px; flex-wrap: wrap; margin-bottom: .6rem; }
.editor-btn { background: var(--bg4); border: 1px solid var(--border2); color: var(--text3); font-size: .75rem; padding: 3px 8px; border-radius: 4px; cursor: pointer; }
.editor-btn:hover { color: var(--white); }
#editor-title { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--border); color: var(--white); font-size: 1.1rem; font-weight: 500; padding: .5rem 0; outline: none; margin-bottom: .6rem; }
#editor-body { width: 100%; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: .875rem; line-height: 1.6; min-height: 200px; padding: .75rem; outline: none; resize: vertical; }
.article-row { display: flex; align-items: center; gap: .75rem; background: var(--bg2); border-radius: var(--radius); border: 1px solid var(--border); padding: .6rem .9rem; margin-bottom: .4rem; cursor: pointer; }
.article-row:hover { border-color: var(--border2); }
.article-thumb { width: 52px; height: 40px; border-radius: 5px; object-fit: cover; flex-shrink: 0; background: var(--bg4); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.article-body { flex: 1; min-width: 0; }
.article-title { color: var(--text); font-size: .875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.article-meta { color: var(--text4); font-size: .75rem; margin-top: 2px; }
.status-pill { font-size: .7rem; padding: 2px 8px; border-radius: 3px; flex-shrink: 0; }
.s-published { background: rgba(56,161,105,.2); color: var(--green); }
.s-draft { background: var(--bg4); color: var(--text3); }
.s-review { background: rgba(214,158,46,.2); color: var(--amber); }
.s-scheduled { background: rgba(74,158,255,.2); color: var(--blue); }

/* ── Alerts / Toasts ── */
.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--radius); padding: .75rem 1.1rem; font-size: .875rem; color: var(--text); z-index: 9999; display: flex; align-items: center; gap: .6rem; transform: translateY(80px); opacity: 0; transition: all .3s; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: rgba(56,161,105,.5); }
.toast.error { border-color: rgba(229,62,62,.5); }

/* ── Modal ── */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 500; display: flex; align-items: center; justify-content: center; display: none; }
.modal-bg.open { display: flex; }
.modal { background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--radius-lg); padding: 1.5rem; width: 100%; max-width: 480px; }
.modal-title { color: var(--white); font-size: 1rem; font-weight: 500; margin-bottom: 1rem; }
.modal-actions { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1.25rem; }

/* ── Utility ── */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-muted { color: var(--text3); font-size: .8rem; }
.text-accent { color: var(--accent); }
.text-green { color: var(--green); }
.fw-500 { font-weight: 500; }
.hidden { display: none; }
.sep { height: 1px; background: var(--border); margin: .75rem 0; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: .7rem; font-weight: 500; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-grid, .studio-layout, .admin-layout, .comm-layout { grid-template-columns: 1fr; }
  .admin-nav { display: none; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .studio-sidebar { order: -1; }
}

/* ── Mikrofon-Button ── */
.go-live-btn.ready { background: var(--green); color: #fff; }
.go-live-btn.live  { background: var(--accent); color: #fff; animation: pulse-live 2s infinite; }
@keyframes pulse-live {
  0%,100% { box-shadow: 0 0 0 0 rgba(229,62,62,.4); }
  50%      { box-shadow: 0 0 0 8px rgba(229,62,62,0); }
}
.go-live-btn.blocked { background: var(--bg4); color: var(--text4); cursor: not-allowed; }

/* ── Design admin preview ── */
#site-preview { font-family: system-ui, sans-serif; }
