:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --primary: #1688f8;
  --text-strong: #17233d;
  --text-muted: #66758b;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text-strong);
  background: linear-gradient(145deg, #edf6ff 0%, #f6f9fc 48%, #eef5fb 100%);
}

.home-page {
  display: grid;
  min-height: 100vh;
  padding: 32px;
  place-items: center;
}

.home-content {
  width: min(960px, 100%);
  padding: 54px 56px 60px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2ebf4;
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(40, 92, 138, 0.12);
}

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

.home-badge {
  display: inline-grid;
  width: 54px;
  height: 54px;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  overflow: hidden;
  background: var(--primary);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(22, 136, 248, 0.26);
  place-items: center;
}

.home-badge img {
  display: block;
  width: 50%;
  height: 50%;
  object-fit: cover;
}

.home-heading h1 {
  margin: 18px 0 8px;
  font-size: 2rem;
}

.home-heading p {
  margin: 0;
  color: var(--text-muted);
}

.tutorial-entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.entry-card {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 24px;
  align-items: center;
  min-height: 150px;
  padding: 28px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dce7f1;
  border-radius: 13px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.entry-card:hover,
.entry-card:focus-visible {
  transform: translateY(-4px);
  border-color: #8fc8ff;
  box-shadow: 0 14px 30px rgba(31, 92, 143, 0.14);
}

.entry-card:focus-visible { outline: 3px solid rgba(22, 136, 248, 0.25); }

.entry-icon {
  display: grid;
  width: 58px;
  height: 58px;
  color: var(--primary);
  background: #e9f4ff;
  border-radius: 14px;
  place-items: center;
}

.user-entry .entry-icon { color: #4278e8; background: #edf1ff; }
.entry-icon svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.entry-copy { display: flex; flex-direction: column; min-width: 0; padding: 0 17px; }
.entry-copy strong { font-size: 1.35rem; }
.entry-copy small { margin-top: 9px; color: var(--text-muted); font-size: .92rem; line-height: 1.5; }
.entry-arrow { width: 24px; fill: none; stroke: #8da0b5; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 700px) {
  .home-page { padding: 16px; }
  .home-content { padding: 38px 20px 28px; }
  .tutorial-entries { grid-template-columns: 1fr; margin-top: 30px; }
  .entry-card { min-height: 126px; padding: 22px; }
}
