:root {
  --paper: #1b0a0d;
  --paper-2: #3b171a;
  --card: rgba(55, 23, 27, 0.94);
  --ink: #fff9f2;
  --muted: #d2b9b4;
  --line: rgba(255, 181, 151, 0.2);
  --green: #e94f36;
  --green-2: #ffa07c;
  --lime: #ffd36d;
  --lime-soft: #44201d;
  --peach: #ffac75;
  --peach-soft: #421b1d;
  --blue-soft: #361719;
  --danger: #ff6174;
}

html {
  background: #110607;
}

body {
  background:
    radial-gradient(circle at 50% -5%, rgba(255, 92, 46, 0.4), transparent 29rem),
    radial-gradient(circle at -10% 34%, rgba(239, 41, 49, 0.28), transparent 25rem),
    radial-gradient(circle at 110% 76%, rgba(255, 152, 72, 0.18), transparent 26rem),
    linear-gradient(180deg, #341016 0%, #1a090c 42%, #200b0e 100%);
}

.stage-aurora {
  background:
    conic-gradient(from 198deg at 50% -14%, transparent, rgba(255, 77, 55, 0.3), transparent 18%, rgba(255, 152, 73, 0.2), transparent 34%),
    radial-gradient(ellipse at 50% -8%, rgba(255, 152, 104, 0.24), transparent 40%);
}

.stage-stars {
  background-image:
    radial-gradient(circle at 12% 17%, rgba(255, 239, 193, 0.92) 0 1px, transparent 1.7px),
    radial-gradient(circle at 86% 10%, rgba(255, 195, 140, 0.85) 0 1px, transparent 1.8px),
    radial-gradient(circle at 70% 31%, rgba(255, 115, 72, 0.9) 0 1.2px, transparent 2px),
    radial-gradient(circle at 24% 48%, rgba(255, 242, 216, 0.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 91% 61%, rgba(255, 102, 71, 0.9) 0 1px, transparent 1.8px),
    radial-gradient(circle at 38% 75%, rgba(255, 179, 101, 0.8) 0 1px, transparent 1.7px);
}

.ambient-a {
  background: rgba(255, 57, 47, 0.24);
}

.ambient-b {
  background: rgba(255, 125, 54, 0.18);
}

.brand-mark {
  border-color: rgba(255, 211, 129, 0.65);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 240, 185, 0.9) 0 5%, transparent 6%),
    linear-gradient(145deg, #ff8f53, #dc3730 55%, #77171e);
  box-shadow: 0 0 25px rgba(255, 82, 48, 0.38);
}

.brand-copy small {
  color: #ffd08a;
}

.date-chip {
  border-color: rgba(255, 183, 138, 0.22);
  background: rgba(52, 18, 22, 0.78);
  color: #f6ddd3;
}

.eyebrow {
  color: #ffb16d;
}

.card {
  border-color: rgba(255, 181, 151, 0.16);
  background:
    linear-gradient(150deg, rgba(66, 27, 31, 0.95), rgba(30, 13, 17, 0.95));
}

.hero {
  border-color: rgba(255, 176, 114, 0.34);
  background:
    linear-gradient(90deg, rgba(39, 10, 12, 0.93) 0%, rgba(79, 19, 18, 0.68) 46%, rgba(81, 26, 16, 0.3) 100%),
    url("./images/fireworks-hero.jpg") center 45% / cover no-repeat,
    linear-gradient(145deg, #3e1417, #200d11);
  box-shadow:
    0 28px 70px rgba(38, 5, 8, 0.42),
    0 0 48px rgba(255, 86, 40, 0.13);
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(96, 20, 16, 0.03), rgba(39, 8, 12, 0.42)),
    linear-gradient(90deg, transparent 42%, rgba(255, 128, 60, 0.1) 72%, rgba(255, 77, 35, 0.1));
}

.phase-pill {
  border-color: rgba(255, 203, 102, 0.45);
  background: rgba(255, 153, 54, 0.16);
  color: #ffe09b;
}

.quick-action {
  border-color: rgba(255, 188, 153, 0.16);
  background: linear-gradient(145deg, rgba(67, 26, 31, 0.96), rgba(31, 13, 17, 0.96));
}

.quick-action .q-icon {
  background: rgba(255, 121, 79, 0.14);
  color: #ffc09d;
}

.quick-action.alcohol {
  border-color: rgba(255, 153, 103, 0.32);
  background:
    radial-gradient(circle at 85% 5%, rgba(255, 177, 82, 0.17), transparent 38%),
    linear-gradient(145deg, #40171c, #241015);
}

.quick-action.alcohol.highlight {
  border-color: rgba(255, 169, 102, 0.65);
  background:
    radial-gradient(circle at 82% 4%, rgba(255, 241, 166, 0.29), transparent 38%),
    linear-gradient(145deg, #e84f37, #a51f2c 60%, #641522);
  color: #fff9ee;
  box-shadow: 0 16px 38px rgba(239, 61, 43, 0.24);
}

.quick-action.alcohol.highlight .q-icon {
  background: rgba(44, 8, 14, 0.15);
  color: #fff1cc;
}

.quick-action.alcohol.highlight span {
  color: rgba(255, 239, 227, 0.76);
}

.action-head small {
  color: #ffb26e;
}

.focus-action {
  border-color: rgba(255, 168, 91, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 145, 67, 0.18), transparent 38%),
    linear-gradient(145deg, #351417, #1d0c11);
}

.reminder-banner {
  border-color: rgba(255, 165, 104, 0.25);
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 142, 62, 0.16), transparent 38%),
    linear-gradient(130deg, rgba(59, 22, 25, 0.96), rgba(31, 13, 18, 0.96));
}

.reminder-icon {
  border-color: rgba(255, 173, 113, 0.24);
  background: rgba(255, 111, 62, 0.11);
  color: #ffb881;
}

.reminder-copy small {
  color: #ffb46d;
}

.exercise-boost-card {
  border-color: rgba(255, 179, 87, 0.3);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 174, 70, 0.19), transparent 38%),
    linear-gradient(145deg, rgba(66, 28, 24, 0.96), rgba(36, 15, 18, 0.96));
}

