.scene-catalog #scene-filter-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 0;
}
.scene-catalog-tabs,
.scene-catalog-tools,
.scene-catalog-search,
.scene-catalog-tab > span {
  display: flex;
  align-items: center;
}
.scene-catalog-tabs { flex-wrap: wrap; gap: 6px; }
.scene-catalog-tabs[hidden] { display: none; }
.scene-catalog-tab { position: relative; cursor: pointer; }
.scene-catalog-tab input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.scene-catalog-tab > span {
  gap: 7px;
  min-height: 35px;
  padding: 5px 11px;
  border: 1px solid #dce0eb;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #4e596d;
  font-size: var(--type-ui);
  font-weight: 600;
}
.scene-catalog-tab b {
  font-size: var(--small-label);
  line-height: 18px;
  min-width: 18px;
  border-radius: var(--radius-panel);
  background: #f0f2f7;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.scene-catalog-tab :checked + span { background: var(--blue-strong); color: white; border-color: var(--blue-strong); }
.scene-catalog-tab :checked + span b { background: #ffffff30; }
.scene-catalog-tab input:focus-visible + span,
.scene-catalog-card:focus-within { outline: 3px solid var(--blue-strong); outline-offset: 3px; }
.scene-catalog-tools { gap: 8px; flex-wrap: wrap; }
.scene-catalog-search { position: relative; }

.scene-catalog-search input { width: clamp(180px,18vw,285px); padding-left: 35px; }
.scene-catalog-search svg { width: 16px; height: 16px; position: absolute; left: 12px; color: #778195; pointer-events: none; }
.scene-catalog-tools select { width: auto; min-width: 116px; }
.scene-catalog #session-filter-summary {
  margin: 23px 0 10px;
  color: #626d80;
  font-size: var(--type-ui);
  font-variant-numeric: tabular-nums;
}
.scene-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(14px,1.6vw,24px);
}
.scene-catalog-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dee2eb;
  border-radius: var(--radius-panel);
  overflow: hidden;
  box-shadow: var(--panel-shadow);
}
.scene-catalog-card:hover { border-color: #aaa5d7; box-shadow: var(--popover-shadow); }
.scene-catalog-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e6e3db;
  aspect-ratio: 1.95;
}
.scene-catalog-photo .scene-photo { position: absolute; inset: 0; }
.scene-catalog-date,
.scene-catalog-status { position: absolute; }
.scene-catalog-date {
  bottom: 12px;
  left: 14px;
  width: 45px;
  padding: 4px 0;
  display: grid;
  justify-items: center;
  background: #fff;
  border-radius: var(--control-radius);
  box-shadow: var(--panel-shadow);
  color: #283142;
  line-height: 1.05;
}
.scene-catalog-date span { font-size: 10px; font-weight: 650; line-height: 15px; color: #6a5b7c; }
.scene-catalog-date strong { font-size: 23px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.scene-catalog-status {
  top: 13px;
  right: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: var(--radius-panel);
  background: #fff;
  color: #3c4960;
  font-size: var(--small-label);
  font-weight: 650;
  white-space: nowrap;
  box-shadow: var(--panel-shadow);
}
.scene-catalog-status i { width: 6px; height: 6px; border-radius: 50%; background: #728199; }
.scene-catalog-status.ready i { background: #23936c; }
.scene-catalog-status.active i { background: #6757c2; }
.scene-catalog-status.waiting i { background: #b77816; }
.scene-catalog-body { padding: 16px 17px; flex: 1; }
.scene-catalog-context, .scene-catalog-time { display: flex; align-items: center; }
.scene-catalog-context { flex-wrap: wrap; gap: 6px 13px; color: #59509e; font-weight: 650; font-size: var(--type-caption); }
.scene-catalog-time { gap: 4px; color: #606c81; font-weight: 450; font-variant-numeric: tabular-nums; }
.scene-catalog-time svg { width: 13px; height: 13px; }
.scene-catalog-body h2 { margin: 9px 0 5px; font-size: clamp(17px,1.35vw,22px); line-height: 1.45; }
.scene-catalog-link { display: flex; flex: 1; flex-direction: column; color: #20283b; text-decoration: none; }
.scene-catalog-link:focus-visible { outline: none; }
.scene-catalog-channel { color: #667085; font-size: var(--type-ui); }
.scene-catalog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 17px;
  border-top: 1px solid #edeef5;
}
.scene-catalog-store, .scene-catalog-open { display: inline-flex; align-items: center; gap: 7px; font-size: var(--type-caption); }
.scene-catalog-store { min-width: 0; color: #424d61; }
.scene-catalog-store > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scene-catalog-open { white-space: nowrap; font-weight: 650; color: #5547a9; }
.scene-catalog-open svg { width: 13px; height: 13px; }
.scene-catalog-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  min-height: 215px;
  background: #fff;
  border: 1px solid #dfe2ec;
  border-radius: var(--radius-panel);
  text-align: center;
}
.scene-catalog-empty > svg { width: 27px; height: 27px; color: #7972a6; }
.scene-catalog-empty h2 { font-size: 17px; }
.scene-catalog-empty p { font-size: var(--type-ui); color: #626c80; }
.scene-catalog-empty button { padding: 5px 12px; border-radius: var(--control-radius); background: #eeeafa; color: #504598; border: 0; font-size: var(--type-ui); }
@media (max-width: 1090px) {
  .scene-catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .scene-catalog-grid { grid-template-columns: minmax(0,1fr); }
  .scene-catalog #scene-filter-form { display: grid; gap: 13px; justify-content: stretch; }
  .scene-catalog-tools { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .scene-catalog-search { grid-column: 1 / -1; }
  .scene-catalog-search input, .scene-catalog-search { width: 100%; min-width: 0; }
  .scene-catalog-tools select { min-width: 0; width: 100%; }
  .scene-catalog #session-filter-summary { margin-top: 17px; }
}

.hs-collection { display: grid; gap: 3px; margin: 0; font-size: var(--type-caption); line-height: 1.5; white-space: normal; }
.hs-collection > div { display: grid; grid-template-columns: 2.2em minmax(0,1fr); gap: 6px; align-items: baseline; }
.hs-collection dt { color: #667085; }
.hs-collection dd { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 7px; margin: 0; font-weight: 550; color: #435069; }
.hs-collection .hs-state-ready { color: #217058; }
.hs-collection .hs-state-failed { color: #a53236; }
.hs-collection .hs-state-attention { color: #8c5a22; }
.hs-collection .hs-state-active { color: #315db5; }
.hs-collection .hs-state-unsupported, .hs-collection .hs-state-unknown { color: #667085; font-weight: 450; }
.hs-amount { color: #48576d; font-weight: 450; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.scene-catalog-body > .hs-collection, .archive-detail > .hs-collection, .replay-caption > .hs-collection { margin-top: 10px; border-top: 1px solid #e8ebf0; padding-top: 9px; }
.archive-detail > .hs-collection + progress { margin-top: 10px; }
@media (max-width: 760px) {
  #overview-surface .replay-grid:has(.hs-collection) { grid-template-columns: repeat(auto-fit,minmax(min(250px,100%),1fr)); }
}
