* { box-sizing: border-box; }
:root { color-scheme: light; --ink: #47352c; --line: #dfcdbb; --surface: #fffdf6; --cream: #fff8ed; --muted-green: #e7efe0; --accent: #405f4c; font-family: system-ui, "Malgun Gothic", sans-serif; color: var(--ink); }
body { margin: 0; background:  #f2e8d9; min-height: 100dvh; display: grid; place-items: center; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; min-height: 44px; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #426652; outline-offset: 3px; }
button:hover { filter: brightness(.96); }
button:disabled { cursor: default; opacity: .66; }
.ui-icon { width: 22px; height: 22px; vertical-align: middle; }
.brand .ui-icon { width: .9em; height: .9em; vertical-align: -.05em; }
.settings { display: grid; place-items: center; }
h1, h2, p { margin: 0; }
h1 { font-size: 1.5rem; line-height: 1.17; }
h2 { font-size: 1rem; }
p { color: #655349; line-height: 1.5; }
[hidden] { display: none !important; }
.game { width: min(100%, 56.25dvh, 540px); min-width: min(100%, 340px); height: min(100dvh, 960px); min-height: 440px; aspect-ratio: 9 / 16; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #fff8ed; border: 3px solid var(--ink); border-radius: 26px; overflow: hidden; box-shadow: 0 15px 55px #583e271a; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 15px; background: #fffdf6; border-bottom: 2px solid var(--line); }
.brand { font-weight: 950; letter-spacing: -.07em; font-size: clamp(1.15rem, 4vw, 1.55rem); white-space: nowrap; line-height: 1.05; }
.brand .ui-icon, .brand b { color: var(--accent); }
.brand small { display: block; font-size: .76rem; letter-spacing: .025em; margin: 3px 0 0 1px; color: #67594d; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.coins { border: 2px solid #805011; border-radius: 18px; background: #ffe6a0; padding: 4px 10px; font-weight: 900; white-space: nowrap; }
.coins .ui-icon { width: 1.05em; height: 1.05em; color: #79521e; }
.icon { width: 44px; border: 2px solid var(--ink); border-radius: 13px; background: #e5eddf; font-size: 1.3rem; }
#screen, #test-panel { overflow-y: auto; scrollbar-width: thin; overscroll-behavior-y: contain; touch-action: pan-y pinch-zoom; }
nav { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; padding: 6px 8px max(6px, env(safe-area-inset-bottom)); background: #fffdf6; border-top: 2px solid var(--line); }
nav button { border: 0; padding: 3px 0; border-radius: 13px; background: transparent; font-size: .88rem; font-weight: 750; color: #675247; }
nav button .ui-icon { display: block; margin: 0 auto 2px; }
nav button[aria-current] { background: #dce9d9; color: #304b3c; }
.lobby { min-height: 100%; display: grid; grid-template-rows: minmax(250px, 1fr) auto; gap: 10px; padding: 10px; }
.room {
  --floor-start: 63%;
  position: relative; isolation: isolate; overflow: hidden; container-type: size;
  border: 2px solid var(--ink); border-radius: 22px;
  background: linear-gradient(#e9dbff 0 var(--floor-start), #f7cfa9 var(--floor-start));
}
.room::before { content: ""; position: absolute; inset: var(--floor-start) 0 0; border-top: 3px solid #875d715e; background: repeating-linear-gradient(0deg, transparent 0 20px, #a6635925 21px 23px); }
.room-title { position: absolute; z-index: 2; top: 10px; left: 10px; max-width: 46%; padding: 5px 9px; border: 1px solid #d6bca3; border-radius: 12px; background: #fff9eb; overflow-wrap: anywhere; pointer-events: none; }
.room-title h1 { margin: 3px 0; font-size: clamp(1.25rem, 5vw, 1.65rem); }
.room-title p { font-size: .875rem; line-height: 1.3; }
.tag { background: #fffdf6; border: 1px solid #c4ab91; border-radius: 20px; padding: 2px 8px; font-size: .85rem; font-weight: 800; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #438254; }
.window { position: absolute; right: 9%; bottom: var(--window-bottom); width: var(--window-size); aspect-ratio: 1; border-radius: 50% 50% 12% 12%; border: 5px solid #fff6ff; outline: 2px solid #6a4d8b; background: linear-gradient(#a8dcff, #e4f6ff); overflow: hidden; }
.window i { position: absolute; background: #fff6ff; }
.window i:first-child { width: 5px; height: 100%; left: calc(50% - 2px); }
.window i:last-child { height: 5px; width: 100%; top: 52%; }
.room > :is(.window, .rug, .pet-touch) {
  --previous-size: min(78.4cqw, 45.92dvh, calc(89cqh - clamp(105px, 16cqh, 140px)));
  --portrait-size: min(calc(var(--previous-size) * 1.27), calc(100cqh - 170px));
  --foot-inset: .071;
  --head-inset: .07;
  --window-bottom: min(86cqh, calc(var(--portrait-bottom) - var(--portrait-offset, 0px) + var(--portrait-size) * (1 - var(--head-inset))));
  --window-size: min(24cqw, 17cqh, calc(96cqh - var(--window-bottom)));
  --portrait-bottom: min(
    calc(11cqh + 4dvh + (min(70cqw, 41dvh) - var(--portrait-size)) / 2 + 11cqh),
    calc(100cqh - 84px - var(--portrait-size) * .93)
  );
}
.room:has(.approved-pet.frog) > :is(.window, .rug, .pet-touch) {
  --foot-inset: .121;
  --head-inset: .12;
  --portrait-offset: calc(var(--previous-size) * .02);
}
.rug {
  position: absolute; left: 8%; right: 14%; height: 18%;
  bottom: calc(var(--portrait-bottom) - var(--portrait-offset, 0px) + var(--portrait-size) * var(--foot-inset) - 10cqh);
  border: 2px solid #9167b0; border-radius: 50%; background: #cfaff4; box-shadow: inset 0 0 0 6px #e8d4ff;
}
.plant { position: absolute; bottom: 16%; left: 5%; font-size: clamp(1.55rem, 6vw, 2.6rem); }
.spark { position: absolute; color: #8346c4; font-size: 1.5rem; }
.spark-one { top: 30%; left: 14%; } .spark-two { top: 32%; right: 23%; }
.pet-touch {
  position: absolute; z-index: 1; left: 47%; translate: -50% 0;
  bottom: calc(var(--portrait-bottom) - var(--portrait-offset, 0px));
  width: var(--portrait-size); aspect-ratio: 1; padding: 0; border: 0; background: transparent;
}
.pet-touch:hover { filter: none; }
.pet { width: 100%; aspect-ratio: 1; display: block; position: relative; container-type: inline-size; transform-origin: center bottom; }
.character-view .pet { animation: breathe 2.8s ease-in-out infinite; }
.character-view[data-mood="happy"] .pet { animation: happy-hop 1.4s ease-in-out infinite; }
.character-view[data-mood="happy"] .mouth { height: 19%; }
.character-view[data-mood="tired"] .pet { animation-duration: 4.6s; }
.character-view[data-mood="tired"] .eye, .character-view[data-mood="sad"] .eye { height: 12%; }
.character-view[data-mood="sad"] .pet { animation: droop 4.8s ease-in-out infinite; }
.character-view[data-mood="sad"] .mouth { rotate: 180deg; }
.pet-touch[data-caring="fullness"] .pet { animation: eat .28s ease-in-out 3; }
.pet-touch[data-caring="cleanliness"] .pet { animation: wash .42s ease-in-out 2; }
.pet-touch[data-caring="affection"] .pet { animation: happy-hop .42s ease-in-out 2; }
.pet-touch[data-caring="evolve"] .pet { animation: evolve-glow 1.15s ease-out; }
@keyframes evolve-glow {
  35% { transform: translateY(-9%) scale(.9); filter: brightness(1.55); }
  68% { transform: translateY(-5%) scale(1.08); filter: brightness(1.2); }
}
.pet.evolved .head { box-shadow: inset 0 -5cqw 0 #56275716, inset 0 3cqw 0 #fff9, 0 0 0 2cqw #f8d47b; }
.pet.evolved .body { background: linear-gradient(150deg, var(--pet) 40%, #ffdf8f); }
.pet .evolved-aura { inset: 10% 8% 4%; border-radius: 50%; background: radial-gradient(ellipse, #fff0b9, transparent 70%); }
.care[data-ready="true"] { outline: 3px solid #53775d; outline-offset: 2px; }
@keyframes happy-hop { 50% { transform: translateY(-8%) scale(1.015, 1.035); } }
@keyframes droop { 0%, 100% { transform: scaleY(.92); } 50% { transform: scaleY(.95); } }
@keyframes eat { 50% { transform: scale(1.06, .95); } }
@keyframes wash { 25% { transform: rotate(-7deg); } 75% { transform: rotate(7deg); } }
.pet span { position: absolute; display: block; }
.approved-pet .approved-art { inset: 0; }
.approved-art img, .approved-art canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
.character-view[data-mood]:not([data-caring]) .approved-pet { animation: none; }
.pet-touch .approved-pet { pointer-events: none; }
.admin-test-art { width: min(100%, 125px); margin-inline: auto; }
.pet-accessory { line-height: 1; translate: -50% -50%; pointer-events: none; font-size: 25cqw; }
.accessory-head { top: 28%; left: 50%; }
.accessory-body { top: 76%; left: 50%; }
.accessory-back { top: 69%; left: 76%; font-size: 39cqw; }
.approved-pet .pet-accessory { transform: translate(var(--motion-x, 0px), var(--motion-y, 0px)); }
.approved-pet .accessory-head { left: var(--head-x); top: var(--head-y); font-size: 21cqw; }
.approved-pet .accessory-body { left: var(--body-x); top: var(--body-y); font-size: 18cqw; }
.approved-pet .accessory-back { left: var(--back-x); top: var(--back-y); font-size: 28cqw; }
.pet-touch .approved-pet .accessory-head { font-size: 18cqw; }
.pet-touch .approved-pet .accessory-body { font-size: 16cqw; }
.pet .head, .pet .body, .pet .ear, .pet .paw, .pet .foot { border: max(1px, 2cqw) solid #39263e; background: var(--pet); box-shadow: inset 0 -5cqw 0 #56275716, inset 0 3cqw 0 #ffffff46; }
.pet .head { top: 30%; left: 11%; width: 78%; height: 48%; border-radius: 48% 48% 45% 45%; }
.pet .body { top: 61%; left: 27%; width: 46%; height: 34%; border-radius: 48%; }
.pet .ear { width: 22%; height: 43%; top: 2%; border-radius: 60% 65% 48% 50%; background: var(--inner); }
.pet .ear.left { left: 21%; rotate: -14deg; } .pet .ear.right { right: 21%; rotate: 14deg; }
.pet .left { left: 21%; } .pet .right { right: 21%; }
.pet .foot { width: 23%; height: 15%; bottom: 2%; border-radius: 55%; }
.pet .paw { width: 13%; height: 18%; bottom: 15%; border-radius: 55%; }
.pet .eye { top: 43%; width: 10%; height: 21%; border-radius: 50%; background: #39263e; box-shadow: inset 0 1.5cqw 0 #725270; animation: blink 5s infinite; }
.pet .cheek { top: 65%; width: 16%; height: 12%; border-radius: 100%; background: #fa739d73; }
.pet .cheek.left { left: 11%; } .pet .cheek.right { right: 11%; }
.pet .mouth { width: 15%; height: 15%; top: 62%; left: 42.5%; border: 0 solid #39263e; border-bottom-width: max(1px, 1.6cqw); border-radius: 0 0 60% 60%; }
.bear .ear, .frog .ear { height: 27%; width: 27%; top: 16%; border-radius: 50%; }
.bear .ear.left, .cat .ear.left, .frog .ear.left { left: 12%; }
.bear .ear.right, .cat .ear.right, .frog .ear.right { right: 12%; }
.cat .ear { top: 13%; height: 35%; border-radius: 22% 75% 15% 50%; }
.cat .ear.right { transform: scaleX(-1); }
.frog .ear { background: var(--pet); }
@keyframes breathe { 50% { transform: scale(1.027, .978); } }
@keyframes blink { 47%, 53% { transform: scaleY(1); } 50% { transform: scaleY(.08); } }
.meters { position: absolute; z-index: 2; right: 5px; bottom: 10px; padding: 6px 4px; border: 1px solid #c4ab91; border-radius: 13px; background: #fffaf0; display: flex; gap: 3px; }
.meter { display: grid; justify-items: center; gap: 3px; font-size: .83rem; min-width: 18px; }
.meter .ui-icon { width: 16px; height: 16px; color: var(--tone-ink); }
.track { width: 11px; height: clamp(43px, 10dvh, 95px); border: 1px solid var(--ink); background: #f0e4d3; border-radius: 12px; position: relative; overflow: hidden; }
.track i { position: absolute; inset: auto 0 0; height: var(--fill); background: var(--bright); }
.orange { --tone: #f8e7c8; --bright: #b88136; --tone-ink: #78501d; } .blue { --tone: #e0ebdf; --bright: #62846c; --tone-ink: #385843; }
.pink { --tone: #f4dfdc; --bright: #b86561; --tone-ink: #833f3d; } .purple { --tone: #eee5cf; --bright: #9d7743; --tone-ink: #684b2c; }
.care-panel h2 { padding: 0 0 6px 3px; }
.care-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.care { background: var(--tone); border: 1px solid var(--line); border-radius: 13px; padding: 5px 2px; font-size: .875rem; line-height: 1.15; font-weight: 800; }
.care .ui-icon { display: block; width: 21px; height: 21px; margin: 0 auto 2px; color: var(--tone-ink); }
.panel { padding: 17px 13px 22px; }
.panel > p { margin: 6px 0 14px; }
.card, .calendar { padding: 12px; background: #fffdf6; border: 2px solid var(--line); border-radius: 16px; }
.card p { margin: 4px 0 8px; }
.panel > .card { margin-top: 10px; }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; padding: 6px; }
.weekday { color: #67594d; font-size: .875rem; }
.calendar button, .tabs button { border: 0; background: #f3e8d9; border-radius: 9px; font-weight: 750; padding: 0; }
.calendar button[aria-pressed="true"], .tabs button[aria-pressed="true"] { background: var(--accent); color: white; }
.calendar button small { display: block; font-size: .66rem; line-height: 1.1; }
.calendar button[aria-current="date"] { box-shadow: inset 0 0 0 2px #728d71; }
.study-list { margin: 8px 0; padding-inline-start: 20px; }
.study-list:has(.study-item) { list-style: none; padding: 0; }
.study-item { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); padding: 4px 0; }
.study-item label { display: flex; align-items: center; min-height: 44px; gap: 6px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.study-item input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; accent-color: var(--accent); }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 10px; }
.items, .choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.item { text-align: center; padding: 8px 4px; }
.item-icon { font-size: 2rem; display: block; }
.shop-preview { text-align: center; margin: 0 0 10px; }
.shop-pet { width: min(48%, 155px); margin: 0 auto 4px; }
.accessory-choice { width: 100%; background: transparent; border: 1px solid transparent; border-radius: 10px; }
.accessory-choice[aria-pressed="true"] { border-color: var(--accent); background: #e7efe0; }
.admin-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 10px; }
.admin-character-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.admin-character-card { text-align: center; overflow-wrap: anywhere; padding: 8px; }
.admin-character-card button { width: 100%; margin-block: 3px; }
.admin-character-card h3 { margin: 0 0 5px; }
.admin-character-art { width: min(100%, 130px); aspect-ratio: 1; display: grid; place-items: center; margin-inline: auto; }
.admin-character-large { width: min(100%, 245px); }
.admin-character-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 6px 0; }
.admin-character-stats dd { font-weight: 700; margin: 0; }
.admin-character-days { display: grid; grid-template-columns: 1fr 1fr; margin: 8px 0; padding: 0; list-style: none; gap: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.admin-player { margin-top: 10px; }
.admin-test-frame { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; border: 1px solid var(--line); border-radius: 12px; }
.admin-test-frame.trial-legacy { height: min(60dvh, 550px); }
.game:has(> .trial-frame) { position: relative; }
.trial-frame { position: absolute; inset: 0; z-index: 5; display: block; width: 100%; height: 100%; border: 0; background: #fff8ed; }
.trial-body { display: block; background: #fff8ed; }
.trial-body:not(.trial-connected) .game, .trial-connected .trial-entry { display: none; }
.trial-entry { padding: 1rem; }
.trial-body .game { width: 100%; height: 100dvh; min-width: 0; min-height: 0; grid-template-rows: auto auto minmax(0, 1fr) auto; border: 0; border-radius: 0; }
.trial-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px; padding: 4px 8px; background: #e5eddf; }
.trial-toolbar button { font-size: .82rem; }
#screen:has(> .admin-player-banner) { display: flex; flex-direction: column; }
.admin-player-banner { position: sticky; top: 0; z-index: 4; flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 10px; background: #fff3d5; border-bottom: 1px solid #c79540; }
.admin-player-banner + .lobby { flex: 1; min-height: min(100%, 360px); }
.game:has(#screen > .admin-player-banner) nav:empty { display: none; }
.monthly-goal { white-space: pre-wrap; overflow-wrap: anywhere; }
.goal-card { background: var(--muted-green); border-color: #bdcdb6; }
.goal-card h2 { color: #365340; }
[data-monthly-goal] textarea { display: block; width: 100%; resize: vertical; font: inherit; color: inherit; }
.test-body { display: block; height: 100dvh; min-height: 0; overflow: hidden; background: #fff8ed; }
.test-body main { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; overflow-x: hidden; gap: 10px; }
.test-body form, .test-body form label { grid-template-columns: minmax(0, 1fr); }
.test-body select { min-width: 0; }
.test-actions { display: flex; flex-wrap: wrap; gap: 4px; }
.panel select { max-width: 100%; font: inherit; color: inherit; min-height: 40px; }
.item p { font-size: .875rem; }
.people { display: grid; gap: 8px; }
.person { display: flex; align-items: center; gap: 12px; text-align: left; }
.person small { display: block; font-size: .875rem; color: #67594d; }
.mini-pet { display: block; width: 54px; flex: none; }
.choice { display: grid; justify-items: center; cursor: pointer; }
.choice:has(:checked) { border-color: var(--accent); background: #e7efe0; }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.entry { text-align: center; }
.entry-pet { width: min(46%, 155px); margin: 0 auto 8px; }
.entry-pet.small { width: 95px; }
form:not([method]) { display: grid; gap: 12px; }
form label:not(.choice) { display: grid; gap: 3px; text-align: left; font-weight: 700; }
input:not([type="radio"]), textarea, select { min-width: 0; padding: 8px; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.primary, .secondary { border: 1px solid #bda48e; border-radius: 11px; padding: 5px 10px; font-weight: 750; }
.primary { background: var(--accent); color: white; }
.secondary { background: #f3e8d9; }
html:has(#dialog[open]) { overflow: hidden; }
dialog { width: min(90vw, 355px); max-height: 85dvh; overflow-y: auto; overscroll-behavior-y: contain; touch-action: pan-y pinch-zoom; border: 3px solid var(--ink); border-radius: 20px; padding: 16px; background: #fffdf6; color: var(--ink); }
dialog::backdrop { background: #34251d70; }
dialog h2, dialog p { margin-bottom: 8px; }
dialog form { margin-top: 12px; }
dialog .primary { width: 100%; }
@media (max-width: 600px) { .game { width: min(100%, max(56.25dvh, 390px)); border-width: 0; border-radius: 0; } }
@media (max-width: 360px) {
  nav button, .admin-tabs button { font-size: .78rem; }
  .panel { padding-inline: 9px; }
}

/* Seasonal game surfaces and the shared illustrated icon set. */
:root {
  --ink: #50392f;
  --line: #e8d2bc;
  --surface: #fffdf5;
  --cream: #fff8eb;
  --muted-green: #e7efdf;
  --accent: #3e634e;
  --strawberry: #f6dcde;
  --butter: #f8e7ab;
}
.top { background: var(--surface); border-bottom-color: #eadaca; }
.brand { letter-spacing: -.045em; }
.brand .ui-icon { width: 1.12em; height: 1.12em; margin-inline-end: 2px; transform: rotate(-12deg); }
.coins { border: 1px solid #c09149; padding: 4px 9px 4px 5px; background: var(--butter); box-shadow: inset 0 0 0 2px #fff4ca; }
.coins .ui-icon { width: 24px; height: 24px; margin-inline-end: 2px; color: #805720; }
.settings { border: 1px solid #d7baaa; background: #fbede3; }
nav { gap: 3px; background: var(--surface); }
nav button { min-width: 0; padding: 3px 0; }
nav button .ui-icon { transform: scale(1.14); }
nav button[aria-current] { border-radius: 15px 15px 10px 10px; box-shadow: inset 0 0 0 1px #abc2a5, inset 0 -3px #b6cdb1; }
.care-grid { gap: 5px; }
.care { border-color: color-mix(in srgb, var(--tone-ink) 32%, var(--tone)); border-radius: 15px; box-shadow: inset 0 -3px #67412c14; }
.care .ui-icon { transform: scale(1.1); }
.care.orange { --tone: #f8e8bd; }
.care.blue { --tone: #e0eddf; }
.care.pink { --tone: var(--strawberry); }
.care.purple { --tone: #f8ebc5; }
.meters { border-radius: 17px; box-shadow: inset 0 0 0 2px #ffe8cc; }
.track { border-color: #987860; background: #f4e7d8; }
.room-title { border-radius: 13px 13px 13px 6px; box-shadow: inset 0 0 0 2px #fffdf7; }
.calendar { gap: 4px; padding: 7px; background: #fff0dc; }
.calendar button {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-width: 0; border: 1px solid #dec6ab; border-radius: 8px;
  background: #fffaf0; box-shadow: inset 0 -3px #edddc6;
}
.calendar button small { display: flex; align-items: center; gap: 1px; }
.calendar button small .ui-icon { width: 12px; height: 12px; color: #775723; }
.calendar button.date-complete { border-color: #b5c7a2; background: #eaf1df; box-shadow: inset 0 -3px #d1dfc3; }
.calendar button[aria-pressed="true"] { background: var(--accent); box-shadow: none; }
.calendar button[aria-current="date"] { outline: 2px solid #9a5055; outline-offset: -2px; }
.calendar button[aria-current="date"] > span { text-decoration: underline 2px; text-underline-offset: 2px; }
.goal-card { background: #f9e5e1; border: 1px dashed #b8847e; box-shadow: inset 0 0 0 4px #fff2e9; }
.goal-card h2 { color: #743f42; }
.goal-card .ui-icon { margin-inline-end: 3px; }
.goal-card .monthly-goal { padding-inline-start: 4px; }
.shop-preview { background: #edf2e5; border-color: #c9d9bf; }
.shop-empty { margin: 0 0 10px; text-align: center; background: #f9e5e1; border: 1px dashed #b8847e; box-shadow: inset 0 0 0 4px #fff2e9; }
.shop-empty .ui-icon { width: 42px; height: 42px; color: #745044; }
.shop-empty p { margin: 3px 0 1px; }
.wardrobe-heading { margin-bottom: 6px; }
.item { border: 1px solid #d9bfab; padding: 8px; }
.item .accessory-choice { border: 1px dashed #d9baa7; background: #faead9; border-radius: 12px 12px 7px 7px; padding: 5px 2px; }
.item:nth-child(even) .accessory-choice { background: #f8e8e9; }
.item .accessory-choice[aria-pressed="true"] { border: 1px solid var(--accent); background: #e6efdf; }
.item .item-status { display: table; margin: 2px auto 6px; padding: 1px 8px; font-weight: 750; border-radius: 10px; background: #f7ead1; color: #664a2c; }
.item-worn .item-status { background: #e3edd9; color: #38513d; }
dialog { border: 1px solid #b98e74; box-shadow: inset 0 0 0 5px #f6e6d5; padding: 18px; }
dialog h2 { padding-bottom: 7px; border-bottom: 1px dashed #d4ad95; }
dialog[data-variant="reward"] h2 { text-align: center; }
.reward-sparkles { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 10px 0; color: #805720; }
.reward-sparkles .ui-icon { animation: reward-pop .55s ease-out both; }
.reward-sparkles .ui-icon:nth-child(2) { width: 40px; height: 40px; animation-delay: .06s; }
.reward-sparkles .ui-icon:last-child { animation-delay: .12s; }
@keyframes reward-pop {
  0% { transform: translateY(6px) scale(.65); opacity: .2; }
  65% { transform: translateY(-4px) scale(1.12); opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .character-view .pet, .character-view[data-mood] .pet, .pet-touch[data-caring] .pet, .pet .eye { animation: none; }
  .reward-sparkles .ui-icon { animation: none; }
}
