@charset "UTF-8";

:root {
  --bg: #edf2e9;
  --paper: rgba(255, 255, 255, .62);
  --green: #285747;
  --ink: #27483e;
  --muted: #536b60;
  --line: rgba(87, 119, 93, .17);
  --orange: #a56646;
  --serif: "Songti SC", "STSong", "Noto Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --glass-border: rgba(255, 255, 255, .86);
  --glass-shadow: 0 24px 70px rgba(60, 91, 69, .10), inset 0 1px 0 rgba(255, 255, 255, .95);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(135deg, #f7f2e9 0%, #e8f0e7 52%, #f3edf5 100%);
  font: 17px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 8% 16%, rgba(251, 219, 190, .74), transparent 44%),
    radial-gradient(ellipse at 88% 8%, rgba(216, 210, 238, .72), transparent 43%),
    radial-gradient(ellipse at 80% 88%, rgba(190, 218, 188, .65), transparent 48%),
    radial-gradient(ellipse at 12% 90%, rgba(253, 239, 207, .56), transparent 45%);
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; border: 0; background: none; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; }
svg { display: block; }
button svg { width: 21px; height: 21px; vertical-align: middle; flex-shrink: 0; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #6b8b62;
  outline-offset: 4px;
}
.shell { max-width: 1280px; margin: auto; padding: 0 48px; }

