.canvas:has(#view-studio:not([hidden]) .studio-maker.is-look) {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#view-studio:has(.studio-maker.is-look),
#view-studio:has(.studio-maker.is-look) .shelf.studio {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
#view-studio:has(.studio-maker.is-look) .shelf-head { flex-shrink: 0; }
.look-pick {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}
.look-pick .pills {
  display: flex;
  flex-shrink: 0;
  gap: 0.35rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 0.1rem 0 0.45rem;
  touch-action: pan-x;
}
.look-pick .pills::-webkit-scrollbar { display: none; }
.look-pick .pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.14rem;
  min-width: 3.15rem;
  padding: 0.32rem 0.38rem 0.24rem;
  border: 1px solid var(--skin-border);
  border-radius: 0.7rem;
  background: var(--skin-surface);
  color: var(--skin-muted);
  position: relative;
}
.look-pick .pill svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.look-pick .pill span { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.02em; }
.look-pick .pill.is-on {
  border-color: var(--skin-accent);
  color: var(--skin-text);
  box-shadow: 0 0 0 1px var(--skin-accent);
}
.look-pick .pill .mark {
  display: none;
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 99px;
  background: var(--skin-accent);
  color: #fff;
  font-size: 0.55rem;
  line-height: 0.85rem;
  text-align: center;
}
.look-pick .pill.is-picked .mark { display: block; }
.look-pick .look-stage {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.look-pick .hero-wrap {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.look-pick .hero {
  flex: 1;
  min-height: 0;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--skin-border);
  background: var(--skin-surface);
}
.look-pick .hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--skin-surface);
}
.look-pick .look-chips {
  --look-thumb: 3.35rem;
  --look-gap: 0.35rem;
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: var(--look-gap);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  padding: 0.05rem 0;
  max-width: calc(7 * var(--look-thumb) + 6 * var(--look-gap));
}
.look-pick .look-chips::-webkit-scrollbar { height: 0; }
.look-pick .look-stage.is-free .look-chips { display: none; }
.look-pick .thumb {
  flex: 0 0 var(--look-thumb);
  width: var(--look-thumb);
  min-width: var(--look-thumb);
  height: var(--look-thumb);
  min-height: var(--look-thumb);
  border-radius: 0.65rem;
  border: 2px solid transparent;
  overflow: hidden;
  padding: 0;
  background: var(--skin-surface-2);
}
.look-pick .thumb.is-tall {
  flex-basis: 2.7rem;
  width: 2.7rem;
  min-width: 2.7rem;
  height: 3.55rem;
  min-height: 3.55rem;
}
.look-pick .look-chips:has(.thumb.is-tall) {
  --look-thumb: 2.7rem;
  max-width: calc(7 * 2.7rem + 6 * var(--look-gap));
}
.look-pick .thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
.look-pick .thumb.is-on { border-color: var(--skin-accent); }
.look-pick .hero.is-free { display: flex; align-items: stretch; flex: 0 0 auto; }
.look-pick .hero.is-free img { display: none; }
.look-pick .free-box { display: none; width: 100%; padding: 0.65rem 0.75rem; }
.look-pick .hero.is-free .free-box { display: block; }
.look-pick .free-box textarea {
  display: block;
  width: 100%;
  height: 4.4rem;
  resize: none;
  border: 0;
  background: transparent;
  color: var(--skin-text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
  outline: none;
}
.look-pick .free-ex {
  display: none;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  margin-top: 0.45rem;
  flex-direction: column;
  gap: 0.4rem;
}
.look-pick .free-ex.is-on { display: flex; }
.look-pick .free-ex button {
  width: 100%;
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  background: var(--skin-surface);
  border: 1px solid var(--skin-border);
  color: var(--skin-text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}
#maker-gen-status:empty { display: none; }
.look-prompt {
  margin: 0.4rem 0 0;
  max-height: 7.5rem;
  overflow: auto;
  padding: 0.5rem 0.6rem;
  border-radius: 0.65rem;
  border: 1px solid var(--skin-border);
  background: var(--skin-surface);
  color: var(--skin-muted);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}
.look-prompt[hidden] { display: none !important; }
.studio-maker.is-look .maker-look-flow { display: none; }
.studio-maker.is-look {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 0.35rem;
}
.studio-maker.is-look .maker-kicker { margin-bottom: 0.45rem; }
.studio-maker.is-look .maker-look-pane {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.studio-maker.is-look .maker-build {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.studio-maker.is-look .maker-look-dock { flex-shrink: 0; }
#maker-look-jump[hidden],
#maker-generate[hidden] { display: none !important; }
