/* STONEKARL · Silver Archive interface */

:root {
  --stage: #9ba1a9;
  --paper: #f0f1ed;
  --paper-deep: #e2e4df;
  --paper-ink: #1b1f22;
  --paper-soft: #596166;
  --paper-faint: #7e8588;
  --graphite: #191d20;
  --graphite-2: #22272a;
  --graphite-3: #2c3235;
  --graphite-ink: #eef0eb;
  --graphite-soft: #a8b0b1;
  --graphite-faint: #737c7e;
  --line-paper: rgba(27, 31, 34, 0.16);
  --line-dark: rgba(238, 240, 235, 0.11);
  --accent: #c56732;
  --accent-soft: rgba(197, 103, 50, 0.14);
  --steel: #4d7385;
  --ok: #8da08a;
  --danger: #c35348;
  --sans: "Bahnschrift", "Aptos Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --rail-w: 392px;
  --dock-w: 376px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  overflow: hidden;
  color: var(--graphite-ink);
  background: var(--stage);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
button, input { font: inherit; }
button {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
ol, ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
::selection { color: #fff; background: var(--accent); }

#gl {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  z-index: 1;
}

.ui {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}
.ui-hit { pointer-events: auto; }

.crt {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.01) 0 1px, transparent 1px 4px),
    radial-gradient(130% 100% at 50% 48%, transparent 64%, rgba(18,21,23,0.26) 100%);
  opacity: 0.2;
}

.annos,
.hero-annos {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.annos { z-index: 14; }
.hero-annos { z-index: 40; transition: opacity 0.24s ease; }

.ico-svg {
  display: block;
  flex: 0 0 auto;
}

/* ── Left archive rail ───────────────────────────────────────────────── */

.archive-rail {
  position: fixed;
  top: 24px;
  left: 24px;
  bottom: 24px;
  z-index: 24;
  display: flex;
  width: min(var(--rail-w), calc(100vw - 48px));
  flex-direction: column;
  padding: 18px;
  overflow: auto;
  color: var(--paper-ink);
  background: rgba(240, 241, 237, 0.91);
  border: 1px solid rgba(27, 31, 34, 0.2);
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(18, 21, 23, 0.18);
  backdrop-filter: blur(20px) saturate(115%);
  -webkit-backdrop-filter: blur(20px) saturate(115%);
}

.personal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-paper);
}
.rail-head {
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
}
.rail-identity {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 10px;
}
.rail-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}
.rail-icon-btn {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--paper-ink);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid var(--line-paper);
  border-radius: 3px;
}
.personal-kicker {
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
}
.personal-title {
  margin-top: 5px;
  color: var(--paper-ink);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.personal-subtitle {
  margin-top: 5px;
  color: var(--paper-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.personal-toggle {
  display: none;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  color: var(--paper-ink);
  border: 1px solid var(--line-paper);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.34);
}
.personal-surface {
  display: flex;
  min-height: 0;
  flex: 1;
  padding-top: 10px;
  overflow: hidden;
}
.personal-panel {
  display: flex;
  width: 100%;
  min-height: min-content;
  flex-direction: column;
  gap: 8px;
}
.personal-content {
  display: flex;
  width: 100%;
  min-height: 132px;
  flex: 1 1 132px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.18);
  background-image:
    linear-gradient(rgba(27, 31, 34, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 31, 34, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 1px dashed rgba(27, 31, 34, 0.24);
  border-radius: 3px;
}
.view-personal {
  gap: 8px;
  padding: 0;
  overflow-y: auto;
}
.view-personal .personal-view-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-paper);
}
.view-personal .personal-title {
  margin-top: 0;
  font-size: 25px;
}
.view-personal .personal-subtitle {
  margin-top: 1px;
  color: var(--paper-faint);
}
.view-personal .personal-content {
  min-height: 154px;
  flex: 0 0 174px;
}
.personal-content[data-empty="true"] .personal-body { display: none; }
.personal-content:not([data-empty="true"]) {
  align-items: flex-start;
  justify-content: flex-start;
  background-image: none;
  border-style: solid;
  border-color: var(--line-paper);
}
.personal-empty {
  max-width: 16em;
  color: var(--paper-faint);
  font-size: 10px;
  line-height: 1.65;
  text-align: center;
}
.personal-content:not([data-empty="true"]) .personal-empty { display: none; }
.personal-body {
  width: 100%;
  color: var(--paper-ink);
  font-size: 11.5px;
  line-height: 1.78;
  white-space: pre-wrap;
  user-select: text;
}

.archive-identity {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-paper);
}

.identity-avatar {
  width: 54px;
  height: 54px;
  overflow: hidden;
  background: #fbf8f1;
  border: 1px solid rgba(27, 31, 34, 0.55);
  border-radius: 3px;
}
.identity-avatar svg,
.identity-avatar img {
  display: block;
  width: 100%;
  height: 100%;
}

.identity-copy { min-width: 0; }
.identity-kicker {
  margin-bottom: 3px;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}
