:root {
  color-scheme: dark;
  --bg: #070708;
  --panel: #101014;
  --panel-2: #15151a;
  --text: #f6f6f7;
  --muted: #9b9ba5;
  --soft: #73737d;
  --line: #292932;
  --accent: #f30722;
  --accent-soft: rgba(243, 7, 34, 0.13);
  --ok: #27d27d;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(243, 7, 34, 0.10), transparent 260px),
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.08), transparent 430px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Noto Sans", sans-serif;
  letter-spacing: 0;
}
a { color: inherit; }
.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}
.shell { width: min(920px, 100%); }
.topbar, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; width: 142px; height: auto; }
.language {
  min-width: 176px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 16, 20, 0.86);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  padding: 11px 38px 11px 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.panel {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 16, 20, 0.86);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  backdrop-filter: blur(18px);
}
.hero {
  padding: 42px 42px 24px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
}
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 6px rgba(39, 210, 125, 0.1);
}
.entries {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.entry {
  min-height: 132px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  background: var(--panel);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}
.entry:hover { background: var(--panel-2); }
.entry.primary {
  background:
    linear-gradient(135deg, var(--accent-soft), transparent 62%),
    var(--panel);
}
.entry-name {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}
.entry-type {
  display: block;
  margin-top: 8px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.2;
}
.entry-action {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}
.footer {
  margin-top: 18px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }
[dir="rtl"] .language { padding: 11px 12px 11px 38px; }
@media (max-width: 860px) {
  .entries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry.primary { grid-column: span 2; }
}
@media (max-width: 560px) {
  .page { min-height: auto; place-items: start center; padding: 18px; }
  .topbar { align-items: center; gap: 14px; }
  .topbar label { flex: 1; min-width: 0; }
  .logo { flex: 0 0 auto; }
  .logo img { width: 118px; }
  .language { width: 100%; min-width: 0; font-size: 13px; padding-top: 10px; padding-bottom: 10px; }
  .panel { margin-top: 22px; }
  .hero { padding: 28px 22px 18px; }
  .eyebrow { margin-bottom: 12px; font-size: 11px; }
  h1 { font-size: clamp(36px, 11vw, 44px); line-height: 1.04; }
  .status { margin-top: 16px; font-size: 14px; }
  .entries { display: block; background: transparent; }
  .entry,
  .entry.primary {
    grid-column: auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    border-top: 1px solid var(--line);
  }
  .entry:first-child { border-top: 0; }
  .entry-name { font-size: 18px; overflow-wrap: anywhere; }
  .entry-type { margin-top: 5px; font-size: 12px; }
  .entry-action {
    min-width: 54px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(243, 7, 34, 0.36);
    border-radius: 999px;
    background: rgba(243, 7, 34, 0.08);
  }
  .footer {
    margin-top: 16px;
    align-items: center;
    flex-direction: row;
    font-size: 12px;
  }
  .footer span { max-width: 72%; }
}
@media (max-width: 340px) {
  .topbar { align-items: stretch; flex-direction: column; }
  .language { width: 100%; }
}
