@font-face {
  font-family: WeduelUI;
  src: url("/fonts/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: WeduelUI;
  src: url("/fonts/manrope-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: WeduelUI;
  src: url("/fonts/manrope-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: WeduelUI;
  src: url("/fonts/manrope-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: WeduelUI;
  src: url("/fonts/manrope-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
/* Non-pet presentation system. Game mechanics and the pet world keep their own surfaces. */
#app.ui-refresh {
  --wd-bg: #f6f3fb;
  --wd-surface: #fff;
  --wd-ink: #252235;
  --wd-muted: #777184;
  --wd-line: #e9e4f0;
  --wd-violet: #7951c9;
  --wd-lilac: #eee6fa;
  --wd-mint: #e4f3eb;
  --wd-radius: 22px;
  font-family: WeduelUI, Manrope, system-ui, sans-serif;
  color: var(--wd-ink);
  background: var(--wd-bg);
  background-image: none;
  max-width: 760px;
  width: 100%;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 0 calc(96px + env(safe-area-inset-bottom));
  box-shadow: none;
  font-size: 14px;
  isolation: isolate;
}
.ui-refresh * {
  box-sizing: border-box;
}
.ui-refresh :where(button, input, select),
.wd-sheet button {
  font: inherit;
}
.ui-refresh button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ui-refresh button:focus-visible,
.ui-refresh summary:focus-visible,
.ui-refresh input:focus-visible,
.ui-refresh select:focus-visible {
  outline: 3px solid #b99bdf;
  outline-offset: 3px;
}
.ui-refresh
  :where(
    button,
    .wd-shortcut-icon,
    .wd-menu-icon,
    .wd-header,
    .wd-empty-mark,
    .wd-test-symbol
  )
  > svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.ui-refresh h1,
.ui-refresh h2,
.ui-refresh h3 {
  color: var(--wd-ink);
  letter-spacing: -0.035em;
  line-height: 1.18;
}
.ui-refresh p {
  line-height: 1.55;
}
.ui-refresh [hidden] {
  display: none !important;
}
#app.ui-refresh .wd-page {
  padding: 0 20px 24px;
  margin: 0;
  min-height: 0;
  max-width: none;
  background: none;
  overflow: visible;
}
.wd-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wd-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px !important;
  font-weight: 800;
  letter-spacing: -1px;
  border: 0;
  background: none;
  padding: 0;
  color: #252235;
}
.wd-brand > span {
  color: #8054c9;
  font-size: 37px;
  line-height: 1;
}
.wd-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wd-wallet {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ebe5f3;
  background: #fff;
  border-radius: 40px;
  padding: 0 12px;
  color: #30283b;
}
.wd-wallet img {
  object-fit: contain;
}
.wd-icon-button {
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid var(--wd-line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #393044;
  position: relative;
}
.wd-icon-button svg {
  width: 20px;
  height: 20px;
}
.wd-icon-button i {
  width: 7px;
  height: 7px;
  background: #9a6edb;
  border: 2px solid #fff;
  border-radius: 50%;
  position: absolute;
  right: 4px;
  top: 3px;
}
.wd-eyebrow {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #8d7d9f;
  line-height: 1.5;
}
.wd-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}
.wd-shortcuts > button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 9px;
  min-height: 75px;
  padding: 12px 10px;
  background: #fff;
  border: 1px solid #eee8f4;
  border-radius: 20px;
  color: var(--wd-ink);
  box-shadow: 0 4px 12px #49305a04;
}
.wd-shortcuts strong {
  font-size: 14px;
  display: block;
  line-height: 1.25;
}
.wd-shortcuts small {
  font-size: 10px;
  line-height: 1.4;
  color: var(--wd-muted);
  display: block;
  margin-top: 4px;
}
.wd-shortcuts > button > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.wd-shortcuts b:last-child {
  font-size: 21px;
  color: #a292b6;
  font-weight: 500;
}
.wd-shortcut-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 38px;
  border-radius: 12px;
  background: #f1eafb;
  color: #8157c3;
  flex-shrink: 0;
}
.wd-shortcut-icon svg {
  width: 23px;
  height: 23px;
}
.mint {
  background: var(--wd-mint) !important;
  color: #468471 !important;
}
.wd-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 26px 0 12px;
}
.wd-section h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}
.wd-section > button {
  border: 0;
  padding: 6px 0;
  background: none;
  color: #877294;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  white-space: nowrap;
}
.wd-section > button svg {
  width: 15px;
  height: 15px;
}
.wd-section > span {
  font-size: 12px;
  color: #8c8097;
}
.wd-cover {
  display: block;
  aspect-ratio: 1;
  background-image: url("/weduel-covers.webp");
  background-size: 300% 400%;
  background-position: var(--cover-x) var(--cover-y);
  background-repeat: no-repeat;
  background-color: #eee6f5;
  border-radius: 18px;
  overflow: hidden;
}
.wd-test-cover {
  display: block;
  aspect-ratio: 1;
  background-image: url("/weduel-tests.webp");
  background-size: 300% 200%;
  background-position: var(--test-x) var(--test-y);
  background-color: #eee6f5;
}
.wd-game-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  margin: 0 -20px;
  padding: 0 20px 4px;
}
.wd-game-rail::-webkit-scrollbar {
  display: none;
}
.wd-game-tile {
  flex: 0 0 126px;
  scroll-snap-align: start;
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
  min-width: 0;
  color: var(--wd-ink);
}
.wd-game-tile .wd-cover {
  width: 126px;
  height: 126px;
  border: 1px solid #00000003;
}
.wd-game-tile strong {
  display: block;
  font-size: 13px;
  margin: 8px 1px 3px;
  font-weight: 800;
}
.wd-game-tile small {
  display: block;
  font-size: 10px;
  color: var(--wd-muted);
}
.wd-social-banner {
  width: 100%;
  display: block;
  text-align: left;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e8dcf9 url("/weduel-covers.webp") right bottom/auto 400%
    no-repeat;
  border: 1px solid #e5dbee;
  border-radius: 24px;
  min-height: 176px;
  padding: 20px;
  color: var(--wd-ink);
}
.wd-social-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f0e9fbf5 5%,
    #eee6faee 33%,
    #eee6fa00 65%
  );
  z-index: -1;
}
.wd-social-banner h2 {
  font-size: 25px;
  margin: 7px 0 8px;
  max-width: 58%;
  font-weight: 800;
  line-height: 1.1;
}
.wd-social-banner p {
  font-size: 11px;
  max-width: 51%;
  margin: 0 0 13px;
  color: #6f5d80;
}
.wd-banner-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #674498;
  font-weight: 800;
  max-width: 54%;
  line-height: 1.4;
}
.wd-banner-link svg {
  width: 16px;
  height: 16px;
}
.wd-social-banner.compact {
  margin: 20px 0;
  min-height: 182px;
}
.wd-social-banner.compact h2 {
  font-size: 24px;
}
.wd-quest-preview {
  width: 100%;
  border: 1px solid var(--wd-line);
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  text-align: left;
}
.wd-quest-preview > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.wd-quest-preview strong {
  display: block;
  font-size: 12px;
}
.wd-quest-preview small {
  display: block;
  font-size: 10px;
  color: var(--wd-muted);
  margin: 4px 0 8px;
}
.wd-quest-preview i,
.wd-small-progress {
  display: block;
  height: 4px;
  background: #eee8f6;
  border-radius: 10px;
  overflow: hidden;
}
.wd-quest-preview em,
.wd-small-progress em {
  display: block;
  height: 100%;
  background: #9b77d0;
  border-radius: 10px;
}
.wd-quest-preview > b {
  font-size: 23px;
  color: #b3a7be;
}
.wd-intro {
  margin: 16px 0 22px;
}
.wd-intro h1 {
  font-size: 29px;
  margin: 8px 0 10px;
  font-weight: 800;
}
.wd-intro p {
  color: var(--wd-muted);
  font-size: 12px;
  margin: 0;
}
.wd-intro h2 {
  font-size: 26px;
}
.wd-tabs {
  display: flex;
  align-items: stretch;
  background: #eae4f1;
  border: 1px solid #e7e1ed;
  padding: 4px;
  border-radius: 16px;
  gap: 4px;
  margin: 8px 0 20px;
}
.wd-tabs > button {
  flex: 1;
  border: 0;
  border-radius: 12px;
  min-height: 40px;
  background: none;
  color: #81758c;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
}
.wd-tabs > button.on {
  background: #fff;
  color: #6d46af;
  box-shadow: 0 2px 6px #39204a0a;
}
.wd-tabs > button svg {
  width: 19px;
  height: 19px;
}
.wd-audiences {
  display: flex;
  gap: 7px;
  overflow: auto;
  scrollbar-width: none;
  margin-bottom: 14px;
  padding: 1px;
}
.wd-audiences > button {
  white-space: nowrap;
  border: 1px solid #e8e0f0;
  background: transparent;
  padding: 9px 13px;
  border-radius: 30px;
  color: #827389;
  font-size: 11px;
  font-weight: 700;
}
.wd-audiences > button.on {
  color: #fff;
  background: #7b56ba;
  border-color: #7b56ba;
}
.wd-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--wd-line);
  border-radius: 14px;
  height: 44px;
  padding: 0 13px;
  color: #a28eae;
}
.wd-search > span {
  height: 20px;
}
.wd-search svg {
  width: 19px;
  height: 19px;
}
.wd-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  outline: none !important;
  padding: 0;
  color: var(--wd-ink);
  font-size: 12px;
}
.wd-search input::placeholder {
  color: #a294ac;
}
.wd-filters {
  margin: 9px 0 12px;
  background: none;
  color: #554560;
}
.wd-filters summary {
  list-style: none;
  font-size: 11px;
  padding: 10px 2px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.wd-filters summary:after {
  content: "⌄";
  font-size: 16px;
}
.wd-filters summary > span {
  font-weight: 500;
  color: #a092ad;
  margin-left: auto;
  font-size: 10px;
}
.wd-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #fff;
  padding: 14px;
  border: 1px solid var(--wd-line);
  border-radius: 16px;
}
.wd-filter-grid label {
  font-size: 10px;
  color: var(--wd-muted);
  display: grid;
  gap: 5px;
  min-width: 0;
}
.wd-filter-grid select,
.wd-settings-card select {
  width: 100%;
  min-width: 0;
  border: 1px solid #e9e1ef;
  background: #f9f7fc;
  padding: 10px 7px;
  border-radius: 10px;
  color: #4b3c5b;
  font-size: 11px;
}
.wd-filter-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
}
.wd-filter-actions button {
  border: 1px solid #e0d4ec;
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11px;
  color: #806196;
}
.wd-filter-actions button.on {
  background: #ebe1f8;
}
.wd-activity-link {
  width: 100%;
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid #e4d9ef;
  border-radius: 13px;
  background: #eee7f6;
  color: #7b5d96;
  padding: 11px 12px;
  font-size: 11px;
  font-weight: 700;
}
.wd-activity-link svg {
  width: 17px;
  height: 17px;
}
.wd-activity-link b {
  margin-left: auto;
  font-size: 18px;
  font-weight: 500;
}
.wd-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  align-items: start;
}
.wd-catalog-card {
  position: relative;
  border-radius: 21px;
  background: #fff;
  border: 1px solid #ece6f2;
  overflow: hidden;
  min-width: 0;
}
.wd-cover-button {
  padding: 0;
  border: 0;
  background: none;
  width: 100%;
  display: block;
  overflow: hidden;
}
.wd-cover-button .wd-cover {
  width: 100%;
  border-radius: 0;
  aspect-ratio: 1;
}
.wd-catalog-copy {
  padding: 12px;
}
.wd-catalog-copy .wd-eyebrow {
  font-size: 8px;
  letter-spacing: 0.03em;
  color: #967da9;
}
.wd-catalog-copy h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 5px 0 6px;
}
.wd-catalog-copy p {
  font-size: 10px;
  color: #817487;
  line-height: 1.5;
  margin: 0;
  min-height: 45px;
}
.wd-catalog-meta {
  font-size: 9px;
  color: #9b8ba7;
  margin-top: 8px;
}
.wd-favorite {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 29px;
  height: 29px;
  border: 1px solid #ffffffa0;
  border-radius: 50%;
  background: #fffef5e8;
  font-size: 20px !important;
  color: #7d579e;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
}
.wd-favorite.on {
  color: #8c5cc7;
  background: #fff;
}
.wd-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-top: 1px solid #f1ecf5;
  margin-top: 10px;
  padding-top: 9px;
}
.wd-card-actions button {
  border: 0;
  background: none;
  color: #8d729d;
  font-size: 10px;
  padding: 0;
}
.wd-card-actions button:last-child {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  background: #eee6f8;
  color: #8054b4;
  display: grid;
  place-items: center;
}
.wd-card-actions svg {
  width: 16px;
  height: 16px;
}
.wd-card-details {
  padding: 15px 12px;
  background: #faf7fe;
  border-top: 1px solid #e9e0f4;
}
.wd-card-details strong {
  font-size: 13px;
}
.wd-card-details p {
  font-size: 11px;
  color: #7c6c87;
}
.wd-card-details > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 10px 0;
}
.wd-card-details > div span {
  border-radius: 10px;
  font-size: 9px;
  background: #ece3f4;
  color: #8a699f;
  padding: 4px 7px;
}
.wd-card-details .wd-primary {
  width: 100%;
  font-size: 11px;
  padding: 10px;
}
.wd-catalog-grid.tests {
  grid-template-columns: 1fr;
}
.tests .wd-catalog-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  padding: 12px;
  gap: 12px;
  border-radius: 20px;
}
.tests .wd-cover-button {
  align-self: start;
  border-radius: 15px;
  overflow: hidden;
  margin: 0;
}
.tests .wd-test-cover {
  height: 96px;
  width: 96px;
}
.tests .wd-catalog-copy {
  padding: 0;
}
.tests .wd-catalog-copy h3 {
  padding-right: 18px;
  font-size: 14px;
}
.tests .wd-catalog-copy p {
  min-height: 0;
  font-size: 11px;
}
.tests .wd-favorite {
  top: 10px;
  right: 9px;
  width: 23px;
  height: 23px;
  border: 0;
  background: transparent;
  font-size: 23px !important;
}
.tests .wd-card-actions {
  margin-top: 8px;
  padding-top: 8px;
}
.tests .wd-card-details {
  grid-column: 1/-1;
  border-radius: 12px;
}
.wd-catalog-grid > .wd-empty {
  grid-column: 1/-1;
}
.wd-page-top {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px 0;
  margin: 0 0 4px;
}
.wd-page-top small {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #a08baa;
  font-weight: 800;
}
.wd-page-top h1 {
  font-size: 23px;
  margin: 5px 0 0;
  font-weight: 800;
}
.wd-resume {
  border: 1px solid var(--wd-line);
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  margin: 12px 0;
}
.wd-activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: #fff;
  padding: 13px;
  text-align: left;
  color: var(--wd-ink);
}
.wd-activity-row + .wd-activity-row {
  border-top: 1px solid #f0ebf5;
}
.wd-activity-row > .wd-cover,
.wd-test-symbol {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
}
.wd-test-symbol {
  display: grid;
  place-items: center;
  background: #f6e5ef;
  color: #b36c9e;
}
.wd-activity-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.wd-activity-row strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
}
.wd-activity-row small {
  display: block;
  font-size: 10px;
  color: #917b9b;
  line-height: 1.6;
}
.wd-activity-row small:last-child {
  color: #aaa0b1;
  font-size: 9px;
}
.wd-activity-row > b,
.wd-menu b:last-child,
.wd-friend-list b:last-child,
.wd-records b:last-child {
  margin-left: auto;
  color: #b5a6bf;
  font-size: 22px;
  font-weight: 500;
}
.wd-empty {
  border: 1px dashed #ded2eb;
  background: #f9f6fc;
  border-radius: 22px;
  padding: 26px 22px;
  text-align: center;
  margin: 14px 0;
}
.wd-empty-mark {
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  width: 54px;
  height: 54px;
  color: #9566c6;
  background: #ece2f6;
  border-radius: 18px;
}
.wd-empty h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 10px;
}
.wd-empty p {
  font-size: 12px;
  color: #8c7a98;
  margin: 0 auto 20px;
  max-width: 300px;
}
.wd-primary,
.wd-secondary {
  border: 0;
  border-radius: 13px;
  padding: 13px 18px;
  font-weight: 750;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  line-height: 1.4;
  color: #fff;
  background: #8054bd;
  text-decoration: none;
}
.wd-primary svg,
.wd-secondary svg {
  width: 16px;
  height: 16px;
}
.wd-secondary {
  background: #eee6f6;
  color: #7a5599;
  border: 1px solid #e4d9ef;
}
.wd-text-button {
  border: 0;
  background: none;
  color: #8c6aa2;
  font-size: 11px;
  padding: 15px 0;
  text-align: center;
  display: block;
  width: 100%;
}
.wd-action-pair {
  display: flex;
  gap: 9px;
  margin: 20px 0;
}
.wd-action-pair > button {
  flex: 1;
  padding: 12px 7px;
  font-size: 11px;
}
.wd-info {
  background: #fff;
  border: 1px solid var(--wd-line);
  border-radius: 16px;
  margin: 10px 0;
  padding: 16px;
  color: #6f5b7e;
}
.wd-info summary {
  font-size: 12px;
  line-height: 1.5;
  color: #5c476c;
}
.wd-info p {
  font-size: 11px;
  color: #89758f;
  margin: 12px 0 0;
}
.wd-footnote {
  text-align: center;
  font-size: 10px !important;
  line-height: 1.6;
  color: #a595ad;
  margin: 22px 8px !important;
}
.wd-friend-list,
.wd-records,
.wd-menu {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--wd-line);
  background: #fff;
  margin-top: 12px;
}
.wd-friend-list > button,
.wd-records > button,
.wd-menu > button {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: #fff;
  width: 100%;
  text-align: left;
  color: var(--wd-ink);
  padding: 16px;
}
.wd-friend-list > button + button,
.wd-records > button + button,
.wd-menu > button + button {
  border-top: 1px solid #f0ebf5;
}
.wd-friend-list > button > span:nth-child(2),
.wd-records > button > span:nth-child(2),
.wd-menu > button > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.wd-menu strong,
.wd-friend-list strong,
.wd-records strong {
  font-size: 12px;
  display: block;
  font-weight: 800;
}
.wd-menu small,
.wd-friend-list small,
.wd-records small {
  display: block;
  font-size: 10px;
  color: #9a87a4;
  line-height: 1.5;
  margin-top: 3px;
}
.wd-menu-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 12px;
  background: #f3edf9;
  color: #9568bc;
  flex-shrink: 0;
}
.wd-menu-icon svg {
  width: 20px;
  height: 20px;
}
.wd-menu .wd-small-progress {
  margin-top: 8px;
}
.wd-records .wd-cover {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
}
.wd-avatar {
  width: 42px;
  height: 42px;
  background: #e5d5f6;
  color: #79529b;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.wd-avatar.large {
  width: 76px;
  height: 76px;
  font-size: 30px;
  border-radius: 25px;
  margin: 0 auto 13px;
  background: linear-gradient(135deg, #e5d0f9, #c3a3e2);
  color: #fff;
  border: 3px solid #fff;
}
.wd-identity {
  text-align: center;
  background: #eee5f7;
  border: 1px solid #e6dbef;
  border-radius: 25px;
  padding: 23px 22px;
}
.wd-identity h2 {
  font-size: 21px;
  margin: 0 0 10px;
}
.wd-level-badge {
  display: inline-block;
  font-size: 10px;
  background: #ffffff9c;
  color: #8c69a1;
  border-radius: 12px;
  padding: 5px 12px;
  font-weight: 700;
}
.wd-xp {
  height: 5px;
  background: #ddcde9;
  border-radius: 10px;
  margin: 20px 0 8px;
  overflow: hidden;
}
.wd-xp i {
  display: block;
  height: 100%;
  border-radius: 10px;
  background: #9a75c2;
}
.wd-identity > small {
  font-size: 9px;
  color: #9c80ad;
}
.wd-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px 0;
  border-bottom: 1px solid #e8e0ef;
}
.wd-stats div {
  text-align: center;
}
.wd-stats div + div {
  border-left: 1px solid #e7deee;
}
.wd-stats b {
  display: block;
  font-size: 23px;
  font-weight: 800;
  color: #74529a;
}
.wd-stats span {
  font-size: 9px;
  color: #95839f;
}
.wd-pet-link {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 16px;
  border: 1px solid #e6daef;
  background: #ede4f7;
  border-radius: 16px;
  font-size: 11px;
  color: #8b6a9e;
}
.wd-pet-link span {
  font-weight: 800;
  color: #795a93;
  white-space: nowrap;
}
.wd-achievement-hero {
  background: #e9f2ed;
  border: 1px solid #dae9df;
  border-radius: 24px;
  text-align: center;
  padding: 24px;
  margin: 8px 0 20px;
}
.wd-achievement-hero > svg {
  width: 44px;
  height: 44px;
  color: #74a18a;
}
.wd-achievement-hero h2 {
  font-size: 27px;
  margin: 10px 0 8px;
}
.wd-achievement-hero p {
  font-size: 11px;
  color: #83988c;
  margin: 0;
}
.wd-settings-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--wd-line);
  border-radius: 20px;
  margin: 12px 0;
}
.wd-settings-card h2 {
  font-size: 17px;
  margin: 0 0 16px;
}
.wd-settings-card > label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  margin: 17px 0 8px;
}
.wd-settings-card select {
  font-size: 12px;
  padding: 12px;
}
.wd-settings-card p {
  font-size: 11px;
  color: #947fa0;
  line-height: 1.6;
  margin: 9px 0 18px;
}
/* Opaque navigation: one consistent baseline, pet keeps the original nav. */
#app.ui-refresh .bottom {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(760px, 100%);
  height: calc(76px + env(safe-area-inset-bottom));
  min-height: 76px;
  background: #fffcff;
  opacity: 1;
  backdrop-filter: none;
  border: 0;
  border-top: 1px solid #ece5f3;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 20px #3d265608;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 9px 6px calc(9px + env(safe-area-inset-bottom));
  gap: 0;
  z-index: 100;
}
.ui-refresh .bottom > button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  min-width: 0;
  background: none !important;
  border: 0;
  border-radius: 0;
  color: #92869b;
  box-shadow: none !important;
  position: relative;
  transform: none;
}
.ui-refresh .bottom > button > span:last-child {
  font-size: 9px !important;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  filter: none;
}
.ui-refresh .bottom .nav-symbol {
  height: 25px;
  width: 30px;
  display: grid;
  place-items: center;
  margin: 0;
  filter: none;
  background: none;
  box-shadow: none;
  color: inherit;
}
.ui-refresh .bottom .nav-symbol svg {
  width: 24px;
  height: 24px;
  filter: none;
}
.ui-refresh .bottom > button.on {
  color: #8155bc;
}
.ui-refresh .bottom > button.on:before {
  content: "";
  position: absolute;
  top: 1px;
  width: 37px;
  height: 31px;
  border-radius: 12px;
  background: #f0e7fa;
  z-index: -1;
}
.ui-refresh .bottom .nav-pet-orb {
  width: 46px;
  height: 46px;
  border: 3px solid #fff;
  border-radius: 17px;
  box-shadow: 0 3px 9px #7548a51a;
  background: linear-gradient(145deg, #b593e3, #8753bf);
  display: grid;
  place-items: center;
  position: absolute;
  top: -16px;
  margin: 0;
  transform: none;
  animation: none;
}
.ui-refresh .bottom .nav-pet-orb svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  stroke: #fff;
}
.ui-refresh .bottom > button[data-tab="pet"] {
  padding-top: 32px;
}
.ui-refresh .bottom > button[data-tab="pet"] > span:last-child {
  margin: 0;
}
/* Shared non-pet game chrome, questions, invite and result states. */
.ui-refresh .primary {
  background: #8154bf;
  color: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 4px 10px #71489914;
  font-weight: 750;
  font-size: 13px;
  min-height: 43px;
  padding: 12px 17px;
}
.ui-refresh .soft,
.ui-refresh .ghost {
  background: #eee7f6;
  color: #86639f;
  border: 1px solid #e6dbef;
  border-radius: 12px;
  box-shadow: none;
}
.ui-refresh .card {
  border: 1px solid #eae2f1;
  background: #fff;
  box-shadow: none;
  border-radius: 20px;
}
.ui-refresh > .top {
  padding: 20px;
  margin: 0;
}
.ui-refresh .top h1 {
  font-size: 24px;
}
.ui-refresh .game-actions {
  margin: 12px 16px;
}
.ui-refresh .board button {
  background: #eee7f8;
  box-shadow: none;
  border-radius: 17px;
  border: 1px solid #e5d8f2;
  font-size: 43px;
}
.ui-refresh .board button.x {
  color: #9d72c5;
}
.ui-refresh .board button.o {
  color: #dc8c99;
}
.ui-refresh .choice {
  border-radius: 15px;
  border: 1px solid #e6dced;
  background: #fff;
  color: #665471;
  box-shadow: none;
}
.ui-refresh .mode-backdrop {
  background: #28203377;
  backdrop-filter: none;
  z-index: 200;
}
.ui-refresh .mode-sheet {
  border: 1px solid #e9dff1;
  border-radius: 28px 28px 0 0;
  background: #fcfaff;
  box-shadow: 0 -10px 40px #33223c1a;
  padding: 28px 24px calc(24px + env(safe-area-inset-bottom));
  max-width: 540px;
  margin: 0;
  max-height: 90dvh;
  overflow: auto;
  color: #3c2d4c;
}
.ui-refresh .mode-sheet h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}
.ui-refresh .mode-sheet p {
  font-size: 12px;
  color: #93819e;
  line-height: 1.55;
}
.ui-refresh .mode-option {
  border: 1px solid #e5d8ef;
  border-radius: 17px;
  background: #fff;
  margin: 12px 0;
  padding: 17px;
}
.ui-refresh .mode-option b {
  font-size: 15px;
  color: #775397;
}
.ui-refresh .mode-option small {
  font-size: 11px;
  color: #a38aae;
}
.ui-refresh .mode-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0e8f7;
  color: #9376a7;
  box-shadow: none;
  font-size: 23px;
  border: 0;
}
.ui-refresh .wordle-mode-sheet > .art {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  padding: 0;
  background: #f3e9fb;
  object-fit: contain;
  margin: 0 auto 16px;
}
.ui-refresh .quiz-top {
  border: 0;
  background: none;
  padding: 18px 0;
  min-height: 68px;
}
.ui-refresh .wordle-screen,
.ui-refresh .quiz-screen {
  background: none;
  padding: 0 18px 24px;
}
.ui-refresh .wordle-screen h1,
.ui-refresh .quiz-top h1 {
  font-size: 21px;
}
.ui-refresh .wordle-scoreboard {
  background: #fff;
  border: 1px solid #ece2f3;
  border-radius: 18px;
  box-shadow: none;
}
.ui-refresh .wordle-turn,
.ui-refresh .wordle-status {
  background: #ece5f7;
  color: #89649e;
  border: 0;
  border-radius: 12px;
}
.ui-refresh .wordle-tile {
  border-radius: 9px;
  box-shadow: none;
  border-color: #e4d9ee;
}
.ui-refresh .wordle-key {
  box-shadow: none;
  border-radius: 8px;
  background: #e8e1ef;
  color: #615069;
}
.ui-refresh .wordle-key.correct {
  background: #82b9a0;
  color: #fff;
}
.ui-refresh .wordle-key.present {
  background: #d9bc70;
  color: #fff;
}
.ui-refresh .wordle-key.absent {
  background: #c8c0cf;
  color: #fff;
}
.ui-refresh .wordle-result,
.ui-refresh .wordle-history {
  background: #fff;
  border: 1px solid #e8dff0;
  box-shadow: none;
  border-radius: 20px;
}
.ui-refresh .quiz-question {
  background: #fff;
  border: 1px solid #e9dff0;
  border-radius: 24px;
  padding: 22px 18px;
  box-shadow: none;
}
.ui-refresh .quiz-question h2 {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.ui-refresh .quiz-choices {
  gap: 10px;
}
.ui-refresh .quiz-choices > button {
  background: #faf7fd;
  border: 1px solid #e9dff1;
  border-radius: 15px;
  padding: 15px;
  color: #6d567c;
  box-shadow: none;
  min-height: 57px;
}
.ui-refresh .quiz-choices > button b {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}
.ui-refresh .quiz-choices > button > span {
  background: #eee4f8;
  color: #9c78b7;
  font-size: 12px;
  border-radius: 9px;
}
.ui-refresh .quiz-choices > button.selected {
  background: #ede2f8;
  border-color: #b893d7;
  color: #8056a2;
}
.ui-refresh .quiz-result,
.ui-refresh .quiz-waiting,
.ui-refresh .quiz-invite-card {
  background: #fff;
  border: 1px solid #e8def0;
  border-radius: 24px;
  box-shadow: none;
  padding: 24px 20px;
}
.ui-refresh .quiz-result h2,
.ui-refresh .quiz-waiting h2 {
  font-size: 25px;
  line-height: 1.25;
}
.ui-refresh .quiz-result-label {
  color: #9c75c2;
}
.ui-refresh .quiz-result blockquote {
  background: #eee8f8;
  border: 0;
  border-radius: 15px;
  color: #8e75a1;
}
.ui-refresh .quiz-progress,
.ui-refresh .quiz-share-strip {
  box-shadow: none;
  background: #eee6f8;
  border-radius: 12px;
  color: #8b6c9e;
}
.ui-refresh .quiz-preview-explainer {
  background: #f1e9f9;
  border-radius: 16px;
  color: #9479a5;
}
.ui-refresh .quiz-preview-meta span {
  background: #eee4f7;
  color: #9d7eae;
}
.ui-refresh .quiz-secondary {
  background: #f2edf8;
  color: #9374a6;
  border-radius: 13px;
  border: 0;
}
.ui-refresh .quiz-question-nav {
  gap: 8px;
}
.ui-refresh .quiz-question-nav span {
  font-size: 9px;
  color: #a28aac;
}
.ui-refresh .quiz-eyebrow {
  font-size: 9px;
  color: #a68bb7;
  letter-spacing: 0.09em;
}
.ui-refresh .economy-bar {
  background: #fff;
  border: 1px solid #ece3f3;
  border-radius: 13px;
  box-shadow: none;
  margin: 0 14px 10px;
  padding: 5px 7px;
  min-height: 36px;
}
.ui-refresh .economy-bar button {
  font-size: 10px;
  color: #9a7eac;
  min-height: 27px;
}
.ui-refresh .economy-bar img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}
.ui-refresh .economy-revive-entry {
  background: #e9def6;
  color: #835ca3;
  border: 1px solid #d9c5ec;
  border-radius: 14px;
  box-shadow: none;
  font-weight: 750;
}
.ui-refresh .economy-earn-link {
  font-size: 10px;
  color: #a685b8;
}
.ui-refresh .arrows-mode-switch {
  display: flex;
  gap: 6px;
  background: #eae3f2;
  border-radius: 13px;
  padding: 4px;
  margin: 4px 0 14px;
}
.ui-refresh .arrows-mode-switch > button {
  flex: 1;
  background: none;
  color: #9b81ad;
  border: 0;
  border-radius: 10px;
  padding: 9px 4px;
  font-size: 11px;
  font-weight: 700;
}
.ui-refresh .arrows-mode-switch > button.on {
  background: #fff;
  color: #8354ac;
  box-shadow: 0 2px 5px #56346908;
}
.ui-refresh .arrows-top h1 {
  font-size: 23px;
}
.ui-refresh .arrows-lost,
.ui-refresh .arrows-win {
  background: #fff;
  border: 1px solid #e9dff0;
  box-shadow: none;
  border-radius: 20px;
}
.ui-refresh .arrows-lost h2,
.ui-refresh .arrows-win h2 {
  font-size: 22px;
}
/* Native dialogs share surfaces; the pet's economy dialog is deliberately excluded. */
.wd-sheet.economy-sheet,
.arcade-settings {
  font-family: WeduelUI, Manrope, system-ui, sans-serif;
  background: #fcfaff;
  color: #3c2e4a;
  border: 1px solid #e3d7ed;
  border-radius: 27px 27px 0 0;
  box-shadow: 0 -10px 45px #32213c20;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  max-width: 540px;
  width: 100%;
  max-height: 90dvh;
  margin: auto auto 0;
}
.wd-sheet::backdrop,
.arcade-settings::backdrop {
  background: #29213277;
  backdrop-filter: none;
}
.wd-sheet .economy-sheet-head {
  border-bottom: 1px solid #ebe1f2;
  padding-bottom: 18px;
}
.wd-sheet .economy-sheet-head span {
  font-size: 8px;
  color: #ab8dbb;
  letter-spacing: 0.09em;
}
.wd-sheet .economy-sheet-head h2 {
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 7px 0 0;
}
.wd-sheet .economy-sheet-head > button {
  border: 0;
  background: #f0e5f8;
  border-radius: 50%;
  color: #9572ad;
}
.wd-sheet .economy-tabs {
  background: #eee5f7;
  padding: 4px;
  border-radius: 14px;
  box-shadow: none;
}
.wd-sheet .economy-tabs button {
  font-size: 12px;
  border: 0;
  border-radius: 10px;
  color: #9b7dae;
  background: none;
}
.wd-sheet .economy-tabs button.on {
  background: #fff;
  color: #89609e;
  box-shadow: none;
}
.wd-sheet .economy-task,
.wd-sheet .economy-shop-card {
  background: #fff;
  border: 1px solid #e9ddf1;
  box-shadow: none;
  border-radius: 18px;
  padding: 16px;
  margin: 10px 0;
}
.wd-sheet .economy-task h3,
.wd-sheet .economy-shop-card h3 {
  font-size: 13px;
  font-weight: 800;
  color: #674578;
}
.wd-sheet .economy-task p,
.wd-sheet .economy-shop-card p {
  font-size: 11px;
  line-height: 1.5;
  color: #9f80af;
}
.wd-sheet .economy-task .economy-progress {
  height: 5px;
  background: #ede3f6;
}
.wd-sheet .economy-task .economy-progress i {
  background: #b28ace;
}
.wd-sheet .economy-primary,
.arcade-settings-done {
  background: #8555b8;
  color: #fff;
  border: 0;
  box-shadow: none;
  border-radius: 13px;
  padding: 14px;
  font-size: 13px;
  font-weight: 750;
}
.wd-sheet .economy-secondary {
  background: #f0e7f8;
  border: 1px solid #dfccea;
  color: #9872ae;
  border-radius: 13px;
  box-shadow: none;
}
.wd-sheet .economy-art {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: none;
}
.wd-sheet .economy-revive-hero h3 {
  font-size: 25px;
  letter-spacing: -0.03em;
}
.wd-sheet .economy-revive-hero p {
  font-size: 12px;
  line-height: 1.6;
  color: #9a7aa9;
}
.wd-sheet .economy-price-row {
  background: #eee4f7;
  border-radius: 15px;
  border: 0;
  color: #8c65a3;
}
.wd-sheet .economy-fine {
  font-size: 10px;
  color: #aa8eb9;
}
.arcade-settings header small {
  font-size: 8px;
  color: #b193c0;
  letter-spacing: 0.09em;
}
.arcade-settings h2 {
  font-size: 23px;
  letter-spacing: -0.03em;
}
.arcade-settings fieldset {
  background: #fff;
  border: 1px solid #eadff2;
  border-radius: 17px;
}
.arcade-settings p {
  font-size: 11px;
  line-height: 1.6;
  color: #aa8bb9;
}
.arcade-settings select {
  border-radius: 10px;
  background: #f1e9f8;
  color: #8b68a2;
  border: 1px solid #e4d3ef;
  padding: 9px;
}
.arcade-settings .arcade-rotate {
  background: #eee3f8;
  color: #966db0;
  border-radius: 13px;
  border: 1px solid #e1caef;
}
.ui-refresh button:active:not(:disabled) {
  opacity: 0.88;
}
.ui-refresh .wd-game-tile:active,
.ui-refresh .wd-shortcuts > button:active {
  transform: translateY(1px);
}
.ui-refresh.ui-motion-reduced .wd-page * {
  animation: none !important;
  transition: none !important;
}
@media (min-width: 560px) {
  #app.ui-refresh .wd-page {
    padding-left: 32px;
    padding-right: 32px;
  }
  .wd-header {
    height: 88px;
  }
  .wd-shortcuts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 12px;
  }
  .wd-shortcuts > button {
    flex-wrap: wrap;
    padding: 15px;
    min-height: 112px;
    position: relative;
  }
  .wd-shortcuts > button > span:nth-child(2) {
    flex-basis: 100%;
  }
  .wd-shortcuts b:last-child {
    position: absolute;
    right: 12px;
    top: 15px;
  }
  .wd-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .wd-catalog-grid.tests {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tests .wd-catalog-card {
    grid-template-columns: 68px minmax(0, 1fr);
  }
  .tests .wd-test-cover {
    width: 68px;
    height: 80px;
  }
  .wd-social-banner {
    min-height: 210px;
  }
  .wd-social-banner h2 {
    font-size: 32px;
  }
  .wd-social-banner p {
    font-size: 13px;
  }
  .wd-game-rail {
    margin-left: -32px;
    margin-right: -32px;
    padding-left: 32px;
    padding-right: 32px;
  }
  .wd-game-tile {
    flex-basis: 151px;
  }
  .wd-game-tile .wd-cover {
    width: 151px;
    height: 151px;
  }
}
@media (max-width: 359px) {
  #app.ui-refresh .wd-page {
    padding-left: 14px;
    padding-right: 14px;
  }
  .wd-header {
    height: 70px;
  }
  .wd-brand {
    font-size: 22px !important;
  }
  .wd-brand > span {
    font-size: 30px;
  }
  .wd-shortcuts {
    gap: 8px;
  }
  .wd-shortcuts > button {
    padding: 10px 8px;
    gap: 6px;
    min-height: 73px;
  }
  .wd-shortcuts strong {
    font-size: 12px;
  }
  .wd-shortcuts small {
    font-size: 9px;
  }
  .wd-shortcut-icon {
    width: 28px;
    height: 33px;
  }
  .wd-shortcut-icon svg {
    width: 21px;
    height: 21px;
  }
  .wd-section h2 {
    font-size: 17px;
  }
  .wd-catalog-grid {
    gap: 10px 8px;
  }
  .wd-catalog-copy {
    padding: 10px;
  }
  .wd-catalog-copy h3 {
    font-size: 13px;
  }
  .wd-catalog-copy p {
    font-size: 9px;
  }
  .wd-catalog-copy .wd-eyebrow {
    font-size: 7px;
  }
  .wd-intro h1 {
    font-size: 25px;
  }
  .wd-audiences > button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .tests .wd-catalog-card {
    grid-template-columns: 75px minmax(0, 1fr);
    padding: 10px;
    gap: 10px;
  }
  .tests .wd-test-cover {
    width: 75px;
    height: 85px;
  }
  .tests .wd-catalog-copy h3 {
    font-size: 12px;
  }
  .wd-social-banner h2 {
    font-size: 23px;
  }
  .wd-social-banner p {
    font-size: 10px;
  }
  .wd-banner-link {
    font-size: 9px;
  }
  .wd-menu > button {
    padding: 14px 12px;
    gap: 10px;
  }
  .wd-action-pair > button {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ui-refresh .wd-page * {
    animation: none !important;
    transition: none !important;
  }
}

