:root {
  color-scheme: light;
  --bg: #edf2f6;
  --panel: rgba(255, 255, 255, 0.94);
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.22);
  --blue: #0a84ff;
  --shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.95), transparent 38%),
    radial-gradient(circle at 100% 0%, rgba(173, 217, 255, 0.42), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(255, 224, 186, 0.18), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
  color: var(--ink);
}

svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.home-shell {
  display: grid;
  width: min(860px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 24px;
  align-content: center;
  gap: 30px;
}

.home-header {
  text-align: center;
}

.home-header h1 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.12;
}

.entry-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 32px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.entry-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.entry-card:hover,
.entry-card:focus,
.entry-card:focus-visible,
.entry-card:active {
  border-color: transparent;
  background: linear-gradient(180deg, var(--blue) 0%, #0a65e8 100%);
  color: #fff;
  box-shadow: 0 18px 30px rgba(10, 132, 255, 0.24);
  transform: translateY(-2px);
}

.entry-card:active {
  transform: translateY(0);
}

.entry-icon {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 24px;
  background: rgba(10, 132, 255, 0.1);
  color: var(--blue);
}

.entry-icon svg {
  width: 31px;
  height: 31px;
}

.entry-card:hover .entry-icon,
.entry-card:focus .entry-icon,
.entry-card:focus-visible .entry-icon,
.entry-card:active .entry-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.entry-card:hover .entry-copy strong,
.entry-card:focus .entry-copy strong,
.entry-card:focus-visible .entry-copy strong,
.entry-card:active .entry-copy strong {
  color: #fff;
}

.entry-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.entry-copy strong {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
}

.entry-copy small {
  color: var(--muted);
  font-size: clamp(15px, 2.4vw, 18px);
  line-height: 1.45;
}

.entry-card:hover .entry-copy small,
.entry-card:focus .entry-copy small,
.entry-card:focus-visible .entry-copy small,
.entry-card:active .entry-copy small {
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 620px) {
  .home-shell {
    padding: 24px 16px;
  }

  .entry-panel {
    border-radius: 24px;
    padding: 16px;
  }

  .entry-card {
    align-items: flex-start;
    min-height: 128px;
    padding: 20px;
    border-radius: 22px;
  }

  .entry-icon {
    width: 53px;
    height: 53px;
    border-radius: 20px;
  }
}
