/* Detay + sonuç — bulanık zemin üzerinde açık okuma sayfası (legacy içerik uyumlu) */

.read-v9.anket-v8 {
  height: auto;
  min-height: 100dvh;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
}

.read-v9 .anket-v8__page {
  height: auto;
  min-height: 100dvh;
  max-height: none;
  overflow: visible;
  padding: 0.85rem 1rem 2.5rem;
}

@media (min-width: 768px) {
  .read-v9 .anket-v8__page {
    padding: 1rem 1.5rem 3rem;
  }
}

.read-v9__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto 1.15rem;
  flex-shrink: 0;
}

.read-v9__logo {
  display: block;
  line-height: 0;
}

.read-v9__logo img {
  height: clamp(2.75rem, 8vw, 3.75rem);
  width: auto;
  max-width: min(280px, 55vw);
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.4));
}

.read-v9__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.read-v9__nav a,
.read-v9__nav button {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.48rem 0.72rem;
  border-radius: var(--opt-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.read-v9__nav a:hover,
.read-v9__nav button:hover {
  background: rgba(0, 0, 0, 0.42);
}

.read-v9__nav-cta {
  background: var(--green) !important;
  border-color: transparent !important;
  color: #0d1608 !important;
}

.read-v9__main {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
}

.read-v9__sheet {
  font-family: var(--font);
  background: #f7f9fc;
  color: #1e2a36;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.read-v9__sheet-head {
  padding: 1.35rem 1.35rem 0.85rem;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.read-v9__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a7a32;
}

.read-v9__title {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: #12313e;
  letter-spacing: -0.02em;
}

.read-v9__banner-wrap {
  padding: 0;
  line-height: 0;
  background: #e8eef4;
}

.read-v9__banner {
  display: block;
  width: 100%;
  height: auto;
}

.read-v9__cms {
  padding: 1.25rem 1.35rem 1.5rem;
  font-size: 1rem;
  line-height: 1.72;
  color: #3d4f5f;
}

@media (min-width: 768px) {
  .read-v9__sheet-head {
    padding: 1.6rem 1.75rem 1rem;
  }

  .read-v9__cms {
    padding: 1.5rem 1.75rem 1.75rem;
  }
}

/* Legacy DB HTML */
.read-v9__cms p {
  margin: 0 0 1rem;
  background: transparent !important;
  color: #3d4f5f !important;
}

.read-v9__cms strong,
.read-v9__cms b {
  color: #12313e;
  font-weight: 700;
}

.read-v9__cms h1,
.read-v9__cms h2,
.read-v9__cms h3,
.read-v9__cms h4 {
  margin: 1.5rem 0 0.65rem;
  color: #12313e !important;
  font-weight: 700;
  line-height: 1.35;
  background: transparent !important;
}

.read-v9__cms .section-title {
  margin: 1.75rem 0 0.5rem;
  padding: 0;
  border: none;
}

.read-v9__cms .section-title p {
  margin: 0;
  font-size: 1.05rem;
}

.read-v9__cms ul,
.read-v9__cms ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.read-v9__cms li {
  margin-bottom: 0.4rem;
  color: #3d4f5f !important;
  background: transparent !important;
}

.read-v9__cms a {
  color: #0d6b4c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.read-v9__cms img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0.75rem 0;
}

.read-v9__cms table {
  width: 100% !important;
  margin: 1rem 0;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.read-v9__cms td,
.read-v9__cms th {
  padding: 0.55rem 0.65rem !important;
  border: 1px solid #d0dae4 !important;
  background: #fff !important;
  color: #2a3642 !important;
  vertical-align: top;
}

.read-v9__cms th {
  background: #eef3f8 !important;
  font-weight: 600;
}

.read-v9__cms div {
  background: transparent !important;
}

/* —— Sonuç: skor + ölçek (duruma göre ton) —— */
.read-v9__score {
  padding: 1.25rem 1.35rem 1.15rem;
  color: #fff;
}

.read-v9__score--low {
  background: linear-gradient(145deg, #1a3d28 0%, #234a32 48%, #1e402c 100%);
}

.read-v9__score--mid {
  background: linear-gradient(145deg, #3d3a18 0%, #4a451c 48%, #3f3a19 100%);
}

.read-v9__score--high {
  background: linear-gradient(145deg, #4a2f14 0%, #5c3a18 48%, #4d3216 100%);
}

.read-v9__score--critical {
  background: linear-gradient(145deg, #4a1c1c 0%, #5c2424 48%, #4d1f1f 100%);
}

.read-v9__score-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.read-v9__score-value {
  font-size: clamp(3rem, 12vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.read-v9__score-value--low {
  color: #b8f08a;
}

.read-v9__score-value--mid {
  color: #ffe566;
}

.read-v9__score-value--high {
  color: #ffcc80;
}

.read-v9__score-value--critical {
  color: #ffab91;
}

.read-v9__score-meta {
  text-align: right;
}

.read-v9__score-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.read-v9__score-band {
  font-size: 0.95rem;
  font-weight: 700;
}

.read-v9__score--low .read-v9__score-band {
  color: #d4f5b8;
}

.read-v9__score--mid .read-v9__score-band {
  color: #fff3a0;
}

.read-v9__score--high .read-v9__score-band {
  color: #ffe0b2;
}

.read-v9__score--critical .read-v9__score-band {
  color: #ffcdd2;
}

.read-v9__meter {
  margin-top: 0.85rem;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
}

.read-v9__meter-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease-out;
}

.read-v9__meter--low {
  background: rgba(0, 0, 0, 0.28);
}

.read-v9__meter--low .read-v9__meter-fill {
  background: linear-gradient(90deg, #6bab3c, #9ae66e);
}

.read-v9__meter--mid {
  background: rgba(0, 0, 0, 0.28);
}

.read-v9__meter--mid .read-v9__meter-fill {
  background: linear-gradient(90deg, #c9a000, #ffe566);
}

.read-v9__meter--high {
  background: rgba(0, 0, 0, 0.28);
}

.read-v9__meter--high .read-v9__meter-fill {
  background: linear-gradient(90deg, #e65100, #ffb74d);
}

.read-v9__meter--critical {
  background: rgba(0, 0, 0, 0.28);
}

.read-v9__meter--critical .read-v9__meter-fill {
  background: linear-gradient(90deg, #c62828, #ff8a80);
}

.read-v9__scale-label {
  margin: 0.45rem 0 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* 404 ve hata / geçersiz URL kartı */
.read-v9__error {
  padding: 1.75rem 1.35rem 1.5rem;
  text-align: center;
  background: linear-gradient(165deg, #f7fafc 0%, #eef4f8 55%, #e8f0f6 100%);
  border-bottom: 1px solid #d8e4ee;
}

.read-v9__error--status {
  padding-top: 1.5rem;
}

.read-v9__error-code {
  margin: 0;
  font-size: clamp(4.5rem, 22vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #12313e;
  opacity: 0.12;
}

.read-v9__error-code-label {
  margin: -1.75rem 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a5468;
}

.read-v9__error-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #1a5468;
  background: rgba(26, 84, 104, 0.1);
  font-size: 1.35rem;
}

.read-v9__error-attempt {
  margin: 0 0 0.85rem;
}

.read-v9__error-attempt-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7c8f;
  margin-bottom: 0.2rem;
}

.read-v9__error-attempt-value {
  font-size: clamp(2.25rem, 10vw, 3rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: #8a9baa;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(198, 40, 40, 0.45);
}

.read-v9__error-path {
  margin: 0 0 1rem;
}

.read-v9__error-path-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7c8f;
  margin-bottom: 0.35rem;
}

.read-v9__error-path-value {
  display: inline-block;
  max-width: 100%;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #2a4554;
  word-break: break-all;
  background: rgba(18, 49, 62, 0.06);
  border: 1px solid #d0dae4;
  border-radius: 0.35rem;
}

.read-v9__error-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
  color: #12313e;
}

.read-v9__error-lead {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  color: #2a4554;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.read-v9__error-text {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #3d4f5f;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.read-v9__error-scale {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 22rem;
  margin: 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #5a6d7e;
}

.read-v9__error-scale-bar {
  position: relative;
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c8e6c9 0%, #fff9c4 40%, #ffcc80 70%, #ffcdd2 100%);
  box-shadow: inset 0 0 0 1px rgba(18, 49, 62, 0.08);
}

.read-v9__error-scale-bar::before,
.read-v9__error-scale-bar::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 2px;
  height: 14px;
  border-radius: 1px;
  background: #12313e;
  opacity: 0.35;
}

.read-v9__error-scale-bar::before {
  left: 0;
}

.read-v9__error-scale-bar::after {
  right: 0;
}

.read-v9__footer--error {
  margin-top: 0;
  border-top: 1px solid #e8eef4;
}

.read-v9__result-img {
  display: block;
  width: 100%;
  height: auto;
}

.read-v9__body-block {
  padding: 1.25rem 1.35rem;
}

.read-v9__body-block + .read-v9__body-block {
  padding-top: 0.5rem;
}

.read-v9__lead {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: #12313e;
}

.read-v9__text {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #3d4f5f;
}

.read-v9__block-title {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #12313e;
}

.read-v9__list {
  margin: 0;
  padding: 0 0 0 1.1rem;
}

.read-v9__list li {
  margin-bottom: 0.45rem;
  line-height: 1.55;
  color: #3d4f5f;
}

.read-v9__below {
  margin-top: 1.25rem;
  padding: 0 0.15rem;
}

.read-v9__chips-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.read-v9__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.read-v9__chip {
  display: inline-block;
  padding: 0.42rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}

.read-v9__chip:hover {
  background: rgba(0, 0, 0, 0.32);
}

.read-v9__chip--current {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.read-v9__footer {
  padding: 1.15rem 1.35rem 1.35rem;
  margin-top: 0.5rem;
  background: #fff;
}

.read-v9__footer-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7c8f;
}

.read-v9__share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.read-v9__share a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #12313e;
  text-decoration: none;
  border: 1px solid #d0dae4;
  border-radius: var(--opt-radius);
  background: #f7f9fc;
}

.read-v9__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.read-v9__actions .anket-v8__btn {
  flex: 1 1 10rem;
  margin-left: 0 !important;
  text-decoration: none;
  justify-content: center;
}