/* 할머니댁 CCTV — 토스 스타일 */
:root {
  --bg: #f2f4f6; --card: #ffffff; --fg: #191f28; --fg2: #333d4b; --muted: #8b95a1; --line: #e5e8eb; --soft: #f2f4f6; --soft2: #e8ebee;
  --blue: #3182f6; --blue-soft: #e8f3ff; --blue-d: #1b64da; --red: #f04452; --red-soft: #ffeeee; --green: #03b26c; --green-soft: #e5f8ef; --orange: #fe9800; --orange-soft: #fff3e0;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04);
  --r: 20px; --tl-bg: #f2f4f6; --tl-rec: #c9d4e3; --tl-mot: #3182f6; --tl-snd: #fe9800;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101013; --card: #1d1d22; --fg: #f2f2f5; --fg2: #d6d7dc; --muted: #8e8f99; --line: #2c2c33; --soft: #26262c; --soft2: #303037;
    --blue: #3182f6; --blue-soft: rgba(49, 130, 246, .16); --blue-d: #64a8ff; --red-soft: rgba(240, 68, 82, .16); --green-soft: rgba(3, 178, 108, .16); --orange-soft: rgba(254, 152, 0, .16);
    --tl-bg: #26262c; --tl-rec: #3c4656; color-scheme: dark;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; font-size: 15px; line-height: 1.5;
  letter-spacing: -.01em; -webkit-font-smoothing: antialiased; word-break: keep-all; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
[hidden] { display: none !important; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); font-size: 13px; }
.h2 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 0 20px; border: 0; border-radius: 14px; font-size: 16px; font-weight: 600; transition: background .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); }
.btn--primary:disabled { opacity: .5; }
.btn--gray { background: var(--soft); color: var(--fg2); }
.btn--big { width: 100%; height: 56px; font-size: 17px; border-radius: 16px; }
.ibtn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--soft); color: var(--fg2); }
.ibtn svg { width: 20px; height: 20px; }
.ibtn:hover { background: var(--soft2); }
.ibtn[aria-disabled="true"] { opacity: .35; pointer-events: none; }

/* 로그인 */
.login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.login__box { width: 100%; max-width: 380px; display: grid; gap: 14px; }
.login__logo { width: 56px; height: 56px; border-radius: 18px; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 6px; }
.login__logo svg { width: 30px; height: 30px; }
.login__t { margin: 0 0 14px; font-size: 26px; line-height: 1.35; font-weight: 700; letter-spacing: -.03em; }
.login__err { min-height: 20px; color: var(--red); font-size: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input { height: 54px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--card); font-size: 17px; outline: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s; }
.field input:focus { box-shadow: inset 0 0 0 2px var(--blue); }

