/* YTK Academy marka kimliği: "Havayolu". Renk, yazı ve motif tanımlarının tek kaynağı.
   Motifler: hava postası şeridi, kalkış panosu, biniş kartı, uçuş çizgisi. */
:root {
  --ytk-navy: #0B1F4B;
  --ytk-navy-2: #1B2F5E;
  --ytk-red: #E63946;
  --ytk-blue: #2B59C3;
  --ytk-sky: #EEF1F6;
  --ytk-sky-2: #F5F7FB;
  --ytk-line: #DCE2EE;
  --ytk-line-2: #C9D1E3;
  --ytk-muted: #5A6A92;
  --ytk-amber: #FFB703;
  --ytk-green: #5BE49B;
  --ytk-glow: rgba(11, 31, 75, .22);
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --f-code: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

/* ---------- Hava postası şeridi ---------- */
.ytk-air { height: 10px; background: repeating-linear-gradient(135deg, #E63946 0 14px, #ffffff 14px 24px, #2B59C3 24px 38px, #ffffff 38px 48px); }
.ytk-air.thin { height: 6px; }

/* ---------- Tipografi ---------- */
.ytk-display { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; }
.ytk-code { font-family: var(--f-code); letter-spacing: .04em; }
.ytk-eyebrow { font-family: var(--f-code); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ytk-muted); }

/* ---------- Gradyan zeminler (eski derlenmiş style.css ile çakışmasın diye özel sınıf) ---------- */
.ytk-grad-soft { background: linear-gradient(180deg, #EEF1F6, #ffffff); }
.ytk-grad-hero { background: linear-gradient(180deg, #EEF1F6, #ffffff 70%); }
.ytk-grad-cta { background: var(--ytk-navy); }

/* ---------- Kalkış panosu ---------- */
.ytk-board { background: var(--ytk-navy); border-radius: 10px; padding: 16px 16px 10px; box-shadow: 0 24px 40px -26px rgba(11, 31, 75, .7); min-width: 0; color: var(--ytk-amber); font-family: var(--f-code); }
.ytk-board-cap { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 183, 3, .6); margin-bottom: 6px; display: flex; justify-content: space-between; gap: 8px; }
.ytk-board-row { display: grid; grid-template-columns: 74px 1fr 104px; gap: 10px; align-items: center; padding: 10px 4px; border-bottom: 1px dashed rgba(255, 183, 3, .22); font-size: 13px; }
.ytk-board-row:last-child { border-bottom: 0; }
.ytk-board-row.h { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 183, 3, .55); }
.ytk-board-row .st { color: var(--ytk-green); white-space: nowrap; }
.ytk-board-row[data-live] { animation: ytk-row .5s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
@keyframes ytk-row { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Biniş kartı ---------- */
.ytk-ticket { --ticket-bg: var(--ytk-sky); display: grid; grid-template-columns: 1fr auto; background: #fff; border-radius: 12px; position: relative; box-shadow: 0 1px 0 rgba(11, 31, 75, .08), 0 22px 36px -28px rgba(11, 31, 75, .55); min-width: 0; }
.ytk-ticket::before, .ytk-ticket::after { content: ""; position: absolute; right: var(--stub-w, 150px); width: 18px; height: 18px; margin-right: -9px; border-radius: 50%; background: var(--ticket-bg); }
.ytk-ticket::before { top: -9px; } .ytk-ticket::after { bottom: -9px; }
.ytk-ticket.white { --ticket-bg: #ffffff; }
.ytk-ticket-main { padding: 20px 24px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.ytk-ticket-stub { width: var(--stub-w, 150px); border-left: 2px dashed var(--ytk-line-2); padding: 18px 18px; display: grid; gap: 2px; align-content: center; text-align: left; }
.ytk-ticket .k { font-family: var(--f-code); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #6A7AA5; }

/* ---------- Uçuş çizgisi (adımları bağlar) ---------- */
.ytk-path { position: relative; display: grid; gap: 14px; }
.ytk-path-dot { width: 34px; height: 34px; border-radius: 50%; border: 5px solid var(--ytk-navy); background: #fff; display: grid; place-items: center; font-family: var(--f-code); font-size: 11px; font-weight: 500; color: var(--ytk-navy); box-sizing: border-box; flex: none; }
.ytk-dash { border-top: 2px dashed var(--ytk-line-2); }

/* ---------- Genel ---------- */
:focus-visible { outline: 3px solid var(--ytk-blue); outline-offset: 2px; border-radius: 4px; }
.ytk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ytk-navy); color: var(--ytk-amber); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 18px; padding: 12px 24px; border-radius: 4px; transition: transform .15s, box-shadow .15s; }
.ytk-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -12px var(--ytk-glow); }
.ytk-btn.light { background: #fff; color: var(--ytk-navy); }
.ytk-btn.outline { background: transparent; color: var(--ytk-navy); border: 2px solid var(--ytk-navy); }

@media (max-width: 640px) {
  .ytk-board-row { grid-template-columns: 64px 1fr 92px; }
  .ytk-ticket { grid-template-columns: 1fr; }
  .ytk-ticket-stub { width: auto; border-left: 0; border-top: 2px dashed var(--ytk-line-2); }
  .ytk-ticket::before, .ytk-ticket::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ytk-board-row[data-live] { animation: none; }
  .ytk-btn { transition: none; }
}

/* ---------- Süreç adımları (uçuş çizgisi) ---------- */
.ytk-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ytk-step { position: relative; padding-top: 52px; min-width: 0; }
.ytk-step .ytk-path-dot { position: absolute; top: 0; left: 0; z-index: 1; }
.ytk-step:not(:last-child)::before { content: ""; position: absolute; top: 16px; left: 44px; right: -22px; border-top: 2px dashed var(--ytk-line-2); }
@media (max-width: 820px) {
  .ytk-steps { grid-template-columns: 1fr; gap: 26px; }
  .ytk-step { padding: 0 0 0 54px; }
  .ytk-step:not(:last-child)::before { top: 40px; bottom: -26px; left: 16px; right: auto; border-top: 0; border-left: 2px dashed var(--ytk-line-2); }
}
.ytk-steps.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .ytk-steps.three { grid-template-columns: 1fr; } }

/* ---------- Karşılama turu (animasyonlu tanıtım) ---------- */
.tour-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(6, 16, 40, .72); display: flex; align-items: center; justify-content: center; padding: 14px; animation: tour-fade .3s ease both; }
.tour-card { background: #fff; border-radius: 22px; width: 100%; max-width: 520px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65); animation: tour-pop .45s cubic-bezier(.2, .9, .25, 1.15) both; max-height: calc(100vh - 28px); display: flex; flex-direction: column; }
.tour-stage { position: relative; height: 210px; overflow: hidden; background: linear-gradient(160deg, #0B1F4B 0%, #1B2F5E 55%, #2B59C3 120%); flex: none; }
.tour-stage .glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 183, 3, .35), transparent 65%); top: -90px; right: -60px; animation: tour-float 6s ease-in-out infinite; }
.tour-body { padding: 20px 24px 8px; overflow-y: auto; }
.tour-k { font-family: var(--f-code); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ytk-red); }
.tour-title { font-weight: 800; font-size: 24px; line-height: 1.2; color: var(--ytk-navy); margin: 6px 0 10px; }
.tour-text { color: #3F4F7C; font-size: 15px; line-height: 1.6; }
.tour-foot button { white-space: nowrap; }
.tour-back { background: none; border: 0; padding: 8px 10px; font-size: 14px; font-weight: 600; color: #5A6A92; cursor: pointer; }
.tour-back:hover { color: var(--ytk-navy); }
.tour-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tour-chip { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #FFF4D6; color: #8A5A00; border: 1.5px solid #FFD66B; animation: tour-rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.tour-chip.blue { background: #E8EEFC; color: var(--ytk-blue); border-color: #BFD0F5; }
.tour-chip.green { background: #E3F8EE; color: #0E7A48; border-color: #A8E6C6; }
.tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 24px 20px; }
.tour-dots { display: flex; gap: 6px; }
.tour-dot { width: 9px; height: 9px; border-radius: 99px; background: #D5DCEC; border: 0; padding: 0; cursor: pointer; transition: width .3s, background .3s; }
.tour-dot.on { width: 26px; background: var(--ytk-red); }
.tour-slide { animation: tour-slide .45s cubic-bezier(.2, .8, .2, 1) both; }
.tour-bar { height: 4px; background: #EEF1F6; }
.tour-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--ytk-red), var(--ytk-amber)); transition: width .5s cubic-bezier(.2, .8, .2, 1); }

/* sahne ögeleri: genişliğe göre ölçeklenir (yüzde/flex), sabit piksel konumu yok */
.tv { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 20px; gap: 10px; }
.tv-abs { position: absolute; inset: 0; }
.tv-plane { position: absolute; top: 58px; left: -80px; width: 64px; animation: tour-fly 5.5s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.tv-plane svg { width: 64px; height: 64px; display: block; }
.tv-trail { position: absolute; top: 92px; left: 0; right: 0; border-top: 2px dashed rgba(255, 255, 255, .28); }
.tv-cloud { position: absolute; left: -140px; height: 24px; border-radius: 99px; background: rgba(255, 255, 255, .14); animation: tour-drift 10s linear infinite; }
.tv-big { position: absolute; left: 16px; right: 16px; bottom: 24px; text-align: center; font-weight: 800; font-size: 24px; line-height: 1.15; color: #fff; animation: tour-rise .7s .3s both; }
.tv-big b { color: var(--ytk-amber); }
.tv-badge { padding: 5px 12px; border-radius: 999px; background: var(--ytk-amber); color: var(--ytk-navy); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; animation: tour-pop .5s .6s both; }

/* canlı ders: iki kişilik sohbet, satır satır belirir */
.tv-chat { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 10px; }
.tv-row { display: flex; align-items: flex-end; gap: 8px; animation: tour-bubble .5s cubic-bezier(.2, .9, .25, 1.2) both; }
.tv-row.me { flex-direction: row-reverse; }
.tv-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; }
.tv-msg { padding: 8px 12px; border-radius: 14px; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ytk-navy); background: #fff; }
.tv-row.me .tv-msg { background: var(--ytk-amber); }

/* kelime kartı */
.tv-flip { position: relative; width: min(210px, 62%); height: 104px; perspective: 700px; }
.tv-flip > div { position: absolute; inset: 0; border-radius: 16px; display: grid; place-items: center; text-align: center; backface-visibility: hidden; font-weight: 800; font-size: 26px; box-shadow: 0 20px 30px -18px rgba(0, 0, 0, .6); }
.tv-flip .f { background: #fff; color: var(--ytk-navy); animation: tour-flipA 4s ease-in-out infinite; }
.tv-flip .b { background: var(--ytk-amber); color: var(--ytk-navy); animation: tour-flipB 4s ease-in-out infinite; font-size: 20px; }
.tv-flip small { display: block; font-family: var(--f-code); font-size: 10px; letter-spacing: .12em; font-weight: 500; opacity: .6; margin-bottom: 3px; }

/* boşluk doldurma */
.tv-q { width: 100%; max-width: 340px; background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px 14px; color: #fff; font-size: 14px; font-weight: 600; animation: tour-rise .5s both; }
.tv-q u { text-decoration: none; border-bottom: 2px dashed var(--ytk-amber); padding: 0 12px; color: var(--ytk-amber); }
.tv-opts { width: 100%; max-width: 340px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tv-opt { text-align: center; padding: 9px 4px; border-radius: 11px; background: #fff; color: var(--ytk-navy); font-weight: 700; font-size: 14px; animation: tour-rise .5s both; }
.tv-opt.ok { animation: tour-rise .5s both, tour-ok 4s 1.2s infinite; }

/* dökümanlar */
.tv-docs { display: flex; gap: 12px; justify-content: center; }
.tv-doc { width: 70px; height: 96px; border-radius: 10px; background: #fff; box-shadow: 0 16px 24px -14px rgba(0, 0, 0, .6); padding: 10px 9px; animation: tour-doc 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
.tv-doc i { display: block; height: 5px; border-radius: 3px; background: #DCE2EE; margin-top: 6px; }
.tv-doc i:first-of-type { background: var(--ytk-red); width: 34px; height: 8px; margin-top: 0; }

/* ilerleme halkası + günler */
.tv-ringbox { position: relative; width: 112px; height: 112px; flex: none; }
.tv-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.tv-ring circle.v { stroke-dasharray: 327; stroke-dashoffset: 327; animation: tour-ring 4s ease-in-out infinite; }
.tv-ringnum { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-weight: 800; font-size: 19px; color: #fff; line-height: 1.1; }
.tv-ringnum small { display: block; font-size: 10px; letter-spacing: .08em; font-weight: 600; color: rgba(255, 255, 255, .65); margin-top: 4px; }
.tv-days { display: flex; gap: 6px; }
.tv-day { width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; animation: tour-day 4s infinite both; }

/* seviye merdiveni */
.tv-lvl { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.tv-lvl > div { width: 64px; border-radius: 10px 10px 4px 4px; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 800; font-size: 16px; display: flex; align-items: flex-start; justify-content: center; padding-top: 8px; animation: tour-lvl 4.5s ease-in-out infinite both; }

.tv-conf { position: absolute; top: -10px; width: 9px; height: 14px; border-radius: 2px; animation: tour-conf 3.2s linear infinite; }

@keyframes tour-fade { from { opacity: 0; } }
@keyframes tour-pop { from { opacity: 0; transform: scale(.88) translateY(14px); } }
@keyframes tour-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes tour-slide { from { opacity: 0; transform: translateX(26px); } }
@keyframes tour-float { 50% { transform: translate(-16px, 14px); } }
@keyframes tour-fly { 0% { left: -80px; transform: translateY(14px) rotate(8deg); } 50% { transform: translateY(-12px) rotate(-4deg); } 100% { left: 105%; transform: translateY(10px) rotate(6deg); } }
@keyframes tour-drift { from { left: 105%; } to { left: -140px; } }
@keyframes tour-lvl { 0%, 100% { background: rgba(255, 255, 255, .16); color: #fff; } 18%, 45% { background: var(--ytk-amber); color: var(--ytk-navy); } 60% { background: rgba(255, 255, 255, .16); color: #fff; } }
@keyframes tour-bubble { from { opacity: 0; transform: scale(.5); } }
@keyframes tour-flipA { 0%, 38% { transform: rotateY(0); } 50%, 88% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
@keyframes tour-flipB { 0%, 38% { transform: rotateY(180deg); } 50%, 88% { transform: rotateY(360deg); } 100% { transform: rotateY(540deg); } }
@keyframes tour-ok { 0%, 20% { background: #fff; transform: scale(1); } 30%, 80% { background: var(--ytk-green); transform: scale(1.1); } 100% { background: #fff; transform: scale(1); } }
@keyframes tour-fill { 0% { width: 8%; } 40%, 80% { width: 100%; } 100% { width: 8%; } }
@keyframes tour-doc { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(calc(var(--r, 0deg) * 1.4)); } }
@keyframes tour-pulse { 50% { transform: scale(1.12) rotate(-4deg); } }
@keyframes tour-ring { 0% { stroke-dashoffset: 327; } 50%, 85% { stroke-dashoffset: 26; } 100% { stroke-dashoffset: 327; } }
@keyframes tour-day { 0% { background: rgba(255, 255, 255, .14); transform: scale(1); } 12% { background: var(--ytk-amber); color: var(--ytk-navy); transform: scale(1.18); } 22%, 82% { background: var(--ytk-amber); color: var(--ytk-navy); transform: scale(1); } 100% { background: rgba(255, 255, 255, .14); transform: scale(1); } }
@keyframes tour-conf { from { transform: translateY(0) rotate(0); opacity: 1; } to { transform: translateY(260px) rotate(540deg); opacity: .9; } }
@media (prefers-reduced-motion: reduce) {
  .tour-overlay, .tour-card, .tour-slide, .tour-chip, .tv-plane, .tv-cloud, .tv-big, .tv-person, .tv-bubble, .tv-badge, .tv-flip .f, .tv-flip .b, .tv-opt, .tv-q, .tv-score i, .tv-doc, .tv-inf, .tv-ring circle.v, .tv-day, .tv-conf, .tv-row, .tv-lvl > div, .tour-stage .glow { animation: none !important; }
  .tv-flip .b { display: none; }
  .tv-ring circle.v { stroke-dashoffset: 26; }
  .tv-score i { width: 100%; }
  .tv-plane { left: 40%; }
}

/* ---------- Öğrenci paneli: 3D / animasyonlu tema (.stu) ---------- */
.stu.min-h-screen { background: radial-gradient(1100px 480px at 85% -8%, rgba(43, 89, 195, .16), transparent 60%), linear-gradient(180deg, #E8EDFA 0, #F5F7FB 460px); }
.stu header.stu-head { background: rgba(255, 255, 255, .8); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 12px 30px -24px rgba(11, 31, 75, .7); }

/* karşılama bandı + dönen 3D küp */
.stu-hero { position: relative; margin: 0 -16px 22px; padding: 22px 20px 30px; color: #fff; overflow: hidden;
  background: radial-gradient(480px 220px at 92% 0, rgba(255, 183, 3, .3), transparent 60%), linear-gradient(135deg, #0B1F4B 0%, #1B2F5E 55%, #2B59C3 135%);
  border-radius: 0 0 32px 32px; box-shadow: 0 26px 40px -30px rgba(11, 31, 75, .85); }
@media (min-width: 768px) { .stu-hero { margin: 0 0 26px; padding: 30px 34px 36px; border-radius: 0 0 38px 38px; } }
.stu-hero-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stu-kicker { font-family: var(--f-code); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ytk-amber); }
.stu-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 8vw, 44px); line-height: 1; text-transform: uppercase; margin: 6px 0 4px; animation: stu-in .6s cubic-bezier(.2, .8, .2, 1) backwards; overflow-wrap: anywhere; }
.stu-sub { color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.stu-orb { position: absolute; border-radius: 50%; animation: stu-float 7s ease-in-out infinite; pointer-events: none; }
.stu-orb.o1 { width: 170px; height: 170px; right: -50px; top: -70px; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 70%); }
.stu-orb.o2 { width: 100px; height: 100px; left: 34%; bottom: -46px; background: radial-gradient(circle at 30% 30%, rgba(230, 57, 70, .55), transparent 70%); animation-delay: -3s; }
.stu-scene { width: 72px; height: 72px; perspective: 460px; flex: none; }
.stu-cube { --h: 36px; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: stu-spin 14s linear infinite; }
.stu-cube .f { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 24px; color: var(--ytk-navy); border-radius: 12px; background: linear-gradient(145deg, #fff, #DCE5FB); box-shadow: inset 0 0 18px rgba(43, 89, 195, .3); }
.stu-cube .f0 { transform: translateZ(var(--h)); }
.stu-cube .f1 { transform: rotateY(180deg) translateZ(var(--h)); }
.stu-cube .f2 { transform: rotateY(90deg) translateZ(var(--h)); background: linear-gradient(145deg, #FFD25A, #FFB703); }
.stu-cube .f3 { transform: rotateY(-90deg) translateZ(var(--h)); }
.stu-cube .f4 { transform: rotateX(90deg) translateZ(var(--h)); background: linear-gradient(145deg, #F25A66, #E63946); color: #fff; }
.stu-cube .f5 { transform: rotateX(-90deg) translateZ(var(--h)); }
@media (min-width: 768px) { .stu-scene { width: 96px; height: 96px; } .stu-cube { --h: 48px; } .stu-cube .f { font-size: 30px; } }

/* kartlar, düğmeler, alanlar (ortak sabitlerdeki işaret sınıfları) */
.stu .ytk-card { border-width: 1.5px; border-radius: 20px; background: linear-gradient(180deg, #fff, #F8FAFE);
  box-shadow: 0 1px 0 #fff inset, 0 2px 4px rgba(11, 31, 75, .05), 0 18px 30px -22px rgba(11, 31, 75, .5);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s; animation: stu-in .5s cubic-bezier(.2, .8, .2, 1) backwards; }
.stu .ytk-card:nth-child(2) { animation-delay: .06s; } .stu .ytk-card:nth-child(3) { animation-delay: .12s; }
.stu .ytk-card:nth-child(4) { animation-delay: .18s; } .stu .ytk-card:nth-child(5) { animation-delay: .24s; }
.stu button.ytk-card:hover, .stu a.ytk-card:hover { transform: perspective(900px) translateY(-4px) rotateX(2.5deg); box-shadow: 0 1px 0 #fff inset, 0 3px 6px rgba(11, 31, 75, .08), 0 26px 36px -22px rgba(11, 31, 75, .55); }
.stu button.ytk-card:active { transform: translateY(0) scale(.985); }
.stu .stu-num { font-family: var(--f-display); font-weight: 800; font-size: 36px !important; line-height: 1; letter-spacing: .01em; }

.stu .ytk-btn-p { position: relative; overflow: hidden; background: linear-gradient(180deg, #F25A66 0%, #E63946 100%); color: #fff; border-radius: 14px;
  box-shadow: 0 4px 0 #A8232E, 0 14px 22px -12px rgba(230, 57, 70, .7); transition: transform .12s, box-shadow .12s, filter .2s; }
.stu .ytk-btn-p::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%); transform: translateX(-130%); pointer-events: none; }
.stu .ytk-btn-p:hover:not(:disabled) { box-shadow: 0 4px 0 #A8232E, 0 18px 26px -12px rgba(230, 57, 70, .8); filter: brightness(1.04); }
.stu .ytk-btn-p:hover:not(:disabled)::after { transform: translateX(130%); transition: transform .65s; }
.stu .ytk-btn-p:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #A8232E; }
.stu .ytk-btn-p:disabled { background: #9AA6C4; box-shadow: 0 4px 0 #7C88A8; }
.stu .ytk-btn-g { background: #fff; border-radius: 14px; box-shadow: 0 3px 0 #C9D1E3; transition: transform .12s, box-shadow .12s, border-color .2s; }
.stu .ytk-btn-g:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #C9D1E3; }
.stu .ytk-input { border-radius: 14px; background: #fff; box-shadow: inset 0 2px 4px rgba(11, 31, 75, .05); }
.stu .ytk-input:focus { border-color: var(--ytk-blue); box-shadow: 0 0 0 4px rgba(43, 89, 195, .16); }

.stu .ytk-ticket { background: linear-gradient(135deg, #fff 0%, #EEF3FF 100%); box-shadow: 0 2px 0 rgba(11, 31, 75, .06), 0 30px 46px -26px rgba(11, 31, 75, .65); transition: transform .3s cubic-bezier(.2, .8, .2, 1); animation: stu-in .6s cubic-bezier(.2, .8, .2, 1) backwards; }
.stu .ytk-ticket:hover { transform: perspective(1000px) rotateX(3deg) rotateY(-2deg) translateY(-3px); }
.stu .stu-ring-v { animation: stu-ring 1.3s cubic-bezier(.2, .8, .2, 1) backwards; }

/* 3D kart çevirme (kelime kartları) */
.stu-flip { display: block; width: 100%; min-height: 210px; perspective: 900px; cursor: pointer; }
.stu-flip-in { display: block; position: relative; width: 100%; min-height: 210px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.stu-flip-in.on { transform: rotateY(180deg); }
.stu-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; border-radius: 24px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 40px -26px rgba(11, 31, 75, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.stu-face.front { background: linear-gradient(145deg, #0B1F4B 0%, #2B59C3 120%); color: #fff; }
.stu-face.back { background: linear-gradient(145deg, #FFD25A, #FFB703); color: #0B1F4B; transform: rotateY(180deg); }
.stu-face b { font-family: var(--f-display); font-weight: 800; font-size: 36px; text-transform: uppercase; line-height: 1.05; overflow-wrap: anywhere; }
.stu-face small { font-family: var(--f-code); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 10px; }
.stu-pop { animation: stu-pop .4s ease both; }
.stu-shake { animation: stu-shake .4s ease both; }

/* mobil alt sabit menü ve "Daha fazla" çekmecesi */
.stu-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); pointer-events: none; }
.stu-bottom-in { pointer-events: auto; max-width: 520px; margin: 0 auto; display: flex; gap: 2px; padding: 6px; border-radius: 26px; background: rgba(11, 31, 75, .93);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -14px rgba(11, 31, 75, .75), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.stu-tab { position: relative; flex: 1; min-width: 0; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 20px; border: 0; background: transparent;
  color: rgba(255, 255, 255, .68); font-size: 10.5px; font-weight: 700; letter-spacing: .01em; transition: background .25s, color .25s, transform .15s; }
.stu-tab svg { width: 22px; height: 22px; transition: transform .3s cubic-bezier(.2, .9, .25, 1.4); }
.stu-tab:active { transform: scale(.94); }
.stu-tab.on { color: var(--ytk-navy); background: linear-gradient(180deg, #FFD25A, #FFB703); box-shadow: 0 8px 16px -8px rgba(255, 183, 3, .9); }
.stu-tab.on svg { transform: translateY(-2px) scale(1.15); }
.stu-tab .b { position: absolute; top: 5px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--ytk-red); color: #fff; font-size: 10px; display: grid; place-items: center; }
.stu-sheet { position: fixed; inset: 0; z-index: 70; background: rgba(6, 16, 40, .55); display: flex; align-items: flex-end; animation: tour-fade .2s ease both; }
.stu-sheet-in { width: 100%; background: #fff; border-radius: 28px 28px 0 0; padding: 18px 16px calc(24px + env(safe-area-inset-bottom)); animation: stu-sheet .32s cubic-bezier(.2, .9, .25, 1) both; }
.stu-sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stu-sheet-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; border-radius: 18px; border: 1.5px solid #DCE2EE;
  background: linear-gradient(180deg, #fff, #F3F6FD); color: var(--ytk-navy); font-weight: 700; font-size: 12.5px; box-shadow: 0 4px 0 #DCE2EE; transition: transform .12s, box-shadow .12s; }
.stu-sheet-item svg { width: 24px; height: 24px; }
.stu-sheet-item:active { transform: translateY(3px); box-shadow: 0 1px 0 #DCE2EE; }
.stu-sheet-item.on { border-color: var(--ytk-amber); background: linear-gradient(180deg, #FFF4D6, #FFE9A8); }
.stu-sheet-item .b { position: absolute; top: 6px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--ytk-red); color: #fff; font-size: 10.5px; display: grid; place-items: center; }
@media (min-width: 768px) { .stu-bottom, .stu-sheet { display: none; } }

@keyframes stu-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes stu-float { 50% { transform: translate(-12px, 14px); } }
@keyframes stu-spin { from { transform: rotateX(-18deg) rotateY(0); } to { transform: rotateX(-18deg) rotateY(360deg); } }
@keyframes stu-pop { 0% { transform: scale(.9); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes stu-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes stu-sheet { from { transform: translateY(100%); } }
@keyframes stu-ring { from { stroke-dashoffset: var(--c); } }
@media (hover: none) { .stu button.ytk-card:hover, .stu a.ytk-card:hover, .stu .ytk-ticket:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .stu *, .stu-sheet, .stu-sheet-in { animation: none !important; transition: none !important; }
  .stu-cube { transform: rotateX(-18deg) rotateY(-32deg); }
}
/* Menü ve ana alan görünürlüğü Tailwind önbelleğine bağlı değildir (brand.css sürümüyle birlikte gelir) */
.stu-topnav { display: none; }
@media (min-width: 768px) { .stu-topnav { display: block; } }
.stu-main { max-width: 680px; padding-top: 0; padding-bottom: 7rem; }
@media (min-width: 768px) { .stu-main { max-width: 880px; padding-bottom: 2.5rem; } }

/* ---------- Öğrenci paneli cilası: okunaklılık, bant, uçak, bilet, kartlar ---------- */
/* Menü ile çakışma yok: bant, menünün altında yüzen yuvarlak köşeli kart */
.stu-main { padding-top: 16px; }
.stu-hero { margin: 0 0 22px; border-radius: 26px; padding: 20px 20px 22px; }
@media (min-width: 768px) { .stu-hero { margin: 0 0 26px; border-radius: 30px; padding: 28px 34px 30px; } }

/* uçak animasyonu */
.stu-sky { position: relative; flex: none; width: 118px; height: 84px; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
@media (min-width: 768px) { .stu-sky { width: 190px; height: 104px; } }
.stu-sky .cl { position: absolute; height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .5); animation: stu-cloud 7s linear infinite; }
.stu-sky .c1 { width: 36px; top: 12px; left: 0; animation-duration: 6s; }
.stu-sky .c2 { width: 54px; top: 62px; left: 0; animation-duration: 9s; animation-delay: -4s; opacity: .7; }
.stu-sky .c3 { width: 28px; top: 40px; left: 0; animation-duration: 7.5s; animation-delay: -2s; opacity: .55; }
.stu-sky .trail { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(255, 255, 255, .4); animation: stu-trail 1s linear infinite; }
.stu-sky .plane { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); animation: stu-plane 4s ease-in-out infinite; }
@media (min-width: 768px) { .stu-sky .plane { width: 58px; height: 58px; margin: -29px 0 0 -29px; } }
@keyframes stu-cloud { from { transform: translateX(210px); } to { transform: translateX(-90px); } }
@keyframes stu-trail { to { background-position: 14px 0; } }
@keyframes stu-plane { 0%, 100% { transform: translate(-16px, 7px) rotate(-6deg); } 50% { transform: translate(16px, -9px) rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .stu-sky .plane, .stu-sky .cl, .stu-sky .trail { animation: none !important; } }

/* okunaklılık: silik gri metinler koyulaştırıldı (yalnızca öğrenci paneli) */
.stu [class*="text-[#5A6A92]"] { color: #2C3C6B; }
.stu [class*="text-[#8794B5]"] { color: #3A4A78; }
.stu [class*="text-[#3F4F7C]"] { color: #1F2F58; }
.stu .ytk-ticket .k { color: #44558A; }
.stu .ytk-eyebrow, .stu .ytk-code { color: #3A4A78; }
.stu .stu-hero [class*="text-"] { color: inherit; }

/* pasif birincil düğme okunur kalsın (örn. "Oda 5 dk önce açılır") */
.stu .ytk-btn-p:disabled { background: linear-gradient(180deg, #EDF1FA, #DFE6F5); color: #2A3A66; opacity: 1; box-shadow: 0 3px 0 #BCC7E0; font-weight: 700; cursor: not-allowed; }
.stu .ytk-btn-p:disabled::after { display: none; }

/* bilet: renkli sol bant, canlı geri sayım */
.stu .ytk-ticket-main { border-left: 6px solid var(--ytk-red); border-radius: 12px 0 0 12px; }
.stu .ytk-ticket-stub { background: linear-gradient(180deg, #FFF8E1, #FFF1C2); border-radius: 0 12px 12px 0; }
.stu .ytk-ticket-stub .ytk-btn-p { font-size: 14px; }
@media (max-width: 820px) { .stu .ytk-ticket-main { border-radius: 12px 12px 0 0; } .stu .ytk-ticket-stub { border-radius: 0 0 12px 12px; } }
.stu-count { font-size: 14px; color: #26365F; }
.stu-count b { font-family: var(--f-code); font-size: 17px; font-weight: 600; color: var(--ytk-blue); letter-spacing: .02em; }

/* kartlar: renkli üst vurgu, ikonlu istatistikler, canlı boş durum */
.stu .ytk-card { position: relative; background: linear-gradient(180deg, #fff 0%, #F4F7FF 100%); border-color: #CBD5EC; }
.stu .ytk-card::before { content: ""; position: absolute; left: 16px; right: 16px; top: -1.5px; height: 4px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--ytk-red), var(--ytk-amber) 55%, var(--ytk-blue)); opacity: .9; }
.stu .stu-stat { padding-top: 18px; }
.stu .stu-stat .stu-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 8px; color: #fff; box-shadow: 0 8px 14px -8px rgba(11, 31, 75, .6); }
.stu .stu-stat .stu-ico svg { width: 20px; height: 20px; }
.stu .stu-stat.s1 .stu-ico { background: linear-gradient(145deg, #3B6FE0, #2B59C3); }
.stu .stu-stat.s2 .stu-ico { background: linear-gradient(145deg, #FFC933, #F29A00); }
.stu .stu-stat.s3 .stu-ico { background: linear-gradient(145deg, #F25A66, #E63946); }
.stu .stu-stat p:first-of-type { font-weight: 600; }
.stu-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 18px; border-radius: 22px; border: 2px dashed #B7C3E0; background: linear-gradient(180deg, #F7F9FF, #EDF2FD); color: #2B59C3; text-align: center; }
.stu-empty svg { animation: stu-plane 4s ease-in-out infinite; }
.stu-empty p { color: #26365F; font-size: 15px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .stu-empty svg { animation: none; } }

/* ---------- Gün + saat seçici (ortak: öğrenci paneli + başvuru akışı; app-teacher.jsx TimeSlotPicker) ----------
   Mobil öncelikli: yatay gün şeridi, günün bölümü, büyük saat düğmeleri (min 50px), yapışkan onay çubuğu.
   Düzen kuralları burada (Tailwind önbelleğine bağlı değil). */
.ytk-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ytk-sp { container-type: inline-size; position: relative; min-width: 0; }

/* gün şeridi: kaydırılır; masaüstünde ok düğmeleri; kenarlarda yumuşak geçiş */
.ytk-sp-strip-w { display: flex; align-items: center; gap: 6px; }
.ytk-sp-arrow { display: none; flex: none; width: 40px; height: 40px; margin-top: -10px; border-radius: 50%; border: 1.5px solid #CBD5EC; background: #fff; color: var(--ytk-navy); place-items: center; cursor: pointer;
  box-shadow: 0 3px 0 #DCE2EE; transition: transform .12s, box-shadow .12s, opacity .2s, color .2s, border-color .2s; }
.ytk-sp-arrow:hover:not(:disabled) { border-color: var(--ytk-blue); color: var(--ytk-blue); }
.ytk-sp-arrow:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #DCE2EE; }
.ytk-sp-arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .ytk-sp-arrow { display: grid; } }
.ytk-sp-strip { --fl: 0px; --fr: 0px; position: relative; flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding: 0 8px; scrollbar-width: none; padding: 6px 6px 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%); }
.ytk-sp-strip::-webkit-scrollbar { display: none; }
.ytk-sp-strip.fl { --fl: 26px; }
.ytk-sp-strip.fr { --fr: 26px; }
.ytk-sp-day { position: relative; flex: none; width: 66px; min-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 4px 12px;
  border-radius: 16px; border: 1.5px solid #CBD5EC; background: linear-gradient(180deg, #fff, #F3F6FD); color: var(--ytk-navy); box-shadow: 0 3px 0 #D5DCEB; line-height: 1;
  scroll-snap-align: start; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .2s; }
.ytk-sp-day .w { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #3A4A78; }
.ytk-sp-day .n { font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: .95; }
.ytk-sp-day .m { font-size: 12px; font-weight: 600; color: #3A4A78; }
.ytk-sp-day .c { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); min-width: 24px; height: 19px; padding: 0 6px; border-radius: 99px; background: #E1E9FF; color: #1F49AE;
  font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.ytk-sp-day[aria-pressed="false"]:hover:not(:disabled) { border-color: var(--ytk-blue); transform: translateY(-2px); }
.ytk-sp-day:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 1px 0 #D5DCEB; }
.ytk-sp-day[aria-pressed="true"] { background: linear-gradient(160deg, #2A4BA3 0%, #0B1F4B 62%); border-color: #0B1F4B; color: #fff; transform: translateY(-2px);
  box-shadow: 0 4px 0 #06122E, 0 14px 22px -12px rgba(11, 31, 75, .85); }
.ytk-sp-day[aria-pressed="true"] .w, .ytk-sp-day[aria-pressed="true"] .m { color: rgba(255, 255, 255, .85); }
.ytk-sp-day[aria-pressed="true"] .c { background: var(--ytk-amber); color: var(--ytk-navy); }
.ytk-sp-day.picked::after { content: ""; position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--ytk-red); box-shadow: 0 0 0 2px #fff; }
.ytk-sp-day:disabled { cursor: not-allowed; border-style: dashed; border-color: #CBD3E6; background: #EDF0F6; box-shadow: none; color: #7D89AB; }
.ytk-sp-day:disabled .w, .ytk-sp-day:disabled .m { color: #7D89AB; }

/* günün bölümü: üç parçalı seçici (sayılarla) */
.ytk-sp-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; margin-top: 8px; padding: 4px; border-radius: 16px; background: #E4E9F5; box-shadow: inset 0 2px 4px rgba(11, 31, 75, .08); }
.ytk-sp-seg button { min-height: 50px; padding: 6px 4px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: #1F2F58; font-size: 14px; font-weight: 700; line-height: 1.15; text-align: center; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.ytk-sp-seg .l { display: inline-flex; align-items: center; gap: 5px; }
.ytk-sp-seg small { font-size: 11.5px; font-weight: 600; color: #3A4A78; }
.ytk-sp-seg button[aria-pressed="false"]:hover:not(:disabled) { background: rgba(255, 255, 255, .65); }
.ytk-sp-seg button[aria-pressed="true"] { background: #fff; color: var(--ytk-navy); box-shadow: 0 2px 0 #C3CDE3, 0 8px 16px -10px rgba(11, 31, 75, .55); }
.ytk-sp-seg button[aria-pressed="true"] small { color: var(--ytk-blue); }
.ytk-sp-seg button[aria-pressed="true"] svg { color: #E08A00; }
.ytk-sp-seg button:disabled { color: #8792B2; cursor: not-allowed; }
.ytk-sp-seg button:disabled small { color: #8792B2; }
@container (max-width: 380px) { .ytk-sp-seg svg { display: none; } .ytk-sp-seg button { font-size: 13px; } }

/* saatler: büyük dokunma hedefleri; 4 sütun (dar: 3, geniş: 6) */
.ytk-sp-dayhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; margin: 16px 2px 10px; }
.ytk-sp-dayhead b { font-size: 15px; font-weight: 700; color: var(--ytk-navy); }
.ytk-sp-dayhead span { font-size: 13px; color: #34446F; }
.ytk-sp-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
@container (max-width: 250px) { .ytk-sp-times { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (min-width: 500px) { .ytk-sp-times { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ytk-sp-time { position: relative; min-height: 50px; padding: 4px 2px; border-radius: 13px; border: 1.5px solid #CBD5EC; background: #fff; color: var(--ytk-navy); cursor: pointer;
  font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .01em; line-height: 1.1; box-shadow: 0 3px 0 #D5DCEB;
  transition: transform .12s, box-shadow .12s, border-color .2s, color .2s; animation: ytk-sp-in .32s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 14ms); }
.ytk-sp-time[aria-pressed="false"]:hover:not(:disabled) { border-color: var(--ytk-blue); color: var(--ytk-blue); transform: translateY(-1px); }
.ytk-sp-time:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #D5DCEB; }
.ytk-sp-time[aria-pressed="true"] { background: linear-gradient(180deg, #3463D1, #1E46A8); border-color: #1A3E96; color: #fff; transform: translateY(-2px);
  box-shadow: 0 4px 0 #0B1F4B, 0 12px 20px -10px rgba(43, 89, 195, .9); }
.ytk-sp-time[aria-pressed="true"]::after { content: ""; position: absolute; top: -8px; right: -6px; width: 21px; height: 21px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; animation: ytk-sp-badge .35s cubic-bezier(.2, .9, .25, 1.4) both;
  background: var(--ytk-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F4B' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ytk-sp-time:disabled { cursor: not-allowed; background: #EDF0F6; border-style: dashed; color: #4A5A85; box-shadow: none; }
.ytk-sp-time small { display: block; margin-top: 2px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
@keyframes ytk-sp-in { from { opacity: 0; transform: translateY(8px) scale(.96); } }
@keyframes ytk-sp-badge { from { opacity: 0; transform: scale(.3); } }
@keyframes ytk-sp-pop { from { opacity: 0; transform: translateY(6px); } }

/* onay çubuğu: seçim yokken içeriğin sonunda durur; saat seçilince ekranın altına yapışır
   (öğrenci panelinde mobil alt menünün (z 60) üstünde kalır) */
.ytk-sp-bar { position: relative; z-index: 20; margin-top: 18px; }
.ytk-sp-bar.on { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); }
.stu .ytk-sp-bar.on { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { .stu .ytk-sp-bar.on { bottom: 14px; } }
.ytk-sp-bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px; border-radius: 20px; border: 1.5px solid #CBD5EC; background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 18px -14px rgba(11, 31, 75, .45); transition: border-color .25s, box-shadow .25s, background-color .25s; }
.ytk-sp-bar.on .ytk-sp-bar-in { border-color: var(--ytk-blue); background: rgba(244, 247, 255, .97); box-shadow: 0 0 0 4px rgba(43, 89, 195, .14), 0 22px 38px -20px rgba(11, 31, 75, .7);
  animation: ytk-sp-up .32s cubic-bezier(.2, .9, .25, 1.1) both; }
@keyframes ytk-sp-up { from { opacity: 0; transform: translateY(18px); } }
.ytk-sp-sum { flex: 1 1 220px; min-width: 0; display: flex; align-items: center; gap: 10px; margin: 0; }
.ytk-sp-sum .ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #E6ECF9; color: #3A4A78; transition: background-color .25s, color .25s; }
.ytk-sp-bar.on .ytk-sp-sum .ic { background: var(--ytk-blue); color: #fff; }
.ytk-sp-sum .tx { min-width: 0; line-height: 1.25; }
.ytk-sp-sum .k { display: block; font-size: 12.5px; font-weight: 600; color: #3A4A78; }
.ytk-sp-sum b { display: block; font-size: 17px; font-weight: 800; color: var(--ytk-navy); }
.ytk-sp-sum b.mut { font-size: 15px; font-weight: 600; color: #26365F; }
.ytk-sp-sum .pop { animation: ytk-sp-pop .35s ease both; }
.ytk-sp-acts { flex: 1 1 230px; display: flex; gap: 8px; }
.ytk-sp-acts button { min-height: 50px; }
.ytk-sp-acts .go { flex: 1 1 auto; font-size: 16.5px; }
.ytk-sp-acts .sec { flex: 0 0 auto; }
@container (max-width: 340px) {
  .ytk-sp-bar-in { padding: 10px; gap: 8px; }
  .ytk-sp-sum .ic { display: none; }
  .ytk-sp-sum b { font-size: 16px; }
  .ytk-sp-acts button { min-height: 48px; }
}
.ytk-sp-err { flex: 1 1 100%; margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(225, 29, 72, .08); border: 1px solid rgba(225, 29, 72, .4); color: #BE123C; font-size: 14px; }
/* başvuru akışında dar ekranda WhatsApp balonu onay çubuğunun (Devam) üstüne binmesin */
@media (max-width: 719px) { body:has(.ytk-sp-bar) a.fixed[href*="wa.me/"] { display: none; } }

/* öğrenci paneli kutusu: başlık, bilgi rozetleri, kapat */
.ytk-sp-box { scroll-margin-top: 76px; margin-top: 14px; padding: 16px 14px 14px; border-radius: 22px; border: 1.5px solid #CBD5EC; background: linear-gradient(180deg, #fff 0%, #F5F8FF 100%);
  box-shadow: 0 1px 0 #fff inset, 0 18px 30px -24px rgba(11, 31, 75, .55); animation: ytk-sp-in .35s cubic-bezier(.2, .8, .2, 1) backwards; }
@media (min-width: 768px) { .ytk-sp-box { padding: 20px; scroll-margin-top: 136px; } }
@media (max-width: 480px) { .ytk-card .ytk-sp-box { margin-left: -10px; margin-right: -10px; padding-left: 12px; padding-right: 12px; } }
.ytk-sp-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.ytk-sp-top .tx { flex: 1; min-width: 0; }
.ytk-sp-top .ttl { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 24px; line-height: 1; text-transform: uppercase; color: var(--ytk-navy); }
.ytk-sp-top .hint { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: #26365F; }
.ytk-sp-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.ytk-sp-meta span { font-size: 12.5px; padding: 4px 10px; border-radius: 99px; background: #EAF0FF; border: 1px solid #D3DDF4; color: #1F2F58; }
.ytk-sp-x { flex: none; width: 44px; height: 44px; margin: -6px -4px 0 0; border-radius: 14px; border: 1.5px solid #CBD5EC; background: #fff; color: var(--ytk-navy); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 3px 0 #DCE2EE; transition: transform .12s, box-shadow .12s, border-color .2s, color .2s; }
.ytk-sp-x:hover { border-color: #e11d48; color: #e11d48; }
.ytk-sp-x:active { transform: translateY(2px); box-shadow: 0 1px 0 #DCE2EE; }
.ytk-sp-custom { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #C9D1E3; }

/* boş / uyarı / hata durumu ve yükleniyor iskeleti */
.ytk-sp-state { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px; border-radius: 18px; border: 2px dashed #B7C3E0; background: linear-gradient(180deg, #F7F9FF, #EDF2FD); text-align: center; }
.ytk-sp-state .ic { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--ytk-blue); box-shadow: 0 10px 18px -12px rgba(11, 31, 75, .6); }
.ytk-sp-state .t { margin: 2px 0 0; font-size: 16px; font-weight: 800; color: var(--ytk-navy); }
.ytk-sp-state .s { margin: 0; max-width: 46ch; font-size: 14px; line-height: 1.5; color: #26365F; }
.ytk-sp-state .fb { align-self: stretch; }
.ytk-sp-state .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ytk-sp-state.warn { border-color: rgba(217, 119, 6, .5); background: linear-gradient(180deg, #FFFBF1, #FFF3D6); }
.ytk-sp-state.warn .ic { color: #B45309; }
.ytk-sp-state.err { border-color: rgba(225, 29, 72, .45); background: linear-gradient(180deg, #FFF7F8, #FFEEF1); }
.ytk-sp-state.err .ic { color: #E11D48; }
.ytk-sp-skel { container-type: inline-size; }
.ytk-sp-skel .r { display: flex; gap: 8px; overflow: hidden; padding: 6px 6px 16px; }
.ytk-sp-skel .d { flex: none; width: 66px; height: 84px; border-radius: 16px; }
.ytk-sp-skel .s { height: 58px; margin-top: 8px; border-radius: 16px; }
.ytk-sp-skel .g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; margin-top: 44px; }
@container (min-width: 500px) { .ytk-sp-skel .g { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ytk-sp-skel .t { height: 50px; border-radius: 13px; }
.ytk-sk { display: block; background: linear-gradient(90deg, #E3E8F3 0%, #F3F6FC 45%, #E3E8F3 90%); background-size: 250% 100%; animation: ytk-sk 1.25s ease-in-out infinite; }
@keyframes ytk-sk { from { background-position: 100% 0; } to { background-position: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  .ytk-sp, .ytk-sp *, .ytk-sp *::after, .ytk-sp-box, .ytk-sp-skel *, .ytk-sp-state * { animation: none !important; transition: none !important; }
}

/* ---------- Ödev türleri (ortak: yönetim, öğrenci, öğretmen; app-teacher.jsx HW_KINDS) ----------
   --hw: türün ana rengi, --hwd: koyu tonu (metin). */
.ytk-hw-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 8px; border-radius: 99px; font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap;
  color: var(--hwd, #33426B); border: 1.5px solid var(--hw, #5A6A92); background: linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .88)), var(--hw, #5A6A92); }
.ytk-hw-badge svg { flex: none; color: var(--hw, #5A6A92); }
.ytk-hw-read { margin: 12px 0 0; padding: 12px 16px 14px; border-radius: 16px; border: 1.5px solid #D3DBEE; border-left: 5px solid var(--hw, #2B59C3); background: #FBFCFF; min-width: 0; }
.ytk-hw-read figcaption { margin-bottom: 6px; font-family: var(--f-code); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #3A4A78; }
.ytk-hw-read .tx { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--f-body); font-size: 16px; line-height: 1.75; color: #12224A; }
.ytk-hw-blank { display: inline-block; min-width: 58px; margin: 0 3px; padding: 0 8px; border-bottom: 2.5px solid var(--hw, #F29A00); border-radius: 6px 6px 0 0; background: #FFF4D6;
  text-align: center; font-family: var(--f-code); font-size: 12px; font-weight: 700; line-height: 1.7; color: #8A5300; }

/* yönetim → Ödev: tür kartları ve form */
.ytk-hwf-who { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px dashed #C9D1E3; }
.ytk-hwf-who p { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ytk-hwf-who b { font-size: 17px; color: var(--ytk-navy); overflow-wrap: anywhere; }
.ytk-hwf-l { display: block; margin: 16px 0 6px; font-size: 13.5px; font-weight: 700; color: var(--ytk-navy); }
.ytk-hwf-l span { font-weight: 500; color: #4A5A85; }
.ytk-hwk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
@media (max-width: 640px) { .ytk-hwk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 360px) { .ytk-hwk-grid { grid-template-columns: minmax(0, 1fr); } }
.ytk-hwk { position: relative; display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 12px; text-align: left; border-radius: 16px; border: 1.5px solid #CBD5EC; background: #fff; cursor: pointer;
  box-shadow: 0 3px 0 #DCE2EE; transition: transform .15s, box-shadow .15s, border-color .2s, background-color .2s; }
.ytk-hwk:hover { border-color: var(--hw); transform: translateY(-2px); }
.ytk-hwk:active { transform: translateY(1px); box-shadow: 0 1px 0 #DCE2EE; }
.ytk-hwk .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--hw); background: #F1F4FB; transition: background-color .2s, color .2s; }
.ytk-hwk .tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ytk-hwk b { font-size: 14.5px; line-height: 1.2; color: var(--ytk-navy); }
.ytk-hwk small { font-size: 12.5px; line-height: 1.35; color: #34446F; overflow-wrap: anywhere; }
.ytk-hwk[aria-checked="true"] { border-color: var(--hw); transform: translateY(-2px); background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), var(--hw);
  box-shadow: 0 0 0 2px var(--hw), 0 12px 20px -14px var(--hwd); }
.ytk-hwk[aria-checked="true"] .ic { color: #fff; background: linear-gradient(145deg, var(--hw), var(--hwd)); }
.ytk-hwk[aria-checked="true"]::after { content: ""; position: absolute; top: -8px; right: -6px; width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px #fff;
  background: var(--ytk-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F4B' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 640px) { .ytk-hwk { flex-direction: column; gap: 6px; } .ytk-hwk .ic { width: 36px; height: 36px; } }
.ytk-hwf-content { line-height: 1.6; min-height: 170px; }
.ytk-hwf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 6px; font-size: 13px; }
.ytk-hwf-meta .n { margin-left: auto; color: #4A5A85; font-variant-numeric: tabular-nums; }
.ytk-hwf-meta .ok { color: #0E7A48; font-weight: 700; }
.ytk-hwf-meta .warn { color: #B45309; font-weight: 700; }
.ytk-hwf-msg { margin-top: 14px; padding: 10px 12px; border-radius: 12px; font-size: 14px; }
.ytk-hwf-msg.err { background: rgba(225, 29, 72, .08); border: 1px solid rgba(225, 29, 72, .45); color: #BE123C; }
.ytk-hwf-msg.ok { background: #E3F8EE; border: 1px solid #A8E6C6; color: #0E5F39; font-weight: 600; }
.ytk-hwf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ytk-hwf-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border-radius: 12px; background: #F5F7FB; border: 1px solid #E1E6F2; }
.ytk-hwf-list .t { flex: 1 1 160px; min-width: 0; font-weight: 600; color: var(--ytk-navy); overflow-wrap: anywhere; }
.ytk-hwf-list .s { font-size: 12.5px; color: #34446F; }

/* öğrenci → Ödevlerim: türe göre renkli kart, ikon, yönerge, cevap alanı */
.stu .stu-hw::before { background: linear-gradient(90deg, var(--hw), var(--ytk-amber)); }
.stu-hw-head { display: flex; align-items: flex-start; gap: 12px; }
.stu-hw-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--hw), var(--hwd));
  box-shadow: 0 10px 16px -10px var(--hwd), inset 0 1px 0 rgba(255, 255, 255, .3); transform: perspective(300px) rotateX(8deg); }
.stu-hw-instr { margin-top: 12px; font-size: 14px; line-height: 1.55; color: #1F2F58; white-space: pre-wrap; overflow-wrap: anywhere; }
.stu-hw-instr b { display: block; margin-bottom: 2px; font-family: var(--f-code); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #3A4A78; }
.stu-hw-ans { margin-top: 14px; padding-top: 14px; border-top: 1.5px dashed #C9D1E3; }
.stu-hw-ans-l { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--ytk-navy); }
.stu-hw-ans-l span { font-size: 12.5px; font-weight: 600; color: #34446F; }
.stu-hw-hint { display: block; margin: -2px 0 8px; font-size: 13px; line-height: 1.45; color: #26365F; }
.stu-hw-blanks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.stu-hw-blanks label { display: flex; align-items: center; gap: 8px; min-width: 0; }
.stu-hw-blanks .no { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #FFF4D6; color: #8A5300; font-family: var(--f-code); font-size: 13px; font-weight: 700; }
.stu-hw-blanks input { min-width: 0; padding: 10px 12px; }

/* ---------- Öğrenci → Yol haritam: uçuş rotası ----------
   Üstte ilerleme özeti (halka + sıradaki durak), altta açılır etap kartları; duraklar bağlantı çizgisi üzerinde.
   --pc: etabın ana rengi, --pd: koyu tonu. Hareketler .stu altındaki "hareketi azalt" kuralıyla kapanır. */
.stu-rm { --rm-ease: cubic-bezier(.2, .8, .2, 1); }
.rm-sum { position: relative; overflow: hidden; padding: 18px; border-radius: 26px; color: #fff;
  background: radial-gradient(420px 200px at 100% 0, rgba(255, 183, 3, .28), transparent 60%), linear-gradient(135deg, #0B1F4B 0%, #1B2F5E 60%, #2B59C3 140%);
  box-shadow: 0 26px 40px -28px rgba(11, 31, 75, .85); animation: stu-in .6s var(--rm-ease) backwards; }
@media (min-width: 768px) { .rm-sum { padding: 22px 26px; } }
.rm-sum-top, .rm-sum-rest { position: relative; z-index: 1; }
.rm-sum-top { display: flex; align-items: center; gap: 16px; }
.rm-ring { position: relative; flex: none; width: 104px; height: 104px; }
@media (min-width: 768px) { .rm-ring { width: 132px; height: 132px; } }
.rm-ring svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .28)); }
.rm-ring-v { transition: stroke-dashoffset .9s var(--rm-ease); }
.rm-ring-n { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.rm-ring-n b { font-family: var(--f-display); font-weight: 800; font-size: 30px; }
@media (min-width: 768px) { .rm-ring-n b { font-size: 36px; } }
.rm-ring-n small { margin-top: 3px; font-family: var(--f-code); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.rm-sum-head { min-width: 0; flex: 1; }
.rm-k { font-family: var(--f-code); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ytk-amber); }
.rm-big { margin: 4px 0 2px; font-family: var(--f-display); font-weight: 800; font-size: 38px; line-height: 1; }
.rm-big span { font-size: 20px; text-transform: uppercase; opacity: .82; }
.rm-sub { font-size: 13px; color: rgba(255, 255, 255, .82); }
.rm-motto { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.rm-next { margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.rm-next .ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ytk-amber); color: var(--ytk-navy); animation: rm-bob 2.6s ease-in-out infinite; }
.rm-next .tx { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rm-next .k { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.rm-next b { font-size: 15.5px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.rm-cheer { margin-top: 10px; display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--ytk-green); color: #06331D; font-size: 13.5px; font-weight: 700; animation: stu-pop .45s ease both; }
.rm-cheer:empty { display: none; }
.rm-help { margin: 12px 4px 14px; font-size: 13px; line-height: 1.45; color: #26365F; }

.rm-route { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.rm-phase { position: relative; border-radius: 22px; border: 1.5px solid #CBD5EC; background: linear-gradient(180deg, #fff, #F6F8FE);
  box-shadow: 0 1px 0 #fff inset, 0 18px 30px -24px rgba(11, 31, 75, .55); animation: stu-in .5s var(--rm-ease) backwards; animation-delay: calc(var(--i, 0) * 80ms + 120ms); }
.rm-phase::before { content: ""; position: absolute; left: -1.5px; top: 16px; height: 46px; width: 5px; border-radius: 0 5px 5px 0; background: var(--pc); }
.rm-phase:not(:last-child)::after { content: ""; position: absolute; left: 40px; bottom: -18px; height: 18px; border-left: 3px dotted var(--pc); opacity: .65; }
.rm-phase[data-state="todo"] { background: linear-gradient(180deg, #FBFCFF, #F1F4FB); }
.rm-phase[data-state="todo"]::before { background: #B7C3E0; }
.rm-phase[data-state="current"] { border-color: var(--pc); box-shadow: 0 0 0 3px rgba(255, 183, 3, .22), 0 22px 34px -24px rgba(11, 31, 75, .65); }
.rm-ph-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border: 0; border-radius: 22px; background: transparent; color: var(--ytk-navy); text-align: left; cursor: pointer; }
.rm-ph-no { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 22px; color: #fff;
  background: linear-gradient(145deg, var(--pc), var(--pd)); box-shadow: 0 10px 16px -10px var(--pd), inset 0 1px 0 rgba(255, 255, 255, .3); transform: perspective(300px) rotateX(8deg); }
.rm-phase[data-state="todo"] .rm-ph-no { background: #E4E9F5; color: #3A4A78; box-shadow: none; }
.rm-phase[data-state="current"] .rm-ph-no { animation: rm-glow 2.4s ease-in-out infinite; }
.rm-ph-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rm-ph-tx .k { font-family: var(--f-code); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pd); }
.rm-phase[data-state="todo"] .rm-ph-tx .k { color: #4A5A85; }
.rm-ph-tx b { font-size: 16px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.rm-ph-bar { display: block; height: 7px; margin-top: 5px; border-radius: 99px; background: #E4E9F5; overflow: hidden; }
.rm-ph-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--pc), var(--pd)); transition: width .8s var(--rm-ease);
  animation: rm-fill 1s var(--rm-ease) backwards; animation-delay: calc(var(--i, 0) * 80ms + 350ms); }
.rm-ph-cnt { flex: none; font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--pd); }
.rm-phase[data-state="todo"] .rm-ph-cnt { color: #4A5A85; }
.rm-chev { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #EEF2FB; color: var(--ytk-navy); transition: transform .3s var(--rm-ease), background-color .2s; }
.rm-ph-head:hover .rm-chev { background: #E1E8F8; }
.rm-phase.open .rm-chev { transform: rotate(180deg); }

.rm-stops { list-style: none; margin: 0; padding: 2px 14px 16px 18px; display: grid; gap: 12px; }
.rm-stop { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; animation: rm-in .45s var(--rm-ease) backwards; animation-delay: calc(var(--i, 0) * 60ms + 40ms); }
.rm-stop:not(:last-child)::before { content: ""; position: absolute; left: 17.5px; top: 40px; bottom: -14px; border-left: 3px dashed #C3CDE3; }
.rm-stop[data-s="done"]:not(:last-child)::before { border-left-style: solid; border-color: var(--pc); }
.rm-node { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 16px;
  color: #4A5A85; background: #fff; border: 2.5px dashed #B7C3E0; }
.rm-stop[data-s="done"] .rm-node { border: 0; color: #fff; background: linear-gradient(145deg, var(--pc), var(--pd)); box-shadow: 0 8px 14px -8px var(--pd); }
.rm-stop[data-s="next"] .rm-node { border: 0; color: var(--ytk-navy); background: var(--ytk-amber); animation: rm-pulse 1.8s ease-out infinite; }
.rm-stop.pop .rm-node { animation: rm-popn .6s cubic-bezier(.2, .9, .25, 1.4) both; }
.rm-stop.pop .rm-card { animation: stu-pop .5s ease both; }
.rm-card { min-width: 0; padding: 12px 14px; border-radius: 16px; border: 1.5px solid #DCE2EE; background: #fff; box-shadow: 0 2px 0 #E4E9F5; transition: border-color .25s, box-shadow .25s; }
.rm-stop[data-s="next"] .rm-card { border-color: var(--pc); box-shadow: 0 0 0 4px rgba(255, 183, 3, .2), 0 16px 26px -20px rgba(11, 31, 75, .6); }
.rm-stop[data-s="done"] .rm-card { background: #F7F9FD; }
.rm-stop[data-s="todo"] .rm-card { background: #FCFDFF; }
.rm-card-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 10px; }
.rm-card-tx { flex: 1 1 150px; min-width: 0; }
.rm-tag { display: inline-block; margin-bottom: 4px; padding: 2px 9px; border-radius: 99px; background: var(--ytk-amber); color: var(--ytk-navy); font-family: var(--f-code); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.rm-tag.amber { background: #FFF1C2; color: #8A5300; }
.rm-title { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--ytk-navy); overflow-wrap: anywhere; }
.rm-stop[data-s="done"] .rm-title { color: #34446F; }
.rm-by { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--pd); }
.rm-due { margin-top: 3px; font-size: 12.5px; color: #34446F; }
.rm-acts { flex: none; display: flex; align-items: center; }
.rm-undo { padding: 6px 4px; font-size: 12.5px; color: #34446F; text-decoration: underline; }
.rm-goal { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: #26365F; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rm-plain { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: #26365F; white-space: pre-wrap; overflow-wrap: anywhere; }
.rm-secs { margin-top: 10px; display: grid; gap: 8px; }
.rm-sec { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 9px 10px; border-radius: 12px; background: #F4F7FD; animation: rm-in .4s var(--rm-ease) backwards; animation-delay: calc(var(--j, 0) * 60ms); }
.rm-sec .ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--ytk-blue); }
.rm-sec[data-k="goal"] .ic { background: var(--ytk-red); }
.rm-sec[data-k="prac"] .ic { background: #0D9488; }
.rm-sec[data-k="out"] .ic { background: var(--ytk-amber); color: var(--ytk-navy); }
.rm-sec .l { font-family: var(--f-code); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #3A4A78; }
.rm-sec .t { font-size: 13.5px; line-height: 1.5; color: #1F2F58; white-space: pre-wrap; overflow-wrap: anywhere; }
.rm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.rm-chips span { min-width: 0; padding: 4px 9px; border-radius: 9px; border: 1px solid #CBD5EC; background: #fff; box-shadow: 0 2px 0 #DCE2EE; font-size: 12.5px; font-weight: 600; color: var(--ytk-navy); overflow-wrap: anywhere; }
.rm-more { margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; font-size: 13px; font-weight: 700; color: var(--ytk-blue); }
.rm-more svg { transition: transform .25s; }
.rm-more[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (max-width: 420px) {
  .rm-ph-head { gap: 10px; padding: 12px 10px 12px 14px; }
  .rm-ph-no { width: 40px; height: 40px; font-size: 19px; border-radius: 13px; }
  .rm-chev { width: 30px; height: 30px; }
  .rm-phase:not(:last-child)::after { left: 33px; }
  .rm-stops { padding: 2px 10px 14px 12px; }
  .rm-stop { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .rm-node { width: 32px; height: 32px; font-size: 14px; }
  .rm-stop:not(:last-child)::before { left: 14.5px; top: 34px; }
  .rm-card { padding: 11px 12px; }
  .rm-big { font-size: 34px; }
}
@keyframes rm-in { from { opacity: 0; transform: translateX(-10px); } }
@keyframes rm-fill { from { width: 0; } }
@keyframes rm-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 183, 3, .65); } 70% { box-shadow: 0 0 0 12px rgba(255, 183, 3, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0); } }
@keyframes rm-glow { 50% { box-shadow: 0 12px 24px -6px var(--pc), inset 0 1px 0 rgba(255, 255, 255, .3); } }
@keyframes rm-bob { 50% { transform: translateY(-3px) rotate(-8deg); } }
@keyframes rm-popn { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .stu-rm *, .ytk-hwk { animation: none !important; transition: none !important; }
}

/* ---------- Yönetim → Öğrenciler: özet kartları, liste (masaüstünde satır, mobilde kart), detay çekmecesi ---------- */
.ytk-stu-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.ytk-stu-kpi { --k: var(--ytk-navy); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; text-align: left; padding: 12px 14px; border-radius: 14px; background: #fff; border: 2px solid var(--ytk-line); border-left: 6px solid var(--k); transition: border-color .15s, box-shadow .15s, transform .15s; }
.ytk-stu-kpi:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -14px var(--ytk-glow); }
.ytk-stu-kpi b { font-family: var(--f-display); font-size: 30px; line-height: 1; color: var(--ytk-navy); font-variant-numeric: tabular-nums; }
.ytk-stu-kpi span { font-size: 13px; font-weight: 600; color: #34446F; overflow-wrap: anywhere; }
.ytk-stu-kpi.on { border-color: var(--k); background: #F5F7FB; box-shadow: 0 0 0 2px var(--k) inset; }
.ytk-stu-kpi.is-aktif { --k: #0E7A48; } .ytk-stu-kpi.is-yakinda { --k: #C2410C; } .ytk-stu-kpi.is-odeme_bekliyor { --k: #B45309; }
.ytk-stu-kpi.is-aday { --k: #2B59C3; } .ytk-stu-kpi.is-pasif { --k: #5A6A92; } .ytk-stu-kpi.is-iptal, .ytk-stu-kpi.is-engelli { --k: #BE123C; } .ytk-stu-kpi.is-ogretmensiz { --k: #7C3AED; }
.ytk-stu-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 240px) auto; gap: 8px; margin-bottom: 10px; }
.ytk-stu-count { font-size: 13px; color: #34446F; margin-bottom: 10px; }
.ytk-stu-badge { display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; border: 1px solid currentColor; margin-right: 4px; }
.ytk-stu-badge.is-aktif { color: #0E7A48; background: #E3F8EE; } .ytk-stu-badge.is-yakinda { color: #C2410C; background: #FFF1E6; }
.ytk-stu-badge.is-odeme_bekliyor { color: #B45309; background: #FEF6E0; } .ytk-stu-badge.is-aday { color: #2B59C3; background: #EAF0FC; }
.ytk-stu-badge.is-pasif { color: #4A5A85; background: #F1F3F8; } .ytk-stu-badge.is-iptal { color: #BE123C; background: #FDECEF; }
.ytk-stu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ytk-stu-li { width: 100%; display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .7fr); gap: 10px; align-items: center; text-align: left; padding: 11px 14px; border-radius: 12px; background: #fff; border: 2px solid var(--ytk-line); font-size: 14px; color: var(--ytk-navy-2); transition: border-color .15s; }
button.ytk-stu-li:hover, button.ytk-stu-li:focus-visible { border-color: var(--ytk-blue); outline: none; }
.ytk-stu-li > span { min-width: 0; overflow-wrap: anywhere; }
.ytk-stu-li .who { display: flex; flex-direction: column; } .ytk-stu-li .who b { color: var(--ytk-navy); }
.ytk-stu-li .who small { font-size: 12.5px; color: #4A5A85; }
.ytk-stu-li em.warn { font-style: normal; color: #B45309; font-weight: 600; }
.ytk-stu-head { background: transparent; border: 0; padding-top: 0; padding-bottom: 0; font-size: 12px; color: var(--ytk-muted); }
@media (max-width: 860px) {
  .ytk-stu-tools { grid-template-columns: 1fr; }
  .ytk-stu-head { display: none; }
  .ytk-stu-li { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .ytk-stu-li .who { grid-column: 1 / -1; }
  .ytk-stu-li .st { grid-column: 1 / -1; }
  .ytk-stu-li > span[data-l]::before { content: attr(data-l); display: block; font-size: 11px; color: var(--ytk-muted); }
}
.ytk-stu-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(11, 31, 75, .45); display: flex; justify-content: flex-end; }
.ytk-stu-drawer { width: min(620px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain; background: #F5F7FB; padding: 18px 18px 40px; box-shadow: -20px 0 40px -20px rgba(11, 31, 75, .5); }
.ytk-stu-dhead { position: sticky; top: -18px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin: -18px -18px 12px; padding: 16px 18px 12px; background: #fff; border-bottom: 2px solid var(--ytk-line); }
.ytk-stu-dname { font-family: var(--f-display); font-weight: 800; font-size: 24px; line-height: 1.1; color: var(--ytk-navy); overflow-wrap: anywhere; }
.ytk-stu-dsub { font-size: 13px; color: #4A5A85; overflow-wrap: anywhere; }
.ytk-stu-dbody { display: grid; gap: 12px; }
.ytk-stu-sec { background: #fff; border: 2px solid var(--ytk-line); border-radius: 14px; padding: 14px; min-width: 0; }
.ytk-stu-sec h3 { font-size: 15px; font-weight: 700; color: var(--ytk-navy); margin-bottom: 6px; }
.ytk-stu-note { font-size: 13px; color: #34446F; margin: 4px 0 8px; line-height: 1.5; }
.ytk-stu-facts { display: grid; gap: 6px; }
.ytk-stu-facts p { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; align-items: baseline; font-size: 14px; color: var(--ytk-navy-2); }
.ytk-stu-facts p > span:first-child { font-size: 12.5px; color: var(--ytk-muted); }
.ytk-stu-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ytk-stu-form label { display: block; font-size: 12.5px; font-weight: 600; color: #34446F; min-width: 0; }
.ytk-stu-form label.wide { grid-column: 1 / -1; }
.ytk-stu-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ytk-stu-row > input, .ytk-stu-row > select { flex: 1 1 200px; min-width: 0; }
.ytk-stu-danger { padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: 14px; color: #fff; background: #BE123C; border: 2px solid #BE123C; }
.ytk-stu-danger:hover { background: #9F1239; }
.ytk-stu-danger:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 520px) { .ytk-stu-facts p { grid-template-columns: 1fr; gap: 0; } .ytk-stu-drawer { padding: 14px 12px 32px; } .ytk-stu-dhead { margin: -14px -12px 12px; padding: 12px; top: -14px; } }

/* Kalan ders hakkı rozeti, yapılacaklar listesi, boş durum alt metni */
.stu-quota { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 118px; padding: 8px 14px 12px; border-radius: 16px; background: linear-gradient(145deg, #0B1F4B, #2B59C3); color: #fff; box-shadow: 0 14px 22px -14px rgba(11, 31, 75, .8); overflow: hidden; }
.stu-quota b { font-family: var(--f-display); font-weight: 800; font-size: 36px; line-height: 1; color: var(--ytk-amber); }
.stu-quota span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.stu-quota i { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--p, 0%); background: linear-gradient(90deg, #5BE49B, var(--ytk-amber)); transition: width .6s; }
.stu-quota.zero { background: linear-gradient(145deg, #6B1D25, #E63946); }
.stu-quota.zero b { color: #fff; }
.stu-todo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stu-todo-list button { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1.5px solid #CBD5EC; background: #fff; font-size: 14px; font-weight: 600; color: #1F2F58; min-height: 44px; transition: transform .15s, border-color .2s; }
.stu-todo-list button:hover { border-color: var(--ytk-blue); transform: translateX(2px); }
.stu-todo-list .d { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ytk-blue); }
.stu-todo-list .d.warn { background: #d97706; } .stu-todo-list .d.hw { background: var(--ytk-red); } .stu-todo-list .d.road { background: #7c3aed; } .stu-todo-list .d.lesson { background: var(--ytk-amber); }
.stu-todo-list em { font-style: normal; font-weight: 500; color: #3A4A78; }
.stu-empty-sub { font-weight: 500 !important; font-size: 14px !important; max-width: 46ch; line-height: 1.55; }

/* Onay penceresi */
.stu-popup { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(6, 16, 40, .6); animation: tour-fade .2s ease both; }
.stu-popup-card { width: 100%; max-width: 380px; text-align: center; padding: 26px 22px 20px; border-radius: 24px; background: #fff; box-shadow: 0 40px 70px -28px rgba(0, 0, 0, .7); animation: tour-pop .35s cubic-bezier(.2, .9, .25, 1.15) both; }
.stu-popup-card .ck { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(145deg, #5BE49B, #1faa6b); color: #fff; font-size: 30px; font-weight: 800; box-shadow: 0 14px 22px -12px rgba(31, 170, 107, .8); animation: stu-pop .5s ease both; }
.stu-popup-card p { color: #1F2F58; font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 16px; }
@media (prefers-reduced-motion: reduce) { .stu-popup, .stu-popup-card, .stu-popup-card .ck { animation: none !important; } }
