/* =====================================================================
   FDP DEMO（カメラ映像の解析デモ）埋め込み版 — 自動生成（scripts/build-embed.mjs）
   .fdpd の中だけに効きます。ホームページの他の部分の見た目は変わりません。
   色を合わせたいときは、下の --fdpd-accent（青）と --fdpd-ink（文字）を変えてください。
   ===================================================================== */
.fdpd {
  --fdpd-accent: #1450EC;      /* ホームページの青に合わせて変える */
  --fdpd-accent-ink: #0B4FB3;  /* 白地の上の青い文字 */
  --fdpd-ink: #0D1A36;         /* 見出し・本文 */
  --fdpd-ink-2: #44546A;       /* 説明文 */
  --fdpd-line: #DCE4EE;        /* 罫線 */
  --fdpd-card: #FFFFFF;
  --fdpd-bg: transparent;      /* 背景（ホームページに合わせる） */

  /* 映像まわり（暗い画面）の色 */
  --night: #0C1823; --night-2: #122230; --night-3: #1A2E3E; --night-line: rgba(180, 195, 206, .16);
  --fog: #B4C3CE; --fog-2: #8A9DAC; --teal: #35C6BA; --teal-deep: #075F58; --teal-ink: #0A7A71;
  --amber: #A86A10; --amber-soft: #FBF1DF; --amber-bright: #E7A94A; --shu: #CF3B2B;
  --ink: #101D2A; --ink-2: #3D4B58; --ink-3: #5F6D79; --line: #DDE3E5; --line-2: #C6CFD4; --mist: #EDF0EE; --paper: #F6F7F5; --sheet: #fff;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-xs: .8125rem; --fs-sm: .875rem; --fs-body: 1rem; --fs-lead: 1.0625rem;
  --ease: cubic-bezier(.16, 1, .3, 1); --dur-s: .18s; --dur: .32s;
  --shadow-float: 0 2px 6px rgba(15, 31, 51, .06), 0 18px 40px -20px rgba(15, 31, 51, .3);

  position: relative;
  padding-block: clamp(64px, 8vw, 120px);
  background: var(--fdpd-bg);
  color: var(--fdpd-ink);
  line-height: 1.8;
}
.fdpd *, .fdpd *::before, .fdpd *::after { box-sizing: border-box; }
.fdpd ul, .fdpd ol { margin: 0; padding: 0; list-style: none; }
.fdpd p, .fdpd h2, .fdpd h3 { margin: 0; }
.fdpd button { font: inherit; color: inherit; cursor: pointer; }
.fdpd svg, .fdpd video, .fdpd canvas { display: block; max-width: 100%; }
.fdpd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.sc-lock, html.sc-lock body { overflow: hidden; }

