.th-gallery {
  margin: 0 0 24px;
  padding: clamp(14px, 3vw, 24px);
  border: 1px solid #414239;
  border-radius: 12px;
  background: #1b1e1d;
  color: var(--text);
  scroll-margin-top: 22px;
}
.th-gallery [hidden] { display: none !important; }
.th-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.th-brand { margin: 0 0 4px; color: #d2bd9b; font-size: 12px; letter-spacing: .09em; }
.th-header h3 { margin: 0; font-size: clamp(21px, 3vw, 31px); line-height: 1.2; }
.th-archive-links { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.th-cutaways-link { color: #d8ddb9; font-size: 12px; padding: 6px 0; text-underline-offset: 3px; }
.th-intro { margin: 7px 0 14px; color: var(--dim); font-size: 13px; line-height: 1.5; }
.th-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 2vw, 14px); }
.th-selectors { margin-bottom: 8px; }
.th-selector { display: grid; gap: 4px; min-width: 0; color: var(--dim); font-size: 12px; }
.th-selector select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  color-scheme: dark;
  border: 1px solid #59614b;
  border-radius: 6px;
  padding: 0 8px;
  background: #262b24;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.th-panel { margin: 0; min-width: 0; }
.th-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: clamp(200px, 27vw, 370px);
  border: 1px solid #47443e;
  border-radius: 9px;
  background: radial-gradient(ellipse at 49% 39%, #4b463d 0%, #272a26 56%, #171a18 100%);
}
.th-poster, .th-stage model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; }
.th-poster { object-fit: contain; pointer-events: none; }
.th-stage model-viewer { opacity: 0; }
.th-stage .th-model-ready { opacity: 1; transition: opacity .2s; cursor: grab; }
.th-stage .th-model-ready:active { cursor: grabbing; }
.th-panel figcaption { padding: 9px 1px 2px; }
.th-size { margin: 0; font-variant-numeric: tabular-nums; font-size: clamp(16px, 2vw, 20px); color: #eadac3; }
.th-dimension-label, .th-edits { margin: 2px 0 0; color: var(--dim); font-size: 12px; line-height: 1.5; }
.th-source-links { display: flex; flex-wrap: wrap; gap: 0 11px; margin-top: 3px; }
.th-source-links a { display: inline-flex; align-items: center; min-height: 34px; color: #e4dccd; font-size: 12px; text-underline-offset: 3px; }
.th-actions, .th-controls { display: flex; gap: 6px; flex-wrap: wrap; }
.th-actions { margin-top: 12px; }
.th-controls button, .th-open {
  min-height: 44px;
  padding: 0 11px;
  color: var(--text);
  background: #242722;
  border: 1px solid #454b3c;
  border-radius: 6px;
  font-size: 12px;
}
.th-open { border-color: #d1d9af; background: #d9dfba; color: #202818; font-weight: 700; }
.th-open:disabled { cursor: wait; opacity: .8; }
.th-gallery :is(button, select):focus-visible, .th-teaser-link:focus-visible { outline: 2px solid #d9dfba; outline-offset: 2px; }
.th-note, .th-status { color: #b0b5ac; font-size: 12px; line-height: 1.55; }
.th-note { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid #363b35; }
.th-status { margin: 6px 0 0; }
.th-teaser {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 12px 0 24px;
  padding: 5px 13px 5px 5px;
  border: 1px solid #484b3d;
  border-radius: 8px;
  background: linear-gradient(105deg, #3a362f 0%, #22271f 52%, #242823 100%);
  color: #e9eada;
}
.th-teaser:hover { border-color: #a6b580; }
.th-teaser > form-product-model { --model-ratio: 1; }
.th-teaser > form-product-model img { object-fit: contain; }
.th-teaser-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; }
.th-teaser strong, .th-teaser small { display: block; }
.th-teaser strong { font-size: 16px; }
.th-teaser small { font-size: 12px; color: #bdc2b2; line-height: 1.5; }
.th-teaser-arrow { color: #dbe4b4; font-size: 19px; }
@media (max-width: 680px) {
  .th-stage { height: clamp(170px, 50vw, 295px); }
  .th-source-links a { font-size: 11px; }
  .th-edits { font-size: 11px; }
}
