
/* Shared artwork for the cultivation UI, with live text and controls above it. */
html.egg-art-063 {
  --egg-078-panel: url('egg/skin-078/moon-panel-079.webp');
  --egg-078-ivory: #f7e9c9;
  --egg-078-muted: #bdcfbf;
}
html.egg-art-063 .app-shell {
  background: #183941 url('egg/skin-078/valley.webp') center / 100% 100% !important;
}
html.egg-art-063 :is(.egg063-screen, .egg-simple-dialog, #settingsDialog, #gameNotice, #eggCodex, #guessDialog, #monkeyContestResult) {
  background: #102f29 var(--egg-078-panel) center / 100% 100% no-repeat !important;
  color: var(--egg-078-ivory);
  --e063-ivory: var(--egg-078-ivory);
  --ui065-copy: var(--egg-078-ivory);
  --ui065-muted: var(--egg-078-muted);
}
html.egg-art-063 .egg063-screen :is(h2,h3,.e063-feedback,.e063-rank-period) {
  color: var(--egg-078-ivory) !important;
  text-shadow: 0 1px 2px #071e19;
}
html.egg-art-063 .egg063-screen :is(.e063-primary, [data-cancel]) {
  background: transparent url('egg/skin-078/primary-082.webp') center / 100% 100% no-repeat !important;
  color: #fff1cc !important;
  text-shadow: 0 1px #102a23 !important;
}
html.egg-art-063 .egg063-screen :is(.e063-tabs,.e063-rank-tabs,.e063-quantity-presets) button {
  background: transparent url('egg/skin-078/secondary-082.webp') center / 100% 100% no-repeat !important;
  color: #10271f !important;
}
html.egg-art-063 .egg063-screen :is(.e063-tabs,.e063-rank-tabs,.e063-quantity-presets) button[aria-pressed=true] {
  background-image: url('egg/skin-078/selected-082.webp') !important;
}
html.egg-art-063 .egg063-screen .e063-close {
  background: transparent url('egg/skin-078/close-082.webp') center / contain no-repeat !important;
}
html.egg-art-063 .egg063-screen .e063-close img { opacity: 0; }
html.egg-art-063 .egg063-screen .e063-role-card {
  background: transparent url('egg/skin-078/slot-082.webp') center / 100% 100% no-repeat !important;
}
html.egg-art-063 .egg063-screen .e063-growth progress {
  appearance: none;
  background: transparent url('egg/skin-078/track-082.webp') center / 100% 100% no-repeat;
}
html.egg-art-063 .egg063-screen .e063-growth progress::-webkit-progress-bar { background: transparent; }
html.egg-art-063 .egg063-screen .e063-growth progress::-webkit-progress-value { background: #79bf9b; border-radius: 8px; }
html.egg-art-063 .e063-rank-list {
  background: #f2ead5 !important;
  color: #173f32;
}
html.egg-art-063 .e063-rank-list .e063-rank-row :is(b,strong,small,em) { color: #244536 !important; }
html.egg-art-063 :is(.e063-shop,.e063-confirm) :is(.e063-shop-owner, .e063-shop-products,.e063-confirm-copy) {
  color: var(--egg-078-ivory);
}
html.egg-art-063 :is(.e063-shop,.e063-confirm) :is(.e063-white-product,.e063-shop-owner) :is(b,small,span,label) {
  color: var(--egg-078-ivory) !important;
}
html.egg-art-063 .egg063-screen :is(button,select):focus-visible {
  outline: 2px solid #f7df9c;
  outline-offset: 3px;
}

/* These labels inherited dark ink from the former parchment screens. */
html.egg-art-063 :is(.e067-confirm, .e063-raid) .e063-content > p,
html.egg-art-063 :is(.e067-market, .e067-ranks) :is(.e063-pager, .e063-empty),
html.egg-art-063 .e069-ranks .e065-podium-caption > small {
  color: var(--egg-078-ivory) !important;
  text-shadow: 0 1px 2px #071e19;
}
html.egg-art-063 .egg063-screen .e063-close {
  min-width: 36px;
  min-height: 36px;
}

/* The jade altar sits under the live actor, above the growth controls. */
html.egg-art-063 .egg063-screen.e063-profile {
  background-image: url('egg/skin-078/profile-079.webp') !important;
  background-position: center top !important;
  background-size: 100% 124% !important;
  box-shadow: none;
}
html.egg-art-063 .e063-profile .e063-hero {
  left: 15%;
  width: 70%;
}
html.egg-art-063 .e063-profile .e063-identity {
  left: 22%;
  right: 22%;
  z-index: 2;
}
html.egg-art-063 .e063-profile .e063-identity h3 {
  text-shadow: 0 1px 3px #062c29, 0 0 6px #062c29;
}
html.egg-art-063 .e063-profile .e063-profile-inventory {
  background: linear-gradient(#122f2ad9, #102e27a6);
  border: 1px solid #c7a97755;
  border-radius: 8px;
}
html.egg-art-063 .e063-profile .e063-profile-inventory > .e063-primary {
  min-height: 42px !important;
  padding-block: 8px !important;
}
html.egg-art-063 .egg063-screen button.e063-close {
  width: clamp(40px, 5.5cqh, 50px) !important;
  height: clamp(40px, 5.5cqh, 50px) !important;
  background-size: 86% 86% !important;
}

/* Keep the encounter controls outside the boss silhouette. */
html.egg-art-063.egg-campaign-070 .scene-top {
  background: #0c282bd9 !important;
  border: 1px solid #b9a06c;
  border-radius: 8px;
  min-height: 68px !important;
  height: 68px !important;
  padding: 8px 18px !important;
}
html.egg-art-063.egg-campaign-070 .boss-hud {
  top: 19% !important;
  padding: 5px 10px;
  background: #0c282bdf;
  border-radius: 6px;
  color: #fff0cc;
}
html.egg-art-063.egg-campaign-070 #liveDamage {
  top: 25% !important;
  right: 5% !important;
  max-width: 34%;
  padding: 3px 8px;
  background: #0c282bdd;
  color: #fff0cc;
}
html.egg-art-063.egg-campaign-070 #liveDamage > div:nth-of-type(n+2) { display: none; }
html.egg-art-063.egg-campaign-070 .s062-run-dock[data-run-status=fighting] {
  background: #0c282be8 !important;
  border: 1px solid #aa925d !important;
  border-radius: 8px;
  min-height: 56px !important;
  height: auto !important;
  padding: 6px 12px !important;
}
html.egg-art-063 .egg063-screen.e064-gifts {
  background-image: url('egg/skin-078/gift-panel-080.webp') !important;
}
html.egg-art-063 .e064-gift-cards article {
  background: #102e2cd9;
  border: 1px solid #c5aa7566;
  border-radius: 8px;
  padding: 10px;
  gap: 12px;
}
html.egg-art-063 .e064-gift-cards article img {
  object-fit: contain;
  filter: none;
}
html.egg-art-063 [data-white-reserve] {
  color: #fff1bd;
  justify-self: center;
  grid-column: 1;
}

html.egg-art-063 .egg063-screen.e063-profile {
  background-image: url('egg/skin-078/profile-079.webp') !important;
}
html.egg-art-063 .e063-profile .e063-profile-owner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 5px 10px;
  background: #102e2be8;
  border: 1px solid #b594605c;
  border-radius: 8px;
}
html.egg-art-063 .e063-profile-owner label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
html.egg-art-063 .e063-profile-owner select {
  min-width: 0;
  max-width: 30cqw;
  min-height: 34px;
  padding: 3px 8px;
  color: #fff1ce;
  background: #1c4940;
  border: 1px solid #c6aa72;
  border-radius: 5px;
}
html.egg-art-063 .e063-profile-owner > span { white-space: nowrap; }
html.egg-art-063 .e063-profile .e063-profile-inventory > button.e063-primary {
  width: min(72%, 248px);
  min-height: 46px !important;
  margin: 12px auto;
  line-height: 1.3 !important;
  background-size: 100% 100% !important;
}
html.egg-art-063 .e063-profile .e063-growth > [data-growth-label] {
  color: #fff0c8;
  background: #113731e8;
  border: 1px solid #ac925e88;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

/* Keep the close control inside the screen even when a shop uses a narrow title. */
html.egg-art-063 .egg063-screen .e063-heading {
  left: 6%;
  right: 6%;
  width: auto;
  min-height: 44px;
  padding-inline: 48px;
  box-sizing: border-box;
}
html.egg-art-063 .egg063-screen .e063-heading button.e063-close {
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%);
  background-size: contain !important;
}
html.egg-art-063 .egg063-screen.e063-raid .e063-content {
  inset: 14% 8% 8%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto 48px;
  gap: 12px;
  align-items: center;
}
html.egg-art-063 .e063-raid .e063-raid-boss {
  position: static;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  mask-image: linear-gradient(transparent, #000 9%, #000 85%, transparent);
}
html.egg-art-063 .e063-raid .e063-raid-caption {
  position: static;
  background: none;
  padding: 0;
}
html.egg-art-063 .e063-raid .e063-raid-caption h3 {
  font-size: clamp(20px, 3.7cqh, 34px);
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}
html.egg-art-063 .e063-raid button.e063-primary {
  position: static;
  justify-self: center;
  width: min(72%, 248px);
  height: 48px;
  min-height: 44px;
}
html.egg-art-063 .e063-raid button.e063-primary:disabled {
  opacity: .65;
}
html.egg-art-063 .egg063-screen .e063-primary {
  white-space: normal;
  overflow-wrap: anywhere;
}
