/* The room stays the main character; controls sit like small objects in it. */
[hidden]{display:none!important}
header .brand{color:#ff725e;animation:sign-flicker 4.8s linear infinite;text-shadow:0 0 7px #ff453c,0 0 18px #ff3d385e;gap:10px}
header .brand small,header .brand strong,header .brand .camel{color:inherit}
header .brand small{font-size:16px;letter-spacing:.02em;font-weight:500;margin-bottom:3px}
header .brand strong{font-size:32px;letter-spacing:.15em}
header .brand .camel svg{width:44px;height:39px}
.topright{display:grid;grid-template-columns:auto 32px;gap:5px 8px;justify-items:end;align-items:center}
#siteVersion{grid-column:1;grid-row:1;padding:4px 8px;border-radius:5px;background:#20170dbb;border:1px solid #bf995540;box-shadow:none}
#siteVersionLabel{font-size:11px;font-weight:400;letter-spacing:.02em;color:#dbcaa8;white-space:nowrap}
#siteUpdatedAt{display:none}
#youtubeConnection{grid-column:1;grid-row:2;font-size:12px;padding:7px 10px;gap:8px;background:#241b12d9}
#youtubePlayerLabel{font-size:11px;padding-left:8px}
#helpBtn{grid-column:2;grid-row:2;width:30px;height:30px;padding:0}
.far-view{--bar-w:max(100vw,177.6833dvh);--bar-h:max(56.2799vw,100dvh)}
.far-view .backwall{inset:0;background:linear-gradient(#08050408,#08050408),url('assets/lpbar-room.jpg') center/cover no-repeat;box-shadow:none}
.far-view .wallwash{background:linear-gradient(#0006,transparent 18%,transparent 75%,#0005);pointer-events:none}
body.far-view:not(.details-open) .display-wrap{left:calc(50% - var(--bar-w)*.153);top:calc(50% - var(--bar-h)*.304);width:calc(var(--bar-w)*.308);height:calc(var(--bar-h)*.299);min-height:0;aspect-ratio:auto;transform:none}
.far-view .display-wrap::before{display:none}
.far-view .screen{border:0;outline:0;border-radius:0;box-shadow:none;background:#070707}
.far-view .display-label{font-size:11px;padding:4px 7px;margin-top:4px;max-width:100%;background:#120e0bd6}
.far-view .live-actions{gap:4px}
.far-view .live-actions button,.far-view .live-actions a{font-size:11px;min-height:26px;padding:3px 6px}
body.far-view .record-stack{position:fixed;left:22px;top:128px;bottom:auto;width:clamp(185px,17vw,255px);max-width:none;z-index:11;padding:10px;background:linear-gradient(145deg,#1c160c9c,#130e0978);border:1px solid #e2b76b33;border-radius:10px;backdrop-filter:blur(6px);box-shadow:0 8px 28px #0003}
body.far-view .record-stack .lp-wall{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:6px;padding:0;margin-top:9px;background:none;border:0;box-shadow:none;opacity:.86}
.far-view .record-stack:hover .lp-wall,.far-view .record-stack:focus-within .lp-wall{opacity:1}
.far-view .lp-wall a{border:1px solid #dbb47250;box-shadow:0 3px 5px #0005}
.far-view .lp-wall a::after{content:'앨범 선택';font-size:11px;padding:3px}
.far-view .dj-badge{position:static;display:flex;width:100%;padding:4px 3px;min-height:36px;gap:5px;background:none;border:0;box-shadow:none;font-size:12px;color:#ffe5b5}
.far-view .dj-badge .dj-avatar{width:30px;height:30px}
.far-view .wall-pagination{display:block}
.far-view .wall-pagination .album-pagination{margin-top:8px;font-size:11px;gap:5px}
.far-view .wall-pagination .album-pagination button{padding:4px 6px;font-size:11px;min-height:28px;background:#2b1e13b0}
.far-view .wall-pagination .album-pagination p{margin:0}
.far-view .record-equipment{display:none}
body.far-view .display-controls.viewtools{bottom:20px;gap:5px;padding:7px;background:#24190fce;border:1px solid #c59a6155;border-radius:9px;backdrop-filter:blur(10px);box-shadow:0 6px 20px #0005}
.far-view .display-controls.viewtools button{font-size:12px;padding:9px 10px;white-space:nowrap}
.lounge-actions{position:fixed;left:22px;bottom:22px;z-index:20;display:flex;gap:7px}
.lounge-actions button{font-size:12px;padding:11px 12px;color:#f0ddb9;border-color:#c59a6155;background:#24190fd9;backdrop-filter:blur(10px);border-radius:20px}
.lounge-actions button:hover{color:#ffdf72;background:#382617}
.remote-toggle{font-size:13px;padding:9px 13px;min-height:44px}
.remote-toggle svg{width:17px;height:22px}
.remote-open .lounge-actions{bottom:calc(var(--remote-height,170px) + 22px)}
.arrival .display-wrap{transition:left 3.5s cubic-bezier(.22,.65,.3,1),top 3.5s cubic-bezier(.22,.65,.3,1),width 3.5s cubic-bezier(.22,.65,.3,1),height 3.5s cubic-bezier(.22,.65,.3,1)}
.arrival .backwall{animation:room-arrival 3.6s cubic-bezier(.22,.65,.3,1) both;transform-origin:50% 34%}
.arrival .record-stack{animation:shelf-arrival 3.6s ease both}
@keyframes room-arrival{from{transform:scale(1.3);filter:brightness(.65)}to{transform:scale(1);filter:brightness(1)}}
@keyframes shelf-arrival{0%,45%{opacity:0;transform:translateX(-8px)}100%{opacity:1;transform:none}}
.dj-example-label{color:#ceb78f;font-size:13px;margin:18px 0 7px}
#djSuggestions{display:flex;flex-wrap:wrap;gap:7px}
#djSuggestions button{font-size:13px;padding:8px 11px}
.dj-history-note{line-height:1.6}
.notebook{width:min(680px,calc(100vw - 28px));max-width:680px;max-height:calc(100dvh - 32px);padding:35px 40px 32px 52px;background:linear-gradient(90deg,transparent 28px,#ca796640 29px,#ca796640 30px,transparent 31px),#f3e9d2;color:#514535;border:1px solid #d7c8ab;border-radius:5px 12px 12px 5px;box-shadow:-7px 0 #b3986b,0 24px 100px #0009;overflow:auto}
.notebook::backdrop{background:#0d0908a8;backdrop-filter:blur(5px)}
.notebook .close{color:#69553f;background:transparent;border:0}
.notebook-title>span{font:10px Georgia,serif;letter-spacing:.24em;color:#a1845d}
.notebook-title h2{font-family:Georgia,'Batang',serif;font-size:27px;font-weight:500;letter-spacing:-.035em;margin:12px 0 8px;color:#483a2a}
.notebook-title p{font-size:13px;color:#8f7859;margin:0 0 20px}
.guest-counts{display:flex;gap:20px;border-top:1px solid #b9a48255;border-bottom:1px solid #b9a48255;padding:12px 0;font-size:13px}
.guest-counts strong{font-size:20px;color:#855932;margin:0 4px}
.guest-count-note{font-size:11px;line-height:1.7;color:#8f7859;margin:9px 0 23px}
#guestbookForm label{display:block;font-size:13px;margin:14px 0 7px;font-weight:600}
#guestbookForm input{width:100%;max-width:230px;border:0;border-bottom:1px solid #baa888;border-radius:0;padding:8px 0;color:#514535;background:none;font:16px Georgia,'Batang',serif}
#guestbookForm textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:132px;max-height:300px;line-height:32px;font-size:16px;font-family:Georgia,'Batang',serif;color:#514535;caret-color:#8d673b;border:0;border-radius:0;padding:0 3px;background:repeating-linear-gradient(transparent,transparent 31px,#bca98b66 31px,#bca98b66 32px)}
#guestbookForm textarea:focus-visible,#guestbookForm input:focus-visible{outline:2px solid #b6925d;outline-offset:4px}
.guest-form-footer{display:flex;align-items:center;justify-content:space-between;margin:10px 0}
.guest-form-footer small{font-size:11px;color:#9d896a}
#guestSubmit{background:#6b5032;color:#fff1d4;border:0;border-radius:4px;padding:10px 17px;font-size:13px}
.guest-public-note{display:block;font-size:11px;line-height:1.7;color:#8d775a}
#guestStatus{font-size:13px;line-height:1.7;color:#805a35;min-height:22px;margin:14px 0}
.guest-list-title{display:flex;align-items:center;justify-content:space-between;border-top:1px dashed #ac946b80;padding-top:14px;margin-top:18px}
.guest-list-title h3{font-size:15px;font-weight:500;margin:8px 0}
#guestRefresh{font-size:11px;color:#8a6d48;background:none;border:0;padding:7px}
.guest-entry{padding:22px 0 16px;border-bottom:1px solid #bcaa8b66}
.guest-entry-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px}
.guest-entry-head time{font-size:11px;color:#998364;white-space:nowrap}
.guest-entry p{font:17px/1.9 Georgia,'Batang',serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}
.guest-like{font-size:12px;border:1px solid #b5956955;color:#966a47;background:#f7edd9;padding:6px 10px;border-radius:18px}
.guest-like[aria-pressed=true]{background:#e5cfb1;color:#805135}
#guestMore{display:block;width:100%;margin-top:18px;background:#e8dac1;color:#785c3a;font-size:13px}
.notebook button:disabled{opacity:.6;cursor:wait}
.install-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;background:#241b13;border-color:#af8d5b66;padding:32px;color:#f1dfc1;text-align:center}
.install-dialog .install-address{font-size:13px;color:#d5bc98}.install-address a{color:#f7d494;overflow-wrap:anywhere}.install-canonical-link{display:block;padding:13px;border-radius:10px;background:#d6b279;color:#20170e;text-decoration:none;font-weight:600}.install-canonical-link[hidden]{display:none}
.install-icon{border-radius:23px;box-shadow:0 8px 30px #0005}
.install-dialog h2{font-size:23px;margin:18px 0 10px}.install-dialog p{font-size:14px;line-height:1.8}
.install-guide{text-align:left;margin-top:24px;border-top:1px solid #ad8f6044;padding-top:5px}.install-guide h3{font-size:14px;color:#e0b875;margin:20px 0 6px}.install-guide p{margin:0;color:#d3c2a6}.install-guide small{font-size:11px;display:block;margin-top:20px;color:#9b876b}
@media(min-width:721px) and (max-width:1150px){body.far-view .record-stack{width:180px;left:15px;top:115px}.lounge-actions{left:15px;gap:4px;bottom:76px}.lounge-actions button{font-size:11px;padding:9px}.remote-toggle{right:15px}.far-view .display-controls.viewtools{left:15px;transform:none;max-width:calc(100vw - 240px)}}
@media(max-width:720px){
  header{position:fixed;top:15px;left:15px;right:15px}header .brand{gap:6px}header .brand strong{font-size:24px}header .brand small{font-size:13px}header .brand .camel svg{width:30px;height:29px}
  #siteVersionLabel{font-size:9px}#youtubeConnection{font-size:10px;padding:5px 8px;max-width:180px}#youtubePlayerLabel{font-size:10px;padding-left:15px}.topright{grid-template-columns:auto 22px;gap:5px}#helpBtn{width:22px;height:22px;font-size:12px}
  body.far-view:not(.details-open) .display-wrap{left:5%;top:21%;width:90%;height:calc(90vw * .5625);min-height:0;max-height:35dvh}
  .far-view .backwall{background-position:54% center}.far-view .screen{border:3px solid #35251a;box-shadow:0 4px 25px #0008}
  body.far-view .record-stack{top:auto;bottom:176px;left:4%;width:92%;padding:8px 10px;max-height:180px}
  body.far-view .record-stack .lp-wall{display:flex;gap:7px;overflow:auto;padding:2px 0 5px;scroll-snap-type:x proximity;grid-template-rows:none;margin-top:3px}
  .far-view .lp-wall a{flex:0 0 62px;width:62px;scroll-snap-align:start}.far-view .lp-wall img{width:62px;height:62px}.far-view .dj-badge{font-size:13px;min-height:32px}.far-view .dj-badge .dj-avatar{width:27px;height:27px}
  .far-view .wall-pagination .album-pagination{justify-content:center;margin-top:2px}.far-view .display-label{font-size:10px}
  body.far-view .display-controls.viewtools{display:flex;left:4%;bottom:10px;transform:none;width:92%;max-width:92%;padding:5px;gap:4px}.far-view .display-controls.viewtools button{font-size:10px;white-space:normal;padding:8px 5px;flex:1;min-height:38px}
  .lounge-actions{left:4%;bottom:120px;right:4%;justify-content:center}.lounge-actions button{font-size:12px;padding:9px 12px}
  .remote-toggle{right:4%;bottom:65px;min-height:38px;font-size:12px;padding:6px 12px}
  .remote-open .lounge-actions{display:none}.remote-open.far-view .record-stack{display:none}.remote-open.far-view .remote-toggle{bottom:calc(var(--remote-height,226px) + 10px)}body.remote-open.far-view .display-controls.viewtools{bottom:calc(var(--remote-height,226px) + 58px)}
  body.remote-open.far-view:not(.details-open) .display-wrap{top:112px;max-height:calc(100dvh - var(--remote-height,226px) - 300px)}
  .notebook{padding:28px 20px 25px 36px}.notebook-title h2{font-size:22px}.guest-counts{gap:12px;font-size:11px}.guest-counts strong{font-size:18px}.guest-entry-head{align-items:start}.guest-entry-head time{font-size:10px}.install-dialog{padding:28px 22px}
}
@media(max-width:720px) and (max-height:700px){body.far-view .record-stack{bottom:164px;max-height:150px}.far-view .lp-wall a,.far-view .lp-wall img{width:46px;height:46px}.far-view .lp-wall a{flex-basis:46px}.lounge-actions{bottom:112px}.far-view .wall-pagination .album-pagination button{min-height:24px;padding:2px 6px}body.far-view:not(.details-open) .display-wrap{top:115px;max-height:26dvh}}
body.far-view .display-wrap:fullscreen,body.far-view.live-playing .display-wrap:fullscreen,body.remote-open.far-view .display-wrap:fullscreen{inset:0;width:100%;height:100%;max-height:none;min-height:0;aspect-ratio:auto}
body.far-view .display-wrap:fullscreen .display-controls.viewtools{position:relative;left:auto;bottom:auto;transform:none;width:100%;max-width:none}
@media(prefers-reduced-motion:reduce){header .brand{animation:none}.arrival .backwall,.arrival .record-stack{animation:none}.arrival .display-wrap{transition:none}}

/* Ink on notebook paper: explicit colors override global dark-dialog copy. */
#guestbookDialog{color:#30251b}
#guestbookDialog p,#guestbookDialog label,#guestbookDialog h3,#guestbookDialog .guest-entry-head{color:#30251b}
#guestbookDialog .guest-entry p{color:#30251b;font-size:18px;line-height:1.9;font-weight:500}
#guestbookDialog input,#guestbookDialog textarea{color:#30251b;caret-color:#30251b}
#guestbookDialog input::placeholder,#guestbookDialog textarea::placeholder{color:#68563f;opacity:1}
#guestbookDialog .notebook-title>span,#guestbookDialog .notebook-title p,#guestbookDialog .guest-count-note,#guestbookDialog .guest-public-note,#guestbookDialog small,#guestbookDialog time{color:#604c35;font-size:13px}
#guestbookDialog label,#guestbookDialog .guest-counts,#guestbookDialog button{font-size:14px}
#guestbookDialog #guestRefresh,#guestbookDialog #guestMore,#guestbookDialog .guest-like{color:#4a3420}
#guestbookDialog #guestSubmit{background:#583b22;color:#fff8e9}
body.mobile-layout #guestbookDialog .close{background:#e2cfaa;color:#382615;border-color:#9b7f56}
#guestbookDialog .mobile-back{background:#e2cfaa;color:#382615;border-color:#9b7f56}
