:root {
  --bg: #11161e;
  --surface: #171e29;
  --surface-2: #1b2431;
  --line: rgba(255,255,255,.09);
  --text: #f4f7fb;
  --muted: #95a2b3;
  --cyan: #38d6ff;
  --violet: #7b5cff;
  --pink: #e74cff;
  --orange: #ff9c45;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 4% 8%, rgba(38,104,255,.20), transparent 26%),
    radial-gradient(circle at 96% 4%, rgba(163,57,255,.17), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.page { width: min(1180px, calc(100% - 32px)); margin: 28px auto 0; }
.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--cyan), var(--violet) 55%, var(--pink));
  box-shadow: 0 10px 30px rgba(84,86,255,.28); font-size: 20px;
}
nav { display: flex; align-items: center; gap: 8px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); }
nav a { color: #aeb8c5; font-size: 13px; padding: 9px 18px; border-radius: 999px; }
nav a.active, nav a:hover { color: white; background: rgba(255,255,255,.08); }
.hero {
  position: relative;
  min-height: 470px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 55px;
  overflow: hidden;
  padding: 64px 64px;
  border: 1px solid rgba(93,130,255,.28);
  border-radius: 34px;
  background:
    linear-gradient(105deg, rgba(7,18,39,.98) 0%, rgba(11,27,64,.91) 45%, rgba(18,24,48,.82) 100%);
  box-shadow: 0 26px 80px rgba(0,0,0,.26);
}
.hero-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: .95; }
.wave { position: absolute; width: 680px; height: 155px; border-radius: 60% 40% 55% 45%; filter: blur(.3px); transform: rotate(-18deg); }
.wave-a { right: -90px; top: 10px; background: linear-gradient(90deg, transparent 0%, #245eff 22%, #1fd8ff 45%, #9d4dff 68%, transparent 100%); opacity: .82; }
.wave-b { right: -130px; top: 155px; background: linear-gradient(90deg, transparent 0%, #1d75ff 20%, #ff52b8 56%, #ff9d38 77%, transparent 100%); opacity: .78; transform: rotate(-28deg); }
.wave-c { right: -160px; bottom: 25px; background: linear-gradient(90deg, transparent 0%, #304cff 18%, #7f45ff 52%, #e947ff 72%, transparent 100%); opacity: .58; transform: rotate(-9deg); }
.hero-copy, .version-card { position: relative; z-index: 2; }
.eyebrow { color: #72d9ff; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
h1 { margin: 15px 0 18px; font-size: clamp(48px, 5.5vw, 76px); line-height: 1.04; letter-spacing: -.055em; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--cyan), #a86cff 52%, #ff62c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p { color: #b2becc; font-size: 16px; line-height: 1.8; max-width: 560px; margin: 0; }
.actions { display: flex; align-items: center; gap: 13px; margin-top: 30px; flex-wrap: wrap; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; height: 54px; border-radius: 16px; padding: 0 22px; font-size: 14px; font-weight: 750; transition: .18s ease; }
.primary { min-width: 248px; background: linear-gradient(100deg, #28bffc, #6d58ff 55%, #da4cff); box-shadow: 0 12px 34px rgba(76,92,255,.33); }
.primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(76,92,255,.42); }
.primary.disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.primary span { margin-left: 18px; font-size: 18px; }
.secondary { border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.055); color: #d9e0e8; }
.secondary:hover { background: rgba(255,255,255,.09); }
.version-card {
  justify-self: end;
  width: min(100%, 380px);
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(145deg, rgba(82,126,255,.28), rgba(22,34,64,.70) 48%, rgba(111,50,176,.24));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 24px 70px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}
.card-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; }
.badge { color: #b9ffd3; background: rgba(46,219,121,.11); border: 1px solid rgba(59,223,129,.20); border-radius: 999px; padding: 6px 10px; font-size: 10px; }
.version { display: block; font-size: 47px; line-height: 1; letter-spacing: -.04em; margin: 16px 0 22px; }
dl { margin: 0; display: grid; gap: 0; }
dl div { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.07); }
dt { color: #8492a6; font-size: 11px; }
dd { margin: 0; color: #e7edf5; font-size: 11px; overflow-wrap: anywhere; }
.hash { width: 100%; margin-top: 16px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; text-align: left; color: #a8b4c3; background: rgba(7,12,24,.32); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 12px 13px; cursor: pointer; }
.hash span, .hash b { font-size: 9px; }
.hash b { color: #6edcff; }
.hash code { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #d4dce7; font-size: 10px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.panel { position: relative; overflow: hidden; min-height: 300px; padding: 30px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(28,37,50,.96), rgba(20,27,37,.98)); }
.panel::after { content: ""; position: absolute; width: 250px; height: 80px; right: -40px; top: -30px; filter: blur(30px); opacity: .22; background: linear-gradient(90deg, var(--cyan), var(--pink), var(--orange)); }
.panel-title { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.panel-title span { color: #778497; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.panel-title h2 { margin: 7px 0 0; font-size: 24px; }
.panel-title time, .panel-title small { color: #7f8b9b; font-size: 10px; margin-top: 7px; }
.notes { position: relative; z-index: 1; list-style: none; margin: 27px 0 0; padding: 0; display: grid; gap: 16px; }
.notes li { display: grid; grid-template-columns: 32px 1fr; gap: 13px; align-items: start; }
.note-no { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(56,214,255,.18), rgba(123,92,255,.22)); border: 1px solid rgba(255,255,255,.08); color: #dff7ff; font-size: 10px; font-weight: 800; }
.note-text { color: #dbe2eb; font-size: 13px; line-height: 1.6; }
.history { position: relative; z-index: 1; margin-top: 25px; display: grid; }
.history-row { display: grid; grid-template-columns: 78px 92px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.065); }
.history-row:first-child { border-top: 0; padding-top: 4px; }
.history-row strong { font-size: 12px; }
.history-row time, .history-row p { margin: 0; color: #8996a7; font-size: 10px; }
.history-row p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.history-row a { color: #dfe7f1; border: 1px solid rgba(255,255,255,.10); border-radius: 999px; padding: 6px 10px; font-size: 9px; }
.history-row a.disabled { opacity: .35; pointer-events: none; }
footer { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #667383; font-size: 10px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 14px); opacity: 0; pointer-events: none; padding: 11px 15px; border-radius: 999px; background: #0d131c; border: 1px solid rgba(255,255,255,.11); box-shadow: 0 15px 40px rgba(0,0,0,.34); color: #e9eef5; font-size: 11px; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.empty { color: #7f8b9a; font-size: 12px; padding: 16px 0; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 48px 34px; }
  .version-card { justify-self: start; width: min(100%, 560px); }
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page { width: min(100% - 20px, 1180px); margin-top: 10px; }
  .topbar { height: 64px; }
  .brand { font-size: 13px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
  nav a { padding: 8px 12px; font-size: 11px; }
  .hero { min-height: 0; border-radius: 24px; padding: 38px 22px; }
  h1 { font-size: 46px; }
  .hero-copy p { font-size: 14px; }
  .primary, .secondary { width: 100%; }
  .panel { padding: 24px 20px; border-radius: 22px; }
  .history-row { grid-template-columns: 72px 1fr auto; }
  .history-row time { display: none; }
  footer { flex-direction: column; justify-content: center; gap: 5px; }
}
