/* xkxkx pet game shell - phase 5 visual polish. All selectors are scoped to .pet-game-page. */
.pet-game-page {
  width: min(100%, 430px);
  margin: 24px auto 96px;
  padding: 12px;
  color: var(--pet-game-ink);
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pet-game-page * {
  box-sizing: border-box;
}

.pet-game-page .game-shell {
  min-height: 656px;
  overflow: hidden;
  border: 1px solid var(--pet-game-line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,252,249,.78));
  box-shadow: var(--pet-game-shadow);
  backdrop-filter: blur(18px);
}

.pet-game-page .game-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
}

.pet-game-page .game-player {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.pet-game-page .game-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  background: var(--pet-game-soft);
  color: var(--pet-game-accent);
  font-size: 22px;
  font-weight: 800;
}

.pet-game-page .game-player-text {
  min-width: 0;
}

.pet-game-page .game-name {
  overflow: hidden;
  color: var(--pet-game-ink);
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pet-game-page .game-level {
  margin-top: 3px;
  color: var(--pet-game-muted);
  font-size: 12px;
  font-weight: 700;
}

.pet-game-page .game-wallet {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 6px;
}

.pet-game-page .game-wallet-pill {
  display: inline-flex;
  min-width: 88px;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--pet-game-line);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--pet-game-muted);
  font-size: 12px;
  font-weight: 800;
}

.pet-game-page .game-wallet-pill b {
  color: var(--pet-game-ink);
}

.pet-game-page .game-content {
  min-height: 520px;
  padding: 4px 14px 16px;
}

.pet-game-page .game-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 9 / 11.2;
  border-radius: 24px;
  background-color: #fff4f0;
  background-image: linear-gradient(180deg, rgba(255,244,248,.36), rgba(255,255,255,.08) 44%, rgba(255,248,240,.2)), var(--pet-game-room-bg);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}

.pet-game-page .game-room-scene {
  position: absolute;
  inset: 0;
}

.pet-game-page .game-room-scene::before,
.pet-game-page .game-room-mini::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.pet-game-page .game-room-scene::before {
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.08) 48%, rgba(255,239,229,.36));
}

.pet-game-page .game-room-scene::after {
  position: absolute;
  left: 50%;
  bottom: 40px;
  z-index: 1;
  width: 56%;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(114,75,53,.2) 0%, rgba(114,75,53,.11) 48%, rgba(114,75,53,0) 72%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.pet-game-page .game-window {
  position: absolute;
  top: 32px;
  left: 50%;
  width: 46%;
  height: 27%;
  transform: translateX(-50%);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(137,194,255,.38), rgba(255,255,255,.48));
  border: 8px solid rgba(255,255,255,.62);
  display: none;
}

.pet-game-page .game-character {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 46px;
  display: grid;
  width: 154px;
  height: 232px;
  place-items: center;
  transform: translateX(-50%);
  background: transparent;
  box-shadow: none;
  animation: pet-game-breathe 3s ease-in-out infinite;
}

.pet-game-page .game-character-face {
  color: var(--pet-game-ink);
  font-size: 22px;
  font-weight: 900;
}

.pet-game-page .game-character-outfit {
  display: none;
}

.pet-game-page .game-pet {
  position: absolute;
  z-index: 3;
  left: auto;
  right: 54px;
  bottom: 46px;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  background: transparent;
  color: var(--pet-game-ink);
  font-size: 24px;
  font-weight: 900;
  animation: pet-game-hop 2.6s ease-in-out infinite;
}