.exercise-boost-card small {
  color: #ffc070;
}

.meal-row,
.entry-item,
.record-date-row,
.add-meal-card,
.mini-stat,
.budget-item {
  background: rgba(54, 21, 25, 0.92);
}

.meal-icon,
.entry-thumb {
  background: rgba(255, 116, 74, 0.13);
  color: #ffc19e;
}

.motivation {
  border-color: rgba(255, 159, 107, 0.21);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 107, 60, 0.2), transparent 36%),
    linear-gradient(135deg, #43171b, #241015);
}

.streak,
.bottom-nav {
  background: rgba(45, 17, 23, 0.94);
}

.nav-item.active {
  background: linear-gradient(135deg, #ff844f, #dd3a32 58%, #b92532);
}

.section-head .text-button,
.text-button {
  color: #ffb673;
}

.calorie-card::after {
  background: radial-gradient(circle, rgba(255, 114, 56, 0.13), transparent 68%);
}

.progress-fill {
  background: linear-gradient(90deg, #ff5b3f, #ff9e52, #ffd36d);
}

.info-banner {
  border-color: rgba(255, 159, 110, 0.16);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 136, 74, 0.13), transparent 36%),
    #351518;
}

.info-banner .b-icon {
  background: rgba(255, 157, 93, 0.12);
  color: #ffbd83;
}

.info-banner p {
  color: #bc9a90;
}

.mars-news-banner {
  border-color: rgba(255, 188, 112, 0.47);
  background:
    linear-gradient(90deg, rgba(74, 13, 14, 0.9), rgba(105, 29, 21, 0.38) 60%, rgba(88, 20, 16, 0.18)),
    url("./images/fireworks-portrait.jpg") center 46% / cover no-repeat;
}

.drink-card {
  border-color: rgba(255, 154, 101, 0.19);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 143, 65, 0.18), transparent 36%),
    radial-gradient(circle at 10% 100%, rgba(229, 54, 42, 0.18), transparent 40%),
    #321316;
}

.settings-profile,
.settings-row {
  background: rgba(57, 22, 27, 0.95);
}

.modal {
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 95, 55, 0.14), transparent 36%),
    #1e0d11;
}

.modal-footer {
  background: #1e0d11;
}

