/* The preview page of a glass for the customer of a customer (concept 61 C): dark, calm, only the glass. Fonts of the site, no outside parts. */
:root {
  --sv-glow: #e9f2ff;
}
* {
  box-sizing: border-box;
}
html,
body.sv-body {
  margin: 0;
  min-height: 100%;
  background: #05080d;
  color: #dfe7f1;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}
.sv-main,
.sv-calm {
  min-height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1rem 0;
}
.sv-hi,
.sv-calm h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  letter-spacing: -0.01em;
  text-align: center;
}
.sv-stage {
  position: relative;
  width: min(92vw, 720px);
  height: min(70vh, 720px);
  border-radius: 18px;
  background: radial-gradient(ellipse 60% 22% at 50% 96%, color-mix(in srgb, var(--sv-glow) 28%, transparent), transparent 70%), #070b12;
  overflow: hidden;
}
.sv-stage.dark {
  background: #05080d;
}
.sv-stage:fullscreen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}
.sv-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}
.sv-stage canvas:active {
  cursor: grabbing;
}
.sv-load {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #8a99ab;
}
.sv-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.sv-bar button,
.sv-pw button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: 500 0.85rem/1.2 inherit;
  cursor: pointer;
}
.sv-bar button.on,
.sv-bar button[aria-pressed='true'] {
  border-color: var(--sv-glow);
  background: color-mix(in srgb, var(--sv-glow) 16%, transparent);
}
.sv-bar button:focus-visible,
.sv-pw button:focus-visible,
.sv-pw input:focus-visible {
  outline: 2px solid #f2a93b;
  outline-offset: 2px;
}
.sv-size {
  margin: 0;
  color: #8a99ab;
  font-size: 0.85rem;
}
.sv-pw {
  display: grid;
  gap: 0.8rem;
  width: min(92vw, 360px);
}
.sv-pw label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}
.sv-pw input {
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0b111a;
  color: inherit;
  font: inherit;
}
.sv-err {
  margin: 0;
  color: #ff9b9b;
  font-size: 0.9rem;
}
.sv-calm p {
  margin: 0;
  color: #8a99ab;
}
.sv-note {
  margin: 0;
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6c7a8c;
}

/* the glass of the website (30.11.2026): petrol stage, soft light from below */
.sv-stage.is-3d {
  background: radial-gradient(70% 45% at 50% 100%, rgba(95, 208, 195, 0.16), transparent 70%), radial-gradient(120% 90% at 50% 0%, #0a3b42 0%, #04161a 72%);
}
/* embedded on a website of the customer: only the glass and its bar */
.sv-embed .sv-main {
  min-height: 100vh;
  padding: 0;
  gap: 0.5rem;
}
.sv-embed .sv-stage {
  width: 100vw;
  height: calc(100vh - 92px);
  border-radius: 0;
}
.sv-embed .sv-note {
  margin: 0;
  padding: 4px 0 8px;
}

/* the signature at the foot (30.11.2026): the mark of 3D Crystal and its name, as at the head of the website */
.sv-foot {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem 1.25rem;
}
.sv-sign {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem 0.5rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #eef6f7;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.sv-sign:hover,
.sv-sign:focus-visible {
  border-color: rgba(247, 169, 34, 0.7);
}
/* the mark as at the head of the website (CI, negative on dark): the arc in the colour of the text, only the dot in amber, no tile */
.sv-sign__mark {
  display: block;
  width: 30px;
  height: 30px;
}
.sv-sign__mark svg {
  display: block;
  width: 100%;
  height: 100%;
}
.sv-sign__mark path {
  fill: currentColor;
}
.sv-sign__mark circle {
  fill: #f7a922;
}
.sv-sign__text {
  display: grid;
  line-height: 1.15;
  text-align: left;
}
.sv-sign__text b {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sv-sign__text small {
  font-size: 0.68rem;
  color: #8fa3ad;
}
.sv-foot .sv-note {
  padding: 0;
}
.sv-embed .sv-foot {
  padding: 4px 0 8px;
}
.sv-embed .sv-sign {
  padding: 0.3rem 0.7rem 0.3rem 0.4rem;
}
.sv-embed .sv-sign__mark {
  width: 22px;
  height: 22px;
}
/* embedded: the signature as a small plate on the stage, top right, so the frame of the website stays without scrolling */
.sv-embed .sv-main {
  min-height: 0;
}
.sv-embed .sv-foot {
  position: fixed;
  right: 10px;
  top: 10px;
  padding: 0;
}
.sv-embed .sv-sign {
  background: rgba(2, 20, 24, 0.55);
  backdrop-filter: blur(4px);
}
.sv-embed .sv-sign__text small:first-child {
  display: none;
}

/* the glass view of the designer in the stage (30.11.2026): fills the stage, the petrol of the stage shows through */
.sv-stage .sv-view {
  position: absolute;
  inset: 0;
}
.sv-stage .sv-view .cr-stage {
  min-height: 0;
  border-radius: 0;
  background: transparent;
}
.sv-stage .sv-load {
  z-index: 1;
}