.pet-game-page .game-asset-frame {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.pet-game-page .game-asset-frame img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.pet-game-page .game-asset-frame img + .game-asset-fallback {
  display: none;
}

.pet-game-page .game-asset-fallback {
  color: var(--pet-game-ink);
  font-size: 30px;
  font-weight: 900;
}

.pet-game-page .game-asset-character,
.pet-game-page .game-asset-character-choice {
  padding: 0;
}

.pet-game-page .game-asset-pet,
.pet-game-page .game-asset-pet-choice {
  padding: 0;
}

.pet-game-page .game-tone-mint { background: linear-gradient(180deg, #fff, var(--pet-game-mint)); }
.pet-game-page .game-tone-blue { background: linear-gradient(180deg, #fff, var(--pet-game-blue)); }
.pet-game-page .game-tone-violet { background: linear-gradient(180deg, #fff, var(--pet-game-violet)); }
.pet-game-page .game-tone-pink { background: linear-gradient(180deg, #fff, #ffe1ec); }
.pet-game-page .game-tone-cream { background: linear-gradient(180deg, #fff, #fff5db); }
.pet-game-page .game-tone-honey { background: linear-gradient(180deg, #fff, var(--pet-game-honey)); }
.pet-game-page .game-tone-gray { background: linear-gradient(180deg, #fff, #e9edf2); }
.pet-game-page .game-tone-orange { background: linear-gradient(180deg, #fff, #ffe4c7); }

.pet-game-page .game-character.game-tone-mint,
.pet-game-page .game-character.game-tone-blue,
.pet-game-page .game-character.game-tone-violet,
.pet-game-page .game-character.game-tone-pink,
.pet-game-page .game-character.game-tone-cream,
.pet-game-page .game-character.game-tone-honey,
.pet-game-page .game-character.game-tone-gray,
.pet-game-page .game-character.game-tone-orange {
  background: transparent;
}

.pet-game-page .game-pet.game-tone-mint,
.pet-game-page .game-pet.game-tone-blue,
.pet-game-page .game-pet.game-tone-violet,
.pet-game-page .game-pet.game-tone-pink,
.pet-game-page .game-pet.game-tone-cream,
.pet-game-page .game-pet.game-tone-honey,
.pet-game-page .game-pet.game-tone-gray,
.pet-game-page .game-pet.game-tone-orange {
  background: transparent;
}

.pet-game-page .game-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.pet-game-page .game-stat-card,
.pet-game-page .game-panel,
.pet-game-page .game-choice-card,
.pet-game-page .game-action-btn,
.pet-game-page .game-furniture-card {
  border: 1px solid var(--pet-game-line);
  background: var(--pet-game-panel);
}

.pet-game-page .game-stat-card {
  padding: 11px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  text-align: center;
}

.pet-game-page .game-stat-card span {
  display: block;
  color: var(--pet-game-muted);
  font-size: 12px;
  font-weight: 700;
}

.pet-game-page .game-stat-card b {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.pet-game-page .game-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.pet-game-page button {
  font: inherit;
}

.pet-game-page .game-action-btn {
  min-height: 66px;
  cursor: pointer;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,242,247,.78));
  box-shadow: 0 10px 20px rgba(255,111,143,.08);
  color: var(--pet-game-ink);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.pet-game-page .game-action-btn span,
.pet-game-page .game-action-btn small {
  display: block;
}

.pet-game-page .game-action-btn span {
  font-size: 15px;
  font-weight: 900;
}

.pet-game-page .game-action-btn small {
  margin-top: 5px;
  color: var(--pet-game-muted);
  font-size: 11px;
  font-weight: 700;
}

.pet-game-page .game-action-btn:hover,
.pet-game-page .game-choice-card:hover {
  border-color: rgba(255,111,143,.36);
  background: rgba(255,240,246,.92);
  box-shadow: 0 12px 24px rgba(255,111,143,.12);
  transform: translateY(-2px);
}

.pet-game-page .game-action-btn:active,
.pet-game-page .game-choice-card:active,
.pet-game-page .game-tab-btn:active {
  transform: scale(.96);
}

.pet-game-page .game-panel {
  min-height: 494px;
  padding: 16px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,250,246,.74));
}

.pet-game-page .game-panel h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.pet-game-page .game-panel p {
  margin: 0 0 16px;
  color: var(--pet-game-muted);
  font-size: 13px;
  line-height: 1.7;
}

.pet-game-page .game-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pet-game-page .game-choice-card {
  display: flex;
  min-height: 158px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
  border-radius: 20px;
  color: var(--pet-game-ink);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.pet-game-page .game-choice-card.is-active {
  border-color: rgba(255,111,143,.58);
  background: linear-gradient(180deg, rgba(255,248,251,.96), rgba(255,229,239,.72));
  box-shadow: inset 0 0 0 2px rgba(255,111,143,.2), 0 12px 22px rgba(255,111,143,.14);
}

.pet-game-page .game-choice-icon {
  display: grid;
  width: 96px;
  height: 102px;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.46), rgba(255,255,255,.18));
  font-size: 30px;
  font-weight: 900;
}

.pet-game-page .game-choice-icon .game-asset-pet-choice {
  width: 94px;
  height: 94px;
}

.pet-game-page .game-choice-icon .game-asset-character-choice {
  width: 86px;
  height: 102px;
}

.pet-game-page .game-choice-card strong {
  font-size: 14px;
}

.pet-game-page .game-choice-card small {
  color: var(--pet-game-muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.pet-game-page .game-room-mini {
  position: relative;
  min-height: 236px;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 24px;
  background-color: #fff4f0;
  background-image: linear-gradient(180deg, rgba(255,244,248,.32), rgba(255,255,255,.08) 46%, rgba(255,248,240,.22)), var(--pet-game-room-bg);
  background-position: center 58%;
  background-size: cover;
}

.pet-game-page .game-room-mini::before {
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.02) 52%, rgba(255,239,229,.3));
}

.pet-game-page .game-room-mini::after {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 1;
  width: 54%;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(114,75,53,.16) 0%, rgba(114,75,53,.08) 52%, rgba(114,75,53,0) 74%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.pet-game-page .game-room-mini .game-character {
  bottom: 22px;
  width: 116px;
  height: 178px;
}

.pet-game-page .game-room-mini .game-pet {
  left: auto;
  bottom: 22px;
  right: 46px;
  width: 74px;
  height: 74px;
}

.pet-game-page .game-furniture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pet-game-page .game-furniture-card {
  display: grid;
  min-height: 58px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,248,244,.72));
  color: var(--pet-game-muted);
  font-size: 13px;
  font-weight: 900;
}

.pet-game-page .game-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--pet-game-line);
  background: rgba(255,255,255,.72);
}

.pet-game-page .game-tab-btn {
  min-width: 0;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--pet-game-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.pet-game-page .game-tab-btn.active {
  background: #1f1f23;
  color: #fff;
  box-shadow: 0 10px 24px rgba(31,31,35,.16);
}

.pet-game-page .game-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 10010;
  max-width: min(340px, calc(100vw - 40px));
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(31,31,35,.92);
  box-shadow: 0 12px 30px rgba(31,31,35,.2);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px) scale(.96);
  transition: opacity .22s ease, transform .22s ease;
}

.pet-game-page .game-toast.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.pet-game-page[data-current-tab="home"] .game-topbar {
  display: none;
}

.pet-game-page[data-current-tab="home"] .game-content {
  min-height: 0;
  padding: 14px 14px 16px;
}

.pet-game-page .game-home-v2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pet-game-page .game-home-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pet-game-page .game-home-profile {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.pet-game-page .game-home-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffe8f1, #ffd3e2);
  color: #ff6f8f;
  font-size: 22px;
  font-weight: 900;
}

.pet-game-page .game-home-profile-text {
  min-width: 0;
}

.pet-game-page .game-home-profile-text strong,
.pet-game-page .game-home-profile-text span,
.pet-game-page .game-home-profile-text i {
  display: block;
}

.pet-game-page .game-home-profile-text strong {
  overflow: hidden;
  color: var(--pet-game-ink);
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pet-game-page .game-home-profile-text span {
  margin-top: 2px;
  color: var(--pet-game-muted);
  font-size: 11px;
  font-weight: 800;
}

.pet-game-page .game-home-profile-text i {
  width: min(112px, 28vw);
  height: 5px;
  overflow: hidden;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(31,31,35,.08);
}

.pet-game-page .game-home-profile-text i::before {
  display: block;
  width: var(--game-exp);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8aa7, #ffd166);
  content: "";
}

.pet-game-page .game-home-wallet {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, auto) 34px;
  gap: 6px;
}

.pet-game-page .game-home-wallet span,
.pet-game-page .game-home-wallet button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31,31,35,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 18px rgba(31,31,35,.06);
  color: var(--pet-game-muted);
  font-size: 11px;
  font-weight: 900;
}

.pet-game-page .game-home-wallet span {
  min-width: 64px;
  gap: 5px;
  padding: 0 9px;
}

.pet-game-page .game-home-wallet b {
  color: var(--pet-game-ink);
}

.pet-game-page .game-home-wallet button {
  width: 34px;
  cursor: pointer;
}

.pet-game-page .game-home-stage {
  aspect-ratio: 9 / 10.2;
  min-height: 390px;
}

.pet-game-page .game-home-stage .game-room-scene::after {
  bottom: 38px;
  width: 64%;
  height: 38px;
}

.pet-game-page .game-quick-links {
  position: absolute;
  left: 12px;
  top: 82px;
  z-index: 5;
  display: grid;
  gap: 8px;
}

.pet-game-page .game-quick-links button {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  cursor: pointer;
  place-items: center;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 12px 28px rgba(31,31,35,.11);
  color: var(--pet-game-ink);
  font-size: 12px;
  font-weight: 900;
}

.pet-game-page .game-quick-links i {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff6f8f;
  box-shadow: 0 0 0 3px rgba(255,111,143,.14);
}

.pet-game-page .game-pet-name {
  position: absolute;
  right: 54px;
  bottom: 134px;
  z-index: 4;
  max-width: 88px;
  overflow: hidden;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 22px rgba(31,31,35,.1);
  color: var(--pet-game-ink);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pet-game-page .game-home-stage .game-character {
  bottom: 34px;
  width: 174px;
  height: 264px;
}

.pet-game-page .game-home-stage .game-pet {
  right: 42px;
  bottom: 34px;
  width: 104px;
  height: 102px;
}

.pet-game-page .game-home-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.pet-game-page .game-home-status div {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid rgba(31,31,35,.06);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 18px rgba(31,31,35,.05);
  text-align: center;
}

.pet-game-page .game-home-status span {
  display: block;
  color: var(--pet-game-muted);
  font-size: 11px;
  font-weight: 800;
}

.pet-game-page .game-home-status b {
  display: block;
  margin-top: 3px;
  color: var(--pet-game-ink);
  font-size: 20px;
  line-height: 1;
}

.pet-game-page .game-main-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.pet-game-page .game-main-actions .game-action-btn {
  min-height: 72px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,238,246,.84));
}

.pet-game-page .game-main-actions .game-action-btn span {
  font-size: 15px;
}

.pet-game-page .game-main-actions .game-action-btn small {
  font-size: 10px;
  line-height: 1.35;
}

.pet-game-page .game-checkin-card {
  padding: 12px;
  border: 1px solid rgba(31,31,35,.06);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,246,240,.78));
  box-shadow: 0 10px 24px rgba(31,31,35,.06);
}

.pet-game-page .game-checkin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.pet-game-page .game-checkin-head strong {
  font-size: 14px;
}

.pet-game-page .game-checkin-head button {
  min-height: 30px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: #1f1f23;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.pet-game-page .game-checkin-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.pet-game-page .game-checkin-days span {
  display: grid;
  min-height: 52px;
  place-items: center;
  border-radius: 15px;
  background: rgba(255,255,255,.68);
  color: var(--pet-game-muted);
  font-size: 10px;
  font-weight: 800;
}

.pet-game-page .game-checkin-days b {
  display: grid;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,111,143,.12);
  color: #ff6f8f;
}

.pet-game-page .game-checkin-days .is-done {
  background: rgba(255,111,143,.14);
  color: #ff6f8f;
}

.pet-game-page .game-tab-btn::before {
  display: block;
  margin-bottom: 2px;
  font-size: 18px;
  line-height: 1;
}

.pet-game-page .game-tab-btn[data-tab="home"]::before { content: "⌂"; }
.pet-game-page .game-tab-btn[data-tab="dress"]::before { content: "◒"; }
.pet-game-page .game-tab-btn[data-tab="pet"]::before { content: "♧"; }
.pet-game-page .game-tab-btn[data-tab="room"]::before { content: "▣"; }

.pet-game-page .game-tab-btn {
  height: 54px;
  line-height: 1.15;
}

@keyframes pet-game-breathe {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes pet-game-hop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 520px) {
  .pet-game-page {
    margin-top: 16px;
    margin-bottom: 88px;
    padding: 10px;
  }

  .pet-game-page .game-shell {
    min-height: 650px;
    border-radius: 26px;
  }

  .pet-game-page .game-topbar {
    align-items: flex-start;
  }

  .pet-game-page .game-wallet-pill {
    min-width: 78px;
    padding-inline: 9px;
  }

.pet-game-page .game-content {
  min-height: 500px;
  padding-inline: 10px;
}

  .pet-game-page .game-character {
    bottom: 44px;
    width: 140px;
    height: 216px;
  }

  .pet-game-page .game-pet {
    left: auto;
    right: 32px;
    bottom: 44px;
    width: 78px;
    height: 78px;
  }

  .pet-game-page .game-action-grid,
  .pet-game-page .game-card-grid,
  .pet-game-page .game-furniture-grid {
    gap: 9px;
  }

  .pet-game-page[data-current-tab="home"] .game-content {
    padding: 12px 10px 14px;
  }

  .pet-game-page .game-home-hud {
    gap: 8px;
  }

  .pet-game-page .game-home-wallet {
    grid-template-columns: 1fr 1fr 32px;
    gap: 5px;
  }

  .pet-game-page .game-home-wallet span,
  .pet-game-page .game-home-wallet button {
    min-height: 32px;
  }

  .pet-game-page .game-home-wallet span {
    min-width: 58px;
    padding-inline: 7px;
  }

  .pet-game-page .game-home-wallet button {
    width: 32px;
  }

  .pet-game-page .game-home-stage {
    min-height: 374px;
  }

  .pet-game-page .game-home-stage .game-character {
    bottom: 32px;
    width: 156px;
    height: 238px;
  }

  .pet-game-page .game-home-stage .game-pet {
    right: 30px;
    bottom: 32px;
    width: 92px;
    height: 92px;
  }

  .pet-game-page .game-pet-name {
    right: 34px;
    bottom: 122px;
  }

  .pet-game-page .game-quick-links {
    left: 10px;
    top: 74px;
  }

  .pet-game-page .game-quick-links button {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .pet-game-page .game-checkin-days {
    gap: 4px;
  }

  .pet-game-page .game-checkin-days span {
    min-height: 48px;
  }
}

@media (max-width: 380px) {
  .pet-game-page {
    padding: 8px;
  }

  .pet-game-page .game-topbar {
    gap: 8px;
    padding-inline: 12px;
  }

  .pet-game-page .game-name {
    font-size: 15px;
  }

  .pet-game-page .game-wallet-pill {
    min-width: 72px;
    font-size: 11px;
  }

  .pet-game-page .game-character {
    width: 132px;
    height: 206px;
  }

  .pet-game-page .game-pet {
    right: 28px;
    width: 74px;
    height: 74px;
  }

  .pet-game-page .game-stat-card {
    padding-inline: 6px;
  }

  .pet-game-page .game-action-btn span {
    font-size: 14px;
  }

  .pet-game-page .game-action-btn small {
    font-size: 10px;
  }

  .pet-game-page .game-tab-btn {
    font-size: 12px;
  }

  .pet-game-page .game-home-avatar {
    width: 40px;
    height: 40px;
  }

  .pet-game-page .game-home-profile-text i {
    width: 88px;
  }

  .pet-game-page .game-home-wallet span {
    min-width: 54px;
    font-size: 10px;
  }

  .pet-game-page .game-home-stage {
    min-height: 350px;
  }

  .pet-game-page .game-home-stage .game-character {
    width: 146px;
    height: 224px;
  }

  .pet-game-page .game-home-stage .game-pet {
    right: 24px;
    width: 84px;
    height: 84px;
  }

  .pet-game-page .game-main-actions {
    gap: 7px;
  }

  .pet-game-page .game-main-actions .game-action-btn {
    min-height: 66px;
    border-radius: 18px;
  }

  .pet-game-page .game-checkin-card {
    padding: 10px;
  }

  .pet-game-page .game-checkin-days span {
    min-height: 44px;
    font-size: 9px;
  }

  .pet-game-page .game-checkin-days b {
    width: 20px;
    height: 20px;
  }
}

/* Phase 6A-2: home visual alignment. Keep overrides scoped to the pet-game page. */
#pjax-container .lgnewui-page-header:has(+ .pet-game-page),
#pjax-container .lgnewui-page-header:has(~ .pet-game-page) {
  min-height: 0;
  padding: 14px 0 8px;
}

#pjax-container .lgnewui-page-header:has(+ .pet-game-page) h1,
#pjax-container .lgnewui-page-header:has(~ .pet-game-page) h1 {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.2;
}

.pet-game-page {
  width: min(100%, 460px);
  margin: 10px auto 88px;
  padding: 10px;
}

.pet-game-page .game-shell {
  min-height: 760px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,247,.9));
  box-shadow: 0 18px 52px rgba(31,31,35,.12);
}

.pet-game-page[data-current-tab="home"] .game-content {
  padding: 12px 12px 16px;
}

.pet-game-page .game-home-v2 {
  gap: 10px;
}

.pet-game-page .game-home-hud {
  min-height: 58px;
  padding: 4px 2px 2px;
}

.pet-game-page .game-home-avatar {
  width: 46px;
  height: 46px;
  border-radius: 17px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.pet-game-page .game-home-profile-text strong {
  font-size: 16px;
}

.pet-game-page .game-home-profile-text span {
  font-size: 11px;
}

.pet-game-page .game-home-profile-text i {
  width: min(138px, 31vw);
  height: 6px;
  background: rgba(31,31,35,.07);
}

.pet-game-page .game-home-wallet {
  grid-template-columns: repeat(2, auto) 36px;
  gap: 6px;
}

.pet-game-page .game-home-wallet span,
.pet-game-page .game-home-wallet button {
  min-height: 36px;
  border-color: rgba(31,31,35,.06);
  background: rgba(255,255,255,.9);
}

.pet-game-page .game-home-wallet span {
  min-width: 68px;
  padding: 0 10px;
}

.pet-game-page .game-home-wallet button {
  width: 36px;
}

.pet-game-page .game-home-stage {
  min-height: 500px;
  aspect-ratio: auto;
  border-radius: 30px;
  background-position: center 54%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 14px 28px rgba(194,132,104,.12);
}

.pet-game-page .game-room-scene::before {
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.02) 42%, rgba(255,238,224,.2));
}

.pet-game-page .game-home-stage .game-room-scene::after {
  left: 52%;
  bottom: 50px;
  width: 70%;
  height: 48px;
  background: radial-gradient(ellipse at center, rgba(118,79,56,.24) 0%, rgba(118,79,56,.12) 48%, rgba(118,79,56,0) 75%);
}

.pet-game-page .game-home-stage .game-character {
  bottom: 54px;
  width: 196px;
  height: 300px;
}

.pet-game-page .game-home-stage .game-pet {
  right: 48px;
  bottom: 54px;
  width: 126px;
  height: 122px;
}

.pet-game-page .game-pet-name {
  right: 56px;
  bottom: 182px;
  max-width: 104px;
  padding: 7px 12px;
  background: rgba(255,255,255,.86);
}

.pet-game-page .game-character::after,
.pet-game-page .game-pet::after {
  position: absolute;
  left: 50%;
  bottom: 2px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(79,48,34,.24), rgba(79,48,34,0) 70%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.pet-game-page .game-character::after {
  width: 78%;
  height: 18px;
}

.pet-game-page .game-pet::after {
  width: 86%;
  height: 14px;
}

.pet-game-page .game-quick-links {
  left: 14px;
  top: 92px;
  gap: 10px;
}

.pet-game-page .game-quick-links button {
  display: grid;
  width: 64px;
  height: 72px;
  align-content: center;
  gap: 5px;
  border-radius: 23px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
}

.pet-game-page .game-quick-links b {
  color: #ff7a98;
  font-size: 21px;
  line-height: 1;
}

.pet-game-page .game-quick-links span {
  font-size: 12px;
}

.pet-game-page .game-home-status {
  gap: 10px;
}

.pet-game-page .game-home-status div {
  padding: 12px 8px;
  border-radius: 20px;
}

.pet-game-page .game-home-status b {
  font-size: 24px;
}

.pet-game-page .game-main-actions {
  gap: 10px;
}

.pet-game-page .game-main-actions .game-action-btn {
  display: grid;
  min-height: 92px;
  align-content: center;
  justify-items: center;
  padding: 10px 8px;
  border-radius: 26px;
  border-color: rgba(31,31,35,.06);
  box-shadow: 0 12px 22px rgba(255,111,143,.1);
}

.pet-game-page .game-main-actions .game-action-btn b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 5px;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  font-size: 18px;
}

.pet-game-page .game-main-actions .game-action-feed {
  background: linear-gradient(180deg, #fff9e9, #ffe7b9);
}

.pet-game-page .game-main-actions .game-action-play {
  background: linear-gradient(180deg, #fff0f6, #ffd5e5);
}

.pet-game-page .game-main-actions .game-action-rest {
  background: linear-gradient(180deg, #eef8ff, #d9edff);
}

.pet-game-page .game-main-actions .game-action-btn span {
  font-size: 16px;
}

.pet-game-page .game-main-actions .game-action-btn small {
  font-size: 10px;
}

.pet-game-page .game-checkin-card {
  padding: 14px;
  border-radius: 26px;
}

.pet-game-page .game-checkin-head strong {
  font-size: 15px;
}

.pet-game-page .game-checkin-days {
  gap: 6px;
}

.pet-game-page .game-checkin-days span {
  min-height: 64px;
  align-content: center;
  padding: 6px 2px;
  border: 1px solid rgba(31,31,35,.05);
  border-radius: 17px;
}

.pet-game-page .game-checkin-days i,
.pet-game-page .game-checkin-days em {
  font-style: normal;
}

.pet-game-page .game-checkin-days em {
  color: rgba(37,37,43,.46);
  font-size: 9px;
}

.pet-game-page .game-checkin-days b {
  margin: 4px 0 3px;
}

.pet-game-page .game-bottom-nav {
  gap: 6px;
  margin: 0 12px 12px;
  padding: 10px;
  border: 1px solid rgba(31,31,35,.06);
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 24px rgba(31,31,35,.08);
}

.pet-game-page .game-tab-btn {
  height: 62px;
  border-radius: 22px;
  font-size: 12px;
}

.pet-game-page .game-tab-btn::before {
  margin-bottom: 5px;
  font-size: 20px;
}

.pet-game-page .game-tab-btn.active {
  background: #1f1f23;
  color: #fff;
  box-shadow: 0 12px 24px rgba(31,31,35,.2);
}

@media (max-width: 520px) {
  .pet-game-page {
    width: 100%;
    margin-top: 8px;
    padding: 0 12px;
  }

  .pet-game-page .game-shell {
    min-height: 732px;
    border-radius: 30px;
  }

  .pet-game-page .game-home-stage {
    min-height: min(500px, calc(100vw + 48px));
  }

  .pet-game-page .game-home-stage .game-character {
    bottom: 48px;
    width: min(190px, 48vw);
    height: min(292px, 76vw);
  }

  .pet-game-page .game-home-stage .game-pet {
    right: 34px;
    bottom: 48px;
    width: min(118px, 31vw);
    height: min(116px, 31vw);
  }

  .pet-game-page .game-pet-name {
    right: 40px;
    bottom: 168px;
  }

  .pet-game-page .game-quick-links {
    top: 82px;
  }

  .pet-game-page .game-quick-links button {
    width: 58px;
    height: 66px;
  }
}

@media (max-width: 390px) {
  .pet-game-page {
    padding: 0 10px;
  }

  .pet-game-page .game-home-wallet span {
    min-width: 55px;
    padding: 0 7px;
    font-size: 10px;
  }

  .pet-game-page .game-home-wallet {
    grid-template-columns: repeat(2, auto) 32px;
  }

  .pet-game-page .game-home-wallet button {
    width: 32px;
  }

  .pet-game-page .game-main-actions {
    gap: 7px;
  }

  .pet-game-page .game-main-actions .game-action-btn {
    min-height: 84px;
    border-radius: 22px;
  }

  .pet-game-page .game-checkin-days {
    gap: 4px;
  }

  .pet-game-page .game-checkin-days span {
    min-height: 58px;
    border-radius: 14px;
    font-size: 9px;
  }

  .pet-game-page .game-bottom-nav {
    margin-inline: 10px;
  }
}

/* Phase 6B: rebuild the home page as one immersive vertical game panel. */
.pet-game-page {
  width: min(100%, 456px);
  margin: 4px auto 88px;
  padding: 8px;
}

.pet-game-page .game-shell {
  display: flex;
  min-height: 820px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(31,31,35,.07);
  border-radius: 32px;
  background: #fffaf7;
  box-shadow: 0 18px 54px rgba(31,31,35,.13);
}

.pet-game-page .game-content {
  flex: 1 1 auto;
}

.pet-game-page[data-current-tab="home"] .game-content {
  display: flex;
  min-height: 0;
  padding: 0;
}

.pet-game-page .game-home-v2 {
  display: flex;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
}

.pet-game-page .game-home-canvas {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 720px;
  flex-direction: column;
  overflow: hidden;
  padding: 14px 14px 16px;
  background-color: #fff1e8;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.22) 17%, rgba(255,246,238,.05) 44%, rgba(255,248,243,.88) 100%),
    var(--pet-game-room-bg);
  background-position: center top;
  background-size: cover;
}

.pet-game-page .game-home-canvas::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0) 0 34%, rgba(255,255,255,.24) 62%, rgba(255,255,255,.62) 100%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.55) 72%, rgba(255,250,247,.98));
  content: "";
  pointer-events: none;
}