.input-wrap input,
.field > input,
.field > select,
.field > textarea,
.input-wrap select,
.common-food-search input {
  border-color: rgba(255, 183, 151, 0.17);
  background: rgba(255, 226, 214, 0.07);
}

.api-note {
  background: rgba(255, 147, 85, 0.09);
  color: #d8ad96;
}

.api-note a {
  color: #ffc183;
}

.plateau-banner {
  border-color: rgba(255, 195, 92, 0.22);
  background: rgba(255, 174, 68, 0.08);
}

.review-alcohol-row {
  border-color: rgba(255, 156, 102, 0.15);
  background: rgba(255, 128, 69, 0.06);
  color: #ffb477;
}

.review-alcohol-row p {
  color: #b69288;
}

.weekly-ticket {
  border-color: rgba(255, 180, 103, 0.47);
  background:
    linear-gradient(90deg, rgba(54, 17, 22, 0.96), rgba(58, 20, 22, 0.9) 58%, rgba(62, 23, 18, 0.73)),
    url("./images/fireworks-portrait.jpg") center 38% / cover no-repeat;
}

.ticket-top small {
  color: #ffb368;
}

.exercise-choice-head span,
.duration-chips button,
.drink-profile > small {
  color: #b79d99;
}

.exercise-type {
  border-color: rgba(255, 181, 151, 0.14);
  background: rgba(255, 226, 214, 0.045);
  color: #ceb7b2;
}

.exercise-type.selected {
  border-color: rgba(255, 174, 91, 0.58);
  background: rgba(255, 151, 68, 0.11);
}

.food-chip,
.checkin-tag {
  border-color: rgba(255, 181, 151, 0.15);
  background: rgba(255, 226, 214, 0.045);
  color: #d3b9b3;
}

.food-chip.selected,
.checkin-tag.selected {
  border-color: rgba(255, 157, 99, 0.56);
  background: rgba(255, 108, 66, 0.14);
  color: #ffe0cf;
}

.guide-step {
  border-color: rgba(255, 181, 151, 0.15);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 113, 66, 0.09), transparent 42%),
    rgba(255, 226, 214, 0.04);
}

.guide-note {
  background: rgba(255, 151, 83, 0.08);
  color: #c7a79b;
}

.reward-card {
  border-color: rgba(255, 185, 109, 0.42);
  background:
    linear-gradient(90deg, rgba(45, 11, 16, 0.96), rgba(62, 20, 24, 0.82)),
    var(--reward-image) var(--reward-position, center) / var(--reward-size, cover) no-repeat;
}

.concert-gallery-grid figure {
  border-color: rgba(255, 174, 139, 0.16);
  background: rgba(255, 224, 209, 0.04);
}

.concert-gallery-grid figcaption span,
.archive-history figcaption {
  color: #b89b95;
}

.toast {
  border-color: rgba(255, 175, 131, 0.18);
  background: #3b171b;
}

.home-screen .topbar {
  margin-bottom: 14px;
}

.home-intro .eyebrow {
  margin-bottom: 7px;
}

.home-intro h1 {
  max-width: 330px;
  margin-bottom: 9px;
  font-size: clamp(31px, 9.2vw, 38px);
  line-height: 1.02;
}

.home-intro .subcopy {
  margin-bottom: 16px;
  line-height: 1.65;
}

.home-hero {
  padding: 19px 20px 16px;
}

.home-hero .hero-main {
  margin: 13px 0 14px;
}

.home-hero .weight-value strong {
  font-size: clamp(46px, 13vw, 60px);
}

.home-hero .ring-wrap {
  width: 86px;
  height: 86px;
}

.home-hero .hero-bottom {
  padding-top: 12px;
}

.home-hero .hero-stat strong {
  margin-top: 2px;
  font-size: 17px;
}

.today-energy-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid rgba(255, 193, 145, 0.2);
  border-radius: 22px;
  background: rgba(255, 173, 116, 0.2);
  box-shadow: 0 14px 34px rgba(40, 7, 10, 0.24);
}

.today-energy-strip > div {
  min-width: 0;
  padding: 15px 13px 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 133, 70, 0.12), transparent 55%),
    rgba(58, 22, 25, 0.96);
}

