/* Settings and small dialogs own their layout: no legacy painted coordinates. */
html.egg-art-063 body #settingsDialog,
html.egg-art-063 body #gameNotice {
  position: fixed !important;
  inset: 0 !important;
  margin: auto !important;
  transform: none !important;
  width: min(92vw, 420px) !important;
  height: fit-content !important;
  min-height: 0 !important;
  max-width: 92vw !important;
  max-height: 90dvh !important;
  padding: 30px 28px 26px !important;
  box-sizing: border-box !important;
  overflow: auto !important;
  border: 18px solid transparent !important;
  border-image: url('egg/skin-084/jade-dialog.webp') 90 fill stretch !important;
  border-radius: 12px !important;
  background: #10332f !important;
  color: #fff0cf !important;
  box-shadow: 0 16px 60px #001814aa !important;
}
html.egg-art-063 body #settingsDialog::backdrop,
html.egg-art-063 body #gameNotice::backdrop { background: #031d1bc4; backdrop-filter: blur(3px); }
html.egg-art-063 body #settingsDialog>h2,
html.egg-art-063 body #gameNotice>h2 {
  position: static !important;
  height: auto !important;
  width: auto !important;
  margin: 0 36px 24px !important;
  padding: 0 !important;
  background: none !important;
  color: #fff0cf !important;
  font: 28px/1.3 var(--egg-display) !important;
  letter-spacing: .1em !important;
  text-align: center;
  text-shadow: 0 2px 3px #08241f !important;
}
html.egg-art-063 body #settingsDialog>.close-dialog {
  position: absolute !important;
  inset: 16px 14px auto auto !important;
  transform: none !important;
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  background: url('egg/skin-078/close-082.webp') center/36px 36px no-repeat !important;
  color: transparent !important;
  font-size: 0 !important;
  text-shadow: none !important;
}
html.egg-art-063 body #settingsDialog>label {
  position: static !important;
  inset: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  grid-template-rows: auto auto !important;
  align-items: center;
  gap: 14px 12px !important;
  height: auto !important;
  width: auto !important;
  margin: 0 0 18px !important;
  padding: 16px 14px !important;
  border: 1px solid #a7915c55 !important;
  border-radius: 6px;
  background: #082a25c4;
  color: #f9eac9 !important;
  font: 16px/1.5 var(--egg-copy) !important;
}
html.egg-art-063 body #settingsDialog>label[hidden] { display: none !important; }
html.egg-art-063 body #settingsDialog output {
  color: #f0d48c !important;
  font: 16px/1.5 var(--egg-copy) !important;
  font-variant-numeric: tabular-nums;
}
html.egg-art-063 body #settingsDialog input[type=range] {
  grid-column: 1/-1;
  appearance: none;
  width: 100% !important;
  height: 10px !important;
  margin: 8px 0 !important;
  background: linear-gradient(90deg,#4c9b84,#254a40) !important;
  border: 1px solid #bda46b !important;
  border-radius: 8px;
  cursor: pointer;
}
html.egg-art-063 body #settingsDialog input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #ecd28e;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,#c5efd8,#488572 55%,#204a3e) !important;
  box-shadow: 0 2px 5px #001d19;
}
html.egg-art-063 body #settingsDialog input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border: 2px solid #ecd28e; border-radius: 50%; background: #488572;
}
html.egg-art-063 body #settingsDialog .language-picker { grid-column: 1/-1; min-width: 0; width: 100%; }
html.egg-art-063 body #settingsDialog .language-current {
  width: 100%; min-height: 44px; padding: 10px 14px; color: #fff0cf; background: #153c32;
}
html.egg-art-063 body #settingsDialog .language-menu {
  position: static; margin-top: 8px; max-height: 160px; overflow: auto; box-shadow: none;
}
html.egg-art-063 body #settingsDialog #gameHelpBtn,
html.egg-art-063 body #gameNotice>button {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: block !important;
  width: min(100%,260px) !important;
  min-height: 48px !important;
  height: auto !important;
  margin: 20px auto 0 !important;
  padding: 10px 20px !important;
  border: 0 !important;
  background: url('egg/skin-078/primary-082.webp') center/100% 100% no-repeat !important;
  color: #fff0cf !important;
  font: 21px/1.3 var(--egg-display) !important;
}
html.egg-art-063 body #gameNotice>p {
  margin: 0 !important;
  color: #e8e8cc !important;
  font: 16px/1.8 var(--egg-copy) !important;
  text-shadow: none !important;
  overflow-wrap: anywhere;
}
html.egg-art-063 body #settingsDialog :is(button,input):focus-visible {
  outline: 2px solid #ffe3a2 !important; outline-offset: 3px;
}
/* Correct high-specificity leftovers from the former light parchment theme. */
html.egg-art-063 body .egg063-screen :is(.e063-primary,.e063-growth>button) {
  background-image: url('egg/skin-078/primary-082.webp') !important;
  color: #fff0cf !important;
}
html.egg-art-063 body .egg063-screen.e063-confirm [data-cancel] {
  background-image: url('egg/skin-078/secondary-082.webp') !important;
  color: #193b30 !important;
  text-shadow: none !important;
}
html.egg-art-063 body .e069-ranks .e065-podium-caption>small {
  color: #ffe0a0 !important;
  text-shadow: 0 1px 2px #092d26 !important;
}
html.egg-art-063 body .egg063-screen .e064-help-copy { inset: 13% 10% 9%; padding: 16px; }
html.egg-art-063 body .egg063-screen .e064-gift-cards { inset: 13% 10% 9%; }
html.egg-art-063 body .egg063-screen .e063-heading .e063-close:active { transform: translateY(-50%) scale(.96) !important; }
@media(max-width:360px) {
  html.egg-art-063 body #settingsDialog,
  html.egg-art-063 body #gameNotice { padding: 26px 18px 22px !important; }
  html.egg-art-063 body #settingsDialog>h2 { font-size: 25px !important; }
}

/* Keep the valley clear; only the moving activity ribbon gets a backing. */
html.egg-art-063 #monkeyGuess[data-egg-inline]::before {
 content: none !important; display: none !important;
}
html.egg-art-063 .e073-beacon {
 background: none !important; border: 0 !important; box-shadow: none !important;
 text-shadow: 0 1px 3px #052b25, 0 0 5px #052b25;
}

/* 092: restore the illustrated jade-and-gold backing on the carousel itself. */
html.egg-art-063 #monkeyGuess[data-egg-inline] .guess-dock {
 background: transparent url('egg/mirror-hud-077.png') center / 100% 230% no-repeat !important;
 border: 0 !important;
 box-shadow: none !important;
 text-shadow: 0 1px 2px #052b25 !important;
}
html.egg-art-063 #monkeyGuess[data-egg-inline] .guess-dock :is(h3,output,span,b,p) {
 color: #fff0c7 !important;
 text-shadow: 0 1px 2px #052b25 !important;
}
