/* Weduel pet world: illustrated scenes, real state, and a quiet print-club UI. */
#app.ui-refresh.is-pet {
  background: #f5f1e8;
  padding: 0 0 calc(108px + env(safe-area-inset-bottom));
  color: #30233f;
}
#app.ui-refresh .pd-world {
  max-width: 560px;
  margin: auto;
  padding: 20px 16px 28px;
}
#app.ui-refresh .pd-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 3px;
}
#app.ui-refresh .pd-header > div {
  flex: 1;
  min-width: 0;
}
#app.ui-refresh .pd-header h1 {
  font-size: 26px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  margin: 4px 0 0;
}
#app.ui-refresh .pd-eyebrow {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: #796181;
}
#app.ui-refresh .pd-icon {
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}
#app.ui-refresh :is(.pd-age, .pd-icon-button) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #fffdf7;
  border: 1px solid #d1c4d6;
  color: #30233f;
  min-height: 42px;
  border-radius: 12px;
  padding: 7px 10px;
}
#app.ui-refresh .pd-age .pd-icon {
  width: 19px;
  height: 19px;
  color: #7952cc;
  fill: #ddf57b;
}
#app.ui-refresh .pd-age span {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
}
#app.ui-refresh .pd-age small {
  display: block;
  font-size: 8px;
  font-weight: 600;
  color: #796181;
}
#app.ui-refresh .pd-icon-button {
  width: 42px;
  padding: 0;
}
#app.ui-refresh .pd-world .economy-bar {
  margin: 0 0 14px;
}
#app.ui-refresh .pd-meters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0 14px;
}
#app.ui-refresh .pd-meter {
  min-width: 0;
  background: #fffdf7;
  border: 1px solid #d8ced7;
  border-radius: 11px;
  padding: 9px 8px 7px;
  text-align: left;
  color: #30233f;
}
#app.ui-refresh .pd-meter > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
}
#app.ui-refresh .pd-meter .pd-icon {
  width: 17px;
  height: 17px;
  color: #7952cc;
}
#app.ui-refresh .pd-meter b {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
#app.ui-refresh .pd-meter b small {
  font-size: 8px;
  color: #88768f;
  font-weight: 500;
}
#app.ui-refresh .pd-meter > small {
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
  color: #74637d;
}
#app.ui-refresh .pd-meter > i {
  display: block;
  height: 4px;
  background: #e9e0ec;
  border-radius: 4px;
  margin: 7px 0 5px;
  overflow: hidden;
}
#app.ui-refresh .pd-meter em {
  display: block;
  height: 100%;
  background: #9cae65;
  border-radius: 4px;
}
#app.ui-refresh .pd-meter.needs-care {
  border-color: #c49b7a;
  background: #fff8ec;
}
#app.ui-refresh .pd-meter.needs-care em {
  background: #cb8e62;
}
#app.ui-refresh .pd-room-tabs {
  display: flex;
  gap: 7px;
  margin: 0 -16px;
  padding: 0 16px 11px;
  overflow-x: auto;
  scrollbar-width: none;
}
#app.ui-refresh .pd-room-tabs::-webkit-scrollbar {
  display: none;
}
#app.ui-refresh .pd-room-tabs button {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
  white-space: nowrap;
  background: transparent;
  border: 1px solid #d5c8d8;
  border-radius: 999px;
  min-height: 35px;
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 700;
  color: #796181;
}
#app.ui-refresh .pd-room-tabs .pd-icon {
  width: 15px;
  height: 15px;
}
#app.ui-refresh .pd-room-tabs button.on {
  background: #30233f;
  color: #fffdf7;
  border-color: #30233f;
}
#app.ui-refresh .pd-scene {
  position: relative;
  isolation: isolate;
  aspect-ratio: 8/5;
  overflow: hidden;
  border: 1px solid #b7a3be;
  border-radius: 18px;
  background: #e8d8e7;
}
#app.ui-refresh .pd-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  z-index: -2;
  user-select: none;
  -webkit-user-drag: none;
}
#app.ui-refresh .pd-scene-label {
  position: absolute;
  top: 11px;
  left: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid #e8dfcc;
  background: #fffaf0f5;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  max-width: calc(100% - 22px);
}
#app.ui-refresh .pd-scene-label .pd-icon {
  width: 14px;
  height: 14px;
  color: #7952cc;
}
#app.ui-refresh .pd-character {
  position: absolute;
  bottom: 4%;
  left: 50%;
  width: 65%;
  transform: translateX(-50%);
  aspect-ratio: 4/3;
  z-index: 3;
  transform-origin: 50% 90%;
  pointer-events: none;
}
#app.ui-refresh .pd-pet {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
#app.ui-refresh .pd-hat {
  position: absolute;
  width: 31%;
  height: auto;
  top: -12%;
  left: 23%;
  transform: rotate(-10deg);
  object-fit: contain;
}
#app.ui-refresh .pd-prop {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}
#app.ui-refresh .pd-sofa {
  width: 51%;
  height: 50%;
  left: -3%;
  bottom: 3%;
}
#app.ui-refresh .pd-lamp {
  width: 31%;
  height: 72%;
  right: -4%;
  bottom: 9%;
}
#app.ui-refresh .pd-room-food {
  position: absolute;
  bottom: 1%;
  left: 29%;
  width: 21%;
  height: auto;
  z-index: 4;
}
#app.ui-refresh .pd-room-yarn {
  position: absolute;
  bottom: 3%;
  left: 14%;
  width: 22%;
  height: auto;
  z-index: 3;
}
#app.ui-refresh .pd-companion {
  position: absolute;
  bottom: 8%;
  left: 42%;
  width: 55%;
  aspect-ratio: 4/3;
  z-index: 2;
}
#app.ui-refresh .pd-companion .pd-pet {
  transform: scaleX(-1);
}
#app.ui-refresh .pd-companion > span,
#app.ui-refresh .pd-baby > span {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-weight: 750;
  border-radius: 6px;
  background: #fffaf0e8;
  padding: 3px 6px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
