/**
 * geometry-complexity.html / lod-system.html — küçük WebGL doğrulama bloğu.
 */

.doc-mini-three {
  margin: 1rem 0 0;
  padding: 0.85rem 0.95rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(100, 160, 220, 0.26);
  background: linear-gradient(
    152deg,
    rgba(6, 10, 22, 0.55) 0%,
    rgba(4, 8, 18, 0.52) 40%,
    rgba(8, 12, 28, 0.58) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 16px 40px rgba(0, 0, 0, 0.42);
}

.doc-mini-three__tag {
  margin: 0 0 0.55rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(130, 200, 255, 0.92);
}

.doc-mini-three__lead {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(175, 195, 225, 0.9);
}

.doc-mini-three__controls {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.doc-mini-three__bridge {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(100, 140, 200, 0.22);
  background: rgba(4, 10, 24, 0.42);
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(195, 210, 235, 0.92);
}

.doc-mini-three__bridge strong {
  color: rgba(140, 205, 255, 0.96);
  font-weight: 600;
}

.doc-mini-three__hero {
  margin: 0 0 0.65rem;
  padding: 0.65rem 0.75rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(120, 200, 255, 0.22);
  background: rgba(0, 6, 18, 0.55);
}

.doc-mini-three__hero-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.doc-mini-three__hero-val {
  font-size: clamp(1.72rem, 4.4vw, 2.35rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: rgba(120, 235, 210, 0.98);
  line-height: 1.05;
}

.doc-mini-three__hero-unit {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(170, 218, 255, 0.95);
}

.doc-mini-three__hero-gpu {
  margin-left: 0.1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(210, 232, 255, 0.98);
  white-space: nowrap;
}

.doc-mini-three__hero-gloss {
  margin: 0.4rem 0 0;
  max-width: 36rem;
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(200, 218, 245, 0.94);
}

.doc-mini-three__hero-sub {
  margin: 0.3rem 0 0;
  font-size: 0.7rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(150, 175, 210, 0.88);
}

.doc-mini-three__toggle-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.doc-mini-three__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(210, 220, 240, 0.95);
  user-select: none;
}

.doc-mini-three__toggle input {
  accent-color: #8cb4ff;
}

.doc-mini-three__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(185, 200, 230, 0.95);
}

.doc-mini-three__range-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
}

.doc-mini-three__range {
  flex: 1 1 auto;
  min-width: 0;
  accent-color: #5ec8ff;
}

.doc-mini-three__count-out {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 0.95rem;
  color: rgba(120, 210, 255, 0.98);
  min-width: 3.25rem;
  text-align: right;
}

.doc-mini-three__viewport {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(
      120% 90% at 50% 0%,
      rgba(60, 120, 200, 0.16) 0%,
      transparent 55%
    ),
    rgba(0, 4, 14, 0.55);
  min-height: 200px;
}

.doc-mini-three__viewport canvas {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.doc-mini-three__stats {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(200, 215, 240, 0.92);
}

.doc-mini-three__note {
  margin: 0.45rem 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(120, 140, 170, 0.85);
}

.doc-mini-three__err {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 140, 120, 0.35);
  background: rgba(40, 10, 10, 0.35);
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 210, 200, 0.95);
}

@media (prefers-reduced-transparency: reduce) {
  .doc-mini-three {
    background: linear-gradient(
      152deg,
      rgba(8, 12, 22, 0.96) 0%,
      rgba(4, 8, 18, 0.98) 100%
    );
  }
}