.pet-game-page .game-home-canvas > * {
  position: relative;
  z-index: 1;
}

.pet-game-page .game-home-hud {
  min-height: 62px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 14px 30px rgba(31,31,35,.08);
  backdrop-filter: blur(16px);
}

.pet-game-page .game-home-avatar {
  width: 48px;
  height: 48px;
  border-radius: 18px;
}

.pet-game-page .game-home-profile-text strong {
  font-size: 16px;
}

.pet-game-page .game-home-profile-text i {
  width: min(136px, 30vw);
  height: 7px;
}

.pet-game-page .game-home-wallet {
  grid-template-columns: repeat(2, auto) 38px;
}

.pet-game-page .game-home-wallet span,
.pet-game-page .game-home-wallet button {
  min-height: 38px;
  background: rgba(255,255,255,.84);
}

.pet-game-page .game-home-wallet button {
  width: 38px;
}

.pet-game-page .game-playfield {
  position: relative;
  flex: 1 1 auto;
  min-height: 410px;
}

.pet-game-page .game-playfield::after {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 1;
  width: 76%;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(92,59,42,.26) 0%, rgba(92,59,42,.12) 50%, rgba(92,59,42,0) 76%);
  content: "";
  transform: translateX(-50%);
}

.pet-game-page .game-playfield .game-room-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.pet-game-page .game-playfield .game-room-scene::before,
.pet-game-page .game-playfield .game-room-scene::after {
  display: none;
}

