[hidden] { display: none !important; }
.explorer-main, .explorer-nav { max-width: 1200px; padding-left: 1.5rem; padding-right: 1.5rem; }
.explorer-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.explorer-brand { font-family: 'Google Sans', sans-serif; font-size: 1.4rem; font-weight: 700; color: #222; }
.explorer-banner { position: relative; overflow: hidden; border-radius: 12px; background: #05070a; min-height: 320px; display: flex; align-items: center; }
.explorer-banner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.explorer-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 10, .8), transparent); }
.banner-copy { position: relative; z-index: 1; color: #fff; padding: 3rem; max-width: 760px; }
.banner-copy .title { color: #fff; margin: .6rem 0 1rem; font-family: 'Google Sans', sans-serif; }
.eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
#banner-pause { position: absolute; right: 1rem; bottom: 1rem; z-index: 1; }
.gallery-section { padding: 2.5rem 0; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1.25rem; }
.section-heading .title { margin: 0; }
#gallery-status, .size-note, .scene-id { color: #626974; font-size: .9rem; }
.scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.scene-card { display: block; transition: box-shadow .18s, transform .18s; }
.scene-card:hover { box-shadow: 0 8px 24px #0002; transform: translateY(-3px); }
.scene-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.scene-card .visual-highlight-caption { padding: 1.1rem; }
.card-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; margin-bottom: .7rem; }
.card-heading span { color: #626974; font: .75rem monospace; }
.card-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.card-stats dt { font-size: .72rem; color: #626974; }
.card-stats dd { color: #222; font-size: .92rem; font-weight: 600; }
.scene-heading { margin: 1rem 0 1.5rem; }
.scene-heading .title { margin: .5rem 0; font-family: 'Google Sans', sans-serif; }
.scene-id { overflow-wrap: anywhere; font-family: monospace; }
.viewer-shell { border: 1px solid #bbb; border-radius: 10px; overflow: hidden; }
.viewer-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; padding: .75rem 1rem; background: #f6f7f8; }
.modality-tabs { display: flex; gap: .25rem; }
.modality-tabs button { font: inherit; cursor: pointer; border: 0; border-radius: 6px; padding: .5rem .8rem; background: transparent; color: #4a4a4a; }
.modality-tabs button[aria-selected="true"] { background: #222; color: #fff; }
.viewer-actions { display: flex; align-items: center; gap: 1rem; font-size: .85rem; }
.viewer-actions select { font: inherit; padding: .35rem; border: 1px solid #bbb; border-radius: 5px; background: white; }
.viewer-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #10151c; }
.viewer-stage canvas, .viewer-stage > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.viewer-stage > img { object-fit: cover; z-index: 1; }
.viewer-stage canvas { touch-action: none; }
.viewer-status { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; z-index: 2; padding: .85rem 1rem; border-radius: 8px; background: #10151ce8; color: #fff; font-size: .9rem; }
.viewer-status progress { display: block; width: 100%; height: 5px; margin-top: .6rem; accent-color: #10b981; }
.controls-hint { background: #f6f7f8; color: #535b66; font-size: .78rem; padding: .8rem 1rem; }
.scene-details { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; padding: 2.5rem 0; }
.info-panel > p { margin-bottom: 1rem; font-size: .92rem; }
.detail-stats { display: grid; grid-template-columns: 1fr auto; font-size: .9rem; }
.detail-stats dt, .detail-stats dd { padding: .5rem 0; border-bottom: 1px solid #eee; }
.detail-stats dt { padding-right: 1rem; color: #626974; }
.detail-stats dd { text-align: right; font-variant-numeric: tabular-nums; }
.download-links { margin: 1rem 0; }
.download-links li { border-bottom: 1px solid #eee; }
.download-links a { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; font-size: .9rem; overflow-wrap: anywhere; }
.download-links span { flex-shrink: 0; color: #626974; }
.explorer-footer { border-top: 1px solid #eee; padding: 1.5rem; text-align: center; font-size: .8rem; color: #626974; }
a:focus-visible, button:focus-visible, canvas:focus-visible, select:focus-visible { outline: 3px solid #10b981; outline-offset: 3px; }
@media (max-width: 1023px) { .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .explorer-main, .explorer-nav { padding-left: 1rem; padding-right: 1rem; }
  .banner-copy { padding: 2rem 1.5rem 3rem; }
  .banner-copy .title { font-size: 2.2rem; }
  .scene-grid, .scene-details { grid-template-columns: 1fr; }
  .viewer-stage:not(.is-interactive) .viewer-status { position: relative; inset: auto; border-radius: 0; }
  .viewer-stage:not(.is-interactive) { aspect-ratio: auto; }
  .viewer-stage:not(.is-interactive) > img { position: relative; aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) { .scene-card { transition: none; } }
