.adventure-screen.dog-life-screen-active {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 222, 154, .5), transparent 32%),
    radial-gradient(circle at 82% 72%, rgba(111, 198, 171, .42), transparent 34%),
    linear-gradient(145deg, #d8b67f 0%, #6f876f 48%, #4f5d55 100%);
}

.adventure-screen.dog-life-screen-active .adventure-topbar {
  display: none;
}

.adventure-screen.dog-life-screen-active .adventure-shell {
  height: 100dvh;
  min-height: 0;
}

.adventure-stage.dog-life-stage-active {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.adventure-game.dog-life-active {
  width: 100%;
  width: min(100%, 133.333dvh);
  max-width: none;
  height: 100%;
  height: min(100%, 75dvw);
  min-height: 0;
  margin: 0;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #d9e7df;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .48), 0 28px 80px rgba(24, 31, 27, .4);
  overflow: hidden;
}

.adventure-game.dog-life-active > .adventure-game-head,
.adventure-game.dog-life-active > .adventure-prompt,
.adventure-game.dog-life-active > .adventure-feedback {
  display: none;
}

.adventure-game.dog-life-active > .adventure-playfield {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #d9e7df;
  box-shadow: none;
}

.adventure-game.dog-life-active > .adventure-playfield > .dlx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.dlx {
  --dlx-safe-top: max(12px, env(safe-area-inset-top));
  --dlx-safe-right: max(14px, env(safe-area-inset-right));
  --dlx-safe-bottom: max(12px, env(safe-area-inset-bottom));
  --dlx-safe-left: max(14px, env(safe-area-inset-left));
  --ink: #3f3347;
  --muted: #756a7b;
  --paper: #fffdf7;
  --coral: #ef806b;
  --coral-dark: #b94e46;
  --mint: #65c6a2;
  --yellow: #f5c955;
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  color: var(--ink);
}

.dlx-art {
  width: 1.9em;
  height: 1.9em;
  display: inline-block;
  flex: 0 0 auto;
  background-image: url('../../assets/dog-life/ui/dog-life-clay-icons.webp');
  background-repeat: no-repeat;
  background-size: 400% 400%;
  vertical-align: middle;
}

.dlx-art--food { background-position: 0 0; }
.dlx-art--water { background-position: 33.333% 0; }
.dlx-art--brush { background-position: 66.667% 0; }
.dlx-art--ball { background-position: 100% 0; }
.dlx-art--paw { background-position: 0 33.333%; }
.dlx-art--bath { background-position: 33.333% 33.333%; }
.dlx-art--train { background-position: 66.667% 33.333%; }
.dlx-art--sleep { background-position: 100% 33.333%; }
.dlx-art--heart { background-position: 0 66.667%; }
.dlx-art--sparkle { background-position: 33.333% 66.667%; }
.dlx-art--star { background-position: 66.667% 66.667%; }
.dlx-art--lock { background-position: 100% 66.667%; }
.dlx-art--check { background-position: 0 100%; }
.dlx-art--sound { background-position: 33.333% 100%; }
.dlx-art--mute { background-position: 66.667% 100%; }
.dlx-art--bone { background-position: 100% 100%; }

.dlx button {
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.dlx button:focus-visible {
  outline: 4px solid #176ea6;
  outline-offset: 3px;
}

.dlx-scene {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #d9e7df;
}

.dlx-scene-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

.dlx-scene-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(25, 19, 30, .2), transparent 25%, rgba(29, 22, 34, .22)),
    radial-gradient(circle at 50% 45%, transparent 0 42%, rgba(26, 21, 31, .13) 100%);
  pointer-events: none;
}

.dlx-chrome {
  position: absolute;
  top: var(--dlx-safe-top);
  right: var(--dlx-safe-right);
  left: var(--dlx-safe-left);
  z-index: 30;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 3px solid rgba(255, 255, 255, .95);
  border-radius: 22px;
  background: rgba(255, 253, 247, .91);
  box-shadow: 0 9px 28px rgba(43, 32, 49, .22);
  backdrop-filter: blur(13px);
}

.dlx-icon-button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 0 rgba(63, 51, 71, .14);
  cursor: pointer;
  font-weight: 900 !important;
}

.dlx-icon-button > .dlx-art {
  width: 34px;
  height: 34px;
}

.dlx-back-button > span {
  position: relative;
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: #5e5264;
}

.dlx-back-button > span::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 10px;
  height: 10px;
  border-bottom: 4px solid #5e5264;
  border-left: 4px solid #5e5264;
  border-radius: 2px;
  transform: rotate(45deg);
}

.dlx-pause-button > span {
  width: 17px;
  height: 21px;
  display: flex;
  justify-content: space-between;
}

.dlx-pause-button i {
  width: 6px;
  height: 21px;
  border-radius: 4px;
  background: #5e5264;
}

.dlx-icon-button:active,
.dlx-primary:active,
.dlx-activity-card:active:not(:disabled),
.dlx-access-action:active {
  transform: translateY(3px);
}

