:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-deep: #f6faee;
  --panel: rgba(255, 252, 241, 0.86);
  --panel-strong: rgba(253, 249, 230, 0.96);
  --line: rgba(108, 122, 73, 0.14);
  --text: #3d4526;
  --muted: #6f7851;
  --green: #3e9f69;
  --red: #d76b54;
  --gold: #d89d2b;
  --leaf: #75b55a;
  --peach: #f4d09a;
  --cream: #fff8df;
  --shadow: 0 24px 70px rgba(118, 137, 77, 0.14);
}

body.birthday-page {
  --panel: rgba(146, 12, 18, 0.86);
  --panel-strong: rgba(170, 18, 24, 0.94);
  --line: rgba(255, 214, 124, 0.22);
  --text: #fff3dd;
  --muted: #ffd89a;
  --leaf: #ffca66;
  --shadow: 0 24px 70px rgba(104, 7, 12, 0.34);
}

body.festival-spring-page {
  --panel: rgba(126, 18, 26, 0.88);
  --panel-strong: rgba(153, 26, 34, 0.94);
  --line: rgba(255, 215, 122, 0.22);
  --text: #fff2d4;
  --muted: #ffd996;
  --leaf: #ffcf65;
  --shadow: 0 24px 70px rgba(111, 8, 14, 0.28);
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 214, 116, 0.22), transparent 18%),
    radial-gradient(circle at 86% 18%, rgba(255, 188, 94, 0.18), transparent 18%),
    linear-gradient(180deg, #8f0f14 0%, #bc1d24 42%, #d72f2f 100%) !important;
}

body.festival-midautumn-page {
  --panel: rgba(27, 36, 79, 0.86);
  --panel-strong: rgba(36, 48, 101, 0.94);
  --line: rgba(255, 225, 149, 0.2);
  --text: #f6eecf;
  --muted: #d5c79b;
  --leaf: #f3c861;
  --shadow: 0 24px 70px rgba(13, 18, 46, 0.28);
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 237, 177, 0.22), transparent 15%),
    radial-gradient(circle at 20% 16%, rgba(132, 156, 255, 0.18), transparent 18%),
    linear-gradient(180deg, #10172d 0%, #1a2453 48%, #27346c 100%) !important;
}

body.festival-preheat-page:not(.birthday-page)::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 232, 164, 0.04), transparent 34%);
}

body.festival-spring-page .sky-left {
  background: rgba(255, 193, 93, 0.34);
}

body.festival-spring-page .sky-right {
  background: rgba(255, 128, 82, 0.28);
}

body.festival-midautumn-page .sky-left {
  background: rgba(110, 132, 255, 0.22);
}

body.festival-midautumn-page .sky-right {
  background: rgba(255, 236, 176, 0.26);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 228, 162, 0.18), transparent 18%),
    radial-gradient(circle at 85% 14%, rgba(160, 214, 152, 0.16), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #fcfef8 42%, #f6faee 100%);
}

body.birthday-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 210, 104, 0.18), transparent 16%),
    radial-gradient(circle at 86% 16%, rgba(255, 228, 156, 0.14), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(255, 176, 94, 0.12), transparent 24%),
    linear-gradient(180deg, #8f0f14 0%, #b5161c 38%, #d62828 100%);
}

.sky {
  position: fixed;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  filter: blur(75px);
  opacity: 0.48;
  pointer-events: none;
}

.sky-left {
  top: -4rem;
  left: -5rem;
  background: rgba(255, 220, 162, 0.45);
}

.sky-right {
  right: -5rem;
  bottom: -5rem;
  background: rgba(165, 216, 152, 0.42);
}

body.birthday-page .sky-left {
  background: rgba(255, 193, 93, 0.24);
}

body.birthday-page .sky-right {
  background: rgba(255, 214, 120, 0.22);
}

.app-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 54px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(108, 122, 73, 0.1);
}

body.birthday-page .site-nav {
  background: rgba(133, 12, 18, 0.72);
  border-bottom-color: rgba(255, 214, 124, 0.18);
}

.site-nav-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-brand,
.site-nav-link {
  text-decoration: none;
}

.site-brand {
  font-family: "ZCOOL KuaiLe", cursive;
  font-size: 1.35rem;
  color: #7b4b16;
}

body.birthday-page .site-brand {
  color: #ffe7ab;
}

body.festival-spring-page .site-brand,
body.festival-midautumn-page .site-brand {
  color: #fff0c8;
}

.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 800;
  background: rgba(255, 248, 224, 0.84);
  border: 1px solid rgba(122, 179, 93, 0.18);
  transition:
    transform 180ms ease,
    filter 180ms ease,
    background 180ms ease;
}

