* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #07080d;
  color: #f3f5fc;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

.editorial-page {
  min-height: 100vh;
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.issue {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #93c5fd;
}

.preset-bar {
  display: flex;
  gap: 8px;
}

.preset-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #dce4f7;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.preset-btn.is-active {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.45), rgba(0, 229, 255, 0.3));
  border-color: rgba(0, 229, 255, 0.65);
  color: #ffffff;
}

.type-stage {
  position: relative;
  flex: 1;
  min-height: 62vh;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0c15;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

#gl-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 62vh;
}

.fallback-type {
  display: none;
  padding: 56px 32px;
  text-align: center;
}

.specs-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  font-size: 13px;
  color: #9ba7c2;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.specs-strip strong {
  color: #e2e8f0;
}

/* CSS Fallback Mode */
body.css-fallback #gl-canvas {
  display: none;
}

body.css-fallback .fallback-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  gap: 16px;
}

.fb-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #67e8f9;
}

.fallback-type h1 {
  font-size: clamp(2.4rem, 7.5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-shadow: -3px 0 rgba(255, 60, 130, 0.6), 3px 0 rgba(0, 229, 255, 0.6);
}

.fb-sub {
  max-width: 52ch;
  color: #9ba7c2;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .specs-strip {
    grid-template-columns: 1fr;
  }
}
