:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  --ink: #29152d;
  --muted: #6e5b73;
  --lilac: #7639b9;
  --line: #e8d9ed;
  --paper: #faf2fa;
  --violet: linear-gradient(170deg, #ab64ed 0%, #8b43cb 66%, #7637b7 100%);
  --glaze: linear-gradient(155deg, #fff9fc, #f3e3fa);
  --frame: 510px;
  --nav-height: 62px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 18% 15%, #fff4e5 0%, transparent 40%),
    radial-gradient(ellipse at 85% 30%, #e4c9f0 0%, transparent 54%),
    radial-gradient(ellipse at 22% 90%, #e8c1d6 0%, transparent 55%),
    #f3e0ef;
  background-attachment: fixed;
  font-size: 14px;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, p, ul, fieldset, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; width: 100%; }
:focus-visible { outline: 2px solid #6d2aaf; outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.sr-only, .symbol-sheet {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.experience {
  position: relative;
  width: min(100%, var(--frame));
  min-height: 100vh;
  min-height: 100dvh;
  margin-inline: auto;
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 15px);
  background:
    radial-gradient(ellipse at 103% 10%, #efe0f7 0%, transparent 54%),
    radial-gradient(ellipse at -12% 46%, #f9e5ed 0%, transparent 61%),
    linear-gradient(155deg, #fff6fa 0%, var(--paper) 55%, #fff9fb);
}
.screen-content { padding: 0 17px; }
.page { width: 100%; }
.masthead {
  min-height: calc(47px + env(safe-area-inset-top));
  padding: calc(7px + env(safe-area-inset-top)) 17px 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body[data-screen="home"] .masthead { display: none; }
body[data-screen="home"] .experience {
  background:
    radial-gradient(ellipse at 5% 8%, #fff4ec 0%, transparent 53%),
    radial-gradient(ellipse at 100% 28%, #eed6f7 0%, transparent 64%),
    linear-gradient(155deg, #faebf5, #fff6fa 59%, #f6e7fa);
}
#home { padding-top: calc(17px + env(safe-area-inset-top)); }
.brand, .home-intro h1 {
  display: flex;
  align-items: baseline;
  letter-spacing: -.07em;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.03;
}
.brand-slash { margin-inline: .15em; font-weight: 400; opacity: .72; }
.brand em, .home-intro em {
  color: var(--lilac);
  font: italic 500 1em/1 "Playfair Display", Georgia, serif;
  letter-spacing: -.045em;
}
.home-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 3px 16px;
}
.home-intro h1 { font-size: clamp(30px, 8.2vw, 38px); letter-spacing: -.055em; }
.home-intro h1 em { color: #7d31c4; }
.home-intro p { margin-top: 6px; color: #5e4863; font-size: 14px; line-height: 1.3; }
.lime-spark { margin-left: 2px; color: #747b22; }
.brand-mark { width: 54px; height: 54px; flex: none; filter: drop-shadow(0 6px 9px #9a59c742); }
h2 { font-size: 17px; line-height: 1.25; font-weight: 780; letter-spacing: -.035em; }
h3 { font-size: 14px; line-height: 1.25; }
.page-heading h1, .share-heading h1 { font-size: clamp(25px, 6.7vw, 34px); line-height: 1.12; letter-spacing: -.055em; }
.page-heading p { color: var(--muted); font-size: 13px; margin-top: 5px; line-height: 1.4; }
.page-heading { margin: 7px 1px 14px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 43px; padding: 8px 15px; border: 1px solid transparent;
  border-radius: 999px; line-height: 1.2; font-size: 13px; font-weight: 700; text-align: center;
}
.primary {
  color: #fff;
  background: var(--violet);
  box-shadow: 0 4px 10px #7b32aa27, inset 0 1px 1px #ffffff54;
}
.primary:disabled { background: #efdef3; color: #664479; box-shadow: none; }
.secondary { background: linear-gradient(160deg, #f8ecf8, #eedcf5); border-color: #e9d5ef; color: #4c2a5c; }
.secondary:disabled { opacity: .72; }
.lime {
  min-height: 36px; min-width: 101px;
  color: #2b2913; background: linear-gradient(#f9fca9, #e7f16c);
  border-color: #fafbb6; font-weight: 800;
  box-shadow: 0 4px 12px #51384b2a;
}
.text-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 3px 0; border: 0; background: none;
  color: #663194; font-size: 12px; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
}
.challenge, .club-feature {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 20px; min-height: 180px;
  display: flex; align-items: center;
  background: #b47e84; box-shadow: inset 0 0 0 1px #ffffff56;
}
.challenge::after, .club-feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #75455fb3 0%, #8f596d50 43%, transparent 75%);
}
.challenge img, .club-feature img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 13%; z-index: -2;
}
.challenge-copy, .club-feature div { padding: 17px; color: white; }
.challenge-copy p, .club-feature p { margin-bottom: 7px; font-size: 11px; font-weight: 600; }
.challenge h2, .club-feature h2 { font-size: clamp(27px, 7.3vw, 36px); letter-spacing: -.05em; line-height: 1.02; margin-bottom: 14px; }
.challenge h2 span { color: #f0f587; font-size: .63em; vertical-align: .17em; }
#home .challenge {
  min-height: clamp(192px, 51vw, 233px);
  border: 1px solid #fff9;
  box-shadow: 0 11px 26px #8c4d9031;
}
#home .challenge::after {
  background: linear-gradient(92deg, #59284cbc, #7c3c676b 45%, transparent 73%);
}
#home .challenge img { object-position: 53% center; }
#home .challenge-copy { padding: 17px; }
#home .challenge-copy h2 { font-size: clamp(28px, 7.7vw, 39px); font-weight: 610; letter-spacing: -.037em; margin-bottom: 8px; }
#home .challenge-copy p { font-size: 14px; font-weight: 500; margin-bottom: 12px; color: #fff8ff; }
#home .challenge-copy .lime {
  min-height: 44px; min-width: 119px; padding-inline: 15px;
  background: linear-gradient(#fcffc1, #eef782 51%, #d4e634);
  box-shadow: 0 5px 16px #4f234647, inset 0 1px 1px #ffffd6;
  font-size: 14px;
}
.home-score {
  display: grid; grid-template-columns: minmax(0, 1fr) 46px; align-items: center; gap: 7px;
  min-height: 71px; margin-top: 13px; padding: 7px 8px 7px 12px; border-radius: 18px;
  border: 1px solid #fff; background: linear-gradient(138deg, #fff1f4 0%, #f3d9fa 57%, #e9c6f5 100%);
  box-shadow: 0 7px 17px #9a54b121, inset 0 1px 3px #ffffffc9;
}
.score-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; }
.score-heading b { font-size: 14px; letter-spacing: -.025em; }
.score-heading > span { white-space: nowrap; }
.score-heading strong { font-size: 23px; letter-spacing: -.06em; }
.score-heading small { margin-left: 2px; color: #59445e; font-size: 13px; }
.home-score progress {
  display: block; width: 100%; height: 11px; appearance: none; border: 0; border-radius: 10px;
  margin-top: 5px; color: #a7bf20; background: #e6ccec; overflow: hidden;
}
.home-score progress::-webkit-progress-bar { background: linear-gradient(#efdaf4, #dcc0f0); border-radius: 10px; }
.home-score progress::-webkit-progress-value { background: linear-gradient(#f6fb98, #c6de28 71%, #a8c228); border-radius: 10px; }
.home-score progress::-moz-progress-bar { background: linear-gradient(#f6fb98, #c6de28 71%, #a8c228); border-radius: 10px; }
.score-star {
  width: 46px; height: 46px; transform: rotate(12deg); filter: drop-shadow(0 3px 4px #9e57b45e);
}
.home-section { margin-top: 14px; }
.home-section > h2, .home-section > .heading-row { margin: 0 2px 8px; }
.home-section h2 { font-size: 19px; }
.care-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.care-tile {
  --tile: url("./assets/vaumi-skin.webp");
  min-height: 75px; display: flex; flex-direction: column; justify-content: flex-end;
  align-items: flex-start; gap: 2px; padding: 7px 8px;
  border: 1px solid #fff; border-radius: 14px;
  background: linear-gradient(15deg, #ffe9ed 1%, #fff0efcb 29%, #fff0ed1a 67%, transparent 97%), var(--tile) center / cover;
  font-size: 13px; font-weight: 750;
  box-shadow: 0 3px 8px #9a548818;
}
.care-tile .icon { width: 18px; height: 18px; }
.care-tile[data-category="face"] { --tile: url("./assets/vaumi-face.webp"); background-position: center 59%; }
.care-tile[data-category="eyes"] { --tile: url("./assets/vaumi-eyes.webp"); background-position: center 39%; }
.care-tile[data-category="hair"] { --tile: url("./assets/vaumi-hair.webp"); }
.care-tile[data-category="nails"] { --tile: url("./assets/vaumi-nails.webp"); }
.care-tile[data-category="makeup"] { --tile: url("./assets/vaumi-makeup.webp"); }
.care-tile[data-category="style"] {
  --tile: url("./assets/vaumi-satin.webp");
  grid-column: 1 / -1; min-height: 47px; flex-direction: row; align-items: center;
  justify-content: flex-start; gap: 8px; padding-inline: 13px;
  background: linear-gradient(90deg, #fadcecfa, #edc5f2a8 48%, transparent 78%), var(--tile) center 52% / cover;
}
.heading-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.quiet, .fine { color: var(--muted); font-size: 11px; line-height: 1.45; }
.today { scroll-margin-top: 12px; }
.today .quiet { font-size: 12px; white-space: nowrap; }
.task-row {
  min-height: 51px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px;
  align-items: center; padding: 5px 4px; border-bottom: 1px solid #e6cce9; font-size: 14px;
}
.task-row b, .task-row small { display: block; }
.task-row small { color: #614d67; margin-top: 3px; font-size: 12px; }
.task-row > strong { color: #72349c; font-size: 12px; white-space: nowrap; }
.task-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 11px; color: #71369b; background: linear-gradient(145deg, #f7e5fc, #e6caef); }
.task-icon .icon { width: 18px; height: 18px; }
.chips { display: flex; align-items: center; gap: 5px; }
.chips button {
  white-space: nowrap; min-height: 36px; flex: 1 0 auto; padding: 5px 9px;
  border: 1px solid #eadbef; border-radius: 999px; background: #faf1fa;
  color: #634e68; font-size: 11px; font-weight: 650;
}
.chips button[aria-pressed="true"] {
  background: var(--violet); color: white; border-color: #a45dde;
  box-shadow: 0 2px 6px #8636be38;
}
.look-grid {
  min-width: 0; padding: 0; border: 0; margin-top: 13px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
}
.look {
  position: relative; display: block; isolation: isolate; min-width: 0;
  aspect-ratio: .83; overflow: hidden; border: 2px solid transparent; border-radius: 15px;
  background: #e0b8b5; cursor: pointer;
}
.look:has(input:checked) { border-color: #9b46df; box-shadow: 0 0 0 1px #9b46df; }
.look:has(input:focus-visible) { outline: 2px solid #6d2aaf; outline-offset: 2px; }
.look img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.look::after { content: ""; position: absolute; inset: 58% 0 0; background: linear-gradient(transparent, #2b152749); pointer-events: none; }
.look-marker {
  position: absolute; z-index: 1; display: grid; place-items: center; right: 6px; top: 6px;
  width: 29px; height: 29px; border-radius: 50%; color: white; background: #30152a49;
}
.look-marker span { display: none; }
.look:has(input:checked) .look-marker { background: var(--violet); border: 1px solid #fff9; }
.look:has(input:checked) .look-marker svg { display: none; }
.look:has(input:checked) .look-marker span { display: block; font-weight: 800; }
.look-marker .icon { width: 17px; height: 17px; }
.look-caption, .share-label {
  border-radius: 20px; padding: 5px 8px; background: #fff2edeb;
  color: #331d2d; font-size: 11px; font-weight: 750; line-height: 1.16;
}
.look-caption { position: absolute; z-index: 1; left: 6px; bottom: 7px; max-width: calc(100% - 12px); }
.studio-actions, .share-actions { display: grid; gap: 7px; margin-top: 12px; }
.studio-actions { grid-template-columns: 1.35fr 1fr; }
.studio-actions .button { padding-inline: 10px; }
.inset-panel {
  margin-top: 13px; padding: 13px; border-radius: 16px;
  border: 1px solid #ead9f0; background: linear-gradient(155deg, #fff6fa, #f4e5fa);
}
.inset-panel p { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.mission { scroll-margin-top: 14px; }
.mission .button { min-width: 118px; min-height: 38px; margin-top: 8px; }
.xp { white-space: nowrap; color: #653191; font-weight: 750; font-size: 11px; }
.share-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 3px 1px 10px; }
.share-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 17px;
  aspect-ratio: 1.05; min-height: 246px; color: white; background: #794f4b;
}
.share-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#2e19265a, transparent 29%, transparent 49%, #291626af); }
.share-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; z-index: -2; }
.share-card-top { position: absolute; top: 11px; inset-inline: 12px; display: flex; align-items: center; justify-content: space-between; }
.compact-brand { font-size: 16px; gap: 0; }
.compact-brand em { color: #fff0ff; }
.share-caption { position: absolute; bottom: 13px; left: 14px; right: 64px; }
.share-caption p { font-size: 12px; font-weight: 650; margin-bottom: 5px; }
.share-caption h2 { font-size: clamp(26px, 6.8vw, 33px); line-height: 1.02; }
.share-heart { position: absolute; right: 17px; bottom: 16px; width: 38px; height: 38px; transform: rotate(-13deg); stroke-width: 1.15; }
.share-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-top: 8px; }
.share-options a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0;
  border: 1px solid #ebdaee; border-radius: 10px; padding: 3px 3px 4px;
  background: #fbf2fa; font-size: 9px; font-weight: 700; text-align: center;
}
.share-options a[aria-current="true"] { border-color: #a14ee3; box-shadow: 0 0 0 1px #a14ee3; }
.share-options img { height: 56px; object-fit: cover; object-position: 50% 30%; border-radius: 6px; }
.reply-panel { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.reply-panel h2 { font-size: 15px; }
.reply-panel .text-link { flex: 0 0 auto; }
.share-fallback { width: 100%; padding: 7px; margin-top: 8px; background: white; border: 1px solid #b882d3; border-radius: 9px; }
.notice { padding: 7px 2px 0; color: #613584; line-height: 1.4; font-size: 12px; }
.progress-chips { overflow-x: auto; scrollbar-width: none; padding: 2px 1px 5px; }
.progress-chips::-webkit-scrollbar { display: none; }
.progress-card {
  position: relative; isolation: isolate; overflow: hidden; margin-top: 8px;
  display: flex; gap: 13px; align-items: center; min-height: 116px; padding: 12px;
  border: 1px solid #fff; border-radius: 17px;
  background: radial-gradient(ellipse at 2% 0%, #fbecdc, transparent 62%), linear-gradient(135deg, #fff0ee, #f1defa);
  box-shadow: 0 3px 10px #ab83b423;
}
.score-ring {
  --score: 84%;
  position: relative; flex: none; width: 83px; height: 83px; border-radius: 50%;
  background: conic-gradient(from 226deg, #8d3bd5, #e4b9ee 20%, #fff091 44%, #dce451 65%, #a75bf1 var(--score), #e9d9ed var(--score));
  box-shadow: 0 0 10px #e5bded91, inset 0 0 5px #fff8;
}
.score-ring::after { content: ""; position: absolute; inset: 6px; border: 1px solid #fff9; border-radius: 50%; background: radial-gradient(circle at 66% 17%, #fff8db, #f8e9f9 72%); }
.points { z-index: 1; }
.points p { font-size: 12px; font-weight: 750; }
.points > div { display: flex; align-items: baseline; gap: 3px; margin-top: 3px; }
.points strong { font-size: 41px; font-weight: 800; line-height: .98; letter-spacing: -.085em; }
.points small { font-size: 14px; color: #66536c; }
.points > span { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); }
.points b { color: #6d761e; }
.crystal { position: absolute; width: 83px; height: 75px; right: 6px; bottom: -11px; transform: rotate(11deg); opacity: .83; }
.crystal i {
  position: absolute; display: block; bottom: 0; left: 26px; width: 33px; height: 65px;
  background: conic-gradient(from -20deg at 55% 37%, #faf0ff, #c78dee, #9c56e5, #f0cfff, #b980e8, #faf0ff);
  clip-path: polygon(50% 0, 96% 29%, 84% 82%, 44% 100%, 13% 78%, 5% 34%);
}
.crystal i:nth-child(2) { transform: rotate(-35deg) scale(.64); transform-origin: bottom; left: 15px; }
.crystal i:nth-child(3) { transform: rotate(35deg) scale(.73); transform-origin: bottom; left: 34px; }
.progress-section { margin-top: 15px; }
.progress-section > h2, .progress-section > .heading-row { margin-bottom: 8px; }
#photos-title, #mission-title { scroll-margin-top: 12px; }
.periods { margin-bottom: 9px; }
.periods button { min-height: 32px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.photo-slot {
  min-width: 0; aspect-ratio: 1.43; position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(circle at 74% 4%, #f6dfef, transparent 67%), #f7eaf5;
  border: 1px solid #ead6eb; border-radius: 12px;
}
.photo-slot[data-slot="after"] { background: radial-gradient(circle at 74% 4%, #ecddf7, transparent 67%), #f9eef8; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.photo-pick {
  position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 4px;
  padding: 0 5px 12px; border: 0; background: none; color: #714383; font-size: 11px; font-weight: 650;
}
.photo-pick:focus-visible { outline-offset: -3px; }
.photo-pick.has-photo { opacity: 0; }
.photo-pick.has-photo:is(:hover, :focus-visible) { opacity: 1; color: #fff; background: #321c407a; }
.photo-slot figcaption {
  position: absolute; bottom: 6px; left: 6px; padding: 4px 7px; pointer-events: none;
  border-radius: 14px; background: #fff4f3ef; color: #563956; font-size: 10px; font-weight: 750;
}
.photo-remove {
  position: absolute; top: 4px; right: 4px; width: 34px; height: 34px;
  display: grid; place-items: center; border: 1px solid #fff; border-radius: 50%;
  background: #fff4f3eb; font-size: 20px; line-height: 1;
}
#photos .fine { margin: 6px 1px 0; }
.goal {
  display: flex; gap: 9px; align-items: flex-start; padding: 11px 12px;
  border: 1px solid #f3e5c8; border-radius: 14px; background: linear-gradient(150deg, #fff2d1, #fbeece);
}
.goal-icon { color: #926138; display: flex; padding-top: 2px; }
.goal p, .goal time { font-size: 12px; line-height: 1.42; color: #685439; }
.goal p { margin-top: 3px; }
.goal time { font-weight: 700; display: block; margin-top: 3px; }
.goal .text-link { min-height: 33px; }
.empty-note, .data-footer { padding: 9px 0; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.history-list { list-style: none; padding: 0; }
.history-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 0; border-top: 1px solid var(--line); font-size: 12px;
}
.history-list small { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.data-footer { margin-top: 13px; }
.delete-button { color: #873d54; }
.club-feature { min-height: 230px; }
.club-feature div { padding-left: 19px; }
.club-next {
  min-height: 156px; display: grid; align-content: center; gap: 5px;
  margin-top: 11px; padding: 15px; border-radius: 17px;
  background: linear-gradient(90deg, #fbe7f2 0%, #fae9f1df 44%, #fceaf07a), url("./assets/vaumi-satin.webp") center 47% / cover;
}
.club-next h2 { font-size: 21px; }
.club-next p, .club-next span { color: #5b395b; font-size: 12px; line-height: 1.35; max-width: 29ch; }
.club-next span { font-weight: 700; }
.reward-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.reward-grid article { min-height: 130px; padding: 13px; background: var(--glaze); border: 1px solid #eee0f3; border-radius: 13px; }
.reward-grid .icon { width: 26px; height: 26px; color: #8045b3; }
.reward-grid h3 { margin: 5px 0 3px; }
.reward-grid p { color: var(--muted); font-size: 11px; }
.bottom-nav {
  position: fixed; z-index: 2; bottom: 0; left: 50%; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, var(--frame));
  min-height: calc(var(--nav-height) + env(safe-area-inset-bottom)); align-items: start;
  padding: 4px 12px calc(4px + env(safe-area-inset-bottom)); border-top: 1px solid #e5d4eabf;
  background: #fff7fcf7; box-shadow: 0 -6px 16px #8b548012; backdrop-filter: blur(14px);
}
.bottom-nav a {
  min-height: 51px; display: grid; justify-items: center; align-content: center; gap: 3px;
  border-radius: 12px; font-size: 10px; font-weight: 650; color: #665569;
}
.bottom-nav a[aria-current="page"] { color: #7a32b5; font-weight: 800; }
.bottom-nav a[aria-current="page"] .icon { stroke-width: 2; filter: drop-shadow(0 2px 3px #b477df77); }
.bottom-nav a[data-tab="home"][aria-current="page"] .icon { fill: #9a42df; color: #9a42df; }
body[data-screen="home"] .bottom-nav {
  border-top-color: #e9d2ee;
  background: linear-gradient(155deg, #fcf0f9fb, #f4e1f9fa);
  box-shadow: 0 -5px 19px #9951ae18;
}
body[data-screen="home"] .bottom-nav a { font-size: 12px; }
dialog {
  color: var(--ink); width: min(350px, calc(100% - 34px)); border: 1px solid #ead4ed; border-radius: 18px;
  padding: 18px; background: #fff5fb; box-shadow: 0 16px 65px #48214d4d;
}
dialog::backdrop { background: #361a3c66; }
dialog p { color: var(--muted); margin-top: 8px; line-height: 1.45; }
.dialog-actions { display: flex; gap: 8px; margin-top: 13px; }
.danger { color: #fff; background: #873d54; }
#age-dialog { width: min(400px, calc(100% - 34px)); padding: 23px; background: linear-gradient(155deg, #fff6fa, #f1dcf8); }
#age-dialog img { width: 48px; height: 48px; margin-bottom: 13px; }
#age-dialog h2 { font-size: 23px; }
#age-dialog .dialog-actions { flex-wrap: wrap; }
#age-dialog button { min-height: 44px; flex: 1 1 auto; }

@media (min-width: 500px) {
  .screen-content, .masthead { padding-inline: 22px; }
  .experience { box-shadow: 0 0 85px #83558536; }
  .care-tile { min-height: 83px; }
  .look { aspect-ratio: 1.04; }
  .share-card { aspect-ratio: 1.22; }
}
@media (max-width: 499px) and (max-height: 860px) {
  #home .challenge { min-height: 196px; }
}
@media (max-width: 364px) {
  .screen-content, .masthead { padding-inline: 12px; }
  .chips button { padding-inline: 7px; }
  .reply-panel { align-items: flex-start; flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .button, .look, .care-tile, .bottom-nav a, .chips button { transition: filter .15s ease, background-color .15s ease; }
  .button:not(:disabled):hover, .look:hover, .care-tile:hover, .chips button:hover { filter: brightness(1.045); }
  .bottom-nav a:hover { background-color: #f6e7fa; }
}