#app.ui-refresh .pd-scene.together .pd-character {
  left: 29%;
  width: 55%;
  bottom: 8%;
}
#app.ui-refresh .pd-baby {
  position: absolute;
  bottom: 0;
  left: 39%;
  width: 24%;
  z-index: 4;
}
#app.ui-refresh .pd-baby img {
  display: block;
  width: 100%;
  height: auto;
}
#app.ui-refresh .pd-baby > span {
  bottom: 8px;
}
#app.ui-refresh .pd-sleep-mark {
  position: absolute;
  left: 71%;
  top: 49%;
  font-size: 18px;
  color: #fff8df;
  letter-spacing: 5px;
  transform: rotate(-12deg);
  font-weight: 800;
}
#app.ui-refresh .pd-moment {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 6;
  width: max-content;
  max-width: 90%;
  display: flex;
  gap: 6px;
  align-items: center;
  background: #fffdf7;
  border: 1px solid #c5b4cf;
  padding: 8px 11px;
  border-radius: 999px;
  color: #51405e;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}
#app.ui-refresh .pd-moment .pd-icon {
  width: 14px;
  height: 14px;
}
#app.ui-refresh .pd-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 12px 0 17px;
  border-bottom: 1px solid #d6c8d9;
  padding-bottom: 11px;
  background: none;
}
#app.ui-refresh .pd-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 37px;
  font-size: 10px;
  font-weight: 750;
  border: 0;
  border-radius: 9px;
  padding: 7px 3px;
  background: transparent;
  color: #796181;
}
#app.ui-refresh .pd-tabs .pd-icon {
  width: 17px;
  height: 17px;
}
#app.ui-refresh .pd-tabs button.on {
  background: #e0d2ef;
  color: #4d306e;
}
#app.ui-refresh .pd-content {
  min-width: 0;
}
#app.ui-refresh .pd-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 23px 0 11px;
}
#app.ui-refresh .pd-section h2 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}
#app.ui-refresh .pd-intro {
  font-size: 12px;
  line-height: 1.65;
  color: #796181;
  margin: 0 0 16px;
}
#app.ui-refresh .pd-feeling {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
#app.ui-refresh .pd-feeling b {
  font-size: 14px;
  color: #4c3a5d;
}
#app.ui-refresh .pd-feeling p {
  font-size: 11px;
  line-height: 1.55;
  color: #796181;
  margin: 4px 0 0;
}
#app.ui-refresh .pd-state-dot {
  width: 8px;
  height: 8px;
  background: #c39268;
  border-radius: 50%;
  margin-top: 5px;
  flex: none;
}
#app.ui-refresh .pd-state-dot.good {
  background: #97a566;
}
#app.ui-refresh :is(.pd-primary, .pd-button) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 13px;
  min-height: 42px;
  border-radius: 9px;
  font:
    750 11px/1.4 WeduelUI,
    Manrope,
    sans-serif;
  color: #5e4771;
  border: 1px solid #cdbbd7;
  background: #fffdf7;
  text-align: center;
  text-decoration: none;
}
#app.ui-refresh .pd-primary {
  width: 100%;
  background: #7952cc;
  border-color: #7952cc;
  color: #fffdf7;
}
#app.ui-refresh :is(.pd-primary, .pd-button) small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  margin-top: 3px;
}
#app.ui-refresh :is(.pd-primary, .pd-button):disabled {
  background: #eee8ed;
  border-color: #d7cbdc;
  color: #8a7e91;
  opacity: 1;
  cursor: default;
}
#app.ui-refresh .pd-text {
  display: flex;
  gap: 5px;
  align-items: center;
  background: none;
  border: 0;
  color: #7952cc;
  padding: 5px 0;
  font-size: 10px;
  font-weight: 750;
}
#app.ui-refresh .pd-text .pd-icon {
  width: 14px;
  height: 14px;
}
#app.ui-refresh .pd-care-actions {
  display: grid;
  gap: 9px;
}
#app.ui-refresh .pd-care-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  min-height: 70px;
  border: 1px solid #d3c2db;
  border-radius: 12px;
  background: #fffdf7;
  text-align: left;
  color: #30233f;
  width: 100%;
}
#app.ui-refresh .pd-care-action > img {
  width: 54px;
  height: 48px;
  object-fit: contain;
}
#app.ui-refresh .pd-care-action > span {
  flex: 1;
  min-width: 0;
}
#app.ui-refresh .pd-care-action b {
  display: block;
  font-size: 13px;
}
#app.ui-refresh .pd-care-action small {
  display: block;
  font-size: 10px;
  color: #796181;
  margin-top: 3px;
  line-height: 1.4;
}
#app.ui-refresh .pd-care-action > .pd-icon {
  width: 17px;
  height: 17px;
  color: #7952cc;
}
#app.ui-refresh .pd-care-action:disabled {
  background: #f1ebef;
  border-color: #d9cfdc;
  color: #8a7e91;
  opacity: 1;
}
#app.ui-refresh .pd-care-action:disabled > img {
  opacity: 0.55;
}
#app.ui-refresh .pd-shortcut-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 9px;
}
#app.ui-refresh .pd-shortcut-row button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 39px;
  background: transparent;
  border: 1px solid #d3c4db;
  border-radius: 9px;
  color: #796181;
  font-size: 10px;
  font-weight: 700;
}
#app.ui-refresh .pd-shortcut-row .pd-icon {
  width: 16px;
  height: 16px;
}
#app.ui-refresh .pd-hint {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11px;
  line-height: 1.65;
  color: #796181;
  margin: 13px 0;
}
#app.ui-refresh .pd-hint .pd-icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
#app.ui-refresh .pd-card {
  padding: 16px;
  background: #fffdf7;
  border: 1px solid #d5c5db;
  border-radius: 12px;
  margin: 16px 0;
}
#app.ui-refresh .pd-card summary {
  font-size: 12px;
  font-weight: 750;
  color: #51405e;
  cursor: pointer;
}
#app.ui-refresh .pd-daily summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  list-style: none;
}
#app.ui-refresh .pd-daily summary > span {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
#app.ui-refresh .pd-daily summary small {
  font-size: 9px;
  font-weight: 500;
  color: #796181;
}
#app.ui-refresh .pd-daily summary b {
  font-size: 11px;
  color: #7952cc;
  white-space: nowrap;
}
#app.ui-refresh .pd-daily summary .pd-icon {
  width: 17px;
  height: 17px;
  fill: #ddf57b;
}
#app.ui-refresh .pd-daily-list {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}
#app.ui-refresh .pd-daily-list > div {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  color: #796181;
}
#app.ui-refresh .pd-daily-list .done {
  color: #586633;
}
#app.ui-refresh .pd-next-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #e8eacc;
  border: 1px solid #c4c99d;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  width: 100%;
  color: #4d5634;
}
#app.ui-refresh .pd-next-card span {
  flex: 1;
}
#app.ui-refresh .pd-next-card b {
  display: block;
  font-size: 12px;
}
#app.ui-refresh .pd-next-card small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.5;
}
#app.ui-refresh .pd-badge {
  font-size: 9px;
  line-height: 1.5;
  white-space: nowrap;
  background: #e8dff0;
  color: #75528f;
  padding: 5px 8px;
  border-radius: 6px;
}
#app.ui-refresh .pd-lessons {
  display: grid;
  gap: 9px;
}
#app.ui-refresh .pd-lesson {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 11px;
  background: #fffdf7;
  border: 1px solid #d3c4dc;
  border-radius: 12px;
}
#app.ui-refresh .pd-lesson > div {
  flex: 1;
  min-width: 0;
}
#app.ui-refresh .pd-lesson b {
  font-size: 13px;
}
#app.ui-refresh .pd-lesson p {
  font-size: 10px;
  color: #796181;
  line-height: 1.5;
  margin: 4px 0 0;
}
#app.ui-refresh .pd-lesson .pd-button {
  font-size: 10px;
  min-height: 35px;
  padding: 7px 10px;
}
#app.ui-refresh .pd-item-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: #e9dff2;
  border-radius: 9px;
  color: #7952cc;
  flex: none;
}
#app.ui-refresh .pd-lesson.complete .pd-item-icon {
  background: #e4ebcd;
  color: #697b3f;
}
#app.ui-refresh .pd-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #e8edda;
  border: 1px solid #c7d1ad;
  padding: 15px;
  border-radius: 12px;
  margin: 16px 0;
  color: #53643b;
}
#app.ui-refresh .pd-success b {
  font-size: 12px;
}
#app.ui-refresh .pd-success p {
  font-size: 10px;
  line-height: 1.5;
  margin: 4px 0 0;
}
#app.ui-refresh .pd-course {
  background: #fffdf7;
  border: 1px solid #d0bddb;
  border-radius: 12px;
  padding: 18px;
  margin: 14px 0;
}
#app.ui-refresh .pd-course h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #30233f;
  line-height: 1.3;
  margin: 8px 0 12px;
}
#app.ui-refresh .pd-course p {
  font-size: 11px;
  line-height: 1.65;
  color: #796181;
  margin: 10px 0 15px;
}
#app.ui-refresh .pd-course-steps {
  display: flex;
  gap: 7px;
  margin: 17px 0;
}
#app.ui-refresh .pd-course-steps > span {
  flex: 1;
  height: 29px;
  display: grid;
  place-items: center;
  background: #ece5ef;
  color: #b3a1bd;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}
