/* 미디어아트 제작기 · 고객 화면 */
:root {
  /* 페이지마다 자기 회청색을 들고 있으면 브랜드가 갈라진다. 이름만
     남기고 값은 본 팔레트(styles.css)를 가리킨다. 규칙은 그대로 둔다. */
  --st-ink: var(--ink);
  --st-body: var(--muted);
  --st-gray: var(--deep);
  --st-blue: var(--glow);
  --st-pale: var(--petal);
  --st-line: var(--edge);
}

.st-page {
  margin: 0;
  background: var(--void);
  color: var(--st-ink);
  font-family: var(--font, "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", system-ui, sans-serif);
}

.st-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 28px; border-bottom: 1px solid var(--st-line);
  position: sticky; top: 0; background: var(--surface);
  backdrop-filter: blur(6px); z-index: 5;
}
.st-brand strong { display: block; font-size: 1.02rem; }
.st-brand span { font-size: .82rem; color: var(--st-gray); }
.st-nav-tools { display: flex; gap: 16px; }
.st-nav-tools a { color: var(--st-blue); text-decoration: none; font-size: .92rem; font-weight: 600; }
.st-nav-tools a:hover { text-decoration: underline; }

.st-main { max-width: 1240px; margin: 0 auto; padding: 34px 28px 70px; }
.st-h1 { font-size: 2rem; font-weight: 800; margin: 0 0 10px; letter-spacing: -.01em; }
.st-lead { margin: 0 0 28px; color: var(--st-body); line-height: 1.68; max-width: 900px; }
.st-lead b { color: var(--st-ink); }

.st-grid { display: grid; grid-template-columns: 400px 1fr; gap: 26px; align-items: start; }
@media (max-width: 940px) {
  .st-grid { grid-template-columns: 1fr; }
  /* 한 줄로 쌓이면 규격 고르는 폼이 먼저 나온다. 보여 주는 것이 본론인데
     폼부터 내밀면 다시 "당신이 정하세요"가 된다. 고를 것을 먼저 올린다. */
  .st-result { order: -1; }
}

.st-panelbox { background: var(--st-pale); border-radius: 12px; padding: 22px; }
.st-label { display: block; font-weight: 700; font-size: .93rem; margin: 18px 0 8px; }
.st-label:first-child { margin-top: 0; }
.st-panelbox textarea, .st-panelbox select, .st-panelbox input[type="number"] {
  width: 100%; box-sizing: border-box; border: 1px solid var(--edge); border-radius: 8px;
  padding: 10px 12px; font: inherit; background: var(--void); color: var(--st-ink);
}
.st-panelbox textarea { resize: vertical; line-height: 1.55; }

.st-examples { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.st-examples button {
  border: 1px solid var(--edge); background: var(--surface); color: var(--st-body);
  border-radius: 999px; padding: 5px 11px; font: inherit; font-size: .78rem;
  cursor: pointer; text-align: left; line-height: 1.3;
}
.st-examples button:hover { border-color: var(--st-blue); color: var(--st-blue); }

.st-size { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.st-size label:last-child { grid-column: 1 / -1; }
.st-size label { font-size: .82rem; color: var(--st-gray); display: flex; align-items: center; gap: 6px; }
.st-size input { flex: 1; }
.st-size input:disabled { background: var(--paper); color: var(--st-gray); }

.st-opts { display: grid; gap: 7px; }
.st-opts label { display: flex; align-items: center; gap: 8px; font-size: .89rem; color: var(--st-body); }
.st-opts span { margin-left: auto; font-size: .78rem; color: var(--st-gray); }

.st-go {
  width: 100%; margin-top: 20px; border: 0; border-radius: 10px;
  background: var(--st-blue); color: var(--void); font: inherit; font-weight: 700;
  font-size: 1rem; padding: 13px; cursor: pointer;
}
.st-go:hover { background: var(--glow); }
.st-go:disabled { background: var(--lift); cursor: default; }
.st-stat { margin: 12px 0 0; font-size: .8rem; color: var(--st-gray); line-height: 1.5; }

.st-stage {
  background: #0b0e13; border-radius: 12px; padding: 18px;
  display: flex; align-items: center; justify-content: center; min-height: 300px;
}
.st-stage canvas { display: block; border-radius: 4px; max-width: 100%; }

.st-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.st-chip {
  background: var(--petal); color: var(--st-blue); border-radius: 999px;
  padding: 4px 11px; font-size: .78rem; font-weight: 600;
}

.st-cuts-title { margin: 18px 0 8px; font-size: .88rem; font-weight: 700; color: var(--st-gray); }
.st-cuts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 620px) { .st-cuts { grid-template-columns: repeat(3, 1fr); } }
.st-cut { margin: 0; }
.st-cut img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; display: block; background: var(--paper); }
.st-cut figcaption { font-size: .72rem; color: var(--st-gray); margin-top: 4px; text-align: center; }