/* A small floating pane keeps the navigation quiet, but readable. */
.site-header {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 102px;
  margin-top: 23px;
  padding: 18px 26px;
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  background: rgba(255, 255, 255, .38);
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  box-shadow: 0 8px 30px rgba(66, 87, 66, .035), inset 0 1px 0 rgba(255, 255, 255, .85);
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font-size: 24px; letter-spacing: 2px; font-weight: 600; line-height: 1.4; }
.brand small { display: block; font-size: 10px; letter-spacing: 2.4px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.brand-mark { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; flex-shrink: 0; height: 57px; width: 57px; line-height: 1; border: 1px solid #fffdf4ed; border-radius: 19px; background: linear-gradient(140deg, #fffdf6d9, #f5e7bd61); box-shadow: 0 0 34px #ffd4778a, 0 0 12px #ffe29b99, 0 8px 20px #9b864817, inset 0 1px 0 #fffef8; }
.brand-mark::before { content: ""; position: absolute; inset: -21px; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #ffe39ebd 0%, #ffe9a561 40%, transparent 73%); opacity: .85; pointer-events: none; animation: moon-halo-breathe 4s ease-in-out infinite; }
.brand-sky { position: relative; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 3px #ffe29a87); }
.logo-moon { transform-box: fill-box; transform-origin: center; animation: moon-soft-float 4.8s ease-in-out infinite; filter: drop-shadow(0 0 5px #f3c854b3); }
.logo-star { transform-box: fill-box; transform-origin: center; opacity: .85; filter: drop-shadow(0 0 4px #ffda75cc); animation: star-soft-shimmer 2.8s ease-in-out infinite; }
.logo-star-two { animation-delay: -1.2s; animation-duration: 3.6s; }
.logo-star-three { animation-delay: -2.1s; animation-duration: 4.2s; }
@keyframes moon-halo-breathe { 0%,100% { opacity: .5; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.26); } }
@keyframes moon-soft-float { 0%,100% { transform: translateY(1px) rotate(-5deg); } 50% { transform: translateY(-3px) rotate(7deg); } }
@keyframes star-soft-shimmer { 0%,100% { opacity: .38; transform: scale(.72) rotate(-10deg); } 50% { opacity: 1; transform: scale(1.28) rotate(12deg); } }
.site-header nav { display: flex; gap: 9px; margin-left: auto; align-items: center; }
.nav-button { min-height: 47px; padding: 10px 18px; color: var(--muted); font-size: 16px; border: 1px solid transparent; border-radius: 17px; white-space: nowrap; }
.nav-button.active { color: var(--green); font-weight: 600; background: rgba(255, 255, 255, .67); border-color: #ffffffd9; box-shadow: 0 5px 15px #42664e08; }
#memory-count { font-size: 12px; display: inline-flex; align-items: center; justify-content: center; background: #dbe7d5aa; min-width: 23px; height: 23px; border-radius: 50%; margin-left: 5px; }
.about-button { border: 1px solid #bbcdb680; border-radius: 50%; width: 35px; height: 35px; font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--muted); background: #ffffff4a; }
main { min-height: calc(100vh - 237px); outline: 0; }
.home-grid { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1fr); gap: 66px; padding: 56px 0 55px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 13px; font-size: 14px; letter-spacing: 1.5px; color: #526f57; background: #ffffff4f; border: 1px solid #ffffff99; border-radius: 30px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: #8aab79; border-radius: 50%; box-shadow: 0 0 0 4px #dce8d054; }
.intro h1 { font-family: var(--serif); font-size: clamp(38px, 4vw, 49px); line-height: 1.58; letter-spacing: 1.5px; font-weight: 500; margin: 21px 0 20px; }
.intro h1 em { font-style: normal; color: var(--green); position: relative; white-space: nowrap; }
.intro h1 em::after { content: ""; position: absolute; bottom: -3px; left: 0; right: 0; height: 6px; border-top: 1px solid #89a381; border-radius: 50%; transform: rotate(-2deg); }
.intro-description { font-size: 18px; line-height: 1.95; color: var(--muted); margin: 0; max-width: 445px; }
.description-detail { display: block; }
.intro-scene { width: 260px; height: 125px; margin: 16px 0 18px; opacity: .92; filter: drop-shadow(0 8px 12px #52664409); }
.preferences { border-top: 1px solid var(--line); padding-top: 21px; max-width: 460px; }
.field-caption { font-size: 16px; color: var(--muted); margin: 0 0 13px; }
.mood-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mood-chips .chip { padding-left: 12px; padding-right: 12px; }
.chip { padding: 10px 16px; border: 1px solid #ffffffd9; border-radius: 24px; background: #ffffff61; font-size: 16px; line-height: 1.45; min-height: 46px; box-shadow: inset 0 1px 0 #ffffffb8, 0 3px 12px #55745504; transition: background .2s, color .2s, border .2s, transform .2s; }
.chip.selected { background: linear-gradient(140deg, #376a56, #285344); color: #fffef7; border-color: #335e4d; box-shadow: inset 0 1px 0 #7b9c855c, 0 7px 18px #335b4b18; }
.chip:hover { border-color: #85a179; transform: translateY(-1px); }
.filters { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 19px; }
.filters label { display: flex; gap: 8px; align-items: center; font-size: 17px; color: #4d675a; }
.filters select { appearance: none; -webkit-appearance: none; border: 1px solid #ffffffd9; background-color: #ffffff73; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%233e6855' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px 16px; background-position: right 16px center; color: #264e3e; font-size: 17px; font-weight: 500; line-height: 1.5; padding: 10px 44px 10px 16px; border-radius: 13px; min-height: 48px; min-width: 160px; max-width: 190px; box-shadow: inset 0 1px 0 #ffffffdb, 0 4px 14px #3e684306; cursor: pointer; transition: background-color .18s, border-color .18s, box-shadow .18s; }
.filters select:hover { background-color: #ffffffab; border-color: #fffffff2; }
.filters select:focus-visible { background-color: #ffffffb8; }
.suggestion-area { position: relative; max-width: 510px; justify-self: end; width: 100%; }
.date-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #536b5d; font-size: 14px; letter-spacing: .4px; margin-bottom: 14px; padding: 0 7px; }
.date-line span:last-child { color: #62785f; }

/* The card is frosted, with a milky backing beneath the text. */
.proposal {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: 29px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .47));
  backdrop-filter: blur(28px) saturate(1.12);
  -webkit-backdrop-filter: blur(28px) saturate(1.12);
  box-shadow: var(--glass-shadow), inset 0 -1px 0 #ffffff8c;
  overflow: hidden;
  animation: arrive .35s ease-out;
}
.proposal::after { content: ""; position: absolute; bottom: 0; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, #ffffff, transparent); }
.card-head { display: flex; justify-content: space-between; align-items: center; padding: 21px 25px 0; gap: 12px; }
.card-label { font-size: 14px; letter-spacing: 1.1px; color: #58704f; }
.save-button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid #ffffffd9; border-radius: 16px; color: #607a58; background: #ffffff63; box-shadow: inset 0 1px 0 white, 0 4px 14px #42664906; flex-shrink: 0; }
.save-button.saved { background: #d5e5cfa8; color: var(--green); border-color: #b5cba4; }
.save-button:hover { background: #ffffffb3; }
.art-space { height: 204px; display: flex; align-items: center; justify-content: center; position: relative; }
.art-space::before { content: ""; position: absolute; height: 156px; width: 230px; background: radial-gradient(ellipse, #fff9dfaa, #edf2dc17 65%, transparent 72%); filter: blur(8px); z-index: -1; }
.card-art { height: 199px; width: 320px; max-width: 93%; filter: drop-shadow(0 10px 13px #4e643b0c); }
.card-body { padding: 3px 31px 30px; }
.card-body h2 { font-family: var(--serif); font-weight: 500; font-size: 33px; letter-spacing: .5px; line-height: 1.5; margin: 0 0 10px; }
.teaser { font-size: 17px; color: var(--muted); margin: 0; line-height: 1.85; }
.condition { display: inline-flex; gap: 7px; align-items: flex-start; color: #506744; background: #e8efdb83; border: 1px solid #ffffffa1; border-radius: 11px; font-size: 14px; line-height: 1.7; padding: 7px 10px; margin-top: 17px; max-width: 100%; }
.condition svg { height: 16px; width: 16px; flex-shrink: 0; margin-top: 3px; }
.card-meta { display: flex; align-items: center; gap: 12px 17px; flex-wrap: wrap; margin: 22px 0 20px; color: #4c6657; font-size: 15px; }
.card-meta span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.card-meta svg { width: 17px; height: 17px; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 14px; background: linear-gradient(135deg, #3c705a, #285443); color: #fffef7; border: 1px solid #3c6754; border-radius: 17px; padding: 15px 22px; min-height: 57px; width: 100%; font-size: 18px; font-weight: 500; letter-spacing: 1px; box-shadow: 0 9px 23px #3159431c, inset 0 1px 0 #88a78b6b; transition: background .2s, transform .2s, box-shadow .2s; }
.primary-button:hover { background: linear-gradient(135deg, #487c64, #315f4c); transform: translateY(-1px); box-shadow: 0 12px 25px #31594324, inset 0 1px 0 #88a78b6b; }
.primary-button svg { width: 20px; height: 20px; }
.secondary-button { border: 1px solid #ffffffdb; border-radius: 15px; min-height: 48px; padding: 10px 18px; font-size: 16px; background: #ffffff63; box-shadow: inset 0 1px 0 #fff; }
.secondary-button:hover { background: #ffffffb3; }
.text-button { font-size: 15px; color: var(--muted); padding: 10px 12px; text-decoration: none; }
.text-button:hover { color: var(--green); }
.swap-button { display: flex; align-items: center; gap: 8px; margin: 17px auto 0; font-size: 16px; color: #4c6957; padding: 10px 17px; min-height: 45px; border-radius: 16px; }
.swap-button svg { width: 18px; height: 18px; }
.swap-button:hover { color: var(--green); background: #ffffff61; }
.site-footer { min-height: 90px; border-top: 1px solid #6d8c6324; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #58715e; gap: 20px; }
.site-footer button { font-size: 13px; color: #58715e; padding: 12px 0; }
.tiny-star { font-size: 20px; vertical-align: middle; margin-right: 7px; color: #75966b; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--green); color: white; padding: 10px; z-index: 50; }
.skip-link:focus { top: 16px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 14px); background: #285443f2; color: #fffef7; border: 1px solid #7d9c8066; border-radius: 17px; padding: 14px 22px; font-size: 16px; max-width: 90vw; opacity: 0; transition: .2s; pointer-events: none; z-index: 100; box-shadow: 0 10px 30px #233c3126; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.empty-card { padding: 60px 30px; text-align: center; min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.empty-card h2 { font-family: var(--serif); font-weight: 500; font-size: 29px; }
.empty-card p { color: var(--muted); font-size: 17px; max-width: 330px; }
.empty-card .secondary-button { margin-top: 12px; }
.small-kicker { font-size: 13px; letter-spacing: 1.8px; color: #536f53; text-transform: uppercase; }

/* The same glass and type scale continue through the complete experience. */
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 43px 0 29px; }
.page-heading h1 { font-family: var(--serif); font-size: 38px; font-weight: 500; letter-spacing: 1px; margin: 10px 0 8px; }
.page-heading p { font-size: 17px; color: var(--muted); margin: 0; }
.memory-tabs { display: flex; gap: 25px; border-bottom: 1px solid var(--line); margin-bottom: 29px; }
.memory-tabs button { font-size: 17px; padding: 12px 0; position: relative; color: var(--muted); }
.memory-tabs .selected { color: var(--green); font-weight: 600; }
.memory-tabs .selected::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: #537c5a; }
.memory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; padding-bottom: 40px; }
.memory-item { background: linear-gradient(145deg, #ffffffba, #ffffff75); border: 1px solid var(--glass-border); border-radius: 23px; overflow: hidden; position: relative; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 12px 35px #456b4e08, inset 0 1px 0 white; }
.memory-item .mini-art { height: 164px; background: #ecf0dd63; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.mini-art svg { height: 158px; width: 250px; }
.memory-photo { width: 100%; height: 190px; object-fit: cover; display: block; }
.memory-copy { padding: 23px; }
.memory-copy .memory-date { font-size: 14px; color: #5a715c; }
.memory-copy h2 { font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.5; margin: 8px 0 11px; }
.memory-copy p { font-size: 16px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); margin: 0 0 12px; }
.memory-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #536e50; margin-top: 17px; }
.icon-button { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); border-radius: 14px; }
.icon-button:hover { background: #ffffffa3; }
.icon-button svg { width: 18px; height: 18px; }
.empty-state { text-align: center; padding: 55px 20px 85px; grid-column: 1/-1; }
.empty-state .empty-illustration { display: flex; justify-content: center; }
.empty-state svg { width: 200px; height: 135px; }
.empty-state h2 { font-family: var(--serif); font-size: 29px; font-weight: 500; margin: 21px 0 11px; }
.empty-state p { font-size: 17px; color: var(--muted); margin: 0 0 25px; }
.empty-state .primary-button { width: auto; display: inline-flex; padding-left: 29px; padding-right: 29px; }
.active-layout { max-width: 760px; margin: auto; padding: 32px 0 45px; }
.back-button { padding: 10px 0; font-size: 16px; color: var(--muted); display: flex; gap: 9px; align-items: center; min-height: 45px; }
.back-button svg { width: 18px; height: 18px; }
.activity-card { background: linear-gradient(145deg, #ffffffc4, #ffffff80); border: 1px solid var(--glass-border); border-radius: 28px; padding: 30px 40px 35px; margin-top: 16px; backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); box-shadow: var(--glass-shadow); }
.activity-top { text-align: center; }
.activity-top .small-kicker { display: inline-flex; align-items: center; gap: 9px; }
.activity-top .small-kicker::before { content: ""; height: 7px; width: 7px; background: #87a370; border-radius: 50%; }
.activity-top .card-art { height: 178px; margin: 8px auto 0; }
.activity-top h1 { font-family: var(--serif); font-weight: 500; font-size: 35px; letter-spacing: .5px; margin: 6px 0 12px; }
.activity-top p { font-size: 17px; color: var(--muted); margin: 0; }
.activity-top .card-meta { justify-content: center; margin: 18px 0 25px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 25px 0 22px; }
.steps li { counter-increment: step; display: flex; gap: 17px; align-items: flex-start; padding: 16px 0; font-size: 18px; line-height: 1.85; border-bottom: 1px solid #6d8c6324; }
.steps li::before { content: "0" counter(step); font-family: Georgia, serif; color: #6e8b62; font-size: 16px; line-height: 2.05; flex-shrink: 0; }
.payoff { font-size: 16px; color: #526b4e; border-left: 2px solid #a5bc8f; padding: 3px 0 3px 15px; margin: 25px 0 29px; }
.pause-link { display: block; margin: 12px auto -8px; }
.reflect-heading { text-align: center; padding-bottom: 25px; }
.reflect-heading h1 { font-family: var(--serif); font-size: 34px; font-weight: 500; margin: 9px 0 11px; }
.reflect-heading p { color: var(--muted); font-size: 17px; margin: 0; }
.reflect-label { display: block; font-size: 17px; color: #4d6851; margin: 22px 0 12px; }
.reflect-label span { color: #63785f !important; }
.rating-options { display: flex; gap: 8px; flex-wrap: wrap; }
.rating-options .chip { font-size: 16px; }
.note-input { width: 100%; height: 140px; resize: vertical; border: 1px solid #ffffffed; border-radius: 16px; background: #ffffff8a; padding: 15px 16px; color: var(--ink); line-height: 1.85; font-size: 17px; box-shadow: inset 0 1px 5px #72976b09; }
.note-input::placeholder { color: #697d68; }
.input-counter { text-align: right; font-size: 14px; color: #5e765d; margin-top: 5px; }
.photo-control { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 15px 0 24px; }
.photo-control label { display: inline-flex; gap: 9px; align-items: center; font-size: 16px; border: 1px dashed #a3b99a; border-radius: 14px; cursor: pointer; padding: 12px 15px; color: #526d4f; background: #ffffff47; }
.photo-control svg { width: 19px; height: 19px; }
.photo-preview { max-width: 100%; max-height: 240px; border-radius: 16px; display: block; margin-bottom: 18px; }
.privacy-note { font-size: 14px; color: #5f765c; text-align: center; margin: 14px 0 0; }
.photo-status { font-size: 14px; color: var(--muted); }
.visually-hidden { clip: rect(0,0,0,0); clip-path: inset(50%); width: 1px; height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; border: 0; }
dialog { border: 1px solid #fffffff0; background: linear-gradient(140deg, #fbfcf5f2, #edf4e9f0); color: var(--ink); border-radius: 25px; max-width: 480px; width: calc(100% - 36px); padding: 30px; box-shadow: 0 25px 100px #233c312b, inset 0 1px 0 white; backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); }
dialog::backdrop { background: #29443442; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal-close { position: absolute; right: 13px; top: 13px; }
.modal-icon { color: #78956a; font-size: 36px; }
.modal-title { font-family: var(--serif); font-size: 29px; font-weight: 500; margin: 14px 0; }
.modal-text { font-size: 17px; line-height: 1.95; color: var(--muted); }
.modal-actions { display: flex; gap: 11px; margin-top: 26px; }
.modal-actions > * { flex: 1; }
.modal-actions .primary-button { font-size: 16px; padding: 12px; }
.storage-warning { font-size: 15px; color: #765137; background: #fff0d4d1; border: 1px solid #fff7df; border-radius: 14px; padding: 12px 16px; margin: 16px 0; }
.preview-badge { display: inline-flex; border: 1px solid #ffffffd9; padding: 6px 10px; font-size: 12px; letter-spacing: 1px; border-radius: 9px; color: #5e7955; }
.inline-resume { margin-top: 21px; font-size: 16px; color: var(--green); display: flex; gap: 8px; align-items: center; text-align: left; }
.saved-action { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 17px; }
.saved-action .secondary-button { font-size: 15px; padding: 9px 13px; min-height: 44px; }
.success-mark { margin: 0 auto; width: 58px; height: 58px; border: 1px solid #ffffffed; border-radius: 21px; display: flex; align-items: center; justify-content: center; color: #4e7954; background: #e4efdaaa; box-shadow: 0 8px 22px #658c4e0d, inset 0 1px 0 #fff; }
.success-mark svg { width: 27px; height: 27px; }
.success-panel { text-align: center; padding: 43px 24px; }
.success-panel h1 { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.65; margin: 24px 0 14px; }
.success-panel p { font-size: 17px; color: var(--muted); margin: 0 0 27px; }
.success-panel .primary-button { max-width: 310px; margin: auto; }
.success-panel .text-button { margin-top: 10px; }


/* Moonlight and glass glints: decorative layers never intercept an action. */
.brand-mark::after { content: ""; position: absolute; inset: 1px; z-index: 2; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 30%, #ffffff00 39%, #fffbedc9 48%, #ffffff00 58%, transparent 68%); background-size: 270% 100%; background-position: 125% 0; animation: jewel-glint 6.8s ease-in-out infinite; }
.eyebrow { position: relative; overflow: hidden; isolation: isolate; border-color: #fff9e3ed; background: linear-gradient(120deg, #fffdf485, #ffffff4a); box-shadow: inset 0 1px 0 #fffffff2, 0 0 24px #f3d89d26; }
.eyebrow::before { flex-shrink: 0; animation: expectation-pulse 3.6s ease-in-out infinite; }
.eyebrow::after { content: ""; position: absolute; left: -60px; top: -15px; width: 45px; height: 90px; pointer-events: none; background: linear-gradient(90deg, transparent, #ffffffb8, transparent); transform: translateX(-50px) rotate(24deg); animation: expectation-glint 8s ease-in-out infinite; animation-delay: -1.8s; }
.intro-scene { overflow: visible; opacity: 1; filter: drop-shadow(0 9px 18px #b6a45f1c); }
.scene-door-light, .scene-floor-glow { animation: doorway-warmth 4.8s ease-in-out infinite; }
.scene-door { transform-origin: 79px 80px; animation: door-daydream 7s ease-in-out infinite; }
.scene-leaves { transform-origin: 189px 103px; animation: plant-breeze 5.2s ease-in-out infinite; }
.scene-moon { transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 5px #ebcf7e8a); animation: moon-scene-drift 5.6s ease-in-out infinite; }
.scene-spark, .scene-firefly { transform-box: fill-box; transform-origin: center; animation: tiny-starlight 3.6s ease-in-out infinite; }
.scene-spark-two { animation-delay: -1.5s; }
.scene-firefly-one { animation: firefly-drift 5.2s ease-in-out infinite; }
.scene-firefly-two { animation: firefly-drift 6.8s ease-in-out infinite; animation-delay: -3s; }
.art-space { isolation: isolate; overflow: hidden; }
.art-space::before { z-index: 0; width: 290px; height: 180px; background: radial-gradient(ellipse, #fff0bfb8, #e7efd756 55%, transparent 73%); filter: blur(8px); animation: illustration-aura 5s ease-in-out infinite; }
.art-space::after { content: ""; position: absolute; z-index: 2; pointer-events: none; left: -110px; top: -35px; width: 76px; height: 275px; background: linear-gradient(90deg, transparent, #ffffff82, transparent); filter: blur(5px); transform: translateX(0) rotate(24deg); animation: illustration-glint 9s ease-in-out infinite; animation-delay: -2s; }
.art-space .card-art { position: relative; z-index: 1; }
.art-space .art-figure, .activity-top .art-figure { transform-origin: 160px 110px; animation: illustration-float 5.4s ease-in-out infinite; }
.art-space .art-ground { transform-origin: 160px 123px; animation: illustration-shadow 5.4s ease-in-out infinite; }
.art-space .art-spark, .activity-top .art-spark { transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 2px #e9cf8c8a); animation: tiny-starlight 3.4s ease-in-out infinite; }
.art-space .art-spark-two { animation-delay: -1.4s; animation-duration: 4.4s; }
.art-space .art-spark-three { animation-delay: -2.4s; animation-duration: 5.4s; }
.art-space .art-leaf, .activity-top .art-leaf { transform-origin: 153px 108px; animation: leaf-on-the-page 4.8s ease-in-out infinite; }
.art-space .art-steam, .activity-top .art-steam { animation: tea-steam 3.8s ease-in-out infinite; }
.art-space .art-lamp-light, .activity-top .art-lamp-light { animation: doorway-warmth 4.4s ease-in-out infinite; }
@keyframes jewel-glint { 0%,12% { background-position: 125% 0; opacity: 0; } 18% { opacity: .8; } 46% { background-position: -35% 0; opacity: .8; } 52%,100% { background-position: -35% 0; opacity: 0; } }
@keyframes expectation-pulse { 0%,100% { box-shadow: 0 0 0 3px #cbdcba47, 0 0 8px #a1bd7e40; } 50% { box-shadow: 0 0 0 7px #cbdcba19, 0 0 16px #b8ca879c; } }
@keyframes expectation-glint { 0%,10% { opacity: 0; transform: translateX(-40px) rotate(24deg); } 18% { opacity: .75; } 48% { opacity: .75; transform: translateX(390px) rotate(24deg); } 55%,100% { opacity: 0; transform: translateX(390px) rotate(24deg); } }
@keyframes doorway-warmth { 0%,100% { opacity: .28; } 50% { opacity: .85; } }
@keyframes door-daydream { 0%,100% { transform: skewY(0deg) scaleX(1); } 50% { transform: skewY(-2deg) scaleX(.94); } }
@keyframes plant-breeze { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
@keyframes moon-scene-drift { 0%,100% { transform: translateY(1px) rotate(-3deg); } 50% { transform: translateY(-4px) rotate(5deg); } }
@keyframes tiny-starlight { 0%,100% { opacity: .35; transform: scale(.78); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes firefly-drift { 0%,100% { opacity: .2; transform: translate(0,3px); } 50% { opacity: .95; transform: translate(4px,-7px); } }
@keyframes illustration-aura { 0%,100% { opacity: .5; transform: scale(.94); } 50% { opacity: .95; transform: scale(1.08); } }
@keyframes illustration-glint { 0%,8% { opacity: 0; transform: translateX(0) rotate(24deg); } 16% { opacity: .65; } 46% { opacity: .65; transform: translateX(740px) rotate(24deg); } 54%,100% { opacity: 0; transform: translateX(740px) rotate(24deg); } }
@keyframes illustration-float { 0%,100% { transform: translateY(2px) rotate(-.7deg); } 50% { transform: translateY(-5px) rotate(.8deg); } }
@keyframes illustration-shadow { 0%,100% { opacity: .86; transform: scale(1.03); } 50% { opacity: .55; transform: scale(.91); } }
@keyframes leaf-on-the-page { 0%,100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-3px); } }
@keyframes tea-steam { 0%,100% { opacity: .35; transform: translateY(2px); } 50% { opacity: .9; transform: translateY(-5px); } }

@keyframes arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
  .shell { padding: 0 34px; }
  .home-grid { gap: 38px; }
  .intro h1 { font-size: 40px; letter-spacing: 0; }
  .intro-description { font-size: 17px; }
  .chip { padding-left: 13px; padding-right: 13px; }
  .card-body { padding-left: 25px; padding-right: 25px; }
  .card-body h2 { font-size: 31px; }
  .filters { gap: 13px; }
  .filters label, .filters select { font-size: 16px; }
}
@media (max-width: 960px) {
  .home-grid { grid-template-columns: 1fr; gap: 35px; padding-top: 35px; }
  .intro, .suggestion-area { max-width: 610px; width: 100%; margin: auto; justify-self: center; }
  .intro { position: relative; }
  .intro h1 { font-size: 40px; margin-top: 18px; }
  .intro h1 br { display: none; }
  .intro-scene { position: absolute; right: 2px; top: 63px; width: 135px; height: 90px; opacity: .55; z-index: -1; }
  .description-detail { display: none; }
  .preferences { max-width: none; margin-top: 24px; }
  .memory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .shell { padding: 0 18px; }
  .site-header { height: 79px; margin-top: 14px; padding: 12px; gap: 9px; border-radius: 22px; }
  .brand { font-size: 18px; letter-spacing: .6px; gap: 9px; }
  .brand-mark { width: 44px; height: 46px; border-radius: 15px; }
  .brand small { font-size: 8px; letter-spacing: 1.35px; margin-top: 3px; }
  .site-header nav { gap: 3px; }
  .nav-button { font-size: 14px; padding: 9px 10px; min-height: 43px; border-radius: 14px; }
  #memory-count { font-size: 11px; min-width: 19px; height: 19px; margin-left: 3px; }
  .about-button { display: none; }
  .home-grid { padding: 26px 0 32px; gap: 26px; }
  .eyebrow { font-size: 13px; letter-spacing: 1px; padding: 5px 11px; }
  .intro h1 { font-size: clamp(26px, 7.2vw, 33px); letter-spacing: .2px; line-height: 1.6; margin: 16px 0 12px; }
  .intro h1 em { display: inline; }
  .intro-description { font-size: 16px; line-height: 1.85; max-width: none; }
  .intro-scene { display: none; }
  .preferences { margin-top: 21px; padding-top: 18px; }
  .field-caption { font-size: 15px; margin-bottom: 12px; }
  .mood-chips { gap: 7px; }
  .chip { padding: 10px 13px; font-size: 16px; min-height: 46px; }
  .filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 16px; gap: 14px; }
  .filters label { flex-direction: column; align-items: stretch; gap: 6px; font-size: 16px; }
  .filters select { width: 100%; min-width: 0; font-size: 16px; min-height: 48px; padding: 10px 44px 10px 16px; border-radius: 13px; max-width: none; }
  .date-line { font-size: 14px; margin-bottom: 13px; padding: 0 4px; }
  .proposal { border-radius: 25px; }
  .card-head { padding: 18px 20px 0; }
  .card-label { font-size: 14px; letter-spacing: .7px; }
  .save-button { width: 43px; height: 43px; border-radius: 15px; }
  .art-space { height: 163px; }
  .card-art { height: 170px; width: 300px; }
  .card-body { padding: 5px 23px 25px; }
  .card-body h2 { font-size: 30px; letter-spacing: .4px; margin-bottom: 10px; }
  .teaser { font-size: 17px; line-height: 1.85; }
  .condition { margin-top: 16px; font-size: 14px; padding: 7px 9px; }
  .card-meta { font-size: 14px; gap: 10px 16px; margin: 20px 0; }
  .card-meta span { gap: 5px; }
  .card-meta svg { width: 16px; height: 16px; }
  .primary-button { min-height: 56px; font-size: 18px; border-radius: 16px; }
  .swap-button { font-size: 16px; margin-top: 14px; }
  .site-footer { padding: 21px 0; min-height: 90px; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 13px; }
  .site-footer button { font-size: 13px; padding: 5px 0; }
  .page-heading { padding: 31px 0 22px; align-items: flex-start; }
  .page-heading h1 { font-size: 30px; letter-spacing: .5px; }
  .page-heading p { font-size: 16px; max-width: 265px; }
  .page-heading > .text-button { font-size: 14px; white-space: nowrap; padding: 12px 0; }
  .page-heading > .text-button svg { display: none; }
  .small-kicker { font-size: 12px; }
  .memory-grid { grid-template-columns: 1fr; gap: 22px; }
  .memory-item .mini-art { height: 175px; }
  .memory-tabs { margin-bottom: 24px; }
  .memory-tabs button { font-size: 17px; }
  .memory-copy { padding: 23px; }
  .memory-copy h2 { font-size: 27px; }
  .activity-card { padding: 26px 23px; border-radius: 25px; }
  .active-layout { padding-top: 23px; }
  .activity-top h1 { font-size: 30px; }
  .activity-top .card-art { height: 157px; }
  .activity-top p { font-size: 17px; }
  .steps li { font-size: 17px; }
  .payoff { font-size: 16px; }
  .reflect-heading h1 { font-size: 29px; }
  .reflect-heading p { font-size: 16px; }
  .rating-options .chip { padding: 10px 12px; font-size: 16px; }
  .reflect-label { font-size: 17px; }
  .toast { font-size: 15px; width: max-content; max-width: 89vw; bottom: 20px; }
  .empty-state { padding: 42px 8px 60px; }
  .empty-state h2 { font-size: 27px; }
  .empty-state p { font-size: 16px; }
  .success-panel h1 { font-size: 30px; }
  .success-panel p { font-size: 16px; }
  .preview-badge { display: none; }
  dialog { padding: 27px; }
  .modal-title { font-size: 27px; }
  .modal-text { font-size: 16px; }
  .modal-actions .primary-button, .modal-actions .secondary-button { font-size: 15px; padding-left: 9px; padding-right: 9px; }
}
@media (max-width: 390px) {
  .shell { padding: 0 15px; }
  .site-header { padding: 10px; gap: 5px; }
  .brand { font-size: 17px; gap: 7px; }
  .brand-mark { width: 42px; height: 44px; }
  .brand small { font-size: 7px; letter-spacing: 1.4px; }
  .nav-button { font-size: 13px; padding: 9px 7px; }
  .mood-chips { gap: 6px; }
  .chip { padding-left: 11px; padding-right: 11px; }
  .filters { gap: 10px; }
  .filters label { gap: 5px; }
  .filters select { padding-left: 14px; padding-right: 40px; background-position: right 14px center; }
  .card-body { padding-left: 21px; padding-right: 21px; }
  .card-meta { gap: 9px 14px; }
  .rating-options { gap: 6px; }
  .rating-options .chip { font-size: 15px; padding-left: 10px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@supports not (backdrop-filter: blur(1px)) {
  .proposal, .activity-card, .memory-item { background: rgba(251, 253, 246, .94); }
  .site-header { background: rgba(251, 253, 246, .82); }
}
