/* byteomi-runtime-atlas/gpu-compositor-timeline.html — telemetry panel */

.doc-byteomi-preset.doc-byteomi-preset--hero.doc-byteomi-preset--gpu-compositor {
  max-width: min(100%, 72rem);
  width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  border: 1px solid rgba(70, 90, 120, 0.28);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(8, 12, 20, 0.98) 0%, rgba(5, 8, 14, 0.99) 100%);
  padding: 0.65rem 0.75rem 0.85rem;
}

.doc-byteomi-preset--gpu-compositor .doc-byteomi-preset__tag {
  color: rgba(120, 200, 220, 0.92);
  letter-spacing: 0.14em;
}

.doc-byteomi-preset--gpu-compositor .doc-byteomi-preset__lead {
  color: rgba(165, 185, 215, 0.88);
}

/* Shared Atlas guide prose — telemetry cyan gradient labels */

.doc-atlas-guide__read-list {
  --atlas-label-grad: linear-gradient(
    108deg,
    #6ee7f2 0%,
    #5ec8ff 28%,
    #8890ff 58%,
    #7ee8d8 92%
  );
  margin: 0.5rem 0 0;
  padding-left: 0;
  list-style: none;
  color: rgba(175, 192, 215, 0.92);
}

.doc-atlas-guide__read-list li {
  position: relative;
  margin-bottom: 0.7rem;
  padding-left: 1rem;
  line-height: 1.58;
}

.doc-atlas-guide__read-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(145deg, #5ec8ff 0%, #8890ff 100%);
}

.doc-atlas-guide__label {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--atlas-label-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #8ec5ff;
}

.doc-atlas-guide__read-list li em {
  font-style: normal;
  font-weight: 600;
  color: rgba(200, 195, 225, 0.92);
}

.doc-atlas-guide__steps {
  margin: 0.65rem 0;
  padding-left: 1.25rem;
  list-style: none;
  counter-reset: atlas-step;
}

.doc-atlas-guide__steps li {
  position: relative;
  margin-bottom: 0.45rem;
  padding-left: 0.35rem;
  line-height: 1.5;
  color: rgba(175, 200, 230, 0.92);
}

.doc-atlas-guide__steps li::before {
  counter-increment: atlas-step;
  content: counter(atlas-step);
  position: absolute;
  left: -1.25rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(100, 200, 230, 0.9);
}

.doc-atlas-guide__stage-map {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

@media (min-width: 520px) {
  .doc-atlas-guide__stage-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.doc-atlas-guide__stage-map li {
  margin: 0;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(70, 110, 160, 0.22);
  background: rgba(6, 10, 18, 0.65);
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(165, 190, 220, 0.9);
}

.doc-atlas-guide__stage-map strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(102deg, #7ee8d8 0%, #5ec8ff 50%, #9890ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.doc-atlas-guide__insight {
  margin: 0.85rem 0 0;
  padding: 0.55rem 0.65rem;
  border-left: 2px solid rgba(90, 180, 220, 0.5);
  border-radius: 0 8px 8px 0;
  background: rgba(6, 10, 18, 0.55);
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(190, 210, 235, 0.92);
}

.doc-atlas-guide__controls {
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.doc-atlas-guide__controls div {
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(70, 110, 160, 0.22);
  background: rgba(6, 10, 18, 0.55);
}

.doc-atlas-guide__controls dt {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(102deg, #7ee8d8 0%, #5ec8ff 45%, #9890ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.doc-atlas-guide__controls dd {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(165, 190, 225, 0.88);
}

.doc-atlas-guide__control-insight {
  display: block;
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px dashed rgba(70, 110, 160, 0.28);
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(150, 175, 210, 0.88);
}

.doc-atlas-guide__control-insight em {
  font-style: normal;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  color: rgba(100, 200, 230, 0.92);
}

.doc-gct-lab__runtime-note {
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.55rem 0.45rem 0.65rem;
  border-left: 2px solid rgba(90, 160, 200, 0.45);
  border-radius: 0 6px 6px 0;
  background: rgba(6, 10, 18, 0.85);
  font-size: 0.68rem;
  line-height: 1.5;
  color: rgba(150, 175, 210, 0.88);
}

.doc-gct-lab__runtime-note-label {
  display: block;
  margin-bottom: 0.2rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(100, 180, 210, 0.8);
}

.doc-gct-lab__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(50, 70, 100, 0.45);
  background:
    radial-gradient(rgba(255, 255, 255, 0.018) 0.5px, transparent 0.5px),
    linear-gradient(
      180deg,
      rgba(3, 6, 12, 0.98) 0%,
      rgba(6, 10, 18, 0.95) 100%
    );
  background-size:
    4px 4px,
    100% 100%;
  box-shadow:
    inset 0 1px 0 rgba(80, 120, 160, 0.08),
    inset 0 -8px 16px rgba(0, 0, 0, 0.35),
    inset 0 0 28px rgba(0, 0, 0, 0.25);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.doc-gct-lab__toolbar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(60, 90, 130, 0.03) 2px,
      rgba(60, 90, 130, 0.03) 3px
    ),
    radial-gradient(
      ellipse 120% 80% at 50% 50%,
      transparent 40%,
      rgba(0, 0, 0, 0.35) 100%
    );
  z-index: 0;
}

.doc-gct-lab__toolbar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(90, 160, 200, 0.25) 20%,
      rgba(90, 160, 200, 0.25) 80%,
      transparent
    )
    bottom / 100% 1px no-repeat,
    linear-gradient(
      180deg,
      rgba(70, 130, 180, 0.05) 0%,
      transparent 35%,
      transparent 65%,
      rgba(40, 80, 120, 0.04) 100%
    );
  opacity: 0.9;
  animation: gct-toolbar-phosphor 3.6s ease-in-out infinite;
  z-index: 0;
}