.dlx-brand {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dlx-brand img {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 13px;
  box-shadow: 0 3px 0 rgba(63, 51, 71, .13);
}

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

.dlx-brand small {
  color: #c4554d;
  font: 900 10px/1 'Inter', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dlx-brand strong {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1;
}

.dlx-score {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border-radius: 14px;
  color: #8d6519;
  background: #fff1b6;
  box-shadow: inset 0 -3px rgba(160, 110, 24, .1);
}

.dlx-score .dlx-art { width: 25px; height: 25px; }
.dlx-score strong { font-size: 17px; }

.dlx-home {
  position: absolute;
  top: calc(var(--dlx-safe-top) + 76px);
  bottom: var(--dlx-safe-bottom);
  left: 50%;
  z-index: 2;
  width: min(1760px, calc(100% - var(--dlx-safe-left) - var(--dlx-safe-right)));
  display: grid;
  grid-template-columns: clamp(260px, 25vw, 390px) minmax(0, 1fr);
  align-items: end;
  gap: 17px;
  transform: translateX(-50%);
}

.dlx-pip-card,
.dlx-planner {
  border: 4px solid rgba(255, 255, 255, .96);
  background: rgba(255, 253, 247, .93);
  box-shadow: 0 15px 40px rgba(36, 27, 42, .25);
  backdrop-filter: blur(13px);
}

.dlx-pip-card {
  align-self: end;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 17px;
  border-radius: 27px;
  background: rgba(255, 253, 247, .93);
}

.dlx-pip-talk {
  padding: 15px;
  border: 3px solid #fff;
  border-radius: 20px 20px 20px 6px;
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 7px 20px rgba(46, 34, 52, .16);
}

.dlx-pip-talk span,
.dlx-pip-talk strong { display: block; }
.dlx-pip-talk span {
  margin-bottom: 5px;
  color: #c4554d;
  font: 900 10px/1 'Inter', sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.dlx-pip-talk strong { font-size: clamp(17px, 2vw, 24px); line-height: 1.05; }

.dlx-needs {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 3px solid #fff;
  border-radius: 20px;
  background: rgba(255, 253, 247, .95);
}

.dlx-need {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 7px;
  padding: 5px;
  border-radius: 11px;
}

.dlx-need.low { background: #fff0ec; animation: dlxNeedPulse 1.4s ease-in-out infinite alternate; }
.dlx-need.great { background: #e9f8f0; }
.dlx-need > .dlx-art { width: 27px; height: 27px; justify-self: center; }
.dlx-need > div small {
  display: block;
  margin-bottom: 4px;
  color: #65596a;
  font: 800 10px/1 'Inter', sans-serif;
}
.dlx-need > div > i {
  height: 9px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e1e9;
  box-shadow: inset 0 1px 2px rgba(41, 31, 46, .13);
}
.dlx-need > div > i b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--need);
  transition: width .4s ease;
}
.dlx-need > strong { color: #66596c; font: 900 10px/1 'Inter', sans-serif; text-align: right; }

.dlx-planner {
  max-height: 100%;
  overflow: auto;
  padding: 18px;
  border-radius: 28px;
  scrollbar-width: thin;
}

.dlx-planner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.dlx-planner-head > div:first-child { min-width: 0; }
.dlx-planner-head small {
  color: #be514b;
  font: 900 10px/1 'Inter', sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.dlx-planner-head h3 {
  margin: 4px 0 3px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}
.dlx-planner-head p {
  margin: 0;
  color: var(--muted);
  font: 700 12px/1.3 'Inter', sans-serif;
}

.dlx-day-ring {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  display: grid;
  place-content: center;
  border: 7px solid #efe5e9;
  border-top-color: var(--coral);
  border-right-color: color-mix(in srgb, var(--coral) calc(var(--done) * 25%), #efe5e9);
  border-radius: 50%;
  text-align: center;
}
.dlx-day-ring strong,
.dlx-day-ring span { display: block; }
.dlx-day-ring strong { font-size: 19px; line-height: 1; }
.dlx-day-ring span { margin-top: 3px; color: var(--muted); font: 800 8px/1 'Inter', sans-serif; text-transform: uppercase; }

.dlx-activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.dlx-activity-card {
  position: relative;
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 10px 6px;
  border: 3px solid #eee5ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 0 rgba(63, 51, 71, .12);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.dlx-activity-card:hover:not(:disabled) {
  z-index: 2;
  border-color: #f3ab96;
  box-shadow: 0 8px 0 rgba(186, 78, 70, .2);
  transform: translateY(-3px);
}
.dlx-activity-card em {
  position: absolute;
  top: -7px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: #df6a5c;
  font: 900 8px/1 'Inter', sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.dlx-activity-card.recommended { border-color: #f1a18c; background: #fff8f3; }
.dlx-activity-card.done {
  color: #377b64;
  border-color: #b9e3d3;
  background: #ecf9f3;
  box-shadow: none;
}
.dlx-activity-card.locked {
  color: #847987;
  background: #eee9ef;
  box-shadow: none;
}
.dlx-activity-card.ready {
  color: #fff;
  border-color: #fff;
  background: linear-gradient(145deg, #7c69b1, #5d4b90);
  box-shadow: 0 6px 0 #493b72, 0 8px 18px rgba(73, 59, 114, .25);
  animation: dlxReady 1.1s ease-in-out infinite alternate;
}
.dlx-activity-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #fff0e8;
}
.dlx-activity-icon .dlx-art { width: 38px; height: 38px; }
.dlx-activity-card.done .dlx-activity-icon { background: #d5f1e5; }
.dlx-activity-card.ready .dlx-activity-icon { background: rgba(255, 255, 255, .18); }
.dlx-activity-card > strong { font-size: 14px; line-height: 1; }
.dlx-activity-card > small { color: #827687; font: 700 9px/1 'Inter', sans-serif; }
.dlx-activity-card.ready > small { color: #ede7ff; }

.dlx-week-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 13px;
}
.dlx-week-track span { position: relative; display: grid; place-items: center; gap: 3px; color: #908593; }
.dlx-week-track i {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 2px solid #e1d8e2;
  border-radius: 11px;
  background: #f5f1f5;
  font: 900 9px/1 'Inter', sans-serif;
  font-style: normal;
}
.dlx-week-track small { font: 800 8px/1 'Inter', sans-serif; text-transform: uppercase; }
.dlx-week-track .done { color: #28785f; }
.dlx-week-track .done i { border-color: #69c29f; background: #dff5eb; }
.dlx-track-check { width: 24px; height: 24px; }
.dlx-week-track .current { color: #bd4e48; }
.dlx-week-track .current i { border-color: var(--coral); color: #fff; background: var(--coral); box-shadow: 0 0 0 3px rgba(239, 128, 107, .2); }

.dlx-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(38, 29, 44, .62);
  backdrop-filter: blur(7px);
}

.dlx-tutorial {
  position: relative;
  width: min(700px, 96%);
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 10px 25px;
  padding: 28px;
  border: 5px solid #fff;
  border-radius: 34px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(22, 16, 27, .42);
}
.dlx-tutorial-art { grid-row: 1 / span 4; align-self: center; }
.dlx-tutorial-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 30px;
  box-shadow: 0 9px 0 rgba(63, 51, 71, .14);
  transform: rotate(-2deg);
}
.dlx-tutorial-copy { align-self: end; }
.dlx-tutorial-copy small,
.dlx-result-card > small,
.dlx-recap > small,
.dlx-week-complete small,
.dlx-pause-card small {
  color: #c4564e;
  font: 900 10px/1 'Inter', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.dlx-tutorial-copy h3 { margin: 5px 0 8px; font-size: clamp(30px, 5vw, 48px); line-height: 1; }
.dlx-tutorial-copy p { margin: 0; color: var(--muted); font: 700 15px/1.45 'Inter', sans-serif; }
.dlx-skip {
  position: absolute;
  top: 15px;
  right: 18px;
  border: 0;
  color: #796d7e;
  background: transparent;
  cursor: pointer;
  font: 800 12px/1 'Inter', sans-serif !important;
}
.dlx-tutorial-dots { display: flex; gap: 6px; align-items: center; }
.dlx-tutorial-dots i { width: 8px; height: 8px; border-radius: 999px; background: #d9d0da; transition: width .2s ease; }
.dlx-tutorial-dots i.on { width: 25px; background: var(--coral); }

.dlx-primary {
  min-height: 54px;
  padding: 12px 20px;
  border: 4px solid #fff;
  border-radius: 18px;
  color: #fff !important;
  background: var(--coral);
  box-shadow: 0 7px 0 var(--coral-dark), 0 9px 20px rgba(114, 51, 48, .21);
  cursor: pointer;
  font-weight: 900 !important;
}

.dlx-task-head {
  position: absolute;
  top: calc(var(--dlx-safe-top) + 77px);
  right: var(--dlx-safe-right);
  left: var(--dlx-safe-left);
  z-index: 12;
  display: grid;
  grid-template-columns: 72px minmax(220px, 1fr) minmax(390px, 48%);
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.dlx-task-head > button {
  width: 68px;
  height: 55px;
  border: 3px solid #fff;
  border-radius: 18px;
  background: rgba(255, 253, 247, .92);
  box-shadow: 0 6px 0 rgba(63, 51, 71, .16);
  cursor: pointer;
  pointer-events: auto;
  font-weight: 900;
}
.dlx-inline-back {
  position: relative;
  width: 14px;
  height: 3px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 999px;
  background: currentColor;
  vertical-align: middle;
}
.dlx-inline-back::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  border-bottom: 3px solid currentColor;
  border-left: 3px solid currentColor;
  transform: rotate(45deg);
}
.dlx-task-head > div {
  justify-self: start;
  max-width: 450px;
  padding: 10px 15px;
  border: 3px solid #fff;
  border-radius: 19px;
  background: rgba(255, 253, 247, .92);
  box-shadow: 0 8px 23px rgba(43, 32, 49, .18);
  backdrop-filter: blur(10px);
}
.dlx-task-head > div > .dlx-task-art { width: 48px; height: 48px; float: left; margin-right: 11px; }
.dlx-task-head > div > small { display: block; color: #c2534c; font: 900 9px/1 'Inter', sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.dlx-task-head > div > h3 { margin: 3px 0 2px; font-size: 20px; line-height: 1; }
.dlx-task-head > div > p { margin: 0; color: var(--muted); font: 700 10px/1.25 'Inter', sans-serif; }
.dlx-needs.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 7px;
  pointer-events: auto;
}
.dlx-needs.compact .dlx-need { display: block; min-width: 0; padding: 4px; text-align: center; }
.dlx-needs.compact .dlx-need > .dlx-art { width: 23px; height: 23px; display: block; margin: 0 auto; }
.dlx-needs.compact .dlx-need > div small { overflow: hidden; font-size: 7px; text-overflow: ellipsis; }
.dlx-needs.compact .dlx-need > strong { display: none; }

.dlx-task-space {
  position: absolute;
  top: calc(var(--dlx-safe-top) + 154px);
  right: var(--dlx-safe-right);
  bottom: var(--dlx-safe-bottom);
  left: var(--dlx-safe-left);
  z-index: 4;
}

/* Play-as-Pip adventure field */
.dlx-dog-world {
  position: absolute;
  inset: 0;
  container-type: size;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, .96);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 58%, rgba(82, 61, 48, .16)),
    rgba(255, 255, 255, .02);
  box-shadow: inset 0 -24px 55px rgba(52, 37, 31, .15), 0 16px 42px rgba(37, 27, 42, .2);
  outline: 0;
  touch-action: none;
  user-select: none;
}

.dlx-dog-route {
  position: absolute;
  inset: 0;
  z-index: 7;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.dlx-dog-route polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.dlx-dog-route-base {
  stroke: rgba(255, 255, 255, .72);
  stroke-width: 7;
  stroke-dasharray: 2 17;
  filter: drop-shadow(0 3px 2px rgba(60, 45, 44, .24));
}

.dlx-dog-route-done {
  opacity: 0;
  stroke: #70cfad;
  stroke-width: 8;
  stroke-dasharray: 0 100;
  filter: drop-shadow(0 3px 0 rgba(49, 119, 94, .3));
  transition: opacity .2s ease, stroke-dasharray .5s ease;
}

.dlx-dog-world--fetch .dlx-dog-route-base,
.dlx-dog-world--fetch .dlx-dog-route-done {
  opacity: 0;
}

.dlx-dog-mission {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 35;
  width: min(430px, calc(100% - 310px));
  padding: 12px 18px;
  border: 4px solid #fff;
  border-radius: 20px;
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 8px 24px rgba(43, 32, 49, .22);
  text-align: center;
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.dlx-dog-mission > small {
  display: block;
  color: #c4564e;
  font: 900 8px/1 'Inter', sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dlx-dog-mission > strong {
  display: block;
  margin: 5px 0 8px;
  font-size: clamp(15px, 2cqh, 20px);
  line-height: 1;
}

.dlx-dog-mission > div {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e0e9;
}

.dlx-dog-mission > div i {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), #78d6b1);
  transition: width .25s ease;
}

.dlx-dog-mission > span {
  display: block;
  margin-top: 5px;
  color: #786d7c;
  font: 800 8px/1 'Inter', sans-serif;
  text-transform: uppercase;
}

.dlx-dog-target {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: var(--depth);
  width: clamp(78px, 11cqh, 116px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: rgba(255, 253, 247, .92);
  box-shadow: 0 7px 0 rgba(63, 51, 71, .18), 0 10px 25px rgba(41, 30, 47, .22);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity .28s ease, transform .28s ease, filter .28s ease;
}

.dlx-dog-target.current {
  animation: dlxDogGoal 1.05s ease-in-out infinite alternate;
}

.dlx-dog-target.current::before {
  content: '';
  position: absolute;
  inset: -12px;
  z-index: -1;
  border: 5px solid rgba(255, 226, 134, .9);
  border-radius: 50%;
  animation: dlxDogGoalRing 1.25s ease-out infinite;
}

.dlx-dog-target .dlx-art {
  width: 75%;
  height: 75%;
}

.dlx-dog-target > strong {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  min-width: 62px;
  padding: 6px 9px;
  border: 3px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #5d5063;
  box-shadow: 0 4px 0 rgba(50, 39, 55, .24);
  font: 900 9px/1 'Inter', sans-serif;
  white-space: nowrap;
  transform: translateX(-50%);
}

.dlx-dog-target small {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  box-shadow: 0 3px 0 #b94e46;
  font: 900 9px/1 'Inter', sans-serif;
}

.dlx-dog-target.queued {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.72);
}

.dlx-dog-target.sniffing {
  filter: drop-shadow(0 0 14px #fff1a8);
  animation: dlxDogSniff .45s ease-in-out infinite alternate;
}

.dlx-dog-target.found {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.25) rotate(18deg);
}

.dlx-pip-player {
  position: absolute;
  z-index: 19;
  width: clamp(165px, 23cqh, 260px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition-property: left, top;
  transition-timing-function: cubic-bezier(.24, .72, .3, 1);
}

.dlx-pip-sprite {
  position: absolute;
  inset: 0;
  display: block;
  background: url('../../assets/dog-life/ui/pip-player.webp') no-repeat;
  background-size: 200% 200%;
  filter: drop-shadow(0 12px 9px rgba(47, 31, 29, .27));
  transform-origin: center bottom;
}

.dlx-pip-player.is-running .dlx-pip-sprite {
  background-position: 0 0;
  animation: dlxDogRun .28s ease-in-out infinite alternate;
}

.dlx-pip-player.is-standing .dlx-pip-sprite { background-position: 100% 0; }
.dlx-pip-player.is-sitting .dlx-pip-sprite { background-position: 0 100%; }
.dlx-pip-player.is-sleeping .dlx-pip-sprite { background-position: 100% 100%; }
.dlx-pip-sprite.facing-left { transform: scaleX(-1); }
.dlx-pip-player.celebrate { animation: dlxDogCelebrate .34s ease; }

.dlx-pip-player > span {
  position: absolute;
  top: -9px;
  left: 50%;
  width: max-content;
  max-width: 230px;
  padding: 9px 13px;
  border: 3px solid #fff;
  border-radius: 14px 14px 14px 4px;
  color: var(--ink);
  background: rgba(255, 253, 247, .95);
  box-shadow: 0 5px 15px rgba(45, 33, 50, .18);
  font: 850 clamp(10px, 1.35cqh, 13px)/1.25 'Inter', sans-serif;
  text-align: center;
  transform: translate(-50%, -100%);
}

.dlx-dog-controls {
  position: absolute;
  right: 17px;
  bottom: 17px;
  left: 17px;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: end;
  pointer-events: none;
}

.dlx-dog-controls button { pointer-events: auto; }

.dlx-dog-dpad {
  width: 116px;
  height: 116px;
  display: grid;
  grid-template: repeat(3, 1fr) / repeat(3, 1fr);
  gap: 4px;
  padding: 6px;
  border: 4px solid rgba(255, 255, 255, .93);
  border-radius: 25px;
  background: rgba(255, 253, 247, .82);
  box-shadow: 0 10px 26px rgba(43, 32, 49, .22);
  backdrop-filter: blur(9px);
}

.dlx-dog-dpad button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 0 rgba(63, 51, 71, .15);
  cursor: pointer;
}

.dlx-dog-dpad button:active { transform: translateY(3px); }
.dlx-dog-dpad .up { grid-area: 1 / 2; }
.dlx-dog-dpad .left { grid-area: 2 / 1; }
.dlx-dog-dpad .right { grid-area: 2 / 3; }
.dlx-dog-dpad .down { grid-area: 3 / 2; }

.dlx-dog-dpad i {
  width: 14px;
  height: 14px;
  border-top: 5px solid #5f5265;
  border-left: 5px solid #5f5265;
  border-radius: 3px;
}

.dlx-dog-dpad .up i { transform: rotate(45deg) translate(3px, 3px); }
.dlx-dog-dpad .left i { transform: rotate(-45deg) translate(3px, 3px); }
.dlx-dog-dpad .right i { transform: rotate(135deg) translate(3px, 3px); }
.dlx-dog-dpad .down i { transform: rotate(225deg) translate(3px, 3px); }

.dlx-dog-sniff {
  min-width: 126px;
  min-height: 64px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  padding: 7px 12px 7px 8px;
  border: 4px solid #fff;
  border-radius: 22px;
  background: rgba(255, 253, 247, .92);
  box-shadow: 0 7px 0 rgba(63, 51, 71, .17), 0 11px 25px rgba(43, 32, 49, .2);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(9px);
}

.dlx-dog-sniff .dlx-art { grid-row: 1 / span 2; width: 46px; height: 46px; }
.dlx-dog-sniff span { align-self: end; font-weight: 900; }
.dlx-dog-sniff small { align-self: start; color: #7a6e7d; font: 700 8px/1 'Inter', sans-serif; }
.dlx-dog-sniff:disabled { opacity: .55; }

.dlx-dog-world.quest-complete {
  box-shadow: inset 0 0 80px rgba(255, 229, 133, .46), 0 16px 42px rgba(37, 27, 42, .2);
}

.dlx-dog-world.quest-complete .dlx-dog-mission {
  border-color: #fff5c8;
  background: rgba(255, 252, 225, .96);
  transform: translateX(-50%) scale(1.04);
}

.dlx-task-meter {
  position: absolute;
  right: 50%;
  bottom: 8px;
  width: min(430px, 72%);
  height: 49px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 17px;
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 8px 23px rgba(40, 30, 45, .2);
  transform: translateX(50%);
}
.dlx-task-meter > i {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, #61bea0, #8ad9b9);
  transition: width .18s ease;
}
.dlx-task-meter > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #493e4e;
  text-shadow: 0 1px #fff;
  font: 900 12px/1 'Inter', sans-serif;
}

.dlx-live {
  position: absolute;
  left: 50%;
  bottom: 82px;
  z-index: 20;
  min-height: 0;
  padding: 0;
  border-radius: 14px;
  color: #fff;
  background: rgba(64, 51, 71, .88);
  box-shadow: 0 7px 18px rgba(35, 27, 40, .2);
  font: 900 12px/1 'Inter', sans-serif;
  transform: translateX(-50%);
  transition: padding .2s ease;
  pointer-events: none;
}
.dlx-live:not(:empty) { padding: 10px 15px; }
.dlx-live.good { background: #328269; }

.dlx-access-action {
  position: absolute;
  right: 15px;
  bottom: 8px;
  min-height: 49px;
  padding: 8px 14px;
  border: 4px solid #fff;
  border-radius: 16px;
  color: #fff !important;
  background: #6b5aa2;
  box-shadow: 0 6px 0 #493d77;
  cursor: pointer;
  font-weight: 900 !important;
}

/* Feeding */
.dlx-food-sack {
  position: absolute;
  left: 7%;
  bottom: 9%;
  width: 245px;
  min-height: 250px;
  padding: 78px 14px 25px;
  border: 8px solid #fff0d8;
  border-radius: 40px 40px 58px 58px;
  background: linear-gradient(#e68b65, #c9584c);
  box-shadow: inset 0 -25px rgba(103, 45, 48, .15), 0 14px 0 #97433c, 0 23px 40px rgba(38, 29, 43, .29);
  text-align: center;
}
.dlx-food-sack > strong {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  color: #fff7e4;
  font-size: 22px;
  line-height: .9;
}
.dlx-scoop {
  position: relative;
  width: 58px;
  height: 69px;
  margin: 5px;
  border: 5px solid #fff;
  border-radius: 50% 50% 17px 17px;
  background: #69bfa9;
  box-shadow: 0 7px 0 #398b79;
  cursor: grab;
  touch-action: none !important;
}
.dlx-scoop::before {
  content: '';
  position: absolute;
  inset: 8px 8px 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #efc078 0 4px, #ae7040 5px 7px, transparent 8px), #e5a65d;
}
.dlx-scoop i {
  position: absolute;
  left: 19px;
  bottom: -34px;
  width: 13px;
  height: 40px;
  border: 4px solid #fff;
  border-radius: 8px;
  background: #69bfa9;
}
.dlx-scoop.dragging { z-index: 20; cursor: grabbing; }
.dlx-scoop.used { opacity: .16; pointer-events: none; transform: scale(.7) !important; }
.dlx-bowl {
  position: absolute;
  right: 10%;
  bottom: 11%;
  width: 300px;
  height: 175px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 9px solid #fff;
  border-radius: 48% 48% 34% 34%;
  color: #fff;
  background: #56b5af;
  box-shadow: inset 0 -34px #3d9594, 0 14px 0 #2f7475, 0 23px 36px rgba(32, 28, 37, .27);
}
.dlx-bowl::before {
  content: '';
  position: absolute;
  inset: 23px 34px 68px;
  z-index: 1;
  border-radius: 50%;
  background: #385c5f;
  box-shadow: inset 0 8px 14px rgba(0, 0, 0, .3);
}
.dlx-bowl > i {
  --fill: 0%;
  position: absolute;
  right: 36px;
  bottom: 73px;
  left: 36px;
  z-index: 2;
  height: var(--fill);
  max-height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 25% 30%, #d9964f 0 4px, transparent 5px), radial-gradient(circle at 70% 65%, #d9964f 0 5px, transparent 6px), #edbc70;
  transition: height .3s ease;
}
.dlx-bowl > strong,
.dlx-bowl > span { z-index: 3; align-self: end; }
.dlx-bowl > strong { margin-bottom: 25px; font-size: 21px; }
.dlx-bowl > span { position: absolute; top: -42px; color: #fff; text-shadow: 0 2px 7px #38303c; font-weight: 900; }

/* Water */
.dlx-water-bowl {
  position: absolute;
  left: 22%;
  bottom: 13%;
  width: 320px;
  height: 190px;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 48% 48% 34% 34%;
  background: #53b4ae;
  box-shadow: inset 0 -35px #3d9292, 0 15px 0 #2e7274, 0 24px 40px rgba(33, 27, 38, .26);
}
.dlx-water-bowl::before {
  content: '';
  position: absolute;
  inset: 25px 38px 75px;
  z-index: 2;
  border-radius: 50%;
  background: #2a6881;
  box-shadow: inset 0 8px 14px rgba(11, 45, 61, .35);
}
.dlx-water-bowl > i {
  position: absolute;
  right: 39px;
  bottom: 77px;
  left: 39px;
  z-index: 3;
  height: 0;
  border-radius: 50%;
  background: rgba(103, 217, 242, .86);
}
.dlx-water-bowl > strong { position: absolute; bottom: 29px; left: 0; width: 100%; color: #fff; text-align: center; }
.dlx-pitcher {
  position: absolute;
  right: 21%;
  bottom: 13%;
  width: 175px;
  height: 225px;
  border: 8px solid #fff;
  border-radius: 36px 36px 30px 30px;
  color: #fff !important;
  background: var(--coral);
  box-shadow: 0 13px 0 var(--coral-dark), 0 22px 35px rgba(37, 28, 41, .24);
  cursor: pointer;
  touch-action: none !important;
}
.dlx-pitcher > i {
  width: 72px;
  height: 102px;
  display: block;
  margin: 2px auto 12px;
  border: 7px solid #fff;
  border-radius: 20px 20px 32px 32px;
  background: linear-gradient(180deg, #d4f2f5 0 36%, #58bed8 37%);
}
.dlx-pitcher strong,
.dlx-pitcher small { display: block; }
.dlx-pitcher small { margin-top: 5px; color: #ffe4dc; font-size: 9px; }
.dlx-pitcher.pouring { transform: rotate(-10deg) translateY(7px); box-shadow: 0 6px 0 var(--coral-dark); }

/* Groom */
.dlx-groom-zone,
.dlx-bath-zone {
  position: absolute;
  left: 50%;
  top: 49%;
  width: min(570px, 62vw);
  height: min(365px, 44vw);
  border: 5px dashed rgba(255, 255, 255, .78);
  border-radius: 49% 53% 43% 56%;
  cursor: crosshair;
  transform: translate(-50%, -50%);
  touch-action: none !important;
}
.dlx-tangle {
  position: absolute;
  width: 54px;
  height: 31px;
  border: 4px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  background: repeating-linear-gradient(20deg, #b77951 0 4px, #e5ad70 5px 9px);
  box-shadow: 0 4px 10px rgba(44, 31, 48, .18);
  transform: translate(-50%, -50%) rotate(-12deg);
  transition: opacity .25s ease, transform .25s ease;
}
.dlx-tangle.gone { opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(30deg); }
.dlx-brush {
  position: absolute;
  left: 80%;
  top: 80%;
  width: 88px;
  height: 54px;
  border: 6px solid #fff;
  border-radius: 45% 55% 45% 55%;
  background: var(--coral);
  box-shadow: 0 8px 0 var(--coral-dark);
  transform: translate(-50%, -50%) rotate(-12deg);
  pointer-events: none;
}
.dlx-brush::after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: -17px;
  left: 10px;
  height: 18px;
  background: repeating-linear-gradient(90deg, #fff 0 4px, transparent 4px 10px);
}

/* Fetch */
.dlx-fetch-target {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 260px;
  height: 145px;
  display: grid;
  place-items: center;
  border: 6px dashed rgba(255, 255, 255, .9);
  border-radius: 50%;
  color: #fff;
  background: rgba(58, 127, 160, .2);
  text-shadow: 0 3px 10px #2b3543;
  transform: translateX(-50%);
}
.dlx-fetch-target i { position: absolute; width: 65px; height: 65px; border: 7px solid rgba(255, 255, 255, .6); border-radius: 50%; }
.dlx-fetch-target strong { margin-top: 105px; }
.dlx-ball {
  position: absolute;
  right: 17%;
  bottom: 14%;
  width: 105px;
  height: 105px;
  border: 9px solid #fff;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 27%, #d9ef87, #76a944 72%);
  box-shadow: inset -14px -10px rgba(50, 87, 29, .2), 0 13px 0 rgba(51, 69, 36, .32);
  cursor: grab;
  touch-action: none !important;
}
.dlx-ball i::before,
.dlx-ball i::after {
  content: '';
  position: absolute;
  width: 72px;
  height: 24px;
  border: 5px solid #fff4bd;
  border-top: 0;
  border-radius: 0 0 50% 50%;
}
.dlx-ball i::before { left: 5px; top: 10px; transform: rotate(28deg); }
.dlx-ball i::after { right: 3px; bottom: 10px; transform: rotate(208deg); }
.dlx-ball.flying { animation: dlxBallFly .64s cubic-bezier(.24, .75, .34, 1); }
.dlx-fetch-pips {
  position: absolute;
  bottom: 14px;
  left: 50%;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}
.dlx-fetch-pips i {
  width: 15px;
  height: 15px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
}
.dlx-fetch-pips i.on { background: var(--yellow); box-shadow: 0 0 0 4px rgba(245, 201, 85, .2); }

/* Walk */
.dlx-trail { position: absolute; inset: 2% 4% 9%; }
.dlx-trail svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dlx-trail polyline { fill: none; stroke: rgba(255, 255, 255, .62); stroke-width: 1.5; stroke-dasharray: 2.5 2; vector-effect: non-scaling-stroke; }
.dlx-trail button {
  position: absolute;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 7px solid #fff;
  border-radius: 50% 45% 50% 44%;
  background: rgba(255, 253, 247, .9);
  box-shadow: 0 8px 0 rgba(63, 51, 71, .22);
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.dlx-trail button span { position: absolute; top: -15px; right: -11px; width: 25px; height: 25px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; background: #7969a7; font: 900 10px/1 'Inter', sans-serif; }
.dlx-trail button i { width: 28px; height: 23px; border-radius: 50% 50% 45% 45%; background: #aa9cad; }
.dlx-trail button i::before { content: '•••'; position: absolute; top: 4px; left: 13px; color: #aa9cad; font-size: 20px; letter-spacing: 1px; }
.dlx-trail button.next { background: var(--yellow); animation: dlxTrailPulse .9s ease-in-out infinite alternate; }
.dlx-trail button.done { background: #61bd98; box-shadow: none; }
.dlx-trail button.done i { background: #fff; }
.dlx-trail button.done i::before { color: #fff; }
.dlx-trail button.oops { animation: dlxShake .3s ease; background: #ffe7e7; }

/* Bath */
.dlx-mud {
  position: absolute;
  width: 64px;
  height: 49px;
  border: 5px solid rgba(255, 255, 255, .65);
  border-radius: 55% 45% 65% 35%;
  background: rgba(137, 83, 51, .88);
  box-shadow: inset 6px 5px rgba(89, 48, 31, .2), 0 5px 10px rgba(48, 31, 34, .22);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: opacity .28s ease, transform .28s ease;
}
.dlx-mud.clean { opacity: 0; transform: translate(-50%, -50%) scale(1.7); pointer-events: none; }
.dlx-sponge {
  position: absolute;
  left: 80%;
  top: 80%;
  z-index: 4;
  width: 90px;
  height: 64px;
  border: 7px solid #fff;
  border-radius: 20px 28px 19px 30px;
  background: #f1cb52;
  box-shadow: inset -10px -9px rgba(191, 136, 37, .18), 0 8px 0 #bd8731;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.dlx-bubbles { position: absolute; inset: 0; pointer-events: none; }
.dlx-bubbles i {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  animation: dlxBubble 2.7s ease-in infinite;
  animation-delay: calc(var(--i) * -.17s);
}

/* Training */
.dlx-training {
  position: absolute;
  top: 3%;
  right: 4%;
  bottom: 7%;
  width: min(520px, 52%);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}
.dlx-training-display,
.dlx-command-pad {
  border: 5px solid #fff;
  border-radius: 25px;
  background: rgba(255, 253, 247, .93);
  box-shadow: 0 12px 30px rgba(39, 29, 44, .23);
  backdrop-filter: blur(10px);
}
.dlx-training-display { padding: 14px; text-align: center; }
.dlx-training-display > span { color: #b94e47; font: 900 9px/1 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.dlx-training-display > strong { display: block; margin: 5px 0 11px; font-size: 21px; }
.dlx-training-display > div { display: flex; justify-content: center; gap: 8px; }
.dlx-training-display i {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #a99caf;
  background: #eee8ef;
  font-style: normal;
  transition: transform .15s ease, background .15s ease;
}
.dlx-training-display i .dlx-art { width: 31px; height: 31px; }
.dlx-training-display i.on { color: #fff; background: var(--yellow); box-shadow: 0 0 0 6px rgba(245, 201, 85, .25); transform: scale(1.18); }
.dlx-command-pad {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px;
}
.dlx-command-pad button {
  min-height: 94px;
  border: 4px solid #e8dfe9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 7px 0 rgba(63, 51, 71, .14);
  cursor: pointer;
}
.dlx-command-pad button:disabled { opacity: .56; cursor: default; }
.dlx-command-pad button i { position: relative; width: 36px; height: 29px; display: block; margin: 0 auto 8px; border-radius: 50% 50% 45% 45%; background: var(--coral); }
.dlx-command-pad button i::before,
.dlx-command-pad button i::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
}
.dlx-command-pad button i::before { top: -16px; left: 1px; box-shadow: 12px -4px 0 var(--coral); transform: rotate(-18deg); }
.dlx-command-pad button i::after { top: -15px; right: 0; transform: rotate(25deg); }
.dlx-command-pad button strong { font-size: 15px; }
.dlx-command-pad button.correct { color: #fff; border-color: #fff; background: #5dbb96; transform: translateY(5px); box-shadow: 0 2px 0 #39846a; }
.dlx-command-pad button.wrong { background: #ffe9e9; animation: dlxShake .3s ease; }

/* Bedtime */
.dlx-bedtime-routine {
  position: absolute;
  top: 5%;
  right: 5%;
  bottom: 8%;
  width: min(480px, 49%);
  display: grid;
  align-content: center;
  gap: 14px;
}
.dlx-bedtime-list,
.dlx-goodnight {
  border: 5px solid #fff;
  border-radius: 26px;
  background: rgba(255, 253, 247, .93);
  box-shadow: 0 12px 32px rgba(31, 24, 42, .27);
  backdrop-filter: blur(11px);
}
.dlx-bedtime-list { padding: 15px; }
.dlx-bedtime-list > small { display: block; margin-bottom: 8px; color: #746889; font: 900 10px/1 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.dlx-bedtime-list button {
  width: 100%;
  min-height: 65px;
  display: grid;
  grid-template-columns: 44px 1fr 32px;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 8px 11px;
  border: 3px solid #e7dfe9;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 5px 0 rgba(63, 51, 71, .12);
  text-align: left;
  cursor: pointer;
}
.dlx-bedtime-list button > span { text-align: center; }
.dlx-bedtime-list button > span .dlx-art { width: 42px; height: 42px; }
.dlx-bedtime-list button > strong { font-size: 15px; }
.dlx-bedtime-list button > i { display: grid; place-items: center; font-style: normal; text-align: center; }
.dlx-bedtime-list button > i .dlx-art { width: 31px; height: 31px; }
.dlx-step-dot { width: 16px; height: 16px; display: block; border: 3px solid #b7abb9; border-radius: 50%; background: #fff; }
.dlx-bedtime-list button.done { color: #31775f; border-color: #b7e0d0; background: #e9f8f1; box-shadow: none; }
.dlx-bedtime-list button.oops { animation: dlxShake .3s ease; background: #fff0f0; }
.dlx-goodnight {
  min-height: 112px;
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  padding: 14px;
  text-align: left;
  cursor: pointer;
}
.dlx-goodnight:disabled { opacity: .7; cursor: default; }
.dlx-goodnight > span { grid-row: 1 / span 2; text-align: center; }
.dlx-goodnight > span .dlx-art { width: 55px; height: 55px; }
.dlx-goodnight > strong { align-self: end; font-size: 17px; }
.dlx-goodnight > small { align-self: start; color: #7b6f83; }
.dlx-goodnight:not(:disabled) { color: #fff; background: linear-gradient(145deg, #7764a8, #55447f); box-shadow: 0 9px 0 #413463, 0 14px 30px rgba(49, 39, 73, .28); animation: dlxReady 1.1s ease-in-out infinite alternate; }
.dlx-goodnight:not(:disabled) > small { color: #e9e1ff; }
.dlx-goodnight.pat { animation: dlxPat .45s ease; }

/* Results */
.dlx-result-card,
.dlx-recap,
.dlx-pause-card {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 20;
  width: min(540px, calc(100% - 38px));
  padding: 28px;
  border: 5px solid #fff;
  border-radius: 32px;
  background: rgba(255, 253, 247, .95);
  box-shadow: 0 23px 62px rgba(27, 20, 31, .4);
  text-align: center;
  backdrop-filter: blur(13px);
  transform: translate(-50%, -50%);
}
.dlx-result-stamp {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border: 7px solid #fff;
  border-radius: 28px;
  background: #ffe7d9;
  box-shadow: 0 8px 0 rgba(63, 51, 71, .14);
  transform: rotate(-3deg);
}
.dlx-result-stamp > .dlx-art { width: 72px; height: 72px; }
.dlx-result-stamp i {
  position: absolute;
  right: -11px;
  bottom: -8px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #58b78f;
  font-style: normal;
}
.dlx-result-stamp i .dlx-art { width: 29px; height: 29px; }
.dlx-result-card h3,
.dlx-recap h3,
.dlx-pause-card h3 { margin: 5px 0 8px; font-size: clamp(30px, 5vw, 45px); line-height: 1; }
.dlx-result-card p,
.dlx-recap p,
.dlx-pause-card p { margin: 0 0 13px; color: var(--muted); font: 700 14px/1.4 'Inter', sans-serif; }
.dlx-points { width: fit-content; margin: 0 auto 16px; padding: 8px 13px; border-radius: 13px; color: #896119; background: #fff0af; font: 800 11px/1 'Inter', sans-serif; }
.dlx-points span { margin-right: 4px; font-size: 18px; font-weight: 900; }
.dlx-result-card .dlx-primary { width: 100%; }

.dlx-celebration { position: absolute; inset: 0; z-index: 14; overflow: hidden; pointer-events: none; }
.dlx-celebration i {
  position: absolute;
  top: -30px;
  width: 13px;
  height: 22px;
  border-radius: 4px;
  background: hsl(calc(var(--i) * 47), 75%, 62%);
  animation: dlxConfetti calc(2.1s + (var(--i) % 5) * .18s) ease-in forwards;
  animation-delay: calc((var(--i) % 7) * .07s);
  transform: rotate(calc(var(--i) * 23deg));
}

.dlx-badge {
  width: 98px;
  height: 98px;
  display: grid;
  place-content: center;
  margin: 0 auto 13px;
  border: 8px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #f6cc57, #e6a935);
  box-shadow: 0 9px 0 #b98228, 0 13px 25px rgba(97, 66, 24, .22);
}
.dlx-badge > .dlx-art { width: 70px; height: 70px; }
.dlx-badge span { margin-top: 5px; font: 900 8px/1 'Inter', sans-serif; text-transform: uppercase; }
.dlx-recap-stats,
.dlx-final-stats { display: grid; gap: 7px; }
.dlx-recap-stats { grid-template-columns: repeat(3, 1fr); margin: 14px 0; }
.dlx-recap-stats span,
.dlx-final-stats span { padding: 10px 6px; border-radius: 14px; color: #776b7b; background: #f4eff4; font: 800 9px/1 'Inter', sans-serif; text-transform: uppercase; }
.dlx-recap-stats strong,
.dlx-final-stats strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 18px; }
.dlx-badge-shelf { display: flex; justify-content: center; gap: 7px; margin: 14px 0 18px; }
.dlx-badge-shelf i {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 3px solid #e7dee8;
  border-radius: 50%;
  color: #c6bdc8;
  background: #f2eef3;
  font-style: normal;
}
.dlx-badge-shelf i .dlx-art { width: 29px; height: 29px; filter: grayscale(1); opacity: .32; }
.dlx-badge-shelf i.earned { border-color: #fff; color: #fff; background: #efbe45; box-shadow: 0 4px 0 #b98327; }
.dlx-badge-shelf i.earned .dlx-art { filter: none; opacity: 1; }
.dlx-recap .dlx-primary { width: 100%; }

.dlx-week-complete {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 20;
  width: min(880px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 26px;
  padding: 30px;
  border: 5px solid #fff;
  border-radius: 34px;
  background: rgba(255, 253, 247, .95);
  box-shadow: 0 25px 68px rgba(28, 21, 32, .42);
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
}
.dlx-week-complete > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 7px solid #fff;
  border-radius: 34px;
  box-shadow: 0 10px 0 rgba(63, 51, 71, .14);
  transform: rotate(-2deg);
}
.dlx-week-complete h3 { margin: 5px 0 8px; font-size: clamp(35px, 6vw, 57px); line-height: .95; }
.dlx-week-complete p { margin: 0 0 14px; color: var(--muted); font: 700 14px/1.4 'Inter', sans-serif; }
.dlx-final-stats { grid-template-columns: repeat(4, 1fr); margin-bottom: 12px; }
.dlx-week-reward { padding: 11px; border-radius: 14px; color: #775414; background: #fff0ad; text-align: center; font: 900 11px/1 'Inter', sans-serif; }
.dlx-final-actions { display: flex; gap: 9px; margin-top: 13px; }
.dlx-final-actions button { flex: 1; min-height: 52px; border: 3px solid #ded5e0; border-radius: 17px; background: #fff; cursor: pointer; font-weight: 900; }
.dlx-final-actions .dlx-primary { border-color: #fff; background: var(--coral); }

.dlx-pause-art { width: 86px; height: 86px; display: block; margin: 0 auto 6px; }
.dlx-pause-card button { width: 100%; min-height: 52px; margin-top: 9px; border: 3px solid #ded5e0; border-radius: 17px; background: #fff; cursor: pointer; font-weight: 900; }
.dlx-pause-card .dlx-primary { border-color: #fff; background: var(--coral); }
.dlx-pause-overlay {
  position: absolute;
  z-index: 80;
  inset: 0;
  border-radius: inherit;
  background: rgba(38, 29, 46, .48);
  backdrop-filter: blur(5px);
}
.is-paused > .dlx { filter: saturate(.72) brightness(.8); }

.dlx-loading {
  width: 100%;
  height: 100%;
  min-height: 660px;
  display: grid;
  place-content: center;
  justify-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .7) 0 5px, transparent 6px),
    linear-gradient(145deg, #ffe28e, #f5a87d 52%, #84d8c1);
}
.dlx-loading > img { width: 145px; height: 145px; object-fit: cover; border: 7px solid #fff; border-radius: 35px; box-shadow: 0 12px 0 rgba(63, 51, 71, .14); }
.dlx-loading > strong { margin-top: 19px; font-size: 25px; }
.dlx-loading > span { margin-top: 4px; color: #66586b; font: 800 11px/1 'Inter', sans-serif; }
.dlx-loader-paw { display: flex; gap: 5px; margin-top: 15px; }
.dlx-loader-paw i { width: 11px; height: 11px; border-radius: 50%; background: #fff; animation: dlxLoad .8s ease-in-out infinite alternate; }
.dlx-loader-paw i:nth-child(2) { animation-delay: .12s; }
.dlx-loader-paw i:nth-child(3) { animation-delay: .24s; }
.dlx-loader-paw i:nth-child(4) { animation-delay: .36s; }

@keyframes dlxNeedPulse { to { box-shadow: inset 0 0 0 2px rgba(225, 100, 80, .26); } }
@keyframes dlxReady { to { transform: translateY(-3px); filter: brightness(1.05); } }
@keyframes dlxBallFly {
  0% { transform: translate(0, 0) rotate(0); }
  55% { transform: translate(-320px, -310px) scale(.55) rotate(300deg); }
  100% { transform: translate(0, 0) rotate(560deg); }
}
@keyframes dlxTrailPulse { to { transform: translate(-50%, -50%) scale(1.16); box-shadow: 0 0 0 13px rgba(245, 201, 85, .24); } }
@keyframes dlxShake { 25% { transform: translateX(-7px); } 75% { transform: translateX(7px); } }
@keyframes dlxBubble { 0% { opacity: 0; transform: translateY(25px) scale(.5); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-110px) scale(1.3); } }
@keyframes dlxPat { 50% { transform: scale(.94); } }
@keyframes dlxConfetti { to { top: 110%; transform: rotate(720deg) translateX(55px); } }
@keyframes dlxLoad { to { transform: translateY(-8px); } }
@keyframes dlxDogGoal { to { transform: translate(-50%, -50%) scale(1.07); } }
@keyframes dlxDogGoalRing {
  from { opacity: .85; transform: scale(.82); }
  to { opacity: 0; transform: scale(1.24); }
}
@keyframes dlxDogSniff { to { transform: translate(-50%, -50%) scale(1.16) rotate(-4deg); } }
@keyframes dlxDogRun { to { transform: translateY(-7px) rotate(1.5deg); } }
@keyframes dlxDogCelebrate {
  45% { transform: translate(-50%, -65%) scale(1.08); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* Preserve an iPad-shaped play canvas on wide monitors instead of stretching the
   scene and controls independently across the entire browser window. */
@media (max-aspect-ratio: 4 / 3) {
  .adventure-game.dog-life-active {
    width: 100%;
    height: 100%;
  }
}

/* Large displays get a proportionally larger touch UI inside the same 4:3
   composition. The game remains readable at normal browser zoom without
   turning the scene into an ultrawide wallpaper. */
@media (min-width: 1600px) and (min-height: 900px) {
  .dlx {
    --dlx-safe-top: max(20px, env(safe-area-inset-top));
    --dlx-safe-right: max(22px, env(safe-area-inset-right));
    --dlx-safe-bottom: max(20px, env(safe-area-inset-bottom));
    --dlx-safe-left: max(22px, env(safe-area-inset-left));
  }

  .dlx-chrome {
    min-height: 84px;
    gap: 13px;
    padding: 11px 14px;
    border-radius: 28px;
  }

  .dlx-icon-button {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 18px;
  }

  .dlx-icon-button > .dlx-art { width: 45px; height: 45px; }
  .dlx-brand { gap: 14px; }
  .dlx-brand img { width: 57px; height: 57px; flex-basis: 57px; border-radius: 17px; }
  .dlx-brand small { font-size: 13px; }
  .dlx-brand strong { margin-top: 6px; font-size: 22px; }
  .dlx-score { height: 54px; padding-inline: 18px; border-radius: 18px; }
  .dlx-score .dlx-art { width: 33px; height: 33px; }
  .dlx-score strong { font-size: 22px; }

  .dlx-home {
    top: calc(var(--dlx-safe-top) + 105px);
    width: min(2180px, calc(100% - var(--dlx-safe-left) - var(--dlx-safe-right)));
    grid-template-columns: clamp(350px, 21%, 440px) minmax(0, 1fr);
    gap: 24px;
  }

  .dlx-pip-card {
    gap: 16px;
    padding: 22px;
    border-radius: 33px;
  }

  .dlx-pip-talk { padding: 20px; border-radius: 25px 25px 25px 8px; }
  .dlx-pip-talk span { font-size: 13px; }
  .dlx-pip-talk strong { font-size: 28px; }
  .dlx-needs { gap: 9px; padding: 16px; border-radius: 25px; }
  .dlx-need { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 9px; padding: 7px; }
  .dlx-need > .dlx-art { width: 34px; height: 34px; }
  .dlx-need > div small,
  .dlx-need > strong { font-size: 13px; }
  .dlx-need > div > i { height: 12px; }

  .dlx-planner { padding: 27px; border-radius: 34px; }
  .dlx-planner-head { gap: 22px; margin-bottom: 20px; }
  .dlx-planner-head small { font-size: 13px; }
  .dlx-planner-head h3 { margin-block: 6px 5px; font-size: 43px; }
  .dlx-planner-head p { font-size: 16px; }
  .dlx-day-ring { width: 98px; height: 98px; flex-basis: 98px; border-width: 9px; }
  .dlx-day-ring strong { font-size: 25px; }
  .dlx-day-ring span { font-size: 10px; }
  .dlx-activity-grid { gap: 13px; }
  .dlx-activity-card { min-height: 148px; gap: 7px; border-radius: 25px; }
  .dlx-activity-icon { width: 57px; height: 57px; border-radius: 18px; }
  .dlx-activity-icon .dlx-art { width: 49px; height: 49px; }
  .dlx-activity-card > strong { font-size: 18px; }
  .dlx-activity-card > small { font-size: 11px; }
  .dlx-activity-card em { font-size: 9px; }
  .dlx-week-track { margin-top: 18px; }
  .dlx-week-track i { width: 38px; height: 38px; border-radius: 12px; font-size: 12px; }
  .dlx-week-track small { font-size: 10px; }
}

@media (max-width: 900px) {
  .dlx-home { grid-template-columns: 190px 1fr; }
  .dlx-pip-card { padding: 10px; }
  .dlx-pip-talk { padding: 11px; }
  .dlx-pip-talk strong { font-size: 17px; }
  .dlx-activity-grid { grid-template-columns: repeat(4, minmax(88px, 1fr)); }
  .dlx-activity-card { min-height: 100px; }
  .dlx-task-head { grid-template-columns: 62px minmax(200px, 1fr) minmax(320px, 43%); }
  .dlx-task-head > button { width: 60px; }
  .dlx-task-space { top: 175px; }
}

@media (min-width: 721px) and (max-height: 720px) {
  .dlx-chrome {
    min-height: 52px;
    padding-block: 5px;
    border-radius: 18px;
  }
  .dlx-icon-button { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; }
  .dlx-icon-button > .dlx-art { width: 29px; height: 29px; }
  .dlx-brand img { width: 37px; height: 37px; flex-basis: 37px; }
  .dlx-score { height: 37px; }
  .dlx-home {
    top: calc(var(--dlx-safe-top) + 62px);
    gap: 10px;
  }
  .dlx-pip-card { gap: 7px; padding: 9px; border-radius: 22px; }
  .dlx-pip-talk { padding: 9px; border-radius: 16px 16px 16px 5px; }
  .dlx-pip-talk strong { font-size: 16px; }
  .dlx-needs { gap: 3px; padding: 6px; border-radius: 16px; }
  .dlx-need { padding: 2px; }
  .dlx-need > .dlx-art { width: 22px; height: 22px; }
  .dlx-planner { padding: 11px; border-radius: 22px; }
  .dlx-planner-head { margin-bottom: 8px; }
  .dlx-planner-head h3 { font-size: 23px; }
  .dlx-day-ring { width: 60px; height: 60px; flex-basis: 60px; border-width: 5px; }
  .dlx-activity-grid { gap: 6px; }
  .dlx-activity-card { min-height: 82px; padding: 6px 4px; border-radius: 16px; }
  .dlx-activity-icon { width: 34px; height: 34px; }
  .dlx-activity-icon .dlx-art { width: 31px; height: 31px; }
  .dlx-activity-card > strong { font-size: 12px; }
  .dlx-week-track { margin-top: 7px; }
  .dlx-week-track i { width: 25px; height: 25px; }
  .dlx-task-head { top: calc(var(--dlx-safe-top) + 63px); }
  .dlx-task-space { top: calc(var(--dlx-safe-top) + 132px); }
}

@media (max-width: 720px) {
  .adventure-stage.dog-life-stage-active { overflow: auto; }
  .adventure-game.dog-life-active { height: auto; min-height: 790px; }
  .adventure-game.dog-life-active > .adventure-playfield { height: 790px; min-height: 790px; overflow: hidden; }
  .dlx-scene { min-height: 790px; }
  .dlx-chrome { right: 8px; left: 8px; gap: 5px; padding: 6px; border-radius: 18px; }
  .dlx-icon-button { width: 39px; height: 39px; flex-basis: 39px; border-radius: 12px; }
  .dlx-brand img { width: 37px; height: 37px; flex-basis: 37px; }
  .dlx-brand small { display: none; }
  .dlx-brand strong { font-size: 12px; }
  .dlx-score { height: 38px; padding: 0 8px; }
  .dlx-score strong { font-size: 13px; }
  .dlx-home {
    top: calc(var(--dlx-safe-top) + 65px);
    right: 8px;
    bottom: var(--dlx-safe-bottom);
    left: 8px;
    width: auto;
    display: block;
    overflow: auto;
    transform: none;
  }
  .dlx-pip-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 7px;
    margin-bottom: 8px;
    padding: 7px;
    border-radius: 20px;
  }
  .dlx-pip-talk { margin: 0; }
  .dlx-pip-talk span { font-size: 8px; }
  .dlx-pip-talk strong { font-size: 14px; }
  .dlx-needs { grid-template-columns: repeat(5, 1fr); gap: 3px; padding: 6px; }
  .dlx-need { display: block; min-width: 0; padding: 3px; text-align: center; }
  .dlx-need > span { display: block; font-size: 14px; }
  .dlx-need > div small { font-size: 7px; overflow: hidden; text-overflow: ellipsis; }
  .dlx-need > strong { display: none; }
  .dlx-planner { max-height: none; padding: 12px; border-radius: 21px; }
  .dlx-planner-head { margin-bottom: 10px; }
  .dlx-planner-head h3 { font-size: 21px; }
  .dlx-planner-head p { font-size: 9px; }
  .dlx-day-ring { width: 60px; height: 60px; flex-basis: 60px; border-width: 5px; }
  .dlx-day-ring strong { font-size: 14px; }
  .dlx-activity-grid { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .dlx-activity-card { min-width: 0; min-height: 89px; padding: 7px 2px; border-radius: 15px; }
  .dlx-activity-icon { width: 34px; height: 34px; border-radius: 11px; font-size: 20px; }
  .dlx-activity-card > strong { font-size: 11px; }
  .dlx-activity-card > small { font-size: 7px; }
  .dlx-activity-card em { font-size: 6px; }
  .dlx-week-track { margin-top: 9px; }
  .dlx-week-track i { width: 25px; height: 25px; border-radius: 8px; font-size: 8px; }
  .dlx-tutorial { display: block; padding: 21px; text-align: center; }
  .dlx-tutorial-art img { width: 130px; margin: 0 auto 15px; }
  .dlx-tutorial-copy p { font-size: 12px; }
  .dlx-tutorial-dots { justify-content: center; margin: 14px 0; }
  .dlx-tutorial .dlx-primary { width: 100%; }
  .dlx-task-head {
    top: calc(var(--dlx-safe-top) + 61px);
    right: 8px;
    left: 8px;
    display: grid;
    grid-template-columns: 51px 1fr;
    gap: 6px;
  }
  .dlx-task-head > button { width: 49px; height: 49px; border-radius: 14px; font-size: 11px; }
  .dlx-task-head > div { width: auto; max-width: none; padding: 8px; }
  .dlx-task-head > div > span { font-size: 23px; }
  .dlx-task-head > div > h3 { font-size: 16px; }
  .dlx-task-head > div > p { font-size: 8px; }
  .dlx-task-head > .dlx-needs { grid-column: 1 / -1; width: 100%; }
  .dlx-task-space {
    top: calc(var(--dlx-safe-top) + 184px);
    right: 7px;
    bottom: 10px;
    left: 7px;
  }
  .dlx-dog-world { border-width: 3px; border-radius: 22px; }
  .dlx-dog-mission {
    top: 7px;
    width: min(330px, calc(100% - 150px));
    padding: 7px 10px;
    border-width: 3px;
    border-radius: 15px;
  }
  .dlx-dog-mission > strong { margin: 3px 0 5px; font-size: 11px; }
  .dlx-dog-mission > span { font-size: 7px; }
  .dlx-dog-target { width: clamp(66px, 10cqh, 84px); border-width: 3px; }
  .dlx-dog-target::before { inset: -7px; border-width: 3px; }
  .dlx-dog-target small { width: 20px; height: 20px; border-width: 2px; font-size: 7px; }
  .dlx-dog-target > strong { top: calc(100% + 6px); padding: 5px 7px; border-width: 2px; font-size: 8px; }
  .dlx-pip-player { width: clamp(145px, 22cqh, 190px); }
  .dlx-pip-player > span { top: -5px; max-width: 175px; padding: 6px 8px; border-width: 2px; font-size: 9px; }
  .dlx-dog-controls { right: 7px; bottom: 7px; left: 7px; }
  .dlx-dog-dpad { width: 108px; height: 108px; padding: 5px; border-width: 3px; border-radius: 23px; }
  .dlx-dog-dpad button { border-radius: 9px; }
  .dlx-dog-dpad i { width: 11px; height: 11px; border-width: 4px; }
  .dlx-dog-sniff { min-width: 100px; min-height: 59px; grid-template-columns: 39px 1fr; padding: 5px 8px 5px 5px; border-width: 3px; }
  .dlx-dog-sniff .dlx-art { width: 38px; height: 38px; }
  .dlx-live { bottom: 69px; max-width: 80%; text-align: center; }
  .dlx-task-meter { bottom: 3px; width: 68%; height: 44px; }
  .dlx-access-action { right: 3px; bottom: 3px; max-width: 29%; min-height: 44px; padding: 5px; font-size: 9px !important; }
  .dlx-food-sack { left: 1%; bottom: 12%; width: 150px; min-height: 180px; padding: 62px 4px 12px; border-width: 6px; }
  .dlx-food-sack > strong { top: 15px; font-size: 17px; }
  .dlx-scoop { width: 39px; height: 52px; margin: 2px; border-width: 4px; }
  .dlx-scoop i { left: 11px; }
  .dlx-bowl { right: 1%; bottom: 13%; width: 175px; height: 120px; border-width: 7px; }
  .dlx-bowl::before { inset: 15px 22px 48px; }
  .dlx-bowl > i { right: 23px; bottom: 52px; left: 23px; }
  .dlx-water-bowl { left: 2%; bottom: 16%; width: 190px; height: 130px; border-width: 7px; }
  .dlx-water-bowl::before { inset: 16px 23px 52px; }
  .dlx-water-bowl > i { right: 24px; bottom: 54px; left: 24px; }
  .dlx-pitcher { right: 3%; bottom: 16%; width: 115px; height: 165px; border-width: 6px; }
  .dlx-pitcher > i { width: 48px; height: 73px; border-width: 5px; }
  .dlx-groom-zone,
  .dlx-bath-zone { top: 52%; width: 94%; height: 58%; }
  .dlx-tangle { width: 41px; height: 25px; }
  .dlx-brush { width: 67px; height: 43px; }
  .dlx-fetch-target { top: 13%; width: 175px; height: 105px; }
  .dlx-ball { right: 7%; bottom: 16%; width: 82px; height: 82px; border-width: 7px; }
  .dlx-ball i::before,
  .dlx-ball i::after { width: 53px; }
  .dlx-trail button { width: 48px; height: 48px; border-width: 5px; }
  .dlx-trail button i { width: 21px; height: 18px; }
  .dlx-trail button i::before { left: 8px; top: 0; font-size: 16px; }
  .dlx-training { top: 5%; right: 1%; bottom: 9%; width: 68%; }
  .dlx-command-pad { gap: 6px; padding: 7px; }
  .dlx-command-pad button { min-height: 72px; }
  .dlx-bedtime-routine { top: 8%; right: 1%; bottom: 10%; width: 68%; }
  .dlx-bedtime-list { padding: 9px; }
  .dlx-bedtime-list button { min-height: 53px; grid-template-columns: 35px 1fr 25px; }
  .dlx-goodnight { min-height: 90px; }
  .dlx-result-card,
  .dlx-recap,
  .dlx-pause-card { padding: 21px; }
  .dlx-result-stamp { width: 74px; height: 74px; font-size: 36px; }
  .dlx-week-complete { display: block; padding: 21px; text-align: center; }
  .dlx-week-complete > img { width: 125px; margin: 0 auto 15px; }
  .dlx-week-complete p { font-size: 11px; }
  .dlx-final-stats { gap: 4px; }
  .dlx-final-stats strong { font-size: 14px; }
  .dlx-final-actions { display: grid; }
}

@media (max-width: 420px) {
  .adventure-game.dog-life-active { min-height: 950px; }
  .adventure-game.dog-life-active > .adventure-playfield { height: 950px; min-height: 950px; }
  .dlx-brand img { display: none; }
  .dlx-score span { display: none; }
  .dlx-activity-grid { grid-template-columns: repeat(2, 1fr); }
  .dlx-scene { min-height: 950px; }
  .dlx-pip-card { grid-template-columns: 110px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .dlx *,
  .dlx *::before,
  .dlx *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
