/* Shared visual system for desktop and mobile. Layout rules stay explicitly scoped. */
:root{--bg:#f4f4f4;--surface:#fff;--surface-2:#f8f8f8;--field:#fafafa;--ink:#252525;--muted:#6b6b6b;--accent:#925b00;--accent-soft:#fff0cb;--accent-ink:#fff;--line:#e4e4e4;--radius:15px;--shadow:0 3px 18px #00000005}
html[data-theme=dark]{--bg:#101010;--surface:#1b1b1b;--surface-2:#232323;--field:#191919;--ink:#f2f2f2;--muted:#ababab;--accent:#ffba25;--accent-soft:#3c3015;--accent-ink:#17130b;--line:#333;--shadow:0 3px 18px #0002}
main,.heading>div,.grid>*{min-width:0}.heading h1{font-weight:700;letter-spacing:-.6px}.heading .eyebrow{display:none}.brand-symbol{background:#ffb000;color:#211b0d}.avatar{background:var(--accent-soft);color:var(--ink)}.button,button{background:#ffb000;color:#211a0d}.button.secondary,button.secondary,.secondary{background:var(--accent-soft);color:var(--accent)}.button.danger,button.danger,.danger{background:var(--danger-bg);color:var(--danger)}button.ghost,.button.ghost{background:transparent;color:var(--muted)}.segmented{border-radius:22px;padding:4px}.segmented button{background:transparent;color:var(--muted);border-radius:18px}.segmented button.active{background:#ffb000;color:#211a0d}.camera{min-width:0;padding:0;box-shadow:none;border-radius:13px;border:1px solid var(--line);background:var(--surface)}.camera:hover{transform:none;box-shadow:0 6px 20px #0000000c}.camera-preview{position:relative;display:block;aspect-ratio:16/9;background:#292929;min-width:0;overflow:hidden}.camera-preview .preview-link{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;min-width:0;overflow:hidden}.camera-preview .preview-image{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover}.camera-preview .preview-image[hidden]{display:none}.camera-preview .play{position:relative;inset:auto;display:grid;place-items:center;margin:0;background:#0005;border-color:#ffffff70}.camera-preview .favorite-button{background:#0008!important;border:1px solid #ffffff30!important;border-radius:50%!important;color:#fff!important;width:40px;height:40px;min-height:40px;padding:0!important}.camera .favorite-button.is-favorite{color:#ffc331!important}.camera .favorite-button.is-favorite .icon{fill:#ffbb002a}.camera-info{padding:16px}.camera-info h2{font-size:16px;line-height:1.35;margin:0 0 6px;overflow-wrap:anywhere}.camera-info h2 a{color:var(--ink)}.camera-info .muted{font-size:12px;margin:0 0 6px}.camera-info .hint{font-size:11px}.camera-info .meta{font-size:11px;gap:10px;flex-wrap:wrap}.camera-info .meta>a{font-size:11px;white-space:nowrap}.camera-section-heading h2{font-size:21px}.preview-stamp{font-size:10px;background:#0009;color:#eee}.camera-preview.has-preview:after{inset:65% 0 0}.filters input,.filters select{border-radius:20px;background:var(--surface);min-width:0}.filters input{min-width:160px}.panel{border-radius:var(--radius)}.group-symbol{background:var(--accent-soft);color:var(--accent)}.theme-options input:checked+span{border-color:var(--accent);background:var(--accent-soft)}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.icon-button:focus-visible{outline:2px solid var(--accent)}
@media(min-width:801px){
 :root{--sidebar:224px}.sidebar{width:var(--sidebar);padding:25px 15px 105px;background:var(--surface);border-right:1px solid var(--line)}.sidebar .brand{padding:0 12px 24px;font-size:28px}.sidebar .brand small{font-size:10px}.nav-caption{font-size:10px;letter-spacing:1px;margin-top:20px}.side-navigation a{padding:12px 14px;min-height:45px;border-radius:11px;font-size:13px;gap:12px}.side-navigation a.active{color:var(--accent);background:var(--accent-soft)}.side-navigation a.active .icon{stroke-width:2}.sidebar-account{width:var(--sidebar);padding:17px 15px;background:var(--surface)}.sidebar-account strong{max-width:125px}.app-topbar{height:72px;padding:0 30px;margin-left:var(--sidebar);background:var(--surface)}.topbar-label{font-size:13px}.topbar-actions{gap:12px}main{margin-left:var(--sidebar);padding:28px 30px;min-height:calc(100dvh - 133px)}main>*{max-width:1500px}.heading{margin-bottom:23px}.heading h1{font-size:29px}.heading p{font-size:13px}.camera-toolbar{gap:14px;flex-wrap:wrap}.filters{gap:12px;margin:18px 0}.filters input{flex:1;max-width:420px}.filters select{max-width:250px}.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.grid.view-list{grid-template-columns:1fr}.view-list .camera{grid-template-columns:210px minmax(0,1fr)}.view-list .camera-preview{aspect-ratio:auto}.view-list .camera-info h2{font-size:17px}.groups-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-layout{gap:22px}.profile-layout>.panel{padding:27px}.profile-link{min-height:55px}.auth{max-width:440px}.signed-out main{margin-left:auto}.signed-out .app-topbar{margin-left:auto}footer{margin-left:var(--sidebar)}.bottom-navigation{display:none}.video-panel{border:1px solid var(--line)}
}
@media(min-width:801px) and (max-width:1100px){
 :root{--sidebar:194px}.sidebar{padding-left:10px;padding-right:10px}.sidebar .brand{font-size:25px;padding-left:10px}.sidebar-account{padding:15px 10px}.sidebar-account strong{max-width:105px}.side-navigation a{padding:11px 10px;font-size:12px;gap:10px}.app-topbar{padding:0 22px}main{padding:24px 22px}.grid,.groups-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.profile-layout{grid-template-columns:1fr}.filters input{max-width:none}
}
@media(min-width:1700px){main{padding-left:36px;padding-right:36px}.grid:not(.view-list){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.camera-preview .play{width:38px;height:38px}.camera-info .meta{flex-wrap:wrap}.bottom-navigation a>span{max-width:100%;white-space:nowrap}.filters>*{max-width:100%}.camera-toolbar>*{max-width:100%}.camera-preview .preview-link{position:absolute;inset:0;width:100%;height:100%}}
@media(prefers-reduced-motion:reduce){.camera{transition:none}}
.camera-preview:hover .play{background:#ffb000d9;color:#211a0d;border-color:#ffd579}
#player-shell{background:#000}#player-shell video{background:#000}#player-shell .player-hud{background:linear-gradient(transparent,#111e 26%)}#player-shell .player-settings{background:#1c1c1cf5;border-color:#454545}#player-shell input,#player-shell select{background:#282828;border-color:#4c4c4c;color:#fff}#player-shell .live-button.is-live{color:#ffc02b;border-color:#ffc02b60;background:#ffb00015}#player-shell .timeline-caption i{background:#efb23a}#player-shell #archive-timeline:focus-visible{outline-color:#ffbd29}#player-shell .segment-list a{background:#3a3019;color:#ffd36e}