.doc-gct-lab__toolbar > * {
  position: relative;
  z-index: 1;
}

@keyframes gct-toolbar-phosphor {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}

.doc-gct-lab__rec {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ff7070;
}

.doc-gct-lab__rec::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5050;
  animation: gct-rec-pulse 1.2s ease-in-out infinite;
}

.doc-gct-lab__rec.is-paused {
  color: rgba(130, 150, 170, 0.8);
}

.doc-gct-lab__rec.is-paused::before {
  animation: none;
  background: rgba(120, 130, 150, 0.6);
}

@keyframes gct-rec-pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.doc-gct-lab__pause-btn,
.doc-gct-lab__buffer-btn {
  padding: 0.26rem 0.5rem;
  border-radius: 5px;
  border: 1px solid rgba(80, 105, 140, 0.4);
  background: rgba(8, 14, 24, 0.95);
  color: rgba(175, 200, 230, 0.9);
  font-family: inherit;
  font-size: 0.54rem;
  cursor: pointer;
}

.doc-gct-lab__buffer-btn.is-active {
  border-color: rgba(90, 200, 220, 0.55);
  color: #6ee7f2;
}

.doc-gct-lab__scrub {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  min-width: 8rem;
  font-size: 0.52rem;
  color: rgba(130, 160, 195, 0.85);
}

.doc-gct-lab__scrub input {
  flex: 1;
  accent-color: #5ec8ff;
}

.doc-gct-lab__hud-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  padding: 0.35rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(45, 65, 95, 0.35);
  background: rgba(4, 7, 13, 0.75);
}

