:root {
  color-scheme: light;
  --ink: #362936;
  --muted: #756b78;
  --soft: rgba(255, 255, 255, 0.58);
  --soft-strong: rgba(255, 255, 255, 0.78);
  --line: rgba(98, 69, 88, 0.14);
  --pink: #f59ab6;
  --rose: #d65d7f;
  --lavender: #b9a7ff;
  --mint: #8fd5c1;
  --butter: #ffd36e;
  --sky: #8fc7ff;
  --peach: #ffb38a;
  --shadow: 0 18px 46px rgba(130, 86, 117, 0.18);
  --shadow-soft: 0 10px 28px rgba(130, 86, 117, 0.12);
  --radius: 8px;
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --motion-fast: 160ms;
  --motion-medium: 360ms;
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  letter-spacing: 0;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background:
    linear-gradient(145deg, rgba(255, 245, 230, 0.92), rgba(249, 218, 231, 0.9) 36%, rgba(222, 232, 255, 0.86) 68%, rgba(219, 246, 235, 0.88)),
    linear-gradient(35deg, rgba(255, 211, 110, 0.24), rgba(143, 199, 255, 0.2));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.ambient {
  position: fixed;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  top: 0;
  height: 36vh;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
}

.ambient-two {
  bottom: 0;
  height: 30vh;
  background: linear-gradient(0deg, rgba(255, 246, 214, 0.38), rgba(255, 255, 255, 0));
}

.petal-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.petal-field span {
  position: absolute;
  top: -8%;
  width: 9px;
  height: 14px;
  border-radius: 9px 9px 2px 9px;
  background: rgba(255, 154, 186, 0.42);
  animation: petal-fall 15s linear infinite;
}

.petal-field span:nth-child(1) {
  left: 8%;
  animation-delay: 0s;
}

.petal-field span:nth-child(2) {
  left: 28%;
  animation-delay: 4s;
  background: rgba(185, 167, 255, 0.38);
}

.petal-field span:nth-child(3) {
  left: 54%;
  animation-delay: 2s;
  background: rgba(255, 211, 110, 0.44);
}

.petal-field span:nth-child(4) {
  left: 74%;
  animation-delay: 7s;
  background: rgba(143, 213, 193, 0.4);
}

.petal-field span:nth-child(5) {
  left: 90%;
  animation-delay: 5s;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 8px;
  backdrop-filter: blur(18px);
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-actions form {
  margin: 0;
}

.topbar-button {
  cursor: pointer;
  color: inherit;
}

.brand-mark,
.admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 8px 24px rgba(96, 69, 92, 0.08);
  font-weight: 800;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--butter));
  box-shadow: 0 0 18px rgba(214, 93, 127, 0.45);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 6px 16px calc(var(--nav-height) + 28px);
}

.flash-stack {
  display: grid;
  gap: 8px;
  margin: 8px 0 14px;
}

.flash {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-strong);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.flash-error {
  background: rgba(255, 232, 236, 0.88);
  color: #8d2f4c;
}

.flash-success {
  background: rgba(230, 250, 241, 0.88);
  color: #2b725c;
}

.glass-card,
.memory-item,
.fortune-card,
.certificate-card,
.action-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.2);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  min-height: calc(100svh - 128px);
  padding: 30px 0 18px;
  align-items: center;
}

.hero-morning .soft-moon,
.hero-day .soft-moon {
  box-shadow: 0 28px 70px rgba(255, 179, 138, 0.28);
}

.hero-evening .soft-moon {
  background: linear-gradient(140deg, rgba(255, 246, 226, 0.95), rgba(246, 166, 193, 0.66));
}

.hero-night .soft-moon {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(185, 167, 255, 0.72));
}

.hero-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}

.eyebrow {
  margin: 0;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: 4rem;
  line-height: 0.96;
  font-weight: 950;
}

.hero-subtitle {
  margin: 0;
  color: #5b4055;
  font-size: 1.18rem;
  font-weight: 800;
}

