:root {
  --bg: #0b0d0e;
  --panel: #121516;
  --line: rgba(243,240,230,0.08);
  --line-strong: rgba(243,240,230,0.14);
  --ink: #f2efe7;
  --ink-2: #cfcec7;
  --muted: #858a87;
  --muted-2: #626764;
  --orange: #ff5a1f;
  --green: #67cf9e;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; min-height: 100%; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 14%, rgba(255,90,31,0.13), transparent 27%),
    radial-gradient(circle at 91% 90%, rgba(103,207,158,0.05), transparent 27%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 95%);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { display: block; }

.page {
  min-height: 100vh;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.topbar {
  min-height: 72px;
  padding: 0 clamp(22px, 2.8vw, 44px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  background: rgba(11,13,14,0.72);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg,#ff7e4a,#e74b0e);
  box-shadow: inset 0 1px rgba(255,255,255,0.22), 0 0 25px rgba(255,90,31,0.18);
  color: white;
  display: grid;
  place-items: center;
  font-family: "Bahnschrift", "DIN Alternate", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.brand-copy {
  display: grid;
  gap: 5px;
  line-height: 1;
}
.brand-copy strong {
  font-family: "Bahnschrift", "DIN Alternate", sans-serif;
  font-size: 17px;
  letter-spacing: 0.08em;
}
.brand-copy span {
  color: var(--muted-2);
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: 8px;
  letter-spacing: 0.12em;
}
.top-nav {
  margin-left: clamp(24px, 4vw, 62px);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-item {
  height: 34px;
  padding: 0 13px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
}
.nav-item.active {
  color: var(--ink);
  background: rgba(255,255,255,0.052);
  border: 1px solid var(--line);
}
.nav-item.muted { cursor: default; }
.top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 13px;
}
.time {
  color: var(--muted);
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: 8px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.online {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: 8px;
  white-space: nowrap;
}
.online i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(103,207,158,0.08), 0 0 12px rgba(103,207,158,0.24);
}
.admin-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 13px;
  border-left: 1px solid var(--line);
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e8e3d7;
  color: #131516;
  display: grid;
  place-items: center;
  font-family: "Bahnschrift", sans-serif;
  font-size: 10px;
  font-weight: 700;
}
.admin-copy {
  display: grid;
  gap: 2px;
  white-space: nowrap;
}
.admin-copy strong {
  font-size: 9px;
  font-weight: 600;
}
.admin-copy span {
  color: var(--muted-2);
  font-size: 7px;
}

.content {
  width: 100%;
  max-width: 1840px;
  margin: 0 auto;
  flex: 1;
  padding: clamp(28px, 4vh, 48px) clamp(22px, 2.8vw, 44px) 28px;
  display: grid;
  grid-template-columns: minmax(400px, 0.82fr) minmax(650px, 1.35fr);
  gap: clamp(34px, 4vw, 74px);
  align-items: stretch;
}
.left {
  padding: clamp(22px, 5vh, 72px) 0 0 10px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.left::before {
  content: "";
  position: absolute;
  left: -130px;
  top: -54px;
  width: min(42vw, 600px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.055);
  box-shadow:
    0 0 0 52px rgba(255,255,255,0.012),
    0 0 0 104px rgba(255,255,255,0.008),
    inset 0 0 100px rgba(255,90,31,0.03);
  pointer-events: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ff8d61;
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  position: relative;
  z-index: 2;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--orange);
}
h1 {
  margin: 16px 0 0;
  font-size: clamp(66px, 6.1vw, 104px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.075em;
  position: relative;
  z-index: 2;
}
h1 span { color: var(--orange); }
.hero-desc {
  max-width: 390px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
  position: relative;
  z-index: 2;
}
.hero-desc b { color: var(--ink-2); font-weight: 500; }
.identity {
  margin-top: clamp(30px, 5vh, 54px);
  max-width: 410px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 2;
}
.identity-item {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.identity-item span {
  color: var(--muted-2);
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: 7px;
  letter-spacing: 0.08em;
}
.identity-item b {
  color: var(--ink-2);
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}
.identity-item + .identity-item {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.left-bottom {
  margin-top: auto;
  padding-top: 48px;
  position: relative;
  z-index: 2;
}
.hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 8px;
}
.hint kbd {
  height: 22px;
  min-width: 22px;
  padding: 0 5px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,0.025);
  font-family: "Bahnschrift", sans-serif;
  font-size: 8px;
  color: var(--muted);
}
.hint .separator {
  width: 1px;
  height: 12px;
  background: var(--line);
  margin: 0 3px;
}
.hint b { color: var(--muted); font-weight: 500; }

.right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.right-head {
  min-height: 62px;
  display: flex;
  align-items: flex-start;
}
.right-head-copy span {
  display: block;
  color: var(--muted-2);
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: 8px;
  letter-spacing: 0.14em;
}
.right-head-copy h2 {
  margin: 9px 0 0;
  font-size: 19px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.right-head .sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-2);
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: 7px;
  letter-spacing: 0.07em;
  padding-top: 3px;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(103,207,158,0.4);
}
.entries {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.entry {
  min-height: clamp(188px, 22.3vh, 228px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(24,27,28,0.80), rgba(15,18,19,0.92));
  padding: 19px 22px 17px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  outline: none;
}
.entry[role="link"] { cursor: pointer; }
.entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0.72;
}
.entry::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: var(--wash);
  pointer-events: none;
}
.entry.active {
  border-color: rgba(255,90,31,0.27);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,90,31,0.10), transparent 34%),
    linear-gradient(180deg, rgba(31,31,28,0.95), rgba(17,20,20,0.98));
}
.entry[role="link"]:hover,
.entry[role="link"]:focus-visible {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}
.entry-top {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.entry-index {
  width: 45px;
  flex: 0 0 45px;
  color: var(--muted-2);
  font-family: "Bahnschrift", sans-serif;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.entry.active .entry-index { color: var(--orange); }
.entry-name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.07em;
}
.entry-name i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--status-color, #71d2a1);
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: 7px;
}
.status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px color-mix(in srgb, currentColor 40%, transparent);
}
.pending .status { color: #f4bd5d; }
.entry-main {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 17px;
  position: relative;
  z-index: 2;
}
.prod-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: white;
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-weight: 700;
  box-shadow: inset 0 1px rgba(255,255,255,0.20), 0 8px 22px var(--mark-shadow);
}
.prod-mark svg { width: 27px; height: 27px; }
.prod-mark.orange { background: linear-gradient(145deg,#ff7b43,#e7490d); --mark-shadow:rgba(255,90,31,0.16); }
.prod-mark.dark { background:#e9e4d8; color:#151718; font-size:22px; --mark-shadow:rgba(0,0,0,0.20); }
.prod-mark.mc { background:linear-gradient(145deg,#ff8c4f,#e75c15); font-size:12px; letter-spacing:-0.04em; --mark-shadow:rgba(255,90,31,0.15); }
.entry-copy { min-width: 0; }
.entry-copy h3 {
  margin: 0;
  font-size: clamp(24px, 1.8vw, 29px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.entry-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}
.entry-action {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}
.last {
  text-align: right;
  display: grid;
  gap: 4px;
  max-width: 140px;
}
.last span {
  color: var(--muted-2);
  font-size: 7px;
}
.last b {
  color: var(--muted);
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: 7px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.enter {
  width: 49px;
  height: 49px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  background: rgba(255,255,255,0.03);
}
.entry.active .enter {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255,90,31,0.17);
}
.enter svg { width: 18px; height: 18px; }
.pending-enter {
  color: var(--muted-2);
  font-size: 14px;
  cursor: not-allowed;
}
.entry-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.modules {
  display: flex;
  align-items: center;
  gap: 6px;
}
.module {
  height: 21px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 7px;
}
.shortcut {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: 7px;
  letter-spacing: 0.04em;
}
.shortcut kbd {
  width: 21px;
  height: 21px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.025);
  font-family: "Bahnschrift", sans-serif;
  font-size: 8px;
  color: var(--muted);
}
.pending-label { color: #b7924c; }
.pending { opacity: 0.71; }
.pending .module { opacity: 0.58; }
.pending .enter { border-style: dashed; }
.entry.ledger { --accent:#ff5a1f; --wash:rgba(255,90,31,0.065); }
.entry.sign { --accent:#67cf9e; --wash:rgba(103,207,158,0.045); }
.entry.cloud { --accent:#f4bd5d; --wash:rgba(244,189,93,0.04); }

.right-footer {
  margin-top: auto;
  min-height: 46px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  color: var(--muted-2);
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: 7px;
  letter-spacing: 0.04em;
}
.right-footer .left-note {
  padding-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.right-footer .left-note svg { width: 11px; height: 11px; }
.right-footer .right-note {
  margin-left: auto;
  padding-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.right-footer .right-note b { color: var(--muted); font-weight: 400; }
.right-footer .right-note i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #4f5451;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 20;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #181b1c;
  color: var(--ink-2);
  font-size: 10px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.38);
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1180px) {
  .top-nav { display: none; }
  .content { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .left { min-height: auto; padding-top: 20px; }
  .left::before { left: auto; right: -180px; top: -120px; width: 420px; }
  h1 { font-size: clamp(54px, 9vw, 82px); }
  .left-bottom { padding-top: 30px; }
  .right-footer { margin-top: 26px; }
}
@media (max-width: 720px) {
  .topbar { padding: 12px 18px; align-items: flex-start; }
  .brand-copy span, .time, .online, .admin-copy { display: none; }
  .top-right { gap: 0; }
  .admin-chip { padding-left: 0; border-left: 0; }
  .content { padding: 24px 18px; }
  .entry { padding: 17px 16px 15px; min-height: 0; }
  .entry-index { width: 32px; flex-basis: 32px; font-size: 18px; }
  .entry-name { font-size: 7px; }
  .entry-main { gap: 12px; }
  .entry-action .last { display: none; }
  .entry-copy h3 { font-size: 24px; }
  .entry-copy p { font-size: 8px; }
  .modules { max-width: 70%; overflow: hidden; }
  .shortcut { font-size: 6px; }
  .right-footer { align-items: flex-start; }
  .right-footer .right-note { display: none; }
}
