/* Complete the activity and cosmetics sheets with the approved dark textile.
   Paint only: the existing page, preview, scrolling and art geometry stay intact. */
html[data-ui-theme="teal-cloud-a"] #game-root[data-active-page="newcomerActivity"] {
  background: var(--tc-world) center / 100% 100% no-repeat, #103c40;
}
html[data-ui-theme="teal-cloud-a"] #game-root[data-active-page="newcomerActivity"] :is(.game-header, .bottom-nav) {
  background: transparent !important;
  box-shadow: none;
}
html[data-ui-theme="teal-cloud-a"] #game-root[data-active-page="newcomerActivity"] .bottom-nav button {
  border-color: #b6a36c;
  background: linear-gradient(#092e36aa, #153d4166), var(--tc-slot-empty-art) center / 100% 100% no-repeat, #133d41 !important;
  color: #f1e7c3;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 1px 1px #082f33;
  box-shadow: none;
}
html[data-ui-theme="teal-cloud-a"] #game-root[data-active-page="newcomerActivity"] .bottom-nav button.is-active {
  border-color: #ecd08a;
  background: linear-gradient(#1e5e6177, #27746c22), var(--tc-slot-empty-art) center / 100% 100% no-repeat !important;
  color: #f6d68a;
  box-shadow: inset 0 0 0 1px #d4b364, 0 0 5px #e2bf7577;
}
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] {
  --tc-activity-paper: rgba(27, 76, 75, .94);
  --tc-activity-paper-soft: rgba(20, 66, 67, .82);
  --tc-activity-paper-deep: #20534f;
  --tc-activity-ink: #eee3bd;
  --tc-activity-muted: #bbcbbf;
  --tc-activity-bronze: #b6a16d;
  isolation: isolate;
  background: var(--tc-cloth) center / 480px auto repeat, #17494c !important;
  border-color: #b6a16d;
  color: var(--tc-activity-ink) !important;
  box-shadow: none !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"]::before {
  content: "" !important;
  position: absolute;
  inset: 0 5px 5px;
  z-index: -1;
  border: 22px solid transparent;
  border-image: var(--tc-frame-art) 72 / 22px / 0 stretch;
  border-radius: 0;
  background: none !important;
  box-shadow: none !important;
  pointer-events: none;
  opacity: 1;
}
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"]::after {
  content: none !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] > .feature-page-heading > h2 {
  color: #173f3c !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] :is(
  .daily-practice-task, .daily-practice-milestone, .newcomer-task-row,
  .server-opening-competition-row, .server-opening-competition-reward-card
) {
  background: linear-gradient(135deg, #255b56f0, #113c40f5) !important;
  border-color: #cab271a3 !important;
  color: #eee3bd !important;
  box-shadow: inset 0 1px #f4e8bd14 !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] :is(
  .daily-practice-task.is-complete, .daily-practice-milestone.is-claimable,
  .newcomer-task-row.is-complete
) {
  background: linear-gradient(135deg, #2c6058, #17494a) !important;
  border-color: #ceba7c !important;
  box-shadow: inset 0 0 0 1px #e8cf8c20 !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] :is(
  .daily-practice-task strong, .daily-practice-milestone strong,
  .daily-practice-reward-heading h3, .newcomer-task-row strong,
  .server-opening-competition-row strong, .server-opening-competition-reward-card strong
) {
  color: #ead295 !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] :is(
  .daily-practice-task span, .daily-practice-task-action small,
  .daily-practice-reward-heading span, .daily-practice-milestone > span,
  .daily-practice-milestone small, .newcomer-task-row span, .newcomer-task-row small,
  .server-opening-competition-summary, .server-opening-competition-reward-note,
  .server-opening-competition-reward-card p, .newcomer-lifecycle,
  .newcomer-activity-status
) {
  color: #bbcbbf !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
/* Completed tasks keep the same utility plate as their available counterpart. */
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] .daily-practice-task .daily-practice-task-action button,
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] .daily-practice-task .daily-practice-task-action button:disabled,
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] :is(
  .newcomer-day-tab, .server-opening-competition-tabs button,
  .newcomer-task-row button:not(:disabled), .server-opening-competition-reward-card button:not(:disabled)
),
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] .daily-practice-milestone button:not(:disabled) {
  background: var(--tc-button-art) center / 100% 100% no-repeat, #d3dcc1 !important;
  border-color: #b2a16d !important;
  color: #173f3c !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: inset 0 1px #fff6d955 !important;
  text-shadow: none !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] :is(
  .daily-practice-milestone.is-claimable button:not(:disabled),
  .newcomer-day-tab.is-active, .server-opening-competition-tabs button.is-active
) {
  background: linear-gradient(145deg, #2d6b65, #164a4d) !important;
  border-color: #d3b66e !important;
  color: #fff0c4 !important;
  box-shadow: inset 0 0 0 1px #ead29140 !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] :is(
  .daily-practice-milestone button:disabled, .newcomer-task-row button:disabled,
  .server-opening-competition-reward-card button:disabled, .newcomer-day-tab:disabled
) {
  background: linear-gradient(#667b73, #4c625c) !important;
  border-color: #89958a !important;
  color: #c5cbbd !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: inset 0 1px #eee5b91a !important;
  text-shadow: none !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] .daily-practice-milestone.is-claimed {
  background: linear-gradient(135deg, #214c48, #153c3f) !important;
  border-color: #81947a !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root .page-panel.feature-page-panel.newcomer-activity-page[data-page="newcomerActivity"] [data-state="error"] {
  color: #f2a393 !important;
}

/* Native cosmetics dialog owns its art preview. Repaint only the surrounding UI. */
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog {
  background: linear-gradient(145deg, #2669642e, #0830344d), var(--tc-cloth) center / 480px auto repeat, #103f42 !important;
  background-color: #103f42 !important;
  border-color: #cab271a3 !important;
  color: #eee3bd !important;
  box-shadow: 0 8px 20px #03191c61 !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 2;
  box-sizing: border-box;
  border: 18px solid transparent;
  border-image: var(--tc-frame-art) 80 38 / 18px / 0 stretch;
  background: none !important;
  box-shadow: none !important;
  pointer-events: none;
}
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog::after { content: none !important; }
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog::backdrop { background: #041f23b8 !important; }
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog header {
  background: linear-gradient(120deg, #174e4e, #113e42) !important;
  border-color: #cab271a3 !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog :is(h2, strong, .cosmetics-item-name) {
  color: #eee3bd !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog :is(
  .cosmetics-card small, .cosmetics-detail small, .cosmetics-empty, .cosmetics-status
) {
  color: #bbcbbf !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
/* Preserve the existing illustrated preview; its light scene needs dark name ink. */
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog .cosmetics-preview > strong {
  color: #173f3c !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: 0 1px #fff3d1a6 !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog :is(.cosmetics-tabs button, [data-cosmetic-save]):not(:disabled) {
  background: var(--tc-button-art) center / 100% 100% no-repeat, #d3dcc1 !important;
  border-color: #b2a16d !important;
  color: #173f3c !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: inset 0 1px #fff6d955 !important;
  text-shadow: none !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog :is(
  .cosmetics-tabs button.active, .cosmetics-tabs button[aria-selected="true"], [data-cosmetic-save]
):not(:disabled) {
  background: linear-gradient(145deg, #2d6b65, #164a4d) !important;
  border-color: #d3b66e !important;
  color: #fff0c4 !important;
  box-shadow: inset 0 0 0 1px #ead29140 !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog .cosmetics-card {
  background: linear-gradient(135deg, #255b56f0, #113c40f5) !important;
  border-color: #b99a557a !important;
  color: #eee3bd !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: inset 0 1px #f4e8bd14 !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog .cosmetics-card[data-selected="true"] {
  background: linear-gradient(135deg, #32675c, #194b4c) !important;
  border-color: #dfc17b !important;
  box-shadow: inset 0 0 0 1px #ead29159 !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog .cosmetics-detail {
  background: #0c3d3e80 !important;
  border-color: #b99a557a !important;
  color: #eee3bd !important;
  box-shadow: inset 0 0 0 1px #dbbf7714 !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog button:disabled {
  background: linear-gradient(#667b73, #4c625c) !important;
  border-color: #89958a !important;
  color: #c5cbbd !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: inset 0 1px #eee5b91a !important;
  text-shadow: none !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog [data-cosmetic-close]:not(:disabled) {
  background: #124746e6 !important;
  border-color: #cab271a3 !important;
  color: #ead295 !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: inset 0 0 0 1px #f1ead51a !important;
}
html[data-ui-theme="teal-cloud-a"] #game-root dialog.cosmetics-dialog button:focus-visible { outline-color: #ead295; }