.hero-greeting {
  width: fit-content;
  max-width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  color: #5f3b55;
  font-weight: 800;
}

.hero-visual {
  min-height: 230px;
  display: grid;
  place-items: center;
}

.outdoor-scene {
  position: absolute;
  width: min(86vw, 340px);
  height: 250px;
  opacity: 0.88;
}

.scene-cloud {
  position: absolute;
  width: 86px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 22px 4px 0 rgba(255, 255, 255, 0.52), -18px 8px 0 rgba(255, 255, 255, 0.42);
  animation: breeze-drift 9s ease-in-out infinite;
}

.cloud-one {
  left: 6px;
  top: 20px;
}

.cloud-two {
  right: 18px;
  top: 58px;
  transform: scale(0.76);
  animation-delay: 1.6s;
}

.scene-sun {
  position: absolute;
  right: 44px;
  top: 16px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe6a5, #ffbf74 72%);
  box-shadow: 0 0 48px rgba(255, 190, 116, 0.42);
}

.scene-path {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120px;
  height: 86px;
  transform: translateX(-50%) perspective(120px) rotateX(52deg);
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(255, 243, 213, 0.74), rgba(212, 236, 205, 0.28));
}

.scene-flower {
  position: absolute;
  bottom: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 10px 0 0 var(--butter), 5px -8px 0 var(--lavender);
}

.flower-one {
  left: 42px;
}

.flower-two {
  right: 48px;
  transform: scale(0.8);
}

.moon-orbit {
  position: relative;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  animation: float-soft 5s ease-in-out infinite;
}

.soft-moon {
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(255, 218, 232, 0.68)),
    linear-gradient(30deg, rgba(255, 211, 110, 0.44), rgba(185, 167, 255, 0.48));
  box-shadow: 0 28px 70px rgba(170, 100, 140, 0.28);
  color: #d65d7f;
  font-size: 4.8rem;
  font-weight: 950;
}

.heart-dot {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(110, 84, 116, 0.16);
  animation: sparkle-bob 3.8s ease-in-out infinite;
}

.dot-a {
  top: 8px;
  right: 38px;
}

.dot-b {
  left: 18px;
  bottom: 38px;
  animation-delay: 0.8s;
}

.dot-c {
  right: 4px;
  bottom: 32px;
  animation-delay: 1.3s;
}

.daily-dashboard,
.timeline-section,
.history-section {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.section-heading {
  display: grid;
  gap: 4px;
}

.section-link {
  justify-self: start;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: #6a5368;
  font-size: 0.78rem;
  font-weight: 850;
}

.section-heading h2,
.page-hero h1,
.compact-hero h1 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.12;
}

.daily-profile-card {
  padding: 16px;
}

.profile-topline,
.fortune-top,
.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-topline span,
.mini-stat span,
.memory-item span,
.fortune-details span,
.history-card span,
.box-card span,
.certificate-card span,
.cola-status-card span,
.flower-note span,
.bottle-card span,
.reply-badge {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.profile-topline strong {
  font-size: 1.22rem;
}

.warmth-meter {
  height: 12px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.warmth-meter div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--butter), var(--pink));
  animation: meter-glow 2.8s ease-in-out infinite;
}

.warmth-copy {
  margin: 10px 0 0;
  color: #614354;
  font-weight: 800;
}

.daily-grid,
.quick-entry-grid,
.history-grid,
.box-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.outdoor-stat {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(223, 246, 229, 0.56));
}

.mini-stat,
.entry-card,
.whisper-card,
.box-card,
.bottle-card,
.cola-status-card,
.reply-card,
.form-card,
.admin-summary {
  padding: 16px;
}

.mini-stat {
  display: grid;
  gap: 8px;
  min-height: 96px;
}

.mini-stat strong,
.entry-card strong {
  line-height: 1.35;
}

.memory-strip,
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.stats-row {
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
}

.memory-item {
  min-height: 82px;
  padding: 12px 8px;
  display: grid;
  place-items: center;
  text-align: center;
}