.identity-name {
  overflow: hidden;
  color: var(--paper-ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.identity-role {
  margin-top: 4px;
  color: var(--paper-soft);
  font-size: 9px;
  line-height: 1.42;
}
.identity-badge {
  align-self: start;
  padding: 3px 5px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid rgba(197, 103, 50, 0.35);
  border-radius: 2px;
}

.notice-toggle {
  display: none;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--paper-ink);
  border: 1px solid var(--line-paper);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.34);
}

.dispatch {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding-top: 17px;
}

.dispatch-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-paper);
}
.dispatch-heading { display: flex; align-items: baseline; gap: 9px; }
.dispatch-title {
  color: var(--paper-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.dispatch-code {
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
}
.dispatch-count {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.dispatch-feature {
  padding: 16px 0 17px;
  border-bottom: 1px solid var(--line-paper);
}
.dispatch-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}
#notice-type { color: var(--accent); font-weight: 700; }
.dispatch-title-main {
  max-width: 18em;
  color: var(--paper-ink);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: 0.015em;
  line-height: 1.38;
}
.dispatch-summary {
  margin-top: 9px;
  color: var(--paper-soft);
  font-size: 11.5px;
  line-height: 1.68;
  user-select: text;
}

.dispatch-list {
  display: flex;
  flex-direction: column;
}
.notice-item {
  display: grid;
  width: 100%;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
  padding: 10px 0;
  color: var(--paper-soft);
  text-align: left;
  border-bottom: 1px solid rgba(27, 31, 34, 0.09);
  transition: color 0.16s ease, background-color 0.16s ease;
}
.notice-item:hover { color: var(--paper-ink); background: rgba(27, 31, 34, 0.035); }
.notice-item.on { color: var(--paper-ink); }
.notice-item-code {
  padding-top: 1px;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
}
.notice-item.on .notice-item-code { color: var(--accent); }
.notice-item-copy { min-width: 0; }
.notice-item-copy b {
  display: block;
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-item-copy small {
  display: block;
  margin-top: 3px;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
}
.notice-item time {
  padding-top: 1px;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 7.5px;
}

.dispatch-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding: 11px 13px;
  color: var(--graphite-ink);
  text-decoration: none;
  background: var(--graphite);
  border: 1px solid var(--graphite);
  border-radius: 3px;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.dispatch-action:hover { background: var(--accent); border-color: var(--accent); }
.dispatch-action-copy { display: flex; flex-direction: column; gap: 2px; }
.dispatch-action-copy b { font-size: 11px; font-weight: 700; }
.dispatch-action-copy small {
  color: var(--graphite-soft);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
}
.dispatch-action:hover small { color: rgba(255, 255, 255, 0.8); }

.rail-footer {
  display: flex;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line-paper);
}
.friend-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  color: var(--paper-ink);
  text-decoration: none;
  background: var(--graphite);
  border: 1px solid var(--graphite);
  border-radius: 3px;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.friend-link:hover { background: var(--accent); border-color: var(--accent); }
.friend-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.friend-copy small {
  color: var(--graphite-soft);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.07em;
}
.friend-copy b {
  overflow: hidden;
  color: var(--graphite-ink);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.friend-link:hover .friend-copy small { color: rgba(255, 255, 255, 0.74); }

/* Personal data moved into the paper rail */

.archive-rail .notice-strip {
  color: var(--paper-ink);
  background: rgba(27, 31, 34, 0.035);
  border-color: var(--line-paper);
}
.archive-rail .notice-strip-head {
  border-bottom-color: rgba(27, 31, 34, 0.09);
}
.archive-rail .notice-strip-label { color: var(--paper-soft); }
.archive-rail .notice-strip-label small { color: var(--accent); }
.archive-rail .notice-expand {
  color: var(--paper-faint);
}
.archive-rail .notice-expand:hover {
  color: var(--paper-ink);
  border-color: var(--line-paper);
}
.archive-rail .notice-strip.open .notice-expand { color: var(--accent); }
.archive-rail .notice-strip-main { padding: 7px 9px 8px; }
.archive-rail .notice-strip .dispatch-meta { color: var(--paper-faint); }
.archive-rail .notice-strip #notice-type { color: var(--accent); }
.archive-rail .notice-strip-title {
  color: var(--paper-ink);
  font-size: 10.5px;
  line-height: 1.45;
}
.archive-rail .notice-details > p {
  color: var(--paper-soft);
  border-bottom-color: rgba(27, 31, 34, 0.09);
}
.archive-rail .notice-details .notice-item {
  color: var(--paper-soft);
  border-bottom-color: rgba(27, 31, 34, 0.09);
}
.archive-rail .notice-details .notice-item:hover {
  color: var(--paper-ink);
  background: rgba(27, 31, 34, 0.035);
}
.archive-rail .notice-details .notice-item.on { color: var(--paper-ink); }
.archive-rail .notice-details .notice-item-copy small,
.archive-rail .notice-details .notice-item time { color: var(--paper-faint); }
.archive-rail .notice-portal {
  color: var(--paper-ink);
  border-color: var(--line-paper);
}
.archive-rail .notice-portal:hover { color: #fff; }
.archive-rail .hub-bio {
  color: var(--paper-soft);
  font-size: 10.25px;
  line-height: 1.58;
}
.archive-rail .hub-sec {
  gap: 4px;
  padding-top: 7px;
  border-top-color: var(--line-paper);
}
.archive-rail .hub-sec-title {
  color: var(--paper-soft);
  font-size: 7.5px;
}
.archive-rail .hub-camera-copy {
  color: var(--paper-soft);
  font-size: 10px;
  line-height: 1.62;
}
.archive-rail .pce-item {
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 7px;
  padding: 3px 0;
  border-bottom-color: rgba(27, 31, 34, 0.08);
}
.archive-rail .pce-item b {
  color: var(--paper-faint);
  font-size: 7px;
}
.archive-rail .pce-item span {
  color: var(--paper-ink);
  font-size: 8.75px;
  line-height: 1.34;
}
.archive-rail .hub-stats {
  background: var(--line-paper);
  border-color: var(--line-paper);
}
.archive-rail .pcs-item {
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.22);
}
.archive-rail .pcs-item span {
  color: var(--paper-faint);
  font-size: 7px;
}
.archive-rail .pcs-item b {
  color: var(--paper-ink);
  font-size: 8px;
}
.archive-rail .pcl-link {
  color: var(--paper-soft);
  border-color: var(--line-paper);
}
.archive-rail .pcl-link:hover {
  color: var(--paper-ink);
  border-color: rgba(27, 31, 34, 0.32);
}
.archive-rail .pcl-link span { font-size: 7.5px; }

/* ── Right control dock ──────────────────────────────────────────────── */

.control-dock {
  position: fixed;
  top: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  display: flex;
  width: min(var(--dock-w), calc(100vw - 48px));
  flex-direction: column;
  overflow: hidden;
  color: var(--graphite-ink);
  background: rgba(24, 28, 31, 0.94);
  border: 1px solid rgba(238, 240, 235, 0.14);
  border-radius: 6px;
  box-shadow: 0 20px 54px rgba(11, 14, 16, 0.3);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dock-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-dark);
}
.dock-identity {
  display: flex;
  min-width: 0;
  grid-column: 1 / -1;
  align-items: center;
  gap: 10px;
}
.dock-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  overflow: hidden;
  background: #fbf8f1;
  border: 1px solid rgba(238, 240, 235, 0.42);
  border-radius: 3px;
}
.dock-avatar svg,
.dock-avatar img { display: block; width: 100%; height: 100%; }
.dock-camera-mark {
  display: flex;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--paper-ink);
  background: var(--paper);
  border: 1px solid var(--paper);
  border-radius: 3px;
}
.dock-camera-mark span {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}
.dock-camera-mark::after {
  content: "1958";
  margin-top: 3px;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.08em;
}
.dock-camera-identity .dock-name { font-size: 21px; }
.dock-identity-copy { min-width: 0; }
.dock-kicker {
  margin-bottom: 3px;
  color: var(--graphite-faint);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}
