﻿/* ECO CELL R15 - Personal Hik-Connect UI. Legacy RTSP camera UI is not exposed. */
#page-camera .hc15-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}#page-camera .hc15-head h1{margin:5px 0 4px}#page-camera .hc15-head p{margin:0;color:var(--muted,#667085)}.hc15-actions{display:flex;gap:8px;flex-wrap:wrap}.hc15-body{min-height:420px}.hc15-loading{padding:48px;text-align:center;color:var(--muted,#667085)}.hc15-login-card{max-width:520px;margin:34px auto;padding:28px;border:1px solid var(--border,#e4e7ec);border-radius:18px;background:var(--panel,#fff);box-shadow:0 12px 35px rgba(16,24,40,.08)}.hc15-logo{display:inline-flex;padding:7px 12px;border-radius:8px;background:#d71920;color:#fff;font-weight:800;letter-spacing:.5px;font-size:12px}.hc15-login-card h2{margin:16px 0 6px}.hc15-login-card p{color:var(--muted,#667085);line-height:1.5}.hc15-login-card label{display:grid;gap:7px;margin:15px 0;font-weight:650}.hc15-login-card input,.hc15-card-actions select{width:100%;box-sizing:border-box;border:1px solid var(--border,#d0d5dd);border-radius:10px;padding:11px 12px;background:var(--panel,#fff);color:inherit}.hc15-login-card details{margin:8px 0 18px}.hc15-login-card summary{cursor:pointer;color:var(--muted,#667085)}.hc15-login-btn{width:100%;justify-content:center}.hc15-msg{margin-top:12px;min-height:20px}.hc15-msg.error{color:#d92d20}.hc15-account-bar{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;margin-bottom:16px;border:1px solid var(--border,#e4e7ec);border-radius:12px;background:var(--panel,#fff)}.hc15-account-bar div:first-child{display:flex;gap:8px;align-items:center}.hc15-account-bar span{color:var(--muted,#667085);font-size:13px}.hc15-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}.hc15-camera-card{overflow:hidden;border:1px solid var(--border,#e4e7ec);border-radius:15px;background:var(--panel,#fff)}.hc15-cover{height:174px;position:relative;background:#101828;display:flex;align-items:center;justify-content:center}.hc15-cover img{width:100%;height:100%;object-fit:cover}.hc15-cover-empty{font-size:46px;color:#98a2b3}.hc15-online{position:absolute;top:10px;right:10px;padding:5px 8px;border-radius:99px;font-size:11px;font-weight:700;color:#fff}.hc15-online.on{background:#12b76a}.hc15-online.off{background:#667085}.hc15-card-body{padding:14px}.hc15-card-body h3{margin:0 0 5px}.hc15-card-body p{margin:0 0 13px;color:var(--muted,#667085);font-size:13px}.hc15-card-actions{display:grid;grid-template-columns:1fr auto;gap:8px}.hc15-overlay{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px}.hc15-player{width:min(980px,96vw);background:#0b0f17;border-radius:16px;overflow:hidden;color:#fff}.hc15-player-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px}.hc15-player-head small{display:block;color:#98a2b3;margin-top:3px}.hc15-player-head button{border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer}.hc15-screen{aspect-ratio:16/9;background:#05070a;display:flex;align-items:center;justify-content:center}.hc15-fieldtest{text-align:center;max-width:560px;padding:28px}.hc15-fieldtest>div{font-size:12px;letter-spacing:1px;color:#f04438;font-weight:800}.hc15-fieldtest b{display:block;font-size:20px;margin:12px 0}.hc15-fieldtest p{color:#d0d5dd;line-height:1.5}.hc15-fieldtest small{color:#98a2b3}.secondary-button.danger{color:#d92d20}@media(max-width:700px){#page-camera .hc15-head{flex-direction:column}.hc15-actions{width:100%}.hc15-account-bar{align-items:flex-start;gap:8px;flex-direction:column}.hc15-card-actions{grid-template-columns:1fr}}
/* R15.3 - Hik cloud PTZ + playback record search */
.hc15-card-more{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.hc15-card-more .secondary-button{justify-content:center;min-height:40px}.hc15-tool-overlay{background:rgba(2,6,23,.76)}.hc15-tool{width:min(820px,96vw);max-height:92vh;overflow:auto;background:var(--panel,#fff);color:var(--text,#101828);border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.35)}.hc15-tool-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid var(--border,#e4e7ec)}.hc15-tool-head b{font-size:18px}.hc15-tool-head small{display:block;margin-top:3px;color:var(--muted,#667085)}.hc15-tool-head .hc15Close{border:0;background:transparent;color:inherit;font-size:30px;line-height:1;cursor:pointer}.hc15-tool-body{padding:20px}.hc15-tool-status{margin-top:14px;padding:10px 12px;border-radius:10px;background:var(--soft,#f2f4f7);font-size:13px}.hc15-tool-status.error{background:#fef3f2;color:#b42318}.hc15-ptz-layout{display:grid;grid-template-columns:270px 1fr;gap:28px;align-items:center}.hc15-dpad{display:grid;grid-template-columns:repeat(3,78px);grid-template-rows:repeat(3,68px);gap:7px;justify-content:center;touch-action:none;user-select:none}.hc15-dir{border:1px solid var(--border,#d0d5dd);background:var(--panel,#fff);color:inherit;border-radius:12px;font-size:28px;font-weight:700;cursor:pointer;box-shadow:0 1px 2px rgba(16,24,40,.06);touch-action:none}.hc15-dir:hover{background:var(--soft,#f2f4f7)}.hc15-dir:active{transform:scale(.97);background:#e6f7f7}.hc15-ptz-side h3{margin:0 0 18px}.hc15-ptz-side label{display:grid;gap:8px;font-weight:650}.hc15-ptz-side input[type=range]{width:100%}.hc15-zoom{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.hc15-zoom .wide{font-size:14px}.hc15-help{font-size:13px;line-height:1.5;color:var(--muted,#667085)}.hc15-playback-title{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:14px}.hc15-playback-title h3{margin:0}.hc15-playback-title span{font-size:13px;color:var(--muted,#667085)}.hc15-playback-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.hc15-playback-form label{display:grid;gap:6px;font-size:13px;font-weight:650}.hc15-playback-form input{border:1px solid var(--border,#d0d5dd);border-radius:10px;padding:10px 11px;background:var(--panel,#fff);color:inherit}.hc15-playback-form button{height:42px}.hc15-playback-results{margin-top:14px}.hc15-record-summary{margin:4px 0 10px;color:var(--muted,#667085)}.hc15-record-list{display:grid;gap:8px;max-height:360px;overflow:auto;padding-right:3px}.hc15-record-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;border:1px solid var(--border,#e4e7ec);border-radius:11px}.hc15-record-item b,.hc15-record-item span,.hc15-record-item small{display:block}.hc15-record-item span{margin-top:3px}.hc15-record-item small{margin-top:3px;color:var(--muted,#667085)}.hc15-record-item button[disabled]{opacity:.48;cursor:not-allowed}.hc15-no-record{padding:28px;text-align:center;color:var(--muted,#667085);border:1px dashed var(--border,#d0d5dd);border-radius:12px}.hc15-playback-note{margin-top:12px;padding:12px 13px;border-radius:10px;background:#fffaeb;color:#7a2e0e;font-size:13px;line-height:1.45}.hc15-loading.small{padding:24px}
@media(max-width:700px){.hc15-card-more{grid-template-columns:1fr}.hc15-ptz-layout{grid-template-columns:1fr}.hc15-playback-form{grid-template-columns:1fr}.hc15-playback-title{align-items:flex-start;flex-direction:column}.hc15-dpad{grid-template-columns:repeat(3,70px);grid-template-rows:repeat(3,62px)}}
/* R15.4 - Hik verification code + camera frame inside PTZ/playback */
.hc15-cover-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:38px;color:#98a2b3;text-align:center;padding:14px}.hc15-cover-empty small{font-size:12px;color:#98a2b3}.hc15-encryption-btn,.hc15Encrypt{width:100%;justify-content:center;margin-top:9px;min-height:39px}.hc15Encrypt.saved{border-color:#86efac;color:#067647;background:#ecfdf3}.hc15-tool-camera{margin-bottom:20px;border:1px solid var(--border,#e4e7ec);border-radius:14px;overflow:hidden;background:#101828}.hc15-tool-screen{position:relative;aspect-ratio:16/9;max-height:420px;background:#05070a;display:flex;align-items:center;justify-content:center;overflow:hidden}.hc15-tool-screen>img{width:100%;height:100%;object-fit:contain;background:#05070a}.hc15-tool-preview-empty{display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;color:#d0d5dd;text-align:center;padding:24px}.hc15-tool-preview-empty span{font-size:50px;color:#667085}.hc15-tool-preview-empty b{font-size:18px}.hc15-tool-preview-empty small{color:#98a2b3}.hc15-tool-lock{position:absolute;inset:0;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;background:rgba(2,6,23,.82);color:#fff;text-align:center;padding:20px}.hc15-tool-lock>div{font-size:38px}.hc15-tool-lock .primary-button{margin-top:4px}.hc15-tool-camera-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;background:var(--panel,#fff);color:var(--text,#101828);font-size:13px}.hc15-tool-camera-foot span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hc15-tool-camera-foot button{flex:0 0 auto}.hc15-encryption-box{display:flex;gap:16px;align-items:flex-start;margin-bottom:18px}.hc15-encryption-box h3{margin:0 0 7px}.hc15-encryption-box p{margin:0;color:var(--muted,#667085);line-height:1.55}.hc15-lock-icon{font-size:38px}.hc15-encryption-form{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.hc15-encryption-form label{display:grid;gap:7px;font-weight:650}.hc15-encryption-form input{border:1px solid var(--border,#d0d5dd);border-radius:10px;padding:11px 12px;background:var(--panel,#fff);color:inherit}.hc15-encryption-form button{height:43px}.hc15LivePreview{width:100%;height:100%;object-fit:contain}.hc15-fieldtest-overlay{position:absolute;background:rgba(5,7,10,.72);border-radius:14px}.hc15-screen{position:relative}
@media(max-width:700px){.hc15-tool-camera-foot{align-items:flex-start;flex-direction:column}.hc15-tool-camera-foot button{width:100%;justify-content:center}.hc15-encryption-form{grid-template-columns:1fr}.hc15-encryption-form button{width:100%}}

/* R15.4.2 real Hik status diagnostic */
.hc15-real-status{display:block;margin:-2px 0 10px;color:var(--muted,#5f7085);font-size:12px;font-weight:600}

/* R15.4.4 persistent Hik login + live-frame player */
.hc15-account-bar div:first-child{flex-wrap:wrap}.hc15-remembered{font-size:11px;color:#067647;background:#ecfdf3;border:1px solid #abefc6;border-radius:999px;padding:3px 7px}.hc15-live-badge{position:absolute;left:14px;top:14px;display:flex;gap:7px;align-items:center;background:rgba(2,6,23,.78);border:1px solid rgba(255,255,255,.18);padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.5px}.hc15-live-badge[hidden]{display:none}.hc15-live-badge span{width:8px;height:8px;border-radius:50%;background:#f04438;box-shadow:0 0 0 4px rgba(240,68,56,.18)}.hc15-live-badge em{font-style:normal;font-weight:600;color:#d0d5dd}.hc15LiveFrame{background:#05070a}

/* R15.4.9 factory-scoped Hik account */
.hc15-factory-picker{margin-top:12px}.hc15-factory-picker label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700}.hc15-factory-picker select{min-width:260px;max-width:460px;border:1px solid var(--border,#d0d5dd);border-radius:10px;padding:9px 11px;background:var(--panel,#fff);color:inherit}.hc15-verification-readonly{margin-top:9px;padding:9px 10px;border:1px solid var(--border,#e4e7ec);border-radius:10px;background:var(--soft,#f8fafc);color:var(--muted,#667085);font-size:12px;font-weight:650}.hc15-account-bar div:first-child{align-items:flex-start;flex-direction:column}.hc15-account-bar div:first-child b{font-size:15px}.hc15-tool-lock small{max-width:420px;color:#d0d5dd;line-height:1.45}@media(max-width:700px){.hc15-factory-picker label{align-items:flex-start;flex-direction:column}.hc15-factory-picker select{width:100%;min-width:0;max-width:none}}

/* R15.4.19 - HIK PERSONAL 3 FIELD */
.hc15-simple-login{max-width:560px}
.hc15-simple-login form{display:grid;gap:14px}
.hc15-simple-login label{display:grid;gap:6px;font-weight:700}
.hc15-simple-login input{width:100%}
.hc15-simple-note{margin-top:14px;padding:10px 12px;border-radius:10px;background:rgba(127,127,127,.08);font-size:13px;opacity:.82}