/* ---------- 見出し ---------- */
.fdpd__in { width: min(1200px, 100% - 40px); margin-inline: auto; }
.fdpd__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.fdpd__label { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .24em; color: var(--fdpd-accent-ink); }
.fdpd__label::before { content: ""; width: 22px; height: 2px; background: var(--fdpd-accent); }
.fdpd__title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); font-weight: 700; line-height: 1.38; letter-spacing: .02em; word-break: keep-all; overflow-wrap: anywhere; color: var(--fdpd-ink); }
.fdpd__lead { color: var(--fdpd-ink-2); line-height: 2; word-break: auto-phrase; }
@media (max-width: 820px) { .fdpd__head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 4つの映像 ---------- */
.fdpd__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.fdpd__grid > li:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 1000px) { .fdpd__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fdpd__grid > li:first-child { grid-column: auto; grid-row: auto; } }
/* スマホ：1つ目は大きく、残りは横にすべらせて見る */
@media (max-width: 560px) {
  .fdpd__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 0 20px 6px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .fdpd__grid::-webkit-scrollbar { display: none; }
  .fdpd__grid > li { scroll-snap-align: start; }
  .fdpd__grid > li:first-child { grid-column: auto; grid-auto-columns: 78%; }
}
.fdpd__uses { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fdpd__uses span { padding: 3px 10px; border: 1px solid var(--fdpd-line); border-radius: 999px; font-size: 12px; line-height: 1.6; color: var(--fdpd-ink-2); background: color-mix(in srgb, var(--fdpd-accent) 5%, #fff); }
.fdpd .sc-tile { min-width: 0; }
.fdpd .sc-tile__btn { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 8px 8px 0; border: 1px solid var(--fdpd-line); border-radius: 16px; background: var(--fdpd-card); text-align: left; overflow: hidden; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur-s); }
.fdpd .sc-tile__btn:hover { border-color: color-mix(in srgb, var(--fdpd-accent) 40%, var(--fdpd-line)); box-shadow: var(--shadow-float); transform: translateY(-3px); }
.fdpd .sc-tile__btn:focus-visible { outline: 2px solid var(--fdpd-accent); outline-offset: 3px; }
.fdpd .sc-tile__body { display: grid; gap: 5px; padding: 14px 10px 16px; align-content: start; }
.fdpd .sc-tile__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .06em; color: var(--fdpd-ink-2); }
.fdpd .sc-tile__no { font-family: var(--mono); color: var(--fdpd-ink); }
.fdpd .sc-tile__method { font-weight: 700; color: var(--fdpd-accent-ink); }
.fdpd .sc-tile__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.45; color: var(--fdpd-ink); }
.fdpd .sc-tile__lead { font-size: .8125rem; line-height: 1.8; color: var(--fdpd-ink-2); word-break: auto-phrase; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fdpd__grid > li:first-child .sc-tile__title { font-size: clamp(1.25rem, 1rem + .8vw, 1.5rem); }
.fdpd__grid > li:first-child .sc-tile__lead { font-size: .9375rem; -webkit-line-clamp: unset; }

/* ---------- 下の行（すべて見る・注意書き） ---------- */
.fdpd__foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 28px; align-items: center; margin-top: clamp(22px, 3vw, 36px); }
.fdpd__all { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--fdpd-accent); color: #fff !important; font-weight: 700; letter-spacing: .04em; transition: filter var(--dur-s), transform var(--dur) var(--ease); }
.fdpd__all:hover { filter: brightness(1.08); transform: translateY(-1px); }
.fdpd__all svg { transition: translate var(--dur) var(--ease); }
.fdpd__all:hover svg { translate: 4px 0; }
.fdpd__notice { font-size: 12px; line-height: 1.85; color: var(--fdpd-ink-2); }
.fdpd__notice a { color: inherit; }
.fdpd__notice b { color: var(--fdpd-ink); }
.fdpd__notice .fdpd__credit { margin-top: 4px; font-size: 11px; opacity: .85; }
.fdpd__badge { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 4px; background: #FDF0D8; color: #8A5A0B; font-weight: 700; letter-spacing: .06em; }
@media (max-width: 760px) { .fdpd__foot { grid-template-columns: minmax(0, 1fr); } .fdpd__all { justify-self: start; } }

/* ---------- 映像と大きな画面（デモ一覧と共通） ---------- */
.fdpd .sc-label { display: flex; align-items: center; gap: 9px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; }
.fdpd .sc-label::before { content: ""; width: 7px; height: 7px; background: currentColor; flex: none; }
.fdpd .sc-label__sub { margin-left: 6px; font-weight: 500; letter-spacing: .04em; color: var(--fog-2); }
/* ---------- カメラの画面 ---------- */
.fdpd .sc-player {
  position: relative;
  display: block;
  aspect-ratio: var(--ar, 16 / 9);
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #0B1620;
  isolation: isolate;
}
.fdpd .sc-player__video, .fdpd .sc-player__layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.fdpd .sc-player__video { object-fit: contain; }
.fdpd .sc-player__layer { z-index: 1; pointer-events: none; }
.fdpd .sc-hud {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(rgba(6, 14, 20, .62), rgba(6, 14, 20, 0));
  color: #E9F0F4;
  font-size: 11.5px;
  line-height: 1.4;
  pointer-events: none;
}
.fdpd .sc-hud__cam { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fdpd .sc-hud__cam b { padding: 1px 6px; border: 1px solid rgba(233, 240, 244, .4); border-radius: 3px; font-weight: 500; font-size: 10.5px; }
.fdpd .sc-hud__rec { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.fdpd .sc-hud__rec i { width: 7px; height: 7px; border-radius: 50%; background: #FF5F52; animation: sc-led 1.6s steps(1) infinite; }
@keyframes sc-led { 50% { opacity: .25; } }
.fdpd .sc-chip {
  position: absolute;
  z-index: 2;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 14, 20, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-feature-settings: "palt" 1;
  pointer-events: none;
}
.fdpd .sc-chip:empty { display: none; }
.fdpd .sc-chip[data-tone="ok"] { background: rgba(10, 122, 113, .92); }
.fdpd .sc-chip[data-tone="alert"] { background: rgba(207, 59, 43, .94); }
.fdpd .sc-chip[data-tone="warn"] { background: rgba(168, 106, 16, .94); }
.fdpd .sc-player.is-error::after { content: "映像を読み込めませんでした"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--fog); font-size: 13px; }

/* =====================================================================
   大きな画面
   ===================================================================== */
.fdpd .sc-viewer {
  width: min(1480px, 100vw - 32px);
  max-width: none;
  height: min(920px, 100dvh - 32px);
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--night);
  color: #EEF3F6;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.fdpd .sc-viewer::backdrop { background: rgba(6, 12, 18, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.fdpd .sc-viewer[open] { display: block; animation: sc-in .38s var(--ease); }
@keyframes sc-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.fdpd .sc-viewer__in { display: grid; grid-template-rows: auto auto minmax(0, 1fr); height: 100%; }
.fdpd .sc-viewer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px 12px 22px; border-bottom: 1px solid var(--night-line); }
.fdpd .sc-viewer__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12px; color: var(--fog-2); letter-spacing: .06em; }
.fdpd .sc-viewer__kicker > span:first-child { font-family: var(--mono); color: #fff; }
.fdpd .sc-viewer__kicker > span:nth-child(2) { font-weight: 600; color: var(--teal); }
.fdpd .sc-viewer__img { padding: 1px 8px; border-radius: 4px; background: rgba(231, 169, 74, .16); color: var(--amber-bright); font-weight: 600; }
.fdpd .sc-viewer__title { margin-top: 4px; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); color: #fff; line-height: 1.4; }
.fdpd .sc-viewer__nav { display: flex; gap: 6px; flex: none; }
.fdpd .sc-iconbtn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--night-line);
  border-radius: 10px;
  background: var(--night-2);
  color: #fff;
  transition: background-color var(--dur-s);
}
.fdpd .sc-iconbtn:hover { background: var(--night-3); }
.fdpd .sc-iconbtn[data-v-prev] svg { transform: scaleX(-1); }
.fdpd .sc-iconbtn--close { margin-left: 6px; }
.fdpd .sc-viewer__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); min-height: 0; }
.fdpd .sc-viewer__stage { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 16px 22px; min-width: 0; min-height: 0; overflow: auto; }
.fdpd .sc-player--full { flex: none; border-radius: 10px; aspect-ratio: 16 / 9; margin-inline: auto; width: min(100%, calc((100dvh - 600px) * 16 / 9)); min-width: min(100%, 480px); }
.fdpd .sc-speed { position: absolute; z-index: 2; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 4px; background: rgba(6, 14, 20, .8); font-size: 12px; font-weight: 600; color: var(--amber-bright); }
.fdpd .sc-busy { position: absolute; z-index: 3; inset: auto 0 44%; text-align: center; font-size: 13px; color: var(--fog); }
.fdpd .sc-bar { display: flex; align-items: center; gap: 12px; }
.fdpd .sc-play { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: var(--teal); color: var(--ink); }
.fdpd .sc-play svg:nth-child(2) { display: none; }
.fdpd .sc-play.is-paused svg:nth-child(1) { display: none; }
.fdpd .sc-play.is-paused svg:nth-child(2) { display: block; }
.fdpd .sc-play:disabled { opacity: .4; }
.fdpd .sc-seek {
  flex: 1;
  min-width: 0;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(to right, var(--teal) var(--p, 0%), rgba(180, 195, 206, .22) var(--p, 0%));
  cursor: pointer;
}
.fdpd .sc-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(53, 198, 186, .4); }
.fdpd .sc-seek::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(53, 198, 186, .4); }
.fdpd .sc-seek:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; }
.fdpd .sc-time { flex: none; min-width: 9.5em; text-align: right; font-family: var(--mono); font-size: 12px; color: var(--fog); }
.fdpd .sc-chart { padding: 14px 16px 12px; border: 1px solid var(--night-line); border-radius: 10px; background: var(--night-2); }
.fdpd .sc-chart .sc-label, .fdpd .sc-log .sc-label, .fdpd .sc-uses .sc-label { color: var(--teal); }
.fdpd .sc-chart__canvas { width: 100%; height: clamp(160px, 21dvh, 220px); margin-top: 10px; }
.fdpd .sc-chart__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 8px; font-size: 13px; color: #D5DEE5; }
.fdpd .sc-chart__legend .lg { display: inline-block; width: 14px; height: 8px; margin: 0 2px 0 10px; border-radius: 2px; }
.fdpd .sc-chart__legend .lg:first-child { margin-left: 0; }
.fdpd .lg--teal { background: #35C6BA; }
.fdpd .lg--fog { background: rgba(180, 195, 206, .5); }
.fdpd .lg--amber { background: #FFB547; }
.fdpd .lg--alert { background: #FF5F52; }
.fdpd .lg--pink { background: #F27BD3; }
.fdpd .lg--violet { background: #B9A2FF; }
.fdpd .sc-viewer__side { display: flex; flex-direction: column; gap: 18px; padding: 16px 22px 22px 18px; border-left: 1px solid var(--night-line); overflow: auto; min-height: 0; }
.fdpd .sc-viewer__lead { font-size: var(--fs-sm); line-height: 1.9; color: #DCE6EC; word-break: auto-phrase; }
.fdpd .sc-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fdpd .sc-metric { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--night-2); border: 1px solid var(--night-line); min-width: 0; }
.fdpd .sc-metric__k { font-size: 11.5px; color: var(--fog-2); letter-spacing: .04em; line-height: 1.4; }
.fdpd .sc-metric__v { font-size: 1.0625rem; font-weight: 600; color: #fff; line-height: 1.35; font-feature-settings: "palt" 1; overflow-wrap: anywhere; }
.fdpd .sc-metric__v small { margin-left: 3px; font-size: 11.5px; font-weight: 500; color: var(--fog); }
.fdpd .sc-metric--big .sc-metric__v { font-size: 1.75rem; font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }
.fdpd .sc-metric--big .sc-metric__v:not(:has(small)) { font-family: var(--sans); font-weight: 600; font-size: 1.375rem; }
.fdpd .sc-metric[data-tone="ok"] { border-color: rgba(53, 198, 186, .55); background: rgba(53, 198, 186, .1); }
.fdpd .sc-metric[data-tone="ok"] .sc-metric__v { color: var(--teal); }
.fdpd .sc-metric[data-tone="alert"] { border-color: rgba(255, 95, 82, .6); background: rgba(255, 95, 82, .1); }
.fdpd .sc-metric[data-tone="alert"] .sc-metric__v { color: #FF8E84; }
.fdpd .sc-metric[data-tone="warn"] { border-color: rgba(231, 169, 74, .6); background: rgba(231, 169, 74, .1); }
.fdpd .sc-metric[data-tone="warn"] .sc-metric__v { color: var(--amber-bright); }
.fdpd .sc-log__list { display: grid; margin-top: 8px; border-radius: 10px; background: #F7F9F8; color: var(--ink); overflow: hidden; min-height: calc(4 * 36px); }
.fdpd .sc-log__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.55; }
.fdpd .sc-log__row:last-child { border-bottom: 0; }
.fdpd .sc-log__row time { font-family: var(--mono); color: var(--ink-3); }
.fdpd .sc-log__row::before { content: none; }
.fdpd .sc-log__row[data-tone="alert"] span { color: var(--shu); font-weight: 600; }
.fdpd .sc-log__row[data-tone="ok"] span { color: var(--teal-deep); font-weight: 600; }
.fdpd .sc-log__row.is-new { animation: sc-new .9s var(--ease); }
@keyframes sc-new { from { background: #E3F4F2; } }
.fdpd .sc-log__empty { padding: 14px 12px; font-size: 12.5px; color: var(--ink-3); }
.fdpd .sc-uses ul { display: grid; gap: 6px; margin-top: 8px; }
.fdpd .sc-uses li { position: relative; padding-left: 16px; font-size: var(--fs-sm); line-height: 1.75; color: #DCE6EC; }
.fdpd .sc-uses li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; background: var(--teal); }
.fdpd .sc-viewer__note { padding: 10px 12px; border-radius: 8px; background: rgba(231, 169, 74, .1); color: #F2DDB8; font-size: 12.5px; line-height: 1.8; }
.fdpd .sc-viewer__note:empty { display: none; }
.fdpd .sc-viewer__tech { font-size: 12px; color: var(--fog-2); line-height: 1.7; }
@media (max-width: 1000px) {
.fdpd .sc-viewer { width: 100vw; height: 100dvh; border-radius: 0; }
.fdpd .sc-viewer__body { grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content; align-content: start; overflow: auto; }
.fdpd .sc-viewer__stage { overflow: visible; min-height: auto; padding: 12px 14px; }
.fdpd .sc-viewer__side { overflow: visible; min-height: auto; border-left: 0; border-top: 1px solid var(--night-line); padding: 16px 14px 28px; }
.fdpd .sc-player--full { width: 100%; min-width: 0; border-radius: 8px; }
.fdpd .sc-viewer__head { padding: 10px 10px 10px 14px; }
.fdpd .sc-iconbtn { width: 36px; height: 36px; }
.fdpd .sc-time { min-width: 0; }
}


/* カメラの切り替え（一覧） */
.fdpd .sc-cams { display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 22px; border-bottom: 1px solid var(--night-line); background: var(--night-2); min-width: 0; }
.fdpd .sc-cams__label { flex: none; margin: 0; display: grid; gap: 2px; font-size: 12px; font-weight: 600; color: var(--fog); letter-spacing: .06em; }
.fdpd .sc-cams__label span { font-family: var(--mono); font-size: 15px; color: #fff; letter-spacing: 0; }
.fdpd .sc-cams__list { list-style: none; margin: 0; padding: 2px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; min-width: 0; flex: 1; scroll-snap-type: x proximity; }
.fdpd .sc-cams__list li { flex: none; scroll-snap-align: center; }
.fdpd .sc-cam { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 6px 12px 6px 6px; border: 1.5px solid var(--night-line); border-radius: 10px; background: var(--night); color: var(--fog); cursor: pointer; text-align: left; font: inherit; transition: border-color .2s, background .2s, color .2s; }
.fdpd .sc-cam:hover { border-color: rgba(53, 198, 186, .55); color: #fff; }
.fdpd .sc-cam:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.fdpd .sc-cam__thumb { flex: none; width: 64px; height: 36px; border-radius: 5px; background: #000 center / cover no-repeat; opacity: .7; transition: opacity .2s; }
.fdpd .sc-cam__txt { display: grid; gap: 1px; }
.fdpd .sc-cam__no { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
.fdpd .sc-cam__title { font-size: 13px; font-weight: 600; white-space: nowrap; }
.fdpd .sc-cam.is-active { border-color: var(--teal); background: rgba(53, 198, 186, .14); color: #fff; }
.fdpd .sc-cam.is-active .sc-cam__thumb { opacity: 1; }
.fdpd .sc-cam.is-active .sc-cam__no { color: var(--teal); }
@media (max-width: 1000px) {
.fdpd .sc-cams { padding: 8px 10px 8px 14px; gap: 10px; }
.fdpd .sc-cams__label { font-size: 11px; }
.fdpd .sc-cam__thumb { width: 48px; height: 27px; }
.fdpd .sc-cam { min-height: 44px; }
.fdpd .sc-chart__canvas { height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
.fdpd .sc-viewer[open], .fdpd .sc-log__row.is-new, .fdpd .sc-hud__rec i { animation: none; }
.fdpd .sc-tile__btn, .fdpd .sc-tile__btn:hover { transform: none; }
}