/* 위 */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.8) blur(16px); backdrop-filter: saturate(1.8) blur(16px); }
.top__in { max-width: 1120px; margin: 0 auto; padding: max(14px, env(safe-area-inset-top)) 20px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top__title { font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.top__site { color: var(--blue); }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--soft2); gap: 2px; }
.seg button { height: 36px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 600; font-size: 15px; transition: background .15s, color .15s; }
.seg button.is-on { background: var(--card); color: var(--fg); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.seg--sm button { height: 30px; padding: 0 12px; font-size: 13px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 4px 20px 40px; }
.tab { display: none; }
.tab.is-on { display: grid; gap: 12px; animation: tabin .25s ease; }
@keyframes tabin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 카드 */
.card { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }

/* 요약 */
.hero { display: flex; align-items: center; gap: 16px; }
.hero__ico { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--soft); display: grid; place-items: center; }
.hero__ico svg { width: 28px; height: 28px; }
.hero.is-ok .hero__ico { background: var(--green-soft); color: var(--green); }
.hero.is-warn .hero__ico { background: var(--red-soft); color: var(--red); }
.hero__t { font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.hero__s { margin-top: 2px; color: var(--muted); font-size: 14px; }

/* 실시간 격자 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.tile { position: relative; overflow: hidden; border: 0; padding: 0; border-radius: var(--r); background: #0b0c0f; aspect-ratio: 16 / 9; text-align: left; box-shadow: var(--shadow); transition: transform .15s; }
.tile:active { transform: scale(.985); }
.tile video-stream, .tile video, .tile img.tile__poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile video { object-fit: cover; }
.tile img.tile__poster { object-fit: cover; }
.tile__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, transparent 32%, transparent 70%, rgba(0, 0, 0, .35) 100%); pointer-events: none; }
.tile__name { position: absolute; left: 14px; top: 12px; color: #fff; font-weight: 700; font-size: 16px; letter-spacing: -.02em; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tile .badge { position: absolute; right: 12px; top: 12px; background: rgba(0, 0, 0, .45); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tile .badge i { background: #ff4d5e; animation: blink 1.6s infinite; }
.tile.is-off .badge i { background: #8b95a1; animation: none; }
.tile__off { position: absolute; inset: 0; display: grid; place-items: center; color: #c4c9d0; font-size: 14px; font-weight: 600; background: rgba(11, 12, 15, .7); }
.tile__time { position: absolute; left: 14px; bottom: 10px; color: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes blink { 50% { opacity: .35; } }

/* 목록 줄 */
.list { list-style: none; margin: 4px -10px 0; padding: 0; }
.list li + li { margin-top: 2px; }
.row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 10px; border: 0; border-radius: 14px; background: transparent; text-align: left; }
button.row:hover { background: var(--soft); }
.row__ico { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--fg2); font-size: 18px; }
.row__ico svg { width: 22px; height: 22px; }
.row__ico--blue { background: var(--blue-soft); color: var(--blue); }
.row__ico--green { background: var(--green-soft); color: var(--green); }
.row__ico--red { background: var(--red-soft); color: var(--red); }
.row__ico--orange { background: var(--orange-soft); color: var(--orange); }
.row__ico--gray { background: var(--soft); color: var(--muted); }
.row__main { flex: 1; min-width: 0; display: grid; }
.row__main b { font-size: 16px; font-weight: 600; color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__main small { font-size: 13px; color: var(--muted); }
.row__end { flex: none; text-align: right; font-size: 14px; font-weight: 600; color: var(--fg2); }
.row__go { flex: none; width: 18px; height: 18px; color: #b0b8c1; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--green { background: var(--green-soft); color: var(--green); }
.pill--red { background: var(--red-soft); color: var(--red); }
.pill--gray { background: var(--soft); color: var(--muted); }
.pill--blue { background: var(--blue-soft); color: var(--blue); }
.list--log .row { padding: 9px 10px; }
.list--log .row__ico { width: 34px; height: 34px; border-radius: 11px; }
.list--log .row__ico svg { width: 18px; height: 18px; }
.list--log .row__main b { font-size: 15px; }
.empty { padding: 18px 10px 6px; color: var(--muted); font-size: 14px; }

/* 숫자 칸 */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 8px; }
.stat { padding: 14px 16px; border-radius: 16px; background: var(--soft); }
.stat small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.stat b { display: block; margin-top: 2px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }

/* 다시보기 */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 -2px; }
.chips::-webkit-scrollbar, .days::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--card); color: var(--fg2); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.chip.is-on { background: var(--fg); color: var(--bg); box-shadow: none; }
.days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; margin: 0 -2px; scroll-snap-type: x proximity; }
.day { flex: none; width: 58px; padding: 9px 0 8px; border: 0; border-radius: 16px; background: var(--card); text-align: center; scroll-snap-align: end; box-shadow: var(--shadow); }
.day small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.day b { display: block; font-size: 18px; font-weight: 700; margin-top: 1px; }
.day.is-sun small, .day.is-sun b { color: var(--red); }
.day.is-on { background: var(--blue); }
.day.is-on small, .day.is-on b { color: #fff; }
.player { padding: 0; overflow: hidden; }
.player__stage { position: relative; background: #000; aspect-ratio: 16 / 9; max-height: 64vh; width: 100%; }
.player__stage video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.player__empty { position: absolute; inset: 0; display: grid; place-items: center; color: #8b95a1; font-weight: 600; pointer-events: none; }
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.player__when { font-size: 19px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.player__sub { color: var(--muted); font-size: 13px; }
.player__btns { display: flex; gap: 6px; }
.tl__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.tl__legend { display: flex; align-items: center; gap: 4px 10px; color: var(--muted); font-size: 12px; font-weight: 600; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: -6px; }
.lg--rec { background: var(--tl-rec); } .lg--mot { background: var(--tl-mot); } .lg--snd { background: var(--tl-snd); }
.tl__zoom { margin: 12px 0 10px; }
.tl__wrap { position: relative; touch-action: pan-y; }
#tl { display: block; width: 100%; height: 96px; cursor: pointer; }
.tl__tip { position: absolute; top: -6px; transform: translate(-50%, -100%); padding: 4px 9px; border-radius: 8px; background: var(--fg); color: var(--bg); font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
.tl__msg { margin-top: 8px; color: var(--muted); font-size: 13px; min-height: 18px; }

/* 크게 보기 */
.viewer { position: fixed; inset: 0; z-index: 50; background: #000; display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.viewer__top, .viewer__bot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.viewer__top { padding-top: max(12px, env(safe-area-inset-top)); }
.viewer__bot { padding-bottom: max(14px, env(safe-area-inset-bottom)); justify-content: center; }
.viewer__name { flex: 1; display: grid; justify-items: center; }
.viewer__name b { font-size: 17px; }
.viewer__name span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #c4c9d0; font-weight: 600; }
.viewer__name span i { width: 6px; height: 6px; border-radius: 50%; background: #ff4d5e; animation: blink 1.6s infinite; }
.viewer__stage { position: relative; min-height: 0; display: grid; place-items: center; }
.viewer__stage video-stream, .viewer__stage video { width: 100%; height: 100%; }
.viewer__stage video { object-fit: contain; }
.vbtn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; }
.vbtn svg { width: 22px; height: 22px; }
.vbtn:hover { background: rgba(255, 255, 255, .2); }
.vpill { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; }
.vpill svg { width: 19px; height: 19px; }
.vpill:hover { background: rgba(255, 255, 255, .2); }
#v-snd .snd-on { display: none; }
#v-snd.is-on { background: var(--blue); }
#v-snd.is-on .snd-on { display: inline; }
#v-snd.is-on .snd-off { display: none; }

/* 아래 창 */
.sheet { position: fixed; inset: 0; z-index: 60; display: grid; align-items: end; justify-items: center; }
.sheet__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); animation: fade .2s; }
.sheet__box { position: relative; width: 100%; max-width: 480px; max-height: 88vh; overflow: auto; padding: 26px 22px max(20px, env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; background: var(--card); display: grid; gap: 12px; animation: up .28s cubic-bezier(.2, .9, .3, 1); }
@media (min-width: 640px) { .sheet { align-items: center; } .sheet__box { border-radius: 28px; } }
.sheet__t { font-size: 21px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 4px; }
.sheet__err { min-height: 18px; color: var(--red); font-size: 14px; }
.sheet__btns { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; }
#sheet-body { display: grid; gap: 12px; }
#sheet-body .field input { background: var(--soft); box-shadow: none; }
#sheet-body .field input:focus { box-shadow: inset 0 0 0 2px var(--blue); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 70; transform: translate(-50%, 20px); padding: 13px 20px; border-radius: 16px; background: rgba(25, 31, 40, .92); color: #fff; font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s; white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 아래 탭 (휴대폰) */
.tabbar { display: none; }
@media (max-width: 720px) {
  .top .seg { display: none; }
  .top__in { padding-bottom: 8px; }
  .wrap { padding: 2px 14px calc(96px + env(safe-area-inset-bottom)); }
  .card { padding: 20px 18px; }
  .grid { grid-template-columns: 1fr; gap: 10px; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px 10px max(8px, env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--card) 92%, transparent); -webkit-backdrop-filter: saturate(1.8) blur(16px); backdrop-filter: saturate(1.8) blur(16px); border-top: 1px solid var(--line); }
  .tabbar button { display: grid; justify-items: center; gap: 2px; padding: 6px 0; border: 0; background: none; color: #b0b8c1; font-size: 11px; font-weight: 600; }
  .tabbar svg { width: 24px; height: 24px; }
  .tabbar button.is-on { color: var(--fg); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:first-child { grid-column: 1 / -1; }
  .player { margin: 0 -14px; border-radius: 0; }
  .viewer__bot .vpill { padding: 0 13px; }
}
@media (min-width: 721px) and (max-width: 1000px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.card.player { padding: 0; }
/* 플레이어(cam-view)는 상자 크기에 맞춤 — 크게 보기에서 아래가 잘리던 것 */
cam-view { display: block; }
.tile cam-view { position: absolute; inset: 0; width: 100%; height: 100%; }
.viewer__stage { overflow: hidden; }
.viewer__stage cam-view { position: absolute; inset: 0; width: 100%; height: 100%; }
.viewer__stage cam-view video { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.steps { display: grid; gap: 10px; }
.steps p { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--soft); font-size: 15px; line-height: 1.45; }
.steps p span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
.steps b { font-weight: 700; }

/* ── 관리: 자세히 ── */
:root { --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s5: #e87ba4; --grid: #eef0f3; --axis: #8b95a1; }
@media (prefers-color-scheme: dark) { :root { --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --grid: #2a2a31; --axis: #8e8f99; } }
.mg { display: grid; gap: 12px; min-width: 0; }
#mg-tabs { margin-bottom: 0; }
.mg-range { justify-self: start; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.tile2 { padding: 14px 16px; border-radius: 16px; background: var(--soft); min-width: 0; }
.tile2 small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile2 b { display: block; margin-top: 2px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile2 b small { display: inline; font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.tile2 .bar { height: 6px; margin-top: 8px; border-radius: 3px; background: var(--soft2); overflow: hidden; }
.tile2 .bar i { display: block; height: 100%; border-radius: 3px; background: var(--blue); }
.tile2 .bar i.warn { background: var(--orange); } .tile2 .bar i.bad { background: var(--red); }
.tile2 em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .tiles { grid-template-columns: 1fr 1fr; } }

.ch { margin-top: 10px; min-width: 0; }
.ch-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 8px; font-size: 13px; color: var(--fg2); font-weight: 600; }
.ch-legend i, .ch-tip i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.ch-wrap { position: relative; width: 100%; }
.ch-svg { stroke: none; display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.ch-grid { stroke: var(--grid); stroke-width: 1; }
.ch-ax { fill: var(--axis); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ch-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ch-area { opacity: .12; }
.ch-cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.ch-dot { stroke: var(--card); stroke-width: 2; }
.ch-hit.is-on { fill: var(--fg); fill-opacity: .05; }
.ch-tip { position: absolute; top: -8px; transform: translateY(-100%); z-index: 3; min-width: 120px; padding: 9px 12px; border-radius: 12px; background: var(--fg); color: var(--bg);
  font-size: 12px; line-height: 1.55; pointer-events: none; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); white-space: nowrap; }
.ch-tip b { display: block; margin-bottom: 2px; font-size: 12px; }
.ch-tip span { display: block; }
.ch-tip em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.ch-empty { padding: 26px 0; text-align: center; color: var(--muted); font-size: 14px; }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 10px 0 0; }
.kv dt, .kv dd { margin: 0; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.kv dt { color: var(--muted); font-weight: 600; padding-right: 20px; white-space: nowrap; }
.kv dd { color: var(--fg); font-weight: 600; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.kv dt:first-of-type, .kv dd:first-of-type { border-top: 0; }
.kv dd small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.kv .warn { color: var(--red); }

.camd { display: grid; gap: 14px; }
.camd__head { display: flex; align-items: center; gap: 12px; }
.camd__dot { flex: none; width: 12px; height: 12px; border-radius: 4px; }
.camd__head b { flex: 1; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.camd__sec { font-size: 14px; font-weight: 700; color: var(--fg2); display: flex; justify-content: space-between; gap: 8px; }
.camd__sec span { color: var(--muted); font-weight: 600; font-size: 13px; }
.ch-strip { position: relative; height: 18px; border-radius: 6px; background: var(--soft2); overflow: hidden; margin-top: 8px; }
.ch-strip i { position: absolute; top: 0; bottom: 0; }
.ch-strip i.up { background: var(--green); opacity: .8; }
.ch-strip i.down { background: var(--red); }
.strip-ax { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: var(--axis); font-weight: 600; }
