/* =========================================================
   Sevgi Öğretmen · site.css
   "Görev Kartı" tasarımı: kalın mürekkep hatlar, sert blok gölgeler,
   doygun çıkartma renkleri, kareli defter zemini. Dış yazı tipi yok (KVKK, hız).
   ========================================================= */
:root {
  --ink: #14213d;
  --paper: #fffdf7;
  --grid: #e8e3d6;
  --muted: #5b6478;
  --c1: #ff5a5f; --c1s: #ffe4e5;
  --c2: #ffb703; --c2s: #fff1c7;
  --c3: #11b5a3; --c3s: #d7f5f0;
  --c4: #7b61ff; --c4s: #e7e2ff;
  --c5: #7cc935; --c5s: #e6f6d4;
  --ok: #1f9d55; --oks: #dcf5e6;
  --bad: #e0393e; --bads: #ffe1e2;
  --font-head: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --shadow: 6px 6px 0 var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(var(--grid) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
b, strong { font-weight: 800; }
code { background: #fff; border: 1.5px solid var(--ink); border-radius: 6px; padding: 0 6px; font-size: .92em; }
.no-print {}
.print-only { display: none; }
.c1 { --c: var(--c1); --cs: var(--c1s); }
.c2 { --c: var(--c2); --cs: var(--c2s); }
.c3 { --c: var(--c3); --cs: var(--c3s); }
.c4 { --c: var(--c4); --cs: var(--c4s); }
.c5 { --c: var(--c5); --cs: var(--c5s); }

/* ---------- Site iskeleti ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 12px clamp(14px, 3vw, 32px);
  background: var(--ink); color: #fff;
  border-bottom: 4px solid var(--c2);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 42px; height: 46px; display: grid; place-items: center;
  background: var(--c2); color: var(--ink); font-family: var(--font-head); font-weight: 900; font-size: 16px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-family: var(--font-head); font-size: 19px; }
.brand-text small { font-size: 11.5px; color: #9fb3d9; font-weight: 700; letter-spacing: .3px; }
.grade-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.grade-pill {
  text-decoration: none; font-weight: 900; font-size: 13.5px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.35); color: #fff;
}
.grade-pill.active, .grade-pill:hover { background: #fff; color: var(--ink); border-color: #fff; }
.grade-pill.g4 { border-color: var(--c5); } .grade-pill.g5 { border-color: var(--c2); }
.grade-pill.g6 { border-color: var(--c3); } .grade-pill.g7 { border-color: var(--c4); } .grade-pill.g8 { border-color: var(--c1); }

.site-main { max-width: 1120px; margin: 0 auto; padding: clamp(14px, 3vw, 28px); }
.site-footer {
  margin-top: 40px; padding: 18px clamp(14px, 3vw, 32px); border-top: 3px solid var(--ink); background: #fff;
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; font-size: 13px; font-weight: 700;
}
.foot-left { display: flex; flex-direction: column; } .foot-left b { font-family: var(--font-head); font-size: 16px; }
.foot-left span { color: var(--muted); }
.foot-links { display: flex; gap: 14px; }
.foot-sign {
  background: var(--c1); color: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 5px 14px;
  font-family: var(--font-head); font-weight: 900; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink);
}
@media (max-width: 720px) { .site-footer { grid-template-columns: 1fr; } }

.crumbs { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.page-title {
  font-family: var(--font-head); font-weight: 900; font-size: clamp(26px, 4vw, 40px); line-height: 1.05;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 10px;
}
.page-title .num {
  width: 56px; height: 62px; display: grid; place-items: center; background: var(--c); color: var(--ink);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); font-size: 30px;
}
.page-title small { display: block; width: 100%; font-size: 15px; color: var(--muted); font-weight: 700; font-family: var(--font-body); }
.lead { font-size: 17px; font-weight: 600; color: var(--muted); margin: 0 0 20px; }
.section { margin-top: 28px; }
.section-title {
  font-family: var(--font-head); font-weight: 900; font-size: 22px; display: flex; align-items: center; gap: 12px; margin: 0 0 12px;
}
.section-title small { font-size: 13px; color: var(--muted); font-weight: 700; font-family: var(--font-body); }
.section-title::after { content: ""; flex: 1; height: 3px; background: var(--ink); opacity: .15; border-radius: 99px; }
.notice { background: #fff; border: 3px dashed var(--ink); border-radius: var(--radius); padding: 16px 18px; font-weight: 700; color: var(--muted); }

/* ---------- Ana sayfa ---------- */
.hero {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(22px, 4vw, 40px);
  box-shadow: 8px 8px 0 var(--c2); margin-bottom: 26px;
}
.kicker { font-size: 12px; font-weight: 900; letter-spacing: 4px; text-transform: uppercase; color: #9fb3d9; }
.hero h1 { font-family: var(--font-head); font-weight: 900; font-size: clamp(30px, 5vw, 54px); line-height: 1.02; margin: 8px 0 12px; }
.hero h1 em { font-style: normal; color: var(--c2); }
.hero p { font-size: 17px; color: #dbe4f5; max-width: 58ch; margin: 0 0 16px; font-weight: 600; }
.hero-steps { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-steps span { background: rgba(255,255,255,.1); border: 2px dashed rgba(255,255,255,.4); border-radius: 12px; padding: 6px 12px; font-weight: 800; font-size: 14px; }
.hero-steps b { background: var(--c2); color: var(--ink); border-radius: 6px; padding: 0 7px; margin-right: 6px; }
.hex, .q-hex {
  width: 120px; height: 134px; background: var(--c2); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); font-family: var(--font-head); line-height: 1;
}
.hex span { font-size: 14px; font-weight: 900; letter-spacing: 3px; } .hex b { font-size: 56px; font-weight: 900; }
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; } .hero-badge { display: none; } }

.grade-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.grade-card {
  text-decoration: none; background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--c);
  padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; transition: transform .12s;
}
.grade-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--c); }
.grade-num { font-family: var(--font-head); font-weight: 900; font-size: 52px; line-height: 1; color: var(--c); -webkit-text-stroke: 2px var(--ink); }
.grade-label { font-weight: 900; font-size: 17px; }
.grade-count { font-size: 12.5px; color: var(--muted); font-weight: 700; }