.site-nav-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.site-nav-link.is-active {
  background: linear-gradient(135deg, #6f9b3d 0%, #8cb65a 100%);
  color: #fffbea;
  border-color: transparent;
}

body.birthday-page .site-nav-link {
  background: rgba(129, 16, 20, 0.84);
  border-color: rgba(255, 209, 107, 0.22);
  color: #ffe8b0;
}

body.festival-spring-page .site-nav-link,
body.festival-midautumn-page .site-nav-link {
  background: rgba(255, 248, 224, 0.12);
  border-color: rgba(255, 215, 122, 0.16);
  color: #fff0c8;
}

body.festival-spring-page .site-nav-link.is-active,
body.festival-midautumn-page .site-nav-link.is-active {
  background: linear-gradient(135deg, #ffd46f 0%, #ffb347 100%);
  color: #6b260e;
}

body.birthday-page .site-nav-link.is-active {
  background: linear-gradient(135deg, #ffd46f 0%, #ffb347 100%);
  color: #8b1f12;
}

.hero,
.metrics-grid,
.content-grid,
.board {
  animation: float-up 0.55s ease both;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "ZCOOL KuaiLe", cursive;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  max-width: 14ch;
  color: #7b4b16;
  text-wrap: balance;
}

.typing-headline {
  min-height: 2.5em;
  position: relative;
}

.typing-headline.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.92em;
  margin-left: 0.12em;
  vertical-align: -0.08em;
  background: currentColor;
  animation: typing-caret 0.9s steps(1) infinite;
}

.birthday-hero-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 247, 204, 0.9), transparent 30%),
    radial-gradient(circle at 80% 35%, rgba(255, 238, 184, 0.85), transparent 28%),
    linear-gradient(135deg, rgba(255, 222, 128, 0.98) 0%, rgba(255, 170, 86, 0.98) 100%);
  border: 1px solid rgba(216, 157, 43, 0.36);
  box-shadow:
    0 18px 34px rgba(216, 157, 43, 0.18),
    inset 0 1px 0 rgba(255, 248, 214, 0.7);
}

body.birthday-page .birthday-hero-banner {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 244, 197, 0.28), transparent 26%),
    radial-gradient(circle at 80% 35%, rgba(255, 232, 166, 0.24), transparent 24%),
    linear-gradient(135deg, rgba(155, 11, 19, 0.98) 0%, rgba(196, 20, 28, 0.98) 58%, rgba(225, 46, 42, 0.98) 100%);
  border: 1px solid rgba(255, 209, 107, 0.4);
  box-shadow:
    0 20px 38px rgba(95, 5, 10, 0.28),
    inset 0 1px 0 rgba(255, 226, 150, 0.24);
}

.birthday-hero-text {
  color: #8e5306;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 rgba(255, 248, 214, 0.7);
}

body.birthday-page .birthday-hero-text {
  color: #ffe39d;
  text-shadow: 0 1px 0 rgba(86, 10, 10, 0.4);
}

.hero-rocket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  filter: drop-shadow(0 6px 10px rgba(216, 157, 43, 0.2));
}

.hero-rocket-left,
.hero-rocket-right {
  font-size: 1.8rem;
}

.hero-rocket-mid {
  font-size: 1.35rem;
}

.hero-copy.birthday-mode h1 {
  color: #ba4c26;
}

body.birthday-page .hero-copy.birthday-mode h1 {
  color: #ffe8b0;
  text-shadow:
    0 2px 0 rgba(120, 8, 14, 0.28),
    0 12px 24px rgba(65, 5, 8, 0.18);
}

.lead {
  margin-top: 14px;
  max-width: 30rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.page-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.festival-strip {
  display: inline-grid;
  gap: 6px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 248, 225, 0.96);
  border: 1px solid rgba(216, 157, 43, 0.22);
  box-shadow: 0 12px 26px rgba(216, 157, 43, 0.08);
}

.festival-label {
  color: #9a6a12;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.festival-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(122, 179, 93, 0.24);
  background: rgba(255, 248, 224, 0.92);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    background 180ms ease;
}

