:root {
  --bg: #f7fbff;
  --bg-soft: #f8f2ff;
  --bg-sun: #fff6c9;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --surface-tint: rgba(249, 246, 255, 0.94);
  --text: #22283c;
  --text-soft: #707b99;
  --accent: #ff9f64;
  --accent-strong: #ff7da8;
  --accent-soft: #ffe4f0;
  --peach: #ffd8da;
  --sky: #d9f4ff;
  --mint: #dff8ee;
  --butter: #fff4b8;
  --lilac: #eadfff;
  --line: rgba(57, 65, 98, 0.08);
  --line-strong: rgba(57, 65, 98, 0.13);
  --shadow: 0 30px 90px rgba(160, 178, 255, 0.2), 0 18px 42px rgba(255, 151, 197, 0.12);
  --shadow-soft: 0 16px 34px rgba(122, 141, 190, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --ah-feng: #71a8d0;
  --xiao-jing: #ffb27d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  overflow-x: clip;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 157, 66, 0.7) rgba(255, 255, 255, 0.8);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 245, 184, 0.48), transparent 22%),
    radial-gradient(circle at 88% 10%, rgba(202, 235, 255, 0.88), transparent 24%),
    radial-gradient(circle at 18% 72%, rgba(232, 214, 255, 0.86), transparent 22%),
    radial-gradient(circle at 86% 72%, rgba(255, 200, 228, 0.76), transparent 24%),
    linear-gradient(180deg, #f8fdff 0%, #f3f0ff 46%, #fff4fb 100%);
  font-family:
    "SF Pro Display",
    "PingFang SC",
    "Hiragino Sans GB",
    "Noto Sans SC",
    "Microsoft YaHei",
    sans-serif;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.94) 0 1.5px, transparent 2px),
    linear-gradient(rgba(255, 255, 255, 0.48) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.48) 1px, transparent 1px);
  background-position: 0 0, 0 0, 0 0;
  background-size: 84px 84px, 42px 42px, 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 88%);
}

body::after {
  background:
    radial-gradient(circle at 10% 84%, rgba(255, 168, 212, 0.2), transparent 15%),
    radial-gradient(circle at 88% 30%, rgba(210, 239, 255, 0.48), transparent 14%);
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.8);
}

body::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong)) padding-box;
}

body.is-locked {
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

.page-shell {
  position: relative;
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 26px 0 64px;
}

.lock-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.lock-card,
.hero-copy,
.hero-panel,
.month-rail-card,
.timeline-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(246, 252, 255, 0.9) 48%, rgba(255, 247, 253, 0.94)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.lock-card::before,
.hero-copy::before,
.hero-panel::before,
.month-rail-card::before,
.timeline-panel::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 0 0, rgba(255, 241, 176, 0.5), transparent 22%),
    radial-gradient(circle at 100% 0, rgba(217, 241, 255, 0.4), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  pointer-events: none;
  content: "";
}

.lock-card {
  width: min(540px, 100%);
  padding: 28px;
}

.lock-topline,
.hero-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.memory-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(30, 36, 51, 0.07);
  box-shadow: 0 10px 24px rgba(76, 97, 137, 0.08);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.memory-mark-icon {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #ffbe58);
  box-shadow: 0 8px 18px rgba(255, 157, 66, 0.26);
}

.memory-mark-icon::before,
.memory-mark-icon::after {
  position: absolute;
  top: -5px;
  width: 7px;
  height: 10px;
  background: #fffaf2;
  border-radius: 999px 999px 2px 2px;
  content: "";
}

.memory-mark-icon::before {
  left: 3px;
}

.memory-mark-icon::after {
  right: 3px;
}

.soft-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7ce, #ffe7bc);
  color: #d97c22;
  border: 1px solid rgba(255, 157, 66, 0.14);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 214, 102, 0.22);
}

.lock-title,
.hero h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  letter-spacing: -0.05em;
}

.lock-title {
  margin-top: 22px;
  font-size: clamp(42px, 11vw, 68px);
  line-height: 0.95;
}