.memory-item strong {
  font-size: 1.55rem;
}

.today-whispers {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.whisper-card {
  display: grid;
  gap: 8px;
}

.whisper-card p,
.reply-card p,
.flower-note p,
.bottle-card p,
.box-card p,
.fortune-main,
.cola-response p,
.compact-row p,
.admin-row p,
.history-record-card p {
  margin: 0;
  line-height: 1.65;
  white-space: pre-wrap;
}

.future-glow,
.future-note {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(232, 224, 255, 0.68));
}

.entry-card {
  display: grid;
  gap: 6px;
  min-height: 112px;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.entry-card:active,
.action-button:active,
.primary-button:active,
.secondary-button:active,
.icon-button:active,
.heart-button:active {
  transform: scale(0.98);
}

.entry-card:hover {
  transform: translateY(-2px);
}

.entry-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.secret-message {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: calc(var(--nav-height) + 18px);
  z-index: 20;
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(54, 41, 54, 0.92);
  color: white;
  text-align: center;
  font-weight: 800;
  transition: opacity 220ms ease, transform 220ms ease;
}

.secret-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  display: grid;
  gap: 9px;
  padding: 24px 0 12px;
}

.page-hero p:not(.eyebrow) {
  margin: 0;
  color: #5f4a5b;
  line-height: 1.58;
  font-weight: 650;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.field-label {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  color: #4e3749;
  font-weight: 900;
}

.form-card {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

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

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

.mood-option,
.tag-picker label {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  color: #4f354a;
  font-weight: 850;
  overflow: hidden;
}

.mood-option::after,
.tag-picker label::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--mood-color, var(--pink));
  opacity: 0.78;
}

.mood-option input,
.tag-picker input,
.energy-picker input {
  position: absolute;
  opacity: 0;
}

.mood-emoji {
  font-size: 1.5rem;
}

.mood-option:has(input:checked),
.tag-picker label:has(input:checked),
.energy-picker label:has(input:checked) {
  border-color: rgba(214, 93, 127, 0.36);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(214, 93, 127, 0.15);
}

.mood-option:has(input:checked) {
  animation: mood-glow 520ms ease both;
}

.energy-picker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.energy-picker label {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.46);
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 900;
}

textarea,
input[type="text"],
input[type="password"],
.field-label input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 122px;
  padding: 12px;
  resize: vertical;
}

.field-label input {
  min-height: 48px;
  padding: 0 12px;
}

textarea:focus,
input:focus {
  border-color: rgba(214, 93, 127, 0.42);
  box-shadow: 0 0 0 4px rgba(214, 93, 127, 0.12);
}

.field-label small {
  justify-self: end;
  color: var(--muted);
  font-weight: 700;
}

.primary-button,
.secondary-button,
.icon-button,
.delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 950;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.primary-button {
  width: 100%;
  background: linear-gradient(135deg, #df6f91, #f5a55f, #78c9b6);
  color: white;
  box-shadow: 0 14px 30px rgba(214, 93, 127, 0.24);
}

.secondary-button,
.icon-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  color: #573f53;
}

.delete-button {
  min-height: 36px;
  padding: 0 12px;
  background: rgba(255, 232, 236, 0.9);
  color: #8d2f4c;
}

.reply-card {
  display: grid;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(230, 250, 241, 0.68));
}

.reply-card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.reply-card small {
  color: #526a60;
  font-weight: 800;
}

.mood-timeline {
  position: relative;
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: start;
}

.timeline-dot {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 26px rgba(90, 65, 92, 0.12);
}

.timeline-body {
  padding: 13px;
}

.timeline-body h3 {
  margin: 4px 0 6px;
  font-size: 1rem;
}

.timeline-body span,
.timeline-body small,
.history-card small,
.compact-row small,
.admin-row small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.draw-form {
  margin: 10px 0 16px;
}

.draw-button.is-drawing {
  opacity: 0.78;
  pointer-events: none;
}

.fortune-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 234, 242, 0.66));
}