.pet-game-page .game-playfield .game-character {
  left: 51%;
  bottom: 36px;
  z-index: 3;
  width: 210px;
  height: 318px;
}

.pet-game-page .game-playfield .game-pet {
  right: 34px;
  bottom: 38px;
  z-index: 4;
  width: 136px;
  height: 132px;
}

.pet-game-page .game-playfield .game-character::after,
.pet-game-page .game-playfield .game-pet::after {
  z-index: -1;
}

.pet-game-page .game-pet-name {
  right: 42px;
  bottom: 174px;
  z-index: 5;
  max-width: 112px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
}

.pet-game-page .game-quick-links {
  left: 0;
  top: 92px;
  z-index: 7;
  gap: 10px;
}

.pet-game-page .game-quick-links button {
  width: 66px;
  height: 74px;
  border-color: rgba(255,255,255,.64);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 26px rgba(31,31,35,.1);
  backdrop-filter: blur(14px);
}

.pet-game-page .game-quick-links b {
  font-size: 22px;
}

.pet-game-page .game-home-status {
  margin-top: -2px;
  gap: 10px;
}

.pet-game-page .game-home-status div {
  border-color: rgba(255,255,255,.66);
  border-radius: 22px;
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(14px);
}

.pet-game-page .game-main-actions {
  margin-top: 10px;
  gap: 10px;
}

