/* Cinematic store panorama: independent video-like director stage. */
.store-story {
  position: relative;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% -12%, rgba(255,255,255,.98), transparent 36%),
    linear-gradient(180deg, #f8f8f9, #f0f0f1);
}

.store-story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.56), transparent 18%, transparent 82%, rgba(255,255,255,.5)),
    radial-gradient(circle at 24% 0%, rgba(255,255,255,.8), transparent 30%);
}

.store-story > * { position: relative; z-index: 1; }

.store-director {
  width: min(calc(100% - 48px), 1120px);
  margin: 22px auto 0;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 30px;
  background: #111;
  box-shadow: 0 34px 100px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.2);
}

.director-chrome {
  height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 20px;
  color: rgba(255,255,255,.72);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 11px;
  letter-spacing: .03em;
}

.director-chrome::before {
  content: "";
  width: 46px;
  height: 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 6px 50%, #ff625a 0 4px, transparent 4.5px),
    radial-gradient(circle at 23px 50%, #ffc043 0 4px, transparent 4.5px),
    radial-gradient(circle at 40px 50%, #35c74b 0 4px, transparent 4.5px);
}

.director-chrome span { display: none; }
.director-chrome strong { color: #fff; font-size: 12px; font-weight: 650; }
.director-chrome em { justify-self: end; color: rgba(255,255,255,.52); font-style: normal; font-family: var(--font-apple-mono); }

.director-frame {
  position: relative;
  height: min(620px, 58vw);
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(255,255,255,.16), transparent 34%),
    linear-gradient(180deg, #232323, #0f0f0f);
  color: #f5f5f7;
  perspective: 1200px;
}

.director-frame::before,
.director-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.director-frame::before {
  background:
    linear-gradient(90deg, rgba(0,0,0,.28), transparent 22%, transparent 78%, rgba(0,0,0,.28)),
    radial-gradient(circle at 50% 58%, transparent 0 42%, rgba(0,0,0,.24) 100%);
  mix-blend-mode: multiply;
}

.director-frame::after {
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 100% 5px;
}

.director-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04) translateY(18px);
  transition: opacity 620ms ease, transform 980ms cubic-bezier(.16,.76,.2,1), visibility 0s linear 620ms;
}

.director-shot.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  transition-delay: 0s;
}

.director-shot.active .director-wall {
  animation: director-grid-drift 8s linear infinite;
}

.director-shot.active .director-floor {
  animation: director-floor-light 6s ease-in-out infinite;
}

.director-wall,
.director-floor,
.director-shot::before,
.director-shot::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.director-wall {
  inset: 0 0 46%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.14), rgba(255,255,255,.04)),
    repeating-linear-gradient(90deg, transparent 0 95px, rgba(255,255,255,.06) 96px 97px),
    linear-gradient(180deg, #3d3d3d, #1e1e1e);
}

.director-floor {
  inset: 38% 0 0;
  background:
    linear-gradient(120deg, transparent 0 49%, rgba(255,255,255,.07) 50%, transparent 51%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 92px),
    linear-gradient(180deg, #d8d8d8, #8e8e8e 58%, #565656);
  transform-origin: top center;
  transform: rotateX(62deg) scaleY(1.85) translateY(-16%);
}

.director-shot::before {
  z-index: 12;
  inset: 0;
  background: radial-gradient(circle at var(--shot-light-x, 42%) var(--shot-light-y, 54%), transparent 0 26%, rgba(0,0,0,.16) 54%, rgba(0,0,0,.44) 100%);
}

.director-shot::after {
  z-index: 13;
  top: var(--scan-y, 45%);
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  opacity: .42;
  animation: director-scan 3s ease-in-out infinite;
}

.director-camera {
  position: absolute;
  z-index: 4;
  left: 10%;
  top: 22%;
  width: 78px;
  height: 34px;
  border-radius: 10px;
  background: #ececec;
  box-shadow: 0 18px 34px rgba(0,0,0,.24);
  transform: rotate(-18deg);
}

.director-camera::before {
  content: "";
  position: absolute;
  right: 9px;
  top: 8px;
  width: 18px;
  height: 18px;
  border: 2px solid #111;
  border-radius: 50%;
}

.director-camera::after {
  content: "";
  position: absolute;
  left: 76px;
  top: 19px;
  width: 190px;
  border-top: 1px dashed rgba(255,255,255,.42);
  transform: rotate(19deg);
  transform-origin: left center;
}

.director-camera i {
  position: absolute;
  left: 62px;
  top: 12px;
  width: 260px;
  height: 120px;
  display: block;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.34), rgba(255,255,255,.08) 54%, transparent);
  clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 58%);
  filter: blur(.2px);
  transform: rotate(18deg) scaleX(.82);
  transform-origin: left center;
}

.director-shot.active .director-camera i {
  animation: director-camera-cone 3.2s ease-in-out infinite;
}

.director-door,
.director-counter,
.director-bed,
.director-table,
.director-tea-counter,
.director-dashboard {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(245,245,245,.82);
  box-shadow: 0 28px 70px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.9);
}

.director-door { right: 16%; top: 22%; width: 122px; height: 218px; border-radius: 80px 80px 18px 18px; opacity: .88; }
.director-door.exit { left: 15%; right: auto; }

.director-counter {
  left: 17%;
  bottom: 19%;
  width: 430px;
  height: 112px;
  border-radius: 24px;
}