.today-energy-strip span,
.today-energy-strip i {
  display: block;
  overflow: hidden;
  color: #d8b9ad;
  font-size: 10px;
  font-style: normal;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.today-energy-strip strong {
  display: block;
  margin: 3px 0 2px;
  color: #fff7ed;
  font-family: Georgia, "Songti SC", serif;
  font-size: 23px;
  line-height: 1;
}

.today-energy-strip strong small {
  color: #e9b18f;
  font-family: "PingFang SC", sans-serif;
  font-size: 9px;
}

.tonight-reward-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  width: 100%;
  margin-top: 14px;
  overflow: hidden;
  padding: 10px 12px 10px 10px;
  border: 1px solid rgba(255, 199, 111, 0.42);
  border-radius: 21px;
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 192, 77, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(111, 34, 30, 0.98), rgba(45, 16, 20, 0.98));
  color: #fff8ed;
  text-align: left;
  box-shadow: 0 16px 34px rgba(44, 8, 10, 0.22);
  cursor: pointer;
}

.tonight-reward-photo {
  width: 92px;
  height: 78px;
  border: 1px solid rgba(255, 228, 181, 0.32);
  border-radius: 15px;
  box-shadow: inset 0 0 28px rgba(41, 6, 11, 0.24);
}

.tonight-reward-copy {
  min-width: 0;
}

.tonight-reward-copy small,
.tonight-reward-copy strong,
.tonight-reward-copy > span {
  display: block;
}

.tonight-reward-copy small {
  color: #ffd394;
  font-size: 10px;
  font-weight: 700;
}

.tonight-reward-copy strong {
  margin: 3px 0 5px;
  overflow: hidden;
  color: #fff9ef;
  font-family: "Songti SC", "STSong", serif;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tonight-reward-copy > span {
  display: flex;
  gap: 4px;
  align-items: center;
  color: #e4bdb0;
  font-size: 10px;
}

.tonight-reward-arrow {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 201, 108, 0.14);
  color: #ffd06e;
}

.today-task-board {
  margin-top: 16px;
  padding: 17px;
  border: 1px solid rgba(255, 175, 126, 0.23);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 111, 57, 0.17), transparent 35%),
    linear-gradient(145deg, rgba(77, 29, 31, 0.97), rgba(35, 14, 18, 0.98));
  box-shadow: 0 20px 46px rgba(36, 6, 9, 0.25);
}

.today-task-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.today-task-head small {
  display: block;
  margin-bottom: 2px;
  color: #ffb978;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.today-task-head strong {
  color: #fff8ef;
  font-family: "Songti SC", "STSong", serif;
  font-size: 24px;
}

.today-task-head > span {
  color: #ffce72;
  font-family: Georgia, serif;
  font-size: 27px;
  line-height: 1;
}

.today-task-head b {
  color: #b78d83;
  font-size: 13px;
  font-weight: 600;
}

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

.today-task {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(255, 188, 147, 0.17);
  border-radius: 17px;
  background: rgba(255, 229, 217, 0.055);
  color: #f8e9df;
  text-align: left;
  cursor: pointer;
}

.today-task:active {
  transform: scale(0.985);
}

.today-task.done {
  border-color: rgba(255, 207, 105, 0.44);
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 209, 103, 0.14), transparent 55%),
    rgba(255, 183, 92, 0.07);
}

.today-task-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 126, 78, 0.14);
  color: #ffc398;
}

.today-task.done .today-task-icon {
  background: #ffd370;
  color: #441518;
}

.today-task strong,
.today-task small {
  display: block;
}

.today-task strong {
  color: #fff7ee;
  font-size: 14px;
}

.today-task small {
  margin-top: 3px;
  color: #cda79d;
  font-size: 10px;
  line-height: 1.35;
}

.today-primary-action {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  border: 0;
  border-radius: 19px;
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 246, 188, 0.37), transparent 34%),
    linear-gradient(135deg, #ff984c, #e84432 58%, #ad1e30);
  color: #fffaf0;
  text-align: left;
  box-shadow: 0 14px 32px rgba(213, 48, 36, 0.25);
  cursor: pointer;
}

.today-primary-action > span:first-child {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 13px;
  background: rgba(64, 8, 14, 0.18);
}

.today-primary-action small,
.today-primary-action strong {
  display: block;
}

.today-primary-action small {
  color: rgba(255, 246, 230, 0.7);
  font-size: 9px;
  font-weight: 700;
}

