/* Bölüm 5: Alıcının içi */

/* blok diyagram: tuvalin üstünde saydam, odaklanabilir düğmeler */
.c5-blocks { position: absolute; inset: 0; pointer-events: none; }
.c5-blk {
  position: absolute; pointer-events: auto; cursor: pointer;
  background: transparent; border: 0; border-radius: 7px; padding: 0;
  color: transparent; font-size: 1px; overflow: hidden;
}
.c5-blk:hover { box-shadow: 0 0 0 1px rgba(239, 233, 220, 0.45); }
.c5-blk:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.c5-info {
  padding: 10px 16px; border-top: 1px solid var(--line);
  font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); min-height: 4.4em;
}
.c5-info b { color: var(--ink); font-family: var(--f-display); font-size: 1.08rem; font-weight: 800; letter-spacing: .01em; }

/* karıştırma: spektrumlar + büyük düğme */
.c5-mixgrid { display: grid; grid-template-columns: 1fr 250px; }
.c5-mixmain { position: relative; min-width: 0; min-height: 0; }
.c5-mixmain > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.c5-knobbox { position: relative; border-left: 1px solid var(--line); background: radial-gradient(120% 60% at 50% 30%, rgba(239,233,220,.05), transparent 70%); }
.c5-knobwrap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; }
.c5-knobsq { position: relative; width: min(100%, 230px); aspect-ratio: 1; }
.c5-knob { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; outline: none; border-radius: 50%; }
.c5-knoblab { margin-top: 4px; font-size: 0.78rem; color: var(--muted); }
.c5-knobval { font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.c5-knob:active { cursor: grabbing; }
.c5-knob:focus-visible { box-shadow: inset 0 0 0 2px var(--brass); }

/* bant geçiren: iki tuval alt alta */
.c5-bw { display: grid; grid-template-rows: 1fr 1fr; }
.c5-bwin, .c5-bwout { position: relative; min-height: 0; }
.c5-bwin > canvas, .c5-bwout > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.c5-bwout { border-top: 1px solid var(--line); }
.c5-dim { opacity: 0.4; pointer-events: none; }

.c5-lab { color: var(--muted); font-size: 0.82rem; margin-right: -10px; }
.controls .readouts.c5-ro-wide { width: 100%; }
.controls.c5-flaws { gap: 8px 14px; }
.c5-grp { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-right: 14px; border-right: 1px solid var(--line); }
.c5-grp:last-of-type { border-right: 0; }
.c5-flaws .readouts { width: 100%; }

/* donanım tablosu */
.c5-hwtable { padding: 4px 14px 8px; overflow-x: auto; border-top: 1px solid var(--line); }
.c5-hwtable table { width: 100%; border-collapse: collapse; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.c5-hwtable th, .c5-hwtable td { text-align: left; padding: 4px 6px; border-bottom: 1px solid rgba(38, 64, 74, 0.7); white-space: nowrap; }
.c5-hwtable thead th { color: var(--muted); font-weight: 700; font-size: 0.74rem; }
.c5-hwtable tbody th { color: var(--ink); font-weight: 700; }
.c5-hwtable td { color: var(--ink-2); }
.c5-hwtable tr.c5-ok th { box-shadow: inset 3px 0 0 var(--phase); }
.c5-hwtable tr.c5-no { opacity: 0.55; }
.c5-hwtable .note-small { margin: 6px 0 0; }

@media (max-width: 860px) {
  .c5-mixgrid { grid-template-columns: 1fr; grid-template-rows: 1fr 260px; }
  .c5-knobsq { width: 190px; }
  .c5-knobbox { border-left: 0; border-top: 1px solid var(--line); }
  .c5-grp { border-right: 0; padding-right: 0; }
}
.c5-pair { display: inline-flex; align-items: center; gap: 10px; }
.c5-pair .c5-lab { margin-right: 0; }
.c5-tag { font-weight: 700; font-size: 0.84rem; padding: 0.32em 0.2em; }
.controls.c5-flaws { display: grid; grid-template-columns: 1fr; gap: 8px; }
.controls.c5-flaws .c5-grp { border-right: 0; padding-right: 0; }
.seg.c5-wrap { flex-wrap: wrap; }
.seg.c5-wrap button { white-space: nowrap; }
.c5-q { margin-right: 0; }
.c5-hwtable small { color: var(--muted); }
.c5-hwtable td:nth-child(2) { white-space: normal; min-width: 11em; }
@media (max-width: 860px) {
  .stage .fill.c5-chain { min-height: 470px; }
  .stage .fill.c5-bw { min-height: 560px; }

}
@media (max-width: 860px) {
  .stage .fill.c5-tall { min-height: 560px; }
  .stage .fill.c5-hwfill { min-height: 520px; }
  .stage .fill.c5-mixgrid { min-height: 780px; }
}
.c5-hwtable td:nth-child(3), .c5-hwtable td:nth-child(5) { white-space: normal; }
