.product-studio {
  width: 100%;
  max-width: 470px;
  justify-self: center;
  overflow: hidden;
  border: 1px solid #41464a;
  border-radius: 9px;
  background: #101316;
  box-shadow: 0 16px 38px #0003;
}
.studio-scene {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1122 / 1402;
  background: #303438 url("/assets/studio-booth.webp") center / 100% 100% no-repeat;
}
.studio-topline {
  position: absolute;
  z-index: 3;
  inset: 14px 16px auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  direction: ltr;
  pointer-events: none;
  color: #f0f3f5;
  font:
    italic 700 0.8rem/1.4 "Barlow Condensed",
    sans-serif;
  letter-spacing: 1.6px;
  text-shadow: 0 1px 5px #000;
}
.studio-topline .studio-capacity {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.studio-capacity::before {
  content: "";
  width: 12px;
  height: 2px;
  background: var(--blue);
}
.studio-angle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}
.studio-angle .icon {
  width: 18px;
  height: 18px;
}
.studio-shadow {
  position: absolute;
  left: 50.13%;
  top: 82.78%;
  width: 36%;
  height: 2.15%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, #050609e0 0%, #07070ab3 39%, #06080b42 62%, transparent 76%);
}
.studio-slot {
  position: absolute;
  inset: 5.2% 1% 16.25%;
  margin-left: 0.26%;
}
.studio-slot > canvas,
.studio-slot > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.studio-slot > img[hidden] {
  display: none;
}
.studio-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-top: 1px solid #454a4f;
  background: #161a1f;
}
.studio-switch {
  display: flex;
  gap: 2px;
  border: 1px solid #404750;
  background: #0e1115;
  border-radius: 5px;
  padding: 3px;
}
.studio-switch button {
  background: transparent;
  border: 0;
  border-radius: 3px;
  min-height: 35px;
  padding: 4px 12px;
  color: #c4cbd2;
  font-size: 0.86rem;
  white-space: nowrap;
}
.studio-switch button[aria-pressed="true"] {
  color: #15191c;
  background: #eff2f4;
  font-weight: 720;
}
.studio-read,
.reader-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #b7e7ff;
  min-height: 40px;
  padding: 4px;
  font-weight: 600;
  font-size: 0.88rem;
}
.studio-read:hover {
  color: #fff;
}
.studio-read .icon {
  width: 18px;
  height: 18px;
}
.studio-a11y {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.label-reader {
  width: min(94vw, 670px);
  max-width: none;
  max-height: 92dvh;
  padding: 0;
  border: 1px solid #4a515b;
  border-radius: 10px;
  background: #11151a;
  color: var(--ink);
  overflow: hidden;
}
.label-reader[open] {
  display: flex;
  flex-direction: column;
}
.label-reader::backdrop {
  background: #030609dd;
  backdrop-filter: blur(7px);
}
html:has(.label-reader[open]) {
  overflow: hidden;
}
.reader-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  padding: 12px 19px;
  gap: 12px;
  background: #171b20;
  border-bottom: 1px solid #3a4048;
}
.reader-head h2 {
  font-size: clamp(20px, 2.8vw, 27px);
  letter-spacing: -0.025em;
}
.reader-close {
  width: 56px;
  height: 56px;
  flex: none;
  color: #e6eaef;
  background: #222930;
  border: 1px solid #4c535d;
  border-radius: 50%;
}
.reader-close .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}
.reader-close:hover {
  background: #2b323a;
}
.reader-sheet {
  direction: ltr;
  overflow: auto;
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-color: #606a74 #12151a;
  background: radial-gradient(ellipse at 50% 40%, #31363a, #1a1e22 75%);
}
.reader-sheet:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
.reader-dose {
  direction: rtl;
  padding: 12px 18px;
  margin: 0;
  background: #171d23;
  color: #d7dfe7;
  font-size: .87rem;
  line-height: 1.8;
}
.reader-plate {
  display: block;
  margin: 14px auto;
  width: min(calc(100% - 24px), 540px, 45dvh);
  max-width: none;
  height: auto;
  border-radius: 7px;
  box-shadow: 0 5px 16px #0007;
}
@media (max-width: 740px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .product-studio {
    max-width: 420px;
  }
}
@media (max-width: 430px) {
  .studio-controls {
    padding: 9px 10px;
    gap: 6px;
  }
  .studio-switch button {
    padding: 4px 9px;
  }
  .studio-read {
    font-size: 0.81rem;
  }
  .studio-topline {
    inset: 11px 12px auto;
  }
  .reader-head {
    padding: 9px 12px;
  }
  .label-reader {
    width: calc(100vw - 12px);
    max-height: 95dvh;
  }
  .reader-plate {
    width: min(calc(100% - 12px), 47dvh);
    margin-block: 9px;
  }
}