.pet-game-page .game-main-actions .game-action-btn {
  min-height: 104px;
  border: 1px solid rgba(255,255,255,.68);
  box-shadow: 0 14px 28px rgba(31,31,35,.08);
}

.pet-game-page .game-main-actions .game-action-btn b {
  width: 40px;
  height: 40px;
  margin-bottom: 7px;
  border-radius: 16px;
  font-size: 20px;
}

.pet-game-page .game-main-actions .game-action-btn span {
  font-size: 17px;
}

.pet-game-page .game-main-actions .game-action-btn small {
  margin-top: 4px;
  font-size: 10px;
}

.pet-game-page .game-checkin-card {
  margin-top: 10px;
  border-color: rgba(255,255,255,.7);
  border-radius: 28px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 16px 30px rgba(31,31,35,.08);
  backdrop-filter: blur(16px);
}

.pet-game-page .game-checkin-head {
  margin-bottom: 11px;
}

.pet-game-page .game-checkin-days span {
  min-height: 68px;
  background: rgba(255,250,246,.86);
}

.pet-game-page .game-checkin-days .is-current {
  border-color: rgba(255,111,143,.42);
  box-shadow: inset 0 0 0 1px rgba(255,111,143,.18);
}

.pet-game-page .game-checkin-days .is-done b {
  background: #63c58a;
  color: #fff;
}

.pet-game-page .game-checkin-days .is-done b::before {
  content: "✓";
}

.pet-game-page .game-checkin-days .is-done b {
  font-size: 0;
}

.pet-game-page .game-checkin-days .is-done b::before {
  font-size: 13px;
}

.pet-game-page .game-bottom-nav {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 12px 12px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255,250,247,.7), rgba(255,255,255,.98));
  box-shadow: 0 -10px 26px rgba(31,31,35,.06);
}

.pet-game-page .game-bottom-nav::before {
  display: none;
}

.pet-game-page .game-tab-btn {
  height: 66px;
  border-radius: 24px;
  background: rgba(255,255,255,.6);
  color: rgba(37,37,43,.56);
  font-size: 12px;
}

.pet-game-page .game-tab-btn.active {
  background: #1f1f23;
  color: #fff;
}

.pet-game-page:not([data-current-tab="home"]) .game-shell {
  min-height: 720px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,247,.9));
}

.pet-game-page:not([data-current-tab="home"]) .game-content {
  padding: 4px 14px 16px;
}

@media (max-width: 520px) {
  .pet-game-page {
    margin-top: 4px;
    padding: 0 10px;
  }

  .pet-game-page .game-shell {
    min-height: min(820px, calc(100vh - 26px));
    border-radius: 28px;
  }

  .pet-game-page .game-home-canvas {
    min-height: 690px;
    padding: 12px 12px 14px;
  }

  .pet-game-page .game-playfield {
    min-height: min(410px, 96vw);
  }

  .pet-game-page .game-playfield .game-character {
    bottom: 34px;
    width: min(202px, 51vw);
    height: min(306px, 78vw);
  }

  .pet-game-page .game-playfield .game-pet {
    right: 26px;
    bottom: 36px;
    width: min(128px, 33vw);
    height: min(124px, 33vw);
  }

  .pet-game-page .game-pet-name {
    right: 30px;
    bottom: 164px;
  }

  .pet-game-page .game-quick-links {
    top: 84px;
  }

  .pet-game-page .game-quick-links button {
    width: 60px;
    height: 68px;
  }
}

@media (max-width: 390px) {
  .pet-game-page {
    padding: 0 8px;
  }

  .pet-game-page .game-home-canvas {
    min-height: 668px;
    padding: 10px;
  }

  .pet-game-page .game-home-hud {
    padding: 7px;
  }

  .pet-game-page .game-home-avatar {
    width: 42px;
    height: 42px;
  }

  .pet-game-page .game-home-profile {
    gap: 8px;
  }

  .pet-game-page .game-home-profile-text strong {
    font-size: 14px;
  }

  .pet-game-page .game-home-profile-text i {
    width: 86px;
  }

  .pet-game-page .game-playfield {
    min-height: 370px;
  }

  .pet-game-page .game-playfield .game-character {
    width: min(184px, 50vw);
    height: min(282px, 76vw);
  }

  .pet-game-page .game-playfield .game-pet {
    right: 20px;
    width: min(112px, 32vw);
    height: min(110px, 32vw);
  }

  .pet-game-page .game-main-actions .game-action-btn {
    min-height: 92px;
  }

  .pet-game-page .game-main-actions .game-action-btn b {
    width: 34px;
    height: 34px;
  }

  .pet-game-page .game-checkin-days span {
    min-height: 58px;
  }

  .pet-game-page .game-tab-btn {
    height: 60px;
  }
}

/* Phase 6B v2: remove stacked web-card feeling and turn home into one mobile-game screen. */
.pet-game-page {
  width: min(100%, 450px);
  margin: 0 auto 86px;
  padding: 6px;
}

.pet-game-page[data-current-tab="home"] {
  padding-top: 0;
}

.pet-game-page .game-shell {
  border-radius: 30px;
}

.pet-game-page[data-current-tab="home"] .game-shell {
  min-height: 812px;
  border: 0;
  background: #fff7ef;
  box-shadow: 0 16px 44px rgba(31,31,35,.12);
}

.pet-game-page .game-home-canvas {
  min-height: 746px;
  padding: 12px;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.68) 0%, rgba(255,255,255,.14) 24%, rgba(255,255,255,.03) 54%, rgba(255,246,238,.52) 73%, rgba(255,247,242,.96) 100%),
    var(--pet-game-room-bg);
  background-position: center top;
  background-size: cover;
}

.pet-game-page .game-home-canvas::before {
  background:
    radial-gradient(circle at 50% 46%, rgba(255,255,255,0) 0 40%, rgba(255,255,255,.14) 68%, rgba(255,255,255,.5) 100%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 46%, rgba(255,250,246,.84) 100%);
}

.pet-game-page .game-home-hud {
  min-height: 58px;
  border-radius: 23px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 12px 24px rgba(31,31,35,.06);
}

.pet-game-page .game-playfield {
  min-height: 444px;
  margin-top: 4px;
}

.pet-game-page .game-playfield::after {
  bottom: 30px;
  width: 78%;
  height: 58px;
}

.pet-game-page .game-playfield .game-character {
  left: 50%;
  bottom: 54px;
  width: 226px;
  height: 342px;
}

.pet-game-page .game-playfield .game-pet {
  right: 18px;
  bottom: 58px;
  width: 148px;
  height: 142px;
}

.pet-game-page .game-pet-name {
  right: 28px;
  bottom: 202px;
}

.pet-game-page .game-quick-links {
  top: 104px;
  left: 2px;
}

.pet-game-page .game-quick-links button {
  width: 62px;
  height: 70px;
  background: rgba(255,255,255,.56);
}

