@charset "UTF-8";

:root {
  --bg: #f6f5f2;
  --surface: #fbfaf7;
  --surface-2: #efede7;
  --text: #171816;
  --muted: #74766f;
  --line: #deddd7;
  --header: rgba(246,245,242,.88);
  --shadow: 0 16px 50px rgba(25, 28, 23, .06);
  --tech: #e3ece7;
  --research: #e8e6f2;
  --pets: #f2e7df;
  --travel: #e5edf1;
  --moments: #eee9dc;
  --accent: #2f5f50;
  --max: 1180px;
}

:root[data-theme="dark"] {
  --bg: #121311;
  --surface: #191a17;
  --surface-2: #23241f;
  --text: #f1f0ea;
  --muted: #9fa098;
  --line: #30312d;
  --header: rgba(18,19,17,.88);
  --shadow: none;
  --tech: #1e2b26;
  --research: #262333;
  --pets: #30251f;
  --travel: #202b30;
  --moments: #2c291f;
  --accent: #9bcab8;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121311;
    --surface: #191a17;
    --surface-2: #23241f;
    --text: #f1f0ea;
    --muted: #9fa098;
    --line: #30312d;
    --header: rgba(18,19,17,.88);
    --shadow: none;
    --tech: #1e2b26;
    --research: #262333;
    --pets: #30251f;
    --travel: #202b30;
    --moments: #2c291f;
    --accent: #9bcab8;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 8%, color-mix(in srgb, var(--surface-2) 70%, transparent), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.shell { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}
.nav-shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 760;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand-mark { font-size: 25px; line-height: 1; color: var(--accent); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.is-active {
  background: var(--surface-2);
  color: var(--text);
}
.theme-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  flex: 0 0 auto;
}

.home-shell { padding-bottom: 88px; }
.hero {
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 84px 0 64px;
  max-width: 910px;
}
.eyebrow,
.section-kicker {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .17em;
  font-weight: 720;
}
.hero h1 {
  margin: 14px 0 24px;
  max-width: 900px;
  font-size: clamp(46px, 7.2vw, 86px);
  font-weight: 670;
  letter-spacing: -.055em;
  line-height: 1.05;
}
.hero-copy {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.hero-links {
  display: flex;
  gap: 24px;
  margin-top: 34px;
  font-size: 14px;
}
.hero-links a,
.text-link {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.section-block { margin-top: 80px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}
.section-heading h2,
.browse-card h2 {
  margin: 5px 0 0;
  font-size: clamp(27px, 3vw, 40px);
  letter-spacing: -.035em;
  line-height: 1.2;
}
.world-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.world-card {
  position: relative;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.world-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -65px;
  bottom: -90px;
  border: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
  border-radius: 50%;
}
.world-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.world-tech { grid-column: span 7; background: var(--tech); }
.world-research { grid-column: span 5; background: var(--research); }
.world-pets { grid-column: span 4; background: var(--pets); }
.world-travel { grid-column: span 4; background: var(--travel); }
.world-moments { grid-column: span 4; background: var(--moments); }

.world-index { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.world-card h3 { margin: 0 0 6px; font-size: 31px; letter-spacing: -.035em; }
.world-card p { margin: 0; max-width: 420px; color: var(--muted); }
.world-arrow { position: absolute; right: 22px; top: 20px; font-size: 22px; }

.recent-list {
  border-top: 1px solid var(--line);
}
.post-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.post-date { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.post-title { font-weight: 670; font-size: 18px; }
.post-title:hover { color: var(--accent); }
.post-main p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.section-chip {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
}
.empty-state {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.empty-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: .55; }
.large-empty {
  margin-top: 16px;
  min-height: 260px;
  border: 1px dashed var(--line);
  border-radius: 20px;
}

.browse-grid {
  margin-top: 86px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.browse-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  position: relative;
}
.browse-card:hover { background: var(--surface-2); }
.browse-card p { color: var(--muted); max-width: 300px; }
.browse-arrow { position: absolute; right: 24px; bottom: 22px; font-size: 22px; }

.page-shell { padding-bottom: 90px; }
.page-hero {
  padding: 90px 0 48px;
  max-width: 760px;
}
.page-hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(48px, 7vw, 78px);
  letter-spacing: -.055em;
  line-height: 1.05;
}
.page-hero p { color: var(--muted); font-size: 17px; max-width: 680px; }
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 60px;
}
.section-intro { margin-bottom: 28px; }
.content-side { padding-top: 6px; }
.side-box {
  position: sticky;
  top: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.side-label { color: var(--muted); font-size: 12px; letter-spacing: .12em; margin-bottom: 9px; }
.side-box a { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.side-box a + a { border-top: 1px solid var(--line); }

.article-shell { padding: 84px 0 90px; max-width: 1120px; }
.article-header { max-width: 820px; margin: 0 auto 46px; }
.article-section a { color: var(--accent); font-size: 13px; font-weight: 700; }
.article-header h1 {
  margin: 12px 0 17px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.article-meta { color: var(--muted); font-size: 13px; }
.article-summary { font-size: 19px; color: var(--muted); margin-top: 22px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag-row a {
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}
.cover { max-width: 1020px; margin: 0 auto 50px; }
.cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 24px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 230px;
  gap: 70px;
  justify-content: center;
}
.article-content { min-width: 0; }
.article-content h2 { margin-top: 2.2em; font-size: 29px; letter-spacing: -.025em; }
.article-content h3 { margin-top: 1.9em; font-size: 22px; }
.article-content p,
.article-content li { font-size: 17px; }
.article-content a { color: var(--accent); text-decoration: underline; text-underline-offset: .18em; }
.article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--surface-2);
  padding: 2px 5px;
  border-radius: 5px;
  font-size: .92em;
}
.article-content pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 14px;
  background: #1c1e1a;
  color: #eceee7;
}
.article-content pre code { background: transparent; padding: 0; }
.article-content blockquote {
  margin: 1.6em 0;
  padding: .15em 0 .15em 20px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}
.toc {
  position: sticky;
  top: 100px;
  align-self: start;
  color: var(--muted);
  font-size: 13px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.toc-title { color: var(--text); font-weight: 700; margin-bottom: 10px; }
.toc ul { padding-left: 0; list-style: none; }
.toc ul ul { padding-left: 12px; }
.toc a:hover { color: var(--text); }
.article-footer {
  max-width: 760px;
  margin: 60px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.archive-wrap { border-top: 1px solid var(--line); }
.archive-year {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.year-label { font-size: 38px; font-weight: 650; letter-spacing: -.04em; }
.archive-row {
  display: grid;
  grid-template-columns: 72px 1fr 70px;
  gap: 16px;
  padding: 11px 0;
}
.archive-row time,
.archive-row span { color: var(--muted); font-size: 13px; }
.archive-row a:hover { color: var(--accent); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 9px 12px;
  border-radius: 999px;
}
.tag-cloud a:hover { background: var(--surface-2); }
.tag-cloud small { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}
.footer-muted { color: var(--muted); }

@media (max-width: 900px) {
  .main-nav { gap: 0; }
  .main-nav a { padding-inline: 8px; }
  .world-tech, .world-research { grid-column: span 6; }
  .world-pets, .world-travel, .world-moments { grid-column: span 4; }
  .content-layout { grid-template-columns: 1fr; gap: 30px; }
  .content-side { display: none; }
  .article-layout { grid-template-columns: minmax(0, 760px); }
  .toc { display: none; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 30px, var(--max)); }
  .nav-shell { min-height: 62px; }
  .main-nav { display: none; }
  .theme-toggle { margin-left: auto; }
  .hero { min-height: 420px; padding-top: 62px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .section-block { margin-top: 64px; }
  .world-grid { grid-template-columns: 1fr; }
  .world-tech, .world-research, .world-pets, .world-travel, .world-moments {
    grid-column: auto;
    min-height: 205px;
  }
  .post-row { grid-template-columns: 1fr auto; }
  .post-date { grid-column: 1 / -1; }
  .browse-grid { grid-template-columns: 1fr; }
  .browse-card { min-height: 190px; }
  .page-hero { padding-top: 64px; }
  .archive-year { grid-template-columns: 1fr; gap: 12px; }
  .archive-row { grid-template-columns: 58px 1fr; }
  .archive-row span { display: none; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
}
