/* The camera page uses a real media element; empty sources remain visibly unavailable. */
#beg-light [data-camera-player]{display:grid;align-items:start;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr)}
#beg-light [data-camera-player][data-camera-count="1"]{grid-template-columns:minmax(0,1fr)}
#beg-light [data-camera-player][data-camera-count="1"] .camera-stage{width:100%;max-width:1040px;margin-inline:auto}
#beg-light [data-camera-player][data-camera-count="1"] .camera-selection{display:none}
#beg-light [data-camera-player] .camera-stage{display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:0;background:var(--paper);border:1px solid var(--line);color:var(--ink);isolation:isolate}
#beg-light [data-camera-player] .camera-view{position:relative;aspect-ratio:16/9;min-width:0;background:var(--brand-chocolate);overflow:hidden}
#beg-light #camera-video{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;background:var(--brand-chocolate)}
#beg-light #camera-placeholder{position:absolute;inset:0;display:grid;place-items:center;padding:24px;color:var(--brand-line);background:radial-gradient(ellipse at 80% 15%,var(--brand-dark-line),transparent 55%),linear-gradient(145deg,var(--brand-chocolate),var(--brand-chocolate));text-align:center}
#beg-light #camera-placeholder svg{width:48px;height:48px;opacity:.65}
#beg-light #camera-placeholder img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#beg-light [data-camera-player] .camera-caption{padding:24px;min-width:0;overflow-wrap:anywhere}
#beg-light [data-camera-player] .camera-caption>span{color:var(--sub)}
#beg-light [data-camera-player] .camera-caption h2{font-size:28px;line-height:1.2;margin:10px 0;letter-spacing:-.7px}
#beg-light [data-camera-player] .camera-caption p{color:var(--sub);font-size:14px;line-height:1.6;margin:12px 0 0}
#beg-light #camera-description:empty{display:none}
#beg-light [data-camera-player] .camera-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
#beg-light [data-camera-player] .camera-actions button{min-height:44px;max-width:100%;padding:12px 18px;border-radius:8px;border:1px solid var(--line);background:var(--wash);color:var(--ink);font:700 14px/1.35 Arial,Helvetica,sans-serif;cursor:pointer;overflow-wrap:anywhere}
#beg-light [data-camera-player] #camera-play{background:var(--brand-orange);border-color:var(--brand-orange);color:var(--brand-on-orange)}
#beg-light [data-camera-player] .camera-actions button:hover{filter:brightness(1.06)}
#beg-light [data-camera-player] .camera-actions button:focus-visible,#beg-light [data-camera-player] .camera-selection button:focus-visible{outline:2px solid var(--brand-accent-text);outline-offset:3px}
#beg-light [data-camera-player] #camera-state{min-height:1.6em;letter-spacing:0;white-space:normal}
#beg-light [data-camera-player] #camera-state.camera-error{color:#b13a2d}
#beg-light [data-theme=dark] [data-camera-player] #camera-state.camera-error{color:#ffaaa0}
#beg-light [data-camera-player][data-camera-state=loading] #camera-state::before,#beg-light [data-camera-player][data-camera-state=buffering] #camera-state::before{content:'';display:inline-block;width:7px;height:7px;margin-inline-end:8px;border-radius:50%;background:var(--brand-accent-text)}
#beg-light [data-camera-player] .camera-selection{min-width:0;padding:10px 0}
#beg-light [data-camera-player] .camera-selection button{min-height:64px;max-width:100%;color:var(--ink);cursor:pointer}
#beg-light [data-camera-player] .camera-selection button>span{flex-shrink:0}
#beg-light [data-camera-player] .camera-selection button>strong{min-width:0;overflow-wrap:anywhere}
#beg-light [data-camera-player] .camera-selection button small{font-size:12px;line-height:1.5}
#beg-light [data-camera-player] .camera-selection button>b{flex-shrink:0}
@media(max-width:900px){
 #beg-light [data-camera-player]{grid-template-columns:minmax(0,1fr);gap:22px}
 #beg-light [data-camera-player] .camera-selection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #beg-light [data-camera-player] .camera-selection>h3,#beg-light [data-camera-player] .camera-selection>p{grid-column:1/-1}
 #beg-light [data-camera-player] .camera-selection button{margin:0}
}
@media(max-width:600px){
 #beg-light [data-camera-player]{padding:22px 16px 32px}
 #beg-light [data-camera-player] .camera-view{aspect-ratio:4/3}
 #beg-light [data-camera-player] .camera-caption{padding:20px 18px}
 #beg-light [data-camera-player] .camera-caption h2{font-size:25px;letter-spacing:-.5px}
 #beg-light [data-camera-player] .camera-selection{grid-template-columns:minmax(0,1fr)}
 #beg-light [data-camera-player] .camera-selection button{padding:16px}
}