.pet-game-page .game-home-status {
  display: flex;
  width: min(330px, 86%);
  justify-content: center;
  gap: 5px;
  margin: -24px auto 0;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  box-shadow: 0 10px 22px rgba(31,31,35,.07);
  backdrop-filter: blur(14px);
}

.pet-game-page .game-home-status div {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.34);
  box-shadow: none;
  text-align: left;
}

.pet-game-page .game-home-status span {
  font-size: 10px;
}

.pet-game-page .game-home-status b {
  margin: 0;
  font-size: 15px;
}

.pet-game-page .game-main-actions {
  gap: 8px;
  margin-top: 10px;
}

.pet-game-page .game-main-actions .game-action-btn {
  min-height: 96px;
  padding: 10px 6px;
  border-color: rgba(255,255,255,.54);
  border-radius: 24px;
  box-shadow: 0 12px 24px rgba(31,31,35,.08);
}

.pet-game-page .game-main-actions .game-action-btn b {
  width: 38px;
  height: 38px;
}

.pet-game-page .game-checkin-card {
  margin-top: 9px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 25px;
  background: rgba(255,255,255,.56);
  box-shadow: 0 12px 28px rgba(31,31,35,.08);
}

.pet-game-page .game-checkin-head {
  margin-bottom: 8px;
}

.pet-game-page .game-checkin-days {
  gap: 5px;
}

.pet-game-page .game-checkin-days span {
  min-height: 58px;
  padding: 5px 2px;
  border: 0;
  background: rgba(255,250,246,.64);
}

.pet-game-page .game-checkin-days b {
  width: 24px;
  height: 24px;
}

.pet-game-page .game-bottom-nav {
  padding: 8px 10px 10px;
  background: rgba(255,250,247,.94);
}

.pet-game-page .game-tab-btn {
  height: 62px;
  border-radius: 23px;
}

@media (max-width: 520px) {
  .pet-game-page {
    padding: 0 8px;
  }

  .pet-game-page[data-current-tab="home"] .game-shell {
    min-height: min(812px, calc(100vh - 14px));
  }

  .pet-game-page .game-home-canvas {
    min-height: min(742px, calc(100vh - 82px));
    padding: 10px;
  }

  .pet-game-page .game-playfield {
    min-height: min(440px, 102vw);
  }

  .pet-game-page .game-playfield .game-character {
    bottom: 50px;
    width: min(218px, 56vw);
    height: min(330px, 84vw);
  }

  .pet-game-page .game-playfield .game-pet {
    right: 10px;
    bottom: 54px;
    width: min(140px, 37vw);
    height: min(134px, 36vw);
  }

  .pet-game-page .game-pet-name {
    right: 18px;
    bottom: 190px;
  }
}

@media (max-width: 390px) {
  .pet-game-page .game-home-hud {
    min-height: 54px;
  }

  .pet-game-page .game-playfield {
    min-height: min(402px, 100vw);
  }

  .pet-game-page .game-playfield .game-character {
    width: min(198px, 54vw);
    height: min(302px, 82vw);
  }

  .pet-game-page .game-playfield .game-pet {
    width: min(124px, 35vw);
    height: min(120px, 34vw);
  }

  .pet-game-page .game-main-actions .game-action-btn {
    min-height: 88px;
  }

  .pet-game-page .game-checkin-days span {
    min-height: 52px;
  }
}

/* Phase 6C: game UI skin, closer to the target mobile-game artwork. */
.pet-game-page {
  --pet-game-brown: #8a552d;
  --pet-game-brown-soft: #b97645;
  --pet-game-cream: #fff3df;
  --pet-game-cream-2: #ffe4c6;
  --pet-game-pink-ui: #ff8f93;
  --pet-game-gold-ui: #f7b93e;
  --pet-game-violet-ui: #bda7ff;
}

.pet-game-page[data-current-tab="home"] .game-shell {
  background: linear-gradient(180deg, #fff1df, #ffe5c9);
  box-shadow: 0 18px 44px rgba(119, 70, 34, .18);
}

.pet-game-page .game-home-hud {
  border: 2px solid rgba(190, 122, 70, .28);
  background: linear-gradient(180deg, rgba(255,250,238,.94), rgba(255,233,203,.82));
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.78),
    inset 0 -3px 0 rgba(219,151,96,.16),
    0 12px 24px rgba(133,82,43,.14);
}