.fortune-card::before {
  content: "✦";
  position: absolute;
  right: 16px;
  top: 50px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 7rem;
  line-height: 1;
}

.fortune-card.is-revealed {
  animation: card-reveal 520ms ease both;
}

.fortune-card h2 {
  position: relative;
  margin: 0;
  font-size: 1.8rem;
}

.fortune-main {
  position: relative;
  font-size: 1.06rem;
  font-weight: 800;
}

.fortune-details {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.fortune-details div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

.cola-comment {
  position: relative;
  margin: 0;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
  font-weight: 800;
}

.fortune-card footer {
  position: relative;
  color: #6d5268;
  font-weight: 900;
}

.rarity-n {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(230, 250, 241, 0.62));
}

.rarity-r {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(224, 235, 255, 0.68));
}

.rarity-sr {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 226, 239, 0.72));
}

.rarity-ssr {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 215, 126, 0.66), rgba(185, 167, 255, 0.5));
}

.rarity-ur {
  border-color: rgba(255, 190, 94, 0.72);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 210, 108, 0.7), rgba(118, 201, 182, 0.48), rgba(185, 167, 255, 0.5));
  box-shadow: 0 22px 70px rgba(255, 170, 80, 0.26);
}

.rarity-hidden {
  border-color: rgba(214, 93, 127, 0.4);
  background: linear-gradient(145deg, rgba(56, 43, 68, 0.88), rgba(214, 93, 127, 0.58), rgba(255, 211, 110, 0.46));
  color: #fffaf7;
}

.rarity-hidden span,
.rarity-hidden small,
.rarity-hidden footer {
  color: rgba(255, 255, 255, 0.86);
}

.empty-fortune {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 250px;
  padding: 20px;
  text-align: center;
}

.big-symbol {
  font-size: 3rem;
}

.history-card {
  display: grid;
  gap: 6px;
  min-height: 98px;
  padding: 14px;
}

.history-tabs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.history-tabs::-webkit-scrollbar {
  display: none;
}

.history-tabs a {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #634f62;
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: var(--shadow-soft);
}

.full-history-list {
  display: grid;
  gap: 10px;
}

.history-record-card {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.history-record-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
}

.history-record-card p {
  color: #5f4c5f;
}

.history-record-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.record-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.record-kicker span,
.record-kicker strong {
  min-width: 0;
}

.record-kicker span {
  overflow-wrap: anywhere;
}

.history-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.history-chip {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #6a5168;
  font-size: 0.76rem;
  font-weight: 850;
}

.cola-stage {
  display: grid;
  place-items: center;
  gap: 14px;
  margin: 12px 0 18px;
}

.cozy-cat-card {
  position: relative;
  min-height: 360px;
  padding: 34px 16px 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 244, 214, 0.62), rgba(255, 255, 255, 0.32)),
    linear-gradient(135deg, rgba(255, 220, 234, 0.48), rgba(219, 246, 235, 0.54));
  box-shadow: var(--shadow);
}

.cozy-cat-card.is-playing .cute-cat {
  animation: cat-hop 420ms ease both;
}

.sunbeam {
  position: absolute;
  top: -40px;
  right: 14%;
  width: 120px;
  height: 260px;
  transform: rotate(18deg);
  background: linear-gradient(180deg, rgba(255, 224, 132, 0.36), rgba(255, 224, 132, 0));
  filter: blur(1px);
}

.tiny-blanket {
  position: absolute;
  bottom: 58px;
  width: min(78%, 310px);
  height: 58px;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, rgba(255, 154, 186, 0.38), rgba(255, 154, 186, 0.38) 18px, rgba(255, 255, 255, 0.5) 18px, rgba(255, 255, 255, 0.5) 36px);
}

.fish-snack {
  position: absolute;
  right: 24%;
  bottom: 114px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-soft);
  animation: sparkle-bob 3.2s ease-in-out infinite;
}

.paw-trail {
  position: absolute;
  left: 18px;
  bottom: 84px;
  display: grid;
  gap: 8px;
  color: rgba(120, 88, 94, 0.28);
  transform: rotate(-18deg);
}

