/* Release polish: use existing painted jade components, with live readable text. */
html.egg-art-063 {
  --egg-text: #fff0cf;
  --egg-secondary: #c6d8c8;
  --egg-edge: #bda46b;
}
html.egg-art-063 .egg063-screen,
html.egg-art-063 .egg063-screen * { box-sizing: border-box; }
html.egg-art-063 .egg063-screen h2 {
  max-width: 100%;
  font-size: clamp(23px, 5.7cqw, 34px);
  line-height: 1.25;
  letter-spacing: .08em;
  text-align: center;
}
html.egg-art-063 .egg063-screen :is(.e063-feedback,.e063-empty) {
  color: var(--egg-secondary) !important;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
html.egg-art-063 .egg063-screen .e063-feedback:not(:empty) {
  padding: 6px 10px;
  background: #0b2925f2;
  border: 1px solid #bda46b66;
  border-radius: 5px;
}
html.egg-art-063 .egg063-screen .e063-feedback:empty { display: none; }
html.egg-art-063 .egg063-screen .e063-content>.e063-empty {
  position: absolute;
  inset: 24% 10% auto;
  padding: 24px 12px;
  border-block: 1px solid #bda46b66;
}
html.egg-art-063 #settingsDialog {
  color: var(--egg-text);
  padding: 40px 30px 28px;
  max-height: 90dvh;
  overflow-y: auto;
}
html.egg-art-063 #settingsDialog label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: var(--egg-text);
}
html.egg-art-063 #settingsDialog input[type=range] { width: 100%; accent-color: #d5be83; }
html.egg-art-063 #settingsDialog select { max-width: 100%; min-height: 40px; color: #fff0cf; background: #173c33; }
html.egg-art-063 #gameNotice p { color: var(--egg-text); line-height: 1.7; overflow-wrap: anywhere; }
html.egg-art-063 .egg063-screen :is(.e063-growth>button,.e068-ware button,.e063-egg-grid button,.e063-gear-grid button,.e063-pager button) {
  background: transparent url('egg/skin-078/primary-082.webp') center/100% 100% no-repeat !important;
  color: var(--egg-text) !important;
  text-shadow: 0 1px 2px #082c25 !important;
  min-height: 40px !important;
  padding: 8px 14px !important;
  line-height: 1.3 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
html.egg-art-063 .egg063-screen button:disabled { cursor: not-allowed; }
html.egg-art-063 .egg063-screen :is(.e068-ware button,.e063-growth>button):disabled {
  opacity: .65;
  filter: saturate(.3);
}
/* Give merchandise its own height; long labels must not collide with purchase. */
html.egg-art-063 .e068-market .e068-ware { height: auto; min-height: 23cqh; gap: 6px; }
html.egg-art-063 .e068-market .e068-wares { row-gap: 22px; }
html.egg-art-063 .e068-market .e068-ware h3 {
  white-space: normal;
  overflow-wrap: anywhere;
  min-height: 2.6em;
  display: grid;
  align-content: center;
}
html.egg-art-063 .e068-market .e068-ware button { height: auto; width: 100%; }
html.egg-art-063 .e068-market .e068-wallet { min-width: 0; }
html.egg-art-063 .e068-market .e068-wallet b {
  font-size: clamp(12px, 3.4cqw, 19px);
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: right;
}
/* Consistent pale-gold type on the dark moon-jade screen. */
html.egg-art-063 .e069-ranks .e063-rank-list {
  background: linear-gradient(#102f2bf0,#0c2824ec) !important;
  color: var(--egg-text);
  border: 1px solid #bda46b66;
  border-radius: 7px;
  padding-inline: 10px;
}
html.egg-art-063 .e069-ranks .e063-rank-row {
  min-height: 54px !important;
  border-bottom-color: #bda46b33;
  gap: 8px;
}
html.egg-art-063 .e069-ranks .e063-rank-row :is(b,strong,em) { color: var(--egg-text) !important; }
html.egg-art-063 .e069-ranks .e063-rank-row small { color: var(--egg-secondary) !important; }
html.egg-art-063 .e069-ranks .e065-podium-caption>b {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  padding: 4px 10px;
}
/* Equipment has an intentional empty socket, not an unanchored label. */
html.egg-art-063 .e063-profile .e063-slot {
  background: transparent url('egg/skin-078/slot-082.webp') center/100% 100% no-repeat !important;
  padding: 8px !important;
  color: var(--egg-text) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
html.egg-art-063 .e063-profile .e063-slot span { line-height: 1.4; text-align: center; }
html.egg-art-063 .e063-profile .e063-growth { height: auto; min-height: 6.3cqh; }
html.egg-art-063 .e063-profile .e063-growth>small { white-space: normal; overflow-wrap: anywhere; }
html.egg-art-063 .e063-profile .e063-profile-tabs { overflow-x: auto; overflow-y: hidden; }
html.egg-art-063 .e063-profile .e063-profile-tabs button { flex-shrink: 0; white-space: nowrap; }
html.egg-art-063 .e063-profile .e063-profile-inventory { padding: 10px 8px; }
html.egg-art-063 .e063-profile .e063-gear-grid b { overflow-wrap: anywhere; min-height: 2.8em; }
html.egg-art-063 .e063-profile .e063-gear-grid article { min-width: 0; }
html.egg-art-063 .e064-gift-cards { gap: 12px; overflow-y: auto; padding: 3px; }
html.egg-art-063 .e064-gift-cards article { flex-shrink: 0; min-height: 0; }
html.egg-art-063 .e064-gift-cards :is(p,span) { line-height: 1.6; overflow-wrap: anywhere; }
html.egg-art-063 .e063-confirm .e063-content { overflow-y: auto; justify-content: flex-start; gap: 12px; padding: 8px 4px; }
html.egg-art-063 .e063-confirm .e063-content>img { flex-shrink: 0; }
html.egg-art-063 .e063-confirm .e063-content>div { margin-top: auto; flex-shrink: 0; }
html.egg-art-063 .e063-confirm :is([data-confirm],[data-cancel]) { min-height: 44px; padding: 9px 12px; }
html.egg-art-063 .egg063-screen :is(.e063-profile-inventory,.e068-shop-products,.e068-rank-scroll,.e064-help-copy,.e064-gift-cards) {
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: #bda46b #102f29;
}
html.egg-art-063 .egg063-screen button:focus-visible { outline: 2px solid #ffe2a1; outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) {
  html.egg-art-063 .egg063-screen * { transition: none !important; scroll-behavior: auto !important; }
}
