:root {
  --bg: #041329;
  --panel: rgba(4, 28, 65, 0.86);
  --panel-2: rgba(8, 45, 95, 0.66);
  --line: rgba(43, 135, 220, 0.58);
  --line-soft: rgba(54, 159, 255, 0.22);
  --text: #d8ecff;
  --muted: #7ba6cf;
  --cyan: #2aaaff;
  --blue: #2b7fff;
  --green: #39d987;
  --orange: #ffab3c;
  --gold: #ffd46b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  background: #020b19;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

button {
  font: inherit;
  color: inherit;
}

#stage {
  width: 100vw;
  height: 100vh;
  background: #020b19;
}

.screen {
  position: relative;
  width: 1659px;
  height: 943px;
  overflow: hidden;
  transform-origin: left top;
  background:
    radial-gradient(circle at 52% 55%, rgba(0, 160, 255, 0.28), transparent 22%),
    radial-gradient(circle at 72% 8%, rgba(29, 97, 197, 0.24), transparent 28%),
    linear-gradient(180deg, #07162e 0%, #041226 45%, #031022 100%);
}

.screen::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(45, 120, 202, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 120, 202, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  height: 80px;
  background: linear-gradient(180deg, rgba(5, 23, 54, 0.98), rgba(2, 16, 39, 0.7));
  border-bottom: 1px solid rgba(41, 142, 242, 0.42);
  box-shadow: 0 8px 28px rgba(0, 119, 255, 0.14);
}

.brand {
  position: absolute;
  left: 8px;
  top: 21px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 47px;
  height: 47px;
  padding: 2px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 18px rgba(42, 180, 255, 0.36);
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-subtitle {
  margin-top: 5px;
  color: #9eb8d4;
  font-size: 12px;
}

.headline {
  position: absolute;
  left: 430px;
  top: 13px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.headline h1 {
  margin: 0;
  color: #e7f2ff;
  font-size: 33px;
  font-weight: 900;
  line-height: 54px;
  text-shadow: 0 0 18px rgba(90, 166, 255, 0.72);
}

.headline span {
  width: 80px;
  height: 24px;
  border-bottom: 2px solid #1781e7;
  transform: skew(38deg);
  box-shadow: 20px 11px 0 -8px rgba(35, 176, 255, 0.8);
}

.top-actions {
  position: absolute;
  right: 18px;
  top: 21px;
  display: flex;
  gap: 12px;
}

.top-actions button,
.section-head button {
  height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(47, 137, 226, 0.55);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(12, 49, 103, 0.95), rgba(7, 30, 70, 0.88));
  color: #d9ebff;
  cursor: default;
}

.top-actions .icon-button {
  width: 38px;
  padding: 0;
  font-size: 18px;
}

.clock {
  position: absolute;
  right: 19px;
  top: 23px;
  display: none;
  text-align: right;
}

.clock strong {
  display: block;
  font-family: Menlo, Consolas, monospace;
  font-size: 20px;
  letter-spacing: 1px;
}

.clock span {
  display: block;
  margin-top: 5px;
  color: #b7cbe3;
  font-size: 12px;
}

.sidebar {
  position: absolute;
  left: 4px;
  top: 80px;
  width: 168px;
  height: 858px;
  border: 1px solid rgba(50, 137, 226, 0.48);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(5, 32, 73, 0.95), rgba(4, 17, 40, 0.93));
}

.side-item {
  position: relative;
  display: grid;
  grid-template-columns: 39px 1fr 30px;
  align-items: center;
  min-height: 73px;
  padding: 0 14px 0 18px;
  color: #b8d9f9;
  border-bottom: 1px solid rgba(53, 120, 199, 0.13);
}

.side-item.active {
  min-height: 70px;
  background: linear-gradient(90deg, rgba(31, 120, 231, 0.62), rgba(13, 57, 126, 0.25));
  color: #fff;
}

.side-icon,
.metric-icon,
.ledger-icon,
.quick-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #1f72d8, #0a326f 70%);
  box-shadow: inset 0 0 12px rgba(79, 169, 255, 0.28);
}

.side-icon {
  width: 36px;
  height: 36px;
  color: #d7ecff;
}

.side-text {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.side-count {
  color: #34adff;
  font-size: 16px;
  font-weight: 800;
  text-align: right;
}

.sidebar-clock {
  position: absolute;
  left: 16px;
  bottom: 24px;
  color: #b8cee7;
  text-align: left;
}

.sidebar-clock strong {
  display: block;
  font-family: Menlo, Consolas, monospace;
  font-size: 20px;
  letter-spacing: 1px;
}

.sidebar-clock span {
  display: block;
  margin-top: 5px;
  color: #b7cbe3;
  font-size: 12px;
}

.panel {
  border: 1px solid rgba(46, 132, 218, 0.55);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(7, 35, 80, 0.9), rgba(4, 20, 48, 0.84));
  box-shadow: inset 0 0 25px rgba(30, 128, 230, 0.12), 0 0 16px rgba(0, 79, 160, 0.12);
}