.paw-trail span:nth-child(2) {
  margin-left: 24px;
}

.paw-trail span:nth-child(3) {
  margin-left: 48px;
}

.cola-speech {
  position: relative;
  z-index: 2;
  max-width: min(92%, 360px);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px 18px 18px 6px;
  background: rgba(255, 255, 255, 0.72);
  color: #624552;
  font-weight: 850;
  box-shadow: var(--shadow-soft);
}

.css-cat {
  position: relative;
  width: 178px;
  height: 154px;
}

.cute-cat {
  z-index: 2;
  margin-top: 8px;
}

.cat-face {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 118px;
  border: 1px solid rgba(118, 80, 73, 0.14);
  border-radius: 48% 48% 38% 38%;
  background: linear-gradient(145deg, #f5c88d, #fff0d0 58%, #e9b979);
  box-shadow: 0 22px 46px rgba(148, 92, 79, 0.22);
}

.cat-ear {
  position: absolute;
  top: 8px;
  width: 54px;
  height: 56px;
  background: #efbd80;
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
}

.cat-ear.left {
  left: 28px;
  transform: rotate(-12deg);
  animation: ear-wiggle-left 4s ease-in-out infinite;
}

.cat-ear.right {
  right: 28px;
  transform: rotate(12deg);
  animation: ear-wiggle-right 4s ease-in-out infinite;
}

.eye {
  position: absolute;
  top: 48px;
  width: 12px;
  height: 18px;
  border-radius: 999px;
  background: #3f2b32;
  animation: cat-blink 5s ease-in-out infinite;
}

.eye.left {
  left: 40px;
}

.eye.right {
  right: 40px;
}

.nose {
  position: absolute;
  top: 68px;
  left: calc(50% - 6px);
  width: 12px;
  height: 9px;
  border-radius: 999px 999px 6px 6px;
  background: #d65d7f;
}

.mouth {
  position: absolute;
  left: calc(50% - 16px);
  top: 78px;
  width: 32px;
  height: 15px;
  border-bottom: 3px solid rgba(63, 43, 50, 0.54);
  border-radius: 0 0 999px 999px;
}

.cat-cheek {
  position: absolute;
  top: 68px;
  width: 18px;
  height: 10px;
  border-radius: 999px;
  background: rgba(245, 154, 182, 0.28);
}

.cat-cheek.left {
  left: 20px;
}

.cat-cheek.right {
  right: 20px;
}

.cat-paw {
  position: absolute;
  bottom: -8px;
  width: 26px;
  height: 18px;
  border-radius: 999px 999px 8px 8px;
  background: #fff0d0;
  border: 1px solid rgba(118, 80, 73, 0.12);
}

.paw-left {
  left: 44px;
}

.paw-right {
  right: 44px;
}

.cat-tail {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 76px;
  height: 22px;
  border-radius: 999px;
  border: 14px solid #e5ad74;
  border-left-color: transparent;
  transform-origin: left center;
  animation: tail-swish 2.2s ease-in-out infinite;
}

.cola-status-card {
  width: min(100%, 320px);
  display: grid;
  gap: 6px;
  text-align: center;
}

.cola-status-card strong {
  font-size: 1.24rem;
}

.cola-response {
  display: grid;
  gap: 8px;
  padding: 16px;
  margin-bottom: 14px;
}

.rare-response {
  border-color: rgba(255, 181, 72, 0.55);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 225, 151, 0.62));
}

.super-rare-response {
  border-color: rgba(214, 93, 127, 0.55);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 198, 222, 0.72), rgba(185, 167, 255, 0.55));
  box-shadow: 0 18px 56px rgba(214, 93, 127, 0.24);
}

.cola-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  background: rgba(255, 255, 255, 0.58);
  color: #563b4f;
  cursor: pointer;
  font-weight: 950;
}

.compact-list {
  display: grid;
  gap: 10px;
}

