/* Design Studio 톤 — 따뜻한 회색 바탕 + 초콜릿 글자 + 버건디 포인트 + 가는 선 */
:root {
  --bg: #EEECE8; --panel: #F6F4F0; --ink: #34211B; --muted: #8C817A; --line: rgba(52,33,27,.16);
  --brand: #7A2430; --brand-ink: #fff; --warn: #B0303A; --ok: #3E7A55; --soft: #EFE4E2;
  --red: #7A2430; --obj: #B8AFA3; --house: #E2B9B1; --choco: #34211B; --burgundy: #7A2430;
  --radius: 6px; --shadow: none;
  --ease: cubic-bezier(.2,.8,.2,1);
  --serif: 'Instrument Serif', Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
html, body { cursor: url('../img/studio/cursor.png') 2 1, auto; }
a, button, .btn, label.drop, select, summary { cursor: url('../img/studio/cursor.png') 2 1, pointer; }
input, textarea { cursor: text; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Noto Sans KR', 'Pretendard', -apple-system, 'Malgun Gothic', sans-serif; font-size: 14px; letter-spacing: -0.01em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
a { color: inherit; }
.top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 18px 40px; background: rgba(238,236,232,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
body:not([data-page="pageRoom"]) .top { border-bottom: 1px solid var(--line); }
.crumb { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.brand { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -.01em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand em { font-style: italic; }
.brand::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--burgundy); }
.crumb .back { text-decoration: none; font-size: 13px; color: var(--muted); }
.crumb .back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.top-right { display: flex; gap: 10px; align-items: center; }
.pill, button.pill { display: inline-flex; align-items: center; border: 1px solid rgba(52,33,27,.25); border-radius: 99px; padding: 7px 16px; font-size: 13px; font-weight: 500; background: transparent; color: var(--ink); text-decoration: none; box-shadow: none; }
.pill:hover, button.pill:hover { background: var(--choco); color: var(--panel); }
.chip { font-size: 12px; padding: 5px 11px; border-radius: 99px; background: transparent; border: 1px solid var(--line); }
.chip.on { color: var(--ok); border-color: rgba(62,122,85,.35); }
.chip.off { color: var(--warn); border-color: rgba(176,48,58,.35); }
main { max-width: 1080px; margin: 0 auto; padding: 8px 32px 96px; }
.page-head { max-width: 1080px; margin: 0 auto; padding: 44px 32px 22px; }
.page-head .ph-en { font-family: var(--serif); font-style: italic; font-size: 58px; line-height: .95; letter-spacing: -.02em; }
.page-head h1 { margin: 10px 0 0; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.page-head h1::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--burgundy); }
.page-head p { margin: 4px 0 0 15px; font-size: 12.5px; }
.page-head:not([hidden]) ~ main { border-top: 1px solid var(--choco); padding-top: 28px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px; box-shadow: none; }
h2 { margin: 0 0 16px; font-size: 19px; font-weight: 700; letter-spacing: -0.025em; display: flex; align-items: center; gap: 10px; }
h3 { font-size: 15px; margin: 18px 0 8px; letter-spacing: -0.02em; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: transparent; border: 1px solid var(--choco); color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 17px; font-weight: 400; }
.cal-month { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.01em; margin: 0; }
.muted { color: var(--muted); font-weight: 400; }
.small { font-size: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; }
@media (max-width: 800px) { .grid2 { grid-template-columns: 1fr; } main { padding: 12px 12px 60px; } }
.drop { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-height: 150px; border: 2px dashed #d6ccc0; border-radius: 12px; cursor: pointer; background: #fcfaf7; text-align: center; padding: 16px; }
.drop.over { border-color: var(--brand); background: var(--soft); }
.fields { display: grid; gap: 10px; }
.fields label { display: grid; gap: 4px; font-weight: 600; font-size: 13px; }
.row { display: flex; gap: 16px; flex-wrap: wrap; }
.mini-up { display: grid; gap: 4px; font-weight: 600; font-size: 13px; }
.mini-up input { font-size: 12px; }
input, select, textarea { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(122,36,48,.45); box-shadow: 0 0 0 4px rgba(122,36,48,.10); }
textarea { width: 100%; }
button, .btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; background: rgba(0,0,0,.05); color: var(--ink); padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; text-decoration: none; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
button:hover, .btn:hover { background: rgba(0,0,0,.08); }
button:active, .btn:active { transform: scale(.97); }
button.primary, .btn.primary { background: var(--choco); color: var(--panel); box-shadow: none; }
button.primary:hover, .btn.primary:hover { background: var(--burgundy); }
button.ghost, .btn.ghost { background: transparent; border-color: rgba(52,33,27,.25); color: var(--ink); }
button.ghost:hover, .btn.ghost:hover { background: rgba(52,33,27,.06); }
button.round { width: 36px; height: 36px; padding: 0; justify-content: center; font-size: 18px; }
button:disabled { opacity: .45; cursor: default; }
.btn.small, button.small { padding: 5px 10px; font-size: 12px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.reqinfo { margin-top: 14px; background: #fcfaf7; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 6px; }
.reqinfo[hidden], [hidden] { display: none !important; }
.reqinfo .memo { white-space: pre-wrap; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.reqinfo dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0; }
.reqinfo dt { color: var(--muted); }
.imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 10px; }
.imgcard { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; display: grid; }
.imgcard img { width: 100%; height: 130px; object-fit: contain; background: #f4f1ed; }
.imgcard .meta { padding: 6px; display: grid; gap: 4px; font-size: 12px; }
.imgcard select { padding: 4px; font-size: 12px; }
.imgcard.role-ignore img { opacity: .35; }
.refadd { display: grid; gap: 6px; justify-items: start; }
.linkrow { display: flex; gap: 6px; width: 100%; max-width: 720px; }
.linkrow input { flex: 1; min-width: 0; }
.imgcard .src { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.analysis { display: grid; gap: 6px; background: #faf6f0; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.analysis h4 { margin: 0; font-size: 13px; }
.analysis table { min-width: 0; font-size: 12px; }
.analysis td, .analysis th { padding: 4px 6px; position: static; }
.table-wrap { overflow: auto; max-height: 560px; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; min-width: 1100px; }
th { position: sticky; top: 0; background: #faf7f3; font-size: 12px; text-align: left; padding: 6px; border-bottom: 1px solid var(--line); z-index: 1; }
td { border-bottom: 1px solid #f0ebe5; padding: 2px; vertical-align: middle; }
td input { width: 100%; border: 1px solid transparent; border-radius: 4px; padding: 5px 6px; background: transparent; font-size: 13px; }
td input:hover { border-color: var(--line); }
td input:focus { border-color: var(--brand); background: #fff; outline: none; }
td.w-xs { width: 44px; } td.w-s { width: 90px; } td.w-m { width: 130px; } td.num input { text-align: right; }
td.calc { text-align: center; font-weight: 700; font-size: 13px; white-space: nowrap; }
td.calc.warn { color: var(--warn); }
td.calc .why { display: block; font-size: 11px; font-weight: 500; }
td.cut { width: 64px; text-align: center; }
td.cut img { width: 44px; height: 44px; object-fit: contain; background: #f4f1ed; border-radius: 6px; cursor: pointer; display: block; margin: auto; }
td.cut label { font-size: 11px; color: var(--brand); cursor: pointer; }
td.del button { border: 0; color: var(--muted); padding: 4px 8px; }
.notes { background: #f4efe8; border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; white-space: pre-wrap; }
.revise { display: flex; gap: 8px; margin-bottom: 12px; }
.revise input { flex: 1; }
.tweak { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: end; margin-bottom: 14px; font-size: 13px; }
.tweak label { display: grid; gap: 3px; font-weight: 600; font-size: 12px; }
.tweak input { padding: 5px 8px; }
.tweak input[type=color] { padding: 0; width: 40px; height: 30px; }
.pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.page { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fafafa; }
.page .ph { display: flex; justify-content: space-between; padding: 8px 10px; font-size: 12px; font-weight: 600; background: #fff; border-bottom: 1px solid var(--line); }
.page .holder { width: 100%; overflow: hidden; position: relative; }
.empty { color: var(--muted); padding: 30px; text-align: center; border: 1px dashed var(--line); border-radius: 10px; }
dialog { border: 0; border-radius: 14px; padding: 20px 22px; width: min(640px, 92vw); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog label { display: grid; gap: 4px; margin-bottom: 10px; font-weight: 600; font-size: 13px; }
dialog::backdrop { background: rgba(30, 20, 10, .35); }
.dlg-btns { display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 12px; }
.dlg-btns label { margin: 0 auto 0 0; display: flex; gap: 6px; font-weight: 500; }
dialog.gm { width: min(860px, 94vw); max-height: 92vh; }
.gm-steps { display: grid; gap: 14px; padding-left: 20px; }
.gm-steps li { display: grid; gap: 6px; justify-items: start; }
.gm-steps li > b { font-size: 14px; }
.gm-steps textarea { width: 100%; font-size: 12px; }
.gm-imgs { display: flex; flex-wrap: wrap; gap: 8px; }
.gm-img { width: 120px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; position: relative; }
.gm-img img { width: 100%; height: 100px; object-fit: contain; background: #f4f1ed; display: block; }
.gm-img-n { position: absolute; top: 4px; left: 4px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 99px; }
.gm-img-btns { display: flex; gap: 4px; padding: 4px; }
.gm-img-btns button { flex: 1; justify-content: center; padding: 3px 0; font-size: 11px; }
/* 탭 */
.tabs { display: flex; gap: 4px; }
.tabs button { border: 0; background: transparent; color: var(--muted); padding: 6px 12px; border-radius: 8px; }
.tabs button.on { background: var(--soft); color: var(--brand); }
/* 연출컷 */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border-color: var(--line); color: var(--ink); padding: 4px 10px; font-size: 12px; font-weight: 500; border-radius: 99px; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; display: grid; }
.shot img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: #f4f1ed; }
.shot .body { padding: 8px 10px; display: grid; gap: 6px; font-size: 12px; }
.shot .btns { display: flex; flex-wrap: wrap; gap: 4px; }
.shot .btns button { padding: 4px 8px; font-size: 12px; }
.chk { display: grid; grid-template-columns: max-content 1fr; gap: 2px 8px; }
.chk .ok { color: var(--ok); font-weight: 700; }
.chk .no { color: var(--warn); font-weight: 700; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
label.block { display: grid; gap: 4px; font-weight: 600; font-size: 13px; margin: 12px 0 8px; }
label.inline { display: flex; gap: 6px; align-items: center; font-size: 13px; margin-top: 10px; }
#shotPrompt { font-family: Consolas, monospace; font-size: 12px; }
.grid-form label { display: grid; gap: 4px; font-weight: 600; font-size: 13px; }
#busy { position: fixed; inset: 0; background: rgba(255,255,255,.75); display: grid; place-content: center; justify-items: center; gap: 14px; z-index: 50; font-weight: 600; }
#busy[hidden] { display: none; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--soft); border-top-color: var(--brand); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(30px); opacity: 0; background: #2b2520; color: #fff; padding: 10px 18px; border-radius: 10px; transition: .25s; z-index: 60; max-width: 90vw; white-space: pre-wrap; pointer-events: none; }
#toast.show { opacity: 1; transform: translateX(-50%); }
#toast.error { background: var(--warn); }

/* ================= 디자인팀의 방 ================= */
.page-room { padding: 36px 28px 96px; }
.house { max-width: 1080px; margin: 0 auto; }
.roof { display: block; width: 100%; height: clamp(64px, 11vw, 140px); }
.roof polyline { stroke: var(--house); }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--house); border-top: 1px solid var(--house); }
.room { position: relative; border-right: 1px solid var(--house); border-bottom: 1px solid var(--house); min-height: 300px; padding: 26px 24px 22px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: inherit; transition: background .5s var(--ease); }
a.room:hover { background: rgba(255,255,255,.6); }
.room-art { flex: 1; display: grid; place-items: center; }
.room-art svg { width: 80%; max-width: 230px; height: auto; transition: transform .6s var(--ease), filter .6s var(--ease); filter: drop-shadow(0 10px 14px rgba(80,50,30,.07)); }
a.room:hover .room-art svg { transform: translateY(-6px); filter: drop-shadow(0 20px 24px rgba(80,50,30,.13)); }
.room-title { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
.room-sub { color: var(--muted); font-size: 12.5px; margin: 5px 0 0 15px; }
.soon-tag { font-size: 10.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 2px 8px; margin-left: 2px; background: rgba(255,255,255,.6); }
.room.soon .room-art svg { opacity: .78; }
.logo-cell { justify-content: center; gap: 16px; }
.logo-big { font-size: clamp(46px, 6.4vw, 80px); font-weight: 800; letter-spacing: -0.055em; line-height: .9; color: var(--red); }
.logo-small { font-size: 12px; color: var(--muted); letter-spacing: 0; }
.lamp-cell { padding: 0; cursor: pointer; z-index: 1; }
.lamp { position: absolute; inset: 0; display: flex; justify-content: center; pointer-events: none; }
.lamp-svg { height: 100%; width: auto; overflow: visible; }
.lamp-swing { transform-origin: 110px 0; transform-box: view-box; animation: swing 7s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(1.1deg); } 50% { transform: rotate(-1.1deg); } }
.lamp-light { transition: opacity .8s var(--ease); animation: glow 5s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .72; } }
.lamp-bulb { transition: fill .6s; filter: drop-shadow(0 0 16px rgba(255,196,130,.95)); }
body.lights-off { background: #E8E2D7; }
body.lights-off .lamp-light { opacity: 0; animation: none; }
body.lights-off .lamp-bulb { fill: #D9D0C3; filter: none; }
.rec { animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 760px) {
  .page-room { padding: 20px 16px 60px; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .logo-cell { grid-column: span 2; min-height: 170px; }
  .lamp-cell { grid-column: span 2; min-height: 220px; }
  .room { min-height: 210px; padding: 16px 12px 14px; }
  .room-title { font-size: 13.5px; }
  .room-sub { display: none; }
}

/* ================= 팀 캘린더 ================= */
.eyebrow { color: var(--red); font-size: 13px; font-weight: 600; }
.page-cal h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.045em; margin: 4px 0 0; }
.cal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cal-nav { display: flex; gap: 8px; align-items: center; }
.cal-notice { background: rgba(200,40,30,.06); color: #8A2A22; padding: 11px 16px; border-radius: 12px; font-size: 13px; margin-bottom: 14px; }
.cal-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.lg { display: inline-flex; align-items: center; gap: 6px; }
.ev-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cal-wd { padding: 11px 12px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.cal-wd.sun, .cal-day.sun .cal-num { color: var(--red); }
.cal-wd.sat, .cal-day.sat .cal-num { color: #3A6EA5; }
.cal-day { min-height: 116px; padding: 8px; border-right: 1px solid #F1ECE4; border-bottom: 1px solid #F1ECE4; display: flex; flex-direction: column; gap: 3px; cursor: pointer; transition: background .2s; min-width: 0; }
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day:hover { background: #FBF8F3; }
.cal-day.other { opacity: .35; }
.cal-num { font-size: 13px; font-weight: 600; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 2px; }
.cal-day.today .cal-num { background: var(--red); color: #fff !important; }
button.ev { display: flex; align-items: center; gap: 5px; width: 100%; padding: 3px 7px; border-radius: 6px; font-size: 11.5px; font-weight: 500; background: color-mix(in srgb, var(--c) 12%, white); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; justify-content: flex-start; box-shadow: none; }
button.ev:hover { background: color-mix(in srgb, var(--c) 22%, white); }
.ev-more { font-size: 11px; color: var(--muted); padding-left: 6px; }
.cal-up-title { margin-top: 36px; font-size: 17px; }
.cal-upcoming { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cal-upcoming > .muted { padding: 18px 20px; }
.up-row { display: grid; grid-template-columns: 120px 96px 110px 1fr; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #F1ECE4; cursor: pointer; align-items: center; transition: background .2s; }
.up-row:hover { background: #FBF8F3; }
.up-row:last-child { border-bottom: 0; }
.up-date { font-weight: 600; }
.up-type { display: inline-flex; align-items: center; gap: 6px; color: var(--c); font-weight: 600; }
.up-type::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
@media (max-width: 760px) {
  .page-cal h1 { font-size: 30px; }
  .cal-day { min-height: 72px; padding: 4px; }
  button.ev { font-size: 10px; padding: 2px 4px; }
  button.ev .ev-dot { display: none; }
  .up-row { grid-template-columns: 1fr 1fr; }
}

/* ================= 준비 중 ================= */
.page-soon { text-align: center; padding-top: 72px; display: grid; justify-items: center; gap: 8px; }
.page-soon h1 { font-size: 34px; letter-spacing: -0.04em; margin: 8px 0 0; }
.soon-art svg { width: 240px; height: auto; }
.steam path { animation: steam 3.2s ease-in-out infinite; opacity: 0; }
.steam path:nth-child(2) { animation-delay: .8s; }
.steam path:nth-child(3) { animation-delay: 1.6s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-8px); } }
/* 편집샵 느낌: 번호 · 영문 이름 · 실제 사진 */
.room-no { position: absolute; top: 16px; left: 20px; right: 20px; display: flex; justify-content: space-between; font-size: 11px; color: #A39A8E; letter-spacing: .02em; pointer-events: none; }
.room-en { font-style: italic; }
.lamp-no { top: auto; bottom: 14px; }
.room-photo { width: 82%; max-width: 250px; max-height: 200px; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
a.room:hover .room-photo { transform: translateY(-6px) scale(1.02); }
.lamp-swing-photo { position: absolute; top: 0; left: 50%; width: 62%; transform-origin: 50% 0; transform: translateX(-50%); animation: swingPhoto 7s ease-in-out infinite; }
@keyframes swingPhoto { 0%, 100% { transform: translateX(-50%) rotate(1deg); } 50% { transform: translateX(-50%) rotate(-1deg); } }
.lamp-photo { width: 100%; display: block; mix-blend-mode: multiply; }
.lamp-glow { position: absolute; left: 50%; bottom: -10%; width: 90%; height: 70%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 20%, rgba(255,214,160,.75), rgba(255,214,160,0) 65%); transition: opacity .8s var(--ease); animation: glow 5s ease-in-out infinite; pointer-events: none; }
body.lights-off .lamp-glow { opacity: 0; animation: none; }
/* 조명 사진 + 빛 (lamp.png 기준 위치: 갓 폭 x 30~70%, 갓 아래 테두리 y≈73%, 전구 중심 x≈49.5% y≈76.5%) */
.lamp-cell.has-photo { overflow: visible; }
.lamp-swing-photo { width: 72%; }
.lamp-swing-photo > * { pointer-events: none; }
.lamp-photo { position: relative; z-index: 2; }
.lamp-cone {
  position: absolute; z-index: 1; top: 73%; left: -45%; width: 190%; height: 135%;
  clip-path: polygon(39.5% 0, 60.5% 0, 100% 100%, 0 100%);
  background: linear-gradient(to bottom, rgba(255,222,170,.62), rgba(255,226,180,.22) 45%, rgba(255,230,190,0) 100%);
  filter: blur(6px); animation: breathe 5s ease-in-out infinite; transition: opacity .8s var(--ease);
}
.lamp-floor {
  position: absolute; z-index: 0; top: 128%; left: -30%; width: 160%; height: 60%;
  background: radial-gradient(ellipse at 50% 30%, rgba(255,214,160,.45), rgba(255,214,160,0) 70%);
  animation: breathe 5s ease-in-out infinite; transition: opacity .8s var(--ease);
}
.lamp-rim {
  position: absolute; z-index: 3; top: 70.5%; left: 30%; width: 40%; height: 5%;
  background: radial-gradient(ellipse at 50% 60%, rgba(255,240,215,.95), rgba(255,200,150,0) 70%);
  mix-blend-mode: screen; filter: blur(2px); transition: opacity .8s var(--ease);
}
.lamp-bulb-glow {
  position: absolute; z-index: 3; top: 65%; left: 38%; width: 23%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255,250,235,1) 0%, rgba(255,214,150,.85) 30%, rgba(255,150,90,.35) 60%, rgba(255,150,90,0) 75%);
  mix-blend-mode: screen; filter: blur(1.5px); animation: bulb 5s ease-in-out infinite; transition: opacity .8s var(--ease);
}
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .78; } }
@keyframes bulb { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .85; transform: scale(.96); } }
body.lights-off .lamp-cone, body.lights-off .lamp-floor, body.lights-off .lamp-rim, body.lights-off .lamp-bulb-glow { opacity: 0; animation: none; }
/* 화면 있는 소품(아이맥 등): 사진 위에 작업 화면 */
.photo-wrap { position: relative; display: inline-block; width: 86%; max-width: 270px; transition: transform .6s var(--ease); }
.photo-wrap .room-photo { width: 100%; max-width: none; max-height: none; display: block; mix-blend-mode: normal; }
a.room:hover .photo-wrap { transform: translateY(-6px); }
a.room:hover .photo-wrap .room-photo { transform: none; }
.scr { position: absolute; overflow: hidden; background: #FBF8F3; container-type: inline-size; display: flex; flex-direction: column; }
.scr::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,0) 55%, rgba(255,255,255,.35) 56%, rgba(255,255,255,0) 80%); pointer-events: none; }
.scr-bar { height: 5cqw; background: #EFEAE2; display: flex; align-items: center; gap: 1cqw; padding: 0 2cqw; flex: none; }
.scr-bar i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #E06B5F; }
.scr-bar i:nth-child(2) { background: #E8B84B; } .scr-bar i:nth-child(3) { background: #6CBF6A; }
.scr-bar b { margin-left: auto; width: 14cqw; height: 1.6cqw; border-radius: 1cqw; background: #DED6CA; }
.scr-body { flex: 1; display: grid; grid-template-columns: 9cqw 1fr 18cqw; min-height: 0; }
.scr-side { background: #F4EFE7; display: flex; flex-direction: column; gap: 2cqw; padding: 3cqw 2cqw; }
.scr-side span { height: 1.4cqw; border-radius: 1cqw; background: #DED6CA; }
.scr-side span:first-child { background: var(--red); width: 70%; }
.scr-art { margin: 2.4cqw auto; aspect-ratio: 4/5; height: calc(100% - 4.8cqw); background: #F3EBE1; display: flex; flex-direction: column; align-items: center; padding: 1.6cqw; gap: 1cqw; box-shadow: 0 .6cqw 1.6cqw rgba(0,0,0,.08); }
.scr-logo { width: 30%; height: 3cqw; background: #E6D7C4; border-radius: .4cqw; }
.scr-pill { width: 16%; height: 1.8cqw; background: #8B5E3C; border-radius: 1cqw; }
.scr-cards { width: 100%; flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8cqw; }
.scr-card { background: #FFFBF5; border-radius: .4cqw; display: flex; flex-direction: column; align-items: center; padding: .8cqw .4cqw; gap: .5cqw; }
.scr-img { width: 70%; flex: 1; border-radius: .3cqw; background: linear-gradient(160deg, #D9B38C, #A9784F); }
.scr-card:nth-child(2n) .scr-img { background: linear-gradient(160deg, #EDE3D6, #C9B7A1); }
.scr-card:nth-child(3n) .scr-img { background: linear-gradient(160deg, #5B4636, #2E241C); }
.scr-l1 { width: 80%; height: .8cqw; background: #3B2A1D; border-radius: .4cqw; opacity: .8; }
.scr-price { display: flex; align-items: center; gap: .4cqw; width: 80%; }
.scr-price em { flex: 1; height: 1.2cqw; background: #3B2A1D; border-radius: .4cqw; }
.scr-price u { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #8B5E3C; }
.scr-panel { background: #fff; border-left: 1px solid #EFEAE2; padding: 3cqw 2cqw; display: flex; flex-direction: column; gap: 1.8cqw; }
.scr-panel span { height: 1.3cqw; border-radius: 1cqw; background: #EAE3D8; }
.scr-panel span:nth-child(odd) { width: 60%; background: #D6CCBE; }
.scr-btn { margin-top: auto; height: 3.4cqw; border-radius: 2cqw; background: var(--red); }