.ghost-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.today-strip {
  display: inline-grid;
  gap: 6px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(249, 252, 241, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(118, 137, 77, 0.08);
}

.today-date,
.today-lunar {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.today-times {
  display: grid;
  gap: 6px;
}

.today-time-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.today-time-label {
  color: #7b8857;
  font-size: 0.86rem;
  font-weight: 800;
}

.today-time {
  color: #6b5117;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}

.birthday-strip {
  display: inline-grid;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 248, 225, 0.96);
  border: 1px solid rgba(216, 157, 43, 0.22);
  box-shadow: 0 12px 26px rgba(216, 157, 43, 0.08);
}

.birthday-label {
  color: #9a6a12;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.birthday-name {
  color: #6b5117;
  font-size: 1.12rem;
  font-weight: 800;
}

.birthday-meta {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.quote-strip {
  display: inline-grid;
  gap: 6px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(245, 251, 239, 0.96);
  border: 1px solid rgba(117, 181, 90, 0.18);
  box-shadow: 0 12px 26px rgba(117, 181, 90, 0.08);
}

@keyframes typing-caret {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

.quote-label {
  color: #62933f;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.daily-quote {
  max-width: 30rem;
  color: #58663a;
  font-size: 0.98rem;
  line-height: 1.6;
}

.fortune-wrapper {
  position: relative;
  width: 320px;
  flex: 0 0 320px;
  align-self: flex-end;
}

.fortune-wrapper::before {
  content: "";
  position: absolute;
  inset: 34px 24px 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 232, 170, 0.34) 0%, rgba(255, 232, 170, 0.14) 46%, transparent 74%);
  filter: blur(18px);
  z-index: 0;
}

.fortune-wrapper::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 68%;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(120, 96, 48, 0.08);
  filter: blur(10px);
  z-index: 0;
}

.fortune-photo-frame {
  position: relative;
  z-index: 1;
}

.fortune-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: drop-shadow(0 18px 26px rgba(171, 133, 51, 0.14));
  mask-image: radial-gradient(circle at center, #000 62%, transparent 96%);
  -webkit-mask-image: radial-gradient(circle at center, #000 62%, transparent 96%);
}

.fortune-board {
  position: absolute;
  right: 4px;
  top: 44px;
  width: 92px;
  padding: 11px 10px 14px;
  border-radius: 22px 22px 28px 28px;
  background: linear-gradient(180deg, #ffe28a 0%, #e2b540 100%);
  border: 3px solid rgba(196, 136, 24, 0.5);
  box-shadow: 0 12px 22px rgba(204, 143, 54, 0.2);
  text-align: center;
  transform: rotate(34deg);
  z-index: 2;
}

.fortune-board::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  width: 54px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 241, 182, 0.94);
}

.fortune-board-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #97600c;
}

.fortune-board strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
  color: #714d11;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 250px;
}

.hero-actions button {
  width: 100%;
}

.primary-button,
.ghost-button {
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    background 180ms ease;
}

.primary-button {
  color: #fff8ee;
  background: linear-gradient(135deg, #77b45e 0%, #5f9e49 100%);
  box-shadow: var(--shadow);
}

.ghost-button {
  color: var(--text);
  background: rgba(255, 248, 224, 0.92);
  border: 1px solid rgba(122, 179, 93, 0.24);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.status-text {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: right;
}

.metrics-grid,
.content-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.news-strip {
  margin-bottom: 16px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(251, 253, 246, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(118, 137, 77, 0.08);
}

.news-strip-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
}

.news-strip-header h2 {
  font-size: 1.5rem;
  color: #6f5a1b;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.news-item {
  display: block;
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(255, 252, 241, 0.96);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.news-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(118, 137, 77, 0.08);
  border-color: rgba(117, 181, 90, 0.28);
}

.news-source {
  margin-bottom: 8px;
  color: #7aa545;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-title {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.places-strip {
  margin-bottom: 16px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(248, 252, 244, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(118, 137, 77, 0.08);
}

.places-strip-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
}

.places-strip-header h2 {
  font-size: 1.5rem;
  color: #6f5a1b;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.place-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 252, 241, 0.96);
  border: 1px solid var(--line);
}

.place-name {
  margin-bottom: 8px;
  color: #7aa545;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.place-card h3 {
  font-size: 1.7rem;
  margin-bottom: 8px;
  color: #6b5117;
}

.place-weather {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.place-forecast {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.place-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.place-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(249, 252, 241, 0.9);
  border: 1px solid rgba(108, 122, 73, 0.1);
  color: #5f7331;
  font-size: 0.82rem;
  font-weight: 800;
}

.place-chip-good {
  color: #2f7a51;
}

.place-chip-caution {
  color: #8b5f0c;
}

.place-chip-alert {
  color: #a34a38;
}

.place-alerts {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.place-alerts p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.forecast-day {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(249, 252, 241, 0.9);
  border: 1px solid rgba(108, 122, 73, 0.1);
}

.forecast-day-name {
  color: #5f7331;
  font-size: 0.85rem;
  font-weight: 800;
}

.forecast-day-weather {
  flex: 1 1 auto;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.forecast-day-temp {
  color: #486d2d;
  font-size: 0.92rem;
  font-weight: 800;
}

.crypto-reminder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(250, 253, 242, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(118, 137, 77, 0.09);
}

.crypto-reminder-copy {
  display: grid;
  gap: 6px;
}

.crypto-status {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.crypto-pill-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.crypto-pill {
  min-width: 152px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 252, 241, 0.95);
  border: 1px solid var(--line);
}

.crypto-pill-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.crypto-pill strong {
  display: block;
  font-size: 1.05rem;
  color: #5e4e1e;
}

.blessing-wall {
  margin-bottom: 16px;
  padding: 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(255, 231, 165, 0.44), transparent 22%),
    radial-gradient(circle at 88% 14%, rgba(255, 191, 129, 0.22), transparent 18%),
    linear-gradient(180deg, rgba(255, 249, 227, 0.98) 0%, rgba(255, 244, 212, 0.96) 100%);
  border: 1px solid rgba(216, 157, 43, 0.22);
  box-shadow: 0 18px 40px rgba(216, 157, 43, 0.1);
}

body.birthday-page .blessing-wall {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 221, 140, 0.22), transparent 18%),
    radial-gradient(circle at 86% 16%, rgba(255, 235, 180, 0.16), transparent 16%),
    linear-gradient(180deg, rgba(149, 12, 18, 0.96) 0%, rgba(179, 17, 24, 0.96) 56%, rgba(195, 26, 28, 0.96) 100%);
  border: 1px solid rgba(255, 207, 110, 0.24);
  box-shadow: 0 24px 48px rgba(75, 5, 9, 0.24);
}

.blessing-wall-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
}

.blessing-wall-header h2 {
  font-size: 1.55rem;
  color: #8d5810;
}

body.birthday-page .blessing-wall-header h2 {
  color: #ffe3a1;
}

.blessing-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.blessing-item {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 252, 241, 0.88);
  border: 1px solid rgba(216, 157, 43, 0.14);
  color: #7b5617;
  font-size: 0.95rem;
  line-height: 1.55;
  box-shadow: 0 8px 16px rgba(216, 157, 43, 0.06);
}