.compact-row,
.admin-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  padding: 12px;
}

.garden-form {
  margin-top: 10px;
}

.tag-daily {
  --mood-color: var(--mint);
}

.tag-joy {
  --mood-color: var(--butter);
}

.tag-sad {
  --mood-color: var(--sky);
}

.tag-praise {
  --mood-color: var(--pink);
}

.tag-future {
  --mood-color: var(--lavender);
}

.tag-secret {
  --mood-color: #a7d8ff;
}

.tag-cola {
  --mood-color: var(--peach);
}

.tag-someone {
  --mood-color: #b0d6a8;
}

.garden-tools {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.filter-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: none;
}

.filter-scroll::-webkit-scrollbar {
  display: none;
}

.filter-scroll a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  color: #60475a;
  font-weight: 850;
}

.filter-scroll a.is-active {
  background: rgba(255, 255, 255, 0.82);
  color: var(--rose);
}

.garden-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.flower-note {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 15px;
  overflow: hidden;
}

.flower-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--mood-color, var(--pink));
}

.bottle-card {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.box-grid {
  margin-top: 14px;
}

.box-card {
  display: grid;
  gap: 12px;
  min-height: 176px;
}

.outdoor-box-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(223, 246, 229, 0.62));
}

.box-card p {
  font-size: 1.04rem;
  font-weight: 800;
}

.heart-card {
  text-align: center;
  place-items: center;
}

.heart-button {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, #df6f91, #f5a55f, #78c9b6);
  color: white;
  cursor: pointer;
  font-size: 2.2rem;
  box-shadow: 0 16px 34px rgba(214, 93, 127, 0.24);
}

.heart-card small {
  display: none;
  color: var(--rose);
  font-weight: 900;
}

.heart-card small.is-visible {
  display: block;
  animation: card-reveal 360ms ease both;
}

.certificate-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 214px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 236, 178, 0.72)),
    linear-gradient(45deg, rgba(185, 167, 255, 0.24), rgba(143, 213, 193, 0.22));
}

.certificate-card h2 {
  margin: 0;
  font-size: 2rem;
}

.certificate-card p {
  margin: 0;
  line-height: 1.7;
  font-weight: 850;
}

.admin-actions {
  margin: 12px 0;
}

.admin-actions form {
  margin: 0;
}

.admin-summary {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.admin-summary p {
  margin: 0;
  font-weight: 800;
}

.admin-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.admin-panel {
  display: grid;
  gap: 10px;
}

.admin-panel h2 {
  margin: 0;
  font-size: 1.2rem;
}

.admin-row {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.soft-warning {
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 247, 217, 0.86);
  color: #725629;
  font-weight: 800;
}

.empty-state {
  padding: 18px;
  border: 1px dashed rgba(98, 69, 88, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.34);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.bottom-nav {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-height: var(--nav-height);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 54px rgba(91, 61, 86, 0.2);
  backdrop-filter: blur(24px) saturate(1.25);
}

.bottom-nav-item {
  display: grid;
  place-items: center;
  gap: 3px;
  min-width: 0;
  min-height: 58px;
  border-radius: 16px;
  color: #725f70;
  font-weight: 850;
}

.bottom-nav-item span {
  font-size: 1.1rem;
  line-height: 1;
}

.bottom-nav-item small {
  max-width: 100%;
  font-size: 0.62rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.travel-hero {
  position: relative;
}

.travel-hero::after {
  content: "✈";
  position: absolute;
  right: 8px;
  top: 22px;
  color: rgba(214, 93, 127, 0.18);
  font-size: 4.8rem;
  transform: rotate(-12deg);
}

.travel-dashboard-grid,
.travel-plan-grid,
.owner-stats-grid,
.owner-activity-grid,
.owner-two-panel,
.travel-entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.travel-note-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(222, 247, 230, 0.54));
}

.travel-note-card p,
.route-message,
.route-card p,
.postcard-card p,
.travel-entry-card p,
.surprise-card p {
  margin: 0;
  line-height: 1.65;
}

.travel-note-card small {
  color: var(--rose);
  font-weight: 850;
}

.travel-plan-section,
.route-map-section,
.owner-panel,
.owner-two-panel {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.travel-plan-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  min-height: 148px;
  padding: 14px;
  overflow: hidden;
}

.travel-plan-cover {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 120px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 237, 218, 0.48)),
    linear-gradient(135deg, rgba(143, 213, 193, 0.42), rgba(246, 166, 193, 0.28));
}