.lock-text,
.hero-lead,
.hero-note,
.rail-text,
.toolbar-meta,
.empty-state,
.search-label,
.stat-label {
  color: var(--text-soft);
}

.lock-text {
  position: relative;
  z-index: 2;
  margin: 18px 0 0;
  max-width: 380px;
  font-size: 15px;
  line-height: 1.78;
}

.lock-form {
  position: relative;
  z-index: 2;
  margin-top: 24px;
}

.search-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

.search-input {
  width: 100%;
  min-width: 0;
  padding: 15px 17px;
  border: 1px solid rgba(30, 36, 51, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  font: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 18px rgba(214, 229, 255, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.search-input::placeholder {
  color: rgba(109, 119, 140, 0.7);
}

.search-input:focus {
  outline: none;
  border-color: rgba(255, 157, 66, 0.28);
  box-shadow:
    0 0 0 4px rgba(255, 157, 66, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.unlock-btn,
.segmented-btn,
.month-chip,
.toolbar-btn,
.floating-btn {
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.unlock-btn {
  width: 100%;
  margin-top: 14px;
  padding: 15px 18px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(255, 157, 66, 0.28);
}

.unlock-btn:hover,
.segmented-btn:hover,
.month-chip:hover,
.toolbar-btn:hover,
.floating-btn:hover {
  transform: translateY(-1px);
}

.lock-error {
  position: relative;
  z-index: 2;
  margin: 12px 0 0;
  color: #cf5d24;
  font-size: 13px;
}

.plush-pair,
.rail-stickers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.plush,
.mini-sticker,
.mascot-float,
.mascot-accent {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.plush {
  width: 22px;
  height: 18px;
  border-radius: 999px;
}

.plush::before,
.plush::after,
.mini-sticker::before,
.mini-sticker::after,
.mascot-float::before,
.mascot-float::after,
.mascot-accent::before,
.mascot-accent::after {
  position: absolute;
  content: "";
}

.plush-bear {
  background: #e4b070;
}

.plush-bear::before,
.plush-bear::after {
  top: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: inherit;
}

.plush-bear::before {
  left: 2px;
}

.plush-bear::after {
  right: 2px;
}

.plush-bunny {
  background: #fff;
  border: 1px solid rgba(30, 36, 51, 0.07);
}

.plush-bunny::before,
.plush-bunny::after {
  top: -11px;
  width: 7px;
  height: 13px;
  border-radius: 999px 999px 4px 4px;
  background: #fff;
  border: 1px solid rgba(30, 36, 51, 0.07);
}

.plush-bunny::before {
  left: 4px;
}

.plush-bunny::after {
  right: 4px;
}

.mini-sticker {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(30, 36, 51, 0.07);
  box-shadow: 0 10px 22px rgba(76, 97, 137, 0.1);
}

.sticker-bear::before {
  inset: 9px 7px 7px;
  border-radius: 999px;
  background: #e3b06d;
}

.sticker-bear::after {
  top: 6px;
  left: 8px;
  width: 18px;
  height: 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 2px 5px, #e3b06d 0 4px, transparent 4px),
    radial-gradient(circle at 16px 5px, #e3b06d 0 4px, transparent 4px);
}

.sticker-bunny::before {
  inset: 10px 8px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(30, 36, 51, 0.07);
}

.sticker-bunny::after {
  top: 4px;
  left: 10px;
  width: 14px;
  height: 15px;
  background:
    radial-gradient(circle at 3px 7px, #fff 0 5px, transparent 5px),
    radial-gradient(circle at 11px 7px, #fff 0 5px, transparent 5px);
}

.hero-floats,
.rail-floaters,
.timeline-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.mascot-float {
  width: 76px;
  height: 76px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 30px rgba(255, 214, 102, 0.18);
}

.mascot-bear {
  background:
    radial-gradient(circle at 34% 46%, #263047 0 3px, transparent 3.4px),
    radial-gradient(circle at 66% 46%, #263047 0 3px, transparent 3.4px),
    radial-gradient(ellipse at 50% 66%, #fff7df 0 18px, transparent 18.5px),
    linear-gradient(180deg, #f2c47e, #e2aa62);
}

.mascot-bear::before {
  inset: 20px 15px 15px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 56%, #263047 0 2px, transparent 2.4px),
    radial-gradient(ellipse at 50% 70%, rgba(38, 48, 71, 0.85) 0 6px, transparent 6.5px);
}

.mascot-bear::after {
  top: 12px;
  left: 16px;
  width: 44px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 7px 9px, #e2aa62 0 8px, transparent 8px),
    radial-gradient(circle at 37px 9px, #e2aa62 0 8px, transparent 8px);
}

.mascot-bunny {
  background:
    radial-gradient(circle at 37% 48%, #263047 0 2.6px, transparent 3px),
    radial-gradient(circle at 63% 48%, #263047 0 2.6px, transparent 3px),
    radial-gradient(ellipse at 50% 68%, rgba(255, 194, 211, 0.58) 0 10px, transparent 10.5px),
    linear-gradient(180deg, #ffffff, #f4fbff);
}

.mascot-bunny::before {
  inset: 22px 16px 14px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 45%, #263047 0 2.4px, transparent 2.8px),
    radial-gradient(circle at 64% 45%, #263047 0 2.4px, transparent 2.8px),
    radial-gradient(ellipse at 50% 66%, rgba(255, 194, 211, 0.62) 0 8px, transparent 8.5px),
    #fff;
  border: 1px solid rgba(30, 36, 51, 0.05);
}

.mascot-bunny::after {
  top: 2px;
  left: 23px;
  width: 30px;
  height: 28px;
  background:
    radial-gradient(circle at 7px 18px, #fff 0 8px, transparent 8px),
    radial-gradient(circle at 23px 18px, #fff 0 8px, transparent 8px);
}

.mascot-accent {
  width: 40px;
  height: 40px;
}

.accent-flower::before {
  inset: 9px;
  border-radius: 50%;
  background: #ffd86d;
  box-shadow:
    -11px 0 0 0 #ffe9a1,
    11px 0 0 0 #ffe9a1,
    0 -11px 0 0 #ffe9a1,
    0 11px 0 0 #ffe9a1;
}

.accent-carrot {
  transform: rotate(18deg);
}

.accent-carrot::before {
  left: 9px;
  top: 12px;
  width: 22px;
  height: 16px;
  border-radius: 4px 14px 14px 4px;
  background: linear-gradient(135deg, #ffa95f, #ff7f2d);
}

.accent-carrot::after {
  left: 5px;
  top: 6px;
  width: 12px;
  height: 10px;
  background:
    linear-gradient(135deg, #7fd77d, #48b86a);
  clip-path: polygon(0 100%, 26% 0, 52% 68%, 74% 4%, 100% 100%);
}

.dream-star {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff7a6;
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
  filter: drop-shadow(0 8px 14px rgba(255, 175, 207, 0.26));
}

.star-one {
  top: 44px;
  right: 156px;
}

.star-two {
  right: 32px;
  bottom: 42px;
  width: 14px;
  height: 14px;
  background: #b8ecff;
}

.star-three,
.star-four {
  width: 20px;
  height: 20px;
  background: #ffc7dc;
}

.memory-tabs {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(760px, 100%);
  margin: 22px auto 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 38px rgba(122, 141, 190, 0.12);
  backdrop-filter: blur(20px);
}

.memory-tab,
.admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.memory-tab {
  flex: 1 1 0;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.memory-tab.active {
  color: #8d4960;
  background: linear-gradient(135deg, #fff4c8, #ffd7eb 52%, #dff3ff);
  box-shadow: 0 12px 28px rgba(255, 142, 187, 0.18);
}

.admin-link {
  flex: 0 0 auto;
  padding: 12px 16px;
  border: 1px solid rgba(57, 65, 98, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.month-rail-card,
.timeline-panel {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 28px;
}

.hero-floats-lock .mascot-bear {
  top: 22px;
  right: 28px;
  position: absolute;
  width: 64px;
  height: 64px;
}

.hero-floats-lock .mascot-bunny {
  right: 90px;
  bottom: 26px;
  position: absolute;
  width: 56px;
  height: 56px;
}

.hero-floats-lock .accent-flower {
  left: 22px;
  bottom: 26px;
  position: absolute;
}

.hero-floats .mascot-bear {
  top: 104px;
  right: 18px;
  position: absolute;
}

.hero-floats .mascot-bunny {
  right: 92px;
  bottom: 90px;
  position: absolute;
  width: 70px;
  height: 70px;
}

.hero-floats .accent-carrot {
  right: 56px;
  top: 34px;
  position: absolute;
}

.hero-floats .accent-flower {
  left: 24px;
  bottom: 34px;
  position: absolute;
}

.hero-head,
.participant-strip,
.hero-badges,
.hero-note,
.stat-grid,
.filter-card,
.rail-head,
.month-list,
.timeline-toolbar,
.timeline {
  position: relative;
  z-index: 2;
}

.hero-head {
  margin-top: 18px;
}

.hero h1 {
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.9;
}

.hero-lead {
  margin: 18px 0 0;
  max-width: 650px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.76;
}

.participant-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.participant-chip,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border-radius: 999px;
}

.participant-chip {
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(30, 36, 51, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 22px rgba(76, 97, 137, 0.08);
}

.participant-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.participant-avatar,
.segmented-avatar,
.message-avatar {
  border-radius: 50%;
  object-fit: cover;
}

.participant-avatar {
  width: 40px;
  height: 40px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-badge {
  padding: 11px 14px;
  background: linear-gradient(135deg, rgba(255, 248, 219, 0.95), rgba(255, 241, 221, 0.95));
  border: 1px solid rgba(255, 157, 66, 0.12);
  color: #a55d22;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(255, 214, 102, 0.16);
}

.hero-note {
  width: min(100%, 520px);
  margin: 20px 0 0;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.95));
  border: 1px solid rgba(30, 36, 51, 0.07);
  font-size: 14px;
  line-height: 1.72;
}

.hero-panel {
  padding: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 239, 194, 0.62), transparent 24%),
    radial-gradient(circle at 86% 82%, rgba(215, 240, 255, 0.78), transparent 26%),
    radial-gradient(circle at 16% 84%, rgba(244, 218, 255, 0.62), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 253, 255, 0.94));
}

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

.stat-card {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(30, 36, 51, 0.07);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 28px rgba(76, 97, 137, 0.08);
}

.stat-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-value {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.filter-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(30, 36, 51, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 245, 0.96));
  box-shadow: 0 14px 28px rgba(76, 97, 137, 0.08);
}

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

.segmented-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(30, 36, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(76, 97, 137, 0.06);
}

.segmented-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 30px rgba(255, 157, 66, 0.26);
}

.segmented-avatar {
  width: 24px;
  height: 24px;
}

.content-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.view-section.hidden {
  display: none !important;
}

.content-grid > *,
.month-rail,
.month-rail-card,
.timeline-panel {
  min-width: 0;
  max-width: 100%;
}

.month-rail-card {
  position: sticky;
  top: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 239, 176, 0.6), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 243, 0.95));
}

.rail-bear {
  top: 18px;
  right: 18px;
  position: absolute;
  width: 56px;
  height: 56px;
}

.rail-bunny {
  top: 16px;
  right: 76px;
  position: absolute;
  width: 48px;
  height: 48px;
}

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

.rail-title,
.toolbar-title {
  margin: 0;
  letter-spacing: -0.03em;
}

.rail-title {
  font-size: 20px;
  font-weight: 800;
}

.rail-text {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

.month-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: calc(100vh - 210px);
  margin-top: 18px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: none;
}

.month-list::-webkit-scrollbar {
  display: none;
}

.month-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border-radius: 999px;
  border: 1px solid rgba(30, 36, 51, 0.08);
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(76, 97, 137, 0.06);
}

.month-chip-count {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
}

.month-chip.active {
  background: linear-gradient(135deg, #ffd96d, var(--accent));
  color: #8a4312;
  border-color: transparent;
  box-shadow: 0 16px 26px rgba(255, 204, 85, 0.3);
}

.month-chip.active .month-chip-count {
  color: rgba(138, 67, 18, 0.72);
}

.timeline-panel {
  padding: 20px 22px 28px;
  background:
    radial-gradient(circle at 100% 10%, rgba(220, 241, 255, 0.66), transparent 18%),
    radial-gradient(circle at 0 100%, rgba(255, 238, 176, 0.46), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 246, 0.95));
}

.timeline-decor .accent-carrot {
  top: 24px;
  right: 26px;
  position: absolute;
}

.timeline-decor .accent-flower {
  top: 68px;
  right: 82px;
  position: absolute;
}

.timeline-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 12px;
  z-index: 4;
  padding: 8px 0 18px;
  border-bottom: 1px solid rgba(30, 36, 51, 0.07);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 252, 247, 0.94) 76%,
    rgba(255, 252, 247, 0) 100%
  );
  backdrop-filter: blur(14px);
}

.toolbar-title {
  font-size: 28px;
  font-weight: 800;
}

.toolbar-meta {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.toolbar-btn,
.floating-btn {
  border: 1px solid rgba(30, 36, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(76, 97, 137, 0.08);
}

.toolbar-btn {
  padding: 10px 14px;
}

.timeline {
  position: relative;
  margin-top: 18px;
  padding-left: 28px;
}

.timeline::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 192, 72, 0.72), rgba(152, 215, 255, 0.36));
  content: "";
}

.day-block {
  position: relative;
  padding: 0 0 22px 24px;
}

.day-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.day-knot {
  position: relative;
  width: 16px;
  height: 16px;
  margin-left: -32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd35b, var(--accent));
  box-shadow: 0 0 0 8px rgba(255, 214, 102, 0.18);
}

.day-knot::before,
.day-knot::after {
  position: absolute;
  top: -6px;
  width: 5px;
  height: 8px;
  background: #fff8ef;
  border-radius: 999px 999px 3px 3px;
  content: "";
}

.day-knot::before {
  left: 2px;
}

.day-knot::after {
  right: 2px;
}

.day-date {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.day-count {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

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

.message-card {
  position: relative;
  padding: 16px 18px 17px;
  border-radius: 22px;
  border: 1px solid rgba(30, 36, 51, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 254, 255, 0.95)),
    var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.message-card::after {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 28px;
  height: 24px;
  border-radius: 999px;
  opacity: 0.62;
  content: "";
}

.message-card.sender-ah-feng {
  border-left: 5px solid var(--ah-feng);
}

.message-card.sender-ah-feng::after {
  background:
    radial-gradient(circle at 7px 6px, #fff 0 7px, transparent 7.5px),
    radial-gradient(circle at 21px 6px, #fff 0 7px, transparent 7.5px),
    radial-gradient(ellipse at 50% 72%, #fff 0 12px, transparent 12.5px);
  box-shadow: inset 0 0 0 1px rgba(57, 65, 98, 0.08);
}

.message-card.sender-xiao-jing {
  border-left: 5px solid var(--xiao-jing);
}

.message-card.sender-xiao-jing::after {
  background:
    radial-gradient(circle at 7px 7px, #e5ad69 0 7px, transparent 7.5px),
    radial-gradient(circle at 21px 7px, #e5ad69 0 7px, transparent 7.5px),
    radial-gradient(ellipse at 50% 72%, #e5ad69 0 12px, transparent 12.5px);
}

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

.message-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.message-avatar {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(30, 36, 51, 0.05);
  background: rgba(255, 255, 255, 0.98);
}

.message-sender {
  font-size: 14px;
  font-weight: 800;
}

.message-kind {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.message-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.84;
  word-break: break-word;
}

mark {
  padding: 0 0.15em;
  border-radius: 0.35em;
  background: rgba(255, 222, 111, 0.62);
  color: inherit;
}

.empty-state {
  padding: 32px 14px 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}

.us-section {
  position: relative;
  margin-top: 24px;
}

.us-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 245, 183, 0.72), transparent 24%),
    radial-gradient(circle at 90% 18%, rgba(217, 237, 255, 0.88), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(251, 246, 255, 0.9));
  box-shadow: var(--shadow);
}

.us-kicker {
  margin: 0 0 12px;
  color: #a35c83;
  font-size: 14px;
  font-weight: 900;
}

.us-hero h2 {
  max-width: 720px;
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.us-hero p {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.78;
}

.us-mascot-scene {
  position: relative;
  min-height: 180px;
}

.us-mascot-scene .mascot-bear {
  position: absolute;
  right: 74px;
  top: 18px;
  width: 96px;
  height: 96px;
  border-radius: 34px;
}

.us-mascot-scene .mascot-bunny {
  position: absolute;
  right: 8px;
  bottom: 18px;
  width: 88px;
  height: 88px;
  border-radius: 32px;
}

.us-mascot-scene .dream-star {
  right: 158px;
  bottom: 26px;
}

.us-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.us-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.us-card::after {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 34px;
  height: 30px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 7px 7px, #e4ad68 0 8px, transparent 8.5px),
    radial-gradient(circle at 27px 7px, #e4ad68 0 8px, transparent 8.5px),
    radial-gradient(ellipse at 50% 68%, #e4ad68 0 14px, transparent 14.5px);
  opacity: 0.68;
  content: "";
}

.us-card-media {
  position: relative;
  display: grid;
  min-height: 180px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 244, 184, 0.88), transparent 28%),
    linear-gradient(135deg, #f5fbff, #fff4fb);
}

.us-card-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.us-card-media .mascot-float {
  width: 112px;
  height: 112px;
  border-radius: 38px;
}

.us-card-body {
  position: relative;
  z-index: 2;
  padding: 18px;
}

.us-card-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
}

.us-card-topline .mini-sticker {
  width: 28px;
  height: 28px;
  border-radius: 12px;
}

.us-card-title {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.32;
}

.us-card-text {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.72;
}

.admin-body {
  min-height: 100vh;
}

.admin-shell {
  width: min(1040px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

.admin-login,
.admin-panel,
.admin-editor,
.admin-list-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 10%, rgba(217, 237, 255, 0.72), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(252, 246, 255, 0.92));
  box-shadow: var(--shadow);
}

.admin-login {
  width: min(520px, 100%);
  margin: 10vh auto 0;
  padding: 28px;
}

.admin-login h1,
.admin-header h1 {
  margin: 22px 0 0;
  color: var(--text);
  font-size: clamp(42px, 8vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.admin-login p {
  margin: 16px 0 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.admin-login-form {
  position: relative;
  z-index: 2;
  margin-top: 22px;
}

.admin-panel {
  padding: 24px;
}

.admin-header,
.admin-list-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-editor {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  padding: 20px;
}

.admin-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-field {
  display: grid;
  gap: 9px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
}

.admin-textarea {
  min-height: 112px;
  resize: vertical;
}

.file-input {
  padding: 12px;
}

.file-input::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff4c8, #ffd7eb);
  color: #8d4960;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 12px;
}

.admin-hint,
.admin-empty {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.admin-list-panel {
  margin-top: 20px;
  padding: 20px;
}

.admin-list-head h2 {
  margin: 0;
  font-size: 24px;
}

.admin-memory-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.admin-memory-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(57, 65, 98, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
}

.admin-memory-thumb {
  display: grid;
  width: 96px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #f3fbff, #fff1fa);
}

.admin-memory-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-memory-thumb .mascot-float {
  width: 56px;
  height: 56px;
  border-radius: 22px;
}

.admin-memory-date,
.admin-memory-card h3,
.admin-memory-card p {
  margin: 0;
}

.admin-memory-date {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
}

.admin-memory-card h3 {
  margin-top: 4px;
  font-size: 17px;
}

.admin-memory-card p {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.month-chip:disabled,
.toolbar-btn:disabled,
.floating-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.floating-actions {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.floating-btn {
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
}

.scroll-indicator {
  position: fixed;
  top: 50%;
  right: max(14px, env(safe-area-inset-right));
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
  pointer-events: none;
}

.scroll-indicator-date {
  min-width: 124px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(30, 36, 51, 0.08);
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 16px 28px rgba(76, 97, 137, 0.08);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-indicator.is-active .scroll-indicator-date,
.scroll-indicator:hover .scroll-indicator-date {
  opacity: 1;
  transform: translateX(0);
}

.scroll-indicator-rail {
  position: relative;
  width: 34px;
  height: min(50vh, 360px);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(30, 36, 51, 0.06),
    0 12px 24px rgba(76, 97, 137, 0.08);
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.scroll-indicator-track,
.scroll-indicator-progress,
.scroll-indicator-thumb {
  position: absolute;
  left: 50%;
}

.scroll-indicator-track,
.scroll-indicator-progress {
  top: 0;
  width: 8px;
  height: 100%;
  margin-left: -4px;
  border-radius: 999px;
}

.scroll-indicator-track {
  background: linear-gradient(180deg, rgba(255, 201, 89, 0.24), rgba(129, 199, 255, 0.14));
}

.scroll-indicator-progress {
  background: linear-gradient(180deg, var(--accent), #83c9ff);
  box-shadow: 0 0 18px rgba(255, 173, 77, 0.18);
  transform: scaleY(0.08);
  transform-origin: center top;
}

.scroll-indicator-thumb {
  top: 0;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd85d, var(--accent));
  box-shadow:
    0 10px 18px rgba(76, 97, 137, 0.14),
    0 0 0 1px rgba(255, 157, 66, 0.12);
}

.scroll-indicator-thumb::before,
.scroll-indicator-thumb::after {
  position: absolute;
  top: -7px;
  width: 6px;
  height: 9px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 999px 999px 3px 3px;
  content: "";
}

.scroll-indicator-thumb::before {
  left: 4px;
}

.scroll-indicator-thumb::after {
  right: 4px;
}

.scroll-indicator.is-active .scroll-indicator-thumb,
.scroll-indicator-rail:hover .scroll-indicator-thumb {
  box-shadow:
    0 12px 20px rgba(76, 97, 137, 0.18),
    0 0 0 1px rgba(255, 157, 66, 0.18);
}

.scroll-indicator-rail:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgba(30, 36, 51, 0.08),
    0 0 0 4px rgba(255, 157, 66, 0.14),
    0 12px 24px rgba(76, 97, 137, 0.08);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .memory-tabs {
    top: 8px;
  }

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

  .month-rail,
  .timeline-panel {
    width: 100%;
  }

  .month-rail-card {
    position: static;
    width: 100%;
  }

  .month-list {
    width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .month-chip {
    flex: 0 0 auto;
  }

  .scroll-indicator {
    right: max(10px, env(safe-area-inset-right));
  }

  .scroll-indicator-rail {
    height: min(40vh, 280px);
  }

  .us-hero {
    grid-template-columns: 1fr;
  }

  .us-mascot-scene {
    min-height: 140px;
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: 100%;
    padding:
      max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
      calc(84px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  }

  .lock-card,
  .hero-copy,
  .hero-panel,
  .month-rail-card,
  .timeline-panel,
  .us-hero,
  .us-card,
  .admin-login,
  .admin-panel,
  .admin-editor,
  .admin-list-panel {
    border-radius: 24px;
  }

  .lock-card,
  .hero-copy,
  .us-hero,
  .admin-login,
  .admin-panel {
    padding: 22px 18px;
  }

  .hero-panel,
  .month-rail-card,
  .timeline-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .timeline-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 252, 245, 0.98));
  }

  .memory-tabs {
    align-items: stretch;
    width: 100%;
    margin-top: 14px;
  }

  .memory-tab,
  .admin-link {
    padding: 10px 11px;
    font-size: 13px;
  }

  .month-list,
  .timeline-toolbar,
  .timeline,
  .day-block,
  .day-header,
  .message-list,
  .message-card {
    min-width: 0;
    max-width: 100%;
  }

  .hero-head {
    margin-top: 16px;
  }

  .hero h1,
  .lock-title,
  .us-hero h2 {
    font-size: clamp(32px, 9vw, 46px);
    line-height: 0.98;
  }

  .hero-lead,
  .lock-text {
    font-size: 15px;
  }

  .hero-floats .mascot-bear {
    top: 120px;
    right: 12px;
    width: 64px;
    height: 64px;
  }

  .hero-floats .mascot-bunny {
    right: 64px;
    bottom: 120px;
    width: 58px;
    height: 58px;
  }

  .participant-strip,
  .hero-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .participant-chip,
  .hero-badge {
    width: 100%;
    justify-content: center;
  }

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

  .stat-card {
    padding: 14px;
  }

  .stat-value {
    font-size: 24px;
  }

  .filter-card {
    padding: 16px;
  }

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

  .segmented-btn[data-sender="全部"] {
    grid-column: 1 / -1;
  }

  .segmented-btn {
    width: 100%;
    padding: 10px 8px;
    font-size: 13px;
  }

  .rail-head,
  .timeline-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .rail-bear,
  .rail-bunny {
    top: 14px;
  }

  .toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .toolbar-btn {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding: 10px 12px;
    text-align: center;
  }

  .toolbar-btn:disabled {
    display: none;
  }

  #toolbar-top-btn {
    display: none;
  }

  .timeline-toolbar {
    position: static;
    top: auto;
    padding-top: 0;
    padding-bottom: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: none;
  }

  .toolbar-title {
    font-size: 24px;
  }

  .toolbar-meta {
    color: rgba(30, 36, 51, 0.68);
  }

  .timeline-decor {
    display: none;
  }

  .timeline {
    margin-top: 10px;
    padding-left: 18px;
    width: 100%;
  }

  .timeline::before {
    left: 7px;
  }

  .day-block {
    padding-left: 18px;
  }

  .day-knot {
    margin-left: -24px;
  }

  .day-header {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .day-date {
    font-size: 20px;
  }

  .day-count {
    width: 100%;
  }

  .message-card {
    padding: 13px 14px 14px;
    border-radius: 18px;
    width: 100%;
  }

  .message-topline {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .message-text {
    font-size: 14px;
    line-height: 1.68;
  }

  .floating-actions {
    display: none !important;
  }

  .scroll-indicator {
    display: none !important;
  }

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

  .us-card-media {
    min-height: 170px;
  }

  .admin-field-row,
  .admin-memory-card {
    grid-template-columns: 1fr;
  }

  .admin-memory-thumb {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 540px) {
  .memory-mark,
  .soft-chip {
    font-size: 12px;
  }

  .hero-topline,
  .lock-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .memory-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
  }

  .memory-tabs .admin-link {
    grid-column: 1 / -1;
  }

  .hero-floats .mascot-bear,
  .hero-floats .mascot-bunny,
  .hero-floats .accent-carrot,
  .hero-floats .accent-flower {
    opacity: 0.92;
  }

  .stat-grid,
  .segmented {
    grid-template-columns: 1fr;
  }

  .segmented-btn[data-sender="全部"] {
    grid-column: auto;
  }

  .month-rail-card {
    padding-top: 16px;
  }

  .rail-bear,
  .rail-bunny {
    transform: scale(0.88);
    transform-origin: top right;
  }

  .content-grid {
    gap: 16px;
  }

  .month-rail-card,
  .timeline-panel {
    padding-left: 14px;
    padding-right: 14px;
  }

  .timeline {
    padding-left: 16px;
  }

  .day-block {
    padding-left: 14px;
  }

  .message-list {
    gap: 10px;
  }

  .admin-shell {
    width: min(100%, calc(100vw - 24px));
    padding-top: 18px;
  }

  .admin-header,
  .admin-list-head {
    flex-direction: column;
  }
}
