:root {
  color-scheme: light;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  --bg: #fff7f0;
  --surface: #ffffff;
  --surface-2: #ffe5d9;
  --text: #5f3c2d;
  --muted: #8a6e5f;
  --accent: #ff8c6a;
  --accent-2: #f9c5d1;
  --shadow: 0 16px 40px rgba(248, 150, 107, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(180deg, #fff7f0 0%, #fff1ed 100%);
  color: var(--text);
}

body {
  padding: 24px;
}

.page-shell {
  max-width: 960px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 32px;
  background: radial-gradient(circle at top left, #ffe8d1 0%, #ffd3c2 50%, #fff7f0 100%);
  box-shadow: var(--shadow);
}

.hero-text h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.03em;
}

.hero-text p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-illu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  font-size: 3rem;
  background: #ffd1db;
  border-radius: 50%;
  box-shadow: inset 0 10px 0 rgba(255,255,255,0.7);
}

main {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.card {
  background: var(--surface);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #bb4d42;
}

label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

input[type="text"],
input[type="date"],
input[type="url"],
textarea {
  width: 100%;
  border: 2px solid #ffdad1;
  border-radius: 18px;
  padding: 12px 14px;
  background: #fff6f2;
  color: var(--text);
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,140,106,0.15);
}

textarea {
  resize: vertical;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8c6a 0%, #ffb9a3 100%);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(255, 140, 106, 0.24);
}

.entries-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.entries {
  display: grid;
  gap: 18px;
}

.entry-card {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff1ea 0%, #ffe7dc 100%);
  border: 1px solid rgba(255, 145, 105, 0.15);
}

.entry-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.entry-card time {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.entry-card p {
  margin: 0 0 12px;
  line-height: 1.7;
}

.entry-image {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.8);
}

footer {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-illu {
    margin: 0 auto;
  }
}