.director-imac,
.director-keyboard,
.director-qr,
.director-phone { position: absolute; display: block; }
.director-imac { left: 142px; top: -56px; width: 120px; height: 74px; border-radius: 10px; background: #202020; border: 5px solid #dcdcdc; }
.director-imac::after { content: ""; position: absolute; left: 42px; top: 74px; width: 34px; height: 28px; background: #dcdcdc; }
.director-keyboard { left: 134px; top: 78px; width: 140px; height: 11px; border-radius: 999px; background: rgba(0,0,0,.28); }

.director-bed {
  left: 28%;
  bottom: 19%;
  width: 390px;
  height: 178px;
  border-radius: 26px;
}
.director-bed i { position: absolute; right: 25px; top: 22px; width: 104px; height: 40px; border-radius: 22px; background: #fff; box-shadow: inset 0 -1px rgba(0,0,0,.12); }
.director-bed.room-check::after { content: ""; position: absolute; left: 44px; bottom: 28px; width: 72px; height: 28px; border-radius: 999px; background: #efefef; box-shadow: 92px 0 #ededed, 184px 0 #ededed; }

.director-table.oils {
  left: 36%;
  bottom: 28%;
  width: 178px;
  height: 102px;
  border-radius: 50%;
}
.director-table.oils i { position: absolute; bottom: 39px; width: 13px; height: 40px; border-radius: 8px 8px 4px 4px; background: #111; }
.director-table.oils i:nth-child(1) { left: 54px; }
.director-table.oils i:nth-child(2) { left: 82px; height: 50px; }
.director-table.oils i:nth-child(3) { left: 112px; }
.director-table.oils::after {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
  animation: director-oil-glint 2.8s ease-in-out infinite;
}

.director-tea-counter { left: 28%; bottom: 22%; width: 430px; height: 118px; border-radius: 24px; }
.director-tea-counter i { position: absolute; top: 31px; width: 42px; height: 42px; border: 4px solid #111; border-radius: 50%; background: #fff; }
.director-tea-counter i:nth-child(1) { left: 112px; }
.director-tea-counter i:nth-child(2) { left: 182px; }
.director-tea-counter i:nth-child(3) { left: 260px; width: 72px; border-radius: 999px; }
.director-tea-counter::before,
.director-tea-counter::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 18px;
  height: 44px;
  border-radius: 999px;
  border-left: 2px solid rgba(17,17,17,.32);
  opacity: .45;
  animation: director-steam 2.4s ease-in-out infinite;
}
.director-tea-counter::before { left: 126px; }
.director-tea-counter::after { left: 198px; animation-delay: .5s; }

.director-counter.payment { left: 31%; width: 360px; }
.director-qr { left: 52px; top: 29px; width: 55px; height: 55px; background: #fff; border: 6px solid #111; }
.director-qr::after { content: ""; position: absolute; inset: 10px; background: repeating-linear-gradient(90deg, #111 0 4px, transparent 4px 8px), repeating-linear-gradient(0deg, transparent 0 6px, #111 6px 9px); opacity: .55; }
.director-phone { right: 55px; top: -30px; width: 50px; height: 88px; border: 5px solid #111; border-radius: 14px; background: #fff; transform: rotate(-12deg); }
.director-phone::after { content: ""; position: absolute; left: 6px; right: 6px; top: 42px; height: 2px; background: #111; animation: director-pay-scan 1.4s ease-in-out infinite; }

.director-dashboard {
  left: 31%;
  top: 18%;
  width: 460px;
  height: 260px;
  border-radius: 26px;
  background: rgba(245,245,245,.9);
}
.director-dashboard i { position: absolute; left: 42px; right: 42px; height: 12px; border-radius: 999px; background: #111; opacity: .18; }
.director-dashboard i:nth-child(1) { top: 54px; width: 70%; }
.director-dashboard i:nth-child(2) { top: 98px; width: 48%; }
.director-dashboard i:nth-child(3) { top: 142px; width: 78%; }
.director-dashboard i:nth-child(4) { top: 194px; width: 60%; }
.director-shot.active .director-dashboard i {
  transform-origin: left center;
  animation: director-report-bar 3.6s ease-in-out infinite;
}
.director-shot.active .director-dashboard i:nth-child(2) { animation-delay: .15s; }
.director-shot.active .director-dashboard i:nth-child(3) { animation-delay: .3s; }
.director-shot.active .director-dashboard i:nth-child(4) { animation-delay: .45s; }

.director-person {
  position: absolute;
  z-index: 8;
  width: 74px;
  height: 118px;
  border-radius: 40px 40px 22px 22px;
  background: #4d4d4a;
  box-shadow: 0 22px 46px rgba(0,0,0,.25);
}
.director-person::before { content: ""; position: absolute; left: 19px; top: -28px; width: 36px; height: 36px; border-radius: 50%; background: #d7d7d4; box-shadow: inset 0 7px #3b3b39; }
.director-person::after { content: ""; position: absolute; right: -24px; top: 32px; width: 24px; height: 70px; border-radius: 999px; background: #777; transform: rotate(-28deg); }
.director-person.guest { background: #f3f3f0; }
.director-person.guest::before { box-shadow: inset 0 7px #a6a6a1; }
.director-person.staff { background: #5b5b58; }

/* Desktop actors are articulated so each shot can carry its own physical action. */
.director-person.is-rigged {
  width: 94px;
  height: 174px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform-origin: 50% 100%;
}
.director-person.is-rigged::before,
.director-person.is-rigged::after { display: none; }
.director-person.is-rigged > i {
  position: absolute;
  display: block;
  pointer-events: none;
}
.director-person .person-shadow {
  z-index: 1;
  right: 5px;
  bottom: -7px;
  left: 5px;
  height: 17px;
  border-radius: 50%;
  background: rgba(0,0,0,.26);
  filter: blur(7px);
  transform: scaleX(.9);
}
.director-person .person-head {
  z-index: 7;
  top: 2px;
  left: 31px;
  width: 32px;
  height: 36px;
  border-radius: 46% 46% 50% 50%;
  background: linear-gradient(180deg, #e5e5e1 0 72%, #d1d1cc 72%);
  box-shadow: inset 0 8px 0 #373735, 0 8px 15px rgba(0,0,0,.16);
  transform-origin: 50% 88%;
}
.director-person .person-torso {
  z-index: 4;
  top: 35px;
  left: 19px;
  width: 56px;
  height: 91px;
  border-radius: 25px 25px 14px 14px;
  background: linear-gradient(145deg, #73736f 0%, #4a4a47 82%);
  box-shadow: inset 1px 1px rgba(255,255,255,.18), 0 12px 22px rgba(0,0,0,.16);
  transform-origin: 50% 90%;
}
.director-person .person-arm {
  z-index: 5;
  top: 43px;
  width: 14px;
  height: 77px;
  border-radius: 999px;
  background: linear-gradient(180deg, #80807c, #5b5b57);
  box-shadow: inset 1px 0 rgba(255,255,255,.12);
  transform-origin: 50% 10px;
}
.director-person .person-arm.left { left: 10px; transform: rotate(18deg); }
.director-person .person-arm.right { right: 9px; transform: rotate(-24deg); }
.director-person .person-leg {
  z-index: 2;
  top: 117px;
  width: 15px;
  height: 52px;
  border-radius: 999px;
  background: #41413e;
  transform-origin: 50% 2px;
}
.director-person .person-leg.left { left: 30px; transform: rotate(7deg); }
.director-person .person-leg.right { right: 29px; transform: rotate(-7deg); }
.director-person.guest .person-torso {
  background: linear-gradient(145deg, #f7f7f4, #d7d7d1);
  box-shadow: inset 1px 1px rgba(255,255,255,.72), 0 12px 22px rgba(0,0,0,.12);
}
.director-person.guest .person-arm { background: linear-gradient(180deg, #f2f2ee, #d4d4ce); }
.director-person.guest .person-leg { background: #c8c8c2; }
.director-person.guest .person-head { box-shadow: inset 0 8px 0 #989894, 0 8px 15px rgba(0,0,0,.12); }

.director-person.greeter .person-arm.left { transform: rotate(27deg); }
.director-person.greeter .person-arm.right { transform: rotate(-68deg) translateY(-2px); }
.director-person.receptionist .person-torso { transform: rotate(-5deg); }
.director-person.receptionist .person-head { transform: translate(-4px, 2px) rotate(-8deg); }
.director-person.receptionist .person-arm.right { transform: rotate(-72deg) translate(5px, 1px); }
.director-person.consultant .person-arm.left { transform: rotate(42deg); }
.director-person.consultant .person-arm.right { transform: rotate(-76deg) translate(6px, -3px); }
.director-person.seated { height: 124px; }
.director-person.seated .person-torso { top: 46px; height: 61px; }
.director-person.seated .person-arm { top: 48px; height: 56px; }
.director-person.seated .person-arm.left { transform: rotate(54deg) translateY(5px); }
.director-person.seated .person-arm.right { transform: rotate(-54deg) translateY(5px); }
.director-person.seated .person-leg { top: 96px; height: 31px; }
.director-person.seated .person-leg.left { transform: rotate(72deg) translate(3px, -1px); }
.director-person.seated .person-leg.right { transform: rotate(-72deg) translate(-3px, -1px); }
.director-person.therapist .person-torso { transform: rotate(7deg); }
.director-person.therapist .person-head { transform: translate(5px, 5px) rotate(10deg); }
.director-person.therapist .person-arm.left { transform: rotate(65deg) translateY(9px); }
.director-person.therapist .person-arm.right { transform: rotate(-63deg) translateY(9px); }
.director-person.inspector .person-arm.right { transform: rotate(-82deg) translate(11px, -3px); }
.director-person.barista .person-torso { transform: rotate(-5deg); }
.director-person.barista .person-arm.left { transform: rotate(67deg) translateY(8px); }
.director-person.barista .person-arm.right { transform: rotate(-61deg) translateY(7px); }
.director-person.cashier .person-arm.right { transform: rotate(-66deg) translate(5px, 1px); }
.director-person.paying .person-arm.left { transform: rotate(73deg) translate(7px, -1px); }
.director-person.paying .person-head { transform: translate(-3px, 3px) rotate(-8deg); }
.director-person.host .person-arm.right { transform: rotate(-73deg) translate(3px, -3px); }
.director-person.leaving .person-torso { transform: rotate(-7deg); }
.director-person.manager .person-head { transform: translate(5px, 4px) rotate(8deg); }
.director-person.manager .person-arm.right { transform: rotate(-52deg) translate(8px, -2px); }

.director-person.greeter { left: 42%; bottom: 23%; }
.director-person.arriving { right: 34%; bottom: 21%; animation: director-arrive 5.8s ease-in-out infinite; }
.director-person.receptionist { left: 39%; bottom: 42%; }
.director-person.consultant { left: 33%; bottom: 24%; }
.director-person.seated { right: 40%; bottom: 26%; transform: scale(.9); }
.director-person.therapist { right: 38%; bottom: 34%; }
.director-person.inspector { right: 37%; bottom: 24%; }
.director-person.barista { right: 38%; bottom: 26%; }
.director-person.cashier { left: 38%; bottom: 38%; }
.director-person.paying { right: 37%; bottom: 26%; }
.director-person.host { left: 37%; bottom: 24%; }
.director-person.leaving { left: 48%; bottom: 22%; animation: director-leave 6s ease-in-out infinite; }
.director-person.manager { left: 42%; bottom: 22%; }
.director-shot.active .director-person.staff:not(.is-rigged)::after {
  animation: director-arm-action 2.6s ease-in-out infinite;
}
.director-shot.active .director-person.staff.is-rigged .person-head {
  animation: director-person-attend 4.2s ease-in-out infinite;
}

.director-message-bubble,
.director-service-card,
.director-waveform,
.director-scan-box,
.director-coupon {
  position: absolute;
  z-index: 9;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 18px;
  color: #111;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 44px rgba(0,0,0,.16), inset 0 1px rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
}
.director-message-bubble { right: 18%; top: 24%; padding: 14px 18px; font-weight: 700; }
.director-message-bubble::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 4px;
  margin-left: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, #111 0 2px, transparent 2.5px) 0 0 / 6px 4px repeat-x;
  vertical-align: middle;
  animation: director-typing 1.1s steps(3) infinite;
}
.director-waveform { right: 18%; top: 26%; display: flex; gap: 5px; padding: 15px 18px; }
.director-waveform i { width: 5px; height: 24px; border-radius: 999px; background: #111; animation: director-wave 1.1s ease-in-out infinite; }
.director-waveform i:nth-child(2) { animation-delay: .1s; height: 34px; }
.director-waveform i:nth-child(3) { animation-delay: .2s; height: 19px; }
.director-waveform i:nth-child(4) { animation-delay: .3s; height: 42px; }
.director-waveform i:nth-child(5) { animation-delay: .4s; height: 26px; }
.director-service-card { left: 13%; top: 22%; padding: 16px 18px; display: grid; gap: 6px; min-width: 150px; }
.director-service-card i { display: block; width: 110px; height: 5px; border-radius: 999px; background: linear-gradient(90deg, #111 64%, rgba(0,0,0,.12) 64%); }
.director-service-card::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 13px;
  width: 38px;
  height: 5px;
  border-radius: 999px;
  background: rgba(17,17,17,.34);
  animation: director-task-pulse 1.8s ease-in-out infinite;
}
.director-scan-box { left: 31%; bottom: 28%; width: 250px; height: 138px; border-style: dashed; background: transparent; animation: director-scanbox 2.2s ease-in-out infinite; }
.director-scan-box::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.92), transparent);
  animation: director-room-scan 2.2s ease-in-out infinite;
}
.director-coupon { right: 18%; top: 26%; padding: 14px 20px; font-weight: 700; }
.director-shot.active .director-coupon {
  animation: director-coupon-pop 3s ease-in-out infinite;
}
.director-path { position: absolute; z-index: 6; left: 46%; right: 23%; bottom: 30%; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.9), rgba(255,255,255,.1)); animation: director-path 2.8s linear infinite; }

.store-story[data-cinema-scene="welcome"] .director-shot.active .director-camera {
  animation: director-camera-watch 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="welcome"] .director-shot.active .director-path {
  animation: director-path-grow 6.6s ease-in-out infinite;
  transform-origin: left center;
}
.store-story[data-cinema-scene="welcome"] .director-shot.active .director-person.arriving {
  animation: director-welcome-guest 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="welcome"] .director-shot.active .director-person.greeter {
  animation: director-greeter-ready 6.6s ease-in-out infinite;
}

.store-story[data-cinema-scene="reception"] .director-shot.active .director-message-bubble {
  animation: director-message-enter 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="reception"] .director-shot.active .director-imac {
  animation: none;
}
.store-story[data-cinema-scene="reception"] .director-shot.active .ai-reception-monitor {
  animation: ai-monitor-breathe 2.2s ease-in-out infinite, ai-screen-load 2.4s ease-in-out infinite;
}

.store-story[data-cinema-scene="consult"] .director-shot.active .director-person.consultant .person-arm.right {
  animation: director-consult-gesture 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="consult"] .director-shot.active .director-table.oils i:nth-child(2) {
  animation: director-bottle-select 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="consult"] .director-shot.active .director-waveform {
  animation: director-voice-card 6.6s ease-in-out infinite;
}

.store-story[data-cinema-scene="treatment"] .director-shot.active .director-bed {
  animation: director-service-room 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="treatment"] .director-shot.active .director-service-card {
  animation: director-task-card-in 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="treatment"] .director-shot.active .director-person.therapist .person-arm.right {
  animation: director-service-hands 6.6s ease-in-out infinite;
}

.store-story[data-cinema-scene="inspection"] .director-shot.active .director-camera,
.store-story[data-cinema-scene="tea"] .director-shot.active .director-camera,
.store-story[data-cinema-scene="payment"] .director-shot.active .director-camera {
  animation: director-camera-watch 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="inspection"] .director-shot.active .director-scan-box {
  animation: director-room-evidence 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="inspection"] .director-shot.active .director-bed.room-check::after {
  animation: director-room-items 6.6s ease-in-out infinite;
}

.store-story[data-cinema-scene="tea"] .director-shot.active .director-tea-counter {
  animation: director-tea-stage 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="tea"] .director-shot.active .director-person.barista {
  animation: director-tea-staff 6.6s ease-in-out infinite;
}

.store-story[data-cinema-scene="payment"] .director-shot.active .director-phone {
  animation: director-phone-scan 6.6s ease-in-out infinite;
}

.store-story[data-cinema-scene="farewell"] .director-shot.active .director-person.leaving {
  animation: director-farewell-walk 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="farewell"] .director-shot.active .director-coupon {
  animation: director-coupon-handoff 6.6s ease-in-out infinite;
}

.store-story[data-cinema-scene="manager"] .director-shot.active .director-person.manager {
  animation: director-manager-read 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="manager"] .director-shot.active .director-dashboard {
  animation: director-dashboard-focus 6.6s ease-in-out infinite;
}

.store-story[data-cinema-scene="welcome"] .director-shot.active .arriving .person-leg.left,
.store-story[data-cinema-scene="farewell"] .director-shot.active .leaving .person-leg.left {
  animation: director-step-left .82s ease-in-out infinite;
}
.store-story[data-cinema-scene="welcome"] .director-shot.active .arriving .person-leg.right,
.store-story[data-cinema-scene="farewell"] .director-shot.active .leaving .person-leg.right {
  animation: director-step-right .82s ease-in-out infinite;
}
.store-story[data-cinema-scene="welcome"] .director-shot.active .greeter .person-arm.right {
  animation: director-welcome-wave 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="welcome"] .director-shot.active .arriving .person-head {
  animation: director-guest-look 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="reception"] .director-shot.active .receptionist .person-arm.left,
.store-story[data-cinema-scene="reception"] .director-shot.active .receptionist .person-arm.right {
  animation: director-type-hands .54s ease-in-out infinite alternate;
}
.store-story[data-cinema-scene="reception"] .director-shot.active .receptionist .person-arm.right { animation-delay: -.27s; }
.store-story[data-cinema-scene="reception"] .director-shot.active .receptionist .person-head {
  animation: director-screen-glance 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="consult"] .director-shot.active .consultant .person-head,
.store-story[data-cinema-scene="consult"] .director-shot.active .seated .person-head {
  animation: director-conversation-nod 3.3s ease-in-out infinite;
}
.store-story[data-cinema-scene="consult"] .director-shot.active .seated .person-head { animation-delay: -1.65s; }
.store-story[data-cinema-scene="treatment"] .director-shot.active .therapist .person-arm.left {
  animation: director-service-left 2.2s ease-in-out infinite;
}
.store-story[data-cinema-scene="inspection"] .director-shot.active .inspector .person-arm.right {
  animation: director-inspection-phone 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="inspection"] .director-shot.active .inspector .person-head {
  animation: director-inspection-look 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="tea"] .director-shot.active .barista .person-arm.left {
  animation: director-tea-pour 3.2s ease-in-out infinite;
}
.store-story[data-cinema-scene="tea"] .director-shot.active .barista .person-arm.right {
  animation: director-tea-place 3.2s ease-in-out infinite;
}
.store-story[data-cinema-scene="payment"] .director-shot.active .cashier .person-arm.right {
  animation: director-cashier-point 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="payment"] .director-shot.active .paying .person-arm.left {
  animation: director-guest-scan 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="farewell"] .director-shot.active .host .person-arm.right {
  animation: director-farewell-wave 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="manager"] .director-shot.active .manager .person-head {
  animation: director-dashboard-read 6.6s ease-in-out infinite;
}
.store-story[data-cinema-scene="manager"] .director-shot.active .manager .person-arm.right {
  animation: director-manager-point 6.6s ease-in-out infinite;
}

.director-ai-card {
  position: absolute;
  z-index: 16;
  right: 34px;
  bottom: 34px;
  width: min(330px, calc(100% - 68px));
  padding: 20px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 24px;
  color: #111;
  background: rgba(255,255,255,.76);
  box-shadow: 0 28px 70px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
}
.director-ai-card small { display: block; margin-bottom: 10px; color: rgba(0,0,0,.48); font-family: var(--font-apple-mono); font-size: 10px; letter-spacing: .08em; }
.director-ai-card strong { display: block; font-size: 20px; letter-spacing: -.02em; }
.director-ai-card p { margin: 10px 0 0; color: rgba(0,0,0,.62); font-size: 13px; line-height: 1.7; }

.director-shot .director-ai-card {
  display: none;
}

.director-story-panel {
  position: absolute;
  z-index: 22;
  right: 18px;
  bottom: 22px;
  width: min(242px, calc(100% - 36px));
  padding: 10px 11px 11px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 22px;
  color: #151515;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.72), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.48), rgba(244,244,245,.22)),
    rgba(255,255,255,.34);
  box-shadow: 0 18px 42px rgba(0,0,0,.14), inset 0 1px rgba(255,255,255,.74), inset 0 -1px rgba(0,0,0,.06);
  -webkit-backdrop-filter: blur(22px) saturate(1.45) brightness(1.08);
  backdrop-filter: blur(22px) saturate(1.45) brightness(1.08);
  transform-origin: 88% 100%;
}

.director-story-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 7px;
  color: rgba(0,0,0,.48);
}

.director-story-kicker small,
.director-story-moment {
  color: rgba(0,0,0,.5);
  font-family: var(--font-apple-mono);
  font-size: 9px;
  letter-spacing: .04em;
}

.director-story-controls {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
}

.director-story-controls button {
  width: 30px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: rgba(0,0,0,.68);
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.director-story-controls button:hover {
  color: #000;
  background: rgba(0,0,0,.07);
}

.director-story-controls button:active {
  transform: scale(.94);
}

.director-story-controls svg {
  width: 14px;
  height: 14px;
}

.director-story-panel h3 {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.22;
  letter-spacing: -.035em;
}

.director-story-panel p {
  display: -webkit-box;
  margin: 6px 0 0;
  overflow: hidden;
  color: rgba(0,0,0,.66);
  font-size: 10px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.director-story-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.director-story-panel li {
  padding: 3px 6px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 999px;
  color: rgba(0,0,0,.58);
  background: rgba(255,255,255,.48);
  font-size: 9px;
}

.director-script-overlay {
  position: absolute;
  z-index: 22;
  left: 28px;
  bottom: 44px;
  width: min(440px, calc(100% - 430px));
  color: rgba(255,255,255,.92);
  pointer-events: none;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}

.director-script-overlay small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.54);
  font-family: var(--font-apple-mono);
  font-size: 10px;
  letter-spacing: .07em;
}

.director-script-overlay small::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  box-shadow: 0 0 0 5px rgba(255,255,255,.08);
}

.script-line {
  width: max-content;
  max-width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  margin: 6px 0 0;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(0,0,0,.26);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  animation: director-caption-in 6.4s ease-in-out infinite;
}

.script-line.system {
  max-width: 92%;
  color: rgba(255,255,255,.72);
  animation-delay: .62s;
}

.script-line b {
  color: rgba(255,255,255,.54);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.script-line span {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.script-line.system span {
  font-size: 11px;
  font-weight: 600;
}

.director-shot-script {
  position: absolute;
  z-index: 22;
  top: 16px;
  left: 50%;
  width: min(430px, calc(100% - 240px));
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  color: rgba(255,255,255,.78);
  background: rgba(0,0,0,.2);
  box-shadow: 0 12px 30px rgba(0,0,0,.12), inset 0 1px rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  pointer-events: none;
  transform: translateX(-50%);
}

.director-shot-script small {
  display: none;
  color: rgba(255,255,255,.62);
  font-family: var(--font-apple-mono);
  font-size: 9px;
  letter-spacing: .07em;
}

.director-shot-script ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.director-shot-script li {
  display: flex;
  gap: 5px;
  align-items: center;
  color: rgba(255,255,255,.84);
  font-size: 9px;
  line-height: 1.35;
  opacity: .54;
  animation: director-beat-focus 6.6s linear infinite;
}

.director-shot-script li:nth-child(2) { animation-delay: 2.2s; }
.director-shot-script li:nth-child(3) { animation-delay: 4.4s; }

.director-shot-script b {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(255,255,255,.56);
  background: rgba(255,255,255,.09);
  font-family: var(--font-apple-mono);
  font-size: 8px;
  font-weight: 700;
}

.director-shot-script span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.director-choreography {
  position: absolute;
  inset: 0;
  z-index: 21;
  pointer-events: none;
}

.director-choreography span {
  --mark-x: 18%;
  --mark-y: 32%;
  position: absolute;
  left: var(--mark-x);
  top: var(--mark-y);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px 7px 7px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  background: rgba(0,0,0,.28);
  box-shadow: 0 14px 36px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.92);
  animation: director-mark-cue 6.6s linear infinite;
}

.director-choreography span:nth-child(2) { animation-delay: 2.2s; }
.director-choreography span:nth-child(3) { animation-delay: 4.4s; }

.director-choreography i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 0 0 7px rgba(255,255,255,.1), 0 0 22px rgba(255,255,255,.38);
}

.director-choreography b {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .01em;
  white-space: nowrap;
}

.director-choreography span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 5px);
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), transparent);
  transform-origin: top center;
}

.store-story[data-cinema-scene="welcome"] .director-choreography span:nth-child(1) { --mark-x: 17%; --mark-y: 30%; }
.store-story[data-cinema-scene="welcome"] .director-choreography span:nth-child(2) { --mark-x: 48%; --mark-y: 58%; }
.store-story[data-cinema-scene="welcome"] .director-choreography span:nth-child(3) { --mark-x: 69%; --mark-y: 58%; }

.store-story[data-cinema-scene="reception"] .director-choreography span:nth-child(1) { --mark-x: 72%; --mark-y: 34%; }
.store-story[data-cinema-scene="reception"] .director-choreography span:nth-child(2) { --mark-x: 43%; --mark-y: 51%; }
.store-story[data-cinema-scene="reception"] .director-choreography span:nth-child(3) { --mark-x: 33%; --mark-y: 65%; }

.store-story[data-cinema-scene="consult"] .director-choreography span:nth-child(1) { --mark-x: 60%; --mark-y: 56%; }
.store-story[data-cinema-scene="consult"] .director-choreography span:nth-child(2) { --mark-x: 48%; --mark-y: 55%; }
.store-story[data-cinema-scene="consult"] .director-choreography span:nth-child(3) { --mark-x: 72%; --mark-y: 35%; }

.store-story[data-cinema-scene="treatment"] .director-choreography span:nth-child(1) { --mark-x: 22%; --mark-y: 31%; }
.store-story[data-cinema-scene="treatment"] .director-choreography span:nth-child(2) { --mark-x: 64%; --mark-y: 36%; }
.store-story[data-cinema-scene="treatment"] .director-choreography span:nth-child(3) { --mark-x: 42%; --mark-y: 61%; }

.store-story[data-cinema-scene="inspection"] .director-choreography span:nth-child(1) { --mark-x: 65%; --mark-y: 60%; }
.store-story[data-cinema-scene="inspection"] .director-choreography span:nth-child(2) { --mark-x: 44%; --mark-y: 54%; }
.store-story[data-cinema-scene="inspection"] .director-choreography span:nth-child(3) { --mark-x: 23%; --mark-y: 34%; }

.store-story[data-cinema-scene="tea"] .director-choreography span:nth-child(1) { --mark-x: 24%; --mark-y: 32%; }
.store-story[data-cinema-scene="tea"] .director-choreography span:nth-child(2) { --mark-x: 45%; --mark-y: 58%; }
.store-story[data-cinema-scene="tea"] .director-choreography span:nth-child(3) { --mark-x: 65%; --mark-y: 58%; }

.store-story[data-cinema-scene="payment"] .director-choreography span:nth-child(1) { --mark-x: 40%; --mark-y: 56%; }
.store-story[data-cinema-scene="payment"] .director-choreography span:nth-child(2) { --mark-x: 56%; --mark-y: 41%; }
.store-story[data-cinema-scene="payment"] .director-choreography span:nth-child(3) { --mark-x: 25%; --mark-y: 34%; }

.store-story[data-cinema-scene="farewell"] .director-choreography span:nth-child(1) { --mark-x: 41%; --mark-y: 57%; }
.store-story[data-cinema-scene="farewell"] .director-choreography span:nth-child(2) { --mark-x: 70%; --mark-y: 35%; }
.store-story[data-cinema-scene="farewell"] .director-choreography span:nth-child(3) { --mark-x: 29%; --mark-y: 55%; }

.store-story[data-cinema-scene="manager"] .director-choreography span:nth-child(1) { --mark-x: 45%; --mark-y: 37%; }
.store-story[data-cinema-scene="manager"] .director-choreography span:nth-child(2) { --mark-x: 54%; --mark-y: 48%; }
.store-story[data-cinema-scene="manager"] .director-choreography span:nth-child(3) { --mark-x: 37%; --mark-y: 62%; }

.director-system-strip {
  position: absolute;
  z-index: 17;
  right: 34px;
  bottom: 17px;
  left: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-family: var(--font-apple-mono);
}
.director-system-strip i { width: 44px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); }

.store-story-viewport {
  width: min(calc(100% - 48px), 1120px);
  height: 82px;
  margin: 10px auto 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  background: linear-gradient(180deg, #f8f8f8, #f0f0f1);
  opacity: .86;
  box-shadow: inset 0 1px rgba(255,255,255,.92), 0 12px 34px rgba(0,0,0,.045);
}

.store-story-canvas {
  position: relative;
  height: 100%;
  min-width: 0;
  aspect-ratio: auto;
  isolation: isolate;
  overflow: hidden;
  perspective: 1400px;
  transform: none;
  margin: 0;
}

.store-miniature {
  background: linear-gradient(180deg, #f7f7f8, #ededee);
  filter: grayscale(1) contrast(1.04);
  opacity: .11;
  transform: scale(.46) translateY(-44%);
  transform-origin: center top;
  pointer-events: none;
}

.store-miniature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248,248,248,.12), rgba(248,248,248,.78) 64%, rgba(248,248,248,.96));
}

.store-cinema-layer,
.store-cinema-hud,
.cinema-vignette,
.cinema-focus-ring,
.cinema-scan,
.cinema-route,
.cinema-pulse {
  display: none !important;
}

.store-scene-link {
  display: none !important;
}

.store-story-points {
  position: absolute !important;
  z-index: 8;
  left: 22px !important;
  right: 22px !important;
  bottom: 18px !important;
  top: auto !important;
  display: grid !important;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 7px;
  transform: none !important;
}

.store-story-point {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: auto;
  height: 46px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(17,17,17,.58);
  background: rgba(255,255,255,.54);
  border: 1px solid rgba(0,0,0,.045);
  box-shadow: inset 0 1px rgba(255,255,255,.9);
  text-align: center;
  transform: none !important;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.store-story-point::before,
.store-story-point::after {
  display: none !important;
}
.store-story-point > span {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  color: rgba(17,17,17,.36);
  font-size: 9px;
  line-height: 1;
  font-family: var(--font-apple-mono);
}
.store-story-point strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  text-overflow: ellipsis;
  text-decoration: none !important;
  white-space: nowrap;
}
.store-story-point small,
.store-story-point em {
  display: none;
}
.store-story-point.active {
  color: #fff;
  border-color: rgba(0,0,0,.72);
  background: #171717;
  box-shadow: 0 10px 24px rgba(0,0,0,.12), inset 0 1px rgba(255,255,255,.12);
}
.store-story-point.active > span {
  color: rgba(255,255,255,.55);
}

.store-story-detail {
  width: min(calc(100% - 48px), 1120px);
  margin: 12px auto 0;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: 28px;
  border: 1px solid rgba(0,0,0,.055);
  border-radius: 22px;
  background: rgba(255,255,255,.55);
  box-shadow: inset 0 1px rgba(255,255,255,.92);
}
.store-story-detail h3 {
  margin: 7px 0 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.store-story-detail p {
  margin: 0;
  color: rgba(17,17,17,.62);
  font-size: 13px;
  line-height: 1.8;
}
.store-story-detail ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.store-story-detail li {
  padding: 6px 10px;
  border: 1px solid rgba(0,0,0,.055);
  border-radius: 999px;
  color: rgba(17,17,17,.58);
  background: rgba(255,255,255,.64);
  font-size: 11px;
}
.store-story-toolbar {
  display: none;
}

.store-story-detail {
  display: none;
}

@keyframes director-scan { 0%,100% { transform: translateY(-46px); opacity: .16; } 50% { transform: translateY(46px); opacity: .7; } }
@keyframes director-pay-scan { 0%,100% { transform: translateY(-18px); opacity: .35; } 50% { transform: translateY(22px); opacity: 1; } }
@keyframes director-arrive { 0%,100% { transform: translateX(20px); } 50% { transform: translateX(-24px); } }
@keyframes director-leave { 0%,100% { transform: translateX(-8px); } 50% { transform: translateX(-46px); } }
@keyframes director-wave { 0%,100% { transform: scaleY(.45); opacity: .45; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes director-scanbox { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.16); } 50% { box-shadow: 0 0 0 12px rgba(255,255,255,.08); } }
@keyframes director-path { from { background-position: -120px 0; } to { background-position: 120px 0; } }
@keyframes director-progress { from { transform: scaleX(0); transform-origin: left center; } to { transform: scaleX(1); transform-origin: left center; } }
@keyframes director-grid-drift { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 0 0, 97px 0, 0 0; } }
@keyframes director-floor-light { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.12); } }
@keyframes director-camera-cone { 0%,100% { opacity: .18; transform: rotate(16deg) scaleX(.74); } 50% { opacity: .52; transform: rotate(21deg) scaleX(1); } }
@keyframes director-oil-glint { 0%,100% { opacity: .12; transform: translateX(-18px) scaleX(.5); } 50% { opacity: .9; transform: translateX(18px) scaleX(1); } }
@keyframes director-steam { 0% { opacity: 0; transform: translateY(12px) translateX(0) scale(.78); } 45% { opacity: .55; } 100% { opacity: 0; transform: translateY(-16px) translateX(10px) scale(1.15); } }
@keyframes director-report-bar { 0%,100% { transform: scaleX(.62); opacity: .14; } 50% { transform: scaleX(1); opacity: .26; } }
@keyframes director-arm-action { 0%,100% { transform: rotate(-28deg); } 50% { transform: rotate(-18deg) translateY(4px); } }
@keyframes director-typing { from { background-position: 0 0; } to { background-position: 18px 0; } }
@keyframes director-task-pulse { 0%,100% { opacity: .28; transform: scaleX(.45); transform-origin: left center; } 50% { opacity: .7; transform: scaleX(1.35); transform-origin: left center; } }
@keyframes director-room-scan { 0%,100% { top: 18px; opacity: .22; } 50% { top: 112px; opacity: .9; } }
@keyframes director-coupon-pop { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-7px) scale(1.03); } }
@keyframes director-beat-focus {
  0%, 29%, 100% { opacity: .42; transform: translateX(0); }
  7%, 22% { opacity: 1; transform: translateX(5px); }
}
@keyframes director-mark-cue {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.9); }
  6%, 25% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  31% { opacity: 0; transform: translate(-50%, -52%) scale(.96); }
}
@keyframes director-camera-watch {
  0%, 100% { transform: rotate(-18deg) translateX(0); filter: brightness(1); }
  24% { transform: rotate(-13deg) translateX(4px); filter: brightness(1.08); }
  58% { transform: rotate(-23deg) translateX(-4px); filter: brightness(1.04); }
}
@keyframes director-path-grow {
  0%, 12% { opacity: 0; transform: scaleX(.04); }
  34%, 72% { opacity: .92; transform: scaleX(1); }
  100% { opacity: .18; transform: scaleX(1); }
}
@keyframes director-welcome-guest {
  0% { opacity: .35; transform: translateX(70px) scale(.94); }
  30%, 68% { opacity: .92; transform: translateX(0) scale(1); }
  100% { opacity: .7; transform: translateX(-12px) scale(1); }
}
@keyframes director-greeter-ready {
  0%, 22% { transform: translateX(0); }
  44%, 72% { transform: translateX(18px); }
  100% { transform: translateX(0); }
}
@keyframes director-message-enter {
  0%, 8% { opacity: 0; transform: translateY(-10px) scale(.96); }
  20%, 76% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: .52; transform: translateY(4px) scale(.985); }
}
@keyframes director-screen-wake {
  /* Kept for compatibility; never wash the screen to white. */
  0%, 20% { filter: brightness(1); box-shadow: 0 15px 24px rgba(0,0,0,.25), inset 0 0 0 1px rgba(180,180,184,.18); }
  38%, 82% { filter: brightness(1.12); box-shadow: 0 15px 28px rgba(0,0,0,.3), inset 0 0 0 2px rgba(200,200,204,.35), 0 0 18px rgba(160,160,164,.16); }
  100% { filter: brightness(1); box-shadow: 0 15px 24px rgba(0,0,0,.25), inset 0 0 0 1px rgba(180,180,184,.18); }
}
@keyframes director-screen-pulse {
  0%, 20% { filter: brightness(1); box-shadow: 0 15px 24px rgba(0,0,0,.25), inset 0 0 0 1px rgba(180,180,184,.18); }
  38%, 82% { filter: brightness(1.14); box-shadow: 0 16px 30px rgba(0,0,0,.32), inset 0 0 0 2px rgba(210,210,214,.4), 0 0 20px rgba(170,170,174,.18); }
  100% { filter: brightness(1); box-shadow: 0 15px 24px rgba(0,0,0,.25), inset 0 0 0 1px rgba(180,180,184,.18); }
}
@keyframes director-keyboard-type {
  0%, 28%, 100% { opacity: .28; transform: translateX(-50%) scaleX(.62); }
  38%, 72% { opacity: .7; transform: translateX(-50%) scaleX(1); }
}
@keyframes director-consult-gesture {
  0%, 16%, 100% { transform: rotate(-76deg) translate(6px, -3px); }
  34%, 48% { transform: rotate(-94deg) translate(12px, -6px); }
  66%, 82% { transform: rotate(-62deg) translate(4px, 1px); }
}
@keyframes director-bottle-select {
  0%, 30%, 100% { transform: translateY(0); box-shadow: none; }
  48%, 72% { transform: translateY(-13px); box-shadow: 0 14px 28px rgba(255,255,255,.22); }
}
@keyframes director-voice-card {
  0%, 18% { opacity: 0; transform: translateY(8px) scale(.96); }
  36%, 82% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: .48; transform: translateY(4px) scale(.985); }
}
@keyframes director-service-room {
  0%, 100% { filter: brightness(1); }
  38%, 72% { filter: brightness(1.12); }
}
@keyframes director-task-card-in {
  0%, 18% { opacity: 0; transform: translateX(-16px) scale(.96); }
  34%, 78% { opacity: 1; transform: translateX(0) scale(1); }
  100% { opacity: .56; transform: translateX(6px) scale(.985); }
}
@keyframes director-service-hands {
  0%, 100% { transform: rotate(-63deg) translateY(9px); }
  28% { transform: rotate(-54deg) translate(4px, 13px); }
  54% { transform: rotate(-72deg) translate(-3px, 5px); }
  78% { transform: rotate(-58deg) translate(5px, 12px); }
}
@keyframes director-room-evidence {
  0%, 15% { opacity: .28; transform: scale(.94); }
  32%, 76% { opacity: 1; transform: scale(1); }
  100% { opacity: .46; transform: scale(.98); }
}
@keyframes director-room-items {
  0%, 26%, 100% { opacity: .42; transform: translateX(0); }
  42%, 70% { opacity: .86; transform: translateX(14px); }
}
@keyframes director-tea-stage {
  0%, 100% { transform: translateY(0); }
  42%, 70% { transform: translateY(-4px); }
}
@keyframes director-tea-staff {
  0%, 100% { transform: translateX(0); }
  34% { transform: translateX(-32px); }
  64% { transform: translateX(18px); }
}
@keyframes director-qr-focus {
  0%, 28%, 100% { transform: scale(1); box-shadow: none; }
  45%, 78% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(255,255,255,.14); }
}
@keyframes director-phone-scan {
  0%, 18%, 100% { transform: rotate(-12deg) translate(0, 0); }
  38%, 76% { transform: rotate(-3deg) translate(-28px, 10px); }
}
@keyframes director-farewell-walk {
  0% { transform: translateX(40px); opacity: .82; }
  46%, 76% { transform: translateX(-30px); opacity: .92; }
  100% { transform: translateX(-64px); opacity: .46; }
}
@keyframes director-coupon-handoff {
  0%, 22% { opacity: 0; transform: translateY(16px) scale(.94); }
  42%, 78% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: .58; transform: translateY(-6px) scale(.985); }
}
@keyframes director-manager-read {
  0%, 100% { transform: translateX(0); }
  38%, 76% { transform: translateX(22px); }
}
@keyframes director-dashboard-focus {
  0%, 100% { filter: brightness(1); transform: translateY(0); }
  40%, 78% { filter: brightness(1.08); transform: translateY(-6px); }
}
@keyframes director-caption-in {
  0%, 8% { opacity: 0; transform: translateY(10px); }
  16%, 78% { opacity: 1; transform: translateY(0); }
  92%, 100% { opacity: .42; transform: translateY(0); }
}
@keyframes director-person-attend {
  0%, 34%, 100% { transform: translate(0, 0) rotate(0); }
  48%, 64% { transform: translate(2px, 2px) rotate(4deg); }
}
@keyframes director-step-left {
  0%, 100% { transform: rotate(18deg) translateY(0); }
  50% { transform: rotate(-16deg) translateY(-2px); }
}
@keyframes director-step-right {
  0%, 100% { transform: rotate(-18deg) translateY(-2px); }
  50% { transform: rotate(15deg) translateY(0); }
}
@keyframes director-welcome-wave {
  0%, 23%, 100% { transform: rotate(-30deg) translate(0, 0); }
  35%, 44% { transform: rotate(-112deg) translate(12px, -8px); }
  50% { transform: rotate(-97deg) translate(11px, -4px); }
  57%, 74% { transform: rotate(-112deg) translate(12px, -8px); }
}
@keyframes director-guest-look {
  0%, 26% { transform: translate(5px, 1px) rotate(7deg); }
  42%, 78% { transform: translate(-4px, 3px) rotate(-8deg); }
  100% { transform: translate(0, 1px) rotate(0); }
}
@keyframes director-type-hands {
  from { transform: rotate(-70deg) translate(4px, 1px); }
  to { transform: rotate(-63deg) translate(9px, 6px); }
}
@keyframes director-screen-glance {
  0%, 18% { transform: translate(-3px, 2px) rotate(-7deg); }
  38%, 70% { transform: translate(4px, 1px) rotate(6deg); }
  88%, 100% { transform: translate(-3px, 2px) rotate(-7deg); }
}
@keyframes director-conversation-nod {
  0%, 100% { transform: translateY(0) rotate(0); }
  40%, 54% { transform: translateY(4px) rotate(5deg); }
}
@keyframes director-service-left {
  0%, 100% { transform: rotate(65deg) translateY(9px); }
  30% { transform: rotate(56deg) translate(3px, 13px); }
  60% { transform: rotate(72deg) translate(-2px, 6px); }
}
@keyframes director-inspection-phone {
  0%, 18%, 100% { transform: rotate(-42deg) translate(0, 1px); }
  34%, 72% { transform: rotate(-89deg) translate(13px, -7px); }
  84% { transform: rotate(-72deg) translate(8px, -2px); }
}
@keyframes director-inspection-look {
  0%, 18%, 100% { transform: translate(0, 0) rotate(0); }
  34%, 72% { transform: translate(5px, 5px) rotate(10deg); }
}
@keyframes director-tea-pour {
  0%, 18%, 100% { transform: rotate(35deg) translate(0, 0); }
  38%, 62% { transform: rotate(78deg) translate(12px, 7px); }
  78% { transform: rotate(58deg) translate(7px, 4px); }
}
@keyframes director-tea-place {
  0%, 24%, 100% { transform: rotate(-38deg) translate(0, 0); }
  48%, 72% { transform: rotate(-74deg) translate(10px, 8px); }
}
@keyframes director-cashier-point {
  0%, 18%, 100% { transform: rotate(-38deg) translate(0, 0); }
  36%, 76% { transform: rotate(-76deg) translate(8px, -2px); }
}
@keyframes director-guest-scan {
  0%, 24%, 100% { transform: rotate(38deg) translate(0, 0); }
  42%, 78% { transform: rotate(76deg) translate(11px, -4px); }
}
@keyframes director-farewell-wave {
  0%, 18%, 100% { transform: rotate(-34deg) translate(0, 0); }
  38% { transform: rotate(-116deg) translate(11px, -7px); }
  48% { transform: rotate(-101deg) translate(10px, -4px); }
  58%, 78% { transform: rotate(-116deg) translate(11px, -7px); }
}
@keyframes director-dashboard-read {
  0%, 22%, 100% { transform: translate(5px, 4px) rotate(8deg); }
  42%, 58% { transform: translate(0, 5px) rotate(0); }
  74%, 88% { transform: translate(-5px, 3px) rotate(-7deg); }
}
@keyframes director-manager-point {
  0%, 26%, 100% { transform: rotate(-34deg) translate(0, 0); }
  44%, 78% { transform: rotate(-77deg) translate(10px, -5px); }
}

/* Cinema v14: scene-specific props, fixed cameras and five-shot choreography. */
.director-shot-script {
  width: min(720px, calc(100% - 260px));
}

.director-shot-script ol {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.director-shot-script li {
  animation: none;
  transition: color .25s ease, opacity .25s ease, transform .25s ease;
}

.director-shot-script li.active {
  color: #fff;
  opacity: 1;
  transform: translateY(-1px);
}

.director-shot-script li.active b {
  color: #fff;
  background: #087ff5;
  box-shadow: 0 0 0 5px rgba(8,127,245,.15);
}

.director-choreography { display: none; }

.director-camera,
.director-shot.active .director-camera,
.store-story[data-cinema-scene] .director-shot.active .director-camera {
  left: 6.2%;
  top: 14%;
  width: 82px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  animation: none !important;
}

.director-camera::before {
  right: auto;
  top: 8px;
  left: -18px;
  width: 20px;
  height: 30px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #aaa, #ededed);
  box-shadow: -8px 4px 0 -4px rgba(255,255,255,.5);
}

.director-camera::after {
  left: 57px;
  top: 29px;
  width: 210px;
  height: 110px;
  border: 0;
  background: linear-gradient(100deg, rgba(71,157,255,.16), rgba(71,157,255,.025) 72%, transparent);
  clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 58%);
  transform: none;
  opacity: .72;
}

.director-camera > i { position: absolute; display: block; background: none; opacity: 1; filter: none; clip-path: none; transform: none; animation: none !important; }
.director-camera .camera-mount { left: -6px; top: 19px; width: 18px; height: 9px; border-radius: 3px; background: #c7c7c7; }
.director-camera .camera-body { left: 8px; top: 5px; width: 58px; height: 34px; border: 1px solid rgba(0,0,0,.25); border-radius: 8px 14px 14px 8px; background: linear-gradient(150deg, #f8f8f8, #bdbdbd); box-shadow: 0 10px 24px rgba(0,0,0,.28), inset 0 1px #fff; }
.director-camera .camera-lens { left: 47px; top: 12px; width: 25px; height: 25px; border: 6px solid #dcdcdc; border-radius: 50%; background: radial-gradient(circle at 42% 38%, #91c8ff 0 2px, #183856 3px 7px, #05080c 8px); box-shadow: 0 0 0 1px #555, 0 0 20px rgba(44,143,255,.28); }
.director-camera .camera-status { left: 14px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: #28d17c; box-shadow: 0 0 9px #28d17c; animation: director-status-pulse 1.8s ease-in-out infinite !important; }
.director-camera small {
  position: absolute;
  top: 44px;
  left: 7px;
  width: max-content;
  padding: 4px 8px;
  border: 1px solid rgba(74,159,255,.42);
  border-radius: 999px;
  color: #eaf5ff;
  background: rgba(0,113,227,.78);
  box-shadow: 0 8px 22px rgba(0,113,227,.18);
  font-size: 9px;
  font-weight: 700;
}

.scene-object-label {
  position: absolute;
  z-index: 14;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(122,190,255,.55);
  border-radius: 999px;
  color: #f4faff;
  background: rgba(0,113,227,.82);
  box-shadow: 0 12px 30px rgba(0,86,184,.22), inset 0 1px rgba(255,255,255,.32);
  font-size: 10px;
  font-weight: 700;
  opacity: .25;
  transform: translateY(5px);
  transition: opacity .35s ease, transform .35s ease;
}

.scene-object-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.14); }
.store-story[data-cinema-phase="3"] .scene-object-label,
.store-story[data-cinema-phase="4"] .scene-object-label,
.store-story[data-cinema-phase="5"] .scene-object-label { opacity: 1; transform: translateY(0); }

.director-person .person-tie,
.director-person .person-watch,
.director-person .person-bag,
.director-person .person-hair { z-index: 9; opacity: 0; }
.director-person.staff .person-tie { top: 43px; left: 43px; width: 8px; height: 35px; background: linear-gradient(180deg, #ececec 0 12px, #171717 12px); clip-path: polygon(50% 0, 100% 18%, 72% 100%, 50% 94%, 28% 100%, 0 18%); opacity: 1; }
.director-person.guest .person-hair { top: -1px; left: 23px; width: 49px; height: 58px; border-radius: 48% 48% 38% 38%; border: 7px solid #535353; border-top-width: 13px; background: transparent; opacity: 1; }
.director-person.guest .person-torso { height: 96px; border-radius: 27px 27px 9px 9px; clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.director-person.guest .person-watch { display: none !important; opacity: 0 !important; }
.director-person.guest .person-bag { right: -10px; bottom: 36px; width: 30px; height: 36px; border: 3px solid #686868; border-radius: 7px 7px 10px 10px; background: #b8b8b4; box-shadow: inset 0 7px rgba(255,255,255,.34); opacity: 1; }
.director-person.guest .person-bag::before { content: ""; position: absolute; top: -12px; left: 5px; width: 14px; height: 13px; border: 2px solid #686868; border-bottom: 0; border-radius: 9px 9px 0 0; }

.director-person.greeter { left: 42%; bottom: 32%; }
.director-person.arriving { right: 30%; bottom: 29%; }
.director-person.receptionist { left: 31%; bottom: 39%; }
.director-person.consultant { left: 26%; bottom: 28%; }
.director-person.consult-guest { right: 28%; bottom: 28%; }
.director-person.therapist { right: 27%; bottom: 31%; }
.director-person.inspector { right: 25%; bottom: 28%; }
.director-person.barista { right: 27%; bottom: 31%; }
.director-person.cashier { left: 32%; bottom: 40%; }
.director-person.paying { right: 26%; bottom: 25%; }
.director-person.host { left: 34%; bottom: 30%; }
.director-person.leaving { left: 53%; bottom: 28%; }
.director-person.manager { left: 23%; bottom: 27%; }

.director-welcome-desk { position: absolute; z-index: 5; left: 31%; bottom: 22%; width: 170px; height: 76px; border-radius: 14px; background: linear-gradient(180deg, #f4f4f2, #b8b8b4); box-shadow: 0 22px 44px rgba(0,0,0,.22), inset 0 1px #fff; }
.director-welcome-desk b { position: absolute; left: 16px; bottom: 12px; color: #666; font-size: 10px; }
.director-welcome-desk i { position: absolute; right: 18px; top: -24px; width: 52px; height: 36px; border: 4px solid #ddd; border-radius: 6px; background: #222; }
.director-door i { position: absolute; top: 46%; left: 50%; color: #555; font-size: 10px; font-style: normal; transform: translate(-50%,-50%) rotate(90deg); }
.welcome-label { left: 55%; top: 43%; }

.director-counter { left: 23%; bottom: 19%; width: 380px; height: 104px; border-radius: 16px; background: linear-gradient(180deg, #fafafa 0 18%, #d1d1ce 18% 100%); box-shadow: 0 24px 46px rgba(0,0,0,.24), inset 0 1px #fff; }
.director-imac { left: 112px; top: -66px; width: 126px; height: 78px; }
.director-message-thread { position: absolute; z-index: 9; top: 18%; right: 14%; width: 260px; display: grid; gap: 7px; padding: 14px; border: 1px solid rgba(255,255,255,.56); border-radius: 18px; color: #111; background: rgba(255,255,255,.78); box-shadow: 0 20px 48px rgba(0,0,0,.2); backdrop-filter: blur(18px); }
.director-message-thread small { color: #777; font-size: 9px; }
.director-message-thread b,.director-message-thread strong { padding: 8px 10px; border-radius: 10px; font-size: 11px; line-height: 1.4; }
.director-message-thread b { background: #eee; }
.director-message-thread em { color: #087ff5; font-size: 9px; font-style: normal; }
.director-message-thread strong { color: #fff; background: #087ff5; }
.director-duty-status { position: absolute; z-index: 9; left: 19%; top: 25%; display: grid; grid-template-columns: 8px auto; gap: 2px 8px; align-items: center; padding: 10px 12px; border: 1px solid rgba(115,188,255,.5); border-radius: 14px; color: #fff; background: rgba(8,90,175,.72); backdrop-filter: blur(16px); }
.director-duty-status i { grid-row: 1 / span 2; width: 8px; height: 8px; border-radius: 50%; background: #43e58d; box-shadow: 0 0 12px #43e58d; }
.director-duty-status b { font-size: 10px; }.director-duty-status small { color: rgba(255,255,255,.7); font-size: 8px; }
.reception-label { right: 25%; top: 49%; }

.director-oil-console { position: absolute; z-index: 5; left: 38%; bottom: 23%; width: 290px; height: 116px; border: 1px solid rgba(255,255,255,.55); border-radius: 18px 18px 30px 30px; background: linear-gradient(180deg, #f4f4f1 0 20%, #c3c3be 20%); box-shadow: 0 26px 52px rgba(0,0,0,.24), inset 0 1px #fff; }
.director-oil-console > small { position: absolute; left: 16px; bottom: 12px; color: #686868; font: 8px var(--font-apple-mono); }
.oil-bottle { position: absolute; bottom: 73px; width: 34px; height: 55px; border: 1px solid rgba(255,255,255,.42); border-radius: 10px 10px 7px 7px; background: linear-gradient(90deg, #202020, #777 50%, #1b1b1b); box-shadow: 0 12px 22px rgba(0,0,0,.24); }
.oil-bottle::before { content: ""; position: absolute; top: -13px; left: 8px; width: 18px; height: 14px; border-radius: 4px 4px 2px 2px; background: #171717; }
.oil-bottle::after { content: ""; position: absolute; inset: 17px 5px 8px; border-radius: 3px; background: #efefeb; }
.oil-bottle b { position: absolute; top: 60px; left: 50%; width: max-content; color: #fff; font-size: 8px; font-weight: 600; transform: translateX(-50%); }
.oil-bottle.lavender { left: 62px; }.oil-bottle.cedar { left: 128px; height: 64px; }.oil-bottle.citrus { left: 198px; }
.scent-strip { position: absolute; right: 24px; bottom: 26px; width: 86px; height: 12px; border-radius: 2px; background: #f7f2dc; box-shadow: -104px 0 #ece7d5; transform: rotate(-4deg); }
.director-qa-panel { position: absolute; z-index: 9; top: 18%; right: 13%; width: 215px; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 13px 15px; border: 1px solid rgba(124,192,255,.55); border-radius: 16px; color: #fff; background: rgba(5,40,75,.72); box-shadow: 0 22px 50px rgba(0,0,0,.2); backdrop-filter: blur(18px); }
.director-qa-panel small { color: #8fc9ff; font-weight: 700; }.director-qa-panel .qa-score { grid-row: 1 / span 2; grid-column: 2; }.director-qa-panel .qa-score b { font-size: 24px; }.director-qa-panel strong { color: #51e596; font-size: 11px; }.director-qa-panel em { grid-column: 1 / -1; color: #ffc861; font-size: 9px; font-style: normal; }
.director-qa-panel > i { width: 4px; height: 18px; border-radius: 9px; background: #73bcff; animation: director-wave 1.1s ease-in-out infinite; }.director-qa-panel > i:nth-of-type(2) { height: 27px; }.director-qa-panel > i:nth-of-type(3) { height: 13px; }.director-qa-panel > i:nth-of-type(4) { height: 22px; }.director-qa-panel > i:nth-of-type(5) { height: 16px; }
.oil-label { left: 45%; top: 48%; }

.director-treatment-room,.director-room-set { position: absolute; z-index: 4; inset: 16% 18% 17% 21%; border-left: 1px solid rgba(255,255,255,.14); border-right: 1px solid rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.08)); }
.director-treatment-room .director-bed { left: 22%; bottom: 9%; width: 480px; height: 166px; border-radius: 22px; background: linear-gradient(180deg, #f7f7f5 0 22px, #d4d4d0 22px); }
.bed-head { position: absolute; top: 20px; left: 24px; width: 72px; height: 48px; border-radius: 50% 50% 42% 42%; background: #d8d8d4; }
.bed-pillow { position: absolute; top: 18px; right: 30px; width: 120px; height: 42px; border-radius: 22px; background: #fff; }
.bed-blanket { position: absolute; right: 24px; bottom: 22px; left: 98px; height: 78px; border-radius: 10px 20px 20px 10px; background: linear-gradient(180deg, #ececea, #bdbdb9); }
.bed-client { position: absolute; top: 31px; left: 82px; width: 220px; height: 54px; border-radius: 50% 20px 20px 50%; background: #c9c9c5; box-shadow: inset 34px 0 #e2e2df; }
.room-lamp { position: absolute; right: 7%; top: 12%; width: 42px; height: 84px; border-radius: 40px 40px 6px 6px; background: linear-gradient(180deg, #f4f4f0, #aaa); box-shadow: 0 0 40px rgba(255,255,255,.2); }
.room-cart { position: absolute; left: 5%; bottom: 8%; width: 85px; height: 90px; border: 2px solid #aaa; border-radius: 8px; }.room-cart b { position: absolute; bottom: 12px; width: 17px; height: 28px; border-radius: 5px 5px 3px 3px; background: #ddd; }.room-cart b:first-child { left: 17px; }.room-cart b:last-child { left: 45px; height: 38px; }
.director-feedback { position: absolute; z-index: 10; top: 30%; left: 42%; padding: 9px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 14px; color: #111; background: rgba(255,255,255,.78); backdrop-filter: blur(16px); font-size: 11px; }.director-feedback b { margin-right: 7px; color: #777; }
.director-preference-card { position: absolute; z-index: 9; top: 21%; right: 14%; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid rgba(120,189,255,.5); border-radius: 15px; color: #fff; background: rgba(0,86,176,.7); backdrop-filter: blur(16px); }.director-preference-card small,.director-preference-card em { font-size: 8px; font-style: normal; opacity: .7; }.director-preference-card b { font-size: 12px; }
.treatment-label { left: 53%; top: 52%; }

.director-room-set { inset: 15% 17% 15% 17%; }
.room-headboard { position: absolute; left: 18%; right: 18%; bottom: 45%; height: 118px; border-radius: 14px 14px 0 0; background: linear-gradient(90deg, #aaa, #d6d6d2 50%, #aaa); opacity: .72; }
.director-room-set .director-bed.room-check { left: 18%; bottom: 4%; width: 470px; height: 184px; border-radius: 20px; background: linear-gradient(180deg, #f7f7f5 0 20px, #d0d0cc 20px 100%); }
.director-room-set .bed-pillow { top: 22px; width: 114px; }.director-room-set .bed-pillow.one { left: 34px; right: auto; }.director-room-set .bed-pillow.two { left: 160px; right: auto; }
.director-room-set .bed-blanket { top: 72px; right: 24px; bottom: 18px; left: 24px; height: auto; }.director-room-set .bed-runner { position: absolute; right: 24px; bottom: 29px; left: 24px; height: 30px; border-radius: 4px; background: #8f8f8b; }.director-room-set .bed-towels { position: absolute; right: 42px; top: 28px; width: 56px; height: 34px; border-radius: 12px; background: #fff; box-shadow: inset 0 -8px #e8e8e5; }
.director-room-set .room-lamp { top: 8%; width: 34px; height: 72px; }.director-room-set .room-lamp.left { left: 10%; right: auto; }.director-room-set .room-lamp.right { right: 10%; }
.room-side-table { position: absolute; right: 8%; bottom: 8%; width: 86px; height: 98px; border-radius: 8px; background: linear-gradient(180deg, #e5e5e1 0 14px, #9e9e99 14px); }.room-side-table b { position: absolute; bottom: 72px; width: 12px; height: 26px; border-radius: 4px; background: #333; }.room-side-table b:nth-child(1){left:16px}.room-side-table b:nth-child(2){left:36px;height:34px}.room-side-table b:nth-child(3){left:58px}
.director-inspection-phone { position: absolute; z-index: 10; right: 29%; bottom: 31%; width: 54px; height: 88px; border: 5px solid #171717; border-radius: 13px; background: #f7f7f7; transform: rotate(-8deg); }.director-inspection-phone i { position: absolute; inset: 8px; border: 1px solid #9dcbfa; background: linear-gradient(180deg,#dceeff,#fff); }.director-inspection-phone b { position: absolute; top: 95px; left: 50%; width: max-content; color: #fff; font-size: 8px; transform: translateX(-50%); }
.director-scan-box { left: 30%; bottom: 27%; width: 310px; height: 164px; display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; align-content: end; padding: 12px; border: 1px solid rgba(70,163,255,.8); border-radius: 18px; background: rgba(5,60,116,.1); }
.director-scan-box b { padding: 5px; border-radius: 999px; color: #eaf5ff; background: rgba(0,113,227,.78); font-size: 8px; text-align: center; }.director-scan-box em { grid-column:1/-1; padding: 7px; border-radius: 8px; color: #fff; background: rgba(12,154,91,.8); font-size: 9px; font-style: normal; text-align:center; }
.room-label { left: 32%; top: 42%; }

.director-tea-station { position: absolute; z-index: 5; left: 29%; bottom: 22%; width: 430px; height: 190px; }
.tea-backsplash { position: absolute; left: 25px; right: 25px; top: 0; height: 58px; border: 1px solid rgba(255,255,255,.34); border-radius: 12px 12px 0 0; background: rgba(255,255,255,.12); }
.tea-tabletop { position: absolute; top: 56px; left: 0; right: 0; height: 40px; border-radius: 12px; background: linear-gradient(180deg,#f8f8f6,#aaa); box-shadow: 0 12px 24px rgba(0,0,0,.24); }
.tea-front { position: absolute; top: 91px; left: 18px; right: 18px; height: 96px; border-radius: 0 0 18px 18px; background: linear-gradient(90deg,#a7a7a3,#d8d8d3 50%,#9f9f9b); }
.tea-tray { position: absolute; left: 94px; bottom: 24px; width: 242px; height: 24px; border-radius: 50%; background: #777; box-shadow: 0 7px 0 #555; }
.tea-tray > b { position: absolute; display:block; }.tea-pot { left: 12px; bottom: 8px; width: 55px; height: 46px; border-radius: 12px 20px 14px 14px; background: #e8e8e4; box-shadow: inset 0 1px #fff; }.tea-pot::before { content:"";position:absolute;right:-18px;top:12px;width:23px;height:12px;background:#e8e8e4;clip-path:polygon(0 0,100% 50%,0 100%)}.tea-pot::after{content:"";position:absolute;left:15px;top:-10px;width:26px;height:12px;border-radius:50%;background:#f8f8f6}
.tea-cup { left: 88px; bottom: 7px; width: 38px; height: 36px; border-radius: 6px 6px 16px 16px; background: #fff; }.tea-cup::after{content:"";position:absolute;right:-13px;top:7px;width:14px;height:17px;border:4px solid #fff;border-left:0;border-radius:0 12px 12px 0}.tea-saucer{left:80px;bottom:2px;width:58px;height:10px;border-radius:50%;background:#ddd}.tea-dessert{left:152px;bottom:5px;width:42px;height:24px;border-radius:5px 5px 12px 12px;background:#b9a682;box-shadow:inset 0 7px rgba(255,255,255,.28)}.tea-fruit{left:201px;bottom:5px;width:15px;height:15px;border-radius:50%;background:#d7d7d3;box-shadow:16px 3px #aaa,-8px 4px #eee}
.director-tea-task { position:absolute;z-index:9;top:20%;right:15%;display:grid;gap:4px;padding:12px 14px;border:1px solid rgba(120,190,255,.48);border-radius:15px;color:#fff;background:rgba(0,90,184,.7);backdrop-filter:blur(16px)}.director-tea-task small,.director-tea-task em{font-size:8px;font-style:normal;opacity:.74}.director-tea-task b{font-size:12px}.tea-label{left:44%;top:52%}

.director-checkout-desk { position:absolute;z-index:5;left:31%;bottom:19%;width:390px;height:146px }.checkout-top{position:absolute;top:0;left:0;right:0;height:28px;border-radius:13px;background:linear-gradient(180deg,#fafafa,#aaa);box-shadow:0 12px 20px rgba(0,0,0,.22)}.checkout-front{position:absolute;top:25px;left:14px;right:14px;height:116px;border-radius:0 0 16px 16px;background:linear-gradient(90deg,#b2b2ae,#d7d7d3 50%,#9f9f9b)}.checkout-front b{position:absolute;left:50%;bottom:18px;color:#777;font-size:10px;letter-spacing:.16em;transform:translateX(-50%)}
.director-checkout-desk .director-qr{left:54px;top:-52px;width:68px;height:78px;border:5px solid #111;border-radius:8px;background:#fff}.director-checkout-desk .director-qr b{position:absolute;inset:12px;background:repeating-linear-gradient(90deg,#111 0 4px,transparent 4px 8px),repeating-linear-gradient(0deg,transparent 0 6px,#111 6px 9px);opacity:.72}.checkout-terminal{position:absolute;right:52px;top:-38px;width:74px;height:62px;border:4px solid #bbb;border-radius:10px;background:#202020}.checkout-terminal i{position:absolute;left:10px;right:10px;bottom:8px;height:4px;border-radius:4px;background:#45df8c}
.guest-phone{position:absolute;z-index:10;right:32%;bottom:38%;width:38px;height:68px;border:4px solid #161616;border-radius:11px;background:#f8f8f8;transform:rotate(-8deg)}.guest-phone i{position:absolute;inset:8px;border:1px solid #bcdcff;background:linear-gradient(180deg,#ddebff,#fff)}
.director-payment-success{position:absolute;z-index:10;top:22%;right:14%;display:grid;gap:3px;padding:12px 14px;border:1px solid rgba(255,255,255,.5);border-radius:15px;color:#111;background:rgba(255,255,255,.8);backdrop-filter:blur(16px)}.director-payment-success small,.director-payment-success em{color:#777;font-size:8px;font-style:normal}.director-payment-success b{font-size:17px}.payment-label{left:46%;top:48%}

.director-dashboard { left:34%; top:14%; width:500px; height:292px; padding:18px; border-radius:20px; color:#111; background:rgba(248,248,248,.88); box-sizing:border-box; }
.director-dashboard > small{display:block;color:#666;font-size:10px;font-weight:700}.dashboard-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.dashboard-metrics i{position:static!important;width:auto!important;height:auto!important;display:grid!important;gap:4px;padding:10px;border-radius:10px;background:#fff!important;opacity:1!important;animation:none!important}.dashboard-metrics b{font-size:14px}.dashboard-metrics em{color:#777;font-size:8px;font-style:normal}
.director-dashboard svg{width:100%;height:120px;margin-top:13px;overflow:visible}.director-dashboard path{fill:none;stroke:#087ff5;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 8px 10px rgba(0,113,227,.2));stroke-dasharray:520;animation:director-chart-draw 6s ease-in-out infinite}.director-dashboard circle{fill:#fff;stroke:#087ff5;stroke-width:4}.dashboard-legend{display:flex;gap:18px;color:#777;font-size:8px}.dashboard-legend b::before{content:"";display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#087ff5}
.director-next-action{position:absolute;z-index:9;right:13%;bottom:25%;display:grid;gap:4px;width:245px;padding:13px 15px;border:1px solid rgba(120,190,255,.5);border-radius:15px;color:#fff;background:rgba(0,82,166,.72);backdrop-filter:blur(16px)}.director-next-action small,.director-next-action em{font-size:8px;font-style:normal;opacity:.74}.director-next-action b{font-size:11px;line-height:1.45}.report-label{left:48%;top:53%}

/* Five sequential shots: objects enter only when their part of the story begins. */
.director-message-thread,.director-duty-status,.director-qa-panel,.director-preference-card,.director-feedback,.director-inspection-phone,.director-scan-box,.director-tea-task,.director-payment-success,.director-next-action{transition:opacity .36s ease,transform .45s cubic-bezier(.2,.75,.2,1)}
.store-story[data-cinema-phase="1"] .director-duty-status,.store-story[data-cinema-phase="1"] .director-qa-panel,.store-story[data-cinema-phase="1"] .director-preference-card,.store-story[data-cinema-phase="1"] .director-scan-box,.store-story[data-cinema-phase="1"] .director-payment-success,.store-story[data-cinema-phase="1"] .director-next-action{opacity:0;transform:translateY(10px) scale(.96)}
.store-story[data-cinema-phase="2"] .director-duty-status,.store-story[data-cinema-phase="2"] .director-preference-card,.store-story[data-cinema-phase="2"] .director-scan-box,.store-story[data-cinema-phase="2"] .director-payment-success,.store-story[data-cinema-phase="2"] .director-next-action{opacity:0;transform:translateY(10px) scale(.96)}
.store-story[data-cinema-phase="3"] .director-payment-success,.store-story[data-cinema-phase="3"] .director-next-action{opacity:0;transform:translateY(10px) scale(.96)}
.store-story[data-cinema-phase="1"] .director-message-thread strong{opacity:.15}.store-story[data-cinema-phase="2"] .director-message-thread strong{opacity:.38}.store-story[data-cinema-phase="3"] .director-message-thread strong{opacity:.7}.store-story[data-cinema-phase="4"] .director-message-thread strong,.store-story[data-cinema-phase="5"] .director-message-thread strong{opacity:1}
.store-story[data-cinema-phase="3"] .director-oil-console .cedar,.store-story[data-cinema-phase="4"] .director-oil-console .cedar{transform:translateY(-16px);box-shadow:0 20px 30px rgba(0,113,227,.25),0 0 0 5px rgba(0,113,227,.15)}
.store-story[data-cinema-phase="4"] .director-qa-panel,.store-story[data-cinema-phase="5"] .director-qa-panel{box-shadow:0 0 0 2px rgba(81,229,150,.35),0 22px 50px rgba(0,0,0,.2)}
.store-story[data-cinema-phase="3"] .director-feedback{transform:translateY(-5px);box-shadow:0 0 0 4px rgba(0,113,227,.16)}
.store-story[data-cinema-phase="4"] .director-preference-card,.store-story[data-cinema-phase="5"] .director-preference-card{opacity:1;transform:none}
.store-story[data-cinema-phase="2"] .director-inspection-phone,.store-story[data-cinema-phase="3"] .director-inspection-phone{transform:translate(-18px,-6px) rotate(-2deg)}
.store-story[data-cinema-phase="3"] .director-scan-box,.store-story[data-cinema-phase="4"] .director-scan-box,.store-story[data-cinema-phase="5"] .director-scan-box{opacity:1;transform:none}
.store-story[data-cinema-phase="3"] .tea-tray{transform:translateX(-10px)}.store-story[data-cinema-phase="4"] .tea-tray,.store-story[data-cinema-phase="5"] .tea-tray{transform:translateX(0);filter:brightness(1.08)}
.store-story[data-cinema-phase="3"] .guest-phone{transform:translate(-24px,-8px) rotate(2deg)}.store-story[data-cinema-phase="4"] .director-payment-success,.store-story[data-cinema-phase="5"] .director-payment-success{opacity:1;transform:none}
.store-story[data-cinema-phase="4"] .director-next-action,.store-story[data-cinema-phase="5"] .director-next-action{opacity:1;transform:none}

/* Perspective and stacking corrections after desktop scene review. */
.director-camera,
.director-shot.active .director-camera,
.store-story[data-cinema-scene] .director-shot.active .director-camera {
  z-index: 10;
  left: 7.2%;
  top: 22%;
  width: 84px;
  height: 72px;
  transform: none;
  filter: none;
  animation: none !important;
}
.director-camera::before {
  top: 2px;
  left: 6px;
  width: 18px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 5px;
  background: linear-gradient(90deg,#b5b5b5,#f5f5f5 58%,#a3a3a3);
  box-shadow: 0 8px 16px rgba(0,0,0,.24), inset 0 1px #fff;
}
.director-camera::after {
  left: 66px;
  top: 42px;
  width: 172px;
  height: 98px;
  border: 0;
  background: linear-gradient(105deg,rgba(30,136,255,.13),rgba(30,136,255,.025) 70%,transparent);
  clip-path: polygon(0 20%,100% 0,100% 100%,0 40%);
  transform: none;
  opacity: .72;
}
.director-camera .camera-mount {
  left: 20px;
  top: 13px;
  width: 24px;
  height: 9px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 0 6px 6px 0;
  background: linear-gradient(180deg,#f4f4f4,#b7b7b7);
  box-shadow: 0 5px 10px rgba(0,0,0,.2);
}
.director-camera .camera-body {
  left: 39px;
  top: 9px;
  width: 46px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 24px 24px 21px 21px;
  background:
    linear-gradient(180deg,#f5f5f5 0 45%,#cfcfcf 46% 53%,#242a30 54% 100%);
  box-shadow: 0 15px 28px rgba(0,0,0,.34), inset 0 2px #fff, inset 0 -8px 14px rgba(0,0,0,.24);
}
.director-camera .camera-lens {
  left: 51px;
  top: 36px;
  width: 21px;
  height: 14px;
  border: 2px solid #6d7883;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%,#a8d8ff 0 2px,#173a5a 3px 5px,#020508 6px);
  box-shadow: 0 0 0 1px #111,0 0 18px rgba(43,145,255,.5);
}
.director-camera .camera-status { left: 76px; top: 31px; width: 4px; height: 4px; }
.director-camera small { top: 60px; left: 38px; }

.director-person.guest .person-hair {
  z-index: 6;
  top: -4px;
  left: 20px;
  width: 54px;
  height: 82px;
  border: 0;
  border-radius: 27px 27px 7px 7px;
  background:
    radial-gradient(ellipse at 50% 18%,#555 0 48%,transparent 50%),
    linear-gradient(90deg,#3b3b3a 0 29%,transparent 30% 70%,#3b3b3a 71% 100%);
  clip-path: polygon(8% 0,92% 0,100% 25%,94% 100%,68% 93%,64% 25%,36% 25%,32% 93%,6% 100%,0 25%);
  opacity: 1;
  box-shadow: 0 8px 12px rgba(0,0,0,.14);
}
.director-person.guest .person-head { z-index: 8; box-shadow: inset 0 8px 0 #555,0 8px 15px rgba(0,0,0,.12); }
.director-person.guest .person-watch {
  z-index: 8;
  top: 105px;
  left: 11px;
  width: 12px;
  height: 8px;
  border: 2px solid #191919;
  border-radius: 4px;
  background: #9ac8f4;
  opacity: 1;
  transform: rotate(13deg);
}
.director-person.guest .person-bag {
  z-index: 7;
  right: -21px;
  bottom: 17px;
  width: 32px;
  height: 38px;
  border-radius: 5px 5px 10px 10px;
  opacity: 1;
}
.director-person.guest .person-bag::before {
  top: -61px;
  left: -17px;
  width: 38px;
  height: 67px;
  border: 0;
  border-right: 2px solid #686868;
  border-radius: 0 20px 0 0;
  transform: rotate(-10deg);
}

.director-oil-console {
  left: 37%;
  bottom: 25%;
  width: 350px;
  height: 158px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transform-origin: center bottom;
}
.director-oil-console::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 42px;
  left: 18px;
  width: 314px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg,#f6f6f3,#b7b7b2);
  box-shadow: 0 14px 26px rgba(0,0,0,.24),inset 0 1px #fff;
  clip-path: none;
}
.director-oil-console::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 90px;
  left: 28px;
  width: 294px;
  height: 62px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(90deg,#8d8d89,#d1d1cd 48%,#898985);
  box-shadow: 0 24px 34px rgba(0,0,0,.26);
  clip-path: none;
}
.oil-bottle { z-index: 4; bottom: 84px; transition: transform .42s ease,box-shadow .42s ease; }
.oil-bottle.lavender { left: 84px; }.oil-bottle.cedar { left: 154px; }.oil-bottle.citrus { left: 228px; }
.director-oil-console > small { z-index: 4; left: 129px; bottom: 18px; color: #5c5c5a; }
.scent-strip { z-index: 4; right: 38px; bottom: 65px; }

.director-person.greeter,
.director-person.receptionist,
.director-person.consultant,
.director-person.barista,
.director-person.cashier { z-index: 4; }
.director-person.arriving,
.director-person.consult-guest,
.director-person.paying { z-index: 9; }
.director-welcome-desk,.director-counter,.director-oil-console,.director-tea-station,.director-checkout-desk { z-index: 6; }

.director-person.greeter { left: 34%; bottom: 30%; }
.director-welcome-desk { left: 31%; bottom: 25%; width: 250px; height: 94px; z-index: 6; }
.director-welcome-desk .welcome-monitor {
  position: absolute;
  z-index: 3;
  top: -118px;
  right: 24px;
  width: 154px;
  height: 92px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px 12px;
  border: 6px solid #d5d5d5;
  border-radius: 10px;
  color: #f5f5f7;
  background: linear-gradient(155deg, #1a1a1c, #0a0a0b 72%);
  box-shadow: 0 16px 30px rgba(0,0,0,.28), inset 0 0 0 1px rgba(200,200,204,.18);
  box-sizing: border-box;
}
.director-welcome-desk .welcome-monitor::after {
  content: none !important;
  display: none !important;
}
.welcome-monitor small { color:#c8c8ca; font-size:8px; }.welcome-monitor strong { font-size:11px; }.welcome-monitor em { color:#b8b8ba; font-size:8px; font-style:normal; }
.director-welcome-desk .welcome-keyboard { position:absolute; right:31px; top:62px; width:125px; height:9px; border-radius:999px; background:rgba(0,0,0,.28); }
.director-welcome-desk > b { left:18px; bottom:14px; }
.store-story[data-cinema-scene="welcome"][data-cinema-phase="1"] .welcome-monitor small,
.store-story[data-cinema-scene="welcome"][data-cinema-phase="2"] .welcome-monitor strong,
.store-story[data-cinema-scene="welcome"][data-cinema-phase="3"] .welcome-monitor em,
.store-story[data-cinema-scene="welcome"][data-cinema-phase="4"] .welcome-monitor em,
.store-story[data-cinema-scene="welcome"][data-cinema-phase="5"] .welcome-monitor em {
  color: #fff;
  text-shadow: 0 0 16px rgba(72,164,255,.88);
}

.director-person.receptionist { left: 31%; bottom: 34%; }
.director-person.consultant { left: 25%; bottom: 26%; }
.director-person.consult-guest { right: 25%; bottom: 24%; }
.director-person.barista { right: 27%; bottom: 30%; }
.director-person.cashier { left: 33%; bottom: 31%; }
.director-person.paying { right: 21%; bottom: 18%; }
.director-person.paying .person-bag { right:-21px; bottom:20px; }

.director-qa-panel { top: 25%; right: 7%; width: 190px; }

/* The counter top must visually pass in front of staff, while guests stay on the floor in front. */
.director-counter,.director-tea-station,.director-checkout-desk { isolation:isolate; }
.director-counter::after,.director-checkout-desk::after {
  content:"";
  position:absolute;
  z-index:2;
  right:0;
  bottom:0;
  left:0;
  height:54%;
  pointer-events:none;
  border-radius:0 0 16px 16px;
  background:linear-gradient(90deg,rgba(164,164,160,.96),rgba(218,218,214,.96) 50%,rgba(153,153,149,.96));
}
.director-checkout-desk::after { top:25px; height:auto; }
.director-counter > *, .director-checkout-desk > * { z-index: 4; }

@keyframes director-status-pulse{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes director-chart-draw{0%{stroke-dashoffset:520}32%,82%{stroke-dashoffset:0}100%{stroke-dashoffset:-20}}

@media (max-width: 820px) {
  .store-director {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    border-radius: 14px;
  }

  .store-story-viewport {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    height: 76px;
  }
  .store-story-points {
    left: 14px !important;
    right: 14px !important;
    bottom: 17px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .store-story-point {
    height: 36px;
    padding: 0 8px;
  }
  .store-story-detail {
    width: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }
  .director-frame { min-height: 500px; height: 72vw; }
  .director-chrome { grid-template-columns: auto 1fr; gap: 12px; }
  .director-chrome::before { display: none; }
  .director-chrome strong { justify-self: start; }
  .director-chrome em { display: none; }
  .director-ai-card { right: 20px; bottom: 52px; left: 20px; width: auto; }
  .director-story-panel {
    right: 16px;
    bottom: 42px;
    left: auto;
    width: min(224px, calc(100% - 32px));
    padding: 10px 11px;
  }
  .director-story-panel h3 { font-size: 15px; }
  .director-story-panel p { font-size: 11px; line-height: 1.55; }
  .director-script-overlay {
    left: 20px;
    bottom: 38px;
    width: min(360px, calc(100% - 360px));
  }
  .director-shot-script {
    top: 12px;
    left: 50%;
    bottom: auto;
    width: min(380px, calc(100% - 160px));
    padding: 8px 9px 9px;
  }
  .director-shot-script li { font-size: 10px; }
  .director-choreography b { font-size: 9px; }
  .director-choreography span { padding: 6px 8px 6px 6px; }
  .script-line span { font-size: 12px; }
  .director-system-strip { right: 20px; left: 20px; gap: 6px; font-size: 9px; }
  .director-system-strip i { width: 20px; }
  .director-counter { left: 8%; width: 330px; }
  .director-dashboard { left: 12%; width: 360px; }
}

@media (max-width: 560px) {
  .director-frame { min-height: 520px; }
  .director-story-panel {
    right: 10px;
    bottom: 44px;
    left: auto;
    width: min(212px, calc(100% - 20px));
    padding: 8px 9px 9px;
    border-radius: 18px;
  }
  .director-story-kicker { margin-bottom: 5px; }
  .director-story-moment { display: none; }
  .director-story-panel h3 { margin-top: 2px; font-size: 13px; line-height: 1.28; }
  .director-story-panel p,
  .director-story-panel ul { display: none; }
  .director-script-overlay {
    left: 14px;
    right: 14px;
    bottom: 142px;
    width: auto;
  }
  .director-script-overlay small { margin-bottom: 6px; font-size: 8px; }
  .director-shot-script {
    display: none;
  }
  .director-shot-script ol {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 7px;
  }
  .director-shot-script li {
    grid-template-columns: 20px minmax(0, 1fr);
    font-size: 9px;
  }
  .director-shot-script span { white-space: normal; }
  .director-choreography {
    display: none;
  }
  .script-line {
    max-width: 100%;
    padding: 6px 8px;
    gap: 7px;
  }
  .script-line b { font-size: 9px; }
  .script-line span,
  .script-line.system span { font-size: 10px; }
  .director-shot.active .director-person {
    animation: none !important;
    transform: scale(.72);
    transform-origin: bottom center;
  }
  .director-person.greeter { left: 24%; }
  .director-person.arriving { right: 10%; }
  .director-person.receptionist { left: 24%; }
  .director-person.consultant { left: 10%; }
  .director-person.seated { right: 10%; }
  .director-person.therapist,
  .director-person.inspector,
  .director-person.barista { right: 12%; }
  .director-person.cashier { left: 12%; }
  .director-person.paying { right: 10%; }
  .director-person.host { left: 18%; }
  .director-person.leaving { left: 58%; }
  .director-person.manager { left: 30%; }
  .director-counter,
  .director-bed,
  .director-tea-counter { transform: scale(.82); transform-origin: bottom left; }
  .store-story-viewport { height: 72px; opacity: .82; }
  .store-story-points {
    left: 14px !important;
    right: 14px !important;
    bottom: 16px !important;
    display: flex !important;
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .store-story-points::-webkit-scrollbar { display: none; }
  .store-story-point {
    flex: 0 0 132px;
    width: 132px;
    height: 36px;
  }
  .store-story-point:nth-child(n) { display: flex; }
  .store-story-detail h3 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .director-shot,
  .director-shot::after,
  .director-person,
  .director-person > i,
  .director-waveform i,
  .director-scan-box,
  .director-shot-script li,
  .director-choreography span,
  .director-phone::after,
  .store-story-point.active::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 820px) {
  .director-shot-script { width: min(610px, calc(100% - 72px)); }
  .director-shot-script li { font-size: 8px; }
  .director-camera,
  .director-shot.active .director-camera,
  .store-story[data-cinema-scene] .director-shot.active .director-camera { left: 6%; top: 18%; transform: scale(.78); transform-origin: top left; }
  .director-message-thread { right: 4%; width: 210px; }
  .director-duty-status { left: 13%; top: 29%; }
  .director-qa-panel { right: 5%; width: 190px; }
  .director-room-set { inset: 16% 7% 21%; }
  .director-next-action { right: 4%; width: 210px; }
}

@media (max-width: 560px) {
  .director-frame { min-height: 540px; }
  .director-camera,
  .director-shot.active .director-camera,
  .store-story[data-cinema-scene] .director-shot.active .director-camera { left: 7%; top: 16%; transform: scale(.62); transform-origin: top left; }
  .director-camera::after { width: 135px; height: 78px; }
  .director-camera small { display: block; }
  .scene-object-label { padding: 5px 7px; font-size: 8px; }
  .director-person.greeter { left: 26%; bottom: 42%; }
  .director-person.arriving { right: 0; bottom: 38%; }
  .director-person.receptionist { left: 18%; bottom: 43%; }
  .director-person.consultant { left: 8%; bottom: 42%; }
  .director-person.consult-guest { right: -1%; bottom: 39%; }
  .director-person.therapist { right: 8%; bottom: 43%; }
  .director-person.inspector { right: 7%; bottom: 41%; }
  .director-person.barista { right: 7%; bottom: 43%; }
  .director-person.cashier { left: 12%; bottom: 46%; }
  .director-person.paying { right: -1%; bottom: 37%; }
  .director-person.manager { left: 5%; bottom: 41%; }
  .director-welcome-desk { left: 18%; bottom: 36%; transform: scale(.66); transform-origin: bottom left; }
  .director-door { right: 8%; top: 23%; transform: scale(.72); transform-origin: top right; }
  .welcome-label { left: 38%; top: 42%; }
  .director-counter { left: 5%; bottom: 35%; transform: scale(.62); transform-origin: bottom left; }
  .director-message-thread { top: 17%; right: 4%; width: 165px; padding: 9px; }
  .director-message-thread b,.director-message-thread strong { padding: 6px 7px; font-size: 9px; }
  .director-duty-status { left: 8%; top: 28%; transform: scale(.76); transform-origin: top left; }
  .reception-label { right: 8%; top: 38%; }
  .director-oil-console { left: 14%; bottom: 35%; transform: scale(.58); transform-origin: bottom left; }
  .director-qa-panel { top: 17%; right: 4%; width: 165px; padding: 9px; transform: scale(.88); transform-origin: top right; }
  .oil-label { left: 39%; top: 45%; }
  .director-treatment-room { top: 21%; right: -25%; bottom: 31%; left: -13%; transform: scale(.68); transform-origin: center bottom; }
  .director-feedback { top: 28%; left: 30%; font-size: 9px; }
  .director-preference-card { top: 18%; right: 4%; padding: 9px; }
  .treatment-label { left: 35%; top: 48%; }
  .director-room-set { top: 19%; right: -25%; bottom: 31%; left: -15%; transform: scale(.66); transform-origin: center bottom; }
  .director-scan-box { left: 18%; bottom: 39%; width: 190px; height: 116px; padding: 7px; }
  .director-scan-box b { font-size: 7px; }.director-scan-box em { font-size: 8px; }
  .director-inspection-phone { right: 17%; bottom: 42%; transform: scale(.72) rotate(-8deg); }
  .room-label { left: 28%; top: 42%; }
  .director-tea-station { left: -4%; bottom: 36%; transform: scale(.67); transform-origin: bottom left; }
  .director-tea-task { top: 18%; right: 4%; padding: 9px; }
  .tea-label { left: 32%; top: 45%; }
  .director-checkout-desk { left: 0; bottom: 34%; transform: scale(.6); transform-origin: bottom left; }
  .guest-phone { right: 19%; bottom: 46%; transform: scale(.75) rotate(-8deg); }
  .director-payment-success { top: 18%; right: 4%; padding: 9px; }
  .payment-label { left: 35%; top: 45%; }
  .director-dashboard { left: 10%; top: 19%; width: 390px; height: 230px; transform: scale(.66); transform-origin: top left; }
  .director-next-action { top: 20%; right: 3%; bottom: auto; width: 168px; padding: 9px; }
  .report-label { left: 37%; top: 47%; }
}

/* Final visual QA pass: keep the stage hierarchy legible at both scales. */
.director-shot-script {
  top: 30px;
  width: min(470px, calc(100% - 300px));
  background: rgba(14,14,16,.34);
}
.director-path {
  left: 36%;
  right: 26%;
  bottom: 24%;
  background: repeating-linear-gradient(90deg, rgba(0,113,227,.1) 0 12px, rgba(0,113,227,.9) 12px 18px, transparent 18px 28px);
  box-shadow: 0 0 0 1px rgba(0,113,227,.18);
  opacity: .72;
}
.director-door::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 52%;
  width: 9px;
  height: 9px;
  border: 2px solid #6f6f6b;
  border-radius: 50%;
  background: #d6d6d2;
}
.director-camera::after {
  width: 126px;
  height: 72px;
  clip-path: polygon(0 24%,100% 0,100% 76%,0 56%);
  opacity: .46;
}
.director-camera small::before { content: "● "; color: #44e58f; }
.director-person.guest .person-leg { opacity: .96; background: linear-gradient(180deg,#deded9,#aaa9a3); }
.director-person.guest .person-head { box-shadow: inset 0 5px 0 #6d6d68, 0 8px 15px rgba(0,0,0,.12); }
.director-welcome-desk .welcome-monitor { box-shadow: 0 0 0 1px rgba(200,200,204,.22),0 16px 30px rgba(0,0,0,.28); }
.director-welcome-desk .welcome-monitor strong { color:#fff; text-shadow:0 0 8px rgba(200,200,204,.35); }
.director-message-thread::before {
  content: "AI";
  position: absolute;
  left: -22px;
  top: 18px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #3a3a3c;
  font: 700 8px var(--font-apple-mono);
  box-shadow: 0 0 0 5px rgba(80,80,84,.14);
}
.director-imac {
  background: linear-gradient(155deg, #1a1a1c, #0a0a0b 72%);
}
.director-imac::before {
  content: none;
}
.director-duty-status { box-shadow: 0 0 0 2px rgba(8,127,245,.16),0 18px 36px rgba(0,0,0,.18); }
.director-oil-console::after { box-shadow: 0 24px 34px rgba(0,0,0,.26), inset 0 1px rgba(255,255,255,.24); }
.scent-strip { right: 28px; width: 92px; height: 14px; background: linear-gradient(180deg,#fffdf0,#e0d7bc); box-shadow:-108px 0 #eee8d7, inset 0 1px #fff; }
.director-qa-panel { box-shadow: 0 0 0 1px rgba(8,127,245,.26),0 22px 50px rgba(0,0,0,.28); }
.director-qa-panel::before { content:"AI"; position:absolute; right:12px; top:-12px; padding:3px 6px; border-radius:999px; color:#fff; background:#087ff5; font:700 8px var(--font-apple-mono); }

/* The treatment room reads as a room: a low bed, visible guest, and staff on the floor. */
.director-treatment-room { background: linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.13)); }
.director-treatment-room .director-bed {
  bottom: 8%;
  height: 142px;
  border-radius: 18px 18px 9px 9px;
  z-index:8;
  border:2px solid rgba(70,70,67,.34);
  background:linear-gradient(180deg,#f8f8f4 0 20px,#d0d0ca 20px 100%);
  box-shadow: 0 26px 38px rgba(0,0,0,.28), inset 0 10px 0 rgba(255,255,255,.78);
}
.director-treatment-room .bed-client { top: 27px; height: 60px; background:linear-gradient(180deg,#bdbdb8,#92928d); box-shadow:inset 42px 0 #deded9; }
.director-treatment-room .bed-client::before { content:""; position:absolute; left:-25px; top:7px; width:42px; height:42px; border-radius:50%; background:#d8d8d2; box-shadow:inset 0 7px #73736e; }
.director-treatment-room .bed-client::after { content:""; position:absolute; right:14px; top:11px; width:54px; height:30px; border-radius:18px; background:rgba(255,255,255,.22); }
.director-treatment-room .bed-blanket { height: 64px; background:linear-gradient(180deg,#e8e8e5,#b5b5b0); }
.director-treatment-room .bed-pillow { top: 15px; height: 34px; }
.director-treatment-room .room-lamp { width:26px; height:62px; border-radius:20px 20px 5px 5px; }
.director-person.therapist { right: 18%; bottom: 19%; }
.director-person.therapist .person-arm.left { transform: rotate(68deg) translate(2px,10px); }
.director-person.therapist .person-arm.right { transform: rotate(-48deg) translate(-4px,18px); }
.director-service-card { left: 10%; top: 24%; min-width: 132px; }
.director-service-card::before { content:"服务单 · 进行中"; color:#087ff5; font-size:9px; }
.treatment-label { left: 47%; top: 39%; }

/* Inspection: tidy bed, put AI验收 on the bedding, drop the room-list tag. */
.director-room-set .director-bed.room-check {
  bottom: 7%;
  height: 148px;
  box-shadow:0 26px 38px rgba(0,0,0,.28), inset 0 9px 0 rgba(255,255,255,.72);
  transform: none;
  z-index:8;
  border:2px solid rgba(70,70,67,.32);
  background:linear-gradient(180deg,#f8f8f4 0 20px,#c8c8c2 20px 100%);
}
.director-room-set .director-bed.room-check::before { content:""; position:absolute; left:14px; right:14px; top:-10px; height:28px; border-radius:16px 16px 4px 4px; background:linear-gradient(180deg,#ffffff,#d3d3ce); box-shadow:0 2px 0 rgba(0,0,0,.14); }
.director-room-set .director-bed.room-check::after { bottom:20px; height:22px; border-radius:5px; background:linear-gradient(90deg,#efefec 0 20%,#d7d7d2 20% 24%,#f3f3f0 24% 48%,#d7d7d2 48% 52%,#f3f3f0 52% 76%,#d7d7d2 76% 80%,#f3f3f0 80%); }
.director-room-set .director-bed.room-check { box-shadow:0 26px 38px rgba(0,0,0,.34), inset 0 -18px 0 rgba(105,105,100,.28), inset 0 9px 0 rgba(255,255,255,.72); }
.director-room-set .room-side-table { z-index:9; box-shadow:0 18px 30px rgba(0,0,0,.28), inset 0 1px #fff; }
.director-room-set::after { content:"房间 03 · 床品、毛巾已核对"; position:absolute; left:12%; bottom:4%; padding:5px 8px; border-radius:999px; color:#087ff5; background:rgba(255,255,255,.76); font-size:9px; letter-spacing:.04em; }
.director-room-set .bed-blanket { top: 52px; right: 28px; bottom: 22px; left: 28px; height: auto; border-radius: 8px; }
.director-room-set .bed-runner { right: 36px; bottom: 28px; left: 36px; height: 14px; border-radius: 4px; }
.director-room-set .bed-pillow { top: 18px; width: 96px; height: 34px; }
.director-room-set .bed-pillow.one { left: 36px; right: auto; }
.director-room-set .bed-pillow.two { left: 148px; right: auto; }
.director-room-set .bed-towels { top: 20px; right: 42px; width: 48px; height: 28px; box-shadow: 0 10px 0 #f0f0ed; }
.director-room-set .bed-robe,
.director-room-set .bed-slippers { display: none !important; }
.director-inspection-phone { right: 17%; bottom: 23%; width: 42px; height: 68px; transform:rotate(-5deg); }
.director-inspection-phone b { top: 73px; }
.director-scan-box {
  left: 34%;
  bottom: 28%;
  top: auto;
  right: auto;
  width: 220px;
  height: 96px;
  background: rgba(5,60,116,.12);
}
.room-label { display: none !important; }
.director-person.inspector { right: 10%; bottom: 16%; }

/* Farewell gets a readable threshold and a visible handoff path. */
.director-shot[data-shot="farewell"] .director-door.exit { left: 11%; top: 18%; width: 142px; height: 224px; }
.director-shot[data-shot="farewell"]::after { top: 54%; }
.director-shot[data-shot="farewell"] .director-coupon { right: 29%; top: 24%; }
.director-shot[data-shot="farewell"] .director-person.host { left: 35%; bottom: 22%; }
.director-shot[data-shot="farewell"] .director-person.leaving { left: 53%; bottom: 19%; }
.director-shot[data-shot="farewell"] .director-floor::after { content:""; position:absolute; left:11%; bottom:18%; width:34%; height:26px; border-bottom:2px solid rgba(8,127,245,.56); border-radius:0 0 80% 80%; transform:skewX(-18deg); }
.director-coupon::after { content:"✓ 已写入客史"; display:block; margin-top:4px; color:#087ff5; font-size:8px; font-weight:500; }

/* The manager is reading the board from the side, never standing in the chart. */
.director-shot[data-shot="manager"] .director-person.manager { left: 13%; bottom: 18%; transform:scale(.86); transform-origin:bottom center; }
.director-shot[data-shot="manager"] .director-person.manager .person-head { transform:translate(11px,4px) rotate(18deg); }
.director-shot[data-shot="manager"] .director-person.manager .person-arm.right { transform:rotate(-32deg) translate(10px,-5px); }
.director-shot[data-shot="manager"] .director-dashboard { left: 28%; top: 12%; }
.director-shot[data-shot="manager"] .director-next-action { right: 8%; bottom: 18%; }

@media (min-width: 821px) {
  .director-shot[data-shot="inspection"] .director-person.inspector { right: 24%; }
  .director-shot[data-shot="inspection"] .director-inspection-phone { right: 30%; }
  .director-shot[data-shot="payment"] .director-person.paying { right: 31%; }
  .director-shot[data-shot="payment"] .guest-phone { right: 36%; }
}

@media (max-width: 820px) {
  .director-shot-script { top: 24px; width: calc(100% - 40px); left:20px; transform:none; }
  .director-shot-script ol { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .director-shot-script li { font-size:8px; min-width:0; }
  .director-shot-script span { white-space:normal; }
}

@media (max-width: 560px) {
  .director-shot-script { display:block; top:10px; left:10px; width:calc(100% - 20px); padding:5px 7px; border-radius:12px; opacity:.78; }
  .director-shot-script ol { grid-template-columns:repeat(5,minmax(0,1fr)); gap:3px; }
  .director-shot-script li { display:grid; gap:2px; justify-items:center; font-size:7px; text-align:center; line-height:1.15; }
  .director-shot-script b { width:15px; height:15px; font-size:7px; }
  .director-shot-script span { max-height:19px; overflow:hidden; }
  .director-path { left:26%; right:10%; bottom:31%; height:2px; }
  .director-welcome-desk { left:8%; bottom:30%; transform:scale(.58); }
  .director-person.greeter { left:27%; bottom:37%; transform:scale(.58)!important; }
  .director-person.arriving { right:-1%; bottom:34%; transform:scale(.58)!important; }
  .director-person.receptionist { left:17%; bottom:35%; transform:scale(.56)!important; }
  .director-counter { left:2%; bottom:30%; transform:scale(.5); }
  .director-imac { transform:scale(1.08); transform-origin:bottom center; }
  .director-message-thread { top:24%; right:3%; width:154px; transform:scale(.82); transform-origin:top right; }
  .director-duty-status { left:8%; top:31%; transform:scale(.68); }
  .director-person.consultant { left:6%; bottom:34%; transform:scale(.56)!important; }
  .director-person.consult-guest { right:0; bottom:31%; transform:scale(.56)!important; }
  .director-oil-console { left:10%; bottom:29%; transform:scale(.48); }
  .director-qa-panel { top:22%; right:3%; transform:scale(.72); }
  .director-treatment-room { top:24%; right:-10%; bottom:27%; left:0; transform:scale(.64); transform-origin:center bottom; }
  .director-person.therapist { right:2%; bottom:30%; transform:scale(.56)!important; }
  .director-service-card { left:5%; top:27%; transform:scale(.66); transform-origin:top left; }
  .director-feedback { top:23%; left:24%; transform:scale(.72); transform-origin:top left; }
  .director-preference-card { top:29%; right:3%; transform:scale(.64); transform-origin:top right; }
  .director-room-set { top:23%; right:-6%; bottom:27%; left:0; transform:scale(.62); transform-origin:center bottom; }
  .director-person.inspector { right:2%; bottom:29%; transform:scale(.54)!important; }
  .director-inspection-phone { right:13%; bottom:34%; transform:scale(.56) rotate(-5deg); }
  .director-scan-box { left:8%; bottom:31%; width:156px; height:86px; transform:scale(.76); transform-origin:bottom left; }
  .director-tea-station { left:2%; bottom:29%; transform:scale(.5); }
  .director-person.barista { right:3%; bottom:32%; transform:scale(.54)!important; }
  .director-tea-task { top:22%; right:3%; transform:scale(.7); transform-origin:top right; }
  .director-checkout-desk { left:1%; bottom:28%; transform:scale(.48); }
  .director-person.cashier { left:10%; bottom:35%; transform:scale(.54)!important; }
  .director-person.paying { right:-1%; bottom:29%; transform:scale(.54)!important; }
  .guest-phone { right:14%; bottom:37%; transform:scale(.58) rotate(-8deg); }
  .director-payment-success { top:22%; right:3%; transform:scale(.7); transform-origin:top right; }
  .director-shot[data-shot="farewell"] .director-door.exit { left:8%; top:22%; transform:scale(.55); transform-origin:top left; }
  .director-shot[data-shot="farewell"] .director-person.host { left:30%; bottom:31%; transform:scale(.54)!important; }
  .director-shot[data-shot="farewell"] .director-person.leaving { left:57%; bottom:29%; transform:scale(.54)!important; }
  .director-shot[data-shot="farewell"] .director-coupon { right:5%; top:26%; transform:scale(.68); transform-origin:top right; }
  .director-shot[data-shot="manager"] .director-dashboard { left:22%; top:23%; width:390px; transform:scale(.48); transform-origin:top left; }
  .director-shot[data-shot="manager"] .director-person.manager { left:3%; bottom:29%; transform:scale(.52)!important; }
  .director-shot[data-shot="manager"] .director-next-action { right:3%; top:24%; bottom:auto; transform:scale(.64); transform-origin:top right; }
}

/* 2026-09-24 scene refinement: clearer physical staging after the treatment
   scene was removed from the eight-scene sequence. */
.director-qa-panel {
  grid-template-columns: 1fr auto;
  width: 224px;
}
.qa-checklist {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 3px;
}
.qa-checklist b {
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 5px;
  border: 1px solid rgba(120, 198, 255, .34);
  border-radius: 8px;
  color: #bce0ff;
  background: rgba(79, 156, 230, .13);
  font-size: 7px;
  white-space: nowrap;
}
.qa-checklist b.risk {
  color: #ffd48a;
  border-color: rgba(255, 193, 82, .45);
  background: rgba(255, 169, 43, .12);
}

/* A real room volume: back wall, side wall and floor converge around a low bed. */
.director-room-set {
  inset: auto;
  left: 24%;
  top: 22%;
  width: 520px;
  height: 330px;
  border: 0;
  background: transparent;
  transform: none;
  overflow: visible;
}
.director-room-set .room-back-wall,
.director-room-set .room-side-wall,
.director-room-set .room-floor-plane {
  position: absolute;
  display: block;
}
.director-room-set .room-back-wall {
  top: 0;
  left: 0;
  width: 72%;
  height: 69%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px 0 0 0;
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(186,190,194,.08));
  box-shadow: inset 0 1px rgba(255,255,255,.22);
}
.director-room-set .room-side-wall {
  top: 0;
  right: 0;
  width: 28.5%;
  height: 77%;
  clip-path: polygon(0 0, 100% 14%, 100% 100%, 0 89%);
  background: linear-gradient(135deg, rgba(210,215,220,.17), rgba(90,96,103,.24));
  box-shadow: inset 1px 0 rgba(255,255,255,.18);
}
.director-room-set .room-floor-plane {
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  clip-path: polygon(0 0, 72% 0, 100% 24%, 31% 100%);
  background: linear-gradient(156deg, rgba(232,232,228,.34), rgba(94,96,97,.24));
  box-shadow: inset 0 1px rgba(255,255,255,.28);
}
.director-room-set .director-bed.room-check {
  left: 13%;
  bottom: 13%;
  width: 350px;
  height: 132px;
  border: 1px solid rgba(70,70,67,.34);
  border-radius: 14px 14px 8px 8px;
  clip-path: polygon(7% 0, 100% 8%, 91% 100%, 0 87%);
  transform: none;
  background: linear-gradient(165deg,#fafaf7 0 60%,#c2c2bd 61% 100%);
  box-shadow: 0 25px 36px rgba(0,0,0,.28), inset 0 8px rgba(255,255,255,.72);
}
.director-room-set .director-bed.room-check::before {
  top: 8px;
  left: 16px;
  right: 22px;
  height: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  box-shadow: none;
}
.director-room-set .director-bed.room-check::after {
  left: 20px;
  right: 32px;
  bottom: 8px;
  height: 13px;
  border-radius: 3px;
  background: linear-gradient(90deg,#e8e8e4 0 31%,#cdcdc8 31% 34%,#f4f4f0 34% 65%,#cdcdc8 65% 68%,#e8e8e4 68%);
}
.director-room-set .bed-pillow {
  top: 27px;
  width: 82px;
  height: 32px;
  border: 1px solid rgba(130,130,126,.25);
  border-radius: 16px 16px 11px 11px;
  background: linear-gradient(150deg,#fff,#dddcd7);
  box-shadow: inset 0 1px #fff;
}
.director-room-set .bed-pillow.one { left: 35px; }
.director-room-set .bed-pillow.two { left: 126px; }
.director-room-set .bed-blanket { top: 63px; right: 26px; bottom: 22px; left: 26px; border-radius: 7px; background: linear-gradient(150deg,#efefeb,#d1d1cc); }
.director-room-set .bed-runner { right: 29px; bottom: 26px; left: 29px; height: 18px; border-radius: 3px; background: linear-gradient(90deg,#626966,#8b918d,#626966); }
.director-room-set .bed-towels { top: 30px; right: 51px; width: 42px; height: 27px; border: 1px solid #d5d5d0; border-radius: 10px; background: #f9f9f6; box-shadow: -24px 8px 0 -2px #ecece8, inset 0 -6px #e1e1dc; }
.director-room-set .bed-robe { position:absolute; z-index:4; left:218px; top:27px; width:45px; height:30px; border-radius:15px 15px 8px 8px; background:linear-gradient(135deg,#eee,#c8c8c3); transform:rotate(7deg); }
.director-room-set .bed-robe::after { content:"浴袍"; position:absolute; left:8px; top:10px; color:#777; font-size:7px; }
.director-room-set .bed-slippers { position:absolute; z-index:5; right:-30px; bottom:8px; width:24px; height:42px; border-radius:12px 12px 7px 7px; background:#d7d7d2; box-shadow:27px 8px #c8c8c3; transform:rotate(12deg); }
.director-room-set .room-side-table {
  right: 3%;
  bottom: 23%;
  width: 76px;
  height: 92px;
  border-radius: 7px;
  background: linear-gradient(165deg,#e4e4df 0 16px,#999b98 17px 100%);
  transform: skewY(3deg);
}
.director-room-set .room-side-table b { bottom:auto; border-radius:3px; }
.director-room-set .room-side-table .room-oil { left:12px; top:-18px; width:13px; height:30px; background:#333; }
.director-room-set .room-side-table .room-tissue { left:31px; top:-10px; width:27px; height:22px; border-radius:5px; background:#f2f2ef; }
.director-room-set .room-side-table .room-water { left:62px; top:-15px; width:11px; height:27px; background:linear-gradient(#d9f0fa,#a9c6d0); }
.director-room-set::after { left:14%; bottom:4%; content:"房间 03 · 床品、毛巾、浴袍、拖鞋已核对"; }
.director-person.inspector { right: 13%; bottom: 15%; }
.director-inspection-phone { right: 21%; bottom: 29%; }
.director-scan-box { left: 7%; top: 39%; bottom: auto; width: 196px; height: 116px; background: rgba(5,60,116,.14); }
.room-label { left: 38%; top: 39%; }

/* The tea console is a fixed physical counter; only the employee's hands move. */
.director-tea-station {
  left: 27%;
  bottom: 18%;
  width: 470px;
  height: 205px;
  animation: none !important;
}
.tea-backsplash { left:42px; right:42px; top:0; height:63px; }
.tea-tabletop {
  top: 53px;
  height: 53px;
  border-radius: 8px;
  clip-path: polygon(7% 0,93% 0,100% 100%,0 100%);
  background: linear-gradient(165deg,#fff 0,#deded9 55%,#a1a19d 100%);
  box-shadow: 0 14px 24px rgba(0,0,0,.27), inset 0 1px #fff;
}
.tea-front { top:103px; left:25px; right:25px; height:97px; background:linear-gradient(90deg,#8f918f,#d4d4cf 48%,#8f918f); }
.tea-tray { left:107px; bottom:18px; transform:none !important; transition:none !important; }
.store-story[data-cinema-phase] .tea-tray { transform:none !important; }
.director-person.barista { right: 18%; bottom: 18%; }
.tea-label { left: 45%; top: 53%; }

/* Checkout: people remain on the floor and the phone sits between hand and QR. */
.director-checkout-desk { left: 30%; bottom: 13%; width: 380px; height: 144px; }
.director-person.cashier { left: 36%; bottom: 24%; z-index:4; }
.director-person.paying { right: 15%; bottom: 11%; z-index:7; }
.guest-phone { right: 42%; bottom: 27%; width: 34px; height: 61px; z-index:10; transform:rotate(-7deg); }
.store-story[data-cinema-phase="3"] .guest-phone { transform:translate(-10px,-4px) rotate(1deg); }
.director-checkout-desk .director-qr { left:68px; top:-48px; width:62px; height:72px; }
.director-checkout-desk .director-qr small { position:absolute; left:-5px; top:72px; width:72px; color:#555; font-size:7px; text-align:center; }
.checkout-terminal { right:56px; top:-31px; width:69px; height:55px; }
.payment-label { left: 49%; top: 49%; }

/* Farewell: employee remains inside, guest crosses the threshold and disappears. */
.director-shot[data-shot="farewell"] .director-door.exit { left: 10%; top: 18%; }
.director-shot[data-shot="farewell"] .director-person.host { left: 52%; bottom: 18%; }
.director-shot[data-shot="farewell"] .director-person.leaving { left: 31%; bottom: 18%; }
.director-shot[data-shot="farewell"] .director-coupon { right: 21%; top: 24%; }
.director-shot[data-shot="farewell"] .director-floor::after { left:10%; width:27%; }
@keyframes director-farewell-walk {
  0%, 12% { opacity:1; transform:translateX(0) scale(1); }
  45% { opacity:1; transform:translateX(-66px) scale(.97); }
  72% { opacity:.9; transform:translateX(-128px) scale(.88); }
  86%, 100% { opacity:0; transform:translateX(-174px) scale(.72); }
}

/* The review screen sits at eye level and uses a thinner analytical line. */
.director-shot[data-shot="manager"] .director-dashboard { left:31%; top:21%; width:440px; height:252px; padding:16px; }
.director-dashboard svg { height:90px; margin-top:10px; }
.director-dashboard path { stroke-width:3; filter:drop-shadow(0 5px 7px rgba(0,113,227,.15)); }
.director-dashboard circle { stroke-width:2.5; }
.director-shot[data-shot="manager"] .director-person.manager { left:15%; bottom:16%; }
.director-shot[data-shot="manager"] .director-next-action { right:8%; bottom:16%; }

@media (max-width: 820px) {
  .director-room-set { left:11%; top:24%; transform:scale(.72); transform-origin:left top; }
  .director-person.inspector { right:7%; bottom:33%; }
  .director-inspection-phone { right:16%; bottom:43%; }
  .director-scan-box { left:5%; top:39%; transform:scale(.78); transform-origin:left top; }
  .director-tea-station { left:9%; bottom:28%; transform:scale(.7); transform-origin:left bottom; }
  .director-person.barista { right:8%; bottom:35%; }
  .director-checkout-desk { left:8%; bottom:28%; transform:scale(.7); transform-origin:left bottom; }
  .director-person.cashier { left:18%; bottom:39%; }
  .director-person.paying { right:4%; bottom:31%; }
  .guest-phone { right:27%; bottom:43%; transform:scale(.76) rotate(-7deg); }
  .director-shot[data-shot="manager"] .director-dashboard { left:19%; top:25%; transform:scale(.7); transform-origin:left top; }
}

@media (max-width: 560px) {
  .director-qa-panel { width:176px; }
  .qa-checklist { gap:3px; }
  .qa-checklist b { min-height:22px; padding:3px; font-size:6px; }
  .director-room-set { left:-3%; top:25%; transform:scale(.53); }
  .director-person.inspector { right:1%; bottom:29%; transform:scale(.54)!important; }
  .director-inspection-phone { right:12%; bottom:35%; transform:scale(.54) rotate(-5deg); }
  .director-scan-box { left:4%; top:37%; width:170px; transform:scale(.7); }
  .director-tea-station { left:-4%; bottom:29%; transform:scale(.5); }
  .director-person.barista { right:2%; bottom:31%; transform:scale(.54)!important; }
  .director-checkout-desk { left:0; bottom:27%; transform:scale(.5); }
  .director-person.cashier { left:10%; bottom:35%; transform:scale(.54)!important; }
  .director-person.paying { right:-1%; bottom:29%; transform:scale(.54)!important; }
  .guest-phone { right:27%; bottom:38%; transform:scale(.55) rotate(-7deg); }
  .director-shot[data-shot="farewell"] .director-person.host { left:55%; bottom:29%; transform:scale(.54)!important; }
  .director-shot[data-shot="farewell"] .director-person.leaving { left:31%; bottom:29%; transform:scale(.54)!important; }
  .director-shot[data-shot="manager"] .director-dashboard { left:18%; top:27%; width:410px; transform:scale(.47); }
}

/* Final spatial pass: keep the room, counter and screens physically legible. */
.director-room-set {
  left: 22%;
  top: 30%;
  width: 560px;
  height: 325px;
}
.director-room-set .room-back-wall {
  width: 70%;
  height: 66%;
  border-color: rgba(255,255,255,.28);
  background:
    linear-gradient(90deg, transparent 0 70%, rgba(255,255,255,.08) 70% 70.5%, transparent 70.5%),
    linear-gradient(145deg, rgba(244,246,248,.26), rgba(139,146,153,.1));
}
.director-room-set .room-back-wall::before {
  content: "ROOM 03";
  position: absolute;
  left: 24px;
  top: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.62);
  font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
}
.director-room-set .room-back-wall::after {
  content: "";
  position: absolute;
  left: 58px;
  bottom: 0;
  width: 274px;
  height: 58px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, rgba(96,101,102,.55), rgba(54,58,59,.28));
  box-shadow: inset 0 1px rgba(255,255,255,.18);
}
.director-room-set .room-side-wall {
  width: 30.5%;
  height: 75%;
  background: linear-gradient(135deg, rgba(219,224,228,.22), rgba(79,84,90,.32));
}
.director-room-set .room-side-wall::before {
  content: "";
  position: absolute;
  inset: 40px 31px 61px 28px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(17,20,23,.12);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.025);
}
.director-room-set .room-floor-plane {
  height: 45%;
  clip-path: polygon(0 0, 70% 0, 100% 26%, 29% 100%);
  background: linear-gradient(154deg, rgba(239,240,238,.42), rgba(81,84,86,.31));
}
.director-room-set .room-floor-plane::before {
  content: "";
  position: absolute;
  left: 89px;
  bottom: 12px;
  width: 292px;
  height: 72px;
  clip-path: polygon(7% 0, 100% 9%, 88% 100%, 0 84%);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.1);
}
.director-room-set .director-bed.room-check {
  left: 12%;
  bottom: 12%;
  width: 340px;
  height: 112px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  clip-path: polygon(2% 16%, 95% 0, 100% 78%, 6% 100%);
  background: linear-gradient(150deg, #a8aaa7 0 36%, #777a78 37% 100%);
  box-shadow: 0 26px 34px rgba(0,0,0,.3);
}
.director-room-set .director-bed.room-check::before {
  z-index: 1;
  top: -26px;
  right: 9px;
  left: 12px;
  height: 92px;
  border: 1px solid rgba(105,105,101,.26);
  border-radius: 12px;
  clip-path: polygon(2% 6%, 98% 0, 100% 92%, 0 100%);
  background: linear-gradient(156deg, #fff 0 48%, #e0e0db 100%);
  box-shadow: 0 7px 12px rgba(0,0,0,.18), inset 0 6px rgba(255,255,255,.7);
}
.director-room-set .director-bed.room-check::after {
  z-index: 2;
  left: 30px;
  right: 32px;
  bottom: 20px;
  width: auto;
  height: 10px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg,#d8d8d3 0 44px,#f3f3ef 44px 88px);
  box-shadow: none;
}
.director-room-set .bed-pillow,
.director-room-set .bed-blanket,
.director-room-set .bed-runner,
.director-room-set .bed-towels,
.director-room-set .bed-robe,
.director-room-set .bed-slippers { z-index: 3; }
.director-room-set .bed-pillow { top: -7px; width: 72px; height: 27px; transform: rotate(3deg); }
.director-room-set .bed-pillow.one { left: 35px; }
.director-room-set .bed-pillow.two { left: 113px; }
.director-room-set .bed-blanket { top: 25px; right: 34px; bottom: 43px; left: 30px; transform: rotate(2deg); }
.director-room-set .bed-runner { right: 34px; bottom: 43px; left: 36px; height: 15px; transform: rotate(2deg); }
.director-room-set .bed-towels { top: -1px; right: 43px; width: 38px; height: 24px; }
.director-room-set .bed-robe { left: 196px; top: -4px; }
.director-room-set .bed-slippers { right: -26px; bottom: 4px; }
.director-room-set .room-side-table { right: 4%; bottom: 23%; }
.director-room-set::after { left: 13%; bottom: 0; }

.director-tea-station,
.store-story[data-cinema-phase="1"] .director-tea-station,
.store-story[data-cinema-phase="2"] .director-tea-station,
.store-story[data-cinema-phase="3"] .director-tea-station,
.store-story[data-cinema-phase="4"] .director-tea-station,
.store-story[data-cinema-phase="5"] .director-tea-station {
  translate: 0 0 !important;
  animation: none !important;
}

.guest-phone { right: 49%; bottom: 20%; }
.store-story[data-cinema-phase="3"] .guest-phone { transform: translate(-4px,-2px) rotate(1deg); }

.director-shot[data-shot="manager"] .director-dashboard {
  left: 32%;
  top: 35%;
  width: 400px;
  height: 226px;
  padding: 14px;
}
.director-dashboard svg { height: 76px; margin-top: 8px; }
.director-dashboard path { stroke-width: 2.25; }
.director-dashboard circle { stroke-width: 2; }

@media (max-width: 820px) {
  .director-room-set { left: 8%; top: 31%; transform: scale(.66); }
  .guest-phone { right: 38%; bottom: 34%; transform: scale(.72) rotate(-7deg); }
  .director-shot[data-shot="manager"] .director-dashboard {
    left: 21%;
    top: 35%;
    scale: .66;
    transform-origin: left top;
  }
}

@media (max-width: 560px) {
  .director-room-set { left: -4%; top: 32%; transform: scale(.48); }
  .director-scan-box {
    left: 3%;
    top: 22%;
    width: 124px;
    height: 64px;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 2px;
    padding: 5px;
    border-radius: 11px;
    transform: scale(.78);
    transform-origin: left top;
  }
  .director-scan-box b { padding: 3px 2px; font-size: 5px; }
  .director-scan-box em { padding: 4px; font-size: 6px; }
  .guest-phone { right: 39%; bottom: 34%; transform: scale(.52) rotate(-7deg); }
  .director-shot[data-shot="manager"] .director-dashboard {
    left: 19%;
    top: 35%;
    width: 390px;
    scale: .45;
    transform-origin: left top;
  }
}

/* `translate` stays independent from the responsive character scale. */
@keyframes director-farewell-walk {
  0%, 12% { opacity: 1; translate: 0 0; }
  45% { opacity: 1; translate: -66px 0; }
  72% { opacity: .88; translate: -128px 0; }
  86%, 100% { opacity: 0; translate: -174px 0; }
}

@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
  .store-story[data-cinema-scene="farewell"] .director-shot.active .director-person.leaving {
    animation: director-farewell-walk 6.6s ease-in-out infinite !important;
  }
}

/* 2026-09-24 physical staging pass: attachments follow the rig and all
   counters share one scale, one top plane and one floor line. */
.director-shot-script b {
  box-sizing: border-box;
  flex: 0 0 20px;
  min-width: 20px;
  width: 20px;
  height: 20px;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 50%;
}

.director-person .person-head {
  overflow: visible;
}
.director-person .person-head .person-hair,
.director-person .person-arm .person-watch {
  position: absolute;
  display: block;
  pointer-events: none;
}
.director-person.guest .person-head .person-hair {
  z-index: -1;
  top: -10px;
  left: -9px;
  width: 50px;
  height: 69px;
  box-sizing: border-box;
  border: 7px solid #50504e;
  border-top-width: 13px;
  border-bottom-width: 5px;
  border-radius: 48% 48% 24% 24%;
  background: linear-gradient(90deg, #4a4a48 0 18%, transparent 18% 82%, #4a4a48 82%);
  box-shadow: none;
  opacity: 1;
}
.director-person.guest .person-arm.left .person-watch,
.director-person .person-watch {
  display: none !important;
}

.director-front-desk {
  position: absolute;
  z-index: 5;
  width: 380px;
  height: 136px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 16px 16px 20px 20px;
  background: linear-gradient(90deg, #aaa9a5, #deded9 48%, #a6a6a2);
  box-shadow: 0 25px 48px rgba(0,0,0,.26), inset 0 1px rgba(255,255,255,.76);
}
.director-front-desk::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -13px;
  right: -7px;
  left: -7px;
  height: 25px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #babbb7);
  box-shadow: 0 9px 16px rgba(0,0,0,.2), inset 0 1px #fff;
}
.director-front-desk > b,
.director-welcome-desk > b,
.director-counter > b {
  position: absolute;
  z-index: 3;
  right: auto;
  bottom: 17px;
  left: 50%;
  color: rgba(70,70,68,.62);
  font: 700 9px/1 var(--font-apple-mono);
  letter-spacing: .18em;
  transform: translateX(-50%);
}

/* Unified iMac: screen → stem → foot, all locked to the screen bottom. */
.director-front-desk .director-imac {
  z-index: 6;
  top: -118px;
  left: 50%;
  width: 154px;
  height: 92px;
  box-sizing: border-box;
  overflow: visible;
  border: 5px solid #d9dad7;
  border-radius: 10px;
  color: #f4f4f5;
  background: linear-gradient(155deg, #1a1a1c, #0a0a0b 72%);
  box-shadow: 0 15px 24px rgba(0,0,0,.28), inset 0 0 0 1px rgba(200,200,204,.2);
  transform: translateX(-50%);
  filter: none;
}
.director-front-desk .director-imac::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 100%;
  left: 50%;
  width: 14px;
  height: 16px;
  margin: 0;
  border: 0;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, #b8b9b6, #ececeb 48%, #aeadab);
  box-shadow: none;
  transform: translateX(-50%);
  pointer-events: none;
}
.director-front-desk .director-imac::after,
.director-welcome-desk .welcome-monitor::after,
.director-counter .ai-reception-monitor::after {
  /* Remove the floating foot bar under the screen. */
  content: none !important;
  display: none !important;
}
.director-front-desk .director-keyboard,
.director-front-desk .welcome-keyboard,
.director-keyboard,
.welcome-keyboard {
  display: none !important;
}

/* Welcome: employee beside a correctly mounted monitor. */
.director-welcome-desk {
  left: 25%;
  bottom: 24%;
  width: 380px;
  height: 136px;
  border-radius: 16px 16px 20px 20px;
}
.director-welcome-desk .welcome-monitor {
  right: auto;
  left: 62%;
  top: -118px;
  width: 154px;
  height: 92px;
  padding: 13px 14px;
  display: grid;
  gap: 5px;
  align-content: center;
  color: #fff;
  font-style: normal;
  transform: translateX(-50%);
}
.director-welcome-desk .welcome-monitor::before {
  content: "";
  top: 100%;
  left: 50%;
  width: 14px;
  height: 16px;
  bottom: auto;
  background: linear-gradient(90deg, #b8b9b6, #ececeb 48%, #aeadab);
  box-shadow: none;
  transform: translateX(-50%);
}
.director-welcome-desk .welcome-monitor::after {
  content: none !important;
  display: none !important;
}
.welcome-monitor small { color:#c8c8ca; font:7px var(--font-apple-mono); }
.welcome-monitor strong { color:#fff; font-size:12px; }
.welcome-monitor em { color:#b8b8ba; font-size:8px; font-style:normal; }
.director-welcome-desk .welcome-keyboard { display: none !important; }
.director-person.greeter { left: 18%; bottom: 32%; z-index: 7; }
.director-person.arriving { right: 20%; bottom: 31%; }
.welcome-label { left: 56%; top: 45%; }

/* AI reception: dark screen stays dark; loading lives inside the panel. */
.director-counter {
  left: 24%;
  bottom: 25%;
  width: 380px;
  height: 136px;
  border-radius: 16px 16px 20px 20px;
}
.director-counter .ai-reception-monitor {
  left: 50%;
  top: -118px;
  padding: 12px 13px 18px;
  display: grid;
  gap: 5px;
  align-content: center;
  color: #fff;
  font-style: normal;
  background:
    linear-gradient(90deg, rgba(200,200,204,.55), rgba(200,200,204,.12)) bottom 9px left 12px / 0% 3px no-repeat,
    linear-gradient(155deg, #1a1a1c, #0a0a0b 72%);
}
.ai-reception-monitor small { color:#c8c8ca; font:7px var(--font-apple-mono); }
.ai-reception-monitor strong { font-size:12px; }
.ai-reception-monitor em { color:#b0b0b2; font-size:8px; font-style:normal; }
.director-counter .ai-reception-monitor::before,
.director-counter .ai-reception-monitor::after {
  /* Keep unified stem/foot; do not repurpose ::after as an off-screen loader. */
  box-shadow: 0 2px 4px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.7);
}
.director-counter .ai-reception-monitor::before {
  box-shadow: none;
}
.director-message-thread { top: 17%; right: 11%; }
.director-duty-status { left: 17%; top: 24%; }
.reception-label { right: 29%; top: 51%; }
.store-story[data-cinema-scene="reception"] .director-keyboard,
.store-story[data-cinema-scene="reception"] .director-keyboard::after {
  display: none !important;
  animation: none !important;
}

/* Consultation: spoken explanation and AI analysis are visibly active. */
.director-oil-console { left: 36%; bottom: 28%; transform: none; }
.director-person.consultant { left: 24%; bottom: 33%; }
.director-person.consult-guest { right: 21%; bottom: 33%; }
.consult-speech-wave {
  position: absolute;
  z-index: 11;
  left: 25%;
  top: 33%;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 132px;
  padding: 8px 10px;
  border: 1px solid rgba(112,189,255,.46);
  border-radius: 999px;
  color: #d9eeff;
  background: rgba(0,70,145,.54);
  box-shadow: 0 12px 28px rgba(0,70,145,.2);
  backdrop-filter: blur(12px);
}
.consult-speech-wave small { margin-right:4px; font-size:7px; white-space:nowrap; }
.consult-speech-wave i {
  position: static;
  width: 3px;
  height: 8px;
  border-radius: 4px;
  background: #75c5ff;
  animation: consultation-wave .72s ease-in-out infinite alternate;
}
.consult-speech-wave i:nth-of-type(2) { animation-delay:-.18s; }
.consult-speech-wave i:nth-of-type(3) { animation-delay:-.42s; }
.consult-speech-wave i:nth-of-type(4) { animation-delay:-.09s; }
.consult-speech-wave i:nth-of-type(5) { animation-delay:-.31s; }
.consult-speech-wave em { margin-left:4px; color:#60eba3; font-size:7px; font-style:normal; white-space:nowrap; }
.director-qa-panel {
  top: 15%;
  right: 9%;
  overflow: hidden;
}
.director-qa-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  width: 64px;
  background: linear-gradient(90deg,transparent,rgba(89,180,255,.22),transparent);
  transform: skewX(-12deg);
  animation: qa-analysis-scan 2.4s ease-in-out infinite;
}
.director-qa-panel > * { position: relative; z-index: 1; }
.qa-checklist b { animation: qa-evidence-pulse 2.4s ease-in-out infinite; }
.qa-checklist b:nth-child(2) { animation-delay:.24s; }
.qa-checklist b:nth-child(3) { animation-delay:.48s; }

/* Inspection: a readable side-view bed inside a defined room volume. */
.director-room-set {
  left: 24%;
  top: 19%;
  width: 540px;
  height: 332px;
}
.director-room-set .room-back-wall {
  width: 74%;
  height: 67%;
}
.director-room-set .room-side-wall { width: 26.5%; }
.director-room-set .room-floor-plane {
  height: 42%;
  clip-path: polygon(0 0,74% 0,100% 22%,100% 100%,0 100%);
}
.director-room-set .director-bed.room-check {
  left: 13%;
  bottom: 11%;
  width: 360px;
  height: 90px;
  overflow: visible;
  border: 1px solid rgba(58,60,59,.35);
  border-radius: 10px 10px 13px 13px;
  clip-path: none;
  background: linear-gradient(180deg,#c8c9c5 0 18%,#8b8d8a 19% 100%);
  box-shadow: 0 24px 34px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.4);
}
.director-room-set .director-bed.room-check::before {
  z-index: 1;
  top: -46px;
  right: 8px;
  left: 9px;
  height: 72px;
  border: 1px solid rgba(110,112,110,.3);
  border-radius: 13px;
  clip-path: polygon(4% 8%,96% 0,100% 88%,0 100%);
  background: linear-gradient(160deg,#fff 0 55%,#dddeda 100%);
  box-shadow: 0 8px 12px rgba(0,0,0,.16), inset 0 5px rgba(255,255,255,.7);
}
.director-room-set .director-bed.room-check::after {
  z-index: 1;
  right: 28px;
  bottom: 15px;
  left: 28px;
  height: 10px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg,#dadbd7 0 50px,#f4f4f1 50px 100px);
}
.director-room-set .bed-pillow,
.director-room-set .bed-blanket,
.director-room-set .bed-runner,
.director-room-set .bed-towels,
.director-room-set .bed-robe,
.director-room-set .bed-slippers { z-index: 4; transform: none; }
.director-room-set .bed-pillow { top:-35px; width:72px; height:25px; }
.director-room-set .bed-pillow.one { left:38px; }
.director-room-set .bed-pillow.two { left:116px; }
.director-room-set .bed-blanket {
  top:-5px;
  right:35px;
  bottom:45px;
  left:30px;
  height:28px;
  border-radius:5px;
  background:linear-gradient(180deg,#edeeea,#d3d4cf);
}
.director-room-set .bed-runner { right:36px; bottom:28px; left:36px; height:14px; }
.director-room-set .bed-towels { top:20px; right:42px; width:48px; height:28px; }
.director-room-set .bed-robe,
.director-room-set .bed-slippers { display: none !important; }
.director-person.inspector { right: 11%; bottom: 23%; }
.director-inspection-phone { right: 19%; bottom: 37%; }
.director-scan-box {
  left: 36%;
  right: auto;
  top: auto;
  bottom: 30%;
  width: 210px;
  height: 92px;
}
.room-label { display: none !important; }

/* Tea counter: top plane covers the front shell without exposed corners. */
.director-tea-station,
.store-story[data-cinema-phase="1"] .director-tea-station,
.store-story[data-cinema-phase="2"] .director-tea-station,
.store-story[data-cinema-phase="3"] .director-tea-station,
.store-story[data-cinema-phase="4"] .director-tea-station,
.store-story[data-cinema-phase="5"] .director-tea-station {
  left: 27%;
  bottom: 27%;
  width: 470px;
  height: 190px;
  translate: 0 0 !important;
}
.tea-backsplash { left:42px; right:42px; top:0; height:57px; }
.tea-tabletop {
  z-index: 5;
  top: 46px;
  right: 0;
  left: 0;
  height: 47px;
  overflow: visible;
  border-radius: 9px 9px 7px 7px;
  clip-path: polygon(5% 0,95% 0,100% 86%,97% 100%,3% 100%,0 86%);
  background: linear-gradient(165deg,#fff 0,#dedfda 57%,#a5a6a2 100%);
  box-shadow: 0 12px 20px rgba(0,0,0,.25), inset 0 1px #fff;
}
.tea-front {
  z-index: 3;
  top: 83px;
  right: 18px;
  left: 18px;
  height: 101px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 0 0 16px 16px;
  background: linear-gradient(90deg,#8e908e,#d5d5d0 48%,#929390);
  box-shadow: 0 21px 30px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.44);
}
.tea-front::before {
  content: "REQUIET";
  position:absolute;
  left:50%;
  bottom:20px;
  color:rgba(77,78,76,.42);
  font:700 8px var(--font-apple-mono);
  letter-spacing:.16em;
  transform:translateX(-50%);
}
.tea-tray { left:107px; bottom:14px; }
.director-person.barista { right: 16%; bottom: 27%; }
.tea-label { left:44%; top:39%; }

/* Settlement shares the counter scale and moves people onto one floor line. */
.director-checkout-desk {
  left: 29%;
  bottom: 22%;
  width: 380px;
  height: 136px;
}
.director-checkout-desk .checkout-top {
  z-index: 4;
  top: -13px;
  right: -7px;
  left: -7px;
  height: 25px;
  border-radius: 12px;
}
.director-checkout-desk .checkout-front {
  top: 10px;
  right: 0;
  left: 0;
  height: 124px;
  border-radius: 0 0 19px 19px;
}
.director-person.cashier { left: 35%; bottom: 34%; z-index:4; }
.director-person.paying { right: 16%; bottom: 21%; z-index:7; scale:1.08; transform-origin:center bottom; }
.guest-phone { right: 35%; bottom: 34%; }
.director-checkout-desk .director-qr { left:68px; top:-59px; }
.director-shot[data-shot="payment"] .director-qr,
.director-shot[data-shot="payment"] .guest-phone,
.director-qr,
.guest-phone {
  display: none !important;
}
.checkout-terminal { right:56px; top:-43px; }
.payment-label { left:49%; top:45%; }

/* Lift the remaining shots to the same visual horizon. */
.director-shot[data-shot="farewell"] .director-person.host,
.director-shot[data-shot="farewell"] .director-person.leaving { bottom: 24%; }
.director-shot[data-shot="manager"] .director-person.manager { bottom: 22%; }

@keyframes ai-monitor-breathe {
  0%,100% { box-shadow:0 15px 24px rgba(0,0,0,.28), inset 0 0 0 1px rgba(200,200,204,.2); }
  50% { box-shadow:0 15px 28px rgba(0,0,0,.34), inset 0 0 0 2px rgba(210,210,214,.4), 0 0 16px rgba(170,170,174,.16); }
}
@keyframes ai-screen-load {
  0%, 12% {
    background-size: 0% 3px, auto;
  }
  45%, 70% {
    background-size: 72% 3px, auto;
  }
  100% {
    background-size: 88% 3px, auto;
  }
}
@keyframes ai-keyboard-run {
  from { opacity:.28; transform:translateX(-2px); }
  to { opacity:.76; transform:translateX(2px); }
}
@keyframes consultation-wave {
  from { height:6px; opacity:.52; }
  to { height:20px; opacity:1; }
}
@keyframes qa-analysis-scan {
  0% { left:-42%; opacity:0; }
  18% { opacity:1; }
  80% { opacity:1; }
  100% { left:112%; opacity:0; }
}
@keyframes qa-evidence-pulse {
  0%,45%,100% { border-color:rgba(120,198,255,.28); background:rgba(79,156,230,.1); }
  62% { border-color:rgba(101,209,255,.76); background:rgba(65,160,235,.28); }
}

@media (max-width: 820px) {
  .director-welcome-desk { left:8%; bottom:31%; transform:scale(.65); transform-origin:left bottom; }
  .director-person.greeter { left:8%; bottom:34%; transform:scale(.58)!important; }
  .director-person.arriving { right:6%; bottom:32%; transform:scale(.58)!important; }
  .director-counter { left:7%; bottom:31%; transform:scale(.64); transform-origin:left bottom; }
  .director-message-thread { top:21%; right:3%; transform:scale(.72); transform-origin:top right; }
  .director-duty-status { left:4%; top:22%; transform:scale(.72); transform-origin:top left; }
  .director-oil-console { left:8%; bottom:32%; transform:scale(.68); transform-origin:left bottom; }
  .director-person.consultant { left:5%; bottom:34%; }
  .director-person.consult-guest { right:3%; bottom:33%; }
  .consult-speech-wave { left:5%; top:29%; transform:scale(.74); transform-origin:left top; }
  .director-qa-panel { top:21%; right:3%; transform:scale(.72); transform-origin:top right; }
  .director-room-set { left:7%; top:25%; transform:scale(.66); transform-origin:left top; }
  .director-person.inspector { right:5%; bottom:34%; }
  .director-inspection-phone { right:14%; bottom:44%; }
  .director-scan-box { right:3%; left:auto; top:22%; transform:scale(.74); transform-origin:right top; }
  .director-tea-station { left:7%; bottom:31%; transform:scale(.66); transform-origin:left bottom; }
  .director-person.barista { right:5%; bottom:35%; }
  .director-checkout-desk { left:7%; bottom:31%; transform:scale(.65); transform-origin:left bottom; }
  .director-person.cashier { left:18%; bottom:39%; }
  .director-person.paying { right:2%; bottom:32%; scale:1; }
  .guest-phone { right:25%; bottom:43%; transform:scale(.74) rotate(-7deg); }
}

@media (max-width: 560px) {
  .director-welcome-desk { left:2%; bottom:30%; transform:scale(.48); }
  .director-person.greeter { left:3%; bottom:32%; transform:scale(.52)!important; }
  .director-person.arriving { right:-1%; bottom:30%; transform:scale(.52)!important; }
  .director-counter { left:1%; bottom:30%; transform:scale(.47); }
  .director-message-thread { top:25%; right:1%; transform:scale(.58); }
  .director-duty-status { left:2%; top:22%; transform:scale(.6); }
  .director-oil-console { left:1%; bottom:31%; transform:scale(.49); }
  .director-person.consultant { left:1%; bottom:31%; transform:scale(.52)!important; }
  .director-person.consult-guest { right:-2%; bottom:30%; transform:scale(.52)!important; }
  .consult-speech-wave { left:2%; top:27%; transform:scale(.58); }
  .director-qa-panel { top:23%; right:1%; transform:scale(.6); }
  .director-room-set { left:-5%; top:27%; transform:scale(.49); }
  .director-person.inspector { right:0; bottom:31%; transform:scale(.52)!important; }
  .director-inspection-phone { right:12%; bottom:38%; transform:scale(.52) rotate(-5deg); }
  .director-scan-box { right:1%; left:auto; top:23%; transform:scale(.62); transform-origin:right top; }
  .director-tea-station { left:-3%; bottom:30%; transform:scale(.49); }
  .director-person.barista { right:0; bottom:32%; transform:scale(.52)!important; }
  .director-checkout-desk { left:0; bottom:29%; transform:scale(.48); }
  .director-person.cashier { left:9%; bottom:35%; transform:scale(.52)!important; }
  .director-person.paying { right:-2%; bottom:30%; transform:scale(.52)!important; }
  .guest-phone { right:24%; bottom:39%; transform:scale(.54) rotate(-7deg); }
}

/* —— Cinema polish: stand / inspection bed / aroma bar —— */

/* Restore iMac stem + foot (was wrongly cleared via ::after { content:none }). */
.director-front-desk .director-imac,
.director-welcome-desk .welcome-monitor,
.director-counter .ai-reception-monitor {
  overflow: visible;
}

.director-front-desk .director-imac::before,
.director-welcome-desk .welcome-monitor::before,
.director-counter .ai-reception-monitor::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  z-index: 0;
  top: 100%;
  left: 50%;
  width: 15px;
  height: 18px;
  margin: 0;
  border: 0;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #a8a9a6, #efefed 46%, #9c9d9a);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.55);
  transform: translateX(-50%);
  pointer-events: none;
}

.director-front-desk .director-imac::after,
.director-welcome-desk .welcome-monitor::after,
.director-counter .ai-reception-monitor::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  z-index: 0;
  top: calc(100% + 16px);
  left: 50%;
  width: 58px;
  height: 11px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #ececeb 0%, #b4b5b2 55%, #8f908d 100%);
  box-shadow:
    0 5px 10px rgba(0, 0, 0, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.65);
  transform: translateX(-50%);
  pointer-events: none;
  animation: none !important;
}

/* Inspection bed: clean mattress silhouette, only two towels. */
.director-room-set .director-bed.room-check {
  left: 16%;
  bottom: 10%;
  width: 380px;
  height: 118px;
  overflow: visible;
  border: 1px solid rgba(70, 72, 70, 0.28);
  border-radius: 18px 18px 14px 14px;
  clip-path: none;
  background:
    linear-gradient(180deg, #f7f7f4 0 22px, #d2d3ce 22px 100%);
  box-shadow:
    0 24px 36px rgba(0, 0, 0, 0.26),
    inset 0 10px 0 rgba(255, 255, 255, 0.78),
    inset 0 -16px 0 rgba(110, 112, 108, 0.18);
  transform: none;
  z-index: 8;
}

.director-room-set .director-bed.room-check::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 18px;
  right: 18px;
  height: 56px;
  border: 0;
  border-radius: 10px;
  clip-path: none;
  background: linear-gradient(180deg, #ffffff 0%, #e8e9e4 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.9);
}

.director-room-set .director-bed.room-check::after {
  content: none !important;
  display: none !important;
}

.director-room-set .bed-pillow,
.director-room-set .bed-blanket,
.director-room-set .bed-runner,
.director-room-set .bed-towels,
.director-room-set .bed-robe,
.director-room-set .bed-slippers {
  display: none !important;
}

.director-room-set .bed-towel {
  position: absolute;
  z-index: 4;
  top: 28px;
  width: 72px;
  height: 28px;
  border: 1px solid rgba(180, 180, 175, 0.45);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #ecece8 100%);
  box-shadow:
    inset 0 -8px 0 #e2e2dd,
    0 4px 8px rgba(0, 0, 0, 0.12);
}

.director-room-set .bed-towel.one {
  left: 92px;
}

.director-room-set .bed-towel.two {
  left: 188px;
}

.director-room-set::after {
  content: "房间 03 · 毛巾 2 份已核对";
  left: 16%;
  bottom: 2%;
}

/* Aroma bar: finer console, centered label. */
.director-oil-console {
  left: 36%;
  bottom: 26%;
  width: 360px;
  height: 168px;
}

.director-oil-console::before {
  top: 46px;
  left: 22px;
  width: 316px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px 14px 8px 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 42%),
    linear-gradient(180deg, #f8f8f5 0%, #c6c6c1 100%);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px #fff,
    inset 0 -1px rgba(0, 0, 0, 0.06);
}

.director-oil-console::after {
  top: 90px;
  left: 34px;
  width: 292px;
  height: 68px;
  border-radius: 0 0 16px 16px;
  background:
    linear-gradient(90deg, transparent 8%, rgba(255, 255, 255, 0.22) 48%, transparent 92%),
    linear-gradient(90deg, #7e7f7b, #d5d5d0 48%, #7a7b77);
  box-shadow:
    0 26px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.28);
}

.director-oil-console > small {
  left: 50%;
  bottom: 22px;
  width: max-content;
  color: #555552;
  font: 700 9px/1 var(--font-apple-mono);
  letter-spacing: 0.22em;
  transform: translateX(-50%);
  text-align: center;
}

.oil-bottle {
  bottom: 88px;
  width: 32px;
  height: 52px;
  border-radius: 9px 9px 6px 6px;
  background: linear-gradient(90deg, #1a1a1a, #6e6e6e 48%, #151515);
  box-shadow:
    0 14px 22px rgba(0, 0, 0, 0.26),
    inset 1px 0 rgba(255, 255, 255, 0.18);
}

.oil-bottle::before {
  top: -12px;
  left: 8px;
  width: 16px;
  height: 12px;
  border-radius: 3px 3px 2px 2px;
  background: linear-gradient(180deg, #2a2a2a, #111);
}

.oil-bottle::after {
  inset: 14px 5px 9px;
  border-radius: 3px;
  background: linear-gradient(180deg, #f4f4f0, #e4e4df);
}

.oil-bottle.lavender { left: 88px; }
.oil-bottle.cedar { left: 164px; height: 60px; }
.oil-bottle.citrus { left: 240px; }

.oil-bottle b {
  top: 58px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* —— Cinema polish 2: door label / AI camera / capsule inset —— */

.director-door > i,
.director-door i {
  display: none !important;
}

.director-camera small {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 78px;
  padding: 5px 9px 5px 8px;
  overflow: hidden;
}

.director-camera small::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: transparent;
  background: #44e58f;
  box-shadow: 0 0 0 0 rgba(68, 229, 143, 0.55);
  animation: director-ai-analyze-dot 1.35s ease-out infinite !important;
}

.director-camera small::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: director-ai-analyze-sweep 1.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes director-ai-analyze-dot {
  0% { box-shadow: 0 0 0 0 rgba(68, 229, 143, 0.55); opacity: 1; }
  70% { box-shadow: 0 0 0 8px rgba(68, 229, 143, 0); opacity: 0.85; }
  100% { box-shadow: 0 0 0 0 rgba(68, 229, 143, 0); opacity: 1; }
}

@keyframes director-ai-analyze-sweep {
  0% { transform: translateX(0); opacity: 0; }
  18% { opacity: 0.9; }
  55% { transform: translateX(280%); opacity: 0.7; }
  100% { transform: translateX(320%); opacity: 0; }
}

.store-story {
  padding-bottom: 22px;
}

.store-story-viewport {
  height: auto;
  min-height: 74px;
  margin: 12px auto 18px;
  padding: 14px 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.store-story-points {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  width: 100%;
  margin: 0;
  inset: auto;
}

@media (max-width: 820px) {
  .store-story {
    padding-bottom: 16px;
  }

  .store-story-viewport {
    margin-top: 10px;
    margin-bottom: 14px;
    padding: 10px;
  }

  .store-story-points {
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }
}