.doc-gct-lab__metric {
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(55, 75, 105, 0.4);
  background: rgba(5, 9, 16, 0.95);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.doc-gct-lab__metric-label {
  display: block;
  font-size: 0.46rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(100, 130, 165, 0.75);
  margin-bottom: 0.1rem;
}

.doc-gct-lab__metric strong {
  font-size: 0.72rem;
  color: rgba(210, 225, 245, 0.95);
}

.doc-gct-lab__metric--fps strong {
  color: #7ee8d8;
}

.doc-gct-lab__metric--drop strong {
  color: #ff8a80;
}

.doc-gct-lab__metric.is-glow-active {
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.doc-gct-lab__metric.is-glow-cpu.is-glow-active {
  border-color: rgba(255, 168, 72, 0.42);
  box-shadow:
    0 0 10px rgba(255, 140, 60, 0.12),
    inset 0 0 12px rgba(255, 150, 80, 0.04);
  animation: gct-glow-amber 2.6s ease-in-out infinite;
}

.doc-gct-lab__metric.is-glow-gpu.is-glow-active {
  border-color: rgba(140, 110, 255, 0.42);
  box-shadow:
    0 0 10px rgba(120, 100, 255, 0.14),
    inset 0 0 12px rgba(140, 110, 255, 0.05);
  animation: gct-glow-violet 2.4s ease-in-out infinite;
}

.doc-gct-lab__metric.is-glow-latency.is-glow-active {
  border-color: rgba(90, 200, 220, 0.4);
  box-shadow:
    0 0 10px rgba(80, 190, 230, 0.12),
    inset 0 0 12px rgba(80, 190, 230, 0.04);
  animation: gct-glow-cyan 2.8s ease-in-out infinite;
}

@keyframes gct-glow-amber {
  0%,
  100% {
    box-shadow:
      0 0 8px rgba(255, 140, 60, 0.08),
      inset 0 0 10px rgba(255, 150, 80, 0.03);
  }
  50% {
    box-shadow:
      0 0 14px rgba(255, 140, 60, 0.18),
      inset 0 0 14px rgba(255, 150, 80, 0.06);
  }
}

@keyframes gct-glow-violet {
  0%,
  100% {
    box-shadow:
      0 0 8px rgba(120, 100, 255, 0.1),
      inset 0 0 10px rgba(140, 110, 255, 0.04);
  }
  50% {
    box-shadow:
      0 0 14px rgba(120, 100, 255, 0.2),
      inset 0 0 14px rgba(140, 110, 255, 0.07);
  }
}

@keyframes gct-glow-cyan {
  0%,
  100% {
    box-shadow:
      0 0 8px rgba(80, 190, 230, 0.08),
      inset 0 0 10px rgba(80, 190, 230, 0.03);
  }
  50% {
    box-shadow:
      0 0 14px rgba(80, 190, 230, 0.16),
      inset 0 0 14px rgba(80, 190, 230, 0.05);
  }
}

.doc-gct-lab__insight {
  margin: 0 0 0.45rem;
  padding: 0.4rem 0.5rem;
  border-left: 2px solid rgba(80, 160, 200, 0.4);
  border-radius: 0 6px 6px 0;
  background: rgba(4, 8, 14, 0.9);
  font-size: 0.64rem;
  line-height: 1.48;
  color: rgba(155, 180, 215, 0.9);
}

.doc-gct-lab__insight-label {
  display: block;
  margin-bottom: 0.12rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(100, 170, 210, 0.75);
}

.doc-gct-lab__mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 0.32rem;
  margin-bottom: 0.45rem;
}

.doc-gct-lab__mode-btn {
  padding: 0.32rem 0.4rem;
  border-radius: 5px;
  border: 1px solid rgba(60, 80, 115, 0.45);
  background: rgba(6, 10, 18, 0.92);
  color: rgba(160, 185, 220, 0.88);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.doc-gct-lab__mode-btn:hover {
  border-color: rgba(90, 160, 200, 0.45);
}

.doc-gct-lab__mode-btn.is-active {
  border-color: rgba(90, 200, 230, 0.55);
  color: #8ef2fb;
  background: rgba(8, 20, 32, 0.95);
}

.doc-gct-lab__timeline-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(55, 75, 105, 0.45);
  background: #070b12;
  min-height: 280px;
  margin-top: 0.15rem;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.45);
}

.doc-gct-lab__timeline-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(80, 140, 180, 0.04) 0%,
    transparent 12%,
    transparent 88%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}

.doc-gct-lab__timeline {
  display: block;
  width: 100%;
  min-height: 280px;
}

.doc-gct-lab__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-top: 0.4rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  color: rgba(120, 145, 175, 0.8);
}

.doc-gct-lab__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.doc-gct-lab__legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.doc-gct-lab__legend i[data-c="main"] {
  background: rgba(255, 168, 72, 0.9);
}

.doc-gct-lab__legend i[data-c="comp"] {
  background: rgba(46, 210, 230, 0.85);
}

.doc-gct-lab__legend i[data-c="gpu"] {
  background: rgba(120, 100, 255, 0.85);
}

.doc-gct-lab__legend i[data-c="present"] {
  background: rgba(72, 210, 130, 0.88);
}