.pet-game-page .game-home-avatar {
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.95);
  background:
    radial-gradient(circle at 50% 38%, #fff5ed 0 28%, transparent 29%),
    linear-gradient(180deg, #ffd8bc, #fff0df);
  color: var(--pet-game-pink-ui);
  box-shadow: 0 5px 12px rgba(130,78,45,.14);
}

.pet-game-page .game-home-profile-text strong {
  color: var(--pet-game-brown);
  font-size: 19px;
  letter-spacing: .02em;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.pet-game-page .game-home-profile-text span {
  color: rgba(138,85,45,.72);
  font-size: 12px;
}

.pet-game-page .game-home-profile-text i {
  height: 12px;
  padding: 2px;
  border: 2px solid rgba(186,117,66,.18);
  border-radius: 999px;
  background: rgba(255,231,204,.8);
}

.pet-game-page .game-home-profile-text i::before {
  background: linear-gradient(90deg, #ff8d93, #ff777f);
}

.pet-game-page .game-home-wallet {
  grid-template-columns: repeat(2, auto) 44px;
  gap: 10px;
}

.pet-game-page .game-home-wallet span,
.pet-game-page .game-home-wallet button {
  min-height: 48px;
  border: 2px solid rgba(177,103,54,.22);
  background: linear-gradient(180deg, #fff8eb, #ffe4c2);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.85),
    inset 0 -3px 0 rgba(208,132,73,.18),
    0 10px 18px rgba(131,78,42,.14);
  color: var(--pet-game-brown);
}

.pet-game-page .game-home-wallet span {
  position: relative;
  min-width: 116px;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 42px 0 50px;
  font-size: 0;
}

.pet-game-page .game-home-wallet span::before {
  position: absolute;
  left: 10px;
  top: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.7), 0 3px 8px rgba(127,75,35,.16);
  color: #fff8db;
  font-size: 20px;
  font-weight: 900;
  transform: translateY(-50%);
}

.pet-game-page .game-home-wallet .game-coin-pill::before {
  background: radial-gradient(circle at 35% 28%, #ffe899, #f6af31 58%, #d88921);
  content: "$";
}

.pet-game-page .game-home-wallet .game-heart-pill::before {
  background: linear-gradient(180deg, #ff9aa0, #f4616e);
  content: "♥";
}

.pet-game-page .game-home-wallet b {
  color: var(--pet-game-brown);
  font-size: 19px;
  line-height: 1;
}

.pet-game-page .game-home-wallet span em {
  position: absolute;
  right: 8px;
  top: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffaaa5, #ff737b);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.65);
  color: #fff;
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
  transform: translateY(-50%);
}

.pet-game-page .game-home-wallet button {
  width: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff7ea, #ffe0bd);
  color: #986139;
  font-size: 24px;
}

.pet-game-page .game-quick-links {
  gap: 18px;
}

.pet-game-page .game-quick-links button {
  width: 88px;
  height: 112px;
  border: 2px solid rgba(176,102,53,.24);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,248,232,.92), rgba(255,223,187,.82));
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.8),
    inset 0 -4px 0 rgba(202,127,70,.14),
    0 14px 24px rgba(123,72,38,.16);
  color: var(--pet-game-brown);
}

.pet-game-page .game-quick-links b {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid rgba(165,96,51,.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.36), transparent 48%),
    linear-gradient(180deg, #ffe1c6, #f1b37b);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.65);
  color: #9d6037;
  font-size: 24px;
}

.pet-game-page .game-quick-links span {
  color: var(--pet-game-brown);
  font-size: 20px;
  font-weight: 900;
}

.pet-game-page .game-quick-links i {
  top: 8px;
  right: 9px;
  width: 18px;
  height: 18px;
  border: 3px solid #fff5e8;
  background: #ff8589;
}

.pet-game-page .game-pet-name {
  border: 2px solid rgba(176,102,53,.2);
  background: linear-gradient(180deg, rgba(255,249,237,.92), rgba(255,231,203,.84));
  color: var(--pet-game-brown);
  box-shadow: 0 9px 16px rgba(119,72,39,.14);
  font-size: 16px;
}

.pet-game-page .game-main-actions .game-action-btn {
  min-height: 122px;
  border: 3px solid rgba(255,255,255,.78);
  border-radius: 31px 31px 24px 24px;
  color: var(--pet-game-brown);
  text-shadow: 0 1px 0 rgba(255,255,255,.72);
  box-shadow:
    inset 0 3px 0 rgba(255,255,255,.82),
    inset 0 -5px 0 rgba(132,77,42,.1),
    0 14px 24px rgba(124,75,42,.15);
}

.pet-game-page .game-main-actions .game-action-feed {
  background:
    radial-gradient(circle at 50% 26%, rgba(255,255,255,.6) 0 22%, transparent 23%),
    linear-gradient(180deg, #fff0bf, #ffd77c 52%, #ffc773);
}

.pet-game-page .game-main-actions .game-action-play {
  background:
    radial-gradient(circle at 50% 26%, rgba(255,255,255,.58) 0 22%, transparent 23%),
    linear-gradient(180deg, #ffd7dc, #ff9fad 56%, #ff8b9c);
}

.pet-game-page .game-main-actions .game-action-rest {
  background:
    radial-gradient(circle at 50% 26%, rgba(255,255,255,.58) 0 22%, transparent 23%),
    linear-gradient(180deg, #e7dfff, #c9b9ff 55%, #b8a7f2);
}

.pet-game-page .game-main-actions .game-action-btn b {
  width: 58px;
  height: 58px;
  margin-bottom: 8px;
  border: 3px solid rgba(255,255,255,.8);
  border-radius: 21px;
  background: rgba(255,255,255,.54);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.8), 0 5px 10px rgba(121,72,40,.1);
  font-size: 30px;
}

.pet-game-page .game-main-actions .game-action-btn span {
  font-size: 24px;
  font-weight: 1000;
}

.pet-game-page .game-main-actions .game-action-btn small {
  color: rgba(119,72,39,.68);
  font-size: 10px;
}

.pet-game-page .game-checkin-card {
  border: 3px solid rgba(222,153,93,.34);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,248,233,.94), rgba(255,231,203,.9));
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.84),
    inset 0 -4px 0 rgba(208,132,73,.12),
    0 12px 24px rgba(125,76,42,.14);
}

.pet-game-page .game-checkin-head strong {
  color: var(--pet-game-brown);
  font-size: 18px;
}

.pet-game-page .game-checkin-head strong::before {
  margin-right: 6px;
  color: #ff8086;
  content: "♥";
}

.pet-game-page .game-checkin-head button {
  min-height: 34px;
  border: 2px solid rgba(255,255,255,.72);
  background: linear-gradient(180deg, #ff9ea1, #ff7078);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.55);
}

.pet-game-page .game-checkin-days span {
  min-height: 78px;
  border: 2px solid rgba(202,126,67,.14);
  border-radius: 19px;
  background: linear-gradient(180deg, rgba(255,250,240,.92), rgba(255,232,202,.78));
  color: var(--pet-game-brown);
}

.pet-game-page .game-checkin-days .is-current {
  border-color: rgba(255,132,137,.72);
  background: linear-gradient(180deg, #fff1df, #ffdcb3);
  transform: translateY(-4px);
}

.pet-game-page .game-checkin-days i {
  font-size: 13px;
  font-weight: 900;
}

.pet-game-page .game-checkin-days b {
  width: 34px;
  height: 34px;
  margin: 5px 0 2px;
  background: linear-gradient(180deg, #ffd86b, #f4aa32);
  color: #fff8dd;
  font-size: 17px;
  text-shadow: 0 1px 0 rgba(128,74,28,.28);
}

.pet-game-page .game-checkin-days em {
  color: rgba(119,72,39,.78);
  font-size: 12px;
  font-weight: 900;
}

.pet-game-page .game-checkin-days .is-done {
  position: relative;
}

.pet-game-page .game-checkin-days .is-done::after {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 3px solid #fff6e5;
  border-radius: 999px;
  background: linear-gradient(180deg, #9bd77d, #62bd63);
  box-shadow: 0 3px 8px rgba(71,130,69,.22);
  color: #fff;
  content: "✓";
  font-size: 17px;
  font-weight: 1000;
}

.pet-game-page .game-bottom-nav {
  padding: 12px;
  border-top: 2px solid rgba(206,133,76,.18);
  background: linear-gradient(180deg, #fff6e8, #ffe4c6);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.74), 0 -12px 24px rgba(127,76,40,.1);
}

.pet-game-page .game-tab-btn {
  height: 78px;
  border-right: 1px solid rgba(151,87,45,.12);
  border-radius: 26px;
  color: rgba(138,85,45,.72);
  font-size: 16px;
  font-weight: 1000;
}

.pet-game-page .game-tab-btn:last-child {
  border-right: 0;
}

.pet-game-page .game-tab-btn::before {
  margin-bottom: 7px;
  font-size: 32px;
  filter: drop-shadow(0 3px 3px rgba(115,68,35,.12));
}

.pet-game-page .game-tab-btn[data-tab="home"]::before { content: "⌂"; }
.pet-game-page .game-tab-btn[data-tab="dress"]::before { content: "♛"; }
.pet-game-page .game-tab-btn[data-tab="pet"]::before { content: "♧"; }
.pet-game-page .game-tab-btn[data-tab="room"]::before { content: "▤"; }

.pet-game-page .game-tab-btn.active {
  background: linear-gradient(180deg, #fffefd, #ffe8d6);
  color: var(--pet-game-brown);
  box-shadow:
    inset 0 0 0 3px rgba(255,159,168,.36),
    inset 0 2px 0 rgba(255,255,255,.84),
    0 10px 20px rgba(151,87,45,.13);
}

.pet-game-page .game-tab-btn.active::after {
  display: none;
}

@media (max-width: 520px) {
  .pet-game-page .game-home-wallet {
    gap: 6px;
  }

  .pet-game-page .game-home-wallet span {
    min-width: 86px;
    padding-left: 38px;
    padding-right: 30px;
  }

  .pet-game-page .game-home-wallet span::before {
    left: 7px;
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .pet-game-page .game-home-wallet span em {
    right: 5px;
    width: 24px;
    height: 24px;
    font-size: 18px;
  }

  .pet-game-page .game-home-wallet b {
    font-size: 15px;
  }

  .pet-game-page .game-quick-links button {
    width: 76px;
    height: 100px;
  }

  .pet-game-page .game-main-actions .game-action-btn {
    min-height: 106px;
  }

  .pet-game-page .game-main-actions .game-action-btn b {
    width: 48px;
    height: 48px;
    font-size: 25px;
  }

  .pet-game-page .game-main-actions .game-action-btn span {
    font-size: 20px;
  }

  .pet-game-page .game-checkin-days span {
    min-height: 68px;
  }

  .pet-game-page .game-bottom-nav {
    padding: 10px;
  }

  .pet-game-page .game-tab-btn {
    height: 70px;
    font-size: 14px;
  }
}

@media (max-width: 390px) {
  .pet-game-page .game-home-wallet span {
    min-width: 74px;
    padding-left: 34px;
    padding-right: 8px;
  }

  .pet-game-page .game-home-wallet span em {
    display: none;
  }

  .pet-game-page .game-home-wallet button {
    width: 40px;
    min-height: 40px;
  }

  .pet-game-page .game-quick-links button {
    width: 68px;
    height: 88px;
  }

  .pet-game-page .game-quick-links b {
    width: 46px;
    height: 46px;
  }

  .pet-game-page .game-quick-links span {
    font-size: 17px;
  }

  .pet-game-page .game-main-actions .game-action-btn {
    min-height: 96px;
    border-radius: 24px;
  }

  .pet-game-page .game-main-actions .game-action-btn small {
    display: none;
  }

  .pet-game-page .game-checkin-days span {
    min-height: 60px;
  }

  .pet-game-page .game-checkin-days i,
  .pet-game-page .game-checkin-days em {
    font-size: 10px;
  }

  .pet-game-page .game-checkin-days b {
    width: 28px;
    height: 28px;
  }
}

/* Phase 6C-1: detail polish against the target home screen, no gameplay changes. */
.pet-game-page {
  margin-top: 0;
  margin-bottom: 78px;
  padding: 2px 6px;
}

.pet-game-page[data-current-tab="home"] .game-shell {
  min-height: 828px;
  border-radius: 28px;
}

.pet-game-page .game-home-canvas {
  min-height: 758px;
  padding: 12px 12px 10px;
  background-position: center 4%;
}

.pet-game-page .game-home-hud {
  min-height: 70px;
  padding: 9px 10px;
  border-radius: 26px;
}

.pet-game-page .game-home-profile {
  gap: 11px;
}

.pet-game-page .game-home-avatar {
  width: 56px;
  height: 56px;
  border-radius: 21px;
  font-size: 24px;
}

.pet-game-page .game-home-profile-text strong {
  font-size: 22px;
  line-height: 1.05;
}

.pet-game-page .game-home-profile-text span {
  margin-top: 5px;
  font-size: 13px;
}

.pet-game-page .game-home-profile-text i {
  width: 138px;
  height: 15px;
  margin-top: 5px;
}

.pet-game-page .game-home-wallet span,
.pet-game-page .game-home-wallet button {
  min-height: 52px;
}

.pet-game-page .game-home-wallet span {
  min-width: 126px;
  border-radius: 999px;
}

.pet-game-page .game-home-wallet span::before {
  width: 38px;
  height: 38px;
}

.pet-game-page .game-home-wallet span em {
  width: 32px;
  height: 32px;
}

.pet-game-page .game-home-wallet button {
  width: 52px;
}

.pet-game-page .game-playfield {
  min-height: 452px;
}

.pet-game-page .game-playfield::after {
  bottom: 22px;
  width: 74%;
  height: 64px;
  background: radial-gradient(ellipse at center, rgba(88,55,36,.28) 0%, rgba(88,55,36,.13) 48%, rgba(88,55,36,0) 75%);
}

.pet-game-page .game-playfield .game-character {
  left: 55%;
  bottom: 38px;
  width: 236px;
  height: 356px;
}

.pet-game-page .game-playfield .game-pet {
  left: 44px;
  right: auto;
  bottom: 44px;
  width: 154px;
  height: 148px;
}

.pet-game-page .game-pet-name {
  left: 52px;
  right: auto;
  bottom: 198px;
  max-width: 112px;
}

.pet-game-page .game-quick-links {
  top: 108px;
  left: 8px;
}

.pet-game-page .game-quick-links button {
  width: 92px;
  height: 118px;
  border-radius: 28px;
}

.pet-game-page .game-quick-links b {
  width: 60px;
  height: 60px;
  border-radius: 20px;
}

.pet-game-page .game-home-status {
  width: min(300px, 78%);
  margin-top: -32px;
  transform: translateX(28px);
}

.pet-game-page .game-main-actions {
  gap: 12px;
  margin-top: 12px;
}

.pet-game-page .game-main-actions .game-action-btn {
  min-height: 134px;
  border-radius: 36px 36px 27px 27px;
}

.pet-game-page .game-main-actions .game-action-btn b {
  width: 68px;
  height: 62px;
  border-radius: 24px;
  font-size: 34px;
}

.pet-game-page .game-main-actions .game-action-btn span {
  font-size: 27px;
}

.pet-game-page .game-main-actions .game-action-btn small {
  margin-top: 6px;
}

.pet-game-page .game-checkin-card {
  margin-top: 11px;
  padding: 13px 14px 15px;
  border-radius: 32px;
}

.pet-game-page .game-checkin-head {
  margin-bottom: 10px;
}

.pet-game-page .game-checkin-days {
  gap: 7px;
}

.pet-game-page .game-checkin-days span {
  min-height: 86px;
  border-radius: 21px;
}

.pet-game-page .game-checkin-days .is-current {
  transform: translateY(-6px);
}

.pet-game-page .game-checkin-days b {
  width: 38px;
  height: 38px;
  font-size: 18px;
}

.pet-game-page .game-bottom-nav {
  padding: 12px 14px 14px;
  border-radius: 0 0 28px 28px;
}

.pet-game-page .game-tab-btn {
  height: 84px;
  border-radius: 29px;
  font-size: 17px;
}

.pet-game-page .game-tab-btn::before {
  font-size: 36px;
}

@media (max-width: 520px) {
  .pet-game-page {
    padding: 0 5px;
  }

  .pet-game-page[data-current-tab="home"] .game-shell {
    min-height: min(828px, calc(100vh - 10px));
  }

  .pet-game-page .game-home-canvas {
    min-height: min(760px, calc(100vh - 86px));
    padding: 9px;
  }

  .pet-game-page .game-home-hud {
    min-height: 62px;
    padding: 7px;
  }

  .pet-game-page .game-home-avatar {
    width: 48px;
    height: 48px;
  }

  .pet-game-page .game-home-profile-text strong {
    font-size: 18px;
  }

  .pet-game-page .game-home-profile-text span {
    font-size: 11px;
  }

  .pet-game-page .game-home-profile-text i {
    width: 108px;
    height: 12px;
  }

  .pet-game-page .game-home-wallet span,
  .pet-game-page .game-home-wallet button {
    min-height: 44px;
  }

  .pet-game-page .game-home-wallet span {
    min-width: 88px;
  }

  .pet-game-page .game-home-wallet button {
    width: 44px;
  }

  .pet-game-page .game-playfield {
    min-height: min(456px, 103vw);
  }

  .pet-game-page .game-playfield .game-character {
    left: 56%;
    bottom: 34px;
    width: min(230px, 58vw);
    height: min(346px, 86vw);
  }

  .pet-game-page .game-playfield .game-pet {
    left: 22px;
    bottom: 40px;
    width: min(148px, 38vw);
    height: min(142px, 37vw);
  }

  .pet-game-page .game-pet-name {
    left: 28px;
    bottom: 184px;
  }

  .pet-game-page .game-quick-links {
    left: 6px;
    top: 94px;
    gap: 13px;
  }

  .pet-game-page .game-quick-links button {
    width: 78px;
    height: 102px;
  }

  .pet-game-page .game-home-status {
    margin-top: -26px;
    transform: translateX(20px);
  }

  .pet-game-page .game-main-actions {
    gap: 8px;
  }

  .pet-game-page .game-main-actions .game-action-btn {
    min-height: 112px;
  }

  .pet-game-page .game-checkin-days {
    gap: 5px;
  }

  .pet-game-page .game-checkin-days span {
    min-height: 72px;
  }

  .pet-game-page .game-tab-btn {
    height: 74px;
  }
}

@media (max-width: 390px) {
  .pet-game-page .game-playfield {
    min-height: min(418px, 101vw);
  }

  .pet-game-page .game-playfield .game-character {
    width: min(210px, 57vw);
    height: min(318px, 84vw);
  }

  .pet-game-page .game-playfield .game-pet {
    left: 16px;
    width: min(130px, 37vw);
    height: min(126px, 36vw);
  }

  .pet-game-page .game-quick-links button {
    width: 70px;
    height: 92px;
  }

  .pet-game-page .game-main-actions .game-action-btn {
    min-height: 98px;
  }

  .pet-game-page .game-main-actions .game-action-btn b {
    width: 48px;
    height: 46px;
    font-size: 25px;
  }

  .pet-game-page .game-main-actions .game-action-btn span {
    font-size: 21px;
  }

  .pet-game-page .game-checkin-days span {
    min-height: 62px;
  }

  .pet-game-page .game-tab-btn {
    height: 68px;
  }
}