.today-primary-action strong {
  margin-top: 1px;
  color: #fffdf7;
  font-family: "Songti SC", "STSong", serif;
  font-size: 19px;
}

.today-primary-action > b {
  display: none;
  color: rgba(255, 245, 229, 0.68);
  font-size: 9px;
  font-weight: 500;
}

.home-secondary-grid {
  margin-top: 12px;
}

.home-secondary-grid .quick-action {
  min-height: 89px;
}

.home-more-tools {
  margin-top: 12px;
  border: 1px solid rgba(255, 187, 145, 0.16);
  border-radius: 19px;
  background: rgba(64, 24, 27, 0.73);
}

.home-more-tools summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  color: #ffe2ce;
  cursor: pointer;
  list-style: none;
}

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

.home-more-tools summary span {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.home-more-tools summary small {
  color: #b9978e;
  font-size: 10px;
}

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

.home-more-grid button {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(255, 185, 143, 0.13);
  border-radius: 14px;
  background: rgba(255, 231, 218, 0.055);
  color: #ffbd8c;
  text-align: left;
}

.home-more-grid span,
.home-more-grid strong,
.home-more-grid small {
  display: block;
}

.home-more-grid strong {
  color: #fff3e9;
  font-size: 12px;
}

.home-more-grid small {
  margin-top: 2px;
  color: #b9958d;
  font-size: 9px;
}

.memory-shelf-home,
.memory-shelf-tour {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 195, 119, 0.26);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 202, 96, 0.17), transparent 37%),
    linear-gradient(135deg, rgba(69, 24, 25, 0.96), rgba(31, 13, 19, 0.97));
  color: #fff6eb;
  text-align: left;
  cursor: pointer;
}

.memory-shelf-tour {
  margin-top: 14px;
}

.memory-shelf-stack {
  display: flex;
  width: 82px;
  height: 48px;
  overflow: hidden;
  border-radius: 12px;
}

.memory-shelf-stack i {
  flex: 1;
  min-width: 0;
  margin-right: -8px;
  border: 2px solid #4b1c20;
  border-radius: 10px;
  background-position: center;
  background-size: cover;
}

.memory-shelf-stack i:last-child {
  margin-right: 0;
}

.memory-shelf-stack i.placeholder {
  display: grid;
  flex: 1;
  place-items: center;
  margin: 0;
  color: #ffd373;
}

.memory-shelf-home small,
.memory-shelf-home strong,
.memory-shelf-tour small,
.memory-shelf-tour strong,
.memory-shelf-tour p {
  display: block;
}

.memory-shelf-home small,
.memory-shelf-tour small {
  color: #ffbd73;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.memory-shelf-home strong,
.memory-shelf-tour strong {
  margin-top: 2px;
  color: #fff5e9;
  font-size: 14px;
}

.memory-shelf-tour p {
  margin: 3px 0 0;
  color: #bd9d94;
  font-size: 10px;
}

.ticket-milestones {
  display: grid;
  grid-template-columns: 1fr 14px 1fr 14px 1fr;
  gap: 5px;
  align-items: center;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px dashed rgba(255, 207, 133, 0.2);
}

.ticket-milestones > div {
  min-width: 0;
  text-align: center;
  opacity: 0.56;
}

.ticket-milestones > div.active {
  opacity: 1;
}

.ticket-milestones div > span {
  display: grid;
  width: 28px;
  height: 28px;
  margin: 0 auto 5px;
  place-items: center;
  border: 1px solid rgba(255, 211, 137, 0.25);
  border-radius: 50%;
  color: #e6c6ad;
  font-size: 11px;
  font-weight: 800;
}

.ticket-milestones div.active > span {
  border-color: #ffd16e;
  background: #ffd16e;
  color: #4b1719;
  box-shadow: 0 0 18px rgba(255, 200, 91, 0.26);
}

.ticket-milestones strong,
.ticket-milestones small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-milestones strong {
  color: #ffe0bd;
  font-size: 10px;
}

.ticket-milestones small {
  margin-top: 1px;
  color: #a98a82;
  font-size: 8px;
}

.ticket-milestones > i {
  height: 1px;
  background: rgba(255, 205, 139, 0.17);
}

.ticket-milestones > i.active {
  background: #ffd16e;
}

.reward-album-button {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  justify-self: start;
  margin-top: 10px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 222, 165, 0.27);
  border-radius: 999px;
  background: rgba(255, 245, 218, 0.1);
  color: #ffe4b5;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.memory-album-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.memory-album-head small,
.memory-album-head strong {
  display: block;
}

.memory-album-head small {
  color: #ffb36f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.memory-album-head strong {
  margin-top: 3px;
  color: #fff6ea;
  font-family: "Songti SC", "STSong", serif;
  font-size: 22px;
}

.memory-album-head > span {
  color: #b99890;
  font-size: 9px;
}

.memory-album-grid {
  display: grid;
  gap: 12px;
}

.memory-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 186, 140, 0.15);
  border-radius: 19px;
  background: rgba(255, 230, 218, 0.045);
}

