/* ArmCinema — страница добавления фильма: стили */
/* ---------- панель «Быстрое добавление» ---------- */
.kp { margin: 6px 0 14px; padding: 16px; border-radius: 14px; background: #1c1c1c; border: 1px solid #FF7A1A; color: #d6d6d6; font: 13px/1.5 tahoma, Arial, sans-serif; }
.kp-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.kp-h b { color: #fff; font-size: 16px; }
.kp-h small { color: #8a8a8a; }
.kp-row { display: flex; gap: 8px; flex-wrap: wrap; }
.kp input.kp-in { flex: 1 1 260px; min-width: 0; height: 44px; padding: 0 14px !important; margin: 0 !important; border: 1px solid #444 !important; border-radius: 12px !important; background: #141416 !important; color: #eee !important; font: 15px tahoma, Arial, sans-serif !important; }
.kp input.kp-in:focus { border-color: #ff6600 !important; outline: none; }
.kp button.kp-btn { height: 44px; padding: 0 20px !important; margin: 0 !important; border: 0 !important; border-radius: 999px !important; background: linear-gradient(135deg, #FF8C00, #FF6600) !important; color: #fff !important; box-shadow: none !important; font: bold 14px tahoma, Arial, sans-serif !important; cursor: pointer; }
.kp button.kp-btn.ghost { background: #2a2a2a !important; border: 1px solid #444 !important; }
.kp-msg { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: #232323; display: none; }
.kp-msg.show { display: block; }
.kp-msg.ok { border-left: 3px solid #4ade80; } .kp-msg.warn { border-left: 3px solid #f5c518; } .kp-msg.err { border-left: 3px solid #ff6b6b; }
.kp-msg a { color: #ff8a2a; }
.kp-pv { display: none; gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #2c2c2c; }
.kp-pv.show { display: flex; }
.kp-pv img { width: 92px; height: 138px; object-fit: cover; border-radius: 8px; background: #2a2a2a; }
.kp-pv .t { color: #fff; font: bold 15px/1.3 tahoma, Arial, sans-serif; margin-bottom: 6px; }
.kp-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.kp-chips span { padding: 3px 9px; border-radius: 999px; background: #2a2a2a; border: 1px solid #3a3a3a; font-size: 11px; }
.kp-chk { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; }
.kp-chk span.ok { color: #4ade80; } .kp-chk span.no { color: #8a8a8a; }
.kp-poster-link { display: inline-block; margin-top: 6px; font-size: 12px; }
.kp-row2 { margin-top: 8px; }
.kp-opts { align-items: center; gap: 14px; color: #9a9a9a; font-size: 12px; }
.kp-opts label { display: flex; align-items: center; gap: 6px; }
.kp-opts select { height: 34px; padding: 0 10px !important; border: 1px solid #444 !important; border-radius: 10px !important; background: #141416 !important; color: #eee !important; font: 13px tahoma, Arial, sans-serif !important; }
.kp-list { display: none; margin-top: 12px; max-height: 520px; overflow-y: auto; padding-right: 4px; }
.kp-lt { margin: 0 0 8px; color: #A9A49B; font: bold 11px/1 tahoma, Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.kp-list .kp-wrap, .kp-list > .kp-card { margin-bottom: 8px; }
.kp-card { display: flex; gap: 10px; padding: 8px; border-radius: 10px; background: #232323; border: 1px solid #2e2e2e; }
.kp-card img { flex: 0 0 auto; width: 54px; height: 80px; object-fit: cover; border-radius: 6px; background: #2a2a2a; }
.kp-ci { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.kp-ci b { color: #fff; font-size: 13px; } .kp-ci span { color: #8a8a8a; font-size: 12px; }
.kp-st { font-style: normal; font-size: 12px; color: #8a8a8a; } .kp-st.no { color: #ffb37a; } .kp-st.yes a { color: #4ade80; }
.kp-wrap.have .kp-card { opacity: .55; }
.kp button.kp-pick { align-self: flex-start; margin-top: 4px !important; height: 30px; padding: 0 14px !important; border: 0 !important; border-radius: 999px !important; background: linear-gradient(135deg, #FF8C00, #FF6600) !important; color: #fff !important; box-shadow: none !important; font: bold 12px tahoma, Arial, sans-serif !important; cursor: pointer; }
.kp-load { color: #8a8a8a; padding: 10px 0; }
.kp-has { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; font-size: 12px; color: #9a9a9a; }
.kp-has label { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; border: 1px solid #444; background: #2a2a2a; color: #eee; cursor: pointer; font-weight: bold; }
.kp-has label:has(input:not(:checked)) { opacity: .5; text-decoration: line-through; }
.kp-has input { accent-color: #ff6600; margin: 0; }
.kp-has small { flex-basis: 100%; color: #7a7a7a; }
.kp-players { margin-top: 12px; padding-top: 12px; border-top: 1px solid #2c2c2c; }
.kp-pls { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: #9a9a9a; }
.kp button.kp-pl { width: 34px; height: 30px; padding: 0 !important; margin: 0 !important; border: 1px solid #444 !important; border-radius: 8px !important; background: #2a2a2a !important; box-shadow: none !important; color: #eee !important; font: bold 13px tahoma, Arial, sans-serif !important; cursor: pointer; }
.kp button.kp-pl.on { background: #ff6600 !important; border-color: #ff6600 !important; }
.kp-play { display: none; margin-top: 12px; border-radius: 10px; overflow: hidden; background: #000; }
.kp-play iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

/* ---------- форма ---------- */
.af { color: #d6d6d6; font: 13px/1.5 tahoma, Arial, sans-serif; }
.af-sec { margin: 0 0 12px; padding: 14px 16px; border-radius: 14px; background: #1c1c1c; border: 1px solid #2c2c2c; }
.af-h { margin: 0 0 10px !important; padding: 0; color: #A9A49B; font: bold 11px/1 tahoma, Arial, sans-serif !important; letter-spacing: 3px; text-transform: uppercase; }
.af-row { margin: 0 0 10px; }
.af-row:last-child { margin-bottom: 0; }
.af-l { display: block; margin: 0 0 4px 2px; color: #e6e6e6; font-weight: bold; }
.af-l small { margin-left: 6px; color: #7a7a7a; font-weight: normal; }
.af-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.af input[type="text"], .af select, .af textarea {
 box-sizing: border-box; width: 100% !important; max-width: 100%; min-height: 40px; padding: 8px 12px !important; margin: 2px 0 !important;
 border: 1px solid #444 !important; border-radius: 10px !important; background: #141416 !important; color: #eee !important;
 font: 14px tahoma, Arial, sans-serif !important;
}
.af textarea { min-height: 220px; line-height: 1.5 !important; }
.af input:focus, .af select:focus, .af textarea:focus { border-color: #ff6600 !important; outline: none; }
.af input[type="file"] { color: #ccc; }
.af-table { width: 100%; border: 0; }
.af-table td { padding: 4px 0 !important; color: #e6e6e6; vertical-align: top; }
.af-submit { position: sticky; bottom: 0; z-index: 20; display: flex; gap: 10px; justify-content: center; padding: 12px; margin: 0 -6px; background: rgba(14,14,16,.94); border-top: 1px solid #2c2c2c; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.af-submit input[type="submit"], .af-submit input[type="button"], .af-submit button {
 height: 46px; padding: 0 30px !important; margin: 0 !important; border: 0 !important; border-radius: 999px !important;
 background: linear-gradient(135deg, #FF8C00, #FF6600) !important; color: #fff !important; box-shadow: none !important; font: bold 15px tahoma, Arial, sans-serif !important; cursor: pointer;
}
.af-submit input[type="button"] { background: #2a2a2a !important; border: 1px solid #444 !important; }


/* TMDB: статус и выбор постера */
.kp-tm { margin-top: 8px; font-size: 12px; color: #9a9a9a; }
.kp-tm b { color: #4ade80; font-weight: normal; } .kp-tm i { color: #ffb37a; font-style: normal; }
.kp-posters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.kp-posters:empty { display: none; }
.kp-pp { position: relative; width: 70px; cursor: pointer; border-radius: 6px; overflow: hidden; border: 2px solid transparent; background: #2a2a2a; }
.kp-pp img { display: block; width: 100%; height: 105px; object-fit: cover; }
.kp-pp span { position: absolute; left: 3px; top: 3px; padding: 1px 5px; border-radius: 4px; background: rgba(0,0,0,.75); color: #fff; font: bold 9px tahoma, Arial, sans-serif; }
.kp-pp span.ru { background: #d62828; }
.kp-pp:hover { border-color: #888; } .kp-pp.on { border-color: #ff6600; }
.kp-pp.busy { opacity: .5; }

/* очередь и кнопки для браузера */
.kp-q { display: none; margin-top: 12px; padding: 10px; border-radius: 10px; background: #232323; border: 1px dashed #444; }
.kp-qh { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.kp-qh b { color: #fff; margin-right: auto; }
.kp button.kp-qnext, .kp button.kp-qclr, .kp button.kp-toq { height: 30px; padding: 0 12px !important; margin: 0 !important; border-radius: 999px !important; border: 1px solid #444 !important; background: #2a2a2a !important; color: #eee !important; box-shadow: none !important; font: bold 12px tahoma, Arial, sans-serif !important; cursor: pointer; }
.kp button.kp-qnext { background: linear-gradient(135deg, #FF8C00, #FF6600) !important; border: 0 !important; color: #fff !important; }
.kp-qi { display: inline-flex; align-items: center; gap: 6px; margin: 0 6px 6px 0; padding: 4px 6px 4px 10px; border-radius: 999px; background: #2e2e2e; font-size: 12px; color: #ddd; }
.kp-qi i { font-style: normal; cursor: pointer; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 50%; background: #444; color: #fff; }
.kp-qi i:hover { background: #e0533f; }
.kp-cb { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.kp-cb .kp-pick { margin-top: 0 !important; }
.kp-bm { margin-top: 12px; color: #9a9a9a; font-size: 12px; }
.kp-bm summary { cursor: pointer; color: #ff8a2a; }
.kp-bm p { margin: 8px 0; }
.kp-bm-row { display: flex; gap: 8px; flex-wrap: wrap; }
.kp-bm-a, .kp-bm-a:link, .kp-bm-a:visited { display: inline-block; padding: 8px 14px; border-radius: 999px; background: linear-gradient(135deg, #FF8C00, #FF6600); color: #fff !important; font: bold 13px tahoma, Arial, sans-serif; text-decoration: none !important; cursor: grab; }
.kp-bm-a.ghost { background: #2a2a2a; border: 1px solid #444; }

/* категории: плитки */
#ldM57.cats-new > *:not(.cat-chips) { display: none !important; }
.cat-chips { display: flex; flex-direction: column; gap: 8px; }
.af input.cat-find { min-height: 36px !important; }
.cat-list { display: flex; flex-wrap: wrap; gap: 6px; }
.af button.cat-chip { height: 36px; padding: 0 14px !important; margin: 0 !important; border-radius: 999px !important; border: 1px solid #444 !important; background: #232326 !important; box-shadow: none !important; color: #ddd !important; font: 600 14px tahoma, Arial, sans-serif !important; cursor: pointer; }
.af button.cat-chip:hover { border-color: #ff6600 !important; }
.af button.cat-chip.on { background: #ff6600 !important; border-color: #ff6600 !important; color: #fff !important; }
.af button.cat-chip.on::before { content: "✓ "; }
/* страны/годы — тоже крупнее */
#ldM63 .filterBlock, #ldM66 .filterBlock { display: flex; flex-wrap: wrap; gap: 6px; max-height: 220px; overflow-y: auto; }
#ldM63 .filterBlock label, #ldM66 .filterBlock label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid #444; background: #232326; color: #ddd; font: 600 13px tahoma, Arial, sans-serif; cursor: pointer; }
#ldM63 .filterBlock label:has(input:checked), #ldM66 .filterBlock label:has(input:checked) { background: #ff6600; border-color: #ff6600; color: #fff; }
#ldM63 .filterBlock input, #ldM66 .filterBlock input { margin: 0; accent-color: #fff; }

/* скрытые ненужные поля (как раньше) */
#ldM40, #ldF13, #ldM15, #ldF4, #ldM14, #ldM13 { display: none !important; }
@media (max-width: 768px) {
 .af-two { grid-template-columns: 1fr; }
 .af-sec { padding: 12px; }
 .af textarea { min-height: 260px; }
 .af input[type="text"], .af select, .af textarea, .kp input.kp-in { font-size: 16px !important; }
 .kp button.kp-btn { flex: 1 1 auto; }
 .af-submit input { flex: 1 1 auto; }
}
/* «Чего нет на сайте» */
.kp-mh { margin: 0 0 8px; color: #9a9a9a; font-size: 12px; }
.kp-mh label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: #ddd; }
.kp-mh input { accent-color: #ff6600; margin: 0; }
.kp-qb { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 6px; background: #2e2e2e; color: #ccc; font-style: normal; font-size: 11px; }
.np-note { margin-top: 4px; }
