/* Aile Sinemasi v3.0 — scope: only #khftp-root. */
#khftp-root{--kh-bg:#0b1e2d;--kh-panel:#122b3e;--kh-panel-hi:#17364a;--kh-line:#35546a;--kh-txt:#eef7ff;--kh-sub:#a6c1d1;--kh-accent:#6bdcb7;display:grid;gap:15px;min-width:0;background:linear-gradient(160deg,#0a2030,#0a1a28)!important;border:1px solid var(--kh-line)!important;border-radius:17px!important;padding:clamp(13px,2.1vw,24px)!important;color:var(--kh-txt)}
#khftp-root *{box-sizing:border-box}
#khftp-root .khftp-v30-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;padding-bottom:16px;border-bottom:1px solid var(--kh-line)}
#khftp-root .khftp-v30-heading{min-width:0;flex:1 1 340px}
#khftp-root .khftp-v30-heading h2{color:var(--kh-txt);font-size:clamp(21px,2.2vw,29px);margin:5px 0}
#khftp-root .khftp-v30-heading p{max-width:640px;margin:0;color:var(--kh-sub);font-size:13px;line-height:1.55}
#khftp-root .khftp-v30-live{display:flex;align-items:center;gap:9px;padding:7px 8px 7px 13px;border:1px solid var(--kh-line);border-radius:12px;background:#112c40;color:#b5d4e3;font-size:11px}
#khftp-root .khftp-live-dot{display:block;width:8px;height:8px;border-radius:100%;background:#44d4a2;box-shadow:0 0 0 3px #44d4a225;flex-shrink:0}
#khftp-root .khftp-live-dot.offline{background:#ff9c71;box-shadow:none}
#khftp-root .khftp-v30-status{min-height:36px;border:1px solid #2b5267;border-left:3px solid #62c8d9;background:#0f2c40;border-radius:8px;padding:9px 12px;font-size:12px;color:#cee8f5;line-height:1.4}
#khftp-root .khftp-v30-status.khftp-v30-error{border-left-color:#f39c80;color:#ffcfbf}
#khftp-root .khftp-v30-board{display:grid;grid-template-columns:minmax(175px,.75fr) minmax(0,2fr) minmax(255px,1.1fr);gap:14px;align-items:start;min-width:0}
#khftp-root .khftp-v30-side,#khftp-root .khftp-v30-center,#khftp-root .khftp-v30-inspector{min-width:0;border:1px solid var(--kh-line);background:var(--kh-panel);border-radius:13px;padding:15px}
#khftp-root .khftp-v30-side{display:grid;gap:11px}
#khftp-root .khftp-v30-side-title{font-size:14px;font-weight:750;color:#e6f8ff}
#khftp-root .khftp-v30-metrics{display:grid;gap:7px}
#khftp-root .khftp-v30-metric{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#0e2637;border-radius:8px;padding:10px 11px}
#khftp-root .khftp-v30-metric strong{font-size:20px;line-height:1;color:#7de2c1;font-variant-numeric:tabular-nums}
#khftp-root .khftp-v30-metric span{color:var(--kh-sub);font-size:11px;text-align:right}
#khftp-root .khftp-v30-divider{height:1px;background:var(--kh-line);margin:3px 0}
#khftp-root .khftp-v30-label{color:#d4e7f1;font-size:11px;font-weight:700;margin-top:3px}
#khftp-root input,#khftp-root select{width:100%;min-width:0;background:#0c2436;color:#f4faff;border:1px solid #46657a;border-radius:8px;font:inherit;font-size:12px;padding:10px 9px;outline-offset:2px}
#khftp-root input:focus,#khftp-root select:focus{outline:2px solid #68bcda}
#khftp-root details{border:1px solid #3a586e;border-radius:9px;padding:9px 10px;color:#c9dce8}
#khftp-root details>summary{cursor:pointer;font-weight:650;font-size:12px}
#khftp-root .khftp-v30-bulk-actions{display:grid;gap:8px;margin-top:11px}
#khftp-root .khftp-v30-bulk-actions .btn{width:100%;white-space:normal;text-align:center}
#khftp-root .khftp-v30-help p{font-size:11px;line-height:1.6;color:var(--kh-sub);overflow-wrap:anywhere}
#khftp-root .khftp-v30-help code{overflow-wrap:anywhere;color:#d9efff}
#khftp-root .khftp-v30-center{background:#0f2639;display:grid;gap:13px;min-height:290px}
#khftp-root .khftp-v30-eyebrow{font-size:10px;letter-spacing:.10em;font-weight:800;color:#72c7cf}
#khftp-root .khftp-v30-section-title h3,#khftp-root .khftp-v30-transfers-head h3{font-size:18px;line-height:1.3;color:#eaf8ff;margin:4px 0 5px}
#khftp-root .khftp-v30-section-title p,#khftp-root .khftp-v30-transfers-head p{font-size:12px;color:var(--kh-sub);margin:0;line-height:1.5}
#khftp-root .khftp-v30-count{background:#1c4b51;color:#a3f7e2;border:1px solid #438179;padding:3px 8px;border-radius:999px;font-size:12px;vertical-align:middle}
#khftp-root .khftp-v30-list{display:grid;gap:9px;min-width:0}
#khftp-root .khftp-v30-film{display:flex;text-align:left;align-items:center;gap:13px;width:100%;min-width:0;cursor:pointer;background:#122f44;color:var(--kh-txt);border:1px solid #34566e;border-radius:11px;padding:10px;font:inherit;transition:border-color .12s,background .12s}
#khftp-root .khftp-v30-film:hover{border-color:#7ab6cb;background:#15374b}
#khftp-root .khftp-v30-film:focus-visible{outline:2px solid #7ad3e5;outline-offset:2px}
#khftp-root .khftp-v30-film.is-selected{border-color:#6cdac0;background:#174454;box-shadow:inset 3px 0 0 #70dbbe}
#khftp-root .khftp-v30-mini-poster{width:82px;height:120px;min-width:82px;border:1px solid #46667c;background:#071e30;border-radius:7px;overflow:hidden;display:grid;place-items:center;font-size:25px}
#khftp-root .khftp-v30-mini-poster img{width:100%;height:100%;object-fit:cover}
#khftp-root .khftp-v30-film-text{display:grid;gap:7px;min-width:0;flex:1}
#khftp-root .khftp-v30-film-name{font-size:15px;line-height:1.35;color:#f0fbff;overflow-wrap:anywhere}
#khftp-root .khftp-v30-film-meta{font-size:11px;color:#a5c7dc}
#khftp-root .khftp-v30-film-filename{font-family:ui-monospace,Consolas,monospace;font-size:10.5px;color:#c7dbec;overflow-wrap:anywhere;word-break:break-word;line-height:1.4}
#khftp-root .khftp-v30-film-status{font-size:11px;color:#d1c9a5}
#khftp-root .khftp-v30-film-status.is-good{color:#85ebc3}
#khftp-root .khftp-v30-film-status.is-review{color:#f2c788}
#khftp-root .khftp-v30-inspector{position:sticky;top:15px;display:grid;gap:12px;background:#123044}
#khftp-root .khftp-v30-inspector-content{min-width:0}
#khftp-root .khftp-v30-selected{display:grid;gap:11px}
#khftp-root .khftp-v30-big-poster{width:145px;max-width:100%;aspect-ratio:2/3;margin:3px auto 1px;border-radius:9px;overflow:hidden;background:#071e30;border:1px solid #51748b;display:grid;place-items:center;font-size:40px}
#khftp-root .khftp-v30-big-poster img{width:100%;height:100%;object-fit:cover}
#khftp-root .khftp-v30-selected h4{font-size:19px;margin:0;color:#f1faff;overflow-wrap:anywhere;line-height:1.3;text-align:center}
#khftp-root .khftp-v30-detail-meta{text-align:center;color:#b8d1e3;font-size:12px;margin:-3px 0 0}
#khftp-root .khftp-v30-detail-pill{border:1px solid #527584;background:#13394a;padding:9px 10px;color:#f0d4a2;font-size:11px;margin:0;text-align:center;border-radius:7px}
#khftp-root .khftp-v30-detail-pill.good{color:#91f0c4;border-color:#3c816c}
#khftp-root .khftp-v30-detail-label{color:#b3cada;font-size:11px;font-weight:700}
#khftp-root .khftp-v30-detail-file{padding:10px;color:#dbebf5;background:#0d2536;border:1px solid #355a6f;border-radius:8px;font-family:ui-monospace,Consolas,monospace;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
#khftp-root .khftp-v30-action{max-width:100%;white-space:normal;min-height:37px;text-align:center}
#khftp-root .khftp-v30-primary{width:100%;background:#16866f;border-color:#24967d;color:#fff;font-weight:750}
#khftp-root .khftp-v30-primary:hover{background:#1a9f83}
#khftp-root .khftp-v30-outline{width:100%;background:transparent;border-color:#56778b;color:#deedf6}
#khftp-root .khftp-v30-hint{margin:0;color:#a6c1d1;line-height:1.5;font-size:11px}
#khftp-root .khftp-v30-detail-error{background:#4a2936;border:1px solid #9a5362;padding:10px;border-radius:8px;color:#ffd4ca;font-size:12px;overflow-wrap:anywhere}
#khftp-root .khftp-v30-picker{display:grid;gap:8px;margin-top:3px;padding-top:13px;border-top:1px solid var(--kh-line)}
#khftp-root .khftp-v30-picker-form{display:flex;flex-wrap:wrap;gap:7px}
#khftp-root .khftp-v30-picker-form input{flex:1 1 115px;width:auto}
#khftp-root .khftp-v30-picker-form button{flex:0 1 auto}
#khftp-root .khftp-v30-option{display:flex;align-items:center;gap:9px;cursor:pointer;text-align:left;color:#fff;background:#0d2739;border:1px solid #3c5d70;border-radius:8px;padding:6px;font:inherit;width:100%}
#khftp-root .khftp-v30-option:hover{border-color:#77b5c7}
#khftp-root .khftp-v30-option-img{width:38px;min-width:38px;aspect-ratio:2/3;border-radius:4px;display:grid;place-items:center;overflow:hidden;background:#071b28}
#khftp-root .khftp-v30-option-img img{width:100%;height:100%;object-fit:cover}
#khftp-root .khftp-v30-option>span{display:grid;gap:4px;min-width:0}
#khftp-root .khftp-v30-option strong{font-size:11px;line-height:1.35;overflow-wrap:anywhere}
#khftp-root .khftp-v30-option small{color:#a9c8d8;font-size:10px}
#khftp-root .khftp-v30-transfers{display:grid;gap:10px;min-width:0;padding:16px;background:#0e2637;border:1px solid var(--kh-line);border-radius:13px}
#khftp-root .khftp-v30-transfer-list{display:grid;gap:8px}
#khftp-root .khftp-v30-transfer{display:flex;justify-content:space-between;align-items:center;gap:15px;min-width:0;background:#133146;border:1px solid #385b72;border-radius:10px;padding:12px}
#khftp-root .khftp-v30-transfer-title{flex:1;display:grid;gap:4px;min-width:0}
#khftp-root .khftp-v30-transfer-title strong{font-size:13px;overflow-wrap:anywhere}
#khftp-root .khftp-v30-transfer-title span{font-family:ui-monospace,Consolas,monospace;font-size:11px;color:#bad3e2;overflow-wrap:anywhere;word-break:break-all}
#khftp-root .khftp-v30-transfer-data{display:flex;gap:8px 12px;flex-wrap:wrap;justify-content:flex-end;align-items:center;min-width:0;font-size:11px;color:#c9e1ed}
#khftp-root .khftp-v30-transfer-state{background:#255060;border-radius:7px;padding:5px 8px;color:#d0e8f3}
#khftp-root .khftp-v30-pager{display:flex;align-items:center;justify-content:center;gap:10px;color:#b3cad9;font-size:11px;flex-wrap:wrap}
#khftp-root .khftp-v30-empty{padding:23px 13px;border:1px dashed #52778a;border-radius:10px;color:#d1eaf4;text-align:center;background:#0d2939}
#khftp-root .khftp-v30-empty strong{font-size:13px}
#khftp-root .khftp-v30-empty p{font-size:11px;color:#a8c9d5;margin:8px 0 0}
#khftp-root .khftp-v30-history summary{font-size:13px}
#khftp-root .khftp-v30-history-list{display:grid;max-height:350px;overflow:auto;padding-top:10px}
#khftp-root .khftp-v30-history-entry{padding:9px 5px;border-bottom:1px solid #35556b;display:grid;gap:4px;font-size:12px}
#khftp-root .khftp-v30-history-entry span{font-size:11px;color:#abcad9;overflow-wrap:anywhere}
#khftp-root button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:1160px){#khftp-root .khftp-v30-board{grid-template-columns:minmax(165px,.75fr) minmax(0,1.8fr)}#khftp-root .khftp-v30-inspector{grid-column:2;position:static}}
@media(max-width:760px){#khftp-root .khftp-v30-board{grid-template-columns:minmax(0,1fr)}#khftp-root .khftp-v30-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}#khftp-root .khftp-v30-side-title,#khftp-root .khftp-v30-metrics,#khftp-root .khftp-v30-divider,#khftp-root .khftp-v30-bulk,#khftp-root .khftp-v30-help{grid-column:1/-1}#khftp-root .khftp-v30-inspector{grid-column:1}#khftp-root .khftp-v30-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}#khftp-root .khftp-v30-metric{display:grid;gap:5px}#khftp-root .khftp-v30-metric span{text-align:left}#khftp-root .khftp-v30-transfer{align-items:flex-start;flex-direction:column}#khftp-root .khftp-v30-transfer-data{justify-content:flex-start}}
@media(max-width:450px){#khftp-root{padding:11px!important;gap:12px}#khftp-root .khftp-v30-side,#khftp-root .khftp-v30-center,#khftp-root .khftp-v30-inspector{padding:11px}#khftp-root .khftp-v30-film{gap:9px;padding:8px}#khftp-root .khftp-v30-mini-poster{width:65px;min-width:65px;height:98px}#khftp-root .khftp-v30-film-name{font-size:13px}#khftp-root .khftp-v30-film-filename{font-size:10px}#khftp-root .khftp-v30-metric{padding:7px}#khftp-root .khftp-v30-metric strong{font-size:17px}}

#khftp-root #khftp-tmdb-queue{color:#9de7d6;font-size:11px;white-space:nowrap;padding-left:10px;border-left:1px solid #3b6174}
@media(max-width:720px){#khftp-root #khftp-tmdb-queue{white-space:normal}}