body.birthday-page .blessing-item {
  background: rgba(116, 10, 16, 0.44);
  border: 1px solid rgba(255, 208, 108, 0.16);
  color: #fff1d7;
}

.blessing-keyword {
  display: inline-block;
  margin: 0 3px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 1.42em;
  font-weight: 900;
  line-height: 1.12;
  color: #b31111;
  background: linear-gradient(180deg, rgba(255, 244, 185, 0.96), rgba(255, 220, 110, 0.92));
  box-shadow: 0 6px 16px rgba(208, 63, 29, 0.2);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

body.birthday-page .blessing-keyword {
  font-size: 1.56em;
  color: #8d0505;
  background: linear-gradient(180deg, rgba(255, 245, 190, 0.98), rgba(255, 208, 84, 0.96));
  box-shadow: 0 10px 22px rgba(60, 5, 7, 0.28);
}

.home-extra {
  margin-bottom: 16px;
}

.home-extra-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(248, 252, 244, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(118, 137, 77, 0.08);
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: #6b5117;
}

body.birthday-page .home-extra-summary {
  background:
    linear-gradient(135deg, rgba(140, 12, 18, 0.92), rgba(176, 18, 25, 0.94));
  border: 1px solid rgba(255, 212, 114, 0.22);
  box-shadow: 0 16px 34px rgba(77, 6, 10, 0.24);
  color: #ffe6af;
}

.home-extra-summary::-webkit-details-marker {
  display: none;
}

.home-extra-tip {
  color: var(--muted);
  font-size: 0.88rem;
}

.home-extra[open] .home-extra-tip {
  color: transparent;
  position: relative;
}

.home-extra[open] .home-extra-tip::before {
  content: "点击收起";
  position: absolute;
  right: 0;
  color: var(--muted);
}

.home-extra > .crypto-reminder,
.home-extra > .news-strip,
.home-extra > .places-strip {
  margin-top: 14px;
}

.food-extra > .food-board {
  margin-top: 14px;
}

.turnip-extra {
  margin-bottom: 16px;
}

.turnip-extra > .metrics-grid,
.turnip-extra > .content-grid,
.turnip-extra > .board {
  margin-top: 14px;
}

body.birthday-page .turnip-extra {
  --turnip-panel: rgba(255, 249, 236, 0.94);
  --turnip-panel-strong: rgba(255, 252, 242, 0.98);
  --turnip-line: rgba(168, 106, 62, 0.18);
  --turnip-text: #5c3416;
  --turnip-muted: #8a5a36;
}

body.birthday-page .turnip-extra > .metrics-grid .metric-card,
body.birthday-page .turnip-extra > .content-grid .panel,
body.birthday-page .turnip-extra > .board {
  background: var(--turnip-panel);
  border-color: var(--turnip-line);
  color: var(--turnip-text);
  box-shadow: 0 20px 44px rgba(88, 22, 16, 0.16);
}

body.birthday-page .turnip-extra .metric-label,
body.birthday-page .turnip-extra .metric-detail,
body.birthday-page .turnip-extra .panel-note,
body.birthday-page .turnip-extra .forecast-copy,
body.birthday-page .turnip-extra .mini-tip,
body.birthday-page .turnip-extra .slot-card small,
body.birthday-page .turnip-extra .quick-entry-note,
body.birthday-page .turnip-extra .quick-save-hint,
body.birthday-page .turnip-extra .quick-entry-field small,
body.birthday-page .turnip-extra th {
  color: var(--turnip-muted);
}

body.birthday-page .turnip-extra h2,
body.birthday-page .turnip-extra h3,
body.birthday-page .turnip-extra td,
body.birthday-page .turnip-extra .slot-card,
body.birthday-page .turnip-extra .field-card span,
body.birthday-page .turnip-extra .forecast-label {
  color: var(--turnip-text);
}

body.birthday-page .turnip-extra .field-card,
body.birthday-page .turnip-extra .mini-tip,
body.birthday-page .turnip-extra .quick-entry-card,
body.birthday-page .turnip-extra .slot-card,
body.birthday-page .turnip-extra .forecast-box {
  background: var(--turnip-panel-strong);
  border-color: var(--turnip-line);
}

body.birthday-page .turnip-extra input,
body.birthday-page .turnip-extra textarea {
  background: #fffdf6;
  color: var(--turnip-text);
}

body.birthday-page .turnip-extra tbody tr:hover {
  background: rgba(168, 106, 62, 0.08);
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-grid {
  grid-template-columns: 1.35fr 0.95fr;
}

.metric-card,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 22px;
}

.metric-label {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.metric-card h2 {
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  line-height: 1.05;
}

.metric-detail {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.panel {
  padding: 22px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.panel-heading h2 {
  font-size: 1.75rem;
}

.panel-note {
  max-width: 24rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.buy-row {
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.message-board {
  margin-bottom: 16px;
}

.mindfulness-board {
  margin-bottom: 16px;
}

.food-board {
  margin-bottom: 16px;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.market-snapshot-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 12px;
}

.market-snapshot-head h3 {
  font-size: 1.35rem;
}

.market-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fx-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.market-snapshot-card {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(250, 252, 244, 0.94);
  border: 1px solid var(--line);
}

.fx-snapshot-card {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 251, 239, 0.94);
  border: 1px solid var(--line);
}

.market-snapshot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.fx-snapshot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.market-snapshot-type {
  color: #7aa545;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.market-snapshot-name {
  margin-top: 4px;
  color: #6c5114;
  font-size: 1rem;
  font-weight: 800;
}

.fx-snapshot-name {
  color: #6c5114;
  font-size: 1rem;
  font-weight: 800;
}

.fx-snapshot-code {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.fx-snapshot-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 244, 210, 0.92);
  color: #8b5f0c;
  font-size: 0.8rem;
  font-weight: 800;
}

.market-snapshot-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 248, 224, 0.92);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
}

.market-snapshot-card h3 {
  margin-top: 10px;
  font-size: 1.35rem;
  color: var(--text);
}

.fx-snapshot-card h3 {
  margin-top: 10px;
  font-size: 1.35rem;
  color: var(--text);
}

.market-snapshot-copy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.fx-snapshot-copy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.mini-trend {
  margin-top: 12px;
}

.mini-trend-chart {
  width: 100%;
  height: 72px;
  display: block;
}

.mini-trend-line {
  fill: none;
  stroke: #7aa545;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-trend-labels {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.75rem;
}

.mini-trend-labels span:last-child {
  text-align: right;
}

.food-card {
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(118, 137, 77, 0.06);
}

.food-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.food-name {
  color: #6c5114;
  font-size: 1rem;
  font-weight: 800;
}

.food-benchmark {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.food-card h3 {
  font-size: 1.35rem;
  color: var(--text);
}

.food-period {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.food-change {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.food-up {
  color: #a53e1f;
  background: rgba(243, 194, 154, 0.4);
}

.food-down {
  color: #2f7a51;
  background: rgba(178, 219, 185, 0.42);
}

.food-flat {
  color: #6b6b6b;
  background: rgba(218, 218, 218, 0.34);
}

.food-footnote {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.food-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.food-compare-card {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(250, 252, 244, 0.94);
  border: 1px solid var(--line);
}

.food-compare-label {
  color: #7aa545;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.food-compare-card h3 {
  margin-top: 8px;
  font-size: 1.18rem;
  color: #6c5114;
}

.food-compare-copy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.food-footnote a {
  color: #6a8f2f;
  text-decoration: none;
  font-weight: 800;
}

.food-footnote a:hover {
  text-decoration: underline;
}

.message-form {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.message-field {
  height: 100%;
}

textarea {
  width: 100%;
  resize: vertical;
  min-height: 108px;
  border: 0;
  outline: none;
  border-radius: 14px;
  background: #fffdf3;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-appearance: none;
  appearance: none;
}

.message-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.message-status {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.message-list {
  display: grid;
  gap: 12px;
}

.mindfulness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mindfulness-card {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(250, 252, 244, 0.94);
  border: 1px solid var(--line);
}

.mindfulness-step {
  color: #7aa545;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mindfulness-card h3 {
  margin-top: 8px;
  color: #6c5114;
  font-size: 1.18rem;
}

.mindfulness-card p:last-child {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.94rem;
}

.mindfulness-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: 14px;
}

.mindfulness-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 249, 230, 0.92);
  border: 1px solid var(--line);
}

.mindfulness-label {
  color: #8b5f0c;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mindfulness-note p:last-child {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.mindfulness-source {
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.mindfulness-source a {
  color: #6a8f2f;
  font-weight: 800;
  text-decoration: none;
}

.mindfulness-source a:hover {
  text-decoration: underline;
}

.message-card {
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(118, 137, 77, 0.06);
}

.message-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.message-card-meta {
  display: grid;
  gap: 4px;
}

.message-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.message-author {
  color: #6c5114;
  font-size: 1rem;
  font-weight: 800;
}

.message-time {
  color: var(--muted);
  font-size: 0.84rem;
}

.message-reply-button {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid rgba(122, 179, 93, 0.24);
  border-radius: 999px;
  background: rgba(255, 248, 224, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.message-like-button {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid rgba(216, 157, 43, 0.24);
  border-radius: 999px;
  background: rgba(255, 248, 224, 0.92);
  color: #8b5f0c;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.message-like-button.is-liked {
  background: rgba(255, 238, 213, 0.96);
  color: #b85b28;
  border-color: rgba(216, 157, 43, 0.34);
}

.message-delete-button {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid rgba(215, 107, 84, 0.22);
  border-radius: 999px;
  background: rgba(255, 242, 236, 0.94);
  color: #a34a38;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.message-replies {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(122, 179, 93, 0.24);
}

.message-reply-item {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(248, 252, 244, 0.92);
  border: 1px solid rgba(122, 179, 93, 0.16);
}

.message-reply-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.inline-reply-box {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(248, 252, 244, 0.94);
  border: 1px solid rgba(122, 179, 93, 0.18);
}

.inline-reply-title {
  color: #7aa545;
  font-size: 0.88rem;
  font-weight: 800;
}

.inline-reply-name {
  min-height: 46px;
}

.inline-reply-text {
  min-height: 92px;
}

.inline-reply-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.message-copy {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.field-card,
.mini-tip {
  border-radius: 22px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.field-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.field-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

body.birthday-page .message-board {
  --message-panel: rgba(255, 249, 236, 0.95);
  --message-panel-strong: rgba(255, 252, 242, 0.98);
  --message-line: rgba(168, 106, 62, 0.18);
  --message-text: #5c3416;
  --message-muted: #8a5a36;
}

body.birthday-page .message-board,
body.birthday-page .message-board .message-card {
  background: var(--message-panel);
  border-color: var(--message-line);
  color: var(--message-text);
}

body.birthday-page .message-board .panel-note,
body.birthday-page .message-board .message-status,
body.birthday-page .message-board .message-time,
body.birthday-page .message-board .field-card span {
  color: var(--message-muted);
}

body.birthday-page .message-board .field-card,
body.birthday-page .message-board .inline-reply-box,
body.birthday-page .message-board .message-reply-item {
  background: var(--message-panel-strong);
  border-color: var(--message-line);
}

body.birthday-page .message-board input,
body.birthday-page .message-board textarea {
  background: #fffdf6;
  color: var(--message-text);
}

body.birthday-page .message-board .message-author,
body.birthday-page .message-board .message-copy,
body.birthday-page .message-board .inline-reply-title {
  color: var(--message-text);
}

body.birthday-page .message-board .message-reply-button,
body.birthday-page .message-board .ghost-button {
  background: rgba(255, 247, 226, 0.96);
  color: var(--message-text);
  border-color: rgba(168, 106, 62, 0.24);
}

body.birthday-page .message-board .message-like-button {
  background: rgba(255, 247, 226, 0.96);
  color: #8a5a36;
  border-color: rgba(168, 106, 62, 0.24);
}

body.birthday-page .message-board .message-delete-button {
  background: rgba(255, 239, 233, 0.96);
  color: #964730;
  border-color: rgba(168, 106, 62, 0.24);
}

body.birthday-page .message-board .primary-button {
  background: linear-gradient(135deg, #bf6540 0%, #a94f2d 100%);
  color: #fff9f1;
}

body.birthday-page .market-snapshot-card {
  background: rgba(255, 252, 242, 0.98);
  border-color: var(--line);
}

body.birthday-page .fx-snapshot-card {
  background: rgba(255, 252, 242, 0.98);
  border-color: var(--line);
}

input {
  width: 100%;
  border: 0;
  outline: none;
  border-radius: 14px;
  background: #fffdf3;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  width: 100%;
  border: 0;
  outline: none;
  border-radius: 14px;
  background: #fffdf3;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  color: #fffaf0;
  background: linear-gradient(135deg, #d76b54 0%, #c95b40 100%);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(201, 91, 64, 0.2);
}

.mini-tip {
  padding: 16px 18px;
  color: var(--muted);
  line-height: 1.7;
  display: flex;
  align-items: center;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-entry-card {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 244, 215, 0.98) 0%, rgba(255, 250, 236, 0.94) 100%);
  border: 1px solid var(--line);
}

.quick-entry-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.quick-entry-head h3 {
  margin-top: 4px;
  font-size: 1.18rem;
}

.quick-entry-note {
  max-width: 240px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: right;
}

.quick-entry-field {
  gap: 10px;
}

.quick-entry-field small {
  color: var(--muted);
  line-height: 1.6;
}

.quick-entry-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.quick-save-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: right;
}

.slot-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 249, 230, 0.92);
  border: 1px solid var(--line);
}

.slot-card label {
  color: var(--text);
  font-weight: 800;
}

.slot-card small {
  color: var(--muted);
}

.spotlight-stack {
  display: grid;
  gap: 14px;
}

.forecast-box {
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 249, 230, 0.96) 0%, rgba(252, 243, 213, 0.96) 100%);
  border: 1px solid var(--line);
}

.forecast-label {
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 10px;
}

.forecast-box h3 {
  font-size: 1.48rem;
  margin-bottom: 8px;
}

.forecast-copy {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.93rem;
}

.turnip-insight-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.turnip-chart {
  display: grid;
  gap: 14px;
}

.turnip-chart-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.turnip-chart-pill {
  display: grid;
  gap: 4px;
  min-width: 140px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 249, 230, 0.92);
  border: 1px solid var(--line);
}

.turnip-chart-pill span {
  color: var(--muted);
  font-size: 0.8rem;
}

.turnip-chart-pill strong {
  color: var(--text);
  font-size: 1rem;
}

.turnip-chart-svg {
  width: 100%;
  height: 280px;
  display: block;
  border-radius: 22px;
  background: rgba(255, 252, 241, 0.88);
  border: 1px solid var(--line);
}

.turnip-chart-line {
  fill: none;
  stroke: #d76b54;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.turnip-chart-point {
  fill: #5f9e49;
  stroke: #fff9ef;
  stroke-width: 3;
}

.turnip-buy-line {
  stroke: rgba(122, 179, 93, 0.8);
  stroke-width: 3;
  stroke-dasharray: 8 8;
}

.turnip-guide-line {
  stroke: rgba(108, 122, 73, 0.12);
  stroke-width: 1;
}

.turnip-chart-value,
.turnip-chart-slot {
  fill: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-anchor: middle;
}

.turnip-history-list {
  display: grid;
  gap: 12px;
}

.turnip-history-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 252, 241, 0.94);
  border: 1px solid var(--line);
}

.turnip-history-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.turnip-history-top strong {
  color: #6c5114;
}

.turnip-history-top span,
.turnip-history-copy {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.turnip-history-copy {
  margin-top: 8px;
}

.turnip-history-profit {
  margin-top: 8px;
  color: #2f7a51;
  font-size: 0.98rem;
  font-weight: 800;
}

.board {
  margin-top: 4px;
}

.crypto-symbol {
  font-family: "ZCOOL KuaiLe", cursive;
  font-size: 1rem;
  color: #6f8d2e;
}

.crypto-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.crypto-up {
  color: #165236;
  background: rgba(122, 179, 93, 0.22);
}

.crypto-down {
  color: #8f4335;
  background: rgba(215, 107, 84, 0.18);
}

.crypto-flat {
  color: #8b5f0c;
  background: rgba(216, 157, 43, 0.18);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.32);
}

.price-up {
  color: var(--green);
  font-weight: 800;
}

.price-down {
  color: var(--red);
  font-weight: 800;
}

.price-flat {
  color: var(--gold);
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 800;
}

.pill-good {
  color: #165236;
  background: rgba(122, 179, 93, 0.22);
}

.pill-caution {
  color: #8b5f0c;
  background: rgba(216, 157, 43, 0.18);
}

.pill-bad {
  color: #8f4335;
  background: rgba(215, 107, 84, 0.18);
}

.loading-row {
  padding: 28px 10px;
  text-align: center;
  color: var(--muted);
}

@keyframes float-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .site-nav-inner {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav-links {
    width: 100%;
  }

  .hero,
  .panel-heading,
  .buy-row,
  .message-form {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions {
    align-items: stretch;
  }

  .status-text {
    text-align: left;
  }

  .metrics-grid,
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mindfulness-grid {
    grid-template-columns: 1fr;
  }

  .fortune-wrapper {
    align-self: center;
  }

  .today-strip {
    width: fit-content;
  }

  .birthday-strip {
    width: fit-content;
  }

  .quote-strip {
    width: fit-content;
  }

  .news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .places-grid {
    grid-template-columns: 1fr;
  }

  .blessing-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .food-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .app-shell {
    width: min(100% - 20px, 100%);
    padding-top: 20px;
    padding-bottom: 28px;
  }

  h1 {
    font-size: 2.3rem;
    max-width: none;
  }

  .lead,
  .panel-note,
  .metric-detail,
  .forecast-copy,
  .mini-tip,
  .status-text {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .hero {
    gap: 18px;
    margin-bottom: 18px;
  }

  .fortune-wrapper {
    width: 220px;
    flex-basis: auto;
    align-self: center;
  }

  .today-strip {
    width: 100%;
    padding: 12px;
    border-radius: 16px;
  }

  .birthday-strip {
    width: 100%;
    padding: 12px;
    border-radius: 16px;
  }

  .quote-strip {
    width: 100%;
    padding: 12px;
    border-radius: 16px;
  }

  .today-time {
    font-size: 1.02rem;
  }

  .birthday-hero-banner {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 16px;
    gap: 8px;
  }

  .hero-rocket-left,
  .hero-rocket-right {
    font-size: 1.45rem;
  }

  .hero-rocket-mid {
    font-size: 1.1rem;
  }

  .news-strip {
    padding: 18px;
    border-radius: 20px;
  }

  .places-strip {
    padding: 18px;
    border-radius: 20px;
  }

  .blessing-wall {
    padding: 18px;
    border-radius: 20px;
  }

  .home-extra-summary {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .message-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .message-card {
    border-radius: 16px;
    padding: 14px;
  }

  .message-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .message-card-actions {
    flex-wrap: wrap;
  }

  .mindfulness-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .food-grid,
  .market-snapshot-grid,
  .fx-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .message-reply-button {
    align-self: flex-start;
  }

  .message-delete-button {
    align-self: flex-start;
  }

  .message-reply-item-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .inline-reply-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .market-snapshot-head {
    flex-direction: column;
    align-items: stretch;
  }

  .news-strip-header {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .places-strip-header {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .blessing-wall-header {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .news-strip-header h2 {
    font-size: 1.3rem;
  }

  .places-strip-header h2 {
    font-size: 1.3rem;
  }

  .blessing-wall-header h2 {
    font-size: 1.3rem;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .places-grid {
    grid-template-columns: 1fr;
  }

  .blessing-list {
    grid-template-columns: 1fr;
  }

  .food-grid {
    grid-template-columns: 1fr;
  }

  .food-card {
    border-radius: 16px;
    padding: 14px;
  }

  .food-compare-card {
    border-radius: 16px;
    padding: 14px;
  }

  .news-item {
    border-radius: 16px;
    padding: 13px 14px;
  }

  .place-card {
    border-radius: 16px;
    padding: 14px;
  }

  .blessing-item {
    border-radius: 16px;
    padding: 12px 13px;
  }

  .fortune-board {
    right: 0;
    top: 24px;
    width: 72px;
    padding: 9px 7px 10px;
    border-radius: 14px;
  }

  .fortune-board::before {
    width: 40px;
    height: 16px;
    top: -8px;
  }

  .fortune-board-label {
    font-size: 0.62rem;
  }

  .fortune-board strong {
    font-size: 0.8rem;
  }

  .hero-actions {
    position: sticky;
    bottom: 12px;
    z-index: 3;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 248, 224, 0.92);
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(120, 96, 48, 0.12);
  }

  .crypto-reminder {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 20px;
  }

  .crypto-pill-wrap {
    justify-content: stretch;
  }

  .crypto-pill {
    min-width: 0;
    flex: 1 1 0;
  }

  .crypto-pill strong {
    font-size: 1rem;
  }

  .status-text {
    text-align: left;
  }

  .metrics-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .panel {
    border-radius: 22px;
    padding: 18px;
  }

  .panel-heading {
    gap: 10px;
    margin-bottom: 14px;
  }

  .panel-heading h2 {
    font-size: 1.45rem;
  }

  .metric-card h2,
  .forecast-box h3 {
    font-size: 1.35rem;
  }

  .buy-row {
    gap: 10px;
    margin-bottom: 14px;
  }

  .quick-entry-card,
  .field-card,
  .mini-tip,
  .slot-card,
  .forecast-box {
    border-radius: 18px;
  }

  .quick-entry-card,
  .field-card,
  .slot-card,
  .forecast-box {
    padding: 14px;
  }

  .quick-entry-head,
  .quick-entry-actions {
    display: grid;
    gap: 10px;
  }

  .quick-entry-note,
  .quick-save-hint {
    max-width: none;
    text-align: left;
  }

  input {
    min-height: 48px;
    font-size: 16px;
    padding: 12px 14px;
  }

  .table-wrap {
    overflow: visible;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  table {
    min-width: 0;
  }

  tbody {
    display: grid;
    gap: 10px;
  }

  tbody tr {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 249, 230, 0.88);
    border: 1px solid var(--line);
  }

  tbody tr:hover {
    background: rgba(255, 249, 230, 0.88);
  }

  td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(133, 111, 66, 0.12);
    font-size: 0.95rem;
  }

  td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  td::before {
    content: attr(data-label);
    flex: 0 0 40%;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
  }

  .loading-row {
    justify-content: center;
    text-align: center;
  }

  .loading-row::before {
    content: none;
  }

  .site-nav-links {
    flex-direction: column;
    align-items: stretch;
  }
}
