/* Compact density, full available width, readable touch inputs. */
body{font-size:14px;line-height:1.45}
body>.shell{padding-top:12px;padding-left:16px;padding-right:16px}
body h1,body h2,body h3{line-height:1.2}
body h1{font-size:26px}body h2{font-size:21px}body h3{font-size:18px}
body .card,body #home,body #showHeader,body #submissionPanel,body #playlistPanel,body #playedPanel{padding:16px;border-radius:12px;margin-bottom:14px}
body .section-head{margin-bottom:12px;gap:10px}
body button,body .tab{min-height:38px;padding:8px 12px;font-size:13px;line-height:1.3;border-radius:8px}
body input:not([type=checkbox]):not([type=radio]),body select,body textarea{font-size:16px;padding:9px 11px;min-height:42px}
body form{gap:10px}body label{font-size:13px;gap:5px}
body dialog{padding:20px;max-width:640px;max-height:calc(100dvh - 32px)}
body dialog h2{font-size:22px;margin:0 0 14px}
body #home>.section-head{margin-bottom:18px}
body #home>.section-head h1{font-size:26px;margin-bottom:6px}
body #home>.section-head p{font-size:13px}
body #shows .show-group{margin-bottom:18px}
body #shows .show-group>h3{font-size:19px;margin-bottom:12px}
body #shows .overview-show{padding:14px;gap:10px 16px;margin-bottom:10px}
body #shows .show-card-heading h3,body #shows .show-card-heading .show-calendar{font-size:19px}
body #shows .show-clock{font-size:12px}
body #shows button{min-height:38px;padding:8px 11px;font-size:13px}
body #shows .submission-cta{min-height:42px!important;font-size:15px!important}
body .empty-shows{padding:16px;font-size:14px}
body .show-facts .pill,body #shows .show-facts .pill,body #detailHeading .show-facts .pill{font-size:12px;padding:6px 8px}
body.detail-mode #detailHeading h1,body.detail-mode #detailHeading>p.show-calendar{font-size:24px}
body #detailHeading>.overline{margin-bottom:6px}
body #detailHeading>.show-facts{margin:10px 0}
body #detailHeading>.personal-voting{font-size:14px;margin:8px 0}
body #showNavigation button,body #showNavigation .reference-secondary-actions>button{min-height:38px;padding:8px 11px;font-size:13px}
body #showNavigation .phase-navigation summary{font-size:13px;padding:9px 0}
body .reference-show-grid{gap:14px}
body #inlineSongTitle{font-size:21px;margin-bottom:10px}
body #ownSongStatus{padding:8px 10px;margin-bottom:10px;font-size:13px}
body #submissionPanel #songForm{gap:10px}
body #submissionPanel #songForm label{font-size:13px;gap:5px}
body #submissionPanel #songForm input:not([type=checkbox]){min-height:42px;padding:9px 11px}
body #songSaveBtn{font-size:14px;min-height:42px}
body #playlistPanel>.section-head h2{font-size:21px}
body #queueCount,body #playedCount{font-size:12px;padding:7px 11px}
body #queue .song,body #playedSongs .song{padding:12px;gap:10px}
body .songinfo strong{font-size:17px}
body .songinfo .song-warning{display:inline-flex;align-items:center;width:fit-content;max-width:100%;box-sizing:border-box;padding:5px 9px;border:1px solid #a74452;border-radius:999px;background:#3b1720;color:#ffd6dc;font-size:12px;font-weight:750;line-height:1.3;overflow-wrap:anywhere}
body .songinfo button,body .song-actions button,body .song-actions a{font-size:13px;min-height:38px;padding:8px 10px}
body #playedPanel>summary{font-size:20px}
body #liveDisplay.live-hero{padding:12px!important;grid-template-columns:56px minmax(0,1fr);gap:4px 10px}
body #liveDisplay.live-hero #liveCover,body #liveDisplay.live-hero #liveArtwork{width:56px!important;height:56px!important}
body #liveDisplay.live-hero #liveTitle{font-size:18px!important}
body header.compact-masthead,body.detail-mode header.compact-masthead{gap:12px 24px;padding-bottom:14px;margin-bottom:14px}
body header.compact-masthead .brand img.logo,body.detail-mode header.compact-masthead .brand img.logo{width:58px;height:58px;border-radius:12px}
body .brand-copy strong{font-size:22px}
body header.compact-masthead #overviewIdentity{min-height:42px;padding:6px 10px}
body #overviewIdentity strong{font-size:15px}
body #userDetail .show-entry,body #usersRows .show-entry{padding:12px;margin-bottom:10px}
body #userDetail p{margin:7px 0}
@media(max-width:760px){
 body>.shell{padding:8px max(8px,env(safe-area-inset-right)) 0 max(8px,env(safe-area-inset-left))}
 body .card,body #home,body #showHeader,body #submissionPanel,body #playlistPanel,body #playedPanel{padding:12px}
 body button,body #shows button,body #showNavigation button,body #showNavigation .reference-secondary-actions>button,body .song-actions button,body .song-actions a,body .songinfo button{min-height:44px}
 body header.compact-masthead .brand img.logo,body.detail-mode header.compact-masthead .brand img.logo{width:48px;height:48px}
 body .brand-copy strong{font-size:20px}
 body #shows .show-card-heading h3,body #shows .show-card-heading .show-calendar{font-size:18px}
 body #detailHeading h1,body.detail-mode #detailHeading h1,body.detail-mode #detailHeading>p.show-calendar{font-size:22px}
 body #showNavigation .reference-primary-actions,body #showNavigation .reference-secondary-actions{gap:6px}
 body .songinfo strong{font-size:16px}
}

/* Desktop: use the width for controls instead of stacking full-width rows. */
@media(min-width:1000px){
 body header.compact-masthead,body.detail-mode header.compact-masthead{grid-template-columns:minmax(240px,1fr) minmax(390px,520px);gap:8px 24px;padding-top:0;padding-bottom:10px;margin-bottom:10px}
 body header.compact-masthead .header-actions{width:100%;gap:4px}
 body header.compact-masthead .support-note p{font-size:11px;line-height:1.35;margin:0 0 5px}
 body header.compact-masthead #overviewAccount{gap:8px}
 body #showHeader{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);align-items:start;gap:20px;padding:14px;margin-bottom:12px}
 body #detailHeading{display:block;min-width:0}
 body #detailHeading>.overline{margin:0 0 6px}
 body #detailHeading>.personal-voting{margin:6px 0}
 body #detailHeading>.show-clock{margin:5px 0}
 body #detailHeading>.show-facts{margin:8px 0 0;gap:5px}
 body #showNavigation{grid-column:2;grid-row:1;min-width:0}
 body #showNavigation .show-shortcuts{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px}
 body #showNavigation .reference-primary-actions,body #showNavigation .reference-secondary-actions{display:flex;flex-wrap:wrap;gap:6px}
 body #showNavigation .phase-navigation{width:auto;min-width:180px;flex:0 1 240px;margin:0}
 body #showNavigation .phase-navigation[open]{flex-basis:100%;width:100%}
 body #showNavigation .reference-extra-actions{flex-basis:100%;margin:0}
 body #showNavigation .reference-extra-actions summary{padding:8px 0}
 body #showNavigation .special-controls{margin:4px 0 0;padding:8px 0 0}
 body #showTools{margin-top:8px}
 body #showTools summary{padding:8px 0}
 body #showHeader button{min-height:36px}
}

@media(min-width:1000px){
 body #showHeader{grid-template-columns:minmax(340px,440px) minmax(0,1fr);gap:0 20px}
 body #detailHeading{grid-column:1;grid-row:1/3}
 body #showHeader>#showTools{grid-column:2;grid-row:2;align-self:start}
 body #showHeader{grid-template-rows:auto 1fr}
 body #detailHeading>.show-facts{display:flex;flex-wrap:wrap}
}

/* Compact expanded controls: phase choices are buttons, not full-width panels. */
body #showNavigation .phase-navigation[open]{padding:6px 10px}
body #showNavigation .phase-navigation[open]>button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:36px;padding:7px 10px;margin:3px 4px 3px 0;font-size:12px;gap:5px}
body #showNavigation .phase-navigation[open]>summary{padding:4px 0 6px}
body #showNavigation .next-phase:after{content:'→';float:none;margin-left:5px;font-size:14px}
body #showTools #queueButtons,body #showTools #liveButtons{margin:4px 0;gap:6px}
body #showTools button{min-height:36px;padding:7px 10px;font-size:12px}
body #showTools[open]>summary{padding-bottom:5px}
@media(min-width:1000px){
 body #showTools[open]{display:flex;flex-wrap:wrap;align-content:start;gap:4px 10px}
 body #showTools[open]>summary{flex-basis:100%;width:100%}
 body #showTools #queueButtons,body #showTools #liveButtons{flex-basis:auto!important;display:flex;flex-wrap:wrap}
 body #queue .song,body #playedSongs .song{grid-template-columns:36px minmax(180px,1fr) minmax(240px,.8fr);padding:10px;gap:6px 10px;margin:8px 0;align-items:center}
 body #queue .song-position{min-height:36px;width:36px;font-size:15px}
 body #queue .songinfo,body #playedSongs .songinfo{grid-column:2;grid-row:1/3;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding-top:0}
 body #queue .songinfo strong,body #playedSongs .songinfo strong{flex-basis:100%;font-size:15px;padding-right:0}
 body .songinfo p,body .songinfo small{margin:0}
 body .songinfo .profile-avatar{width:26px;height:26px;min-width:26px;font-size:12px}
 body .songinfo .song-byline{font-size:12px!important}
 body .songinfo .song-duration{font-size:12px}
 body .songinfo button{min-height:30px;padding:5px 8px;font-size:11px;margin:0}
 body #queue .song-time,body #playedSongs .song-time{grid-column:3;grid-row:1;justify-self:end;font-size:11px}
 body #queue .song-actions,body #playedSongs .song-actions{grid-column:3;grid-row:2;align-self:center;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;margin:0}
 body #queue .song-actions button,body #playedSongs .song-actions button,body .song-actions a{min-height:34px;padding:6px 9px;font-size:12px;flex:0 1 auto!important}
 body #queue .song-actions button.icon-action,body #playedSongs .song-actions button.icon-action{width:34px;min-width:34px;min-height:34px}
 body .live-song-tag{margin-bottom:3px;font-size:10px}
}
@media(max-width:760px){
 body #showNavigation .phase-navigation[open]>button{min-height:44px}
 body #showTools button{min-height:44px}
}

@media(min-width:1000px){
 body #showNavigation .phase-navigation[open]{flex:0 1 auto;width:auto;max-width:100%;min-width:0}
 body #showNavigation .show-shortcuts{align-items:flex-start}
 body #showTools #queueButtons,body #showTools #liveButtons{display:inline-flex;width:auto;vertical-align:top}
 body #showTools #liveButtons button{flex:0 1 auto}
 body #specialControls>button:first-child{width:150px;white-space:nowrap}
}

/* Desktop control desk: compact horizontal structure, not miniature text. */
@media(min-width:1100px){
 body header.compact-masthead,body.detail-mode header.compact-masthead{grid-template-columns:240px minmax(300px,1fr) 420px;gap:12px;align-items:center;margin-bottom:8px;padding-bottom:8px}
 body header.compact-masthead .brand{grid-column:1;grid-row:1}
 body header.compact-masthead .brand img.logo,body.detail-mode header.compact-masthead .brand img.logo{width:44px;height:44px}
 body header.compact-masthead .brand{gap:9px}
 body header.compact-masthead .brand-copy strong{font-size:19px}
 body header.compact-masthead .brand .brand-show{font-size:10px;margin-left:4px}
 body header.compact-masthead .header-actions{grid-column:3;grid-row:1}
 body header.compact-masthead #overviewAccount{grid-column:2;grid-row:1;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px}
 body header.compact-masthead #overviewIdentity{display:flex;align-items:center;gap:8px;min-height:30px;padding:4px 8px}
 body header.compact-masthead #overviewIdentity small{display:none}
 body header.compact-masthead .overview-shortcuts button{min-height:32px;padding:6px 9px;font-size:12px}
 body header.compact-masthead .community-links a{min-height:34px;padding:6px 9px}
 body #showHeader{display:block;padding:10px 12px}
 body #detailHeading{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
 body #detailHeading>.overline{display:none}
 body.detail-mode #detailHeading h1,body.detail-mode #detailHeading>p.show-calendar{font-size:18px;line-height:1.3;margin:0}
 body #detailHeading>.show-clock,body #detailHeading>.personal-voting{font-size:12px;margin:0}
 body #detailHeading>.show-facts{flex-basis:100%;margin:2px 0 6px;gap:5px}
 body #detailHeading .show-facts .pill{font-size:11px;padding:4px 7px}
 body #showNavigation{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
 body #showNavigation .show-shortcuts{display:contents}
 body #showNavigation .reference-primary-actions,body #showNavigation .reference-secondary-actions{gap:5px}
 body #showNavigation .reference-extra-actions{flex-basis:auto;margin:0}
 body #showNavigation .phase-navigation{min-width:150px;flex:0 1 auto;width:auto}
 body #showNavigation .phase-navigation[open]{flex-basis:100%}
 body #showNavigation button,body #showTools button{min-height:32px;padding:6px 9px;font-size:12px}
 body #showNavigation .special-controls{margin:0;padding:0;border:0;gap:5px}
 body #showNavigation .special-controls>button:first-child{width:142px}
 body #showTools{border:0;margin:5px 0 0}
 body #showTools summary{padding:4px 0;font-size:12px}
 body #showTools #queueButtons,body #showTools #liveButtons{margin:2px 0}
 body .reference-show-grid{grid-template-columns:240px minmax(0,1fr);gap:10px}
 body #submissionPanel{padding:12px}
 body #submissionPanel>.overline{font-size:10px;margin-bottom:5px}
 body #inlineSongTitle{font-size:18px;margin-bottom:8px}
 body #submissionPanel .submission-note{font-size:11px;margin-top:10px}
 body #playlistPanel{padding:12px}
 body #playlistPanel>.overline{display:none}
 body #playlistPanel>.section-head{flex-wrap:nowrap;margin-bottom:6px;gap:10px}
 body #playlistPanel>.section-head h2{flex:1 1 auto;font-size:18px}
 body #queueCount{width:auto;flex:0 0 auto;padding:5px 10px}
 body #queueCapacity{font-size:12px;margin:4px 0}
 body #queueHint{font-size:11px;margin:4px 0 8px}
 body #specialStage{max-width:520px;height:220px;min-height:220px;grid-template-rows:10px 22px minmax(0,1fr) 14px 32px;gap:5px;padding:12px;margin:8px 0 10px}
 body #specialStage>h2{font-size:17px;line-height:22px}
 body #specialStage .special-result img,body #specialStage .special-result-placeholder{width:56px;height:56px}
 body #specialStage .special-result strong{font-size:20px}
 body #specialStage .special-card{height:86px;padding:6px;gap:3px}
 body #specialStage .special-card img,body #specialStage .special-placeholder{width:32px;height:32px;font-size:22px}
 body #specialStage>.special-status{line-height:14px;font-size:10px}
 body #specialStage .special-audio button{height:32px;min-height:32px}
}

/* Original REALTALK identity within the fixed broadcast frame. */
body #specialStage{border-color:#a73750;background:radial-gradient(ellipse at 15% 100%,#83122e77,transparent 58%),linear-gradient(115deg,#11090e,#250b17 52%,#09090e);box-shadow:inset 0 1px 0 #ffb9c51f,0 8px 30px #0005}
body #specialStage:before{content:'';position:absolute;right:-15px;top:50%;width:210px;height:210px;transform:translateY(-50%) rotate(-12deg);background:url('/logo-header.webp') center/contain no-repeat;filter:grayscale(1) invert(1);mix-blend-mode:screen;opacity:.11;pointer-events:none;z-index:0}
body #specialStage>.special-eyebrow{color:#ff96af;font-weight:850;letter-spacing:3.5px}
body #specialStage>h2{letter-spacing:-.3px;text-shadow:0 2px 16px #ef245849}
body #specialStage .special-result-placeholder{background:linear-gradient(135deg,#ff3e65,#a70a37);border:1px solid #ff789650;box-shadow:0 0 25px #ff1e4735,inset 0 1px 0 #ffc6d552}
body #specialStage .special-result img{border:1px solid #ff7c9750}
body #specialStage.special-drawing{border-color:#ff4d78;box-shadow:0 0 24px #ee235b2b,inset 0 0 34px #a7092928}
body #specialStage.special-revealed{border-color:#ed5879}
body #specialStage .special-card:nth-child(2){border-color:#ff7895;background:linear-gradient(150deg,#741531b3,#170d17);box-shadow:0 0 25px #fa21554a,inset 0 1px 0 #ffc2d322}
@media(min-width:1100px){body #showHeader{border-top:2px solid #be2042;background:linear-gradient(105deg,#241019,#131218 40%,#111115)}body #playlistPanel{border-top-color:#843148}}
@media(prefers-reduced-motion:no-preference){body #specialStage.special-drawing:before{animation:rt-logo-awaken 3s ease-in-out infinite alternate}}
@keyframes rt-logo-awaken{from{opacity:.08;transform:translateY(-50%) rotate(-12deg) scale(.97)}to{opacity:.18;transform:translateY(-50%) rotate(-8deg) scale(1.03)}}

/* Reference proportions: centered desktop canvas, clear submission/playlist balance. */
@media(min-width:1100px){
 body>.shell{width:100%;max-width:1228px;margin-inline:auto;padding-inline:24px}
 body .reference-show-grid{grid-template-columns:320px minmax(0,1fr);gap:24px}
 body #submissionPanel,body #playlistPanel{padding:20px}
 body header.compact-masthead,body.detail-mode header.compact-masthead{grid-template-columns:250px minmax(240px,1fr) 360px;gap:16px}
 body #showHeader{padding:18px 20px;margin-bottom:24px}
 body #detailHeading{gap:8px 14px}
 body.detail-mode #detailHeading h1{font-size:24px}
 body #detailHeading>.show-facts{margin:5px 0 10px}
 body #showNavigation{gap:8px 12px}
 body #playlistPanel>.section-head h2{font-size:22px}
 body #queue .song,body #playedSongs .song{grid-template-columns:36px minmax(140px,1fr) minmax(200px,.8fr);gap:8px;padding:12px}
 body #inlineSongTitle{font-size:21px}
}

/* Compact broadcast panel and adjacent transport; phase selection has one active state. */
body .special-desk{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:12px;align-items:center;margin:12px 0}
body .special-desk[hidden]{display:none}
body .special-desk #specialStage{width:100%;max-width:420px;height:200px;min-height:200px;margin:0;padding:10px;grid-template-rows:10px 20px minmax(0,1fr) 14px 30px;gap:4px}
body .special-desk #specialStage>h2{font-size:16px;line-height:20px}
body .special-desk #specialStage .special-card{height:70px;padding:4px;gap:2px}
body .special-desk #specialStage .special-card img,body .special-desk #specialStage .special-placeholder{width:26px;height:26px;font-size:20px}
body .special-desk #specialStage .special-result strong{font-size:18px}
body .special-desk #specialStage .special-result img,body .special-desk #specialStage .special-result-placeholder{width:48px;height:48px}
body .special-desk #specialStage .special-audio{gap:5px}
body .special-desk #specialStage .special-audio button{font-size:11px;min-height:30px;height:30px;padding:4px 7px}
body .special-desk #specialStage .special-audio input{max-width:60px}
body .special-transport{display:grid;gap:7px}
body .special-transport button{min-height:36px;font-size:12px;padding:7px 8px}
body #showHeader>.phase-strip{display:flex;flex-wrap:wrap;gap:6px;min-width:0;width:100%;margin:12px 0 0;padding:12px 0 0;border:0;border-top:1px solid #ffffff17;background:none;box-shadow:none}
body #showHeader>.phase-strip>summary{display:none}
body #showHeader>.phase-strip>button{flex:1 1 auto;width:auto;min-height:36px;margin:0;padding:7px 12px;font-size:12px;border:1px solid #ffffff20;background:#19171e;color:#bdb7c3;box-shadow:none}
body #showHeader>.phase-strip>button[aria-current="step"]{opacity:1;background:#491326;border-color:#fa426a;color:#fff;box-shadow:0 0 12px #f7285540,inset 0 0 12px #ff366b12}
body #showHeader>.phase-strip>button:after{display:none}
@media(max-width:600px){
 body .special-desk{grid-template-columns:minmax(0,1fr)}
 body .special-desk #specialStage{max-width:none}
 body .special-transport{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .special-transport button{min-height:44px}
 body #showHeader>.phase-strip>button{min-height:44px}
}

body #showHeader>.phase-strip{flex-direction:row;max-width:none;grid-column:1/-1}
body .special-desk{grid-template-columns:minmax(0,420px) 140px;justify-content:start}
@media(max-width:600px){body .special-desk{grid-template-columns:minmax(0,1fr)}}

/* Low broadcast frame: same 140px during draw and playback. */
body .special-desk{grid-template-columns:minmax(0,420px) minmax(190px,240px);gap:12px}
body .special-desk #specialStage{height:140px;min-height:140px;padding:8px 10px;grid-template-rows:10px 18px minmax(0,1fr) 28px;gap:3px}
body .special-desk #specialStage>.special-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body .special-desk #specialStage>h2{font-size:15px;line-height:18px}
body .special-desk #specialStage .special-result{gap:10px}
body .special-desk #specialStage .special-result img,body .special-desk #specialStage .special-result-placeholder{width:36px;height:36px;font-size:26px}
body .special-desk #specialStage .special-result strong{font-size:16px}
body .special-desk #specialStage .special-result span,body .special-desk #specialStage .special-result small{font-size:11px}
body .special-desk #specialStage .special-card{height:50px;display:grid;grid-template-columns:22px minmax(0,1fr);grid-template-rows:1fr 1fr;padding:4px;gap:2px 4px;align-items:center}
body .special-desk #specialStage .special-card img,body .special-desk #specialStage .special-placeholder{width:22px;height:22px;grid-row:1/3;font-size:18px}
body .special-desk #specialStage .special-card strong,body .special-desk #specialStage .special-card>span:not(.special-placeholder){font-size:10px}
body .special-desk #specialStage .special-audio button{min-height:28px;height:28px}
body .special-transport{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@media(max-width:760px){body .special-desk{grid-template-columns:minmax(0,1fr)}body .special-desk #specialStage{max-width:none}}

body .special-desk #specialStage>.special-audio{grid-row:4}
body .special-desk #specialStage .special-result>div{gap:2px}
body .special-desk #specialStage .special-result strong{-webkit-line-clamp:1}

body .special-desk #specialStage{grid-template-columns:minmax(0,1fr)}
body .special-desk #specialStage>.special-eyebrow{grid-area:1/1}
body .special-desk #specialStage>h2{grid-area:2/1}
body .special-desk #specialStage>.special-result,body .special-desk #specialStage>.special-reel{grid-area:3/1;animation:none;transform:none}
body .special-desk #specialStage>.special-audio{grid-area:4/1}

/* Guest layout: hidden submission and transport must not reserve columns. */
/* v189: Spalte bleibt immer reserviert, damit die Aufnahme-Fenster nicht springen */

body .special-desk:has(>.special-transport:empty),body .special-desk:has(>.special-transport[hidden]){grid-template-columns:minmax(0,420px)}
body .special-transport:empty{display:none}
@media(max-width:760px){body .special-desk:has(>.special-transport:empty),body .special-desk:has(>.special-transport[hidden]){grid-template-columns:minmax(0,1fr)}}

/* Audio and Play belong above the transport, outside the capture frame. */
body .special-side{display:grid;gap:12px;min-width:0}
body .special-side .special-audio{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-start;margin:0}
body .special-side .special-audio button{min-height:32px;padding:5px 8px;font-size:11px}
body .special-side .special-audio input[type=range]{width:65px;min-height:24px;padding:0}
body .special-side .special-play{background:linear-gradient(120deg,#ff3259,#ab123c);border-color:#ff7596;color:white}
body .special-side .special-cancel{display:none}
body .special-desk #specialStage{grid-template-rows:10px 18px minmax(0,1fr)}
body .special-desk:has(.special-transport:empty){grid-template-columns:minmax(0,420px) minmax(190px,240px)}
@media(max-width:760px){body .special-desk,body .special-desk:has(.special-transport:empty){grid-template-columns:minmax(0,1fr)}body .special-side .special-audio button{min-height:44px}}

/* Broadcast card: clear hierarchy, quiet branding and a compact live indicator. */
body .special-desk #specialStage{height:184px;min-height:184px;max-height:184px;box-sizing:border-box;padding:14px 18px;gap:4px;border-radius:14px;border:1px solid #a93650;background:radial-gradient(ellipse at 0 100%,#7c102f80,transparent 65%),linear-gradient(110deg,#210c16,#100d14 75%);box-shadow:inset 0 1px 0 #ffc1d122,0 6px 22px #0003;grid-template-rows:12px 18px minmax(112px,1fr);text-align:left}
body .special-desk #specialStage:before{width:174px;height:174px;right:-12px;opacity:.065;transform:translateY(-50%) rotate(-8deg)}
body .special-desk #specialStage>.special-eyebrow{font-size:8px;letter-spacing:2px;color:#c18b9a;font-weight:700}
body .special-desk #specialStage>h2{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650;letter-spacing:.2px;color:#f2c4d1;text-shadow:none;line-height:18px}
body .special-desk #specialStage>h2:before{content:'';width:6px;height:6px;border-radius:50%;background:#ff426f;box-shadow:0 0 9px #fa386a77;flex:none}
body .special-desk #specialStage .special-result{justify-content:flex-start;gap:13px;margin:0;max-width:none}
body .special-desk #specialStage .special-result img,body .special-desk #specialStage .special-result-placeholder{width:112px;height:112px;border-radius:12px;box-shadow:0 4px 12px #0005;border:1px solid #ff799b45;flex:none}
body .special-desk #specialStage .special-result img{object-fit:cover}
body .special-desk #specialStage .special-result-placeholder{font-size:40px;background:linear-gradient(145deg,#a82049,#391026)}
body .special-desk #specialStage .special-result>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;flex:1;align-items:center}
body .special-desk #specialStage .special-result strong{grid-column:1/-1;font-size:21px;line-height:1.15;font-weight:750;letter-spacing:-.35px;color:#fff}
body .special-desk #specialStage .special-result span:not(.special-result-placeholder){font-size:12px;line-height:18px;color:#d4b7c2}
body .special-desk #specialStage .special-result small{font-size:10px;line-height:18px;color:#cdbdc6;font-variant-numeric:tabular-nums;padding:1px 7px;border:1px solid #ffffff17;border-radius:5px;background:#ffffff06}
body .special-desk #specialStage .special-result small:empty{display:none}
body .special-desk #specialStage.special-drawing>h2:before{background:#f5bf87;box-shadow:0 0 10px #ffc68a66}
@media(max-width:400px){body .special-desk #specialStage{padding:12px 14px}body .special-desk #specialStage .special-result strong{font-size:19px}body .special-desk #specialStage .special-result>div{column-gap:6px}}

/* Fine rotating red/rose-gold light; overlay never affects the capture geometry. */
@property --rt-frame-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
body .special-desk #specialStage.special-is-playing:after{
 content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;pointer-events:none;z-index:3;
 background:conic-gradient(from var(--rt-frame-angle),transparent 0deg,transparent 235deg,#8f233b55 270deg,#dc3a5d 306deg,#eac4ac 335deg,#fff0db 344deg,transparent 360deg);
 -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
 -webkit-mask-composite:xor;mask-composite:exclude;
 animation:rt-frame-orbit 8s linear infinite
}
@keyframes rt-frame-orbit{to{--rt-frame-angle:360deg}}
@media(prefers-reduced-motion:reduce){body .special-desk #specialStage.special-is-playing:after{animation:none;--rt-frame-angle:35deg}}

/* Normal playback uses the same fine moving border as special mode. */
body #liveDisplay.live-hero.has-current{position:relative;isolation:isolate}
body #liveDisplay.live-hero.has-current:after{content:"";display:block!important;position:absolute;inset:0;width:auto;height:auto;margin:0;border:0;border-radius:inherit;padding:2px;pointer-events:none;z-index:3;opacity:1;transform:none;filter:none;box-shadow:none;background:conic-gradient(from var(--rt-frame-angle),transparent 0deg,transparent 235deg,#8f233b55 270deg,#dc3a5d 306deg,#eac4ac 335deg,#fff0db 344deg,transparent 360deg)!important;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:rt-frame-orbit 8s linear infinite}
@media(prefers-reduced-motion:reduce){body #liveDisplay.live-hero.has-current:after{animation:none;--rt-frame-angle:35deg}}

/* Quiet broadcast finish and platform metadata, without increasing card size. */
body #liveDisplay.live-hero{border-color:#773346!important;background:radial-gradient(ellipse at 0 0,#57152855,transparent 68%),linear-gradient(120deg,#1b1018,#101014 80%)!important;box-shadow:inset 0 1px 0 #f3bdcd0c,0 5px 18px #0003}
body #liveDisplay.live-hero>.overline{color:#dba6b6;letter-spacing:1.8px;font-weight:700}
body #liveDisplay.live-hero #liveArtist{color:#c9a9b6;font-size:13px}
body #liveDisplay.live-hero #liveArtwork{background:linear-gradient(145deg,#b9234e,#50142b);border:1px solid #f58aa933;box-shadow:inset 0 1px 0 #ffffff16,0 3px 10px #0003}
body #liveDisplay.live-hero #liveDuration:before{content:none}
body #liveDisplay.live-hero #liveDuration{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:11px;line-height:16px;color:#bfb0b9}
body #liveDisplay.live-hero #liveDuration[hidden]{display:none}
body #liveDuration .live-platform{font-size:9px;font-weight:650;letter-spacing:.3px;color:#d8b9c5;border:1px solid #d592ab30;border-radius:4px;padding:0 5px;background:#ffffff04}
body #liveDuration .live-time:not(:first-child):before{content:'·';margin-right:7px;color:#956777}

/* Compact, ordered show administration. */
body #showHeader>.phase-strip{margin:10px 0 12px;padding:6px;gap:5px;border:1px solid #563341;background:#100d13;border-radius:10px}
body #showHeader>.phase-strip>button{font-size:11px;padding:7px 9px;min-height:38px;white-space:normal;line-height:1.2}
body #showTools{margin:10px 0 0}
body #showTools>summary{font-size:13px;padding:10px 0}
body #showTools .special-controls{border:0;margin:0 0 8px;padding:0}
body #showTools .special-controls button{min-height:38px;font-size:12px;padding:7px 10px;white-space:nowrap}
body #showTools #queueButtons,body #showTools #liveButtons{gap:6px;margin:8px 0}
body #showTools button{font-size:12px;padding:7px 10px;min-height:38px}
@media(min-width:1000px){
 body #showHeader>.phase-strip{grid-column:1/-1;grid-row:2}
 body #showHeader>#showTools{grid-column:1/-1;grid-row:3}
}
@media(max-width:760px){
 body #showNavigation .reference-primary-actions,body #showNavigation .reference-secondary-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px}
 body #showNavigation .reference-primary-actions>button,body #showNavigation .reference-secondary-actions>button{width:100%;min-width:0;min-height:44px;padding:7px 5px;font-size:12px;white-space:normal}
 body #showNavigation .reference-extra-actions{margin:4px 0}
 body #showNavigation .reference-extra-actions summary{padding:9px 0;font-size:12px}
 body #showHeader>.phase-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 body #showHeader>.phase-strip>button{min-height:44px;font-size:10px;padding:6px 4px}
 body #showTools #queueButtons,body #showTools #liveButtons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 body #showTools button{min-width:0;min-height:44px;white-space:normal}
 body #showTools .special-controls button{width:100%;white-space:nowrap}
}

/* Match the overview: expandable phase menu with vertically stacked actions. */
body #showHeader>details.phase-strip{display:block;padding:8px;margin:10px 0 12px;border:1px solid #563341;border-radius:10px;background:#100d13}
body #showHeader>details.phase-strip>summary{display:list-item;list-style:disclosure-closed inside;text-align:center;cursor:pointer;font-size:13px;font-weight:750;line-height:20px;padding:10px 8px;min-height:44px;color:#f5edf1}
body #showHeader>details.phase-strip[open]>summary{list-style-type:disclosure-open;margin-bottom:6px}
body #showHeader>details.phase-strip>button{display:block;width:100%;min-height:44px;margin:0 0 6px;padding:10px 12px;text-align:center;font-size:13px;border-radius:8px}
body #showHeader>details.phase-strip>button:last-child{margin-bottom:0}
body #showHeader>details.phase-strip:not([open])>button{display:none}

/* Current phase stays visible while the menu is collapsed. */
body #showHeader>details.phase-strip>summary .phase-current-badge{display:inline-block;vertical-align:middle;margin-left:9px;padding:3px 9px;border:1px solid #ad3654;border-radius:20px;background:#411526;color:#ffd7e3;font-size:11px;font-weight:700;letter-spacing:.1px;line-height:16px;box-shadow:0 0 9px #f52b5017}
body #showHeader>details.phase-strip>summary .phase-current-badge[hidden]{display:none}
@media(max-width:400px){body #showHeader>details.phase-strip>summary{font-size:12px;padding-left:2px;padding-right:2px}body #showHeader>details.phase-strip>summary .phase-current-badge{font-size:10px;margin-left:5px;padding:3px 6px}}


/* Clear separation between signing in and creating an account. */
body #accountForm [hidden]{display:none!important}
body #accountForm>.controls{display:block}
body #accountForm>.controls>button:not([hidden]){width:100%}
body #accountContent .auth-mode-switch{margin:14px 0 6px;font-size:13px;line-height:1.5;color:#bfb8c2}
body #accountContent .auth-mode-link{display:inline;min-height:0;padding:0;border:0;background:none;box-shadow:none;color:#ffa8be;font:inherit;font-weight:700;text-decoration:underline}
body #accountContent .account-forgot{display:inline-block;margin-top:10px;font-size:13px}
body #accountContent .account-forgot[hidden]{display:none!important}

body [data-page="ranking"][hidden],body:not(.signed-in) [data-page="ranking"]{display:none!important}
.archive-visibility{font-size:12px;opacity:.8}.archive-visibility-hint{font-size:13px;line-height:1.45;display:block;margin:8px 0 12px}

/* Live playback is available only after login. */
body:not(.signed-in) .regie-panel,body:not(.signed-in) #emptyCurrent,body:not(.signed-in) .special-desk{display:none!important}
.special-audio[hidden]{display:none!important}

body:not(.is-admin) .phase-navigation,body:not(.is-admin) #showTools,body:not(.is-admin) #queueButtons,body:not(.is-admin) #liveButtons,body:not(.is-admin) #specialControls,body:not(.is-admin) .admin-only{display:none!important}

/* Stream capture: deep black and true red, retaining compact geometry. */
body #liveDisplay.live-hero{border-color:#94252b!important;background:radial-gradient(ellipse at 0 0,rgba(148,16,24,.19),transparent 68%),linear-gradient(120deg,#140d0e,#0b0b0e 80%)!important;box-shadow:inset 0 1px 0 #ffffff08,0 5px 18px #0003}
body #liveDisplay.live-hero>.overline{color:#f17b80}
body #liveDisplay.live-hero #liveArtist{color:#d1c4c5}
body #liveDisplay.live-hero #liveTitle{color:#fff!important;font-size:20px!important;line-height:1.2}
body #liveDisplay.live-hero #liveArtwork{background:linear-gradient(145deg,#d9212b,#650e15)!important;border-color:#ed626633;box-shadow:inset 0 1px 0 #ffffff16,0 3px 10px #0003;color:#fff}
body #liveDisplay.live-hero.has-current:after{background:conic-gradient(from var(--rt-frame-angle),transparent 0deg,transparent 235deg,#991b2355 270deg,#ec3039 306deg,#f8ad91 335deg,#fff0db 344deg,transparent 360deg)!important}

/* Song messages: presence indicator and readable modal */
body .song-actions button.has-song-message{background:#493b0d!important;border-color:#ffd84d!important;color:#fff0a3!important;box-shadow:0 0 12px #ffc93388,inset 0 0 10px #ffc93322!important}
body #messageDialog.song-message-reader{box-sizing:border-box;width:min(760px,calc(100vw - 32px));max-height:85dvh;padding:clamp(22px,4vw,40px);border:1px solid #d5ac3b;border-radius:18px;background:#151416;color:#fff;overflow:auto}
body #messageDialog.song-message-reader .song-message-text{font-size:clamp(22px,3vw,30px);line-height:1.55;font-weight:500;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 24px}
body #messageDialog.song-message-reader::backdrop{background:#000b}

body #messageDialog.song-message-reader::backdrop{background:rgba(0,0,0,.28)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* Stable vertical slot keeps the TikTok capture frame fixed at full capacity. */
body.detail-mode #queueCapacity{height:48px!important;min-height:48px!important;max-height:48px!important;box-sizing:border-box!important;display:flex!important;align-items:center;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis;padding:8px 12px!important;border:1px solid transparent!important;margin:4px 0 12px!important}
body.detail-mode #queueCapacity.full{border-color:#9f3e52!important;background:#391922!important;color:#ffc0cc!important}

/* Keep the account navigation on one line, including narrow iPhone widths. */
body #overviewAccount .overview-shortcuts{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;min-width:0!important;overflow:hidden!important}
body #overviewAccount .overview-shortcuts button:not([hidden]){min-width:0!important;flex:1 1 0!important;padding:7px 3px!important;font-size:clamp(10px,2.6vw,13px)!important;white-space:nowrap!important}
body.signed-in #overviewAccount .overview-shortcuts [data-page="home"],body.signed-in #overviewAccount .overview-shortcuts [data-page="mine"],body.signed-in #overviewAccount .overview-shortcuts .admin-only{display:none!important}


/* Clear trigger warning symbol and a distinct, fixed-size current-song frame. */
body .songinfo .song-warning{gap:7px;padding:4px 10px 4px 5px;border-color:#d64a60;background:linear-gradient(110deg,#4a1522,#25121a);box-shadow:0 2px 10px #c328451e}
body .song-warning-icon,body .stage-warning-icon{display:inline-grid;place-items:center;flex:0 0 19px;width:19px;height:19px;border:1.5px solid currentColor;border-radius:50%;font-size:12px;font-weight:900;line-height:1}
body .song-warning-label{min-width:0;overflow-wrap:anywhere}
body #queue .song.current-song,body #playedSongs .song.current-song{position:relative;border-color:#ed465d!important;background:linear-gradient(125deg,#32131c,#19151b 68%)!important;box-shadow:0 0 0 2px #ed465d45,0 0 18px #c9284530!important}
body .live-song-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border:1px solid #ec465d;border-radius:999px;background:#37151f;color:#ffd9e0;font-size:10px;font-weight:850;letter-spacing:.8px}
body .live-song-tag:before{content:'▶';display:grid;place-items:center;width:16px;height:16px;border:1px solid #ff8192;border-radius:50%;font-size:8px;line-height:1}
body .optional-warnings>summary{position:relative;padding-right:30px}
body .optional-warnings>summary:after{content:'!';position:absolute;right:2px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:20px;height:20px;border:1.5px solid #e5687c;border-radius:50%;color:#ffb6c3;font-size:13px;font-weight:900;line-height:1}
body .optional-warnings.has-warning>summary:after{background:#8e2237;color:#fff;border-color:#ff8094;box-shadow:0 0 10px #ed345344}
body #liveDisplay.stream-stage .stage-warning{display:inline-flex;align-items:center;gap:6px}
body #liveDisplay.stream-stage .stage-warning-icon{flex-basis:16px;width:16px;height:16px;font-size:10px}
@media(max-width:760px){
 body #queue .song-actions,body #playedSongs .song-actions{grid-column:1/-1!important;grid-row:auto!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));justify-content:stretch!important;align-self:stretch!important;gap:6px!important;width:100%;min-width:0;margin:2px 0 0!important}
 body #queue .song-actions>button,body #queue .song-actions>a,body #playedSongs .song-actions>button,body #playedSongs .song-actions>a{width:100%!important;min-width:0!important;max-width:100%;min-height:42px!important;height:auto!important;box-sizing:border-box;padding:5px 3px!important;font-size:11px!important;line-height:1.2;white-space:normal!important;overflow-wrap:anywhere;flex:none!important}
 body #queue .song-actions button.icon-action,body #playedSongs .song-actions button.icon-action{display:grid!important;place-items:center;width:100%!important;min-width:0!important;min-height:42px!important;padding:4px!important;font-size:0!important}
 body #queue .song-actions button.icon-action:before,body #playedSongs .song-actions button.icon-action:before{font-size:18px;line-height:1}
 body #queue .song-actions .finish-song,body #queue .song-actions .stop-song,body #playedSongs .song-actions .primary{grid-column:span 2}
 body #queue .song-actions .history-extra,body #playedSongs .song-actions .history-extra{grid-column:1/-1}
 body #liveDisplay.stream-stage>.overline{font-size:8px!important;letter-spacing:.65px!important}
}

/* Keep mobile song cards calm and compact while leaving all moderation actions available. */
body .vote-restriction{display:inline-flex;align-items:center;width:fit-content;max-width:100%;margin-top:5px;padding:4px 8px;border:1px solid #71404b;border-radius:999px;background:#2b1a22;color:#e6bdc8;font-size:11px;font-weight:700;line-height:1.25}
body .vote-button{letter-spacing:.1px;font-weight:800}
body .vote-button.voted{border-color:#ff718b!important;background:linear-gradient(120deg,#8e1732,#c52d4d)!important;color:#fff!important;box-shadow:0 0 13px #e9325844!important}
@media(max-width:760px){
 body #queue .song,body #playedSongs .song{grid-template-columns:36px minmax(0,1fr)!important;align-items:start;gap:9px 10px!important;padding:12px!important;border-radius:13px!important}
 body #queue .song-position,body #playedSongs .song-position{width:36px;min-height:38px;grid-column:1!important;grid-row:1!important}
 body #queue .songinfo,body #playedSongs .songinfo{grid-column:2!important;grid-row:1!important;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px!important}
 body #queue .songinfo strong,body #playedSongs .songinfo strong{font-size:16px;line-height:1.3;overflow-wrap:anywhere}
 body #queue .songinfo .song-byline,body #playedSongs .songinfo .song-byline{font-size:12px!important;line-height:1.3}
 body #queue .song-actions,body #playedSongs .song-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin-top:2px!important}
 body #queue .song-actions>button,body #queue .song-actions>a,body #playedSongs .song-actions>button,body #playedSongs .song-actions>a{min-width:0!important;min-height:40px!important;padding:6px!important;border-radius:9px!important;font-size:11px!important;line-height:1.2!important;overflow-wrap:anywhere}
 body #queue .song-actions .vote-button,body #playedSongs .song-actions .vote-button{grid-column:1/-1!important;min-height:46px!important;font-size:14px!important;letter-spacing:.2px}
 body #queue .song-actions button.icon-action,body #playedSongs .song-actions button.icon-action{min-height:40px!important}
 body #queue .vote-badge,body #playedSongs .vote-badge{margin:2px 0;padding:4px 8px;font-size:11px}
 body #queue .vote-restriction,body #playedSongs .vote-restriction{font-size:10px}
}


/* Keep the special-mode broadcast frame fixed and give its label, title, cover and song details separate grid rows. */
body .special-desk #specialStage{height:124px!important;min-height:124px!important;max-height:124px!important;box-sizing:border-box;padding:10px 12px!important;overflow:hidden}
body .special-desk #specialStage:has(>.special-result){display:grid;grid-template-columns:102px minmax(0,1fr);grid-template-rows:12px 20px minmax(0,1fr);column-gap:12px;row-gap:0;align-content:center}
body .special-desk #specialStage:has(>.special-result)>.special-eyebrow{position:static;grid-column:2;grid-row:1;align-self:center;min-width:0;line-height:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .special-desk #specialStage:has(>.special-result)>h2{position:static;grid-column:2;grid-row:2;align-self:center;min-width:0;margin:0!important;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .special-desk #specialStage>.special-result{display:contents}
body .special-desk #specialStage .special-result img,body .special-desk #specialStage .special-result-placeholder{grid-column:1;grid-row:1/4;align-self:center;width:102px;height:102px;max-width:100%;max-height:100%;box-sizing:border-box}
body .special-desk #specialStage .special-result>div{grid-column:2;grid-row:3;align-self:center;min-width:0;padding-top:0;display:grid;align-content:center;gap:3px}
body .special-desk #specialStage .special-result strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:18px;line-height:1.12}
body .special-desk #specialStage .special-result>div>*{min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-width:400px){body .special-desk #specialStage:has(>.special-result){grid-template-columns:96px minmax(0,1fr);column-gap:10px}body .special-desk #specialStage .special-result img,body .special-desk #specialStage .special-result-placeholder{width:96px;height:96px}}

/* Make the note icon more legible without changing the fixed cover tile. */
body .special-desk #specialStage .special-result-placeholder{font-size:64px;line-height:1}

/* A consistent, readable brand mark on the overview and show page. */
body header.compact-masthead .brand img.logo,
body.detail-mode header.compact-masthead .brand img.logo{width:96px!important;height:96px!important;max-height:none!important;object-fit:contain}
@media(max-width:760px){body header.compact-masthead .brand img.logo,body.detail-mode header.compact-masthead .brand img.logo{width:72px!important;height:72px!important}}

/* Fit every account label inside its own button. */
body header #overviewAccount#overviewAccount .overview-shortcuts{overflow:visible!important;gap:6px!important;width:auto!important;max-width:100%!important}
body header #overviewAccount#overviewAccount .overview-shortcuts button:not([hidden]){flex:0 0 auto!important;width:auto!important;min-width:max-content!important;padding:8px 12px!important;font-size:12px!important;white-space:nowrap!important;box-sizing:border-box!important}
@media(max-width:760px){body header #overviewAccount#overviewAccount .overview-shortcuts{flex-wrap:wrap!important}}

/* Trigger warning belongs inside the fixed broadcast card. */
body .special-desk #specialStage .special-result small.special-result-warning{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:30px;white-space:normal!important;overflow:hidden!important;line-height:13px!important;font-size:10px!important;padding:2px 5px;border:1px solid #e65b73!important;background:#65172c!important;color:#ffe2e8!important;box-sizing:border-box;width:100%;font-weight:700}

/* v188 Cover austauschen */
#songForm .cover-edit-hint{display:block;margin-top:6px;font-size:12px;line-height:1.45;color:#a99baa}
#songForm .cover-edit-hint[hidden]{display:none}