.travel-plan-cover span {
  font-size: 2rem;
  line-height: 1;
}

.travel-plan-cover small,
.travel-plan-meta span,
.travel-plan-stats span,
.travel-plan-card small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.travel-plan-copy {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.travel-plan-copy strong {
  font-size: 1.08rem;
  line-height: 1.25;
}

.travel-plan-copy p {
  margin: 0;
  color: #5f4c5f;
  line-height: 1.5;
}

.travel-plan-meta,
.travel-plan-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.travel-plan-meta span,
.travel-plan-stats span {
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.route-privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 800;
}

.route-map {
  position: relative;
  display: grid;
  gap: 10px;
}

.route-map::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--mint), var(--pink), var(--butter));
  opacity: 0.55;
}

.route-card {
  position: relative;
  padding: 14px;
  overflow: hidden;
}

.route-card summary {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.route-card summary::-webkit-details-marker {
  display: none;
}

.route-emoji {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.route-card small,
.travel-entry-card small,
.postcard-card small,
.surprise-card span,
.travel-note-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.route-message,
.surprise-card {
  padding: 15px;
}

.surprise-stack {
  display: grid;
  gap: 12px;
  margin: 12px 0;
}

.surprise-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 226, 239, 0.62), rgba(232, 224, 255, 0.48));
}

.surprise-card h2 {
  margin: 6px 0;
  font-size: 1.15rem;
}

.travel-form,
.travel-tools {
  margin-top: 16px;
}

.travel-two-col {
  display: grid;
  gap: 12px;
}

.travel-tag-picker {
  max-height: 280px;
  overflow: auto;
  padding-right: 2px;
}

.travel-tools {
  display: grid;
  gap: 10px;
}

.postcard-form {
  margin: 0;
}

.postcard-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(160, 116, 84, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 244, 214, 0.7)),
    repeating-linear-gradient(45deg, rgba(214, 93, 127, 0.08), rgba(214, 93, 127, 0.08) 8px, transparent 8px, transparent 16px);
  box-shadow: var(--shadow);
}

.travel-bottle {
  margin-top: 14px;
}

.travel-entry-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 16px;
  overflow: hidden;
}

.travel-entry-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--mint), var(--sky), var(--pink), var(--butter));
}

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