.dock-name {
  overflow: hidden;
  color: var(--graphite-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dock-role {
  overflow: hidden;
  margin-top: 4px;
  color: var(--graphite-faint);
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.view-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  background: rgba(238, 240, 235, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
}
.rail-switch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 3px;
  padding: 3px;
  margin-top: 9px;
  background: rgba(27, 31, 34, 0.045);
  border: 1px solid var(--line-paper);
  border-radius: 4px;
}
.rail-switch-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}
.live-launch {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 6px;
  color: var(--accent);
  text-decoration: none;
  background: rgba(197, 103, 50, 0.08);
  border: 1px solid rgba(197, 103, 50, 0.24);
  border-radius: 2px;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.live-launch:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.live-launch span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.live-launch em {
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
.live-launch small {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.archive-rail .view-tab { color: var(--paper-soft); }
.archive-rail .view-tab:hover { color: var(--paper-ink); }
.archive-rail .view-tab.on {
  color: var(--graphite-ink);
  background: var(--graphite);
}
.archive-rail .view-tab.on small { color: var(--graphite-soft); }
.view-tab {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 8px;
  color: var(--graphite-soft);
  border-radius: 2px;
  transition: color 0.16s ease, background-color 0.16s ease;
}
.view-tab span { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.view-tab em {
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
}
.view-tab small {
  color: var(--graphite-faint);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.05em;
}
.view-tab:hover { color: var(--graphite-ink); }
.view-tab.on {
  color: var(--paper-ink);
  background: var(--paper);
}
.view-tab.on small { color: var(--paper-faint); }
.dock-icon-btn {
  display: flex;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  align-items: center;
  justify-content: center;
  color: var(--graphite-soft);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.dock-icon-btn:hover { color: var(--graphite-ink); border-color: rgba(238, 240, 235, 0.3); }

.cst-clock-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 9px 12px 0;
  padding: 6px 9px;
  background: rgba(10, 12, 14, 0.55);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
}
.cst-head { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.cst-badge {
  color: var(--graphite-soft);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cst-cst {
  color: var(--graphite-faint);
  font-family: var(--mono);
  font-size: 7.5px;
}
.cst-digits {
  display: flex;
  height: 28px;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}
.cst-digit-svg { width: auto; height: 25px; }
.cst-colon-svg { width: 6px; height: 25px; }
.cst-seg-on { fill: #dfe2dc; }
.cst-seg-off { fill: #dfe2dc; opacity: 0.07; }
.cst-dot { fill: #dfe2dc; opacity: 0.8; }

.hub-view {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 15px;
  padding: 16px 15px 18px;
  overflow-y: auto;
  scrollbar-color: rgba(238, 240, 235, 0.24) transparent;
  scrollbar-width: thin;
}
.hub-view::-webkit-scrollbar { width: 5px; }
.hub-view::-webkit-scrollbar-thumb {
  background: rgba(238, 240, 235, 0.22);
  border-radius: 3px;
}

.hub-view.view-profile {
  padding: 14px 15px 16px;
  gap: 13px;
  overflow-y: auto;
}
.archive-rail .hub-view {
  width: 100%;
  min-height: 0;
  flex: 1;
  border-radius: 4px;
  scrollbar-color: rgba(238, 240, 235, 0.24) transparent;
  scrollbar-width: thin;
}
.archive-rail .view-personal {
  gap: 8px;
  padding: 0;
  color: var(--paper-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
}
.archive-rail .view-profile,
.archive-rail .view-stream,
.archive-rail .view-interactive {
  padding: 12px;
  color: var(--graphite-ink);
  background: rgba(22, 26, 29, 0.96);
  border: 1px solid rgba(238, 240, 235, 0.14);
}
.archive-rail .view-profile { gap: 12px; }
.archive-rail .view-stream { gap: 10px; }
.archive-rail .view-interactive { gap: 10px; }
.profile-upper {
  display: flex;
  min-height: 0;
  flex: 2 1 0;
  flex-direction: column;
  gap: 8px;
  padding: 12px 15px 13px;
  overflow-y: auto;
  scrollbar-color: rgba(238, 240, 235, 0.2) transparent;
  scrollbar-width: thin;
}
.nikon-intro {
  display: flex;
  min-height: 150px;
  flex: 1 1 0;
  flex-direction: column;
  gap: 9px;
  padding: 13px 15px 15px;
  overflow-y: auto;
  background: rgba(238, 240, 235, 0.025);
  border-top: 1px solid var(--line-dark);
}
.nikon-intro-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.nikon-intro-head h2 {
  color: var(--graphite-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.15;
}
.nikon-summary {
  color: var(--graphite-soft);
  font-size: 10px;
  line-height: 1.65;
  user-select: text;
}
.nikon-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
}
.nikon-fact {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  background: rgba(10, 12, 14, 0.3);
}
.nikon-fact span {
  color: var(--graphite-faint);
  font-family: var(--mono);
  font-size: 7px;
}
.nikon-fact b {
  overflow: hidden;
  color: var(--graphite-ink);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nikon-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 2px 0 14px;
  border-bottom: 1px solid var(--line-dark);
}
.nikon-view-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.nikon-view-head > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}
.nikon-view-head h2 {
  color: var(--graphite-ink);
  font-size: 28px;
  font-weight: 820;
  letter-spacing: 0.01em;
  line-height: 1;
}
.nikon-view-mark {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 800;
  line-height: 0.9;
  text-align: right;
}
.nikon-view-mark small {
  color: var(--graphite-faint);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.rail-clock {
  margin: 0;
}
.nikon-hero .nikon-intro-head h2 {
  color: var(--graphite-ink);
  font-size: 30px;
  font-weight: 820;
  letter-spacing: 0.01em;
  line-height: 1;
}
.nikon-hero .nikon-summary {
  font-size: 10.5px;
  line-height: 1.7;
}
.nikon-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
  color: var(--graphite-faint);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.09em;
}
.nikon-section-head b {
  color: var(--accent);
  font-size: 7px;
  font-weight: 700;
}
.nikon-era,
.nikon-features {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
}
.nikon-era-list { display: flex; flex-direction: column; }
.nikon-era-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 7px 0;
  border-bottom: 1px solid rgba(238, 240, 235, 0.065);
}
.nikon-era-item:last-child { border-bottom: 0; }
.nikon-era-item time {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}
.nikon-era-item span { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.nikon-era-item b {
  color: var(--graphite-ink);
  font-size: 10px;
  font-weight: 700;
}
.nikon-era-item small {
  overflow: hidden;
  color: var(--graphite-faint);
  font-size: 8.5px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nikon-features ul { display: flex; flex-direction: column; }
.nikon-features li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(238, 240, 235, 0.065);
}
.nikon-features li:last-child { border-bottom: 0; }
.nikon-features li span {
  color: var(--graphite-faint);
  font-size: 8.5px;
  white-space: nowrap;
}
.nikon-features li b {
  overflow: hidden;
  color: var(--graphite-ink);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.view-profile .hub-enter-btn { margin-top: auto; }

.stream-view-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.stream-view-head > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}
.stream-view-head h2 {
  overflow: hidden;
  color: var(--graphite-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stream-indicator {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  color: var(--graphite-faint);
  font-family: var(--mono);
  font-size: 7px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
}
.stream-indicator i {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--graphite-faint);
  border-radius: 50%;
}
.stream-indicator[data-state="online"] { color: var(--ok); }
.stream-indicator[data-state="online"] i {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(141, 160, 138, 0.12);
}
.stream-indicator[data-state="loading"] { color: var(--accent); }
.stream-indicator[data-state="loading"] i {
  background: var(--accent);
  animation: stream-pulse 1s ease-in-out infinite;
}
.stream-indicator[data-state="paused"] { color: var(--graphite-soft); }
.stream-indicator[data-state="paused"] i { background: var(--graphite-soft); }
.stream-indicator[data-state="error"] { color: var(--danger); }
.stream-indicator[data-state="error"] i { background: var(--danger); }
@keyframes stream-pulse {
  50% { opacity: 0.35; }
}

.stream-player-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #090b0c;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
}
.stream-video,
.stream-frame {
  display: block;
  width: 100%;
  height: 100%;
  background: #090b0c;
  border: 0;
  object-fit: contain;
}
.stream-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 16px;
  color: var(--graphite-faint);
  text-align: center;
  background: rgba(9, 11, 12, 0.94);
}
.stream-placeholder .ico-svg { color: var(--accent); }
.stream-placeholder b {
  color: var(--graphite-soft);
  font-size: 10px;
  font-weight: 700;
}
.stream-placeholder span {
  max-width: 25em;
  font-size: 8.5px;
  line-height: 1.5;
}
.stream-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--graphite-soft);
  font-family: var(--mono);
  font-size: 8px;
  background: rgba(9, 11, 12, 0.82);
}
.stream-loading i {
  width: 13px;
  height: 13px;
  border: 1px solid rgba(238, 240, 235, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: stream-spin 0.8s linear infinite;
}
@keyframes stream-spin {
  to { transform: rotate(360deg); }
}
.stream-controls {
  display: grid;
  grid-template-columns: 32px 32px minmax(0, 1fr) 32px 32px;
  gap: 6px;
  align-items: center;
}
.stream-btn {
  display: flex;
  width: 32px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--graphite-soft);
  background: rgba(238, 240, 235, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: 2px;
}
.stream-btn:hover {
  color: var(--graphite-ink);
  border-color: rgba(238, 240, 235, 0.28);
}
.stream-volume {
  width: 100%;
  height: 3px;
  margin: 0;
  accent-color: var(--accent);
}
.stream-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--graphite-faint);
  font-family: var(--mono);
  font-size: 7px;
  border-top: 1px solid var(--line-dark);
}
.stream-status-row span:last-child {
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stream-status-row b {
  color: var(--accent);
  font-weight: 700;
}

.notice-strip {
  background: rgba(238, 240, 235, 0.035);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
}
.notice-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 8px;
  border-bottom: 1px solid rgba(238, 240, 235, 0.07);
}
.notice-strip-label {
  color: var(--graphite-soft);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.notice-strip-label small {
  margin-left: 4px;
  color: var(--accent);
  font-size: 8px;
}
.notice-expand {
  display: flex;
  width: 24px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: var(--graphite-faint);
  border: 1px solid transparent;
  border-radius: 2px;
}
.notice-expand:hover { color: var(--graphite-ink); border-color: var(--line-dark); }
.notice-strip.open .notice-expand { color: var(--accent); }
.notice-strip.open .notice-expand .ico-svg { transform: rotate(90deg); }
.notice-strip-main { padding: 6px 9px 7px; }
.notice-strip .dispatch-meta { color: var(--graphite-faint); }
.notice-strip #notice-type { color: var(--accent); }
.notice-strip-title {
  color: var(--graphite-ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.42;
}
.notice-details {
  padding: 0 9px 9px;
}
.notice-details > p {
  padding-bottom: 7px;
  color: var(--graphite-soft);
  font-size: 9px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(238, 240, 235, 0.07);
  user-select: text;
}
.notice-details .notice-item {
  color: var(--graphite-soft);
  border-bottom-color: rgba(238, 240, 235, 0.07);
}
.notice-details .notice-item:hover { background: rgba(238, 240, 235, 0.035); color: var(--graphite-ink); }
.notice-details .notice-item.on { color: var(--graphite-ink); }
.notice-details .notice-item-copy b { font-size: 9.5px; }
.notice-details .notice-item-copy small,
.notice-details .notice-item time { color: var(--graphite-faint); }
.notice-portal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 7px 8px;
  color: var(--graphite-ink);
  font-size: 9px;
  text-decoration: none;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
}
.notice-portal:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

.view-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.view-heading h2,
.hub-head-interactive h2 {
  color: var(--graphite-ink);
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.view-kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hub-bio {
  padding-left: 11px;
  color: var(--graphite-soft);
  font-size: 10.75px;
  line-height: 1.56;
  border-left: 2px solid var(--accent);
  user-select: text;
}

.hub-sec {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 9px;
  border-top: 1px solid var(--line-dark);
}
.hub-sec-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--graphite-soft);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.hub-sec-title i {
  display: block;
  width: 14px;
  height: 1px;
  background: var(--accent);
}

.hub-equip { display: flex; flex-direction: column; }
.hub-camera-copy {
  color: var(--graphite-soft);
  font-size: 9.75px;
  line-height: 1.6;
  user-select: text;
}
.pce-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(238, 240, 235, 0.065);
}
.pce-item:last-child { border-bottom: 0; }
.pce-item b {
  color: var(--graphite-faint);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
}
.pce-item span {
  color: var(--graphite-ink);
  font-size: 9.25px;
  line-height: 1.36;
  user-select: text;
}

.hub-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
}
.pcs-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  background: rgba(238, 240, 235, 0.035);
}
.pcs-item span {
  overflow: hidden;
  color: var(--graphite-faint);
  font-family: var(--mono);
  font-size: 7.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pcs-item b {
  color: var(--ok);
  font-family: var(--mono);
  font-size: 9px;
  white-space: nowrap;
}

.hub-foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line-dark);
}
.hub-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
.pcl-link {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 4px;
  color: var(--graphite-soft);
  text-decoration: none;
  border: 1px solid rgba(238, 240, 235, 0.085);
  border-radius: 2px;
  transition: color 0.16s ease;
}
.pcl-link:hover { color: var(--graphite-ink); }
.pcl-link .ico-svg { color: var(--accent); }
.pcl-link em {
  display: none;
}
.pcl-link span {
  overflow: hidden;
  color: inherit;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-enter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  color: var(--paper-ink);
  background: var(--paper);
  border: 1px solid var(--paper);
  border-radius: 3px;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.hub-enter-btn:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.hub-enter-btn span { font-size: 11px; font-weight: 750; }
.hub-enter-btn small {
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.05em;
}
.hub-enter-btn:hover small { color: rgba(255, 255, 255, 0.76); }

/* ── Interactive controls ─────────────────────────────────────────────── */

.hub-head-interactive {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
}
.hhi-title-wrap { display: flex; flex-direction: column; gap: 4px; }
.hub-back-btn {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: var(--graphite-soft);
  font-size: 9px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
}
.hub-back-btn:hover { color: var(--graphite-ink); border-color: rgba(238, 240, 235, 0.3); }

.dock-body { display: flex; flex-direction: column; }
.ctl {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0 9px;
  border-bottom: 1px solid rgba(238, 240, 235, 0.075);
}
.ctl-head { display: flex; align-items: center; gap: 8px; }
.ctl-ico { display: flex; color: var(--accent); }
.ctl-txt { display: flex; flex: 1; align-items: baseline; gap: 6px; }
.ctl-txt em {
  color: var(--graphite-ink);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.ctl-txt span {
  color: var(--graphite-faint);
  font-family: var(--mono);
  font-size: 7.5px;
}
.ctl-val {
  color: var(--graphite-soft);
  font-family: var(--mono);
  font-size: 9px;
}

.ctl-bar-wrap {
  position: relative;
  display: flex;
  height: 15px;
  align-items: center;
}
.ctl-bar-wrap input[type="range"] {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 4px;
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(238, 240, 235, 0.14);
  border-radius: 2px;
  outline: none;
}
.ctl-bar-wrap input[type="range"]::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: var(--accent);
  border: 2px solid var(--graphite);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--accent);
}
.ctl-bar-wrap input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  cursor: pointer;
  background: var(--accent);
  border: 2px solid var(--graphite);
  border-radius: 50%;
}
.ctl-ticks {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
  pointer-events: none;
}
.ctl-ticks i { display: block; width: 1px; height: 4px; background: rgba(238, 240, 235, 0.13); }
.ctl-ticks i.lit { background: rgba(197, 103, 50, 0.55); }

.readout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 2px 0;
  overflow: hidden;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
}
.ro-cell {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  background: rgba(10, 12, 14, 0.32);
}
.ro-cell span {
  color: var(--graphite-faint);
  font-family: var(--mono);
  font-size: 7.5px;
}
.ro-cell b {
  color: var(--graphite-ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.dock-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.act {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 9px;
  color: var(--graphite-ink);
  background: rgba(238, 240, 235, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.act:hover { background: rgba(238, 240, 235, 0.08); border-color: rgba(238, 240, 235, 0.28); }
.act .ico-svg { color: var(--graphite-soft); }
.act-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.act-copy em {
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.act-copy small {
  color: var(--graphite-faint);
  font-family: var(--mono);
  font-size: 7px;
}
.act.primary.fire-btn {
  grid-column: span 2;
  justify-content: center;
  color: var(--paper-ink);
  background: var(--paper);
  border-color: var(--paper);
}
.act.primary.fire-btn:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.act.primary.fire-btn .act-copy small { color: var(--paper-faint); }
.act.primary.fire-btn:hover .act-copy small { color: rgba(255, 255, 255, 0.76); }
.act.primary.fire-btn .ico-svg { color: inherit; }
.fire-dot {
  width: 7px;
  height: 7px;
  background: var(--danger);
  border-radius: 50%;
}
.act.primary.fire-btn:hover .fire-dot { background: #fff; }

.dismantle-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 11px;
  border-top: 1px solid var(--line-dark);
}
.db-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.db-title {
  color: var(--graphite-soft);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.db-val { color: var(--graphite-ink); font-family: var(--mono); font-size: 10px; }
.db-slider-row { display: flex; align-items: center; gap: 8px; }
.db-slider {
  flex: 1;
  height: 5px;
  accent-color: var(--accent);
  cursor: pointer;
}
.db-btn {
  flex: 0 0 auto;
  padding: 4px 7px;
  color: var(--graphite-soft);
  font-family: var(--mono);
  font-size: 8px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
}
.db-btn:hover { color: var(--graphite-ink); border-color: rgba(238, 240, 235, 0.3); }

/* ── Intro ───────────────────────────────────────────────────────────── */

.boot-loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  color: var(--graphite-ink);
  background-color: #15191b;
  background-image:
    repeating-linear-gradient(90deg, rgba(238,240,235,0.025) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(238,240,235,0.025) 0 1px, transparent 1px 56px);
  transition: opacity 0.28s ease;
}
.boot-shell {
  width: min(540px, 100%);
  padding: 22px;
  background: rgba(24, 28, 31, 0.92);
  border: 1px solid rgba(238, 240, 235, 0.16);
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}
.boot-topline,
.boot-footline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--graphite-faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}
.boot-topline { padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.boot-footline { padding-top: 12px; border-top: 1px solid var(--line-dark); }
.boot-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}
.boot-avatar {
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  overflow: hidden;
  background: #fbf8f1;
  border: 1px solid var(--accent);
  border-radius: 3px;
}
.boot-avatar svg,
.boot-avatar img { display: block; width: 100%; height: 100%; }
.boot-copy { min-width: 0; }
.boot-kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}
.boot-copy h1 {
  margin: 5px 0 4px;
  color: var(--graphite-ink);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}
.boot-copy p {
  color: var(--graphite-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}
.boot-meter-card {
  padding: 12px 0 2px;
}
.mm-top,
.mm-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
}
.mm-top { margin-bottom: 7px; }
.mm-system { color: var(--graphite-soft); font-size: 8px; letter-spacing: 0.06em; }
.mm-pct { color: var(--graphite-ink); font-size: 11px; font-weight: 600; }
.mm-track {
  height: 2px;
  overflow: hidden;
  background: rgba(238, 240, 235, 0.1);
}
.mm-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 0.06s linear;
}
.mm-bottom {
  padding-top: 7px;
  color: var(--graphite-faint);
  font-size: 7.5px;
}

.hero-skip-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  padding: 7px 11px;
  color: var(--graphite-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  background: rgba(24, 28, 31, 0.9);
  border: 1px solid rgba(238, 240, 235, 0.16);
  border-radius: 3px;
}
.hero-skip-btn:hover { color: var(--graphite-ink); border-color: rgba(238, 240, 235, 0.32); }

.hairline-callout,
.hero-callout { pointer-events: none; }
.hl-tag,
.hc-tag {
  fill: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  paint-order: stroke;
  stroke: rgba(240, 241, 237, 0.88);
  stroke-width: 2.5px;
  stroke-linejoin: round;
}
.hl-title,
.hc-title {
  fill: #1b1f22;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  paint-order: stroke;
  stroke: rgba(240, 241, 237, 0.9);
  stroke-width: 2.8px;
  stroke-linejoin: round;
}
.hl-sub,
.hc-sub {
  fill: #596166;
  font-family: var(--sans);
  font-size: 9px;
  paint-order: stroke;
  stroke: rgba(240, 241, 237, 0.88);
  stroke-width: 2.4px;
  stroke-linejoin: round;
}
.hl-coords {
  fill: rgba(27, 31, 34, 0.72);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

body.boot-active .archive-rail,
body.boot-active .control-dock,
body.boot-active .annos {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ── Tooltips and status ─────────────────────────────────────────────── */

.hint {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 60;
  max-width: min(520px, calc(100vw - 36px));
  padding: 7px 12px;
  color: var(--graphite-soft);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
  background: rgba(24, 28, 31, 0.94);
  border: 1px solid rgba(238, 240, 235, 0.15);
  border-radius: 3px;
  transform: translateX(-50%);
  pointer-events: none;
}
.hint b { color: var(--graphite-ink); font-weight: 700; }
.hint.pop { animation: hint-in 0.18s ease both; }
@keyframes hint-in {
  from { opacity: 0; transform: translate(-50%, 6px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.tip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  color: var(--graphite-ink);
  background: rgba(24, 28, 31, 0.94);
  border: 1px solid rgba(238, 240, 235, 0.18);
  border-radius: 3px;
  opacity: 0;
  transform: translate(-9999px, -9999px);
  pointer-events: none;
  transition: opacity 0.12s ease;
}
.tip.on { opacity: 1; }
.tip b { font-size: 10px; font-weight: 700; }
.tip span {
  color: var(--graphite-soft);
  font-family: var(--mono);
  font-size: 7.5px;
}
.tip i {
  margin-top: 1px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
}

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 1280px) {
  :root {
    --rail-w: 350px;
    --dock-w: 340px;
  }
  .archive-rail,
  .control-dock {
    top: 16px;
    bottom: 16px;
  }
  .archive-rail { left: 16px; padding: 16px; }
  .control-dock { right: 16px; }
  .personal-title { font-size: 22px; }
  .personal-subtitle { font-size: 7.5px; }
  .hub-view { padding: 14px 13px 16px; }
}

@media (max-width: 1150px) and (min-width: 901px) {
  .archive-rail {
    right: 16px;
    bottom: auto;
    width: auto;
    padding: 10px;
    overflow: visible;
  }
  .personal-head {
    align-items: center;
    padding: 0;
    border-bottom: 0;
  }
  .personal-kicker { font-size: 7px; }
  .personal-title { margin-top: 3px; font-size: 19px; }
  .personal-subtitle { display: none; }
  .personal-toggle { display: flex; }
  .personal-surface { display: none; }
  body.personal-open .archive-rail {
    bottom: 16px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    overflow: auto;
  }
  body.personal-open .personal-head {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-paper);
  }
  body.personal-open .personal-surface {
    display: flex;
    padding-top: 13px;
  }
  body.personal-open .rail-switch { display: grid; }
  body.personal-open .rail-footer { display: flex; }
  body.personal-open .control-dock {
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
  }
}

@media (max-width: 900px) {
  .archive-rail {
    top: 12px;
    right: 12px;
    bottom: auto;
    left: 12px;
    z-index: 32;
    width: auto;
    padding: 11px;
    overflow: visible;
    border-radius: 5px;
  }
  .personal-head {
    align-items: center;
    padding: 0;
    border-bottom: 0;
  }
  .personal-kicker { font-size: 7px; }
  .personal-title { margin-top: 3px; font-size: 20px; }
  .personal-subtitle { display: none; }
  .personal-toggle { display: flex; }
  .personal-surface { display: none; }

  body.personal-open .archive-rail {
    bottom: 12px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    overflow: auto;
    background: rgba(240, 241, 237, 0.98);
  }
  body.personal-open .personal-head {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-paper);
  }
  body.personal-open .personal-surface {
    display: flex;
    padding-top: 13px;
  }
  body.personal-open .rail-switch { display: grid; }
  body.personal-open .rail-footer { display: flex; }

  .control-dock {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    height: 60dvh;
    border-radius: 9px;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  body.personal-open .control-dock {
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
  }
  .dock-header { padding: 8px 9px; }
  .cst-clock-box { margin: 7px 9px 0; }
  .hub-view { padding: 11px 12px 15px; gap: 12px; }
  .nikon-intro { min-height: 100px; }
  .hint {
    top: 82px;
    bottom: auto;
    font-size: 9px;
  }
}

@media (max-width: 520px) {
  .archive-rail { left: 8px; right: 8px; top: 8px; }
  .control-dock {
    right: 8px;
    bottom: 8px;
    left: 8px;
    height: 62dvh;
  }
  .view-tab { padding: 6px 5px; gap: 5px; }
  .view-tab em { font-size: 10px; }
  .view-tab small { font-size: 6.5px; }
  .cst-badge { font-size: 8px; }
  .cst-digit-svg { height: 22px; }
  .cst-colon-svg { height: 22px; }
  .hub-head-interactive h2 { font-size: 15px; }
  .hub-back-btn { font-size: 8px; }
  .pce-item { grid-template-columns: 62px minmax(0, 1fr); gap: 7px; }
  .pce-item span { font-size: 9.5px; }
  .pcs-item { padding: 7px; }
  .pcs-item span { font-size: 7px; }
  .pcs-item b { font-size: 8px; }
  .pcl-link { grid-template-columns: 12px 70px minmax(0, 1fr); }
  .hint { top: 74px; }
}

@media (max-width: 900px) and (min-height: 900px) {
  .control-dock { height: 50dvh; }
}

@media (max-height: 720px) and (min-width: 901px) {
  .archive-rail { padding: 16px; }
  .personal-title { font-size: 21px; }
  .personal-surface { padding-top: 12px; }
  .nikon-intro { min-height: 128px; }
  .notice-details .notice-item { padding: 8px 0; }
  .cst-clock-box { margin-top: 7px; }
  .hub-view { padding-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
