:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: #1d1d1f; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #365d8b; outline-offset: 4px; }
.skip { position: absolute; top: -80px; left: 12px; padding: 12px; background: #fff; z-index: 5; }
.skip:focus { top: 12px; }
.shell { max-width: 1360px; margin: auto; padding: 0 6%; }
header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #dedee2; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.wordmark { font-size: 32px; font-weight: 900; letter-spacing: -2px; }
.brand-name { border-left: 1px solid #dedee2; padding-left: 16px; font-size: 20px; font-weight: 750; white-space: nowrap; }
.back { padding: 12px 0; font-size: 14px; text-decoration: none; white-space: nowrap; }
.back:hover { text-decoration: underline; }
.heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 42px 0 28px; }
.eyebrow { margin: 0 0 10px; font-size: 11px; letter-spacing: .12em; color: #79642f; font-weight: 700; }
h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 650; letter-spacing: -.04em; }
.intro { margin: 12px 0 0; font-size: 15px; color: #6e6e73; line-height: 1.5; }
.camera-count { flex: none; font-size: 12px; color: #79642f; border: 1px solid #e6dec8; background: #fcf8ea; padding: 8px 12px; border-radius: 20px; }
.camera { border: 1px solid #e2e2e6; border-radius: 22px; overflow: hidden; background: #fafafa; }
.player { position: relative; aspect-ratio: 16 / 9; background: #101214; }
video { display: block; width: 100%; height: 100%; object-fit: contain; }
.notice { position: absolute; inset: 0 0 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; color: #fff; text-align: center; background: #101214; }
.notice p { max-width: 460px; margin: 0; line-height: 1.5; font-size: 14px; }
.notice button { border: 0; border-radius: 24px; min-height: 44px; padding: 10px 24px; background: #fcf8ea; color: #3f3520; font-weight: 600; }
.camera-info { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 22px 26px; }
h2 { font-size: 19px; font-weight: 650; margin: 0; }
.camera-info p { color: #6e6e73; font-size: 13px; margin: 6px 0 0; }
.camera-actions { display: flex; align-items: center; gap: 20px; }
.status { display: inline-flex; align-items: center; gap: 7px; color: #6e6e73; font-size: 12px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9a9a9f; }
.status[data-state="live"] { color: #286047; }
.status[data-state="live"]::before { background: #258452; }
.status[data-state="error"] { color: #ac3934; }
.status[data-state="error"]::before { background: #ac3934; }
.fullscreen { display: flex; align-items: center; gap: 8px; min-height: 44px; border: 1px solid #dedee2; background: #fff; border-radius: 24px; padding: 10px 16px; color: #1d1d1f; font-size: 12px; }
.fullscreen:hover { background: #f1f1f3; }
.fullscreen svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.help, .no-script { color: #6e6e73; font-size: 13px; line-height: 1.7; max-width: 720px; margin: 18px 0 38px; }
.no-script { color: #ac3934; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 28px; border-top: 1px solid #dedee2; color: #6e6e73; font-size: 11px; }
@media (max-width: 720px) {
  header { flex-wrap: wrap; gap: 0 16px; padding: 12px 0; }
  .brand { gap: 8px; }
  .wordmark { font-size: 24px; letter-spacing: -1px; }
  .brand-name { padding-left: 8px; font-size: clamp(10px, 2.8vw, 17px); }
  .back { margin-left: auto; font-size: 12px; }
  .heading { padding-top: 28px; gap: 12px; }
  .camera-count { padding: 7px 10px; font-size: 11px; }
  .camera { border-radius: 16px; }
  .camera-info { padding: 18px; }
  .camera-actions { flex: 1; justify-content: space-between; }
  .intro { font-size: 13px; }
  .notice { padding: 12px; gap: 8px; }
  .notice p { font-size: 12px; }
  .notice button { padding: 8px 18px; }
}
