.history-page {
  max-width: 1232px;
  padding: clamp(32px, 5vw, 72px) clamp(16px, 4vw, 48px) 64px;
}
.library-heading {
  border-bottom: 1px solid var(--panel-line);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.library-heading h1 { font-size: clamp(34px, 4.3vw, 58px); line-height: 1.08; }
.library-heading p { font-size: 15px; }
.history-empty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(20px, 3vw, 32px);
  background: #11160f;
  border: 1px solid var(--panel-line);
  border-radius: 24px;
}
.empty-copy { padding: clamp(4px, 2vw, 28px); }
.empty-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.03;
  letter-spacing: -.05em;
}
.empty-copy p { margin: 18px 0 24px; max-width: 35ch; color: var(--quiet); line-height: 1.6; }
.sample-stage {
  position: relative;
  isolation: isolate;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 12px 20px 16px;
  overflow: hidden;
  border: 1px solid #45503b;
  border-radius: 16px;
  background: radial-gradient(circle, #87956d33 1px, transparent 1.2px) 0 0 / 18px 18px,
              radial-gradient(ellipse at 50% 47%, #404c36, #1b2519 74%);
}
.sample-model {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  height: clamp(240px, 24vw, 324px);
  object-fit: contain;
  filter: drop-shadow(0 12px 12px #0006);
}
.sample-orbit {
  position: absolute;
  z-index: -1;
  bottom: 22%;
  left: 14%;
  width: 72%;
  height: 14%;
  border: 1px solid #9ba98c60;
  border-radius: 50%;
  box-shadow: 0 0 0 8px #a6b4960a;
}
.sample-stage figcaption { display: grid; gap: 2px; }
.sample-stage figcaption span { color: #c4d1b9; font-size: 12px; }
.sample-stage figcaption strong { color: var(--ink); font-size: 18px; }
#history-example {
  padding: 10px 14px;
  min-height: 44px;
  background: #192016;
  color: #e4ecd9;
  border: 1px solid #69785c;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
#history-example:hover { border-color: var(--yellow); }
.history-page :is(a, button):focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.history-page .history-card { transition: border-color .15s; }
.history-page .history-card:hover { border-color: #93a581; }
.history-page .history-action { margin-top: auto; }
#history-status:empty { display: none; }
#history-more { margin-top: 20px; }
@media (max-width: 680px) {
  .history-empty { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .empty-copy { padding: 0; }
  .empty-copy h2 br { display: none; }
  .studio-nav { gap: 12px; font-size: 12px; }
  .studio-nav .button { padding-inline: 14px; }
  .sample-stage { padding: 8px 14px 14px; }
  .sample-model { height: clamp(180px, 52vw, 250px); }
}