.st-bottom { display: grid; grid-template-columns: 400px 1fr; gap: 26px; margin-top: 30px; align-items: start; }
@media (max-width: 940px) { .st-bottom { grid-template-columns: 1fr; } }

.st-quote { background: var(--surface); color: var(--ink); border-radius: 12px; padding: 22px; }
.st-q-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(16, 32, 26, 0.108); font-size: .92rem; }
.st-q-row span { color: var(--faint); }
.st-q-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 6px; }
.st-q-total span { color: var(--faint); font-size: .92rem; }
.st-q-total b { font-size: 1.7rem; }
.st-q-note { margin: 14px 0 0; font-size: .74rem; color: var(--faint); line-height: 1.6; }

.st-order { background: var(--st-pale); border-radius: 12px; padding: 24px; }
.st-order h2 { margin: 0 0 10px; font-size: 1.2rem; }
.st-order p { margin: 0 0 12px; color: var(--st-body); line-height: 1.65; }
.st-order ul { margin: 0 0 18px; padding-left: 18px; color: var(--st-body); line-height: 1.8; font-size: .93rem; }
.st-order-btn {
  display: inline-block; background: var(--st-blue); color: var(--void); text-decoration: none;
  border-radius: 999px; padding: 11px 26px; font-weight: 700;
}
.st-order-btn:hover { background: var(--glow); }

.st-legal { margin: 26px 0 0; font-size: .78rem; color: var(--st-gray); line-height: 1.7; }

/* 견적서 받기 · 가입 없이 이메일만 남기는 자리 */
.st-form { margin: 4px 0 18px; }
.st-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
@media (max-width: 520px) { .st-form-row { grid-template-columns: 1fr; } }
.st-form label { display: block; font-size: .86rem; font-weight: 700; color: var(--st-ink); }
.st-form label span[aria-hidden] { color: var(--st-blue); }
.st-form input[type="text"], .st-form input[type="email"], .st-form input[type="tel"] {
  width: 100%; box-sizing: border-box; margin-top: 5px; border: 1px solid var(--edge);
  border-radius: 8px; padding: 10px 12px; font: inherit; background: var(--void); color: var(--st-ink);
}
.st-form input:focus-visible { outline: 2px solid var(--st-blue); outline-offset: 1px; }

.st-consent {
  display: flex; gap: 9px; align-items: flex-start; margin: 9px 0;
  font-weight: 400; font-size: .82rem; color: var(--st-body); line-height: 1.55;
}
.st-consent input { margin-top: 3px; flex: none; }
.st-consent b { color: var(--st-ink); }

