@font-face {
  font-family: "Barlow Condensed";
  src: url("./type/barlow-condensed-extrabold-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}
:root {
  /* Unified Agent-Warehouse Design System: Square Frosted Slate × Gold (#e3bd6b) × Steel Blue (#85bfd9) */
  --portal-bg: #10191e;
  --portal-overlay: rgba(11, 18, 23, 0.72);
  --portal-surface: rgba(21, 32, 36, 0.86);
  --portal-panel: rgba(21, 32, 36, 0.92);
  --portal-panel-solid: #152024;
  --portal-card: #1d2b32;
  --portal-card-hover: #25363f;
  --portal-btn: #22323a;
  --portal-btn-hover: #30424b;
  --portal-inset: rgba(15, 24, 29, 0.84);
  --portal-elevated: #22323a;
  --portal-line: rgba(255, 255, 255, 0.14);
  --portal-line-strong: rgba(255, 255, 255, 0.20);
  --portal-ink: #eff2ed;
  --portal-muted: #aabac0;
  --portal-dim: #7f949c;

  /* Dual Faction Palette: Gold (T) + Steel Blue (CT) */
  --portal-gold: #e3bd6b;
  --portal-gold-hover: #f0cf84;
  --portal-gold-soft: #dfc68e;
  --portal-gold-bg: rgba(227, 189, 107, 0.14);
  --portal-gold-glow: rgba(227, 189, 107, 0.28);
  --portal-blue: #85bfd9;
  --portal-blue-hover: #a8d7ec;
  --portal-blue-bg: rgba(133, 191, 217, 0.14);
  --portal-blue-glow: rgba(133, 191, 217, 0.26);
  /* Compatibility aliases */
  --portal-ct: var(--portal-blue);
  --portal-cyan: var(--portal-blue);
  --portal-cyan-glow: var(--portal-blue-glow);
  --portal-success: #7fd4a8;
  --portal-danger: #e48484;

  --portal-blur: blur(18px);
  --portal-shadow: 0 24px 100px rgba(0, 0, 0, 0.55);
  --ease-ui: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-val: var(--ease-ui);
  --portal-font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --portal-display: "Barlow Condensed", "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  --portal-pad: clamp(16px, 3vw, 44px);
  --portal-width: 1220px;
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--portal-ink);
  white-space: nowrap;
  text-decoration: none;
}
.portal-brand strong {
  font: italic 800 22px/1 var(--portal-display);
  letter-spacing: 0.05em;
  color: var(--portal-ink);
}
.portal-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  width: 24px;
  height: 19px;
}
.portal-mark i {
  display: block;
  width: 6px;
  height: 52%;
  background: var(--portal-gold);
}
.portal-mark i:nth-child(2) {
  height: 78%;
  background: #ebd08f;
}
.portal-mark i:nth-child(3) {
  height: 100%;
  background: var(--portal-blue);
}
.portal-brand .portal-product {
  border-left: 1px solid var(--portal-line-strong);
  padding-left: 10px;
  font: 600 10px/14px var(--portal-font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--portal-blue);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes backdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes valFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes kenBurns {
  0% { transform: scale(1.04) translate3d(0, 0, 0); }
  50% { transform: scale(1.09) translate3d(-1%, -0.6%, 0); }
  100% { transform: scale(1.04) translate3d(0, 0, 0); }
}

@media (max-width: 740px) {
  .portal-brand { gap: 8px; }
  .portal-brand strong { font-size: 19px; }
  .portal-brand .portal-product { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