#app.ui-refresh .pd-course-steps .done {
  background: #dce9b9;
  color: #647e2f;
}
#app.ui-refresh .pd-course-steps .pd-icon {
  width: 16px;
  height: 16px;
}
#app.ui-refresh .pd-specialties {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
#app.ui-refresh .pd-specialties .pd-button {
  justify-content: flex-start;
  text-align: left;
  font-size: 11px;
  min-height: 49px;
}
#app.ui-refresh .pd-specialties .selected {
  background: #e1d2f0;
  color: #7952cc;
  border-color: #a08aba;
}
#app.ui-refresh .pd-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
#app.ui-refresh .pd-targets button {
  padding: 7px 10px;
  border: 1px solid #d4c3dc;
  border-radius: 8px;
  background: #f5f1e8;
  color: #796181;
  font-size: 11px;
}
#app.ui-refresh .pd-targets .selected {
  background: #e3d7ef;
  border-color: #9e7cbd;
  color: #50376c;
}
#app.ui-refresh .pd-empty {
  padding: 20px 16px;
  background: #eee8ed66;
  border: 1px dashed #cdbdd6;
  border-radius: 12px;
  margin: 14px 0;
}
#app.ui-refresh .pd-empty h3 {
  font-size: 14px;
  line-height: 1.5;
  color: #59446b;
  margin: 0 0 6px;
}
#app.ui-refresh .pd-empty p {
  font-size: 11px;
  color: #796181;
  line-height: 1.6;
  margin: 0;
}
#app.ui-refresh .pd-avatar {
  display: block;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  border: 1px solid #cfbadb;
  background: #e4d5ee;
  overflow: hidden;
}
#app.ui-refresh .pd-avatar img {
  display: block;
  width: 130%;
  height: 130%;
  object-fit: cover;
  margin: -3px -7px;
}
#app.ui-refresh .pd-candidates {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
#app.ui-refresh .pd-candidates article {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px;
  background: #fffdf7;
  border: 1px solid #d7c7df;
  border-radius: 11px;
}
#app.ui-refresh .pd-candidates article > div {
  flex: 1;
  min-width: 0;
}
#app.ui-refresh .pd-candidates b {
  font-size: 12px;
  overflow-wrap: anywhere;
}
#app.ui-refresh .pd-candidates small {
  display: block;
  font-size: 9px;
  color: #796181;
  margin-top: 4px;
}
#app.ui-refresh .pd-candidates .pd-button {
  padding: 7px 10px;
  font-size: 10px;
}
#app.ui-refresh .pd-invitation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  background: #fffdf7;
  border: 1px solid #cdbbda;
  border-radius: 12px;
  margin: 10px 0;
}
#app.ui-refresh .pd-invitation > div {
  flex: 1;
  min-width: 0;
}
#app.ui-refresh .pd-invitation h3 {
  font-size: 14px;
  line-height: 1.4;
  margin: 5px 0;
  overflow-wrap: anywhere;
}
#app.ui-refresh .pd-invitation p {
  font-size: 11px;
  line-height: 1.5;
  color: #796181;
  margin: 4px 0;
}
#app.ui-refresh .pd-invitation small {
  font-size: 9px;
  color: #796181;
  line-height: 1.5;
  display: block;
}
#app.ui-refresh .pd-button-row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
#app.ui-refresh .pd-button-row > * {
  flex: 1;
  min-width: 0;
}
#app.ui-refresh .pd-invitation .pd-button-row .pd-primary {
  width: auto;
}
#app.ui-refresh .pd-relationship {
  background: #fffdf7;
  border: 1px solid #d2bfdd;
  border-radius: 13px;
  padding: 15px;
  margin: 10px 0;
}
#app.ui-refresh .pd-friend-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
#app.ui-refresh .pd-friend-head > div {
  flex: 1;
  min-width: 0;
}
#app.ui-refresh .pd-friend-head h3 {
  font-size: 14px;
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
#app.ui-refresh .pd-friend-head p {
  font-size: 9px;
  color: #796181;
  margin: 3px 0;
}
#app.ui-refresh .pd-relation-score {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 45px;
  color: #7952cc;
  font-size: 15px;
  font-weight: 800;
}
#app.ui-refresh .pd-relation-score .pd-icon {
  width: 15px;
  height: 15px;
}
#app.ui-refresh .pd-relation-score small {
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
}
#app.ui-refresh .pd-details {
  border-top: 1px solid #e2d6e6;
  margin-top: 14px;
  padding-top: 13px;
}
#app.ui-refresh .pd-details summary {
  font-size: 11px;
  color: #796181;
}
#app.ui-refresh .pd-relation-path {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
#app.ui-refresh .pd-gift-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
#app.ui-refresh .pd-gift-row > div {
  text-align: center;
}
#app.ui-refresh .pd-gift-row img {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin: 12px auto;
}
#app.ui-refresh .pd-gift-row .pd-button {
  width: 100%;
  font-size: 10px;
}
#app.ui-refresh .pd-gift-row small {
  font-size: 9px;
  color: #796181;
}
#app.ui-refresh .pd-danger {
  color: #986258;
  border-color: #d8bfb5;
}
#app.ui-refresh .pd-child-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fffdf7;
  border: 1px solid #d5c1dc;
  border-radius: 12px;
  padding: 15px;
  margin: 10px 0;
}
#app.ui-refresh .pd-child-card > img {
  width: 83px;
  height: 95px;
  object-fit: contain;
}
#app.ui-refresh .pd-child-card > div {
  flex: 1;
  min-width: 0;
}
#app.ui-refresh .pd-child-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}
#app.ui-refresh .pd-child-card p {
  font-size: 10px;
  color: #796181;
  margin: 0 0 12px;
  line-height: 1.5;
}
#app.ui-refresh .pd-price {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  color: #796181;
}
#app.ui-refresh .pd-price .pd-icon {
  width: 19px;
  height: 19px;
  fill: #ddf57b;
  color: #6b7441;
}
#app.ui-refresh .pd-shop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
#app.ui-refresh .pd-shop article {
  background: #fffdf7;
  border: 1px solid #d1c0d9;
  padding: 12px 7px;
  border-radius: 12px;
  text-align: center;
}
#app.ui-refresh .pd-shop article > img {
  display: block;
  width: 100%;
  height: 87px;
  object-fit: contain;
}
#app.ui-refresh .pd-shop h3 {
  font-size: 12px;
  margin: 10px 0 5px;
}
#app.ui-refresh .pd-shop p {
  font-size: 9px;
  line-height: 1.5;
  color: #796181;
  margin: 6px 0;
  min-height: 40px;
}
#app.ui-refresh .pd-shop .pd-primary {
  font-size: 9px;
  padding: 8px 4px;
  min-height: 36px;
}
#app.ui-refresh .pd-shop article > small {
  display: block;
  font-size: 9px;
  color: #796181;
  margin-top: 7px;
}
#app.ui-refresh .pd-home-scope {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
#app.ui-refresh .pd-home-scope button {
  flex: 1;
  background: transparent;
  border: 1px solid #cdbcd6;
  border-radius: 8px;
  padding: 10px 8px;
  font-size: 10px;
  color: #796181;
}
#app.ui-refresh .pd-home-scope .on {
  background: #e4d7ef;
  color: #59406f;
}
#app.ui-refresh .pd-inventory article {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #d9cddf;
  padding: 14px 0;
}
#app.ui-refresh .pd-inventory article > img {
  width: 75px;
  height: 80px;
  object-fit: contain;
}
#app.ui-refresh .pd-inventory article > div {
  flex: 1;
  min-width: 0;
}
#app.ui-refresh .pd-inventory h3 {
  font-size: 13px;
  margin: 0 0 4px;
}
#app.ui-refresh .pd-inventory h3 small {
  font-weight: 500;
  color: #796181;
}
#app.ui-refresh .pd-inventory p {
  font-size: 10px;
  color: #796181;
  line-height: 1.5;
  margin: 5px 0 10px;
}
#app.ui-refresh .pd-inventory article small {
  font-size: 10px;
  color: #796181;
}
#app.ui-refresh .pd-placed {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #eee3f0;
  margin-top: 12px;
  padding-top: 12px;
}
#app.ui-refresh .pd-placed > img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
#app.ui-refresh .pd-placed > div {
  flex: 1;
  min-width: 0;
  font-size: 12px;
}
#app.ui-refresh .pd-placed small {
  display: block;
  font-size: 9px;
  color: #796181;
}
#app.ui-refresh .pd-placed .pd-button {
  min-height: 34px;
  font-size: 10px;
  padding: 7px 9px;
}
#app.ui-refresh .pd-timeline {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
#app.ui-refresh .pd-timeline li {
  display: flex;
  gap: 13px;
  position: relative;
  padding: 0 0 22px;
}
#app.ui-refresh .pd-timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: #d7c5e0;
}
#app.ui-refresh .pd-timeline li > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #e6dfee;
  color: #a48cb6;
  flex: none;
}
#app.ui-refresh .pd-timeline .ready > span {
  background: #e0e9bc;
  color: #667c32;
}
#app.ui-refresh .pd-timeline .pd-icon {
  width: 15px;
  height: 15px;
}
#app.ui-refresh .pd-timeline b {
  display: block;
  font-size: 12px;
  margin: 3px 0 5px;
}
#app.ui-refresh .pd-timeline p {
  font-size: 10px;
  color: #796181;
  line-height: 1.6;
  margin: 0;
}
#app.ui-refresh .pd-goals {
  display: grid;
  gap: 8px;
}
#app.ui-refresh .pd-goals > button {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d3c1dd;
  border-radius: 10px;
  padding: 14px;
  background: #fffdf7;
  text-align: left;
  color: #59436d;
}
#app.ui-refresh .pd-goals > button > span {
  flex: 1;
}
#app.ui-refresh .pd-goals b {
  font-size: 12px;
}
#app.ui-refresh .pd-goals small {
  float: right;
  font-size: 10px;
}
#app.ui-refresh .pd-goals i {
  display: block;
  height: 4px;
  background: #e7ddec;
  border-radius: 4px;
  margin-top: 10px;
  overflow: hidden;
}
#app.ui-refresh .pd-goals em {
  display: block;
  height: 100%;
  background: #a6b67a;
  border-radius: 4px;
}
#app.ui-refresh .pd-rename-form {
  margin-top: 17px;
  display: grid;
  gap: 10px;
}
#app.ui-refresh .pd-rename-form label {
  font-size: 11px;
  color: #796181;
}
#app.ui-refresh .pd-rename-form .field {
  border: 1px solid #cbb8d5;
  border-radius: 8px;
  background: #f5f1e8;
  color: #30233f;
  font-size: 14px;
}
#app.ui-refresh .pd-world button:focus-visible {
  outline: 2px solid #7952cc;
  outline-offset: 3px;
}
.pd-exercise {
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid #b9a2c9;
  border-radius: 18px;
  padding: 23px;
  background: #fffdf7;
  color: #30233f;
  font-family: WeduelUI, Manrope, sans-serif;
}
.pd-exercise::backdrop {
  background: #30233f80;
}
.pd-exercise > .pd-icon {
  width: 30px;
  height: 30px;
  color: #7952cc;
}
.pd-exercise h2 {
  font-family: ClubDisplay, WeduelUI, sans-serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.04em;
  margin: 14px 0;
}
.pd-exercise > p {
  font-size: 13px;
  line-height: 1.7;
  color: #796181;
}
.pd-exercise .pd-exercise-preview {
  display: grid;
  place-items: center;
  font-size: 32px;
  min-height: 75px;
  background: #e8dff0;
  border-radius: 10px;
  color: #59436c;
  letter-spacing: 0.15em;
  font-weight: 800;
  margin: 17px 0;
}
.pd-exercise form {
  display: grid;
  gap: 12px;
}
.pd-exercise input {
  border: 1px solid #cbb6d9;
  border-radius: 9px;
  background: #f5f1e8;
  color: #30233f;
  min-height: 45px;
  font:
    700 18px WeduelUI,
    Manrope,
    sans-serif;
  padding: 10px;
}
.pd-exercise button {
  min-height: 43px;
  border: 1px solid #c5add5;
  border-radius: 9px;
  font:
    750 12px WeduelUI,
    Manrope,
    sans-serif;
  background: #7952cc;
  color: #fffdf7;
  padding: 11px;
}
.pd-exercise button:disabled {
  background: #e5dceb;
  color: #9f8aac;
  border-color: #d4c4df;
}
.pd-exercise button.ghost {
  background: transparent;
  color: #796181;
  border: 0;
}
.pd-exercise label,
.pd-exercise .pd-exercise-help {
  font-size: 11px;
  line-height: 1.6;
  color: #796181;
}
@media (prefers-reduced-motion: no-preference) {
  #app.ui-refresh .pd-character:not(.pose-asleep) .pd-pet {
    animation: pd-breathe 6s ease-in-out infinite;
    transform-origin: 50% 90%;
  }
  #app.ui-refresh .pd-character.pose-asleep .pd-pet {
    animation: pd-sleep 5s ease-in-out infinite;
    transform-origin: 50% 90%;
  }
  #app.ui-refresh .pd-character.pd-celebrate .pd-pet {
    animation: pd-hello 650ms ease-out 1;
  }
  #app.ui-refresh .pd-care-action {
    transition: transform 130ms;
  }
  #app.ui-refresh .pd-care-action:active {
    transform: scale(0.985);
  }
}
@keyframes pd-breathe {
  0%,
  100% {
    transform: translateY(0) rotate(-0.35deg);
  }
  50% {
    transform: translateY(-2px) rotate(0.35deg);
  }
}
@keyframes pd-sleep {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.018);
  }
}
@keyframes pd-hello {
  0%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px) rotate(-3deg);
  }
  70% {
    transform: translateY(-2px) rotate(2deg);
  }
}
@media (max-width: 359px) {
  #app.ui-refresh .pd-world {
    padding: 16px 12px 24px;
  }
  #app.ui-refresh .pd-room-tabs {
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
  }
  #app.ui-refresh .pd-header h1 {
    font-size: 23px;
  }
  #app.ui-refresh .pd-eyebrow {
    font-size: 7px;
  }
  #app.ui-refresh .pd-meters {
    gap: 5px;
  }
  #app.ui-refresh .pd-meter {
    padding: 8px 5px;
  }
  #app.ui-refresh .pd-meter b {
    font-size: 11px;
  }
  #app.ui-refresh .pd-meter b small {
    font-size: 7px;
  }
  #app.ui-refresh .pd-tabs button {
    font-size: 9px;
    gap: 4px;
  }
  #app.ui-refresh .pd-tabs .pd-icon {
    width: 15px;
    height: 15px;
  }
  #app.ui-refresh .pd-section h2 {
    font-size: 16px;
  }
  #app.ui-refresh .pd-badge {
    font-size: 8px;
  }
  #app.ui-refresh .pd-shop {
    gap: 6px;
  }
  #app.ui-refresh .pd-shop article {
    padding: 10px 5px;
  }
  #app.ui-refresh .pd-shop article > img {
    height: 70px;
  }
  #app.ui-refresh .pd-relationship {
    padding: 12px;
  }
  #app.ui-refresh .pd-button-row .pd-button {
    font-size: 10px;
    padding: 8px;
  }
}
@media (min-width: 600px) {
  #app.ui-refresh .pd-scene {
    max-height: 345px;
  }
  #app.ui-refresh .pd-world {
    padding-top: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #app.ui-refresh .pd-character .pd-pet {
    animation: none !important;
  }
  #app.ui-refresh .pd-care-action {
    transition: none;
  }
}
#app.ui-motion-reduced .pd-character .pd-pet {
  animation: none !important;
}

