/* 大麦数字人 · 网页端交互体验版（同步大麦 AIEC / brand-wheat-v3 视觉家族 + 官网返回条 + 移动端自适应） */
:root {
  --ink: #201C18;
  --dock-bg: #241D20;
  --paper: #F6F3ED;
  --surface: #FFFFFF;
  --raised: #EFE8DE;
  --signal: #BD2824;
  --signal-hover: #A3201D;
  --signal-soft: #F6E7E3;
  --muted: #6C5F52;
  --line: #D6C9B9;
  --line-2: #EAE2D6;
  --gold: #8A5A18;
  --gold-soft: #FBF3E7;
  --green: #176B49;
  --green-soft: #E9F4EC;
  --blue: #1264B0;
  --blue-soft: #EBF5FF;
  --danger: #B42318;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 13.5px/1.55 Inter, "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Top Ampuly Website Return Ribbon ---------- */
.demo-ribbon {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 18px;
  background: #081A32;
  color: rgba(250, 252, 255, .86);
  border-bottom: 1px solid rgba(69, 183, 255, .28);
  font-size: 12px;
  flex-shrink: 0;
  z-index: 40;
}
.demo-ribbon strong {
  color: #FFFFFF;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.demo-ribbon strong::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #45B7FF;
  box-shadow: 0 0 8px #45B7FF;
}
.demo-ribbon-detail {
  color: rgba(250, 252, 255, .66);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-ribbon nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.demo-ribbon a, .demo-ribbon button {
  color: rgba(250, 252, 255, .82);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 2px 0;
}
.demo-ribbon a:hover, .demo-ribbon button:hover { color: #45B7FF; }
.demo-ribbon .ribbon-home {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(69, 183, 255, .15);
  border: 1px solid rgba(69, 183, 255, .45);
  color: #FFFFFF;
}

/* ---------- App Shell & Command Deck ---------- */
.app-shell {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: 52px minmax(0, 1fr);
  background: var(--paper);
  overflow: hidden;
}
.command-deck {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: var(--ink);
  color: #F8F1EC;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.command-deck::-webkit-scrollbar { display: none; }
.deck-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.deck-brand img { height: 32px; width: auto; display: block; }
.deck-crumb {
  color: #C7B9B1;
  font-size: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 10px;
  white-space: nowrap;
}
.deck-spacer { flex: 1; }
.deck-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #DFD4CE;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.toggle-deck { cursor: pointer; }
.toggle-deck input { accent-color: var(--signal); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #D99B43; }
.status-dot.online { background: #65D6A4; box-shadow: 0 0 0 3px rgba(101, 214, 164, 0.22); }
.deck-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 8px;
  background: var(--signal);
  color: #FFFFFF;
  padding: 6px 13px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.deck-new:hover { background: var(--signal-hover); }

/* ---------- Workspace & Left Dock ---------- */
.workspace {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  min-height: 0;
}
.dock {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 6px;
  background: var(--dock-bg);
  color: #B9ACA6;
  border-right: 1px solid #33282B;
}
.dock button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: inherit;
  border-radius: 10px;
  padding: 8px 2px;
  font-size: 10.5px;
  line-height: 1.2;
}
.dock button:hover { background: rgba(255, 255, 255, 0.06); color: #F8F1EC; }
.dock button.active { background: var(--signal); color: #FFFFFF; font-weight: 600; }

/* ---------- Main Content ---------- */
.content {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 8px 12px 10px;
  gap: 8px;
  background: var(--paper);
}
.today-metric-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  flex-shrink: 0;
}
.today-metric {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 9px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.today-metric span { color: var(--muted); font-size: 11.5px; }
.today-metric b { font-size: 18px; font-variant-numeric: tabular-nums; color: var(--ink); }
.today-metric b.signal-num { color: var(--signal); }
.today-metric b.gold-num { color: var(--gold); }
.today-metric b.green-num { color: var(--green); }
.today-metric b.blue-num { color: var(--blue); }

/* ---------- Studio 3-Column Grid ---------- */
.studio-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 300px minmax(380px, 1.25fr) 350px;
  gap: 10px;
}
.work-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.panel-head {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--surface);
  flex-wrap: wrap;
}
.kicker {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--signal);
  text-transform: uppercase;
}
.panel-head h2 { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.head-btn-row { display: flex; gap: 5px; flex-wrap: wrap; }

.btn-primary {
  border: 0;
  background: var(--signal);
  color: #FFFFFF;
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}
.btn-primary:hover { background: var(--signal-hover); }
.btn-ghost {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 11.5px;
  font-weight: 600;
}
.btn-ghost:hover { background: var(--paper); border-color: #BEA892; }
.btn-danger {
  border: 1px solid #E8C4C7;
  background: #FCF1F2;
  color: var(--danger);
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 11.5px;
  font-weight: 700;
}
.badge {
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-weight: 600;
}
.badge.signal-badge { background: var(--signal-soft); color: var(--signal); border-color: #E8C4BE; }
.badge.guard-badge { background: var(--blue-soft); color: var(--blue); border-color: #BBD8F5; }

/* ---------- Left Column: Queue + Stream + Sender ---------- */
.queue-section {
  padding: 6px 10px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-2);
}
.section-caption { font-size: 11px; font-weight: 700; color: var(--muted); padding: 5px 10px 3px; }
.queue-section .section-caption { padding: 0 0 4px; }
.queue-list {
  max-height: 62px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
}
.empty-hint { color: #9A8A84; font-size: 11.5px; padding: 2px 0; }
.queue-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 6px;
}
.prio-tag { font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; color: #fff; flex-shrink: 0; }
.prio-0 { background: var(--signal); }
.prio-1 { background: #D97706; }
.prio-2 { background: #2563EB; }
.prio-3 { background: #78716C; }

.danmaku-stream {
  flex: 1;
  overflow-y: auto;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 160px;
}
.dm-row {
  font-size: 12px;
  line-height: 1.42;
  padding: 6px 8px;
  border-radius: 7px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-left: 3px solid #BFB2A3;
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
}
.dm-row.p0 { border-left-color: var(--signal); background: #FDF6F5; }
.dm-row.p1 { border-left-color: #D97706; background: #FFFBF4; }
.dm-plat {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 4px;
}
.dm-nick { font-weight: 700; color: var(--signal); }

.sender-box {
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sender-caption { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.persona-chips, .quick-danmaku-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.chip {
  font-size: 10.5px;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}
.chip:hover { border-color: var(--signal); color: var(--ink); }
.chip.active {
  border-color: var(--signal);
  background: var(--signal-soft);
  color: var(--signal);
  font-weight: 700;
}
.sender-row { display: flex; gap: 5px; }
input[type="text"] {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 12px;
  min-width: 0;
}
input[type="text"]:focus { outline: 2px solid rgba(189, 40, 36, 0.16); border-color: var(--signal); }
.inp-flex { flex: 1; }

/* ---------- Center Column: Dual-Mode Phone Stage ---------- */
.scene-switcher {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 2px;
  gap: 2px;
}
.scene-btn {
  border: 0;
  background: transparent;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.scene-btn.active { background: var(--signal); color: #FFFFFF; }
.mode-tag { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.mode-tag.interactive { background: var(--signal-soft); color: var(--signal); border: 1px solid #E6B9B4; }
.mode-tag.idle_pitch { background: var(--gold-soft); color: var(--gold); border: 1px solid #E5CBA8; }
.mode-tag.guardrail { background: var(--blue-soft); color: var(--blue); border: 1px solid #BBD8F5; }

.hero-stage-canvas {
  flex: 1;
  min-height: 0;
  background: radial-gradient(circle at 50% 42%, #2E2522 0%, #171311 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  overflow: hidden;
}
.hero-phone-frame {
  position: relative;
  height: 100%;
  max-height: 680px;
  max-width: 100%;
  aspect-ratio: 720 / 1008;
  border-radius: 16px;
  overflow: hidden;
  background: #231B18;
  border: 2px solid rgba(255, 203, 131, 0.34);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hero-phone-frame.speaking {
  border-color: #F04438;
  box-shadow: 0 0 0 3px rgba(189, 40, 36, 0.35), 0 20px 54px rgba(0, 0, 0, 0.55);
}

.jewelry-macro-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.jewelry-macro-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-phone-frame.scene-jewelry_macro .jewelry-macro-bg { opacity: 1; }

.anchor-stream-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: all 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  background: #1B1513;
}
.hero-phone-frame.scene-beauty_counter .anchor-stream-layer { inset: 42px 0 98px 0; }
.hero-phone-frame.scene-jewelry_macro .anchor-stream-layer {
  inset: 90px 12px auto auto;
  width: 126px;
  height: 164px;
  border-radius: 14px;
  border: 2px solid #FFCB83;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  z-index: 9;
}
.pip-label {
  display: none;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(90deg, rgba(189, 40, 36, 0.92), rgba(138, 90, 24, 0.92));
  color: #FFF9EF;
  font-size: 9.5px;
  font-weight: 700;
  text-align: center;
  padding: 2px 4px;
}
.hero-phone-frame.scene-jewelry_macro .pip-label { display: block; }
.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-phone-frame.scene-raw .hero-media { object-fit: contain; }

.hero-top-hud {
  position: absolute;
  top: 8px; left: 10px; right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 12;
}
.live-corner-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(32, 28, 24, 0.84);
  color: #FFCB83;
}
.live-corner-tag.trial-on { background: var(--signal); color: #fff; }
.fps-tag {
  font-size: 10px;
  color: rgba(255, 249, 239, 0.86);
  background: rgba(20, 16, 14, 0.66);
  padding: 2px 7px;
  border-radius: 5px;
}

.stage-top-banner {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 32px 12px 16px;
  background: linear-gradient(180deg, rgba(44, 28, 18, 0.92) 0%, rgba(44, 28, 18, 0.56) 68%, transparent 100%);
  text-align: center;
  z-index: 5;
  pointer-events: none;
}
.brand-kicker { font-size: 9px; letter-spacing: 0.12em; color: #FFCB83; font-weight: 700; }
.stage-headline {
  font-size: 17px;
  font-weight: 900;
  color: #FFE7BA;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  margin-top: 2px;
}
.stage-subhead {
  display: inline-block;
  margin-top: 3px;
  padding: 1px 10px;
  border-radius: 999px;
  background: rgba(189, 40, 36, 0.86);
  border: 1px solid rgba(255, 213, 145, 0.45);
  color: #FFF9EF;
  font-size: 10px;
  font-weight: 600;
}

.stage-left-authority {
  position: absolute;
  top: 100px; left: 10px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 158px;
  pointer-events: none;
}
.auth-pill-gold {
  background: linear-gradient(135deg, rgba(255, 243, 219, 0.95), rgba(242, 212, 162, 0.95));
  color: #4A2C11;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
}
.auth-pill-sub {
  background: rgba(32, 24, 20, 0.78);
  color: #FFDFAC;
  border: 1px solid rgba(255, 203, 131, 0.35);
  font-size: 9.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 5px;
}

.hero-cart-card {
  position: absolute;
  right: 10px;
  bottom: 162px;
  width: 164px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border: 1.5px solid var(--signal);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
  z-index: 12;
}
.cart-card-badge { background: var(--signal); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; }
.cart-card-body { padding: 6px 8px; font-size: 10.5px; line-height: 1.4; font-weight: 600; }
.cart-card-cta {
  margin: 0 7px 6px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid #E5CBA8;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 0;
  border-radius: 5px;
}

.stage-foreground-podium {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 8;
  background: linear-gradient(180deg, transparent 0%, rgba(42, 26, 18, 0.92) 18%, #241610 100%);
  padding: 16px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.podium-countertop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(90deg, #FFFDF9 0%, #F9EFE0 100%);
  border: 1.5px solid #E5C185;
  border-radius: 10px;
  padding: 6px 10px;
}
.sku-num-tag {
  display: inline-block;
  background: var(--signal);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}
.sku-spot-name {
  display: block;
  font-size: 12px;
  color: #201C18;
  font-weight: 700;
  margin-top: 2px;
}
.sku-spot-price { font-size: 15px; font-weight: 900; color: var(--signal); }
.sku-spot-price small { font-size: 10.5px; color: #8A7A6E; font-weight: 500; }

.podium-subtitle-bar {
  background: rgba(18, 13, 11, 0.84);
  border: 1px solid rgba(255, 203, 131, 0.24);
  border-radius: 8px;
  padding: 6px 9px;
  max-height: 64px;
  overflow-y: auto;
  font-size: 11.5px;
  line-height: 1.42;
}
.teleprompter-target { font-weight: 700; color: #FFCB83; margin-right: 4px; }
.teleprompter-text { color: #FFF9EF; }
.podium-trust-bar {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #E8D8C3;
  padding: 0 2px;
}

.hero-phone-frame.scene-raw .stage-top-banner,
.hero-phone-frame.scene-raw .stage-left-authority,
.hero-phone-frame.scene-raw .stage-foreground-podium,
.hero-phone-frame.scene-raw .hero-cart-card {
  display: none !important;
}

/* ---------- Right Column: Memory / Decision / Catalog / Guardrails ---------- */
.seg-tabs {
  display: flex;
  background: var(--paper);
  padding: 2px;
  border-radius: 7px;
  border: 1px solid var(--line);
  gap: 2px;
}
.seg-btn {
  border: 0;
  background: transparent;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.seg-btn.active {
  background: var(--surface);
  color: var(--signal);
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.right-tab-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  background: #FCFBF8;
  min-height: 180px;
}
.profiles-list, .catalog-list, .decision-feed { display: flex; flex-direction: column; gap: 8px; }

.profile-card, .decision-card, .sku-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 12px;
}
.pc-top, .dc-head, .sku-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.pc-name, .dc-user { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.pc-stage { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.stage-STRANGER { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.stage-INQUIRY { background: #EBF5FF; color: #1D4ED8; }
.stage-CONSIDERATION { background: #EEF2FF; color: #4338CA; }
.stage-OBJECTION { background: var(--gold-soft); color: var(--gold); }
.stage-CLOSING { background: var(--signal-soft); color: var(--signal); }
.stage-CONVERTED { background: var(--green-soft); color: var(--green); }

.score-bar-wrap { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.score-bar { flex: 1; height: 5px; background: var(--paper); border-radius: 99px; overflow: hidden; border: 1px solid var(--line-2); }
.score-fill { height: 100%; background: linear-gradient(90deg, #D99B43, var(--signal)); }
.trait-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.trait-tag { font-size: 10px; padding: 1px 5px; border-radius: 4px; background: var(--gold-soft); color: var(--gold); border: 1px solid #EBDAC2; }
.sku-tag { font-size: 10px; padding: 1px 5px; border-radius: 4px; background: var(--signal-soft); color: var(--signal); }
.pc-turns { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); font-size: 11px; display: flex; flex-direction: column; gap: 3px; }
.turn-u { color: var(--signal); font-weight: 600; }
.turn-a { color: var(--ink); }

.dc-query { color: var(--muted); margin-bottom: 4px; }
.dc-strategy {
  font-size: 11px;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid #EDE0CC;
  padding: 4px 7px;
  border-radius: 5px;
  margin-bottom: 5px;
}
.dc-strategy.guard { color: var(--blue); background: var(--blue-soft); border-color: #BBD8F5; }
.dc-reply { color: var(--ink); line-height: 1.5; border-left: 3px solid var(--signal); padding-left: 8px; }
.sku-card.active-sku { border-color: var(--signal); background: #FFFCFB; }
.sku-price { color: var(--signal); font-weight: 800; font-size: 14.5px; }
.sku-orig { color: var(--muted); text-decoration: line-through; font-size: 11px; margin-left: 4px; }

.hidden { display: none !important; }

/* ---------- Responsive Tablet & Mobile (<1060px) ---------- */
@media (max-width: 1060px) {
  html, body { height: auto; min-height: 100%; overflow-y: auto; }
  .app-shell { display: flex; flex-direction: column; height: auto; overflow: visible; }
  .workspace { display: flex; flex-direction: column; }
  .dock { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid #33282B; padding: 6px 10px; }
  .dock button { flex-direction: row; padding: 6px 10px; font-size: 11.5px; white-space: nowrap; }
  .today-metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-grid { display: flex; flex-direction: column; }
  .col-center { order: -1; }
  .hero-stage-canvas { min-height: 480px; }
  .hero-phone-frame { height: 470px; width: auto; }
  .danmaku-stream { max-height: 240px; }
}
@media (max-width: 640px) {
  .demo-ribbon { flex-wrap: wrap; gap: 6px 10px; padding: 8px 12px; }
  .demo-ribbon-detail { display: none; }
  .demo-ribbon nav { margin-left: 0; width: 100%; justify-content: space-between; }
  .app-shell { grid-template-rows: auto minmax(0, 1fr); }
  .command-deck { flex-wrap: wrap; padding: 8px 10px; gap: 6px; height: auto; }
  .deck-crumb, .deck-spacer { display: none; }
  .deck-new { width: 100%; justify-content: center; padding: 8px 12px; }
  .hero-stage-canvas { min-height: 440px; padding: 8px; }
  .hero-phone-frame { height: 430px; }
  .stage-left-authority { top: 92px; left: 6px; max-width: 118px; }
  .auth-pill-gold, .auth-pill-sub { font-size: 8.5px; padding: 2px 5px; }
}