.st-form button[type="submit"] { border: 0; cursor: pointer; font: inherit; font-weight: 700; margin-top: 8px; }
.st-form button[disabled] { background: var(--lift); cursor: default; }
.st-form-msg { margin: 10px 0 0; font-size: .84rem; line-height: 1.6; min-height: 1.2em; }
.st-form-msg[data-tone="ok"] { color: #4ade80; }
.st-form-msg[data-tone="err"] { color: #ff6b74; }
.st-form-alt { margin: 14px 0 0; font-size: .82rem; color: var(--st-gray); line-height: 1.65; }
.st-form-alt a { color: var(--st-blue); font-weight: 600; }

/* 작품 번호 · 시연본과 납품본을 잇는 유일한 값 */
.st-code { background: var(--st-pale); border-radius: 12px; padding: 18px 20px; }
.st-code-num {
  margin: 0; font-size: 1.9rem; font-weight: 800; letter-spacing: .06em;
  color: var(--st-blue); font-variant-numeric: tabular-nums;
}
.st-code-note { margin: 8px 0 0; font-size: .86rem; line-height: 1.6; color: var(--st-body); }
.st-code-note b { color: var(--st-ink); }
.st-code-sub { margin: 8px 0 0; font-size: .78rem; color: var(--st-gray); }

/* 방금 만든 화면들 · 좋은 것이 지나가 버리지 않게 */
.st-hist-wrap { margin-top: 20px; }
.st-hist { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.st-hist-item {
  flex: 0 0 auto; border: 2px solid transparent; background: none; padding: 0;
  border-radius: 8px; cursor: pointer; font: inherit; text-align: center;
}
.st-hist-item canvas {
  display: block; height: 74px; width: auto; border-radius: 6px; background: #0b0e13;
}
.st-hist-item span {
  display: block; margin-top: 4px; font-size: .66rem; letter-spacing: .04em;
  color: var(--st-gray); font-variant-numeric: tabular-nums;
}
.st-hist-item:hover { border-color: var(--edge); }
.st-hist-item.is-on { border-color: var(--st-blue); }
.st-hist-item.is-on span { color: var(--st-blue); font-weight: 700; }

/* 느낌 고르기 · 문장을 치지 않아도 계속 만들 수 있어야 한다 */
.st-help { margin: 0 0 10px; font-size: .8rem; color: var(--st-gray); line-height: 1.55; }
/* 10.88px는 손에 쥔 화면에서 읽기 어렵다. 11.5px로 올린다. */
.st-opt-tag {
  font-size: .72rem; font-weight: 600; color: var(--st-gray);
  border: 1px solid var(--edge); border-radius: 999px; padding: 1px 7px; margin-left: 4px;
}
.st-scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (max-width: 420px) { .st-scenes { grid-template-columns: repeat(2, 1fr); } }
.st-scene {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  border: 1px solid var(--edge); background: var(--void); color: var(--st-ink);
  border-radius: 9px; padding: 8px 10px; font: inherit; cursor: pointer; text-align: left;
  transition: border-color .15s ease, background .15s ease;
}
.st-scene b { font-size: .84rem; font-weight: 700; }
/* 10.56px는 손에 쥔 화면에서 읽기 어렵다. 11.5px로 올린다. */
.st-scene i { font-style: normal; font-size: .72rem; color: var(--st-gray); letter-spacing: .04em; }
.st-scene:hover { border-color: var(--st-blue); background: var(--paper); }
.st-scene.is-on { border-color: var(--st-blue); background: var(--paper); }
.st-scene.is-on b { color: var(--st-blue); }

.st-random {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 100%; margin-top: 8px; border: 1px dashed var(--edge); background: var(--surface);
  border-radius: 10px; padding: 11px; font: inherit; cursor: pointer; color: var(--st-blue);
}
.st-random b { font-size: .92rem; font-weight: 700; }
.st-random span { font-size: .72rem; color: var(--st-gray); }
.st-random:hover { background: var(--paper); border-color: var(--st-blue); }

/* 번호 복사 · 번호로 불러오기 */
.st-code-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.st-copy {
  flex: none; border: 1px solid var(--edge); background: var(--surface); color: var(--st-blue);
  border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .78rem;
  font-weight: 700; cursor: pointer;
}
.st-copy:hover { border-color: var(--st-blue); background: var(--paper); }

.st-load { margin-top: 18px; }
.st-load label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; }
.st-load-row { display: flex; gap: 6px; }
.st-load-row input {
  flex: 1; min-width: 0; border: 1px solid var(--edge); border-radius: 8px;
  padding: 9px 12px; font: inherit; background: var(--void); color: var(--st-ink);
  letter-spacing: .06em; text-transform: uppercase;
}
.st-load-row button {
  flex: none; border: 1px solid var(--st-blue); background: var(--st-blue); color: var(--void);
  border-radius: 8px; padding: 9px 16px; font: inherit; font-weight: 700; cursor: pointer;
}
.st-load-row button:hover { background: var(--petal); }
.st-load-msg { margin: 7px 0 0; font-size: .78rem; color: #ff6b74; min-height: 1em; }

/* ── 골라 보는 자리 ─────────────────────────────────────────
   적는 대신 고른다. 열두 장을 한눈에 놓고, 고른 것만 크게 움직인다. */
.st-pick {
  margin: 0 0 18px;
}

.st-pick-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.st-pick-head .st-cuts-title {
  margin: 0;
}

.st-pick-more {
  flex: none;
  padding: 7px 14px;
  border: 1px solid rgba(125, 178, 255, 0.28);
  border-radius: 999px;
  background: var(--surface);
  color: var(--glow);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.st-pick-more:hover {
  background: var(--paper);
  border-color: rgba(125, 178, 255, 0.5);
}

.st-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.st-wall-item {
  display: block;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #0b0f18;
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease;
}

/* 폭을 100%로 늘리면 세로로 긴 화면이 옆으로 퍼진다.
   제 비율을 지키면서 칸을 넘지만 않게 한다. */
.st-wall-item canvas {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.st-wall-item span {
  display: block;
  padding: 6px 8px 7px;
  background: #101725;
  color: #dbe4f6;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.st-wall-item:hover {
  border-color: rgba(125, 178, 255, 0.5);
  transform: translateY(-1px);
}

.st-wall-item.is-on {
  border-color: var(--edge-glow);
}

.st-wall-item.is-on span {
  background: var(--glow);
  color: var(--void);
}

/* 적는 자리는 접어 둔다. 열어야 보이는 것이 곧 "안 하셔도 됩니다"라는 뜻이다. */
.st-more {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(125, 178, 255, 0.22);
}

.st-more > summary {
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  list-style: none;
}

.st-more > summary::-webkit-details-marker { display: none; }

.st-more > summary::before {
  content: "+ ";
  color: var(--glow);
  font-weight: 800;
}

.st-more[open] > summary::before { content: "− "; }

.st-more > summary:hover { color: var(--glow); }

@media (max-width: 900px) {
  .st-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .st-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-pick-head { flex-wrap: wrap; }
}

/* ── 손전화 벽: 정사각 칸 ──────────────────────────────────────
   칸을 그림 비율대로 두면 16:9 는 납작하고 1:6 은 길쭉해서, 두 줄로
   놓아도 한 화면에 몇 장 안 들어온다. 고객이 뽑다가 지친다.
   칸은 전부 정사각으로 고정하고 그림은 그 안에 통째로 들어간다
   (object-fit: contain). 그림 비율은 그대로라 고른 뒤 보는 큰 화면과
   어긋나지 않는다. 열두 장이 여섯 줄, 두어 화면이면 다 본다. */
@media (max-width: 640px) {
  .st-wall { gap: 6px; }
  .st-wall-cell { aspect-ratio: 1 / 1; min-width: 0; }
  .st-wall-item {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    border-radius: 8px;
  }
  .st-wall-item canvas {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    margin: 0;
  }
  /* 정사각에 가까운 그림은 칸을 가득 채운다. 큰 화면에서는 온전히 본다. */
  .st-wall-cell[data-fit="cover"] .st-wall-item canvas {
    object-fit: cover;
    /* 잘라낼 때 오른쪽을 남긴다. 오른쪽 아래 도장(Artwork)이
       반 토막 나면 실수처럼 보인다. 왼쪽 아래 "시연본" 글씨는 잘려도 된다. */
    object-position: 100% 50%;
  }
  .st-wall-item span { font-size: 11px; padding: 5px 7px 6px; }
}

.st-pick-acts {
  display: inline-flex;
  gap: 8px;
  flex: none;
}

.st-pick-more.is-primary {
  background: var(--glow);
  border-color: var(--edge-glow);
  color: var(--void);
}

.st-pick-more.is-primary:hover {
  background: var(--glow);
  border-color: var(--edge-glow);
}

/* 고르는 자리가 이 화면의 본론이다. 제목을 그만큼 키운다. */
.st-pick-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

/* 고르기 전에는 큰 화면을 내보내지 않는다 */
.st-picked[hidden] { display: none; }

/* ── 하트 ────────────────────────────────────────────────── */
.st-wall-cell { position: relative; }

.st-heart {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.62);
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

.st-heart:hover { color: #ff8fa8; background: rgba(8, 12, 22, 0.8); }
.st-heart.is-on { color: #ff7d92; }
.st-heart.is-on:hover { transform: scale(1.08); }

.st-heart-count {
  display: inline-block;
  min-width: 20px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--petal);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
  vertical-align: middle;
}

.st-heart-count:empty { display: none; }

.st-hearts-wrap { margin: 0 0 18px; }
.st-hearts-wrap[hidden] { display: none; }

/* 담아 둔 뒤에 팔린 것 */
.st-wall-cell.is-sold .st-wall-item { opacity: 0.42; pointer-events: none; }

.st-sold-tag {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #14203a;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

/* ── 좁은 화면: 고른 것은 덮어서 띄운다 ───────────────────── */
.st-sheet-close { display: none; }

@media (max-width: 940px) {
  /* 손가락으로 누를 자리를 키운다. 34px은 빗나간다. */
  .st-heart { width: 42px; height: 42px; font-size: 19px; }

  .st-picked.is-sheet {
    position: fixed;
    inset: 0;
    z-index: 60;
    margin: 0;
    padding: 56px 14px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--surface);
  }

  .st-picked.is-sheet .st-sheet-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 61;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid rgba(125, 178, 255, 0.25);
    border-radius: 999px;
    background: var(--surface);
    color: var(--glow);
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  }

  body.st-sheet-open { overflow: hidden; }

  /* .st-main 이 z-index: 1 로 제 층을 만든다. 덮개에 60을 줘도 그 층
     안쪽 60이라, 상단 헤더(5)가 위에 얹혀 닫기 버튼을 가로막았다.
     손가락으로도 안 눌렸다. 덮개가 열린 동안만 층째로 올린다. */
  body.st-sheet-open .st-main { z-index: 70; }
}

/* 고른 화면에서 다음 걸음으로. 덮개 안에서 제일 눈에 띄어야 한다. */
.st-next {
  display: block;
  margin: 14px 0 4px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--st-blue);
  color: var(--void);
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.st-next:hover { background: var(--petal); }
.st-next:active { transform: scale(0.985); }

/* 좁은 화면에서 작품 번호가 "BN2-" / "5FBF67" 로 쪼개졌다.
   번호는 고객이 적어 두고 다시 부르는 값이라 한 덩어리로 읽혀야 한다.
   글자를 줄이고, 그래도 모자라면 복사 단추를 아래로 내린다. */
@media (max-width: 560px) {
  .st-code-head {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .st-code-num {
    font-size: 1.55rem;
    letter-spacing: .04em;
    white-space: nowrap;
  }
  .st-copy {
    flex: none;
  }
}

/* ── 전시실 ──────────────────────────────────────────────────
 *
 * 고른 화면은 사진전에 걸린 것처럼 보여 준다. 어두운 방, 빛나는 액자
 * 하나, 그리고 옆에 붙은 작은 벽 라벨.
 *
 * 흰 페이지 한가운데에 검은 그림을 얹으면 그림이 "창"이 아니라 "구멍"
 * 으로 보인다. 파는 물건이 미디어아트인데 그렇게 두면 값이 안 선다.
 * 이 칸만 어둡게 가라앉히고 그림 둘레로 빛이 새게 하면, 같은 그림이
 * 벽에 걸린 것처럼 읽힌다.
 *
 * 페이지 전체를 어둡게 하지는 않는다. 고르는 자리와 견적 폼은 밝아야
 * 읽기 쉽다. 어두운 것은 작품이 걸린 이 칸 하나뿐이다. */
.st-picked {
  position: relative;
  margin-top: 18px;
  padding: 30px 26px 26px;
  border-radius: 16px;
  background: radial-gradient(118% 92% at 50% 36%, #141821 0%, #0a0c11 56%, #06070a 100%);
  color: #e8ecf3;
  box-shadow: inset 0 0 0 1px rgba(16, 32, 26, 0.055);
}

/* 받침 상자를 걷어낸다. 액자는 캔버스 자신이다. */
.st-picked .st-stage {
  background: none;
  border-radius: 0;
  min-height: 0;
  padding: 22px 6px 14px;
}

/* 백라이트 액자 — 테두리 한 줄, 벽으로 새는 빛, 바닥으로 지는 그림자.
   빛 색은 어느 팔레트에도 걸리지 않게 무채색으로 둔다. */
.st-picked .st-stage canvas {
  border-radius: 2px;
  box-shadow:
    0 0 0 1px rgba(16, 32, 26, 0.12),
    0 0 70px 10px rgba(214, 226, 255, 0.10),
    0 26px 64px -24px rgba(0, 0, 0, 0.95);
}

/* 느낌표는 그림 바로 밑에 붙는 짧은 설명이다. 액자에서 떨어뜨리면
   허공에 뜬 단추처럼 보인다. */
.st-picked .st-chips { margin-top: 4px; justify-content: center; }
.st-picked .st-chip {
  background: rgba(255, 255, 255, 0.055);
  color: rgba(195, 213, 242, 0.78);
  font-size: .74rem;
  font-weight: 500;
  padding: 3px 10px;
}

/* 라벨 위에 붙는 설명은 라벨과 같은 쪽으로 붙인다 */
.st-picked > .st-cuts-title {
  margin: 22px 0 8px;
  text-align: right;
  color: rgba(232, 236, 243, 0.55);
  font-weight: 600;
}

/* 벽 라벨 — 작품 옆에 따로 붙는 작은 판. 참고 사진에서는 액자보다
   훨씬 작고, 오른쪽 아래에 떨어져 있고, 저 혼자 은은하게 빛난다. */
.st-picked .st-code {
  max-width: 380px;
  margin-left: auto;
  background: var(--paper);
  border-radius: 3px;
  padding: 15px 17px;
  box-shadow: 0 0 38px -8px rgba(16, 32, 26, 0.12);
}
.st-picked .st-code-num { color: var(--ink); }
.st-picked .st-code-note { color: var(--muted); }
.st-picked .st-code-note b { color: var(--ink); }
.st-picked .st-code-sub { color: var(--deep); }

.st-picked .st-next { margin-top: 20px; }

/* 방금 만든 것들도 어두운 방에 함께 있다 */
.st-picked .st-hist-wrap { margin-top: 26px; }
.st-picked .st-hist-item span { color: rgba(232, 236, 243, 0.42); }
.st-picked .st-hist-item:hover { border-color: rgba(255, 255, 255, 0.26); }
.st-picked .st-hist-item.is-on { border-color: var(--edge-glow); }
.st-picked .st-hist-item.is-on span { color: var(--glow); }

@media (max-width: 940px) {
  /* 좁은 화면에서는 덮개 전체가 전시실이 된다. */
  .st-picked.is-sheet {
    background: radial-gradient(120% 78% at 50% 30%, #141821 0%, #0a0c11 58%, #06070a 100%);
    border-radius: 0;
  }
  .st-picked.is-sheet .st-sheet-close {
    border-color: rgba(255, 255, 255, 0.2)    background: rgba(14, 18, 26, 0.86);
    color: #dbe6ff;
  }
  /* 라벨을 폭에 맞춰 편다. 좁은 화면에서 오른쪽에 몰리면 읽기 나쁘다. */
  .st-picked .st-code { max-width: none; margin-left: 0; }
  .st-picked > .st-cuts-title { text-align: left; }
  .st-picked .st-stage { padding: 14px 0 10px; }
}

/* ── 함께 받기: 값이 정해진 물건 ─────────────────────────────── */
.st-opts-add label { display: grid; grid-template-columns: auto 1fr auto; column-gap: 8px; align-items: start; }
.st-opts-add label > span { grid-column: 3; white-space: nowrap; }
.st-opts-add label > small {
  grid-column: 2 / 4; margin-top: 3px;
  font-size: .76rem; line-height: 1.5; color: var(--st-gray);
}


/* ── 현장에 걸어보기 ─────────────────────────────────────────
   고른 화면을 실제 사이니지 사진에 원근을 맞춰 얹는다. 캔버스는
   matrix3d 로 눕히므로, 감싼 자리는 사진과 같은 크기여야 한다. */
.mock {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--edge);
}

.mock-stage {
  position: relative;
  margin: 12px 0 0;
  border-radius: 12px;
  /* 눕힌 캔버스가 사진 밖으로 한두 화소 비어져 나온다. 잘라 낸다. */
  overflow: hidden;
  background: var(--void);
  line-height: 0;
}
.mock-img {
  display: block;
  width: 100%;
  height: auto;
}
.mock-surface {
  position: absolute;
  left: 0;
  top: 0;
  /* 사진 위에 얹힌 화면이지 누를 것이 아니다. */
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease;
}
.mock.is-live .mock-surface { opacity: 1; }

/* 앞가림 — 화면 앞에 서 있는 것(사람)을 작품 위에 다시 얹는다.
   사진과 같은 크기·같은 자리라 눕힐 필요가 없다. 캔버스보다 위에 둔다. */
.mock-front {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 2;
}

.mock-pick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.mock-chip {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--edge-soft);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease;
}
.mock-chip b {
  font-size: .86rem;
  font-weight: 800;
  color: var(--ink);
}
.mock-chip span {
  font-size: .74rem;
  line-height: 1.5;
  color: var(--deep);
}
.mock-chip:hover { border-color: var(--edge); }
/* 고른 것은 켜져 보여야 한다. 테두리 한 겹으로는 훑을 때 안 보인다. */
.mock-chip.is-on {
  border-color: var(--edge-glow);
  background: var(--glow-dim);
}
.mock-chip.is-on b { color: var(--ink); }

.mock-meta {
  margin: 10px 0 0;
  font-size: .78rem;
  line-height: 1.6;
  color: var(--deep);
}
