.creature-gallery { grid-column: 1 / -1; width: 100%; min-width: 0; color: #f1eedb; }
.gallery-heading { max-width: 780px; margin-bottom: 26px; }
.gallery-heading h2 { margin: 10px 0 14px; font-size: clamp(32px, 5vw, 58px); line-height: 1.05; letter-spacing: -.04em; }
.gallery-heading > p:last-child { max-width: 650px; line-height: 1.7; }
.creature-gallery .model-choices { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 25px; overflow: visible; }
.creature-gallery .model-choices button { display: flex; align-items: center; gap: 9px; padding: 7px 12px 7px 7px; border: 1px solid #52614466; border-radius: 8px; background: #ececda; color: #283623; font: 700 13px Arial, sans-serif; }
.creature-gallery .model-choices button[aria-pressed="true"] { background: #88334e; border-color: #88334e; color: #fff8e7; }
.creature-gallery .model-choices img { width: 45px; height: 45px; object-fit: cover; border-radius: 4px; }
.creature-gallery .future-comparison-grid { display: grid; grid-template-columns: minmax(150px, .65fr) minmax(0, 1.6fr); align-items: start; gap: 30px; max-width: none; }
.gallery-portrait { margin: 0; }
.gallery-portrait > img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; border: 1px solid #657452; border-radius: 12px; }
.gallery-portrait figcaption { display: grid; gap: 8px; padding: 16px 0; font: 11px monospace; letter-spacing: .06em; }
.gallery-portrait strong { font: 700 22px Arial, sans-serif; letter-spacing: -.02em; }
.creature-gallery .future-model-preview { width: 100%; max-width: none; min-width: 0; margin: 0; border: 1px solid #879071; border-radius: 12px; overflow: hidden; background: #ececda; box-shadow: 0 5px 0 #23321d28; }
.gallery-formats { display: flex; justify-content: center; gap: 6px; padding: 12px; border-bottom: 1px solid #87907166; }
.gallery-formats button { min-height: 40px; padding: 8px 20px; border: 1px solid #64734a66; border-radius: 5px; background: #fffcef; color: #283623; font: 700 13px Arial, sans-serif; }
.gallery-formats button[aria-pressed="true"] { background: #88334e; border-color: #88334e; color: #fff8e7; }
.creature-gallery .future-model-stage { height: clamp(350px, 38vw, 520px); aspect-ratio: auto; background: radial-gradient(ellipse at 50% 55%, #eff0df, #c4ccaa); }
.creature-gallery .future-model-load { color: #fff8e7; }
.creature-gallery .future-model-load img { opacity: .38; object-fit: contain; padding: 25px; box-sizing: border-box; }
.creature-gallery .future-model-load span { padding: 12px 18px; background: #88334e; border-radius: 5px; }
.creature-gallery .future-model-preview figcaption { padding: 18px 20px; gap: 10px; color: #283623; }
.creature-gallery [data-model-caption] { font-size: 10px; letter-spacing: .08em; color: #526144; }
.creature-gallery .model-toolbar { display: flex; flex-wrap: wrap; gap: 7px; }
.creature-gallery .model-toolbar button { padding: 8px 10px; border: 1px solid #64734a66; border-radius: 4px; background: #fffcef; color: #283623; font-size: 12px; }
.creature-gallery .model-toolbar button:disabled { opacity: .45; }
.creature-gallery .model-toolbar button[aria-pressed="true"] { background: #88334e; color: #fff8e7; }
.creature-gallery .model-gestures, .creature-gallery .model-status { font-size: 12px; margin: 0; color: #46563d; }
.gallery-downloads { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; }
.gallery-downloads a { color: #88334e; text-underline-offset: 3px; }
.creature-gallery .ar-invitation { display: flex; align-items: center; gap: 22px; margin: 28px 0 55px; padding: 20px; background: #ebeddb; border: 1px solid #899774; border-radius: 10px; }
.creature-gallery .ar-invitation button, .creature-gallery .ar-launch-button { padding: 15px 20px; border: 1px solid #733045; border-radius: 5px; color: #fff8e7; background: #88334e; font-weight: 700; }
.creature-gallery .ar-invitation p { flex: 1; font-size: 13px; line-height: 1.6; margin: 0; color: #46563d; }
.creature-gallery .ar-launch { color: #283623; background: #ececda; border-color: #879071; }
.creature-gallery .ar-launch p { color: #46563d; }
.ar-page { background: #d3dbb4; color: #263323; }
.ar-page .ar-shell { background: none; }
.ar-page .creature-gallery { color: #263323; }
.ar-page .ar-footer a { color: #88334e; }
.gallery-ar-help { font-size: 13px; line-height: 1.6; }
.creature-gallery [hidden] { display: none !important; }
.creature-gallery .future-model-preview:fullscreen .future-model-stage { height: calc(100vh - 195px); }
@media (max-width: 640px) {
  .creature-gallery .future-comparison-grid { grid-template-columns: 1fr; gap: 15px; }
  .gallery-portrait { display: flex; align-items: center; gap: 15px; }
  .gallery-portrait > img { width: 70px; height: 88px; border-radius: 6px; }
  .gallery-portrait figcaption { padding: 0; }
  .creature-gallery .future-model-stage { height: 370px; }
  .creature-gallery .ar-invitation { flex-direction: column; align-items: stretch; gap: 14px; }
  .creature-gallery .model-choices { gap: 7px; }
  .creature-gallery .model-choices button { font-size: 12px; padding-right: 9px; }
  .creature-gallery .model-choices img { width: 34px; height: 34px; }
}