.travel-card-top span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.tag-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-chip-row small {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.travel-highlight {
  color: #6a4a58;
  font-weight: 900;
}

.travel-entry-card footer {
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  color: #5d4a58;
  line-height: 1.5;
  font-weight: 850;
}

.owner-login-stage {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 0;
}

.owner-login-card {
  width: min(100%, 460px);
  display: grid;
  gap: 14px;
  padding: 22px;
}

.owner-login-card h1,
.owner-header h1 {
  margin: 0;
  font-size: 2rem;
}

.owner-login-card p,
.owner-header p,
.owner-summary p,
.owner-activity-card p,
.owner-row p {
  margin: 0;
  line-height: 1.55;
}

.owner-shell {
  display: grid;
  gap: 18px;
  padding-top: 16px;
}

.page-owner_dashboard .app-shell,
.page-owner_login .app-shell {
  width: min(100%, 1180px);
  padding-bottom: 32px;
}

.owner-header,
.owner-export-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.owner-export-row {
  justify-content: flex-start;
}

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

.owner-summary,
.owner-filter-form,
.owner-route-form,
.owner-activity-card,
.owner-row {
  padding: 14px;
}

.owner-summary {
  display: grid;
  gap: 7px;
}

.owner-filter-form,
.owner-route-form {
  display: grid;
  gap: 10px;
}

.owner-filter-form input,
.owner-filter-form select,
.owner-route-form input,
.owner-route-form select,
.owner-route-form textarea,
.owner-panel textarea,
.owner-panel select {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.owner-route-form textarea,
.owner-panel textarea {
  min-height: 84px;
}

.owner-list,
.owner-route-list {
  display: grid;
  gap: 10px;
}

.owner-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.owner-check {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #4e3749;
  font-weight: 850;
}

.bottom-nav-item.is-active {
  background: linear-gradient(135deg, rgba(255, 231, 239, 0.95), rgba(229, 247, 241, 0.92));
  color: #c04771;
}

.login-stage {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 0;
}

.login-sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.login-cloud {
  position: absolute;
  width: 112px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 28px 8px 0 rgba(255, 255, 255, 0.36), -18px 10px 0 rgba(255, 255, 255, 0.32);
  animation: breeze-drift 11s ease-in-out infinite;
}

.cloud-a {
  left: 8%;
  top: 12%;
}

.cloud-b {
  right: 12%;
  top: 24%;
  transform: scale(0.78);
  animation-delay: 2s;
}

.login-heart {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
  animation: sparkle-bob 4s ease-in-out infinite;
}

.heart-a {
  left: 12%;
  bottom: 20%;
}

.heart-b {
  right: 14%;
  bottom: 28%;
  animation-delay: 1s;
}

.heart-c {
  left: 50%;
  top: 9%;
  animation-delay: 1.8s;
}

.login-card {
  position: relative;
  width: min(100%, 430px);
  display: grid;
  gap: 14px;
  padding: 30px 18px 20px;
  overflow: hidden;
  text-align: center;
}

.login-card h1 {
  margin: 0;
  font-size: 3.6rem;
  line-height: 0.96;
}

.login-subtitle,
.login-note {
  margin: 0;
  color: #664b60;
  line-height: 1.6;
  font-weight: 800;
}

.login-form {
  display: grid;
  gap: 12px;
  text-align: left;
}

.gift-lid {
  position: absolute;
  top: 0;
  left: 50%;
  width: 180px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: linear-gradient(90deg, var(--pink), var(--butter), var(--mint));
  opacity: 0.88;
}

.gift-ribbon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 10px);
  width: 20px;
  background: rgba(255, 255, 255, 0.32);
}

@keyframes breeze-drift {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(18px);
  }
}

@keyframes mood-glow {
  0% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes ear-wiggle-left {
  0%, 90%, 100% {
    transform: rotate(-12deg);
  }
  94% {
    transform: rotate(-18deg);
  }
}

@keyframes ear-wiggle-right {
  0%, 90%, 100% {
    transform: rotate(12deg);
  }
  94% {
    transform: rotate(18deg);
  }
}

@keyframes cat-hop {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes petal-fall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate3d(18px, 112vh, 0) rotate(220deg);
    opacity: 0;
  }
}

@keyframes float-soft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes sparkle-bob {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.04);
  }
}

@keyframes meter-glow {
  0%, 100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.35);
  }
}

@keyframes card-reveal {
  0% {
    transform: translateY(10px) scale(0.98);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes cat-blink {
  0%, 92%, 100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.08);
  }
}

@keyframes tail-swish {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(8deg);
  }
}

@media (min-width: 640px) {
  .daily-grid,
  .quick-entry-grid,
  .history-grid,
  .box-grid,
  .garden-board,
  .travel-dashboard-grid,
  .travel-plan-grid,
  .travel-entry-grid,
  .owner-activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .travel-two-col,
  .owner-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .app-shell {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-section {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    min-height: 620px;
  }

  .hero-title {
    font-size: 5.2rem;
  }

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

  .quick-entry-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .admin-grid,
  .owner-two-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .travel-dashboard-grid,
  .travel-entry-grid,
  .owner-activity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .owner-stats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .owner-filter-form {
    grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr auto;
    align-items: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
