/* Style A ordinary dungeon lists: materials and colors only. Existing styles
   own geometry, typography, scrolling, illustrations and runtime states.
   The realm battlefield is explicitly outside this skin. */
html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) {
  color: #eee3bd;
  background: var(--tc-cloth) center / 480px auto repeat, #17494c !important;
  box-shadow: inset 0 0 0 1px #b2a172, inset 0 0 0 4px #c6ad6722;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-fixed-header {
  border-color: #b2a172 !important;
  background: linear-gradient(135deg, #194f4ebb, #123f43cc), var(--tc-cloth) center / 480px auto repeat !important;
  color: #eee3bd !important;
  box-shadow: inset 0 0 0 1px #d6ba7826 !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-heading h2 {
  color: #eadcb0 !important;
  text-shadow: 0 1px 1px #082d31;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) :is(.dungeon-sweep-compact, .dungeon-stamina) {
  border-color: #b2a17290 !important;
  background: #123d4070 !important;
  color: #c5d2bc !important;
  box-shadow: inset 0 0 0 1px #d6ba7818 !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) :is(.dungeon-sweep-compact b, .dungeon-stamina b) {
  color: #f0db9f !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) :is(.dungeon-sweep-compact span, .dungeon-stamina__label, .dungeon-stamina__recovery) {
  color: #c5d2bc !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-category-button:not(.is-active):not(:disabled) {
  border-color: #bbaa76 !important;
  background: var(--tc-button-art) center / 100% 100% no-repeat, #d5ddc2 !important;
  color: #174846 !important;
  box-shadow: inset 0 0 0 1px #325d5670 !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-category-button.is-active {
  border-color: #e8c875 !important;
  background: var(--tc-active-button-art) center / 100% 100% no-repeat, #164a4c !important;
  color: #f1d58b !important;
  box-shadow: inset 0 0 0 1px #d4b364, 0 0 4px #dfbc6138 !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-card {
  border-color: #b2a172 !important;
  background: var(--silk-corner-0) left 3px top 3px / 12px 12px no-repeat,
    var(--silk-corner-2) right 3px bottom 3px / 12px 12px no-repeat,
    linear-gradient(125deg, #205c5766, #123f43aa), var(--tc-cloth) center / 480px auto repeat !important;
  color: #eee3bd !important;
  box-shadow: inset 0 0 0 1px #d6ba7826 !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-card__body {
  background: transparent !important;
  box-shadow: none !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-card :is(h3, .dungeon-card__name) {
  color: #f0db9f !important;
  text-shadow: 0 1px 1px #123436;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-card .dungeon-card__recommendation {
  color: #c3d0be !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-card .dungeon-card__daily {
  color: #e2d6aa !important;
}

/* Rarity, artwork pixels, image cropping and existing lock filters are untouched. */
html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-card__art {
  border-color: #b9a76f;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-card.is-locked {
  border-color: #85957d !important;
  background: var(--silk-corner-0) left 3px top 3px / 12px 12px no-repeat,
    var(--silk-corner-2) right 3px bottom 3px / 12px 12px no-repeat,
    linear-gradient(135deg, #244a47bb, #193e40dd), var(--tc-cloth) center / 480px auto repeat !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-card.is-locked :is(h3, .dungeon-card__recommendation, .dungeon-card__daily) {
  color: #bdc7b1 !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-card :is(.dungeon-card__action-button, .dungeon-card__difficulty-selector):not(:disabled) {
  border-color: #bbaa76 !important;
  background: var(--tc-button-art) center / 100% 100% no-repeat, #d5ddc2 !important;
  color: #174846 !important;
  box-shadow: inset 0 0 0 1px #325d5670 !important;
  text-shadow: none;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-card__difficulty-selector::after {
  color: #365e50;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) :is(.dungeon-category-button, .dungeon-card__action-button, .dungeon-card__difficulty-selector):disabled {
  border-color: #87977d !important;
  background: #496860 !important;
  color: #c3cbb3 !important;
  box-shadow: inset 0 0 0 1px #b8c59b18 !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-card__sweep-button:is(.is-running, .is-settling) {
  border-color: #b2a172 !important;
  background: #214d49 !important;
  color: #e0dabb !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-card__sweep-button strong {
  color: #f0db9f !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) :is(.dungeon-category-button, .dungeon-card__action-button, .dungeon-card__difficulty-selector):not(:disabled):hover {
  border-color: #f0d18a !important;
  box-shadow: inset 0 0 0 1px #c4ab6c, 0 0 3px #d7c28a66 !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) :is(.dungeon-category-empty, .dungeon-status) {
  border-color: #a99a6a;
  color: #c8d3bd !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-status[data-state="ready"] {
  color: #d6e3b5 !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root [data-page="dungeon"].dungeon-panel:not(.is-realm-battlefield) .dungeon-status[data-state="error"] {
  color: #ffc8ab !important;
}

/* These two dialogs belong to ordinary dungeons; their sizes and controls stay
   exactly as defined by the base sheets. Inset strokes never cover their edges. */
html[data-ui-theme="teal-cloud-a"] #game-root :is(dialog[data-role="dungeon-sweep-dialog"], dialog[data-role="dungeon-difficulty-dialog"]) {
  border-color: #b2a172 !important;
  background: linear-gradient(145deg, #1d57554d, #0e393d66), var(--tc-cloth) center / 480px auto repeat, #17494c !important;
  color: #eee3bd !important;
  box-shadow: inset 0 0 0 1px #d6ba78, inset 0 0 0 4px #d6ba7826, 0 8px 20px #03191c60 !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root :is(dialog[data-role="dungeon-sweep-dialog"], dialog[data-role="dungeon-difficulty-dialog"])::backdrop {
  background: #041f23b8;
}

html[data-ui-theme="teal-cloud-a"] #game-root :is(dialog[data-role="dungeon-sweep-dialog"], dialog[data-role="dungeon-difficulty-dialog"]) .attribute-modal__content {
  background: transparent !important;
  color: #eee3bd !important;
  box-shadow: none !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root :is(dialog[data-role="dungeon-sweep-dialog"], dialog[data-role="dungeon-difficulty-dialog"]) .attribute-modal__heading h2 {
  color: #eadcb0 !important;
  text-shadow: 0 1px 1px #082d31;
}

html[data-ui-theme="teal-cloud-a"] #game-root :is(dialog[data-role="dungeon-sweep-dialog"], dialog[data-role="dungeon-difficulty-dialog"]) button:not(:disabled) {
  border-color: #bbaa76 !important;
  background: var(--tc-button-art) center / 100% 100% no-repeat, #d5ddc2 !important;
  color: #174846 !important;
  box-shadow: inset 0 0 0 1px #325d5670 !important;
  text-shadow: none;
}

html[data-ui-theme="teal-cloud-a"] #game-root :is(dialog[data-role="dungeon-sweep-dialog"], dialog[data-role="dungeon-difficulty-dialog"]) .attribute-modal__close:not(:disabled) {
  border-color: #bbaa76 !important;
  background: #194e4c !important;
  color: #ead294 !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root dialog[data-role="dungeon-sweep-dialog"] .dungeon-sweep-stepper strong {
  border-color: #a99a6a !important;
  background: #123d40b3 !important;
  color: #f0db9f !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root dialog[data-role="dungeon-sweep-dialog"] :is(.dungeon-sweep-modal__meta, .dungeon-sweep-modal__summary, .dungeon-sweep-auto-sell, .dungeon-sweep-modal__meta span) {
  background: transparent !important;
  color: #c5d2bc !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root dialog[data-role="dungeon-sweep-dialog"] .dungeon-sweep-modal__meta b {
  color: #eee3bd !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root dialog[data-role="dungeon-sweep-dialog"] .dungeon-sweep-auto-sell input {
  accent-color: #c4ac67;
}

html[data-ui-theme="teal-cloud-a"] #game-root :is(dialog[data-role="dungeon-sweep-dialog"], dialog[data-role="dungeon-difficulty-dialog"]) :is(.dungeon-difficulty-option.is-selected, .dungeon-sweep-confirm):not(:disabled) {
  border-color: #e1bf75 !important;
  background: linear-gradient(145deg, #34746f, #174b4d) !important;
  color: #fff0c4 !important;
  box-shadow: inset 0 0 0 1px #ead29140 !important;
}

html[data-ui-theme="teal-cloud-a"] #game-root :is(dialog[data-role="dungeon-sweep-dialog"], dialog[data-role="dungeon-difficulty-dialog"]) button:disabled {
  border-color: #87977d !important;
  background: #496860 !important;
  color: #c3cbb3 !important;
  box-shadow: inset 0 0 0 1px #b8c59b18 !important;
}
