:root {
  color-scheme: dark;
  --canvas: #101314;
  --surface: #171b1d;
  --raised: #202628;
  --line: #2a3032;
  --ink: #edf1ef;
  --muted: #9ba6a2;
  --faint: #849189;
  --accent: #a1ecc8;
  --accent-ink: #102b20;
  --danger: #f3aaa7;
  --ss-canvas: var(--canvas);
  --ss-surface: var(--surface);
  --ss-raised: var(--raised);
  --ss-text-strong: var(--ink);
  --ss-text: var(--muted);
  --ss-accent: var(--accent);
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-synthesis: none;
  background: var(--canvas);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.icon { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; pointer-events: none; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 20; padding: 12px; background: var(--accent); color: var(--accent-ink); }
.skip-link:focus { top: 12px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; font-size: 25px; line-height: 1; letter-spacing: 2.8px; font-weight: 750; }
.brand > span { font-size: 9px; font-weight: 500; letter-spacing: 2.3px; margin-top: 10px; color: var(--muted); }
.sidebar { width: 224px; position: fixed; inset: 0 auto 0 0; border-right: 1px solid var(--line); background: #131718; padding: 35px 20px 22px; display: flex; flex-direction: column; }
.sidebar .brand { margin-left: 12px; }
.workspace { display: flex; align-items: center; gap: 10px; margin: 39px 0 31px; padding: 13px 10px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; font-weight: 550; }
.workspace small { display: block; margin-top: 5px; color: var(--faint); font-size: 10px; font-weight: 400; }
.workspace-mark { display: grid; place-items: center; width: 29px; height: 32px; color: var(--muted); }
.workspace-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); margin-left: auto; }
.nav-label { font-size: 9px; letter-spacing: 1.5px; color: var(--faint); margin: 0 12px 13px; }
nav a { display: flex; align-items: center; gap: 10px; padding: 13px 11px; margin-bottom: 5px; border-radius: 5px; font-size: 12px; color: var(--muted); }
nav a.active { background: #23352d; color: var(--accent); }
nav .icon { width: 17px; height: 17px; }
.nav-count { margin-left: auto; background: #334a3d; color: var(--accent); font-size: 10px; min-width: 19px; text-align: center; border-radius: 4px; padding: 2px 4px; }
.nav-arrow { margin-left: auto; width: 13px !important; height: 13px !important; }
.sidebar-bottom { margin-top: auto; padding: 26px 12px 0; }
.sidebar-bottom > .icon { color: var(--faint); margin-bottom: 13px; }
.sidebar-bottom strong { display: block; font-size: 11px; font-weight: 500; color: #b3bfb9; }
.sidebar-bottom p { color: var(--faint); font-size: 11px; line-height: 1.9; margin: 9px 0 27px; }
.version { display: block; font-size: 9px; color: var(--faint); letter-spacing: 1px; padding-top: 20px; border-top: 1px solid var(--line); }
.main { margin-left: 224px; min-height: 100vh; }
.topbar { height: 75px; padding: 0 38px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.breadcrumb { display: flex; align-items: center; gap: 18px; font-size: 10px; color: var(--faint); letter-spacing: 1px; }
.breadcrumb b { font-size: 12px; color: #b6c0bc; letter-spacing: 0; font-weight: 400; }
.breadcrumb > span { color: #4b5851; }
.top-right { display: flex; align-items: center; gap: 21px; }
time { font-variant-numeric: tabular-nums; font-size: 11px; color: var(--faint); }
.operator-label { color: #cad3ce; font-size: 10px; background: var(--raised); border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; }
.text-button { border: 0; background: transparent; color: var(--muted); font-size: 11px; padding: 8px 0; min-height: 34px; }
.text-button:hover, .remove-camera:hover { color: var(--ink); }
#dashboard { padding: 38px 38px 20px; max-width: 1920px; margin: auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 31px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: 1.8px; color: #8a9e92; font-weight: 500; line-height: 1.5; }
h1 { margin: 10px 0; font-size: 30px; letter-spacing: -1.2px; line-height: 1.4; font-weight: 600; }
.page-heading p { margin: 0; font-size: 12px; color: var(--muted); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.live-label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; margin-left: 13px; border: 1px solid #33493c; border-radius: 4px; color: var(--accent); font-size: 9px; letter-spacing: .5px; vertical-align: middle; line-height: 1.3; }
.live-label .dot { width: 4px; height: 4px; }
.primary, .secondary, .danger { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; border-radius: 5px; padding: 11px 17px; font-size: 12px; font-weight: 600; border: 1px solid transparent; transition: background .16s ease, border-color .16s ease; }
.primary { color: var(--accent-ink); background: var(--accent); }
.primary:hover { background: #baf6da; }
.primary .icon, .secondary .icon, .danger .icon { width: 16px; height: 16px; }
.secondary { color: #dce7e0; background: #26302b; border-color: #3b4c41; }
.secondary:hover { background: #303d35; }
.danger { background: #382322; color: #ffc0b9; border-color: #69403c; }
.danger:hover { background: #50302d; }
.stats { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.45fr; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 22px 0; margin-bottom: 31px; }
.stats article { display: flex; flex-direction: column; padding: 0 26px; border-right: 1px solid var(--line); min-width: 0; }
.stats article:last-child { border-right: 0; }
.stats article > span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.stats article > div { display: flex; align-items: baseline; gap: 12px; margin-top: 9px; }
.stats strong { font-size: 27px; font-weight: 500; line-height: 1.15; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.stats .stat-live strong { color: var(--accent); font-size: 34px; }
.stats small { font-size: 9px; color: var(--faint); letter-spacing: .6px; white-space: nowrap; }
.network-card > span .icon { width: 15px; height: 15px; }
.stats .network-card strong { font-size: 16px; letter-spacing: -.5px; margin-top: 11px; }
.stats .network-card small { font-size: 10px; margin-top: 7px; letter-spacing: 0; }
.section-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.feed-heading { display: flex; align-items: center; gap: 10px; }
.feed-heading > .icon { width: 17px; height: 17px; color: #b4c2ba; }
h2 { font-size: 14px; font-weight: 550; margin: 0; }
.feed-heading > span { color: var(--faint); font-size: 11px; margin-left: 1px; }
.view-controls { display: flex; align-items: center; gap: 12px; }
.view-controls label { color: var(--faint); font-size: 11px; margin: 0; }
.view-controls select { color: #becac3; font-size: 11px; padding: 8px 10px; background: var(--raised); border: 1px solid #354039; border-radius: 4px; }
.camera-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.camera-grid[data-columns="1"] { grid-template-columns: minmax(0, 1fr); }
.camera-grid[data-columns="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.camera-card { min-width: 0; border: 1px solid #303936; border-radius: 7px; overflow: hidden; background: var(--surface); }
.video-wrap { position: relative; background: #080b0c; aspect-ratio: 16 / 9; overflow: hidden; }
.video-wrap video { width: 100%; height: 100%; object-fit: contain; display: block; }
.video-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--muted); background: #141b19; font-size: 12px; text-align: center; padding: 20px; }
.video-placeholder > .icon { width: 28px; height: 28px; color: #657c6d; }
.feed-badge { position: absolute; left: 16px; top: 16px; background: #17221e; color: #bccbc2; border: 1px solid #42584a; font-size: 10px; padding: 5px 8px; border-radius: 3px; letter-spacing: .3px; }
.feed-badge.live { color: var(--accent); background: #172b22; }
.video-actions { display: flex; justify-content: flex-end; gap: 6px; padding: 8px 12px; background: #141b17; border-bottom: 1px solid var(--line); }
.video-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 34px; min-height: 34px; background: #121a17e8; color: #eef4ef; border: 1px solid #7c93834d; border-radius: 4px; font-size: 10px; padding: 7px 10px; }
.video-actions button:hover { background: #2b3b32; }
.video-actions .icon { width: 15px; height: 15px; }
.camera-caption { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.caption-main { display: flex; align-items: center; gap: 13px; min-width: 0; }
.camera-number { flex: none; color: var(--faint); font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: .5px; padding-right: 13px; border-right: 1px solid #354039; line-height: 30px; }
.camera-caption h3 { font-size: 12px; font-weight: 550; margin: 0 0 5px; overflow-wrap: anywhere; }
.camera-caption p { color: var(--muted); font-size: 10px; margin: 0; }
.camera-card[data-receiving="true"] .camera-caption p { color: #91bca2; }
.remove-camera { flex: none; color: var(--faint); border: 0; background: transparent; font-size: 10px; min-height: 34px; padding: 8px 0 8px 8px; }
.empty-state { min-height: 364px; padding: 43px 24px 0; background: #151b18; border: 1px dashed #354c3e; border-radius: 7px; text-align: center; }
.empty-icon { margin: 0 auto 17px; color: #9bc0a9; }
.empty-icon .icon { width: 30px; height: 30px; }
.empty-state .eyebrow { color: #7f9c8b; font-size: 8px; }
.empty-state h2 { font-size: 20px; letter-spacing: -.5px; margin: 10px 0; }
.empty-state p { color: var(--muted); line-height: 1.8; font-size: 12px; margin: 0 0 20px; }
.setup-steps { display: flex; justify-content: center; gap: 33px; margin-top: 31px; padding: 17px 0; border-top: 1px solid #2a3930; color: #99afa0; font-size: 11px; }
.setup-steps b { font-size: 10px; font-weight: 500; color: #648b73; margin-right: 7px; }
.dashboard-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 0; color: var(--faint); font-size: 10px; }
.dashboard-footer > span:first-child { display: flex; align-items: center; gap: 7px; }
.dashboard-footer .icon { width: 14px; height: 14px; }
.dashboard-footer > span:last-child { font-size: 9px; letter-spacing: 1px; }
.login-panel { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 70px; max-width: 1100px; min-height: calc(100vh - 75px); padding: 65px 55px; margin: auto; }
.login-story h1 { font-size: clamp(32px, 3.5vw, 51px); line-height: 1.5; letter-spacing: -2.3px; margin: 18px 0; font-weight: 550; }
.login-story h1 > span { color: var(--accent); }
.login-story > p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.connection-story { display: flex; align-items: center; gap: 18px; max-width: 300px; margin: 36px 0 26px; }
.connection-story > div { display: flex; flex-direction: column; align-items: center; gap: 13px; flex: none; }
.connection-story > div > .icon { width: 31px; height: 31px; color: #bed7c9; }
.connection-story > div > span { font-size: 11px; color: var(--muted); }
.connection-line { flex: 1; height: 1px; background: #3a5445; display: flex; justify-content: flex-end; align-items: center; margin-top: -26px; }
.connection-line .icon { color: #688d76; width: 18px; height: 18px; }
.login-benefits { display: flex; flex-wrap: wrap; gap: 12px 18px; color: var(--faint); font-size: 10px; }
.login-benefits > span { display: flex; align-items: center; gap: 4px; }
.login-benefits .icon { width: 13px; height: 13px; color: #91b49f; }
.login-access { background: var(--surface); border: 1px solid var(--line); padding: 33px; border-radius: 9px; }
.access-icon { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: #25372d; border-radius: 8px; color: var(--accent); margin-bottom: 26px; }
.login-access .eyebrow { font-size: 8px; }
.login-access h2 { font-size: 22px; margin: 10px 0; letter-spacing: -.7px; }
.login-access > p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.login-access form { margin-top: 29px; }
label { display: block; color: #c3cfc7; font-size: 12px; margin-bottom: 9px; }
input:not([type="checkbox"]), .camera-options select { width: 100%; min-height: 45px; padding: 12px; color: var(--ink); border: 1px solid #3d4941; border-radius: 5px; background: #121816; font-size: 13px; }
input::placeholder { color: #7e8c83; }
form > .primary { width: 100%; margin-top: 12px; justify-content: space-between; }
.login-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.8; }
.login-note .icon { width: 15px; height: 15px; margin-top: 2px; }
.error { color: #ffb1aa !important; font-size: 12px; line-height: 1.8; white-space: pre-line; }
.error:empty { display: none; }
dialog { width: 460px; max-width: calc(100vw - 30px); padding: 30px; border: 1px solid #425048; border-radius: 10px; background: #1b221e; color: var(--ink); box-shadow: 0 24px 80px #0007; }
dialog::backdrop { background: #040907bd; backdrop-filter: blur(5px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dialog-heading h2 { font-size: 23px; letter-spacing: -.7px; margin-top: 10px; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 4px; border: 1px solid var(--line); background: #29352d; color: var(--muted); }
dialog p { color: var(--muted); font-size: 12px; line-height: 1.8; }
dialog label { margin-top: 23px; }
#pair-result { border-top: 1px solid #35443a; padding-top: 25px; margin-top: 25px; }
.pair-code { color: var(--accent); font: 500 26px/1.5 Consolas, ui-monospace, monospace; font-variant-ligatures: none; letter-spacing: 2px; margin-top: 12px; overflow-wrap: anywhere; }
#copy-link { width: 100%; margin-top: 12px; }
.hint { color: var(--muted); font-size: 11px; line-height: 1.8; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #d4eee0; color: #193326; padding: 14px 20px; border-radius: 6px; max-width: 90vw; font-size: 12px; line-height: 1.7; z-index: 20; box-shadow: 0 8px 40px #0004; }
.camera-body { background: #0d1110; }
.phone-shell { max-width: 470px; min-height: 100vh; margin: auto; padding: 28px; background: var(--canvas); border-left: 1px solid #222c26; border-right: 1px solid #222c26; }
.phone-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.phone-header .brand { font-size: 22px; }
.phone-header .brand > span { font-size: 8px; }
.phone-status { color: var(--accent); background: #23352b; border: 1px solid #3b5443; font-size: 10px; padding: 6px 10px; border-radius: 4px; }
.phone-heading { margin: 28px 0 23px; }
.phone-heading h1 { font-size: 27px; line-height: 1.5; letter-spacing: -1px; margin: 10px 0 7px; overflow-wrap: anywhere; }
.phone-heading p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; }
.phone-form { padding: 23px; border: 1px solid #35443a; border-radius: 7px; background: var(--surface); }
.phone-connect-icon { display: flex; justify-content: center; margin: 3px 0 23px; color: #a5cdb5; }
.phone-connect-icon .icon { width: 32px; height: 32px; }
.phone-form .hint { text-align: center; margin: 15px 0 0; font-size: 10px; }
.preview-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid #394f40; border-radius: 7px; background: #0c130e; }
.preview-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
#preview-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 11px; color: var(--muted); }
#preview-placeholder > .icon { width: 30px; height: 30px; color: #7f9c89; margin-bottom: 7px; }
#preview-placeholder strong { font-size: 13px; font-weight: 500; color: #bfd4c6; }
#preview-placeholder > span { font-size: 11px; }
.recording-label { position: absolute; top: 13px; left: 13px; display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 10px; background: #152c20; border: 1px solid #567e64; border-radius: 3px; padding: 6px 8px; }
.preview-corner { position: absolute; right: 12px; bottom: 12px; font-size: 8px; color: #b4c7ba; letter-spacing: 1.4px; background: #15211ae0; padding: 5px; border-radius: 2px; }
.camera-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; margin-top: 22px; }
.camera-options label { margin: 0; font-size: 11px; }
.camera-options label:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.camera-options select { font-size: 12px; padding: 11px; }
.checkbox { display: flex; align-items: center; gap: 9px; margin: 18px 0; font-size: 12px; }
.checkbox input { margin: 0; width: 16px; height: 16px; accent-color: var(--accent); }
.checkbox small { margin-left: auto; color: var(--faint); font-size: 10px; }
#start-stream, #stop-stream { width: 100%; min-height: 48px; }
.sender-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 10px; color: var(--muted); }
.sender-meta .text-button { font-size: 10px; }
.phone-notice { display: flex; align-items: flex-start; gap: 10px; margin-top: 27px; padding-top: 21px; border-top: 1px solid var(--line); }
.phone-notice > .icon { width: 17px; height: 17px; margin-top: 2px; color: #97b29f; }
.phone-notice strong { font-size: 11px; color: #b3c8ba; font-weight: 500; }
.phone-notice p { color: var(--muted); font-size: 10px; line-height: 1.9; margin: 8px 0 0; }
.back-link { display: flex; align-items: center; justify-content: center; gap: 6px; color: #a4b7aa; font-size: 11px; margin: 25px 0 0; min-height: 34px; }
.back-link .icon { width: 13px; height: 13px; }
@media (min-width: 1700px) { #dashboard { padding-left: 48px; padding-right: 48px; } .video-wrap { aspect-ratio: 16 / 9; } }
@media (max-width: 1150px) {
  .sidebar { width: 204px; padding-left: 14px; padding-right: 14px; }
  .main { margin-left: 204px; }
  .topbar { padding: 0 27px; }
  #dashboard { padding: 30px 27px 20px; }
  .stats article { padding: 0 18px; }
  .stats article > div { gap: 8px; }
  .stats small { font-size: 8px; }
  .login-panel { padding: 45px 30px; gap: 30px; }
  .login-access { padding: 26px; }
  .login-story h1 { font-size: 35px; }
  .login-benefits { flex-direction: column; }
}
@media (max-width: 850px) {
  .sidebar { width: 76px; padding: 25px 11px; align-items: center; }
  .sidebar .brand { font-size: 11px; margin: 0; letter-spacing: 1px; }
  .sidebar .brand > span, .workspace, .nav-label, .sidebar-bottom, nav a > span, nav .nav-arrow { display: none; }
  .sidebar nav { margin-top: 45px; width: 100%; }
  nav a { justify-content: center; padding: 14px; }
  nav .icon { width: 20px; height: 20px; }
  .main { margin-left: 76px; }
  .stats article { padding: 0 13px; }
  .stats small { display: none; }
  .stats .network-card small { display: block; white-space: normal; font-size: 9px; }
  .login-panel { grid-template-columns: 1fr; max-width: 490px; gap: 30px; padding-top: 35px; }
  .login-story h1 { font-size: 31px; }
  .login-story > p, .connection-story, .login-benefits { display: none; }
  .login-access { padding: 28px; }
}
@media (max-width: 600px) {
  .sidebar { position: static; width: auto; padding: 19px 20px; flex-direction: row; align-items: center; justify-content: space-between; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar .brand { font-size: 22px; letter-spacing: 2.8px; }
  .sidebar .brand::before { display: none; }
  .sidebar nav { width: auto; margin: 0; }
  .sidebar nav a.active { display: none; }
  .sidebar nav a { padding: 7px; margin: 0; }
  .sidebar nav a > span:not(.nav-count) { display: inline; font-size: 11px; }
  .sidebar nav a > .icon { width: 16px; height: 16px; }
  .main { margin: 0; }
  .topbar { height: 49px; padding: 0 20px; }
  .breadcrumb { font-size: 9px; gap: 12px; }
  .breadcrumb b { font-size: 10px; }
  .operator-label, #clock { display: none; }
  .top-right { gap: 0; }
  .text-button { font-size: 10px; }
  #dashboard { padding: 27px 19px 22px; }
  .page-heading { gap: 10px; margin-bottom: 25px; align-items: center; }
  .eyebrow, .login-access .eyebrow, .empty-state .eyebrow { font-size: 11px; letter-spacing: 1px; }
  h1 { font-size: 23px; margin: 8px 0; }
  .page-heading p { font-size: 10px; line-height: 1.8; max-width: 200px; }
  .live-label { font-size: 10px; margin-left: 7px; padding: 4px 5px; }
  #add-camera { font-size: 10px; padding: 9px 10px; min-height: 38px; gap: 5px; flex: none; }
  #add-camera .icon { width: 13px; height: 13px; }
  .stats { grid-template-columns: repeat(3, 1fr); padding: 18px 0 0; margin-bottom: 26px; }
  .stats article { padding: 0 14px; }
  .stats article:nth-child(3) { border-right: 0; }
  .stats article > span { font-size: 10px; gap: 5px; }
  .stats article > div { min-height: 43px; align-items: center; margin-top: 6px; }
  .stats strong { font-size: 25px; }
  .stats .stat-live strong { font-size: 29px; }
  .stats .network-card { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 9px; padding: 12px 14px; margin-top: 15px; border-top: 1px solid var(--line); }
  .stats .network-card strong { margin: 0 0 0 auto; font-size: 11px; letter-spacing: 0; }
  .stats .network-card small { display: none; }
  .section-toolbar { margin-bottom: 14px; }
  .feed-heading { gap: 7px; }
  .feed-heading h2 { font-size: 13px; }
  .feed-heading > span { font-size: 10px; }
  .view-controls label { display: none; }
  .view-controls select { font-size: 10px; padding: 7px; }
  .camera-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .camera-caption { padding: 14px; }
  .camera-caption h3 { font-size: 12px; }
  .video-wrap { aspect-ratio: 16 / 9; }
  .video-actions button, .remove-camera, .icon-button { min-width: 44px; min-height: 44px; }
  .video-actions button, .camera-caption p, .remove-camera, .feed-badge { font-size: 12px; }
  .feed-badge { padding: 6px 9px; }
  .camera-caption h3 { font-size: 13px; }
  .phone-status, .sender-meta, .sender-meta .text-button, .camera-options label, .checkbox, .phone-notice strong, .phone-notice p { font-size: 12px; }
  .sender-meta .text-button { min-height: 44px; }
  .camera-number { font-size: 10px; padding-right: 10px; }
  .caption-main { gap: 10px; }
  .dashboard-footer { padding-top: 21px; font-size: 10px; }
  .dashboard-footer > span:last-child { display: none; }
  .empty-state { min-height: 350px; padding: 35px 16px 0; }
  .empty-state h2 { font-size: 18px; }
  .empty-state p { font-size: 11px; }
  .setup-steps { gap: 15px; font-size: 10px; }
  .login-panel { padding: 28px 20px 38px; min-height: auto; gap: 20px; }
  .login-story h1 { font-size: 27px; letter-spacing: -1.4px; line-height: 1.6; margin: 12px 0 4px; }
  .login-access { padding: 25px; }
  .access-icon { margin-bottom: 22px; }
  .login-access h2 { font-size: 21px; }
  .phone-shell { padding: 25px 22px; border: 0; }
  .phone-header .brand > span, .preview-corner { font-size: 10px; }
  .phone-notice p { font-size: 11px; }
  .phone-form .hint { font-size: 11px; }
  dialog { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
:lang(ja) .eyebrow, :lang(ja) .brand > span, :lang(ja) .nav-label, :lang(ja) .stats small {
  font-size: 11px;
  letter-spacing: .05em;
}