/* =========================================================
   ufukaydin.net/egitim — eğitim setleri
   style.css'in üstüne yüklenir; aynı renkleri ve bileşenleri kullanır.
   ========================================================= */

.eg main { min-height: 60vh; }
/* img etiketindeki height özniteliği aspect-ratio'yu ezmesin */
.eg img { height: auto; }
.only-menu { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: .88rem; color: var(--violet-ink); cursor: pointer; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Yönetici önizleme şeridi */
.eg-admin-bar { background: var(--ink); color: #fff; font-size: .85rem; font-weight: 600; }
.eg-admin-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.eg-admin-bar span { display: inline-flex; align-items: center; gap: .5rem; }
.eg-admin-bar a { color: #FFD2B0; font-weight: 700; white-space: nowrap; }
.eg-admin-bar .eg-admin-links { gap: 1.1rem; }
.note a { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ================= LİSTE ================= */
.eg-hero { padding: 64px 0 56px; }
.eg-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eg-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.eg-facts { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.eg-facts li {
  display: flex; align-items: flex-start; gap: .65rem;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 18px; padding: .85rem .9rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.eg-facts .i { width: 20px; height: 20px; margin-top: 2px; }
.eg-facts li:nth-child(1) .i { color: var(--coral-ink); }
.eg-facts li:nth-child(2) .i { color: var(--violet-ink); }
.eg-facts li:nth-child(3) .i { color: var(--mint-ink); }
.eg-facts span { font-size: .78rem; color: var(--muted); font-weight: 600; line-height: 1.35; }
.eg-facts strong { display: block; font-size: .95rem; color: var(--ink); }

.eg-hero-visual { position: relative; aspect-ratio: 5 / 4; }
.eg-hero-visual .stack {
  position: absolute; width: 74%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 22px; border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.eg-hero-visual .s1 { right: 0; top: 4%; z-index: 3; transform: rotate(2deg); }
.eg-hero-visual .s2 { left: 0; top: 30%; z-index: 2; transform: rotate(-4deg); }
.eg-hero-visual .s3 { right: 10%; bottom: 0; z-index: 1; transform: rotate(-1deg); opacity: .95; }

.eg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.eg-grid > .reveal { display: flex; }
.eg-card {
  display: flex; flex-direction: column; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.eg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #DCD6FA; }
.eg-card-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--violet-soft); }
.eg-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.eg-card:hover .eg-card-img img { transform: scale(1.04); }
.eg-badge {
  position: absolute; left: 14px; top: 14px;
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .35rem .75rem; border-radius: 999px;
  background: var(--sun); color: #fff; font-size: .76rem; font-weight: 800;
  box-shadow: 0 10px 20px -10px rgba(199, 122, 0, .8);
}
.eg-badge.own { background: var(--mint); box-shadow: 0 10px 20px -10px rgba(11, 147, 120, .8); }
.eg-badge .i { width: 14px; height: 14px; stroke-width: 3; }
.eg-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.eg-card h3 { font-size: 1.22rem; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 .45rem; }
.eg-card-body > p {
  margin: 0 0 1rem; color: var(--ink-2); font-size: .93rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.eg-meta { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.eg-meta li {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem; font-weight: 700; color: var(--ink-2);
  padding: .32rem .7rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line);
}
.eg-meta .i { width: 14px; height: 14px; color: var(--violet); }
.eg-card-foot {
  margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line);
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
}
.eg-card-prog { flex: 1 1 100%; }
.eg-go {
  margin-left: auto; display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .95rem; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 800; font-size: .86rem; transition: gap .25s var(--ease), background .25s;
}
.eg-card:hover .eg-go { gap: .6rem; background: var(--violet-ink); }

.price { display: inline-flex; align-items: baseline; gap: .5rem; }
.price strong { font-size: 1.35rem; letter-spacing: -.02em; }
.price del { color: var(--muted); font-weight: 600; font-size: .9rem; }
.off { font-size: .74rem; font-weight: 800; color: var(--coral-ink); background: var(--coral-soft); padding: .22rem .55rem; border-radius: 999px; }

.pbar { height: 8px; border-radius: 99px; background: #EEEAFB; overflow: hidden; }
.pbar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); min-width: 4px; }
.pbar-text { display: block; margin-top: .4rem; font-size: .78rem; font-weight: 700; color: var(--muted); }

/* Karşılaştırma tablosu */
.cmp-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .92rem; }
.cmp th, .cmp td { padding: .8rem .9rem; border-bottom: 1px solid var(--line); text-align: center; }
.cmp thead th { vertical-align: bottom; background: #FBFAFF; }
.cmp thead th a { display: block; font-weight: 800; line-height: 1.25; }
.cmp thead th a:hover { color: var(--violet-ink); }
.cmp thead th small { display: block; margin-top: .25rem; font-weight: 700; color: var(--violet-ink); }
.cmp tbody th, .cmp tfoot th { text-align: left; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.cmp th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
.cmp thead th:first-child { background: #FBFAFF; }
.cmp tbody tr:hover td, .cmp tbody tr:hover th { background: #FBFAFF; }
.cmp .yes { display: inline-flex; align-items: center; gap: .3rem; font-weight: 800; color: var(--mint-ink); }
.cmp .yes .i { width: 16px; height: 16px; stroke-width: 3; }
.cmp .no { color: #C9C7DA; font-weight: 700; }
.cmp tfoot td strong { font-size: 1.1rem; }
.cmp tfoot tr:last-child th, .cmp tfoot tr:last-child td { border-bottom: 0; }

/* SSS */
.eg-narrow { max-width: 820px; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.25rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--violet-soft); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: var(--violet-ink); transition: transform .25s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq details[open] .faq-plus::after { transform: rotate(0); }
.faq details p { margin: 0; padding: 0 1.25rem 1.15rem; color: var(--ink-2); }
.eg-ask { text-align: center; margin: 1.6rem 0 0; color: var(--ink-2); }
.eg-ask a, .muted a, .buy-login a, .auth-help a, .legal a, .prose a { color: var(--violet-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ================= SET SAYFASI ================= */
.eg-head {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 44px 0 64px;
  background: linear-gradient(180deg, #F3F0FF 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.eg-head .blob { opacity: .5; }
.eg-head-copy { max-width: calc(100% - 420px); }
.eg-head h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin: .4rem 0 .9rem; }
.eg-head .lead { margin-bottom: 1.4rem; }
.eg-head-sm { padding: 36px 0 40px; }
.eg-head-sm .eg-head-copy { max-width: none; }
.eg-head-sm .hello { margin: 0; }
.eg-head-sm h1 { margin: .1rem 0 0; }

.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .86rem; font-weight: 600; color: var(--muted); }
.crumb a { color: var(--violet-ink); font-weight: 700; }
.crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumb span:last-child { color: var(--ink-2); }

.eg-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.eg-chips li {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .85rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 700; color: var(--ink-2);
}
.eg-chips .i { width: 16px; height: 16px; color: var(--violet); }

.eg-course-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "main side";
  gap: 40px; align-items: start; padding-bottom: 80px;
}
.eg-main { grid-area: main; padding-top: 40px; min-width: 0; }
.eg-side { grid-area: side; position: sticky; top: 92px; margin-top: -230px; z-index: 2; }

.buy-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.buy-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.buy-media .player { border-radius: 0; }
.buy-body { padding: 22px 24px 24px; display: grid; gap: .7rem; }
.buy-price { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .2rem; }
.buy-price .price strong { font-size: 2rem; }
.buy-prog { margin-bottom: .3rem; }
.buy-login { margin: .1rem 0 0; text-align: center; font-size: .88rem; color: var(--ink-2); }
.buy-list { list-style: none; padding: .9rem 0 0; margin: .3rem 0 0; border-top: 1px dashed var(--line); display: grid; gap: .55rem; }
.buy-list li { display: flex; gap: .55rem; font-size: .88rem; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.buy-list .i { width: 17px; height: 17px; color: var(--mint-ink); stroke-width: 2.6; margin-top: 1px; }

.player { position: relative; aspect-ratio: 16 / 9; background: #14152B; border-radius: 20px; overflow: hidden; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.eg-block { margin-bottom: 52px; }
.eg-block h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 0 0 1.1rem; }
.eg-block-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: 1.1rem; }
.eg-block-head h2 { margin: 0; }
.eg-block-head .link-btn { margin-left: auto; }

.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mod { --m: var(--violet); --m-soft: var(--violet-soft); padding: 16px 18px; border-radius: 18px; background: var(--m-soft); border: 1px solid color-mix(in srgb, var(--m) 18%, transparent); }
.mod-1 { --m: var(--coral); --m-soft: var(--coral-soft); }
.mod-2 { --m: var(--mint);  --m-soft: var(--mint-soft); }
.mod-3 { --m: var(--sky);   --m-soft: var(--sky-soft); }
.mod-4 { --m: var(--sun);   --m-soft: var(--sun-soft); }
.mod strong { display: block; font-size: 1rem; line-height: 1.3; }
.mod span { display: block; margin-top: .3rem; font-size: .8rem; font-weight: 600; color: var(--ink-2); line-height: 1.4; }

.prose { color: var(--ink-2); font-size: 1rem; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1rem; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 1.6rem 0 .6rem; font-size: 1.15rem; letter-spacing: -.01em; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .35rem; }
.prose strong, .prose b { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: .92rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: #FBFAFF; color: var(--ink); white-space: nowrap; }
.prose td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Müfredat */
.cur { display: grid; gap: 10px; }
.cur-sec { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; }
.cur-sec summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .9rem; padding: .95rem 1.1rem; }
.cur-sec summary::-webkit-details-marker { display: none; }
.cur-sec summary:hover { background: #FBFAFF; }
.cur-n { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet-ink); font-weight: 800; font-size: .85rem; }
.cur-t { flex: 1; min-width: 0; line-height: 1.3; }
.cur-t strong { display: block; font-size: .98rem; }
.cur-t small { font-size: .78rem; font-weight: 600; color: var(--muted); }
.cur-chev { flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
.cur-sec[open] .cur-chev { transform: rotate(-135deg) translate(-2px, -2px); }
.cur-desc { margin: -.2rem 1.1rem .6rem 4.15rem; font-size: .88rem; color: var(--muted); }
.cur-list { list-style: none; margin: 0; padding: .25rem .6rem .7rem; border-top: 1px solid var(--line); }
.cur-list li > a, .cur-list li > .cur-lock {
  display: flex; align-items: center; gap: .7rem;
  padding: .58rem .6rem .58rem .55rem; border-radius: 12px;
  font-size: .93rem; font-weight: 600; color: var(--ink-2); line-height: 1.35;
}
.cur-list li > a:hover { background: var(--violet-soft); color: var(--violet-ink); }
.cur-list .i { width: 18px; height: 18px; color: var(--violet); }
.cur-list li.done .i { color: var(--mint-ink); }
.cur-list li.locked .i { color: #B7B4CC; }
.cur-list li.locked .cur-lock { color: var(--muted); }
.cur-list span { flex: 1; min-width: 0; }
.tag-free { flex: none; font-style: normal; font-size: .72rem; font-weight: 800; color: var(--mint-ink); background: var(--mint-soft); padding: .2rem .55rem; border-radius: 999px; }

/* Satın alma */
.buy { scroll-margin-top: 96px; }
.buy > .muted { margin: -.4rem 0 1.3rem; }
.note {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .9rem 1.1rem; border-radius: 16px; margin: 0 0 1.2rem;
  font-weight: 600; font-size: .94rem; line-height: 1.45;
}
.note .i { width: 20px; height: 20px; margin-top: 1px; }
.note-ok { background: var(--mint-soft); color: #075E4D; border: 1px solid #BDEBDD; }
.note-error { background: var(--coral-soft); color: #A33822; border: 1px solid #FFD3C8; }

.steps-buy { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps-buy > li { display: flex; gap: 1rem; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.sb-n { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; }
.sb-body { flex: 1; min-width: 0; }
.sb-body h3 { margin: .35rem 0 .8rem; font-size: 1.1rem; }
.sb-body > p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.sb-note { margin: .8rem 0; font-size: .88rem; color: var(--muted); font-weight: 600; }

.bank { display: grid; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #FBFAFF; }
.bank-row { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); font-size: .94rem; flex-wrap: wrap; }
.bank-row:last-child { border-bottom: 0; }
.bank-row small { width: 64px; flex: none; font-weight: 700; color: var(--muted); font-size: .8rem; }
.bank-row strong { font-size: 1.15rem; }
.bank-row span { font-weight: 600; }
.bank-row code { font: 700 .95rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .02em; word-break: break-all; flex: 1; min-width: 0; }
.copy-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: .8rem; font-weight: 700; color: var(--ink-2); cursor: pointer;
}
.copy-btn:hover { border-color: var(--violet); color: var(--violet-ink); }
.copy-btn.copied { background: var(--mint-soft); border-color: #BDEBDD; color: var(--mint-ink); }
.copy-btn .i { width: 14px; height: 14px; }

.eg-form { display: grid; gap: .85rem; }
.eg-form label { display: grid; gap: .35rem; font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.eg-form input:not([type="radio"]):not([type="checkbox"]), .eg-form textarea {
  width: 100%; font: inherit; font-size: .97rem; font-weight: 500; color: var(--ink);
  padding: .75rem .95rem; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.eg-form textarea { resize: vertical; min-height: 70px; }
.eg-form input:focus, .eg-form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.eg-form .btn { justify-self: start; }
.eg-form .btn-block { justify-self: stretch; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.radios { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.radios legend { font-size: .86rem; font-weight: 700; color: var(--ink-2); margin-bottom: .4rem; padding: 0; }
.radios label { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; }
.radios label:has(input:checked) { border-color: var(--violet); background: var(--violet-soft); color: var(--violet-ink); }
.radios input { accent-color: var(--violet); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.legal { margin: 1rem 0 0; font-size: .84rem; color: var(--muted); }

.others { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.other { display: flex; align-items: center; gap: .9rem; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.other:hover { border-color: #DCD6FA; box-shadow: var(--shadow-sm); }
.other img { width: 96px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 11px; flex: none; }
.other strong { display: block; font-size: .95rem; line-height: 1.3; }
.other small { font-size: .8rem; color: var(--muted); font-weight: 600; }

/* ================= DERS ================= */
.eg-lesson .site-header { background: rgba(255, 255, 255, .92); border-color: var(--line); }
.lesson-wrap { padding: 24px 0 64px; }
.lesson-grid { width: min(1440px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 28px; align-items: start; }
.lesson-main .crumb { margin-bottom: 14px; }
.player-main { box-shadow: var(--shadow-lg); }
.player-msg { display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, #2A2558, #4A2E62); color: #fff; padding: 24px; }
.player-msg > div { display: grid; justify-items: center; gap: .5rem; max-width: 420px; }
.player-msg .i { width: 44px; height: 44px; opacity: .85; stroke-width: 1.6; }
.player-msg strong { font-size: 1.15rem; }
.player-msg span { color: rgba(255, 255, 255, .78); font-size: .93rem; }
.player-msg .btn { margin-top: .5rem; }

.lesson-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin: 22px 0 18px; }
.lesson-head small { font-size: .8rem; font-weight: 700; color: var(--violet-ink); text-transform: uppercase; letter-spacing: .08em; }
.lesson-head h1 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; line-height: 1.25; margin: .25rem 0 0; }
.lesson-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.lesson-actions form { margin: 0; }
.btn-done { background: var(--mint-soft); border-color: #BDEBDD; color: var(--mint-ink); }
.lesson-note { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-bottom: 18px; }

.lesson-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ln { display: grid; gap: .2rem; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.ln:hover { border-color: #DCD6FA; box-shadow: var(--shadow-sm); }
.ln small { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; color: var(--muted); }
.ln small .i { width: 14px; height: 14px; }
.ln span { font-weight: 700; font-size: .93rem; line-height: 1.35; }
.ln.next { text-align: right; justify-items: end; grid-column: 2; }

.lesson-side { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 110px); }
.ls-head { padding: 16px 18px; border-bottom: 1px solid var(--line); display: grid; gap: .5rem; }
.ls-head strong { font-size: 1rem; line-height: 1.3; }
.ls-head a:hover strong { color: var(--violet-ink); }
.ls-head .pbar-text { margin-top: 0; }
.ls-list { overflow-y: auto; overscroll-behavior: contain; }
.ls-list details { border-bottom: 1px solid var(--line); }
.ls-list details:last-child { border-bottom: 0; }
.ls-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: .8rem; padding: .8rem 18px; font-weight: 700; font-size: .88rem; line-height: 1.35; position: sticky; top: 0; background: #fff; z-index: 1; }
.ls-list summary::-webkit-details-marker { display: none; }
.ls-list summary:hover { background: #FBFAFF; }
.ls-list summary small { flex: none; font-size: .75rem; color: var(--muted); background: var(--bg); border-radius: 99px; padding: .1rem .5rem; align-self: center; }
.ls-list ol { list-style: none; margin: 0; padding: 0 8px 8px; }
.ls-list li > a, .ls-list li > .lk { display: flex; gap: .55rem; padding: .5rem .6rem; border-radius: 10px; font-size: .85rem; font-weight: 600; color: var(--ink-2); line-height: 1.35; }
.ls-list li > a:hover { background: var(--violet-soft); color: var(--violet-ink); }
.ls-list .i { width: 16px; height: 16px; margin-top: 1px; color: var(--violet); }
.ls-list li.done .i { color: var(--mint-ink); }
.ls-list .lk { color: var(--muted); }
.ls-list .lk .i { color: #B7B4CC; }
.ls-list li.cur > a { background: var(--violet-soft); color: var(--violet-ink); font-weight: 800; }

/* ================= GİRİŞ / HESAP ================= */
.eg-auth { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; padding: 72px 16px 96px; min-height: 70vh; }
.auth-box { width: min(440px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); padding: 36px 32px 30px; }
.auth-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet-ink); margin-bottom: 1rem; }
.auth-ico .i { width: 24px; height: 24px; }
.auth-box h1 { font-size: 1.8rem; letter-spacing: -.025em; margin: 0 0 .4rem; }
.auth-box > .muted { margin: 0 0 1.4rem; }
.auth-box .eg-form { margin-bottom: 1.2rem; }
.auth-help { margin: .6rem 0 0; font-size: .86rem; color: var(--ink-2); }

.eg-account-wrap { padding: 32px 0 80px; }
.my-list { display: grid; gap: 16px; margin-bottom: 40px; }
.my { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.my-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.my-body { display: grid; gap: .7rem; justify-items: start; }
.my-body h2 { font-size: 1.3rem; margin: 0; letter-spacing: -.02em; }
.my-body h2 a:hover { color: var(--violet-ink); }
.my-body .pbar { width: 100%; max-width: 460px; }
.my-body .pbar-text { margin-top: -.3rem; }
.my-next small { display: block; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.my-next span { font-weight: 700; }
.empty { text-align: center; padding: 44px 24px; background: #fff; border: 1px dashed #D9D5F0; border-radius: 24px; margin-bottom: 40px; }
.empty h2 { font-size: 1.4rem; margin: 0 0 .5rem; }
.empty p { margin: 0 auto 1.3rem; max-width: 52ch; }
.acc-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 16px; margin-bottom: 40px; }
.acc-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; box-shadow: var(--shadow-sm); }
.acc-card h2 { font-size: 1.1rem; margin: 0 0 1rem; }
.acc-card dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0 0 1.2rem; font-size: .93rem; }
.acc-card dt { color: var(--muted); font-weight: 700; }
.acc-card dd { margin: 0; font-weight: 600; word-break: break-word; }
.acc-card form { margin: 0; }
.acc-sub { font-size: 1.3rem; margin: 0 0 1rem; }

.eg-doc { padding: 40px 0 80px; }
.eg-doc h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: .8rem 0 1.4rem; }

/* ================= DUYARLI ================= */
@media (max-width: 1080px) {
  .eg-grid { grid-template-columns: repeat(2, 1fr); }
  .eg-course-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .eg-head-copy { max-width: calc(100% - 370px); }
  .lesson-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 900px) {
  .eg-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .eg-hero-visual { width: min(520px, 100%); justify-self: center; }
  .eg-head-copy { max-width: none; }
  .eg-head { padding-bottom: 40px; }
  .eg-course-grid { grid-template-columns: 1fr; grid-template-areas: "side" "main"; gap: 0; }
  .eg-side { position: static; margin-top: 24px; }
  .buy-card { box-shadow: var(--shadow); }
  .lesson-grid { grid-template-columns: 1fr; }
  .lesson-side { position: static; max-height: 70vh; }
  .acc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .only-menu { display: block; }
  .eg-hero { padding: 36px 0 40px; }
  .eg-facts { grid-template-columns: 1fr; }
  .eg-grid { grid-template-columns: 1fr; }
  .eg-block { margin-bottom: 40px; }
  .eg-block-head .link-btn { margin-left: 0; }
  .cur-desc { margin-left: 1.1rem; }
  .cur-sec summary { gap: .7rem; padding: .85rem .9rem; }
  .steps-buy > li { padding: 18px 16px; gap: .8rem; }
  .sb-n { width: 32px; height: 32px; border-radius: 10px; }
  .f2 { grid-template-columns: 1fr; }
  .eg-form .btn { justify-self: stretch; }
  .others { grid-template-columns: 1fr; }
  .bank-row small { width: 100%; }
  .lesson-wrap { padding-top: 14px; }
  .lesson-grid { width: 100%; }
  .lesson-main > .crumb, .lesson-head, .lesson-note, .lesson-nav { margin-inline: 16px; }
  .player-main { border-radius: 0; }
  .lesson-side { margin: 0 16px; }
  .lesson-actions { width: 100%; }
  .lesson-actions form { flex: 1; }
  .lesson-actions .btn { width: 100%; }
  .lesson-nav { grid-template-columns: 1fr; }
  .ln.next { grid-column: auto; }
  .auth-box { padding: 28px 22px 24px; border-radius: 24px; }
  .my { grid-template-columns: 1fr; gap: 14px; }
}