.memory-photo {
  position: relative;
  min-height: 152px;
  background:
    var(--memory-image) var(--memory-position, center) / var(--memory-size, cover) no-repeat;
}

.memory-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(23, 7, 10, 0.55));
  content: "";
}

.memory-photo > span {
  position: absolute;
  z-index: 1;
  bottom: 9px;
  left: 9px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(35, 8, 12, 0.64);
  color: #ffe7c9;
  font-size: 9px;
  font-weight: 700;
}

.memory-card-copy {
  padding: 13px;
}

.memory-card-copy > small {
  color: #d4a987;
  font-size: 9px;
}

.memory-card-copy > strong {
  display: block;
  margin-top: 3px;
  color: #fff5e8;
  font-size: 15px;
  line-height: 1.35;
}

.memory-card-copy > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 5px 0 8px;
  color: #c6a59c;
  font-size: 10px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.memory-card-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.memory-card-copy > div span {
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(255, 166, 104, 0.1);
  color: #ffd1a7;
  font-size: 8px;
}

.memory-card-copy > em {
  display: block;
  margin-top: 7px;
  color: #ffd16e;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.memory-empty {
  display: grid;
  justify-items: center;
  padding: 38px 12px 18px;
  color: #ffcc7a;
  text-align: center;
}

.memory-empty strong {
  margin-top: 13px;
  color: #fff5e8;
  font-family: "Songti SC", "STSong", serif;
  font-size: 21px;
}

.memory-empty p {
  max-width: 290px;
  margin: 7px 0 20px;
  color: #c1a19a;
  font-size: 12px;
  line-height: 1.6;
}

.ai-setup.ai-ready {
  border-color: rgba(255, 205, 104, 0.34);
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 203, 94, 0.16), transparent 38%),
    rgba(95, 38, 30, 0.72);
}

.ai-setup.ai-ready strong {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #ffe0a1;
}

body {
  background:
    radial-gradient(circle at 50% -5%, rgba(255, 118, 58, 0.46), transparent 29rem),
    radial-gradient(circle at -10% 34%, rgba(239, 55, 52, 0.29), transparent 25rem),
    radial-gradient(circle at 110% 76%, rgba(255, 169, 76, 0.2), transparent 26rem),
    linear-gradient(180deg, #45151b 0%, #241015 44%, #271014 100%);
}

.subcopy {
  color: #d9c0b8;
}

.card,
.settings-profile,
.settings-row {
  background-color: rgba(69, 28, 31, 0.95);
}

.modal {
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 112, 57, 0.18), transparent 36%),
    #2b1116;
}

.settings-row-copy strong {
  font-size: 17px;
}

.settings-row-copy span,
.settings-row > span {
  font-size: 13px;
  line-height: 1.45;
}

.modal .field label,
.modal .form-stack label,
.modal p,
.modal .helper {
  font-size: 13px;
}

@media (max-width: 360px) {
  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .today-task {
    grid-template-columns: 29px minmax(0, 1fr);
    padding: 10px;
  }

  .today-task-icon {
    width: 29px;
    height: 29px;
  }

  .today-task strong {
    font-size: 13px;
  }

  .today-task small {
    font-size: 9px;
  }

  .tonight-reward-card {
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .tonight-reward-photo {
    width: 70px;
    height: 70px;
  }

  .tonight-reward-copy strong {
    font-size: 16px;
  }

  .memory-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}
