/* 墨屿笔记 —— 项目页样式（只作用于 /notes/，不改共享 style.css） */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.notes-wrap { max-width: 1080px; }

/* ---------------- 导航 ---------------- */
.notes-wrap .nav { margin-bottom: 46px; }
.notes-wrap .brand .mark {
  background: linear-gradient(135deg, var(--teal), var(--violet));
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Noto Serif SC", serif;
  font-size: 16px;
}
.notes-wrap .brand .muted { font-weight: 500; }
.notes-navlink { padding: 5px 11px; }
.notes-wrap .nav-right { flex-wrap: wrap; justify-content: flex-end; }

/* ---------------- Hero ---------------- */
.notes-hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 26px;
}
.hero-name {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--violet);
}
.notes-hero h1 { margin-bottom: 16px; }
.notes-hero .lead { max-width: 540px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; }
.chip {
  font-size: 11.5px;
  color: #b9c2d4;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.02em;
}
.chip-teal {
  color: #9fe8d8;
  border-color: rgba(94, 234, 212, 0.3);
  background: rgba(94, 234, 212, 0.08);
}
.btn.big { padding: 13px 22px; font-size: 14.5px; border-radius: 14px; }
.hero-foot { margin: 16px 0 0; font-size: 12px; color: #6f788c; }

/* ---------------- 平板预览 ---------------- */
.device-wrap { position: relative; }
.device-glow {
  position: absolute;
  inset: 2% 0 -12% 0;
  background:
    radial-gradient(closest-side, rgba(94, 234, 212, 0.22), transparent 72%),
    radial-gradient(closest-side, rgba(167, 139, 250, 0.22), transparent 72%);
  background-position: 0 0, 100% 100%;
  background-size: 70% 70%, 70% 70%;
  background-repeat: no-repeat;
  filter: blur(46px);
  pointer-events: none;
}
.tablet {
  position: relative;
  padding: 11px;
  border-radius: 30px;
  background: linear-gradient(155deg, #202838, #0a0d13 55%, #141b26);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(94, 234, 212, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
}
.tablet-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #0b0f16;
  border: 1px solid rgba(0, 0, 0, 0.6);
}
.tab-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 12px 3px;
  color: #9aa6ba;
  font-size: 8.5px;
  letter-spacing: 0.04em;
}
.tab-status-r { display: flex; align-items: center; gap: 5px; }
.tab-status-r svg { width: 9px; height: 9px; }
.tab-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 12px 7px;
  color: #dbe3f0;
}
.tab-back { font-size: 18px; line-height: 1; color: #8e9bb0; margin-top: -2px; }
.tab-title { flex: 1; min-width: 0; }
.tab-title b { display: block; font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-title small { display: block; font-size: 7.5px; color: #6f7b8e; margin-top: 1px; }
.tab-dots { color: #6f7b8e; font-size: 10px; letter-spacing: 0.12em; }
.paper {
  position: relative;
  margin: 0 9px;
  border-radius: 5px;
  overflow: hidden;
  background: #f7f4ea;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.paper-svg { display: block; width: 100%; height: auto; }
.selection-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 7.5px;
  color: #b8f3e7;
  background: rgba(12, 17, 24, 0.82);
  border: 1px solid rgba(94, 234, 212, 0.3);
  border-radius: 999px;
  padding: 2px 7px;
  backdrop-filter: blur(6px);
}
.tab-toolbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px 7px;
}
.tool {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #8e9bb0;
  background: rgba(255, 255, 255, 0.045);
}
.tool svg { width: 13px; height: 13px; }
.tool.active {
  color: #06070b;
  background: linear-gradient(135deg, var(--teal), #7dd3c0);
}
.tool-gap { margin-left: auto; }
.layer-card {
  position: absolute;
  right: 15px;
  top: 74px;
  width: 78px;
  padding: 5px;
  border-radius: 8px;
  background: rgba(15, 21, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.9);
  font-size: 7.5px;
}
.layer-head {
  color: #cfd8e6;
  font-weight: 600;
  padding: 1px 3px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2px;
}
.layer-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 4px;
  border-radius: 4px;
  color: #8e9bb0;
}
.layer-row.active { background: rgba(94, 234, 212, 0.13); color: #a7f3e5; }
.layer-row em { font-style: normal; opacity: 0.55; }
.tablet-cam {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 2px;
  height: 22px;
  border-radius: 2px;
  background: #2c3648;
  transform: translateY(-50%);
}
.device-caption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #6f788c;
}

/* 手写预览的入场动画：只做透明度与描线，不遮挡内容 */
@media (prefers-reduced-motion: no-preference) {
  .ink-graph path:nth-child(2) {
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
    animation: ink-draw 1.6s ease-out 0.35s forwards;
  }
  .ink text, .ink-graph text { animation: ink-fade 0.7s ease-out both; }
  .ink text:nth-of-type(3) { animation-delay: 0.15s; }
  .ink text:nth-of-type(4) { animation-delay: 0.3s; }
  .ink text:nth-of-type(5) { animation-delay: 0.45s; }
  .layer-card { animation: float-in 0.8s ease-out 0.5s both; }
}
@keyframes ink-draw { to { stroke-dashoffset: 0; } }
@keyframes ink-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes float-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------------- 下载 ---------------- */
.download-section, .features-section, .pen-section,
.install-section, .faq-section, .changelog-section { scroll-margin-top: 22px; }

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 30px;
  padding: 30px;
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(94, 234, 212, 0.11), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(167, 139, 250, 0.11), transparent 55%),
    rgba(255, 255, 255, 0.028);
  overflow: hidden;
}
.download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(460px circle at 12% -10%, rgba(94, 234, 212, 0.13), transparent 65%);
  pointer-events: none;
}
.dl-main, .dl-side { position: relative; z-index: 1; }
.dl-badge { display: flex; align-items: center; gap: 13px; }
.dl-badge .mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  color: #06070b;
  font-family: "Kaiti SC", "STKaiti", "KaiTi", serif;
  font-size: 23px;
  font-weight: 700;
}
.dl-badge b { display: block; font-size: 19px; letter-spacing: -0.01em; }
.dl-badge span {
  display: inline-block;
  margin-top: 3px;
  font-size: 11.5px;
  color: #9fe8d8;
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(94, 234, 212, 0.06);
}
.dl-lead { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); max-width: 480px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 16px 34px; margin: 20px 0 4px; }
.dl-meta span { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.dl-meta em { font-style: normal; font-size: 11px; letter-spacing: 0.05em; color: #7d879a; }
.dl-meta b { font-weight: 600; color: #e9edf5; }
.dl-note { margin: 14px 0 0; font-size: 11.8px; color: #6f788c; max-width: 480px; }
.dl-changelog {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #b9c2d4;
  border-left: 2px solid rgba(94, 234, 212, 0.45);
  padding-left: 11px;
  max-width: 480px;
}
.btn.is-pending { opacity: 0.55; filter: grayscale(0.35); cursor: not-allowed; }
.btn.is-pending:hover { transform: none; border-color: var(--line); background: rgba(255, 255, 255, 0.04); }

.dl-side {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sha-box {
  position: relative;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}
.sha-label { font-size: 9.5px; letter-spacing: 0.16em; color: #7d879a; }
.sha-box code {
  display: block;
  margin-top: 5px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 10.5px;
  line-height: 1.5;
  color: #9fe8d8;
  word-break: break-all;
}
.sha-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  font: inherit;
  font-size: 10.5px;
  color: #b9c2d4;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 2px 7px;
  cursor: pointer;
}
.sha-copy:hover { color: var(--teal); border-color: rgba(94, 234, 212, 0.35); }
.dl-facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.dl-facts li { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; color: #7d879a; }
.dl-facts b { font-weight: 600; font-size: 10.5px; letter-spacing: 0.06em; color: #aeb8c9; }
.dl-facts code {
  padding: 0;
  border: 0;
  background: none;
  font-size: 11px;
  color: #8fa0b5;
  word-break: break-all;
}

/* ---------------- 功能 ---------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  position: relative;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%),
    rgba(94, 234, 212, 0.1), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 234, 212, 0.28);
  background: var(--panel-hover);
}
.feature-card:hover::after { opacity: 1; }
.f-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(94, 234, 212, 0.13), rgba(167, 139, 250, 0.13));
  color: var(--teal);
}
.f-icon svg { width: 21px; height: 21px; }
.feature-card h3 { margin: 15px 0 7px; font-size: 16.5px; letter-spacing: -0.01em; }
.feature-card p { margin: 0; font-size: 13.2px; line-height: 1.68; color: var(--muted); }

/* ---------------- 手写笔 ---------------- */
.pen-panel {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(167, 139, 250, 0.1), transparent 58%),
    rgba(255, 255, 255, 0.028);
}
.pen-copy h2 { margin: 0 0 10px; font-size: clamp(23px, 3.1vw, 30px); letter-spacing: -0.02em; }
.pen-lead { margin: 0 0 20px; color: var(--muted); font-size: 13.8px; }
.pen-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.pen-list li { position: relative; padding-left: 19px; }
.pen-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.08);
}
.pen-list b { display: block; font-size: 13.8px; margin-bottom: 1px; }
.pen-list span { color: var(--muted); font-size: 12.8px; line-height: 1.6; }

.diag {
  align-self: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(6, 8, 12, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.diag-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #dbe3f0; }
.diag-head em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #8fe3d3;
}
.diag-head em i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
  animation: pulse 2.6s ease-in-out infinite;
}
.diag-curve { width: 100%; height: auto; margin: 10px 0 4px; }
.diag-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.diag-stats div {
  padding: 8px 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.032);
  text-align: center;
}
.diag-stats b { display: block; font-size: 15px; color: var(--teal); letter-spacing: -0.02em; }
.diag-stats span { font-size: 9.5px; color: #7d879a; }
.diag-foot { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.diag-chip {
  font-size: 10.5px;
  color: #9fe8d8;
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
  background: rgba(94, 234, 212, 0.05);
}
.diag-chip-violet {
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.28);
  background: rgba(167, 139, 250, 0.06);
}
.diag-caption { margin: 12px 0 0; font-size: 10.5px; color: #6f788c; }

/* ---------------- 安装 ---------------- */
.install-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: stretch; }
.install-steps {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.install-steps h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: -0.01em; }
.install-steps .sub { margin: 0; font-size: 13px; color: var(--muted); }
.install-steps code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #cfe9e4;
  background: rgba(94, 234, 212, 0.06);
  border: 1px solid rgba(94, 234, 212, 0.14);
  padding: 1px 5px;
  border-radius: 5px;
}
.callout {
  padding: 26px;
  border: 1px solid rgba(244, 114, 182, 0.3);
  border-radius: 20px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(244, 114, 182, 0.12), transparent 60%),
    rgba(244, 114, 182, 0.045);
}
.callout h3 { margin: 0 0 10px; font-size: 15px; color: #ffd7e6; }
.callout p { margin: 0; font-size: 13.2px; line-height: 1.72; color: #c9b2bf; }
.callout-sub { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid rgba(244, 114, 182, 0.16); font-size: 12px !important; color: #a98f9d !important; }

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 10px; }
.faq {
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.faq:hover { border-color: rgba(94, 234, 212, 0.22); }
.faq[open] { background: rgba(255, 255, 255, 0.055); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  font-size: 14.2px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-weight: 400; font-size: 18px; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 0 16px; font-size: 13.3px; line-height: 1.72; color: var(--muted); }
.faq p code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: #cfe9e4;
  background: rgba(94, 234, 212, 0.06);
  border: 1px solid rgba(94, 234, 212, 0.14);
  padding: 1px 5px;
  border-radius: 5px;
  word-break: break-all;
}

/* ---------------- 更新日志 ---------------- */
.release-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(100% 130% at 0% 0%, rgba(94, 234, 212, 0.07), transparent 55%),
    var(--panel);
}
.release-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.release-card h3 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
.release-card header p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.release-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #06070b;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  border-radius: 999px;
  padding: 3px 10px;
}
.release-tag.legacy {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.release-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 26px; }
.release-grid h4 { margin: 0 0 4px; font-size: 12.5px; color: var(--teal); letter-spacing: 0.04em; }
.release-grid p { margin: 0; font-size: 12.5px; line-height: 1.66; color: var(--muted); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .notes-hero { grid-template-columns: 1fr; gap: 34px; }
  .device-wrap { max-width: 540px; margin: 0 auto; width: 100%; }
  .tablet { transform: none; }
  .download-panel { grid-template-columns: 1fr; gap: 22px; }
  .dl-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 20px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pen-panel { grid-template-columns: 1fr; gap: 24px; }
  .install-grid { grid-template-columns: 1fr; }
  .release-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .notes-wrap .brand .muted { display: none; }
  .notes-navlink { display: none; }
  .notes-wrap .nav { gap: 10px; }
}

@media (max-width: 640px) {
  .notes-wrap { padding-left: 16px; padding-right: 16px; }
  .hero-name { letter-spacing: 0.24em; }
  .notes-hero h1 { font-size: clamp(30px, 9vw, 42px); }
  .feature-grid { grid-template-columns: 1fr; }
  .release-grid { grid-template-columns: 1fr; }
  .download-panel, .pen-panel, .install-steps, .callout, .release-card { padding: 20px; }
  .dl-meta { gap: 12px 22px; }
  .diag-stats b { font-size: 13px; }
  .layer-card { display: none; }
  .section-title { margin-top: 36px; }
  .device-caption { font-size: 10.5px; }
}

/* ================= 发布管理 /notes/admin/ ================= */
.admin-wrap { max-width: 900px; }
.admin-wrap h1 { font-size: clamp(30px, 5vw, 42px); }
.admin-wrap code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #cfe9e4;
  background: rgba(94, 234, 212, 0.06);
  border: 1px solid rgba(94, 234, 212, 0.14);
  padding: 1px 5px;
  border-radius: 5px;
  word-break: break-all;
}

.admin-current {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 22px;
  align-items: start;
  margin: 22px 0 18px;
  padding: 22px 24px;
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(100% 140% at 0% 0%, rgba(94, 234, 212, 0.09), transparent 60%),
    var(--panel);
}
.cur-item { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cur-item span { font-size: 10.5px; letter-spacing: 0.07em; color: #7d879a; }
.cur-item b { font-size: 17px; letter-spacing: -0.01em; }
.cur-item code { font-size: 11px; }
.cur-wide { grid-column: 1 / -1; }
.cur-wide code { display: block; padding: 5px 7px; font-size: 11px; }
.cur-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }

.admin-panel { padding: 24px 26px; }
.admin-panel h2 { font-size: 17px; }
.admin-panel code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: #cfe9e4;
  background: rgba(94, 234, 212, 0.06);
  border: 1px solid rgba(94, 234, 212, 0.13);
  padding: 1px 5px;
  border-radius: 5px;
  word-break: break-all;
}
.admin-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: start; }
.admin-textarea { min-height: 86px; resize: vertical; line-height: 1.55; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: #b9c2d4;
  cursor: pointer;
}
.check input { margin-top: 3px; accent-color: #5eead4; width: 15px; height: 15px; }
.check code { font-size: 11px; }
.admin-hint { font-size: 11.5px; color: #6f788c; }
.upload-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.upload-progress i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  transition: width 0.2s ease;
}
.alert.ok {
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(94, 234, 212, 0.08);
  color: #c9fff3;
}
.admin-empty { margin: 0; font-size: 13px; color: #6f788c; padding: 8px 0; }

.release-list { display: grid; gap: 10px; margin-top: 6px; }
.rel-row {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}
.rel-row.is-current {
  border-color: rgba(94, 234, 212, 0.3);
  background: rgba(94, 234, 212, 0.055);
}
.rel-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rel-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rel-title b { font-size: 15.5px; }
.rel-badge {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #06070b;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  border-radius: 999px;
  padding: 1px 8px;
}
.rel-badge-draft { color: #c4b5fd; background: rgba(167, 139, 250, 0.14); border: 1px solid rgba(167, 139, 250, 0.3); }
.rel-main small { font-size: 11.5px; color: #7d879a; }
.rel-main code { font-size: 10.5px; color: #8fa0b5; background: none; border: 0; padding: 0; word-break: break-all; }
.rel-notes {
  margin: 4px 0 0;
  font-size: 12.3px;
  line-height: 1.6;
  color: #aeb8c9;
  border-left: 2px solid rgba(94, 234, 212, 0.25);
  padding-left: 9px;
  max-width: 560px;
}
.rel-actions { display: flex; gap: 7px; flex-shrink: 0; }
.rel-del { color: #f9a8d4; border-color: rgba(244, 114, 182, 0.3); }
.rel-del:hover { background: rgba(244, 114, 182, 0.1); border-color: rgba(244, 114, 182, 0.45); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0 14px; }
.stat-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.028);
  text-align: center;
}
.stat-grid b { display: block; font-size: 17px; color: var(--teal); letter-spacing: -0.02em; }
.stat-grid span { font-size: 10.5px; color: #7d879a; }

@media (max-width: 720px) {
  .admin-current { grid-template-columns: 1fr 1fr; padding: 18px; }
  .admin-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .rel-row { flex-direction: column; gap: 10px; }
  .rel-actions { width: 100%; }
}


.release-roadmap{margin:18px 0 0;padding:10px 0 0 14px;border-left:2px solid rgba(167,139,250,.55);color:var(--muted);font-size:12.5px;line-height:1.7}
