/* Navirox brand layer over Adamův demo.css — mění jen UI kolem scény, ne 3D.
   Drží se tokenů z app/globals.css (papír, ink, aqua, Swiza, radius 0). */
@font-face {
  font-family: "Swiza";
  src: url("/fonts/swiza-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Swiza";
  src: url("/fonts/swiza-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Swiza";
  src: url("/fonts/swiza-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #efeeec;
  --ink: #232422;
  --muted: #757872;
  --border: #d9d8d4;
  --accent: #4c8a70;
  font-family: "Swiza", system-ui, sans-serif;
}

body { font-family: "Swiza", system-ui, sans-serif; }

/* V iframu nese odsazení i nadpis hostitelská stránka a scéna vyplní jeho výšku. */
html, body { height: 100%; }
main { max-width: none; padding: 0; height: 100%; }

.demo { border-radius: 0; height: 100%; }
.scene { min-height: 0; }
@media (max-width: 760px) {
  .demo { grid-template-rows: minmax(0, 1fr) auto; }
  .scene { min-height: 0; }
}
.scene, .scene-loading { background: #e6e5e2; }
.scene-status, .hint { border-radius: 0; background: #fbfbfae8; color: var(--ink-soft, #3d3e3b); }

button, select { border-radius: 0; font-family: "Swiza", system-ui, sans-serif; font-weight: 500; }
button:enabled:hover, select:enabled:hover { background: #e8e7e4; }
.views [aria-pressed="true"] { color: #3f7560; border-color: #9ac3b1; background: #e2efe8; }
.primary:enabled:hover { background: #3f7560; }

aside h2 { font-weight: 600; }
dd { font-weight: 600; }

/* Závoj, který drží scroll stránce, dokud návštěvník do modelu neklikne. */
.activate {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  place-items: end center;
  padding-bottom: 54px;
  cursor: pointer;
  background: transparent;
}
.activate span {
  padding: 7px 12px;
  border: 1px solid var(--border);
  background: #fbfbfae8;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}
.activate[hidden] { display: none; }
.views { z-index: 6; }