.doc-gct-lab__legend i[data-c="stale"] {
  background: rgba(220, 80, 180, 0.82);
}

.doc-gct-lab__legend i[data-c="gap"] {
  background: rgba(255, 90, 100, 0.5);
}

.doc-gct-lab__readout {
  margin: 0.45rem 0 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.54rem;
  color: rgba(130, 160, 195, 0.85);
}

.doc-gct-lab__hint {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(150, 175, 210, 0.82);
}

.doc-gct-lab__buffer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 0.45rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.52rem;
  color: rgba(130, 155, 190, 0.85);
}

/* §5 Ne görmelisiniz — signal cards (V8 / Paint Storm pattern) */

.doc-byteomi-preset--gpu-compositor ~ .doc-section .doc-atlas-guide__signals,
.doc-article .doc-atlas-guide__signals {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.65rem;
}

@media (min-width: 640px) {
  .doc-byteomi-preset--gpu-compositor ~ .doc-section .doc-atlas-guide__signals,
  .doc-article .doc-atlas-guide__signals {
    grid-template-columns: 1fr 1fr;
  }
}

.doc-article .doc-atlas-guide__signal {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(70, 100, 140, 0.28);
  background: rgba(6, 10, 18, 0.55);
}

.doc-article .doc-atlas-guide__signal .doc-h3 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
}

.doc-article .doc-atlas-guide__signal ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(165, 190, 220, 0.9);
}

.doc-article .doc-atlas-guide__signal code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  padding: 0.08rem 0.28rem;
  border-radius: 3px;
  background: rgba(8, 14, 24, 0.85);
  color: rgba(130, 220, 180, 0.92);
}

.doc-article .doc-atlas-guide__signal--ok {
  border-color: rgba(70, 200, 150, 0.32);
  background: rgba(6, 22, 18, 0.5);
}

.doc-article .doc-atlas-guide__signal--ok .doc-h3 {
  color: rgba(100, 220, 175, 0.95);
}

.doc-article .doc-atlas-guide__signal--warn {
  border-color: rgba(255, 168, 72, 0.32);
  background: rgba(22, 14, 8, 0.5);
}

.doc-article .doc-atlas-guide__signal--warn .doc-h3 {
  color: rgba(255, 185, 110, 0.95);
}

.doc-article .doc-atlas-guide__signal--bad {
  border-color: rgba(255, 90, 100, 0.38);
  background: rgba(24, 8, 12, 0.52);
}

.doc-article .doc-atlas-guide__signal--bad .doc-h3 {
  color: rgba(255, 130, 120, 0.95);
}

.doc-article .doc-atlas-guide__signal--bad code {
  color: rgba(255, 160, 150, 0.92);
}

.doc-article .doc-atlas-guide__crosslink {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(165, 190, 225, 0.85);
}

.doc-article .doc-atlas-guide__crosslink a {
  color: rgba(100, 200, 230, 0.95);
}

.doc-atlas-guide__plain--under-demo {
  margin-top: 1rem;
}

.doc-atlas-guide__plain {
  margin-top: 1.25rem;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(70, 110, 150, 0.28);
  background: rgba(6, 10, 18, 0.62);
}

.doc-atlas-guide__plain .doc-h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: rgba(140, 210, 235, 0.95);
}

.doc-atlas-guide__plain p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(175, 195, 225, 0.92);
}

.doc-atlas-guide__plain p:last-child {
  margin-bottom: 0;
}

.doc-atlas-guide__plain code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.84em;
  color: rgba(120, 200, 230, 0.95);
}

.doc-atlas-guide__plain em {
  font-style: normal;
  font-weight: 600;
  color: rgba(160, 210, 240, 0.95);
}

.doc-atlas-guide__plain a {
  color: rgba(100, 200, 230, 0.95);
}

@media (max-width: 640px) {
  .doc-gct-lab__hud-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doc-gct-lab__mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doc-gct-lab__scrub {
    flex: 1 1 100%;
    min-width: 0;
  }

  .doc-gct-lab__timeline-wrap,
  .doc-gct-lab__timeline {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doc-gct-lab__rec::before {
    animation: none;
  }

  .doc-gct-lab__toolbar::after {
    animation: none;
  }

  .doc-gct-lab__metric.is-glow-active {
    animation: none;
  }
}
