/* Barkay "View in your room" viewer — scoped styles (v- prefix). */
.v-sect { padding-top: clamp(26px, 4.5vw, 52px); }
.v-app { --v-r: 18px; max-width: 1060px; margin: 0 auto; }
.v-stage {
  position: relative; background: #10181d; border-radius: var(--v-r);
  overflow: hidden; height: clamp(380px, 62vh, 660px);
  box-shadow: 0 18px 50px rgba(16, 24, 29, .18); user-select: none; -webkit-user-select: none;
}
.v-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.v-outline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.v-outline polygon { fill: rgba(239, 129, 22, .10); stroke: rgba(255, 255, 255, .92); stroke-width: 2; stroke-dasharray: 7 7; stroke-linejoin: round; }
.v-noguides .v-outline, .v-noguides .v-handles { display: none; }
.v-video { position: absolute; width: 2px; height: 2px; opacity: .01; pointer-events: none; top: 0; left: 0; }
.v-handles { position: absolute; inset: 0; pointer-events: none; }
.v-handle {
  position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border: 0; background: transparent; padding: 0; touch-action: none; pointer-events: auto; cursor: grab;
}
.v-handle::after {
  content: ""; position: absolute; inset: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--tangerine, #EF8116); box-shadow: 0 2px 10px rgba(0, 0, 0, .4);
  transition: transform .15s ease;
}
.v-handle.drag::after { transform: scale(1.18); }
.v-topline { position: absolute; top: 12px; inset-inline: 12px; display: flex; gap: 8px; align-items: center; pointer-events: none; }
.v-badge {
  font: 600 12px/1 inherit; letter-spacing: .02em; color: #fff; background: rgba(14, 22, 27, .62);
  padding: 8px 12px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  white-space: nowrap; max-width: 75vw; overflow: hidden; text-overflow: ellipsis;
}
.v-badge b { font-weight: 800; }
.v-badge-mode { margin-inline-start: auto; text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; }
.v-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center; text-align: center; color: #e9eef1;
  padding: 24px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(10, 16, 20, .66) 0%, rgba(10, 16, 20, .28) 55%, rgba(10, 16, 20, 0) 82%);
}
.v-empty .v-empty-ico { width: 54px; height: 54px; opacity: .9; }
.v-empty h3 { font: 700 clamp(17px, 2.6vw, 22px)/1.25 inherit; margin: 0; }
.v-empty p { font-size: 13.5px; line-height: 1.5; opacity: .78; margin: 0; max-width: 400px; }
.v-msg {
  position: absolute; bottom: 14px; inset-inline: 0; margin: 0 auto; width: fit-content;
  background: rgba(20, 28, 33, .85); color: #fff; font-size: 12.5px; padding: 9px 14px; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; pointer-events: none; max-width: 86%;
}
.v-msg.show { opacity: 1; transform: none; }
.v-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.v-tabs { display: flex; gap: 6px; background: rgba(27, 62, 79, .08); border-radius: 999px; padding: 5px; }
.v-tab {
  border: 0; background: transparent; font: 600 13px/1 inherit; color: inherit; padding: 10px 18px;
  border-radius: 999px; cursor: pointer; touch-action: manipulation;
}
.v-tab.active { background: var(--blue-deep, #1B3E4F); color: #fff; }
.v-bar .v-actions { margin-inline-start: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.v-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 2px; }
.v-filebtn { position: relative; overflow: hidden; cursor: pointer; }
.v-filebtn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 200px; }
.v-sliders { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-inline-start: auto; }
.v-sliders label { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; color: inherit; white-space: nowrap; }
.v-sliders input[type="range"] { width: clamp(90px, 16vw, 150px); accent-color: var(--tangerine, #EF8116); }
.v-sliders output { font-variant-numeric: tabular-nums; min-width: 44px; text-align: end; opacity: .8; }
.v-hint { font-size: 13px; line-height: 1.5; opacity: .72; margin: 10px 0 0; }
.v-stripwrap { position: relative; margin-top: 14px; }
.v-strip { display: flex; gap: 9px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.v-thumb {
  flex: 0 0 auto; width: 78px; border: 0; background: none; padding: 0; cursor: pointer; scroll-snap-align: start;
  border-radius: 12px; outline: 3px solid transparent; outline-offset: 2px; transition: outline-color .15s;
  touch-action: manipulation;
}
.v-thumb img { width: 100%; height: 56px; object-fit: cover; border-radius: 10px; display: block; box-shadow: 0 2px 8px rgba(16, 24, 29, .14); }
.v-thumb small { display: block; font-size: 10px; line-height: 1.3; margin-top: 5px; opacity: .75; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-thumb.active { outline-color: var(--tangerine, #EF8116); }
.v-thumb.active small { opacity: 1; font-weight: 700; }
.v-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.v-overlay { position: fixed; inset: auto 0 0 0; z-index: 2147483000; pointer-events: none; }
.v-overlay-inner {
  pointer-events: auto; padding: 12px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(10, 16, 20, 0) 0%, rgba(10, 16, 20, .8) 34%, rgba(10, 16, 20, .93) 100%);
}
.v-strip-ar { padding: 2px; }
.v-strip-ar .v-thumb { width: 62px; }
.v-strip-ar .v-thumb img { height: 44px; }
.v-strip-ar .v-thumb small { display: none; }
.v-overlay-hint { color: #fff; text-align: center; font-size: 12.5px; opacity: .88; margin: 8px 0 0; }
.v-arswitch { display: block; margin: 10px auto 0; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .55); color: #fff; font: 600 12.5px/1 inherit; padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.v-arswitch:active { background: rgba(255, 255, 255, .18); }
.v-arswitch.v-pulse { border-color: rgba(255, 255, 255, .9); animation: vpulse 1.6s ease-in-out infinite; }
@keyframes vpulse { 0%, 100% { background: rgba(255, 255, 255, .08); } 50% { background: rgba(255, 255, 255, .32); } }
.v-ardbg { font-size: 10.5px; opacity: .6; white-space: pre-line; }
[hidden] { display: none !important; }
@media (max-width: 640px) {
  .v-stage { height: clamp(340px, 56vh, 480px); border-radius: 14px; }
  .v-sliders { margin-inline-start: 0; width: 100%; justify-content: space-between; }
  .v-thumb { width: 68px; }
  .v-thumb img { height: 48px; }
  .v-tab { padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .v-handle::after, .v-msg, .v-thumb { transition: none; }
  .v-arswitch.v-pulse { animation: none; background: rgba(255, 255, 255, .25); }
}
