/* Dijital Karne (/dijital-karne/) — yalnızca bu sayfada yüklenir (ozel.json "stil"). Renkler main.css :root'tan. */
.dijital-karne { padding-top: clamp(110px, 12vw, 160px); padding-bottom: clamp(60px, 8vw, 110px); }
.dk-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.dk-head .eyebrow a { color: inherit; text-decoration: none; }
.dk-head .head-note { max-width: 56ch; }
.dk-app { max-width: 820px; }
.dk-gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.dk-card { display: grid; gap: 22px; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, rgba(201, 162, 74, .08), rgba(201, 162, 74, .01) 55%), var(--card); }
.dk-kicker { margin: 0; font: 700 .72rem/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }

/* Başlangıç */
.dk-field { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.dk-field > span, .dk-field legend { padding: 0; font-weight: 700; color: var(--ivory); }
.dk-field i { font-style: normal; font-weight: 500; color: var(--mute); }
.dk-field input[type=text], .dk-field select { width: 100%; padding: .95rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, .35); color: var(--ivory); font: 500 1rem/1.3 var(--body); }
.dk-field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-hi) 50%), linear-gradient(135deg, var(--gold-hi) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.6rem; }
.dk-field select option { background: #12110e; }
.dk-field input:focus-visible, .dk-field select:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.dk-field legend { margin-bottom: 10px; }
.dk-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.dk-chips label { position: relative; cursor: pointer; }
.dk-chips input, .dk-opt input { position: absolute; opacity: 0; pointer-events: none; }
.dk-chips span { display: inline-block; padding: .7rem 1.05rem; border: 1px solid var(--line); border-radius: 100px; font: 600 .92rem/1.2 var(--body); color: var(--ivory); transition: background .25s, color .25s, border-color .25s; }
.dk-chips label:hover span { border-color: var(--gold-hi); }
.dk-chips input:checked + span { background: var(--gold-grad); color: #14110a; border-color: transparent; }
.dk-chips input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.dk-go { justify-self: start; }
.dk-safe { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .88rem; line-height: 1.5; color: var(--mute); }
.dk-safe svg { flex: none; margin-top: 3px; color: var(--gold-hi); }

/* Sorular */
.dk-bar { height: 4px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.dk-bar span { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width .45s var(--ease); }
.dk-q { display: grid; gap: 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.dk-soru { padding: 0; font: 500 clamp(1.7rem, 3.4vw, 2.5rem)/1.15 var(--display); color: var(--ivory); text-wrap: balance; }
.dk-ipucu { margin: -4px 0 4px; color: var(--mute); font-size: .95rem; }
.dk-opts { display: grid; gap: 10px; }
.dk-opt { position: relative; display: block; cursor: pointer; }
.dk-opt span { display: flex; align-items: center; gap: 14px; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(0, 0, 0, .25); font: 600 1rem/1.35 var(--body); color: var(--ivory); transition: border-color .25s, background .25s, transform .25s var(--ease); }
.dk-opt span::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid var(--gold); border-radius: 50%; transition: box-shadow .25s, background .25s; }
.dk-opt:hover span { border-color: var(--gold-hi); transform: translateX(3px); }
.dk-opt input:checked + span { border-color: var(--gold-hi); background: rgba(201, 162, 74, .14); }
.dk-opt input:checked + span::before { background: var(--gold-hi); box-shadow: inset 0 0 0 3px #12110e; }
.dk-opt input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.dk-opt-bilmiyor span { color: var(--mute); font-weight: 500; }
.dk-nav { display: flex; justify-content: space-between; }
.dk-gir { animation: dk-gir .45s var(--ease) both; }
@keyframes dk-gir { from { opacity: 0; transform: translateY(12px); } }

/* Karne */
.dk-result { display: grid; gap: clamp(20px, 3vw, 32px); }
.dk-result[hidden], .dk-card[hidden] { display: none; }
.dk-karne { padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(120% 80% at 100% 0, rgba(201, 162, 74, .16), transparent 60%), var(--card); }
.dk-karne-head { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.dk-isletme { margin: 6px 0 4px; font: 500 clamp(2rem, 4.6vw, 3.2rem)/1.05 var(--display); color: var(--ivory); overflow-wrap: anywhere; }
.dk-alt { margin: 0; color: var(--mute); }
.dk-puan { position: relative; flex: none; display: grid; place-content: center; justify-items: center; gap: 6px; width: clamp(120px, 22vw, 160px); aspect-ratio: 1; }
.dk-puan svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.dk-puan circle { fill: none; stroke-width: 8; }
.dk-halka-zemin { stroke: var(--line-soft); }
.dk-halka { stroke: var(--gold-hi); stroke-linecap: round; }
.dk-puan b { font: 600 clamp(2.6rem, 6vw, 3.6rem)/1 var(--display); color: var(--ivory); }
.dk-puan small { font: 700 .72rem/1 var(--body); letter-spacing: .1em; color: var(--mute); }
.dk-dersler { width: 100%; border-collapse: collapse; margin-top: 8px; }
.dk-dersler thead th { padding: 14px 0 6px; font: 700 .68rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); text-align: left; }
.dk-dersler thead th:nth-child(2) { text-align: center; }
.dk-dersler tbody th, .dk-dersler td { padding: 16px 0; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.dk-dersler tbody th { font: 500 clamp(1.3rem, 2.4vw, 1.7rem)/1.15 var(--display); color: var(--ivory); text-align: left; padding-right: 12px; }
.dk-not { width: 70px; text-align: center; font: 600 clamp(2.2rem, 4vw, 2.8rem)/1 var(--display); color: var(--gold-hi); }
.dk-dersler td:last-child { width: 42%; }
.dk-cubuk { display: block; height: 6px; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.dk-cubuk i { display: block; height: 100%; border-radius: inherit; background: var(--gold-grad); }
.dk-dersler em { display: block; margin-top: 8px; font: 700 .78rem/1 var(--body); font-style: normal; letter-spacing: .06em; color: var(--mute); }
.dk-n1 .dk-not, .dk-n2 .dk-not { color: #e9a07a; }
.dk-n1 .dk-cubuk i, .dk-n2 .dk-cubuk i { background: linear-gradient(90deg, #b5643f, #e9a07a); }
.dk-puan.dk-n1 .dk-halka, .dk-puan.dk-n2 .dk-halka { stroke: #e9a07a; }
.dk-yorum { margin: 20px 0 0; color: var(--ivory); line-height: 1.6; max-width: 62ch; }

.dk-oneriler h3 { margin: 0 0 16px; font: 500 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--display); color: var(--ivory); }
.dk-oneriler ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: dk; }
.dk-oneriler li { position: relative; display: grid; gap: 6px; padding: 20px 22px 20px 70px; border: 1px solid var(--line-soft); border-radius: 18px; background: var(--card); counter-increment: dk; }
.dk-oneriler li::before { content: counter(dk); position: absolute; left: 22px; top: 18px; font: 600 2rem/1 var(--display); color: var(--gold-hi); }
.dk-ilk li { border-color: var(--line); }
.dk-oneriler li b { font: 700 .7rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.dk-oneriler li p { margin: 0; color: var(--ivory); line-height: 1.55; }
.dk-oneriler li a { justify-self: start; font: 700 .88rem/1.4 var(--body); color: var(--gold-hi); text-decoration: none; border-bottom: 1px solid var(--line); }
.dk-oneriler li a:hover { border-color: var(--gold-hi); }
.dk-tum { margin-top: 14px; }
.dk-tum summary { cursor: pointer; padding: 10px 0; font-weight: 700; color: var(--gold-hi); }
.dk-tum ol { counter-reset: dk 3; }

.dk-cta { display: grid; gap: 18px; padding: clamp(22px, 4vw, 36px); border: 1px dashed var(--line); border-radius: 24px; background: linear-gradient(160deg, rgba(201, 162, 74, .12), rgba(201, 162, 74, .02)); }
.dk-cta p { margin: 0; line-height: 1.6; }
.dk-cta b { color: var(--gold-hi); }
.dk-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dk-yeniden { padding: .6rem .4rem; border: 0; background: none; color: var(--mute); font: 600 .9rem/1 var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.dk-yeniden:hover { color: var(--gold-hi); }

@media (max-width: 640px) {
  .dk-karne-head { flex-direction: column-reverse; align-items: flex-start; }
  .dk-dersler thead { display: none; }
  .dk-dersler tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .dk-dersler tbody th, .dk-dersler td { padding: 0; border: 0; }
  .dk-dersler td:last-child { grid-column: 1 / -1; width: auto; }
  .dk-not { width: auto; grid-row: 1; grid-column: 2; }
  .dk-oneriler li { padding: 18px 18px 18px 56px; }
  .dk-oneriler li::before { left: 18px; }
  .dk-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .dk-gir { animation: none; }
  .dk-bar span, .dk-opt span { transition: none; }
}