#app.ui-refresh :is(.pd-page-shop, .pd-page-path) .pd-scene {
  aspect-ratio: 2/1;
}
#app.ui-refresh .pd-icon-button.selected {
  background: #e4d7ef;
  border-color: #ae93c3;
}
#app.ui-refresh .pd-child-name {
  display: grid;
  gap: 7px;
  font-size: 11px;
  color: #796181;
  margin: 15px 0;
}
#app.ui-refresh .pd-child-name input {
  font:
    600 14px WeduelUI,
    Manrope,
    sans-serif;
  padding: 11px;
  border: 1px solid #cbb8d5;
  border-radius: 8px;
  background: #f5f1e8;
  color: #30233f;
  min-width: 0;
}

#app.ui-refresh .pd-dirt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#app.ui-refresh .pd-name {
  display: flex;
  align-items: center;
  gap: 5px;
}
#app.ui-refresh .pd-rename-shortcut {
  display: grid;
  place-items: center;
  width: 27px;
  height: 30px;
  flex: none;
  background: transparent;
  border: 0;
  color: #9b83aa;
  padding: 4px;
}
#app.ui-refresh .pd-rename-shortcut .pd-icon {
  width: 14px;
  height: 14px;
}
#app.ui-refresh .pd-header .pd-icon-button {
  flex-direction: column;
  gap: 1px;
}
#app.ui-refresh .pd-header .pd-icon-button small {
  font-size: 8px;
  font-weight: 650;
}
