﻿:root {
  --bg: #eef4ff;
  --card: #fff;
  --text: #172033;
  --muted: #667085;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --red: #dc2626;
  --gray: #64748b;
  --line: #e5e7eb;
  --shadow: 0 20px 60px rgba(37, 99, 235, .14);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at left top, #dbeafe, transparent 520px), var(--bg);
}
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0; }
.hero {
  padding: 52px;
  margin-bottom: 24px;
  color: white;
  border-radius: 30px;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  box-shadow: var(--shadow);
}
.hero.small { padding: 36px; }
.hero span, em {
  display: inline-flex;
  padding: 4px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  color: #1e40af;
  background: #dbeafe;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.hero span { color: white; background: rgba(255,255,255,.18); letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0 0 12px; font-size: clamp(32px, 5vw, 54px); }
h2, h3, p { margin-top: 0; }
.hero p { max-width: 700px; margin-bottom: 0; font-size: 18px; opacity: .9; }
.panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}
.narrow { max-width: 480px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-title a, .links a { color: var(--blue); font-weight: 800; text-decoration: none; }
.list { display: grid; gap: 16px; }
.version-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.version-card h3 { margin-bottom: 10px; }
.version-card small { color: var(--muted); font-weight: 500; }
.version-card p { color: #344054; line-height: 1.7; }
.version-card b, .meta { color: var(--muted); font-size: 14px; font-weight: 500; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  color: white;
  background: var(--blue);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--blue-dark); }
.btn.gray { background: var(--gray); }
.btn.danger { background: var(--red); }
.btn.inline { margin-top: 16px; }
.detail-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.features { margin-top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.features ul { margin: 0 0 0 20px; padding: 0; color: #344054; line-height: 1.9; }
.links { display: flex; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: minmax(320px, .85fr) 1.15fr; gap: 24px; align-items: start; }
.form { display: grid; gap: 16px; }
label { display: grid; gap: 8px; color: #344054; font-weight: 800; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  background: white;
  font: inherit;
}
textarea { resize: vertical; }
.check { display: flex; align-items: center; flex-direction: row; }
.check input { width: auto; }
.ok { color: var(--blue); font-weight: 800; }
.error { color: var(--red); font-weight: 800; }
.empty { color: var(--muted); }
.admin-card { align-items: flex-start; }
@media (max-width: 760px) {
  .wrap { width: min(100% - 20px, 1080px); padding: 20px 0; }
  .hero, .hero.small { padding: 28px; border-radius: 24px; }
  .panel { padding: 20px; }
  .version-card, .panel-title, .detail-top { align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}