/* Remove the retired world illustration layer; a single page surface owns the background. */
#app.ui-refresh::before,
#app.ui-refresh::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}
.ui-refresh .wd-game-rail {
  scroll-padding-inline: 20px;
}
.ui-refresh .wd-brand {
  font-weight: 800;
}
.ui-refresh .arrows-life {
  position: static;
  justify-content: flex-end;
  margin: 0 4px 12px;
  font-size: 12px;
}
.ui-refresh .arrows-life svg {
  width: 16px;
  height: 16px;
}
.ui-refresh .arrows-meta {
  padding-inline: 16px;
}
.ui-refresh .arrows-message {
  padding-inline: 16px;
}
.ui-refresh .arrows-mode-switch {
  margin-inline: 14px;
}
.ui-refresh .arrows-toolbar {
  margin-inline: 14px;
}
.ui-refresh .arrows-top {
  padding-inline: 16px;
}
.ui-refresh .arrows-top > div {
  flex: 1;
}
.ui-refresh .arrows-top h1 {
  font-size: 21px;
}
.ui-refresh .arrows-help {
  margin-left: auto;
}
.ui-refresh .wd-shortcuts small {
  color: #786d82;
}
.ui-refresh .wd-catalog-copy p {
  color: #75687e;
}
.ui-refresh .wd-catalog-meta {
  color: #82718f;
}
.ui-refresh .wd-eyebrow {
  color: #887194;
}
.ui-refresh .bottom .nav-pet-orb {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  top: -17px;
}
.ui-refresh .bottom .nav-pet-orb svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #fff;
}
.ui-refresh .bottom button.on .nav-symbol svg {
  fill: none;
}
@media (min-width: 560px) {
  .ui-refresh .wd-game-rail {
    scroll-padding-inline: 32px;
  }
}
@media (max-width: 359px) {
  .ui-refresh .wd-game-rail {
    scroll-padding-inline: 14px;
  }
}
.ui-refresh .mode-sheet > .wd-cover {
  width: 90px;
  height: 90px;
  margin: 0 auto 18px;
  border-radius: 23px;
}
.ui-refresh .wordle-wait > .wd-cover {
  width: 100px;
  height: 100px;
  margin: 0 auto 18px;
  border-radius: 24px;
}
.ui-refresh .quiz-preview > .wd-test-cover {
  width: 100px;
  height: 100px;
  border-radius: 25px;
  margin: 0 auto 20px;
}
.ui-refresh .wordle-panel {
  background: #fff;
  border: 1px solid #e8e0ef;
  box-shadow: none;
  border-radius: 22px;
}
.ui-refresh .wordle-cell {
  box-shadow: none;
  border-radius: 9px;
  border: 1px solid #e2d7ec;
  background: #f6f1fa;
  color: #655071;
}
.ui-refresh .wordle-cell.correct {
  background: #81b69a;
  border-color: #81b69a;
  color: #fff;
}
.ui-refresh .wordle-cell.present {
  background: #d3ba73;
  border-color: #d3ba73;
  color: #fff;
}
.ui-refresh .wordle-cell.absent {
  background: #bdb3c7;
  border-color: #bdb3c7;
  color: #fff;
}
.ui-refresh .wordle-cell.revealed {
  background: #a47bc8;
  border-color: #a47bc8;
  color: #fff;
}
.ui-refresh .wordle-round-heading h2 {
  font-size: 19px;
}
.ui-refresh .wordle-round-heading p {
  font-size: 11px;
  color: #957ca2;
}
.ui-refresh .wordle-history summary {
  font-size: 12px;
  color: #8e739f;
}
/* Align arcade controls without repainting or filtering their canvases. */
.ui-refresh
  :is(.dunk-top, .dash-top, .touch-top, .rise-top, .paper-top, .slither-top) {
  box-shadow: none;
  border: 0;
  gap: 9px;
  padding-inline: 16px;
  min-height: 62px;
}
.ui-refresh
  :is(.dunk-top, .dash-top, .touch-top, .rise-top, .paper-top, .slither-top)
  h1 {
  font-size: 21px;
  letter-spacing: -0.035em;
}
.ui-refresh
  :is(.dunk-top, .dash-top, .touch-top, .rise-top, .paper-top, .slither-top)
  button {
  border-radius: 13px;
  box-shadow: none;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.ui-refresh :is(.dunk-hud, .touch-hud, .rise-hud, .paper-hud) {
  padding-block: 12px;
  border-bottom: 1px solid #e9e0f0;
  box-shadow: none;
}
.ui-refresh :is(.dunk-hud, .touch-hud, .rise-hud, .paper-hud) strong {
  font-size: 24px;
}
.ui-refresh :is(.dunk-hud, .touch-hud, .rise-hud, .paper-hud) span {
  font-size: 8px;
  letter-spacing: 0.08em;
}
.ui-refresh
  :is(.dunk-dialog, .dash-dialog, .touch-dialog, .rise-dialog, .paper-dialog) {
  border-radius: 25px;
  box-shadow: 0 12px 36px #34203f14;
  border: 1px solid #e5d8f0;
  background: #fdfaff;
  color: #574064;
  padding: 25px 22px;
}
.ui-refresh
  :is(.dunk-dialog, .dash-dialog, .touch-dialog, .rise-dialog, .paper-dialog)
  h2 {
  font-size: 27px;
  line-height: 1.17;
  letter-spacing: -0.035em;
  color: #4a315a;
}
.ui-refresh
  :is(.dunk-dialog, .dash-dialog, .touch-dialog, .rise-dialog, .paper-dialog)
  p {
  font-size: 12px;
  line-height: 1.65;
  color: #9775a8;
}
.ui-refresh :is(.dunk-primary, .touch-primary, .rise-primary, .paper-primary) {
  background: #8a58bf;
  border-radius: 14px;
  box-shadow: none;
  border: 0;
  color: #fff;
  padding: 13px 18px;
  font-size: 13px;
  min-height: 44px;
}
.ui-refresh :is(.dunk-modes, .paper-modes) button {
  background: #f0e5f7;
  color: #a283b3;
  border: 1px solid #e2cfee;
  border-radius: 11px;
  font-size: 11px;
}
.ui-refresh :is(.dunk-modes, .paper-modes) button[aria-pressed="true"] {
  background: #ad85cc;
  color: #fff;
}
.ui-refresh
  :is(
    .touch-footer,
    .rise-footer,
    .paper-footer,
    .slither-footer,
    .dunk-footer,
    .dash-footer
  ) {
  font-size: 10px;
  padding: 10px 16px;
}
.ui-refresh
  :is(
    .touch-footer,
    .rise-footer,
    .paper-footer,
    .slither-footer,
    .dunk-footer,
    .dash-footer
  )
  button {
  font-size: 10px;
  border-radius: 12px;
}
.ui-refresh .arcade-settings-button {
  color: #9b73b3;
  background: #fffbff;
  border: 1px solid #e6d4ef;
  border-radius: 12px !important;
}
@media (max-width: 359px) {
  .ui-refresh
    :is(.dunk-top, .dash-top, .touch-top, .rise-top, .paper-top, .slither-top) {
    padding-inline: 10px;
    gap: 5px;
  }
  .ui-refresh
    :is(.dunk-top, .dash-top, .touch-top, .rise-top, .paper-top, .slither-top)
    h1 {
    font-size: 18px;
  }
  .ui-refresh
    :is(.dunk-top, .dash-top, .touch-top, .rise-top, .paper-top, .slither-top)
    button {
    width: 31px;
    height: 31px;
  }
  .ui-refresh .dash-score {
    min-width: 29px;
  }
  .ui-refresh .dash-coins {
    gap: 2px;
  }
}

.ui-refresh .bottom > button > span:last-child {
  font-size: 10px !important;
}
.ui-refresh .wd-catalog-copy p {
  font-size: 11px;
  min-height: 50px;
}
.ui-refresh .wd-catalog-meta {
  font-size: 10px;
}
.ui-refresh .tests .wd-catalog-copy p {
  min-height: 0;
}
.ui-refresh .wd-menu small,
.ui-refresh .wd-records small,
.ui-refresh .wd-friend-list small {
  color: #81708e;
}
.ui-refresh .wd-settings-card p,
.ui-refresh .wd-info p {
  color: #7c688a;
}
.wd-sheet .economy-task p {
  color: #7b6389;
}
.wd-sheet .economy-task h3 {
  color: #4e365f;
}
.wd-sheet .economy-task-progress > div > i {
  background: #af87d1;
}
.wd-sheet .economy-task-progress > div {
  background: #eee5f6;
}
.ui-refresh .wd-identity > small {
  color: #876799;
}
.ui-refresh .wd-stats span {
  color: #867191;
}
.ui-refresh .arrows-life {
  position: absolute;
  right: 111px;
  top: 29px;
  margin: 0;
  font-size: 11px;
  gap: 3px;
}
.ui-refresh .arrows-life svg {
  width: 13px;
  height: 13px;
}
.ui-refresh .arrows-life span {
  font-size: 9px;
}
.ui-refresh .arrows-mode-switch {
  margin-top: 5px;
  margin-bottom: 8px;
}
.ui-refresh .arrows-mode-switch > button {
  padding-block: 8px;
}
.ui-refresh .arrows-meta {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 10px;
}
.ui-refresh .arrows-message {
  margin: 9px 0 6px;
  min-height: 20px;
  font-size: 10px;
}
.ui-refresh .arrows-toolbar {
  margin-top: 12px;
}
.ui-refresh .arrows-top > button {
  width: 36px;
  height: 36px;
}
.ui-refresh .arrows-top {
  gap: 9px;
}
.ui-refresh .arrows-top > div {
  padding-right: 48px;
}
.ui-refresh .arrows-top h1 {
  font-size: 19px;
}

.ui-refresh .arrows-board {
  width: 100%;
  height: 100%;
}
.wd-sheet .economy-missions-hero {
  min-height: 90px;
  margin: 12px 0;
}
.wd-sheet .economy-missions-hero h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 6px 0;
}
.wd-sheet .economy-missions-hero .economy-art {
  width: 78px;
  height: 86px;
}
.wd-sheet .economy-missions-hero p {
  font-size: 10px;
  margin: 6px 0;
  color: #8e729e;
}
.wd-sheet .economy-balance-line {
  padding: 10px 12px;
  margin-bottom: 12px;
  background: #f1eaf8;
  border: 1px solid #e9def2;
}
.wd-sheet .economy-task-list {
  gap: 0;
}
.wd-sheet .economy-task {
  margin: 7px 0;
}
.wd-sheet .economy-task-action {
  color: #9370a7;
  background: #f0e7f8;
  border: 1px solid #e6d6f0;
}
.wd-sheet .economy-task button:disabled {
  opacity: 0.65;
}
.ui-refresh .wd-game-tile strong {
  font-size: 14px;
}
.ui-refresh .wd-game-tile small {
  font-size: 10px;
  color: #87748f;
}
.ui-refresh .wd-ttt-card {
  margin: 0 16px 18px;
  background: #fff;
  border: 1px solid #e6dbef;
  border-radius: 24px;
  padding: 20px 16px;
}
.wd-ttt-players {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wd-ttt-players > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 9px;
  border-radius: 14px;
  background: #f8f4fc;
  padding: 12px;
  border: 1px solid #eee5f4;
}
.wd-ttt-players > div.current {
  border-color: #b395d2;
  background: #f1e9f9;
}
.wd-ttt-players b {
  grid-row: 1/3;
  align-self: center;
  color: #9c73c2;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
}
.wd-ttt-players > div:nth-child(2) b {
  color: #d9959f;
}
.wd-ttt-players span {
  font-size: 11px;
  color: #745d84;
  overflow-wrap: anywhere;
  font-weight: 800;
}
.wd-ttt-players small {
  font-size: 9px;
  color: #aa90b7;
}
.wd-ttt-status {
  text-align: center;
  font-size: 12px;
  color: #9472aa;
  margin: 20px 0 10px;
}
.ui-refresh .wd-ttt-card .board {
  gap: 9px;
  margin: 16px auto;
}
.ui-refresh .wd-ttt-card .board button {
  font-size: 53px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #f1eaf8;
}
.ui-refresh .wd-ttt-card .board button.o {
  color: #d18b97;
}
.wd-empty-cell {
  width: 5px;
  height: 5px;
  background: #d9cae7;
  border-radius: 50%;
}
.ui-refresh .lobby-card {
  margin: 0 16px 18px;
  padding: 24px;
  text-align: center;
}
.ui-refresh .lobby-card > .wd-cover {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  margin: 0 auto 20px;
}
.ui-refresh .lobby-card h2 {
  font-size: 22px;
  margin: 0 0 12px;
}
.ui-refresh .lobby-card p {
  font-size: 12px;
  color: #897193;
  line-height: 1.6;
}
.ui-refresh .lobby-card > button {
  margin-top: 10px;
}
.ui-refresh > .top .brand {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #a083af;
}
.ui-refresh > .top h1 {
  font-size: 24px;
  margin-top: 7px;
}
/* Real names may be longer than the sample: grow the hero instead of clipping them. */
.ui-refresh .bottom > button > span:last-child {
  font-size: 11px !important;
}
@media (min-width: 560px) {
}
@media (max-width: 359px) {
  .ui-refresh .bottom > button > span:last-child {
    font-size: 10px !important;
  }
}
/* Secondary copy remains readable on the pastel surfaces. */
.ui-refresh :is(.quiz-result, .quiz-waiting, .quiz-invite-card) > p {
  color: #786783;
  font-size: 12px;
  line-height: 1.65;
}
.ui-refresh .quiz-result blockquote {
  color: #7a638b;
  font-size: 12px;
  line-height: 1.65;
}
.ui-refresh .quiz-method {
  color: #8b7a97 !important;
  font-size: 10px !important;
  line-height: 1.65;
}
.ui-refresh .quiz-result-label {
  color: #8b60b2;
}
.ui-refresh .quiz-secondary {
  color: #89669c;
  font-weight: 650;
}
.ui-refresh .quiz-privacy {
  font-size: 10px;
  color: #917d9e;
}
.ui-refresh .quiz-review summary {
  font-size: 11px;
  color: #9170a4;
}
.ui-refresh .quiz-review article p {
  color: #7e688c;
  font-size: 12px;
}
.ui-refresh .wd-social-banner p {
  color: #725c82;
}
.ui-refresh .wd-card-details p {
  color: #786385;
}
/* Game history/help sheets belong to the same UI system as pause and results. */
.ui-refresh dialog {
  font-family: WeduelUI, Manrope, system-ui, sans-serif;
  background: #fcfaff;
  color: #5c466b;
  border: 1px solid #e5d9ef;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 12px 40px #3020371c;
  max-height: 85dvh;
  overflow-y: auto;
}
.ui-refresh dialog::backdrop {
  background: #29213277;
  backdrop-filter: none;
}
.ui-refresh dialog h2 {
  font-size: 22px;
  margin-top: 0;
  color: #51395f;
}
.ui-refresh dialog p,
.ui-refresh dialog li {
  font-size: 12px;
  line-height: 1.6;
  color: #876b99;
}
.ui-refresh dialog small {
  font-size: 10px;
  color: #a087af;
}
.ui-refresh dialog > div > button {
  background: #f1e7f8;
  color: #9470a8;
  border: 0;
  border-radius: 50%;
}
.ui-refresh .dunk-over,
.ui-refresh .slither-dialog {
  background: #fcfaff;
  color: #684e79;
  border: 1px solid #e4d6ee;
  border-radius: 24px;
  box-shadow: 0 10px 32px #35203e14;
}
.ui-refresh .slither-dialog h2,
.ui-refresh .dunk-over h2 {
  color: #51395f;
  font-size: 26px;
  line-height: 1.2;
}
.ui-refresh .slither-dialog p,
.ui-refresh .dunk-over p {
  font-size: 12px;
  line-height: 1.6;
  color: #977ca7;
}
