/* NovLine05 Cam 1.18. Shared desktop, tablet and phone design tokens. */
:root{--accent:#a73542;--accent-soft:#f8e9eb;--accent-ink:#fff;--bg:#f7f6f5;--surface:#fff;--surface-2:#f2f1f0;--ink:#292c33;--muted:#686b75;--line:#e4e3e5;accent-color:var(--accent)}
html[data-theme=dark]{--accent:#f18d99;--accent-soft:#3d242b;--accent-ink:#251218;--bg:#151519;--surface:#202025;--surface-2:#29292f;--ink:#f5f3f4;--muted:#b4afb8;--line:#39363e}
*{box-sizing:border-box}[hidden]{display:none!important}body{background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button,.button,input:not([type=checkbox]):not([type=radio]),select{min-height:44px}a,button,input,select,textarea{scroll-margin-block:96px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button,.button{border-radius:12px}button:not(.secondary):not(.icon-button),.button:not(.secondary){background:var(--accent);color:var(--accent-ink)}.brand-symbol{padding:0!important;background:transparent!important;border-radius:12px;overflow:hidden;flex-shrink:0}.brand-symbol img{display:block;object-fit:contain;width:100%;height:100%}.brand{letter-spacing:-.5px}.brand small{letter-spacing:.3px}.avatar{background:var(--accent-soft);color:var(--accent)}.sidebar,.app-topbar,.bottom-navigation{background:var(--surface);border-color:var(--line)}.side-navigation a.active{background:var(--accent-soft);color:var(--accent)}.side-navigation a{min-height:46px;border-radius:12px}.signed-in main{max-width:1600px}.heading h1{letter-spacing:-1px}.heading p{max-width:65ch}.panel{border:1px solid var(--line);border-radius:20px;box-shadow:0 4px 20px #292c3304}.grid{gap:22px;grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}.camera{border:1px solid var(--line);border-radius:20px;box-shadow:0 5px 20px #292c3305;overflow:hidden;min-width:0;transition:box-shadow .2s}.camera:hover{transform:none;box-shadow:0 8px 25px #292c3310}.camera-preview{position:relative;aspect-ratio:16/9;min-width:0;overflow:hidden;background:#24262b}.camera-preview .preview-link{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%}.camera-preview .preview-image{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}.camera-preview .badge{top:14px;left:14px;font-size:11px;padding:6px 10px;max-width:calc(100% - 84px);backdrop-filter:blur(8px)}.camera-preview .favorite-button{width:44px!important;height:44px!important;min-height:44px;right:10px;top:10px;border-radius:14px!important;background:#15151999!important;color:white!important;border:1px solid #ffffff40!important}.camera-preview .favorite-button.is-favorite{color:#ffda83!important}.camera-preview .play{width:50px;height:50px;border:1px solid #ffffff70;background:#10101450;backdrop-filter:blur(5px)}.camera-preview .preview-stamp{font-size:10px;bottom:11px;left:14px}.camera-info{padding:18px 20px}.camera-info h2{font-size:17px;line-height:1.35;margin:0 0 6px;overflow-wrap:anywhere}.camera-info .muted{font-size:13px;margin:0}.camera-info .meta{margin-top:14px;padding-top:12px;border-color:var(--line);font-size:12px}.camera-info .meta a{color:var(--accent);font-weight:600}.camera-section-heading h2{font-size:21px}.section-camera-count{background:var(--accent-soft);color:var(--accent)}.camera-toolbar{gap:12px;flex-wrap:wrap}.camera-toolbar .segmented{border:1px solid var(--line);background:var(--surface);padding:4px;border-radius:14px}.camera-toolbar .segmented button{background:transparent;color:var(--muted);min-height:40px;border-radius:10px}.camera-toolbar .segmented button.active{background:var(--accent-soft);color:var(--accent);box-shadow:none}.filters{gap:12px;flex-wrap:wrap}.filters input,.filters select{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px}.filters input{min-width:0;flex:2 1 240px}.filters select{flex:1 1 160px;min-width:0}.group-card{border-radius:20px}.group-symbol{background:var(--accent-soft);color:var(--accent)}.profile-link{min-height:60px}.profile-link>.icon:first-child{color:var(--accent)}.theme-options input:checked+span{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.notice{border-radius:12px}.table-wrap{max-width:100%;overflow-x:auto}footer{color:var(--muted)}
/* Video layout remains contained; fullscreen and zoom are owned by the player. */
#player-shell video{object-fit:contain}#player-shell .player-tools{flex-wrap:wrap;gap:8px}#player-shell .player-buttons{flex-wrap:wrap}#player-shell button{background:#ffffff14;color:#fff;min-height:44px}#player-shell .live-button.is-live{color:#ffabb5;background:#b7434d33;border-color:#e9849266}#player-shell .player-hud{background:linear-gradient(transparent,#17151bea 26%)}#player-shell .timeline-caption i{background:#ee8b99}#player-shell .player-settings{background:#242129f5}#player-shell .archive-controls{min-width:0}#player-shell .day-controls{flex-wrap:wrap}#player-shell :focus-visible{outline-color:#ffabb5}.mobile-camera-strip>a.selected{border-color:#ef929e;color:#ef929e}.mobile-player-actions button{background:#b7434d;color:#fff}.mobile-camera-header{padding-top:calc(8px + env(safe-area-inset-top));height:calc(62px + env(safe-area-inset-top))}
@media(max-width:800px){:root{--accent:#a73542;--accent-soft:#f8e9eb;--accent-ink:#fff;--bg:#f7f6f5;--surface:#fff;--surface-2:#f2f1f0;--ink:#292c33;--muted:#686b75;--line:#e4e3e5}html[data-theme=dark]{--accent:#f18d99;--accent-soft:#3d242b;--accent-ink:#251218;--bg:#151519;--surface:#202025;--surface-2:#29292f;--ink:#f5f3f4;--muted:#b4afb8;--line:#39363e}.app-topbar{height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 18px 0;gap:12px}.mobile-brand{font-size:19px;min-width:0;white-space:nowrap;letter-spacing:-.6px}.topbar-actions{gap:10px}.icon-button,.topbar-actions .avatar{width:44px;height:44px;min-width:44px}.signed-in main{padding:22px 16px 28px}.signed-in{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.bottom-navigation{position:fixed;inset:auto 0 0;z-index:40;height:calc(74px + env(safe-area-inset-bottom));padding:6px 6px env(safe-area-inset-bottom);grid-template-columns:repeat(5,minmax(0,1fr));background:var(--surface)}.bottom-navigation a{min-height:60px;font-size:10px;gap:5px}.bottom-navigation a.active{color:var(--accent);background:var(--accent-soft)}.bottom-navigation a .icon{width:23px;height:23px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.camera-info{padding:16px}.camera-info h2{font-size:16px}.camera-info .muted{font-size:12px}.camera-info .meta{font-size:11px;display:flex;flex-direction:row;align-items:center}.camera-info .meta a{font-size:12px}.camera-preview .badge{font-size:10px;left:12px;top:12px}.camera-preview .preview-stamp{font-size:10px;left:12px;bottom:10px}.camera-preview .play{width:48px;height:48px}.camera-toolbar .segmented button{font-size:12px;padding:8px 12px}.filters input{flex-basis:100%;border-radius:12px;font-size:14px}.filters select{font-size:13px;border-radius:12px}.camera-section-heading h2{font-size:19px}.view-list .camera{grid-template-columns:128px minmax(0,1fr)}.view-list .camera-info{padding:14px}.view-list .camera-preview .badge{display:none}.page-view_camera main{padding:0}.page-view_camera #player-shell:not(:fullscreen){height:max(430px,calc(100dvh - 250px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));min-height:430px}.page-view_camera #player-shell:fullscreen{min-height:0;height:100%;width:100%;aspect-ratio:auto}.page-view_camera #player-shell .live-button.is-live{color:#ffabb5;background:#b7434d33;border-color:#e9849266}.page-view_camera #player-shell .timeline-caption i{background:#ee8b99}.page-view_camera #player-shell button{min-height:44px}.mobile-camera-strip>a.selected{border-color:#ef929e;color:#ef929e}.mobile-player-actions button{background:#b7434d;color:#fff}}
@media(max-width:560px){.grid{grid-template-columns:minmax(0,1fr)}.camera-preview{aspect-ratio:16/9}.camera-info h2{font-size:18px}.camera-info .muted{font-size:13px}.camera-info .meta{font-size:12px}.camera-info>.hint{display:block;font-size:12px;margin:5px 0;color:var(--muted)}.camera-toolbar{gap:8px}.camera-toolbar .segmented button{font-size:11px;padding:8px 10px}.camera-toolbar .segmented{max-width:100%}.view-list .camera{grid-template-columns:110px minmax(0,1fr)}.view-list .camera-info h2{font-size:14px}.view-list .camera-info>.hint{display:none}.view-list .camera-info .meta{flex-wrap:wrap;gap:5px}.heading h1{font-size:27px}.profile-layout>.panel{padding:20px}.group-card{min-width:0}.group-card h2{overflow-wrap:anywhere}}
@media(max-width:360px){.mobile-brand{font-size:16px}.topbar-actions{gap:6px}.app-topbar{padding-left:12px;padding-right:12px}.camera-toolbar .segmented button{padding:8px;font-size:10px}.signed-in main{padding-left:12px;padding-right:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(min-width:801px){.grid:not(.view-list){grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}}

/* 1.18: fixed header/account with an independently scrolling navigation. */
@media(min-width:801px){
 .sidebar{display:flex;flex-direction:column;padding:22px 14px 0;overflow:hidden;gap:0}
 .sidebar .brand{flex:0 0 auto;min-width:0;gap:10px;padding:0 8px 22px;font-size:20px;letter-spacing:-.6px;white-space:nowrap}
 .sidebar .brand>span:last-child{min-width:0;line-height:1.2}.sidebar .brand small{font-size:10px;letter-spacing:0}
 .sidebar .brand-symbol{width:38px;height:38px}
 .sidebar-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--line) transparent;padding:0 2px 12px}
 .sidebar-scroll::-webkit-scrollbar{width:4px}.sidebar-scroll::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px}
 .sidebar .nav-caption{margin:16px 10px 8px;font-size:10px;letter-spacing:.65px}
 .sidebar .side-navigation{gap:4px}.sidebar .side-navigation a{min-height:42px;padding:10px 13px;font-size:13px;gap:12px}
 .sidebar .sidebar-account{position:static;flex:0 0 auto;width:auto;margin:0 -14px;padding:16px 20px;min-height:76px}
 .app-topbar{height:64px}.signed-in main{padding-top:28px}
 .page-home .heading{margin-bottom:18px}.page-home .heading h1{font-size:28px;margin-bottom:5px}
 .page-home .dashboard-stats{gap:14px;margin:0 0 18px}.page-home .dashboard-stats .panel{padding:13px 18px;min-height:66px;border-radius:16px}
 .page-home .dashboard-stats strong{font-size:19px}.page-home .camera-toolbar{margin:16px 0 12px}
 .page-home .camera-toolbar .segmented button{min-height:36px;padding:7px 12px}
 .page-home .filters{margin:12px 0 10px}.page-home .filters input,.page-home .filters select{min-height:44px;padding-top:10px;padding-bottom:10px}
 .page-home .camera-count{margin:8px 0 16px;font-size:11px}.page-home .camera-section-heading{margin-bottom:12px}
 .section-camera-count{padding:4px 9px;border-radius:8px;font-size:11px;white-space:nowrap}
}
@media(min-width:801px) and (max-width:1100px){.sidebar .brand{font-size:18px;padding-left:2px;gap:8px}.sidebar .brand-symbol{width:34px;height:34px}.sidebar .sidebar-account{padding-left:14px;padding-right:14px}}
@media(min-width:801px) and (max-height:750px){.sidebar{padding-top:16px}.sidebar .brand{padding-bottom:12px}.sidebar .nav-caption{margin-top:12px}.sidebar .side-navigation a{min-height:38px;padding-top:8px;padding-bottom:8px}.sidebar .sidebar-account{min-height:66px;padding-top:10px;padding-bottom:10px}}
