/* Red brick listening room, nine albums and a larger screen. */
.room{background:#321815}
.backwall{inset:0;background:linear-gradient(90deg,#1b0e0b45,#28120f12 45%,#1b0e0b35),url('assets/red-brick-wall.png') center/cover;box-shadow:inset 0 0 100px #1b090b66}
.ceiling{height:7%;opacity:.7}
.wallwash{background:linear-gradient(0deg,#170e0dc9,transparent 55%),radial-gradient(ellipse at 20% 15%,#efbe6624,transparent 60%)}
.foreground-shade{background:linear-gradient(0deg,#120b0bdd,transparent 22%)}
.record-stack{top:18%;left:3%;width:27%;max-width:460px;z-index:4}
.record-stack .lp-wall{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:9px;padding:10px;width:100%;border:1px solid #af80634d;border-radius:4px;background:#21120de6;box-shadow:0 14px 30px #140a09a6}
.lp-wall a{isolation:isolate;border-color:#b18b6459}
.lp-wall a::after{content:'이 앨범의 곡을 선택하세요';position:absolute;inset:0;z-index:2;display:grid;align-content:center;padding:9px 6px;background:#160e0bd9;color:#fff1d7;text-align:center;font-size:14px;line-height:1.65;font-weight:500;opacity:0;transition:opacity .18s;pointer-events:none}
.lp-wall a:hover::after,.lp-wall a:focus-visible::after{opacity:1}
.lp-wall a:hover img{transform:scale(1.035)}
.lp-wall img{transition:transform .2s}
.dj-badge{bottom:calc(100% + 12px);min-height:52px;padding:3px 15px 3px 5px;border-radius:30px;max-width:100%;white-space:normal;text-align:left;font-size:16px;line-height:1.35;background:#2d1712ed;border-color:#d9a17899;box-shadow:0 4px 16px #15090860}
.dj-badge .dj-avatar{width:48px;height:48px}
.record-equipment{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:15px;padding:12px;background:linear-gradient(#301d18e8,#190f0de8);border:1px solid #9e755851;border-radius:5px;box-shadow:0 10px 20px #170a08a6}
.record-equipment .turntable{position:relative;inset:auto;flex:0 0 36%;width:36%;height:auto;min-height:0;aspect-ratio:230/270;transform:none;border:0;border-radius:3px;background:#2b1a10 url('record-player.png') center/100% 100% no-repeat;box-shadow:0 5px 12px #0008;overflow:hidden}
.record-equipment .listening-console{flex:1;min-width:0;width:58%;margin:0;border-color:#79533c55;border-radius:3px}
.record-equipment .vinyl,.record-equipment .vinyl.playing{position:absolute;left:34.5%;top:36.3%;width:30.6%;height:auto;aspect-ratio:1;border-radius:50%;display:block;background:url('record-player.png') 49.7% 49.2%/326.8% 383.6% no-repeat;box-shadow:none;animation:spin 4s linear infinite}
.record-equipment .vinyl::after,.record-equipment .vinyl i,.record-equipment .tonearm,.record-equipment .turntable>span{display:none}
.display-wrap,.live-playing .display-wrap{left:33%;width:64%;top:13%;height:60%;min-height:0}
.screen{border:5px solid #1d1714;border-bottom-width:6px;border-radius:3px;background:#100b09;outline:1px solid #b5936b4d;box-shadow:0 14px 28px #120807b3}
.display-wrap::before{top:-7px;height:9px}
.display-label{font-size:12px;letter-spacing:.7px;align-items:center;gap:8px;min-height:22px;margin-top:8px;color:#eee0c9;flex-wrap:wrap}
.display-label #screenLabel{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.live-actions button,.live-actions a{font-size:13px}
.display-controls.viewtools{position:relative;inset:auto;z-index:4;display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px;padding:9px 10px;border:1px solid #b38b614a;border-radius:8px;background:#241814ed;backdrop-filter:blur(10px)}
.display-controls.viewtools button{font-size:14px;line-height:1.35;padding:10px 18px;background:#34251c;color:#f2dfbd;border-color:#b38b6159}
.display-controls.viewtools button:hover,.display-controls.viewtools button[aria-pressed=true]{background:#6b4b32;border-color:#dbb47c}
.focused .display-wrap,.focused.live-playing .display-wrap{left:5%;width:90%;top:9%;height:73%;z-index:9}
.focused .record-stack{opacity:.12;pointer-events:none;z-index:4}
.focused .record-stack .dj-badge{pointer-events:none}
.focused .dock,.focused .footnote{opacity:0;pointer-events:none}
.focused .welcome{display:none}
.display-wrap:fullscreen{display:flex;flex-direction:column;gap:8px;position:fixed;inset:0;width:100%;height:100%;padding:16px;background:#100d0b;transform:none}
.display-wrap:fullscreen::before{display:none}
.display-wrap:fullscreen .screen{flex:1;min-height:0;width:100%;height:auto}
.display-wrap:fullscreen .display-label,.display-wrap:fullscreen .display-controls{flex:none;margin:0}
.display-wrap:fullscreen #focusBtn{display:none}
.dock{max-width:840px}
@media(min-width:721px) and (max-height:760px){
  .record-stack{top:21%;width:min(25%,36vh)}
  .record-equipment{padding:7px;margin-top:8px;gap:8px}
  .record-equipment .turntable{flex-basis:30%;width:30%}
  .display-wrap,.live-playing .display-wrap{top:13%;height:55%}
  .display-controls.viewtools{margin-top:6px;padding:6px}
  .display-controls.viewtools button{padding:8px 14px}
  .focused .display-wrap,.focused.live-playing .display-wrap{top:10%;height:66%}
}
@media(max-width:720px){
  html,body{overflow:auto;min-height:100%;height:auto}
  body{min-height:100dvh;background:#301713}
  .room{position:relative;inset:auto;min-height:max(calc(860px + 118vw),100dvh)}
  header{position:absolute;top:18px;left:16px;right:16px}
  .brand{transform:none}.brand .camel svg{width:30px}.brand strong{font-size:18px}
  .topright{gap:7px}.youtube-connect{font-size:13px;padding:8px}
  .record-stack{left:5%;top:540px;width:90%;max-width:none;display:block}
  .dj-badge{min-height:44px;bottom:calc(100% + 10px);font-size:15px;padding-right:12px}
  .dj-badge .dj-avatar{width:38px;height:38px}
  .record-stack .lp-wall{gap:5px;padding:6px;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
  .lp-wall a::after{font-size:12px;line-height:1.4;padding:5px 3px}
  .record-equipment{display:flex;flex-direction:row;gap:10px;margin:12px 0 0;padding:10px}
  .record-equipment .turntable{flex:0 0 26%;width:26%}
  .record-equipment .listening-console{flex:1;width:65%}
  .display-wrap,.live-playing .display-wrap{left:5%;top:110px;width:90%;height:265px}
  .display-label{font-size:11px;line-height:1.4;gap:4px}
  .display-controls.viewtools{gap:6px;margin-top:7px;padding:8px 6px}
  .display-controls.viewtools button{font-size:13px;padding:10px 8px;flex:1;white-space:nowrap}
  .screen{border-width:3px}
  .welcome{position:fixed;bottom:20px;left:0;right:0;z-index:14}
  .welcome-inner{margin:0 auto}.welcome .enter{padding:13px 20px}
  .dock{position:absolute;top:calc(600px + 118vw);bottom:auto;left:5%;width:90%;max-width:none;transform:none}
  .footnote{position:absolute;top:calc(820px + 118vw);bottom:auto}
  .quiet-tip{position:fixed;bottom:20px}
  .focused .display-wrap,.focused.live-playing .display-wrap{position:fixed;left:3%;top:95px;width:94%;height:calc(100dvh - 225px);z-index:12}
  .focused .display-wrap::after{content:'';position:fixed;inset:75px 0 0;z-index:-1;background:#140c09f5}
  .display-wrap:fullscreen,.focused .display-wrap:fullscreen{position:fixed;inset:0;width:100%;height:100%;padding:8px}
  .display-wrap:fullscreen::after{display:none}
}
@media(prefers-reduced-motion:reduce){.record-equipment .vinyl,.record-equipment .vinyl.playing{animation:none}}

/* Album equipment and continuous playback. */
.record-equipment .listening-console{height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 38%;box-shadow:0 4px 12px #0008}
.playback-status{margin:5px 0 0;font-size:13px;line-height:1.5;color:#f5dfbb;letter-spacing:0}
.playback-status:empty{display:none}
.live-playing .display-wrap{height:56%}
.live-actions{gap:6px}
.live-actions button,.live-actions a{min-height:30px;display:inline-flex;align-items:center}
.live-actions #resumePlayback{background:#d7b47f;color:#231811}
.display-wrap:fullscreen #farBtn{display:none}
.display-wrap:fullscreen .playback-status{flex:none;margin:0}
.focused.live-playing .display-wrap{height:69%}

/* A distant seat in the supplied LP bar, with controls kept within reach. */
.far-view{overflow:hidden}
.far-view .room{position:fixed;inset:0;min-height:100dvh;background:#0a0807}
.far-view .backwall{background:linear-gradient(#09070712,#09070726),url('assets/lpbar-room.jpg') center/cover no-repeat;box-shadow:inset 0 0 80px #0006}
.far-view .wallwash{background:linear-gradient(#0005,transparent 20%,transparent 75%,#0009)}
.far-view .ceiling,.far-view .club-sign,.far-view .listening-table,.far-view .foreground-shade,.far-view .dock,.far-view .scene-heading,.far-view .footnote{display:none}
.far-view .record-stack{position:fixed;left:24px;top:auto;bottom:24px;width:auto;max-width:none;z-index:11}
.far-view .record-stack .lp-wall,.far-view .record-equipment{display:none}
.far-view .dj-badge{position:static;font-size:14px;min-height:48px;box-shadow:0 4px 20px #0008}
.far-view .dj-badge .dj-avatar{width:40px;height:40px}
.far-view .display-wrap,.far-view.live-playing .display-wrap{--far-width:clamp(356px,31vw,530px);left:calc((100% - var(--far-width))/2);top:19%;width:var(--far-width);height:auto;aspect-ratio:16/9;min-height:200px;transform:none;z-index:7}
.far-view .screen{border:5px solid #25201b;border-radius:2px;box-shadow:0 8px 20px #000b,0 0 35px #d0a56b18}
.far-view .display-label{justify-content:center;background:#130e0dd9;border-radius:4px;padding:5px 7px;margin-top:7px;font-size:12px;gap:6px;letter-spacing:0}
.far-view .live-actions{justify-content:center}
.far-view .playback-status{padding:5px 8px;text-align:center;background:#130e0dd9;border-radius:4px;font-size:12px}
.far-view .display-controls.viewtools{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 48px);margin:0;background:#1c1510ed;box-shadow:0 8px 30px #0009}
.far-view .display-controls.viewtools button{padding:10px 13px}
.far-view .display-wrap:fullscreen{position:fixed;inset:0;aspect-ratio:auto;width:100%;height:100%;padding:16px}
.far-view .display-wrap:fullscreen .display-controls{position:relative;inset:auto;transform:none;width:100%;max-width:none}
.far-view .display-wrap:fullscreen .display-label{justify-content:space-between}
@media(min-width:721px) and (max-height:760px){
  .live-playing .display-wrap{height:49%}
  .focused.live-playing .display-wrap{height:61%}
  .far-view.live-playing .display-wrap{height:auto;top:17%}
}
@media(min-width:721px) and (max-width:1100px){
  .far-view .record-stack{bottom:100px;left:22px}
}
@media(max-width:720px){
  .live-playing .display-wrap{height:245px}
  .display-controls.viewtools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .record-stack{top:620px}
  .room{min-height:max(calc(940px + 118vw),100dvh)}
  .dock{top:calc(680px + 118vw)}
  .footnote{top:calc(900px + 118vw)}
  .focused.live-playing .display-wrap{height:calc(100dvh - 320px)}
  .far-view .display-wrap,.far-view.live-playing .display-wrap{left:4%;top:21%;width:92%;height:auto;aspect-ratio:16/9;min-height:200px}
  .far-view .display-controls.viewtools{bottom:18px;width:92%;max-width:none;gap:7px}
  .far-view .display-controls.viewtools button{padding:11px 8px;font-size:13px}
  .far-view .record-stack{left:4%;top:auto;bottom:136px;width:auto}
  .far-view .dj-badge{min-height:42px;font-size:13px;padding-right:12px}
  .far-view .dj-badge .dj-avatar{width:34px;height:34px}
  .far-view .display-wrap:fullscreen{inset:0;width:100%;height:100%;aspect-ratio:auto;padding:8px}
}
@media(prefers-reduced-motion:reduce){.display-wrap{transition:none}}
.display-wrap:fullscreen,.live-playing .display-wrap:fullscreen,.focused .display-wrap:fullscreen,.focused.live-playing .display-wrap:fullscreen,.far-view.live-playing .display-wrap:fullscreen{inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;transform:none}

/* The retired scene dock no longer reserves space below the albums. */
.wall-pagination .album-pagination{margin:6px 0 0;padding:0 3px;color:#f2dfbd}
.wall-pagination .album-pagination button{padding:5px 9px;background:#302017ed;min-height:32px}
.far-view .wall-pagination{display:none}
.site-version{display:grid;gap:3px;text-align:right;padding:6px 10px;background:#211814e8;border-color:#ab8c6555;line-height:1.35}
.site-version strong{font-size:14px;font-weight:500;color:#efdbb8}
.site-version span{font-size:12px;color:#c9bca7;white-space:nowrap}
#releaseDialog{max-width:660px;max-height:calc(100dvh - 40px);overflow:auto;background:#271e18;border-color:#a08360}
.release-entry{padding:16px 0;border-top:1px solid #a0836040}
.release-entry h3{margin:0 0 4px;color:#f0d8af;font-size:18px}
.release-entry time{font-size:14px;color:#c8b99e}
.release-entry ul{padding-left:21px;font-size:16px;line-height:1.8}
@media(min-width:721px){.record-stack{width:min(26%,460px)}.record-equipment{margin-top:9px}}
@media(min-width:721px) and (max-height:760px){.record-stack{width:min(24%,31vh)}}
@media(max-width:720px){
  .topright{display:grid;grid-template-columns:auto auto;gap:6px;justify-items:end}
  .site-version{grid-column:1/-1;padding:4px 8px}
  .site-version strong{font-size:14px}.site-version span{font-size:12px}
  .youtube-connection{max-width:calc(100vw - 180px)}
  .display-wrap,.live-playing .display-wrap{top:160px}
  .record-stack{top:650px}
  .room{min-height:max(calc(840px + 118vw),100dvh)}
  .far-view .display-wrap,.far-view.live-playing .display-wrap,.remote-open.far-view .display-wrap,.remote-open.far-view.live-playing .display-wrap{top:155px}
}
@media(max-width:720px){
  .room{min-height:max(calc(760px + 118vw),100dvh)}
  .footnote{top:calc(720px + 118vw)}
  .far-view .room{min-height:100dvh}
}

/* Connection health stays visible independently of the music controls. */
.youtube-connection{display:flex;align-items:center;gap:12px;max-width:100%;padding:10px 14px;background:#211b16f2;border:1px solid #a3845a;border-radius:9px;color:#f2e7d3;font-size:14px;line-height:1.5;text-align:left}
.youtube-connection:hover,.youtube-connection:focus-visible{background:#36291e;outline:2px solid #dfb980;outline-offset:3px}
#youtubeConnectionLabel{display:flex;align-items:center;gap:8px}
#youtubeConnectionLabel::before{content:'';width:8px;height:8px;flex:none;border-radius:50%;background:#d9c48c}
.youtube-connection[data-state=connected] #youtubeConnectionLabel::before{background:#9dd4a4}
.youtube-connection[data-state=error] #youtubeConnectionLabel::before{background:#f19a88}
.youtube-connection[data-state=limited] #youtubeConnectionLabel::before{background:#f1c96a}
#youtubePlayerLabel{padding-left:12px;border-left:1px solid #ad936b70;color:#e0cfb4;font-size:14px}
.connection-dialog{max-width:540px;padding:28px;background:#271e18;border-color:#a08360}
.connection-dialog h2{margin:0 25px 22px 0;font-size:24px}
.connection-dialog section{border-top:1px solid #82684780;padding:16px 0 4px}
.connection-dialog h3{font-size:16px;margin:0 0 10px;display:flex;justify-content:space-between;gap:12px}
.connection-dialog h3 span{color:#e8cfaa;font-weight:400}
.connection-dialog p{font-size:16px;line-height:1.7;margin:8px 0;color:#e3d6bf}
.connection-dialog .connection-checked,.connection-dialog .connection-note{font-size:14px;color:#c5b69d}
.connection-dialog .cream{font-size:16px;margin:12px 0}
.connection-dialog button:disabled{opacity:.6;cursor:wait}
@media(max-width:720px){.youtube-connection{flex-direction:column;align-items:flex-start;gap:1px;padding:7px 9px}.topright{gap:7px}#youtubePlayerLabel{border:0;padding-left:16px}.connection-dialog{padding:26px 20px}.connection-dialog h2{font-size:22px}.connection-dialog h3{flex-wrap:wrap}}
@media(max-width:380px){header .brand{gap:5px}header .brand .camel{display:none}.youtube-connection{padding:6px 7px}.topright .iconbtn{width:28px;height:28px}}
