/* İş ilerleme çubuğu: yüzde + sayı + kalan süre */
.jobprog { display: flex; flex-direction: column; gap: 5px; min-width: 280px; }
.jobprog .progress { width: 100%; height: 7px; }
.jobnums { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.jobnums strong { color: var(--accent); font-size: 13px; }
.progress.indeterminate div { width: 30% !important; animation: indet 1.2s ease-in-out infinite; }
@keyframes indet { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
@media (max-width: 860px) { .jobprog { min-width: 0; width: 100%; order: 3; } }

/* Arka plan doğrulama şeridi */
.vbanner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 16px; border-radius: 12px; background: var(--accent-soft); border: 1px solid #c7d2fe; font-size: 13.5px; animation: fadeUp .3s var(--ease); }
.vbanner.ok { background: var(--green-soft); border-color: #bbf7d0; color: #15803d; font-weight: 600; }
.vbanner.ok .ic { width: 16px; height: 16px; }
.vbanner.off { background: var(--amber-soft); border-color: #fde3b5; color: #92400e; }

/* Kategori sırası önizleme */
.sortcols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.catlist { list-style: none; margin: 0; padding: 6px; max-height: 420px; overflow: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.catlist li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px; font-size: 12.5px; transition: background .2s; }
.catlist li:hover { background: var(--bg3); }
.catlist li.moved { background: var(--accent-soft); }
.catlist .n { width: 22px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.catlist .g { font-size: 10px; font-weight: 650; padding: 1px 6px; border-radius: 6px; flex: none; min-width: 52px; text-align: center; background: var(--bg3); color: var(--muted); }
.g-year { background: #eef2ff !important; color: #4f46e5 !important; }
.g-platform { background: #fdf2f8 !important; color: #db2777 !important; }
.g-genre { background: #ecfdf3 !important; color: #15803d !important; }
.g-weekday { background: #fff7e6 !important; color: #b45309 !important; }
.g-channel { background: #f0f9ff !important; color: #0369a1 !important; }
@media (max-width: 860px) { .sortcols { grid-template-columns: 1fr; } }

/* ============================================================
   Giriş ekranı + maskot (Zippy)
   ============================================================ */
.auth { position: fixed; inset: 0; overflow: auto; display: grid; place-items: center; padding: 24px; background: #f4f3ff; z-index: 30; }
.auth-bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.auth-bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.auth-bg i:nth-child(1) { width: 520px; height: 520px; background: #c7d2fe; left: -140px; top: -160px; }
.auth-bg i:nth-child(2) { width: 460px; height: 460px; background: #fbcfe8; right: -120px; bottom: -160px; animation-delay: -6s; }
.auth-bg i:nth-child(3) { width: 300px; height: 300px; background: #ddd6fe; left: 45%; top: 55%; animation-delay: -12s; }
@keyframes float { to { transform: translate(60px, -40px) scale(1.08); } }

.auth-shell { position: relative; width: min(1040px, 100%); min-height: 600px; display: grid; grid-template-columns: 1.05fr 1fr; background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .9); border-radius: 28px; box-shadow: 0 30px 80px rgba(49, 46, 129, .16), 0 2px 8px rgba(15, 23, 42, .05); overflow: hidden; animation: modalIn .6s var(--ease); }

/* ---------- Sol tanıtım paneli ---------- */
.auth-hero { position: relative; padding: 40px 44px; color: #fff; display: flex; flex-direction: column; gap: 28px; overflow: hidden;
  background: radial-gradient(600px 400px at 0% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(150deg, #4f46e5 0%, #6d28d9 55%, #9333ea 100%); }
.auth-hero::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); pointer-events: none; }
.auth-hero .brand { padding: 0; color: #fff; }
.auth-hero .brand small { color: rgba(255, 255, 255, .7); }
.auth-hero .logo { background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.hero-copy h2 { font-size: 34px; line-height: 1.15; letter-spacing: -.03em; margin: 8px 0 14px; font-weight: 750; }
.hero-copy h2 span { background: linear-gradient(90deg, #fde68a, #fbcfe8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p { margin: 0; color: rgba(255, 255, 255, .84); font-size: 15px; line-height: 1.6; max-width: 420px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hero-points li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); transition: background .25s, transform .25s var(--ease); animation: fadeUp .6s var(--ease) both; }
.hero-points li:nth-child(1) { animation-delay: .15s; }
.hero-points li:nth-child(2) { animation-delay: .25s; }
.hero-points li:nth-child(3) { animation-delay: .35s; }
.hero-points li:hover { background: rgba(255, 255, 255, .14); transform: translateX(4px); }
.hero-points strong { display: block; font-size: 14px; }
.hero-points small { color: rgba(255, 255, 255, .74); font-size: 12.5px; }
.hp-ico { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; flex: none; }
.hero-foot { margin-top: auto; font-size: 12.5px; color: rgba(255, 255, 255, .65); }

/* ---------- Sağ giriş paneli ---------- */
.auth-panel { padding: 34px 48px 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mascot-wrap { position: relative; width: 210px; height: 200px; margin-bottom: 6px; }
.mascot { width: 100%; height: 100%; overflow: visible; }
.mascot-bubble { position: absolute; left: 82%; top: 0; width: max-content; max-width: 160px; white-space: normal; line-height: 1.35; background: #fff; color: var(--text2); font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 12px 12px 12px 4px; box-shadow: var(--shadow); opacity: 0; transform: translateY(6px) scale(.9); transform-origin: left bottom; transition: opacity .25s, transform .3s var(--ease); pointer-events: none; z-index: 2; }
.mascot-bubble.show { opacity: 1; transform: none; }

.auth-form { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 12px; }
.auth-form h1 { font-size: 26px; text-align: center; margin: 0; }
.auth-form #authHint { text-align: center; margin: -4px 0 8px; }
.pw-field { position: relative; display: flex; align-items: center; }
.pw-field input { height: 50px; padding: 0 48px 0 44px; font-size: 15px; border-radius: 14px; border: 1.5px solid var(--line2); background: #fff; letter-spacing: .02em; }
.pw-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(79, 70, 229, .14); }
.pw-lock { position: absolute; left: 15px; color: var(--muted); pointer-events: none; transition: color .2s; }
.pw-field:focus-within .pw-lock { color: var(--accent); }
.pw-toggle { position: absolute; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.pw-toggle:hover { background: var(--bg3); color: var(--text); }
.pw-toggle.on { color: var(--accent); background: var(--accent-soft); }
.caps-warn { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--amber); font-weight: 600; margin-top: -4px; animation: fadeUp .25s var(--ease); }
.caps-warn .ic { width: 14px; height: 14px; }
.auth-submit { height: 50px; border-radius: 14px; font-size: 15px; }
.auth-submit .spin { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.auth-submit.loading .lbl { display: none; }
.auth-submit.loading .spin { display: block; }
.auth-error { text-align: center; margin: 0; min-height: 18px; font-size: 13px; font-weight: 600; }
.auth-meta { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 0 0; }
.auth-meta .ic { width: 14px; height: 14px; }
.auth-form.shake { animation: shake .45s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-8px); } 40%, 60% { transform: translateX(8px); } }

/* ---------- Maskot parçaları ---------- */
.mascot .m-shadow { fill: rgba(49, 46, 129, .14); transform-box: fill-box; transform-origin: center; animation: m-shadow 3.2s ease-in-out infinite; }
.mascot .m-bob { animation: m-bob 3.2s ease-in-out infinite; transform-origin: 110px 120px; }
@keyframes m-bob { 50% { transform: translateY(-6px); } }
@keyframes m-shadow { 50% { transform: scaleX(.86); opacity: .7; } }
.mascot .m-antenna path { stroke: #6d5ef0; stroke-width: 5; stroke-linecap: round; fill: none; }
.mascot .m-antenna { transform-origin: 110px 54px; }
.mascot .m-ball { fill: #fbbf24; animation: m-glow 2.4s ease-in-out infinite; }
.mascot .m-ball2 { fill: #f472b6; animation-delay: -1.2s; }
@keyframes m-glow { 50% { opacity: .5; } }
.mascot .m-leg { fill: #4c3fd0; }
.mascot .m-scan { animation: m-scan 3.5s linear infinite; }
@keyframes m-scan { from { transform: translateY(-12px); } to { transform: translateY(74px); } }
.mascot .m-eye { transform-box: fill-box; transform-origin: center; animation: m-blink 5s infinite; transition: opacity .2s; }
@keyframes m-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
.mascot .m-pupil { transition: transform .12s ease-out; }
.mascot .m-happy-eyes path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; }
.mascot .m-happy-eyes { opacity: 0; transition: opacity .2s; }
.mascot .m-mouth { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.mascot .m-finger { stroke: rgba(49, 46, 129, .35); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.mascot .m-hand { transition: transform .45s cubic-bezier(.34, 1.4, .64, 1); }
.mascot .m-hand-l { transform: translate(36px, 150px) rotate(-10deg); }
.mascot .m-hand-r { transform: translate(184px, 150px) rotate(10deg); }

/* Durumlar */
.mascot.is-cover .m-hand-l { transform: translate(92px, 103px) rotate(8deg); }
.mascot.is-cover .m-hand-r { transform: translate(128px, 103px) rotate(-8deg); }
.mascot.is-peek .m-hand-l { transform: translate(76px, 130px) rotate(-26deg); }
.mascot.is-peek .m-hand-r { transform: translate(128px, 103px) rotate(-8deg); }
.mascot.is-typing .m-antenna { animation: m-wiggle .35s ease-in-out; }
@keyframes m-wiggle { 30% { transform: rotate(-6deg); } 70% { transform: rotate(5deg); } }
.mascot.is-happy .m-eye { opacity: 0; }
.mascot.is-happy .m-happy-eyes { opacity: 1; }
.mascot.is-happy .m-bob { animation: m-jump .6s cubic-bezier(.3, 1.6, .5, 1) 2; }
@keyframes m-jump { 40% { transform: translateY(-22px); } }
.mascot.is-sad .m-bob { animation: m-nope .5s ease-in-out 2; }
@keyframes m-nope { 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }

@media (max-width: 860px) {
  .auth { padding: 0; place-items: stretch; }
  .auth-shell { grid-template-columns: 1fr; border-radius: 0; min-height: 100dvh; border: 0; }
  .auth-hero { padding: 20px 22px; gap: 0; }
  .hero-copy, .hero-points, .hero-foot { display: none; }
  .auth-panel { padding: 22px 22px 32px; justify-content: flex-start; }
  .mascot-wrap { width: 170px; height: 162px; margin-top: 8px; }
  .mascot-bubble { left: 68%; }
}
@media (prefers-reduced-motion: reduce) { .auth-bg i, .mascot .m-bob, .mascot .m-scan, .mascot .m-eye { animation: none; } }