.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ex-card {
  text-decoration: none; background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--c);
  padding: 16px; display: flex; flex-direction: column; gap: 6px; transition: transform .12s;
}
.ex-card:hover { transform: translate(-2px, -2px); }
.ex-meta { font-size: 11.5px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.ex-card b { font-family: var(--font-head); font-size: 20px; }
.ex-words { font-size: 13px; color: var(--muted); font-weight: 700; }
.ex-cta { margin-top: 6px; align-self: flex-start; background: var(--c); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px; font-weight: 900; font-size: 13px; }
.teacher-box { background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.teacher-box p { margin: 0; font-weight: 600; }

/* ---------- Sınıf / ünite sayfaları ---------- */
.unit-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.unit-row a {
  display: grid; grid-template-columns: 54px 1.2fr 1.6fr auto; gap: 14px; align-items: center; text-decoration: none;
  background: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: 5px 5px 0 var(--c);
}
.unit-row.pending a { box-shadow: 5px 5px 0 #cfd4de; }
.unit-row a:hover { transform: translate(-2px,-2px); }
.unit-no { width: 44px; height: 44px; display: grid; place-items: center; background: var(--c); border: 3px solid var(--ink); border-radius: 12px; font-family: var(--font-head); font-weight: 900; font-size: 22px; transform: rotate(-6deg); }
.unit-row.pending .unit-no { background: #e9ebf0; }
.unit-titles { display: flex; flex-direction: column; } .unit-titles b { font-family: var(--font-head); font-size: 18px; } .unit-titles small { color: var(--muted); font-weight: 700; }
.unit-words { font-size: 13px; color: var(--muted); font-weight: 700; }
.unit-state { font-size: 12px; font-weight: 900; background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.unit-row.pending .unit-state { background: #e9ebf0; color: var(--muted); }
@media (max-width: 720px) { .unit-row a { grid-template-columns: 50px 1fr; } .unit-words { display: none; } .unit-state { grid-column: 2; justify-self: start; } }

.word-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; font-size: 15px; }
.word-table th { background: var(--ink); color: #fff; text-align: left; padding: 10px 14px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.word-table td { padding: 9px 14px; border-top: 1.5px solid var(--grid); }
.word-table td:first-child { width: 44px; color: var(--muted); font-weight: 900; }

.prose { background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); max-width: 820px; margin: 0 auto; }
.prose h1 { font-family: var(--font-head); font-weight: 900; font-size: 32px; margin: 0 0 12px; }
.prose h2 { font-family: var(--font-head); font-size: 20px; margin: 22px 0 8px; }
.prose li { margin: 6px 0; }
.error-page { text-align: center; } .error-page .q-hex { margin: 0 auto 14px; }

/* ---------- GÖREV KARTI ---------- */
.quest { display: flex; flex-direction: column; gap: 16px; }
.preview-bar { background: var(--c2); border: 3px solid var(--ink); border-radius: 10px; padding: 6px 12px; font-weight: 900; text-align: center; margin-bottom: 12px; }

.q-hud {
  background: var(--ink); color: #fff; border-radius: 22px; padding: 18px 22px 16px;
  display: grid; grid-template-columns: 150px 1fr 300px; gap: 18px; align-items: center; box-shadow: 6px 6px 0 var(--c2);
}
.q-level-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.q-hex { width: 104px; height: 116px; }
.q-hex.big { width: 130px; height: 146px; }
.q-hex-small { font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.q-hex-num { font-size: 56px; font-weight: 900; margin-top: -2px; }
.q-grade-chip { background: #fff; color: var(--ink); font-weight: 900; font-size: 15px; padding: 4px 14px; border-radius: 999px; }
.q-title-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.q-kicker { font-size: 13px; font-weight: 900; letter-spacing: 4px; text-transform: uppercase; color: #9fb3d9; }
.q-title { font-family: var(--font-head); font-weight: 900; font-size: clamp(34px, 5vw, 62px); line-height: .95; letter-spacing: 1px; margin: 0; }
.q-title .ws-title-right { color: var(--c2); }
.q-title-bar { height: 10px; width: 240px; max-width: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--c1) 0 20%, var(--c2) 20% 40%, var(--c3) 40% 60%, var(--c4) 60% 80%, var(--c5) 80% 100%); }
.q-motto { font-size: 15.5px; font-weight: 700; color: #dbe4f5; margin: 2px 0 0; }
.q-tracker { background: rgba(255,255,255,.08); border: 2px dashed rgba(255,255,255,.35); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.q-tracker-title { font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: #9fb3d9; display: flex; justify-content: space-between; }
.q-tracker-title span:last-child { color: var(--c2); }
.q-tracker-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.q-step { background: #fff; color: var(--ink); border-radius: 12px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.q-step-box { width: 22px; height: 22px; border: 3px solid var(--ink); border-radius: 6px; display: grid; place-items: center; font-size: 14px; font-weight: 900; transition: background .2s; }
.q-step-box.done { background: var(--ok); border-color: var(--ok); color: #fff; }
.q-step-box.done::after { content: "✓"; }
.q-step-label { font-family: var(--font-head); font-weight: 900; font-size: 13px; line-height: 1; }
.q-step-xp { font-size: 10px; font-weight: 900; color: #fff; padding: 1px 6px; border-radius: 999px; }
.q-step.s1 .q-step-xp { background: var(--c1); } .q-step.s2 .q-step-xp { background: var(--c3); }
.q-step.s3 .q-step-xp { background: var(--c4); } .q-step.s4 .q-step-xp { background: var(--c5); }
.q-player { display: flex; gap: 10px; font-size: 12px; font-weight: 800; color: #dbe4f5; }
@media (max-width: 900px) { .q-hud { grid-template-columns: 1fr; } .q-level-wrap { flex-direction: row; justify-content: flex-start; } .q-tracker { max-width: 420px; } }

.q-section-label { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 900; font-size: 20px; margin: 4px 0 0; }
.q-section-label::after { content: ""; flex: 1; height: 3px; background: var(--ink); border-radius: 999px; opacity: .15; }
.q-section-label small { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--muted); }

.ws-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 14px; }
.q-card { background: #fff; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--c); padding: 0 0 12px; display: flex; flex-direction: column; align-items: center; position: relative; }
.q-card-top { width: 100%; height: 64px; background: var(--c); border-radius: 16px 16px 0 0; border-bottom: 3px solid var(--ink); position: relative; }
.q-card-num { position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; background: var(--ink); color: #fff; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: 19px; transform: rotate(-8deg); }
.q-card-art { width: 110px; height: 110px; border-radius: 50%; border: 3px solid var(--ink); background: var(--cs); margin-top: -50px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: 48px; color: var(--c); -webkit-text-stroke: 2px var(--ink); position: relative; z-index: 2; }
.q-card-word { font-family: var(--font-head); font-weight: 900; font-size: 21px; line-height: 1.05; text-align: center; margin-top: 10px; padding: 0 10px; }
.q-card-tr { margin-top: 6px; background: var(--cs); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; font-size: 11.5px; font-weight: 800; text-align: center; max-width: 92%; }
.q-bubble { margin: 12px 10px 0; background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; padding: 8px 10px; font-size: 13px; font-weight: 700; font-style: italic; line-height: 1.3; text-align: center; white-space: pre-line; position: relative; min-height: 52px; width: calc(100% - 20px); }
.q-bubble::before { content: ""; position: absolute; top: -11px; left: 50%; margin-left: -8px; width: 14px; height: 14px; background: #fff; border-left: 2.5px solid var(--ink); border-top: 2.5px solid var(--ink); transform: rotate(45deg); }
.q-selfcheck { margin-top: 10px; display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; color: var(--muted); }
.q-selfcheck i { width: 14px; height: 14px; border: 2.5px solid var(--ink); border-radius: 50%; display: inline-block; }

.q-missions { display: flex; flex-direction: column; gap: 26px; margin-top: 10px; }
.q-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.q-row-d { display: grid; grid-template-columns: 1fr 270px; gap: 18px; align-items: start; }
@media (max-width: 900px) { .q-row-2, .q-row-d { grid-template-columns: 1fr; } }
.q-box { background: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--c); padding: 30px 18px 16px; position: relative; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s; }
.q-box.m1 { --c: var(--c1); --cs: var(--c1s); } .q-box.m2 { --c: var(--c3); --cs: var(--c3s); }
.q-box.m3 { --c: var(--c4); --cs: var(--c4s); } .q-box.m4 { --c: var(--c5); --cs: var(--c5s); }
.q-box.task-complete { box-shadow: 6px 6px 0 var(--ok); }
.q-tab { position: absolute; top: -18px; left: 16px; background: var(--c); color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; padding: 4px 14px; font-family: var(--font-head); font-weight: 900; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.q-box.m3 .q-tab { color: #fff; }
.q-xp { position: absolute; top: -16px; right: 16px; background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 900; }
.q-box-title { font-weight: 900; font-size: 16px; line-height: 1.3; margin: 0; }
.q-box-hint { font-size: 12.5px; font-weight: 700; color: var(--muted); margin: -6px 0 0; }

/* Görev 1 */
.q-match { display: grid; grid-template-columns: 1fr 40px 1.5fr; row-gap: 8px; align-items: center; font-size: 13.5px; font-weight: 700; }
.q-m-left { display: flex; align-items: center; gap: 8px; background: var(--cs); border: 2px solid var(--ink); border-radius: 10px; padding: 5px 8px; }
.q-m-word { flex: 1; }
.q-m-no { width: 22px; height: 22px; border-radius: 7px; background: var(--ink); color: #fff; font-weight: 900; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.q-m-ans { display: none; background: var(--c2); border: 2px solid var(--ink); border-radius: 6px; padding: 0 6px; font-size: 12px; font-weight: 900; min-width: 22px; text-align: center; }
.q-m-ans.show { display: inline-block; }
.q-m-link { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.q-m-link i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); display: inline-block; }
.q-m-right { display: flex; align-items: center; gap: 8px; border: 2px dashed var(--ink); border-radius: 10px; padding: 5px 8px; font-size: 12.5px; }
.q-m-letter { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); font-weight: 900; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 560px) { .q-match { grid-template-columns: 1fr; } .q-m-link { display: none; } .q-m-right { margin-bottom: 6px; } }

/* Seçiciler */
.q-pick { font: inherit; font-weight: 900; border: 2px solid var(--ink); border-radius: 8px; background: #fff; padding: 2px 6px; min-height: 30px; cursor: pointer; }
.q-pick-letter { width: 52px; text-align: center; }
.q-pick-word { min-width: 130px; margin: 0 4px; background: var(--cs); }
.q-pick.dup { outline: 2px dashed var(--c2); }
.q-pick:focus-visible, .mc-opt input:focus-visible + span, .d-line-input:focus-visible, .btn:focus-visible { outline: 3px solid var(--c2); outline-offset: 2px; }

/* Görev 2 */
.q-inventory { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.q-inventory-label { font-size: 11px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.q-inv-chip { border: 2px solid var(--ink); border-radius: 8px; padding: 2px 9px; font-size: 12.5px; font-weight: 800; background: #fff; display: flex; align-items: center; gap: 6px; }
.q-inv-chip::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--c); }
.fill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 700; line-height: 1.6; }
.fill-item { display: flex; gap: 8px; align-items: flex-start; }
.fill-item .q-m-no { margin-top: 5px; }
.inline-blank { display: none; min-width: 110px; border: 2px dashed var(--ink); border-radius: 8px; background: var(--cs); padding: 0 8px; margin: 0 4px; text-align: center; font-weight: 900; line-height: 1.45; }
.inline-blank.show { display: inline-block; }
.mc-item .inline-blank { display: inline-block; min-width: 90px; }

/* Görev 3 */
.mc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; row-gap: 12px; font-size: 14px; font-weight: 700; }
@media (max-width: 720px) { .mc-list { grid-template-columns: 1fr; } }
.mc-item { display: flex; flex-direction: column; gap: 6px; }
.mc-question-line { display: flex; gap: 8px; align-items: flex-start; line-height: 1.6; }
.mc-question-line .q-m-no { margin-top: 5px; }
.mc-options { display: flex; gap: 6px; flex-wrap: wrap; padding-left: 30px; }
.mc-opt { position: relative; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px 3px 8px; font-size: 13px; display: flex; align-items: center; gap: 6px; background: #fff; cursor: pointer; user-select: none; }
.mc-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mc-opt span::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); margin-right: 6px; vertical-align: -1px; }
.mc-opt:has(input:checked) { background: var(--cs); }
.mc-opt:has(input:checked) span::before { background: var(--ink); }
.checked .mc-opt.is-wrong { background: var(--bads); border-color: var(--bad); }
.revealed .mc-opt.is-correct, .checked .mc-item.is-ok .mc-opt:has(input:checked) { background: var(--oks); border-color: var(--ok); }

/* Görev 4 */
.d-subtitle { font-size: 12.5px; font-weight: 700; color: var(--muted); margin: -4px 0 0; }
.d-lines { display: flex; flex-direction: column; gap: 10px; }
.d-line-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.d-line-label { border: 2px solid var(--ink); background: var(--cs); border-radius: 8px; padding: 4px 9px; font-size: 12.5px; font-weight: 900; white-space: nowrap; margin-top: 2px; }
.d-line-input { font: inherit; font-weight: 600; width: 100%; border: none; border-bottom: 2.5px dotted var(--ink); background: transparent; padding: 6px 4px; resize: none; min-height: 34px; line-height: 1.4; }
.d-line-input::placeholder { color: #a7adbb; font-style: italic; }
.d-sample { grid-column: 2; font-size: 12.5px; color: var(--ok); font-weight: 700; font-style: italic; }
.d-line-blank { border-bottom: 2.5px dotted var(--ink); min-height: 28px; }

/* Doğru / yanlış işaretleri */
.checked .is-ok { box-shadow: inset 4px 0 0 var(--ok); }
.checked .is-bad { box-shadow: inset 4px 0 0 var(--bad); }
.checked .is-empty { box-shadow: inset 4px 0 0 var(--c2); }
.checked .q-m-left.is-ok { background: var(--oks); } .checked .q-m-left.is-bad { background: var(--bads); }
.checked .d-line-row.is-ok .d-line-input { border-color: var(--ok); } .checked .d-line-row.is-bad .d-line-input { border-color: var(--bad); }
.checked .fill-item.is-bad .q-pick-word { background: var(--bads); border-color: var(--bad); }
.checked .fill-item.is-ok .q-pick-word { background: var(--oks); border-color: var(--ok); }

/* Puan kartı */
.q-score { background: var(--ink); color: #fff; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 6px 6px 0 var(--c2); position: sticky; top: 12px; }
.q-score-title { font-family: var(--font-head); font-weight: 900; font-size: 20px; line-height: 1; }
.q-score-rows { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 800; }
.q-score-row { display: flex; justify-content: space-between; border-bottom: 2px dotted rgba(255,255,255,.35); padding-bottom: 3px; }
.q-score-row span:last-child { color: #9fb3d9; font-variant-numeric: tabular-nums; }
.q-score-total { margin-top: 4px; background: var(--c2); color: var(--ink); border-radius: 12px; padding: 8px 10px; font-family: var(--font-head); font-weight: 900; font-size: 18px; display: flex; justify-content: space-between; }
.q-badges { font-size: 11px; font-weight: 700; color: #dbe4f5; line-height: 1.5; } .q-badges b { color: #fff; }
.q-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.btn { font: inherit; font-weight: 900; border: 3px solid var(--ink); border-radius: 12px; padding: 10px 14px; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; transition: transform .08s; }
.btn:active { transform: translate(2px, 2px); }
.btn-check { background: var(--c2); color: var(--ink); box-shadow: 3px 3px 0 #fff; font-size: 16px; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.q-result-msg { margin: 0; font-weight: 800; font-size: 14px; color: var(--c2); min-height: 1.2em; }
.celebrate .q-score { animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.04) rotate(-1deg); } 100% { transform: scale(1); } }

/* Görev kartı alt bilgi */
.q-footer { margin-top: 6px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; border-top: 3px solid var(--ink); padding-top: 12px; }
.q-site { display: flex; align-items: center; gap: 10px; }
.q-qr { width: 54px; height: 54px; border: 3px solid var(--ink); border-radius: 8px; background: linear-gradient(var(--ink), var(--ink)) 6px 6px / 14px 14px no-repeat, linear-gradient(var(--ink), var(--ink)) 34px 6px / 14px 14px no-repeat, linear-gradient(var(--ink), var(--ink)) 6px 34px / 14px 14px no-repeat, radial-gradient(var(--ink) 1.5px, transparent 1.6px) 28px 28px / 7px 7px repeat; background-color: #fff; flex-shrink: 0; }
.q-site-text { display: flex; flex-direction: column; line-height: 1.2; }
.q-site-text b { font-family: var(--font-head); font-size: 14px; word-break: break-all; }
.q-site-text span { font-size: 11px; font-weight: 700; color: var(--muted); }
.q-footer-motto { text-align: center; font-family: var(--font-head); font-weight: 900; font-size: 18px; }
.q-sign { background: var(--c1); color: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 6px 16px; font-family: var(--font-head); font-weight: 900; font-size: 15px; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); }
@media (max-width: 720px) { .q-footer { grid-template-columns: 1fr; text-align: center; } .q-site { justify-content: center; } .q-sign { justify-self: center; } }

/* ---------- Akıllı tahta modu (?tahta=1) ---------- */
body.tahta { font-size: 19px; }
body.tahta .site-header, body.tahta .site-footer, body.tahta .crumbs { display: none; }
body.tahta .site-main { max-width: 1500px; }
body.tahta .q-box-title { font-size: 21px; } body.tahta .q-box-hint { font-size: 15px; }
body.tahta .q-match, body.tahta .fill-list, body.tahta .mc-list { font-size: 18px; }
body.tahta .q-m-right, body.tahta .mc-opt, body.tahta .q-inv-chip { font-size: 16.5px; }
body.tahta .q-pick { min-height: 44px; font-size: 18px; } body.tahta .q-pick-letter { width: 70px; }
body.tahta .mc-opt { padding: 8px 16px 8px 12px; }
body.tahta .q-card-word { font-size: 25px; } body.tahta .q-bubble { font-size: 16px; }
body.tahta .btn { padding: 14px 18px; font-size: 19px; }

/* ---------- Yazdırma ---------- */
@media print {
  @page { size: A4 portrait; margin: 9mm; }
  body { background: #fff !important; font-size: 11.5px; }
  .site-header, .site-footer, .crumbs, .no-print, .preview-bar, .q-actions, .q-result-msg, .d-sample { display: none !important; }
  .print-only { display: block !important; }
  .q-player.print-only { display: flex !important; }
  .site-main { max-width: none; padding: 0; }
  .quest { gap: 9px; }
  .q-hud, .q-score { box-shadow: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .q-hud { padding: 12px 16px; grid-template-columns: 110px 1fr 240px; }
  .q-hex { width: 80px; height: 90px; } .q-hex-num { font-size: 42px; } .q-title { font-size: 40px; }
  .q-card, .q-box, .ex-card, .grade-card { box-shadow: 4px 4px 0 var(--c) !important; break-inside: avoid; }
  .ws-cards-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .q-card-art { width: 70px; height: 70px; margin-top: -34px; font-size: 30px; } .q-card-top { height: 44px; }
  .q-card-word { font-size: 15px; } .q-bubble { font-size: 10.5px; min-height: 40px; }
  .q-missions { gap: 16px; }
  .q-box { padding: 20px 12px 10px; }
  .q-match, .fill-list, .mc-list { font-size: 11px; }
  .q-m-ans { display: inline-block !important; min-width: 26px; color: transparent; background: #fff; }
  .inline-blank { display: inline-block !important; color: transparent; background: #fff; min-width: 90px; }
  .q-row-d { grid-template-columns: 1fr 200px; }
  .q-score { position: static; }
  .d-line-row { grid-template-columns: auto 1fr; }
  .answer-key { break-before: page; padding-top: 10px; }
  .answer-key h2 { font-family: var(--font-head); font-size: 20px; border-bottom: 3px solid var(--ink); padding-bottom: 6px; }
  .ak-grid { display: grid; gap: 10px; font-size: 12px; }
  .ak-grid div { border: 2px solid var(--ink); border-radius: 10px; padding: 8px 10px; }
  a { text-decoration: none; }
}
