/* WEDUEL / club print language. The pet page and all physics/render loops are excluded. */
@font-face {
  font-family: ClubDisplay;
  src: url("/fonts/club-display.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
#app.ui-refresh {
  --wd-bg: #f5f1e8;
  --wd-surface: #fffdf7;
  --wd-ink: #30233f;
  --wd-muted: #786b7e;
  --wd-line: #d8ced7;
  --wd-violet: #7952cc;
  --wd-lilac: #e7dcf2;
  --wd-mint: #e3edc6;
  --club-lime: #ddf57b;
  background: #f5f1e8;
  color: var(--wd-ink);
}
#app.ui-refresh :is(h1, h2) {
  font-family: ClubDisplay, WeduelUI, sans-serif;
  font-weight: 600;
  letter-spacing: -0.045em;
}
#app.ui-refresh :is(button, input, select) {
  accent-color: #7952cc;
}
#app.ui-refresh .wd-header {
  height: 74px;
  border-bottom: 1px solid #30233f25;
  gap: 8px;
}
#app.ui-refresh .wd-brand {
  font-family: ClubDisplay, WeduelUI, sans-serif;
  font-weight: 700;
  font-size: 20px !important;
  letter-spacing: -1.1px;
  gap: 8px;
  color: #30233f;
}
#app.ui-refresh .wd-brand .wd-club-mark {
  width: 27px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1.5px solid #30233f;
  border-radius: 6px;
  background: #ddf57b;
  color: #30233f;
  font-family: Manrope, sans-serif;
  font-size: 25px;
  line-height: 1;
  transform: rotate(-8deg);
}
#app.ui-refresh .wd-wallet {
  background: transparent;
  border: 1px solid #cbbfd0;
  border-radius: 9px;
  height: 36px;
  min-height: 36px;
  color: #30233f;
}
#app.ui-refresh .wd-my-games {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #564465;
  padding-right: 0;
  font-size: 10px;
  gap: 5px;
}
#app.ui-refresh .wd-my-games b {
  background: #ddf57b;
  color: #30233f;
  border: 1px solid #30233f;
  border-radius: 5px;
  height: 18px;
}
#app.ui-refresh .wd-header .wd-wallet img {
  width: 19px;
  height: 19px;
}
#app.ui-refresh .wd-core-shortcuts {
  margin-top: 17px;
  gap: 10px;
}
#app.ui-refresh .wd-core-shortcuts > button {
  border: 1px solid #30233f;
  border-radius: 12px;
  box-shadow: none;
  min-height: 78px;
  padding: 13px 12px;
  gap: 10px;
}
#app.ui-refresh .wd-core-shortcuts > button:first-child {
  background: #7952cc;
  color: #fffdf7;
  box-shadow: 2px 2px 0 #30233f;
}
#app.ui-refresh .wd-core-shortcuts > button:last-child {
  background: #ede4bd;
  color: #30233f;
}
#app.ui-refresh .wd-core-shortcuts > button strong {
  font-size: 16px;
  font-weight: 800;
}
#app.ui-refresh .wd-core-shortcuts > button:first-child small {
  color: #eee4ff;
}
#app.ui-refresh .wd-core-shortcuts > button:last-child small {
  color: #77634b;
}
#app.ui-refresh .wd-core-shortcuts > button:first-child b:last-child {
  color: #ddf57b;
}
#app.ui-refresh .wd-core-shortcuts > button:last-child b:last-child {
  color: #30233f;
}
#app.ui-refresh .wd-core-shortcuts .wd-shortcut-icon {
  width: 28px;
  height: 32px;
  background: none;
  border-radius: 0;
  color: inherit;
}
#app.ui-refresh .wd-core-shortcuts .wd-shortcut-icon svg {
  width: 26px;
  height: 26px;
}
#app.ui-refresh .wd-section {
  margin: 26px 0 13px;
  gap: 9px;
}
#app.ui-refresh .wd-section h2 {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}
#app.ui-refresh .wd-section > button {
  font-size: 10px;
  color: #7952cc;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#app.ui-refresh .wd-cover,
#app.ui-refresh .wd-test-cover {
  position: relative;
  display: block;
  background-image: none !important;
  background-color: #e7dcf2;
  background-size: auto;
  border-radius: 9px;
  overflow: hidden;
}
#app.ui-refresh :is(.wd-cover, .wd-test-cover) > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#app.ui-refresh .wd-game-tile .wd-cover {
  border: 1px solid #30233f;
  border-radius: 10px;
}
#app.ui-refresh .wd-game-tile strong {
  font-size: 14px;
  color: #30233f;
  margin-top: 9px;
}
#app.ui-refresh .wd-game-tile small {
  font-size: 10px;
  color: #817287;
}
#app.ui-refresh .wd-quest-preview {
  border-radius: 10px;
  border: 1px solid #cabdd2;
  background: #ebe4ee;
  box-shadow: none;
  padding: 13px 12px;
  gap: 11px;
}
#app.ui-refresh .wd-quest-preview .wd-shortcut-icon {
  background: none !important;
  color: #6f527d !important;
  width: 25px;
  height: 29px;
  border-radius: 0;
}
#app.ui-refresh .wd-quest-preview strong {
  font-size: 12px;
  color: #493355;
}
#app.ui-refresh .wd-quest-preview small {
  color: #7c6586;
  font-size: 10px;
}
#app.ui-refresh .wd-quest-preview i {
  height: 3px;
  border-radius: 0;
  background: #d4c5df;
}
#app.ui-refresh .wd-quest-preview em {
  border-radius: 0;
  background: #7952cc;
}
#app.ui-refresh .wd-quest-preview.ready {
  background: #ddf57b;
  border-color: #30233f;
}
#app.ui-refresh .wd-quest-preview > b {
  font-size: 18px;
  color: #7952cc;
}
#app.ui-refresh .wd-social-banner {
  position: relative;
  isolation: isolate;
  min-height: 184px;
  border: 1px solid #30233f;
  border-radius: 12px;
  background: #ddf57b;
  box-shadow: 3px 3px 0 #30233f;
  margin-bottom: 4px;
  overflow: hidden;
  padding: 22px;
}
#app.ui-refresh .wd-social-banner:before {
  content: "+";
  font-family: ClubDisplay, sans-serif;
  font-size: 160px;
  font-weight: 600;
  line-height: 1;
  position: absolute;
  left: auto;
  right: -16px;
  top: -2px;
  width: 134px;
  height: 160px;
  background: none;
  transform: rotate(-10deg);
  color: #7952cc;
  z-index: -1;
}
#app.ui-refresh .wd-social-banner:after {
  content: "";
  position: absolute;
  right: 19px;
  bottom: 13px;
  width: 58px;
  height: 75px;
  border: 2px solid #30233f;
  border-radius: 8px;
  background: #f5f1e8;
  transform: rotate(13deg);
  z-index: -1;
}
#app.ui-refresh .wd-social-banner h2 {
  font-size: 24px;
  max-width: 70%;
  margin: 9px 0 13px;
  line-height: 1.13;
  color: #30233f;
}
#app.ui-refresh .wd-social-banner p {
  max-width: 66%;
  font-size: 11px;
  color: #5c4b53;
  line-height: 1.5;
}
#app.ui-refresh .wd-social-banner .wd-eyebrow {
  color: #655674;
  font-size: 8px;
  letter-spacing: 0.1em;
}
#app.ui-refresh .wd-banner-link {
  font-size: 10px;
  color: #30233f;
  font-weight: 800;
  max-width: 80%;
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* Catalog: illustrated boxes, ink dividers and purposeful controls instead of pill stacks. */
#app.ui-refresh .catalog-toggle {
  background: transparent;
  border: 0;
  padding: 0;
  border-bottom: 1px solid #cbbfd0;
  border-radius: 0;
  gap: 16px;
  margin-top: 8px;
  margin-bottom: 22px;
}
#app.ui-refresh .catalog-toggle > button {
  border-radius: 0;
  padding: 12px 8px;
  min-height: 44px;
  font-size: 13px;
  color: #8a7c91;
  background: none;
  box-shadow: none;
  border-bottom: 3px solid transparent;
}
#app.ui-refresh .catalog-toggle > button.on {
  color: #30233f;
  border-bottom-color: #7952cc;
  background: none;
  box-shadow: none;
}
#app.ui-refresh .catalog-toggle svg {
  width: 20px;
  height: 20px;
}
#app.ui-refresh .wd-catalog-focused .wd-intro h1 {
  font-size: 23px;
  letter-spacing: -0.06em;
  line-height: 1.3;
}
#app.ui-refresh .wd-audiences {
  gap: 14px;
  margin-top: 2px;
  margin-bottom: 14px;
  padding: 0;
}
#app.ui-refresh .wd-audiences > button {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 7px 1px;
  min-height: 34px;
  color: #8d7b98;
  font-size: 11px;
  border-bottom: 2px solid transparent;
}
#app.ui-refresh .wd-audiences > button.on {
  border-bottom-color: #30233f;
  background: none;
  color: #30233f;
  font-weight: 800;
}
#app.ui-refresh
  :is(.wd-search, .wd-favorite-filter, .wd-search-tools .wd-filters > summary) {
  background: #fffdf7;
  border: 1px solid #c8b9cd;
  border-radius: 9px;
  color: #7e658d;
}
#app.ui-refresh .wd-favorite-filter.on {
  background: #ddf57b;
  border-color: #30233f;
  color: #30233f;
}
#app.ui-refresh .wd-search input {
  color: #30233f;
  font-size: 12px;
}
#app.ui-refresh .wd-search input::placeholder {
  color: #9e8ba5;
}
#app.ui-refresh .wd-filter-grid {
  border: 1px solid #c8b9cd;
  border-radius: 10px;
  background: #fffdf7;
}
#app.ui-refresh .wd-filter-grid label {
  color: #71597e;
}
#app.ui-refresh .wd-filter-grid select {
  border-radius: 7px;
  background: #f5f1e8;
  border-color: #d2c4d7;
  color: #50375d;
}
#app.ui-refresh .wd-filter-actions button {
  border-radius: 7px;
  border-color: #b9a4c7;
  color: #7952cc;
  background: transparent;
}
#app.ui-refresh .wd-filter-actions button:last-child {
  background: #7952cc;
  color: #fff;
  border-color: #7952cc;
}
#app.ui-refresh .wd-selected-filters > button {
  border-radius: 6px;
  background: #e6efc9;
  border-color: #b3bd93;
  color: #54496a;
}
#app.ui-refresh .wd-results-summary {
  font-size: 10px;
  color: #9b8ba2;
  letter-spacing: 0.03em;
  min-height: 37px;
}
#app.ui-refresh .wd-catalog-card {
  border: 1px solid #30233f;
  border-radius: 12px;
  background: #fffdf7;
  box-shadow: none;
}
#app.ui-refresh .wd-cover-button {
  border-bottom: 1px solid #30233f;
  border-radius: 0;
  background: transparent;
}
#app.ui-refresh .wd-cover-button .wd-cover {
  border-radius: 0;
}
#app.ui-refresh .wd-catalog-copy {
  padding: 12px 11px 11px;
}
#app.ui-refresh .wd-catalog-copy h3 {
  font-size: 15px;
  font-weight: 800;
  color: #30233f;
  letter-spacing: -0.035em;
  margin-top: 7px;
}
#app.ui-refresh .wd-catalog-copy p {
  color: #817087;
  font-size: 11px;
}
#app.ui-refresh .wd-catalog-meta {
  color: #9b84a4;
  font-size: 10px;
}
#app.ui-refresh .wd-catalog-copy > .wd-eyebrow {
  font-size: 9px;
  color: #94769f;
  letter-spacing: 0;
}
#app.ui-refresh .wd-catalog-focused .wd-card-play {
  border-radius: 7px;
  background: #7952cc;
  color: #fffdf7;
  min-height: 42px;
  font-size: 11px;
}
#app.ui-refresh .wd-catalog-focused .wd-card-info {
  border-radius: 7px;
  color: #7952cc;
  border: 1px solid #d2bedb;
  background: #fffdf7;
  height: 42px;
}
#app.ui-refresh .wd-favorite {
  border: 1px solid #30233f;
  border-radius: 8px;
  background: #f5f1e8;
  color: #30233f;
  width: 34px;
  height: 34px;
  padding: 7px;
  right: 9px;
  top: 9px;
}
#app.ui-refresh .wd-favorite.on {
  background: #ddf57b;
  color: #30233f;
}
#app.ui-refresh .tests .wd-catalog-card {
  border: 0;
  border-bottom: 1px solid #c7b8d0;
  border-radius: 0;
  background: transparent;
  padding: 13px 0;
  gap: 14px;
  grid-template-columns: 88px minmax(0, 1fr);
}
#app.ui-refresh .tests .wd-cover-button {
  border: 1px solid #30233f;
  border-radius: 8px;
}
#app.ui-refresh .tests .wd-test-cover {
  width: 86px;
  height: 96px;
  border-radius: 0;
}
#app.ui-refresh .tests .wd-catalog-copy {
  padding: 0;
}
#app.ui-refresh .tests .wd-favorite {
  right: 0;
  top: 11px;
  width: 30px;
  height: 30px;
  padding: 6px;
  border: 0;
  background: transparent;
  color: #8c6f9d;
}
#app.ui-refresh .tests .wd-favorite.on {
  color: #7952cc;
  background: #ddf57b;
}
#app.ui-refresh .wd-catalog-focused .tests .wd-card-play {
  justify-content: space-between;
  padding: 8px 0;
  min-height: 34px;
  background: transparent;
  color: #7952cc;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 11px;
}
#app.ui-refresh .wd-catalog-focused .tests .wd-catalog-copy h3 {
  padding-right: 29px;
  font-size: 14px;
}
#app.ui-refresh .wd-catalog-focused .tests .wd-card-actions {
  margin-top: 4px;
}
#app.ui-refresh .wd-catalog-focused .tests .wd-catalog-copy p {
  font-size: 11px;
  line-height: 1.5;
}
/* People, activity and profile use the same stationery, with real data as the content. */
#app.ui-refresh .wd-intro h1 {
  font-size: 25px;
  line-height: 1.3;
}
#app.ui-refresh .wd-friends-empty {
  border: 1px solid #30233f;
  border-radius: 13px;
  background: #fffdf7;
  padding: 0 20px 22px;
}
#app.ui-refresh .wd-friends-art {
  height: 155px;
  margin: 0 -20px 22px;
  background: #d7c5f0;
  mask-image: none;
  border-bottom: 1px solid #30233f;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
#app.ui-refresh .wd-friends-art img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  object-position: center;
  transform: translateY(-17px);
}
#app.ui-refresh .wd-friends-empty h2 {
  font-size: 22px;
  margin: 0 0 13px;
}
#app.ui-refresh .wd-friends-empty > p {
  font-size: 12px;
  color: #806c8a;
}
#app.ui-refresh :is(.wd-primary, .primary) {
  border: 1px solid #30233f;
  border-radius: 9px;
  background: #7952cc;
  color: #fffdf7;
  box-shadow: 2px 2px 0 #30233f;
  font-weight: 750;
}
#app.ui-refresh :is(.wd-secondary, .soft) {
  border: 1px solid #bcabc8;
  border-radius: 9px;
  background: #f5f1e8;
  color: #7952cc;
  box-shadow: none;
}
#app.ui-refresh .wd-invite-steps {
  border-top-color: #d6c6df;
  gap: 14px;
}
#app.ui-refresh .wd-invite-steps b {
  background: #ddf57b;
  color: #30233f;
  border: 1px solid #30233f;
  border-radius: 5px;
  transform: rotate(-5deg);
}
#app.ui-refresh .wd-invite-steps li {
  color: #80658e;
}
#app.ui-refresh :is(.wd-friend-list, .wd-resume, .wd-records) {
  background: #fffdf7;
  border: 1px solid #cdbbd8;
  border-radius: 11px;
}
#app.ui-refresh
  :is(.wd-activity-row, .wd-friend-list > button, .wd-records > button) {
  background: transparent;
  color: #30233f;
}
#app.ui-refresh .wd-activity-row > .wd-cover {
  border: 1px solid #30233f;
  border-radius: 7px;
}
#app.ui-refresh .wd-test-symbol {
  border: 1px solid #ad95bd;
  background: #dfccea;
  border-radius: 7px;
  color: #7952cc;
}
#app.ui-refresh .wd-activity-row > b {
  color: #7952cc;
}
#app.ui-refresh .wd-activity-row small {
  color: #93739f;
}
#app.ui-refresh .wd-activity-row small:last-child {
  color: #ad95b7;
}
#app.ui-refresh .wd-invite-again {
  border-radius: 6px;
  background: #e8def2;
  color: #7952cc;
  border: 1px solid #c9b5d8;
}
#app.ui-refresh .wd-tabs:not(.catalog-toggle) {
  background: transparent;
  border: 1px solid #bda7ca;
  border-radius: 9px;
  padding: 3px;
  gap: 3px;
}
#app.ui-refresh .wd-tabs:not(.catalog-toggle) > button {
  border-radius: 6px;
  background: transparent;
  color: #9573a7;
}
#app.ui-refresh .wd-tabs:not(.catalog-toggle) > button.on {
  background: #e5d7f0;
  color: #674187;
  box-shadow: none;
}
#app.ui-refresh .wd-page-top {
  border-bottom: 1px solid #30233f25;
  margin-bottom: 18px;
  padding: 21px 0 17px;
}
#app.ui-refresh .wd-page-top h1 {
  font-size: 21px;
  line-height: 1.3;
}
#app.ui-refresh .wd-page-top small {
  color: #a384b1;
  font-size: 8px;
  letter-spacing: 0.1em;
}
#app.ui-refresh .wd-icon-button {
  border-radius: 9px;
  border: 1px solid #d1bede;
  color: #7952cc;
  background: #fffdf7;
}
#app.ui-refresh .wd-profile-focused .wd-identity,
#app.ui-refresh .wd-friend-identity {
  border-radius: 12px;
  background: #d7c5f0;
  border: 1px solid #30233f;
}
#app.ui-refresh .wd-profile-focused .wd-identity h2 {
  font-family: WeduelUI, sans-serif;
  font-size: 20px;
  font-weight: 800;
}
#app.ui-refresh .wd-profile-focused .wd-avatar.large,
#app.ui-refresh .wd-avatar {
  background: #30233f;
  border: 1px solid #30233f;
  border-radius: 9px;
  color: #ddf57b;
  box-shadow: 3px 3px 0 #f5f1e8;
  font-family: ClubDisplay, sans-serif;
  transform: rotate(-4deg);
}
#app.ui-refresh .wd-level-badge {
  background: #f5f1e8;
  border: 1px solid #8c70a1;
  border-radius: 5px;
  color: #7952cc;
}
#app.ui-refresh .wd-xp {
  border-radius: 0;
  background: #b29bc9;
  height: 4px;
}
#app.ui-refresh .wd-xp i {
  background: #30233f;
  border-radius: 0;
}
#app.ui-refresh .wd-stats {
  border-color: #cdbad8;
}
#app.ui-refresh .wd-stats b {
  font-family: ClubDisplay, sans-serif;
  font-size: 21px;
  color: #30233f;
}
#app.ui-refresh .wd-stats span {
  color: #9b78ad;
}
#app.ui-refresh .wd-menu {
  border: 0;
  border-radius: 0;
  background: transparent;
  margin-top: 0;
}
#app.ui-refresh .wd-menu > button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d0bada;
  padding: 16px 0 !important;
  gap: 14px;
}
#app.ui-refresh .wd-menu > button:first-child {
  border-top: 1px solid #d0bada;
}
#app.ui-refresh .wd-menu-icon {
  border-radius: 0;
  background: none !important;
  color: #7952cc;
  width: 27px;
  height: 30px;
}
#app.ui-refresh .wd-menu-icon svg {
  width: 22px;
  height: 22px;
}
#app.ui-refresh .wd-menu strong {
  font-size: 13px;
}
#app.ui-refresh .wd-menu small {
  font-size: 10px;
  color: #9872ad;
}
#app.ui-refresh .wd-menu > button > b {
  color: #b395c3;
  font-size: 20px;
}
#app.ui-refresh .wd-pet-link {
  background: #e4dcc6;
  border: 1px solid #c6b58d;
  border-radius: 9px;
  color: #7f6850;
}
#app.ui-refresh :is(.wd-settings-card, .wd-info, .wd-empty) {
  background: #fffdf7;
  border: 1px solid #cfbbdc;
  border-radius: 12px;
}
#app.ui-refresh .wd-settings-card h2 {
  font-size: 17px;
}
#app.ui-refresh .wd-settings-card select {
  background: #f5f1e8;
  border: 1px solid #ceb9dc;
  border-radius: 7px;
}
#app.ui-refresh .wd-info summary {
  color: #75518f;
}
#app.ui-refresh .wd-empty-mark {
  background: #ddf57b;
  border: 1px solid #30233f;
  border-radius: 10px;
  color: #30233f;
}
#app.ui-refresh .wd-achievement-hero {
  background: #30233f;
  color: #ddf57b;
  border: 1px solid #30233f;
  border-radius: 12px;
}
#app.ui-refresh .wd-achievement-hero > svg {
  color: #ddf57b;
}
#app.ui-refresh .wd-achievement-hero h2 {
  color: #ddf57b;
}
#app.ui-refresh .wd-achievement-hero p {
  color: #d7c5f0;
}
/* Shared sheets and game chrome. Playfield colors and semantic letter marks stay game-specific. */
#app.ui-refresh .mode-backdrop {
  background: #30233f80;
  backdrop-filter: none;
}
#app.ui-refresh .mode-sheet {
  border: 1px solid #30233f;
  background: #fffdf7;
  border-radius: 19px 19px 0 0;
  box-shadow: none;
  padding-top: 29px;
}
#app.ui-refresh .mode-sheet h2 {
  font-size: 24px;
  line-height: 1.2;
}
#app.ui-refresh .mode-sheet > .wd-cover,
#app.ui-refresh .mode-sheet > .wd-test-cover {
  border: 1px solid #30233f;
  border-radius: 10px;
}
#app.ui-refresh .mode-close {
  border: 1px solid #cab2dc;
  background: #efe3f6;
  color: #8b5cac;
  border-radius: 9px;
}
#app.ui-refresh .mode-option {
  background: #f5f1e8;
  border: 1px solid #b99acb;
  border-radius: 10px;
  box-shadow: none;
}
#app.ui-refresh .mode-option b {
  color: #694584;
}
#app.ui-refresh .mode-option small {
  color: #a382b4;
}
#app.ui-refresh .wd-how-to,
#app.ui-refresh .quiz-preview-explainer {
  border: 1px solid #d4bfdf;
  background: #f1e9f5;
  border-radius: 9px;
}
#app.ui-refresh .wd-how-to h3 {
  color: #694584;
}
#app.ui-refresh .quiz-preview-meta span {
  border-radius: 5px;
  background: #ede5d3;
  color: #917b54;
}
#app.ui-refresh .quiz-preview-method {
  border-color: #d7c0e5;
}
#app.ui-refresh .quiz-question {
  border: 1px solid #cbb1dc;
  border-radius: 13px;
  background: #fffdf7;
  box-shadow: none;
}
#app.ui-refresh .quiz-question h2 {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.04em;
}
#app.ui-refresh .quiz-choices > button {
  border: 1px solid #d5bee2;
  background: #f7f1f8;
  border-radius: 9px;
  color: #795587;
  box-shadow: none;
}
#app.ui-refresh .quiz-choices > button.selected {
  border-color: #7952cc;
  background: #e4efc7;
  color: #4b3a59;
}
#app.ui-refresh .quiz-choices > button > span {
  border: 1px solid #c8adda;
  border-radius: 5px;
  background: #e5d4f0;
  color: #9568ab;
}
#app.ui-refresh :is(.quiz-result, .quiz-waiting, .quiz-invite-card) {
  border: 1px solid #c7acda;
  border-radius: 13px;
  background: #fffdf7;
  box-shadow: none;
}
#app.ui-refresh .quiz-result h2 {
  font-size: 23px;
  line-height: 1.4;
}
#app.ui-refresh .quiz-result blockquote {
  background: #e9e9cf;
  border: 1px solid #c9c8a1;
  border-radius: 9px;
  color: #85794e;
}
#app.ui-refresh .quiz-secondary {
  border: 1px solid #c7adda;
  background: transparent;
  color: #9567b0;
  border-radius: 9px;
}
#app.ui-refresh .wordle-panel,
#app.ui-refresh .wd-ttt-card {
  border: 1px solid #c7acda;
  background: #fffdf7;
  border-radius: 14px;
  box-shadow: none;
}
#app.ui-refresh .wd-ttt-players > div {
  border-radius: 8px;
  background: #f1e9f5;
  border-color: #d3bbe0;
}
#app.ui-refresh .wd-ttt-players > div.current {
  background: #e4efc7;
  border-color: #a6b477;
}
#app.ui-refresh .wd-ttt-card .board button {
  border-radius: 9px;
  background: #eee7f3;
  border: 1px solid #d4bfe0;
  box-shadow: none;
}
#app.ui-refresh .wordle-key {
  box-shadow: none;
  border-radius: 5px;
}
#app.ui-refresh .economy-bar {
  border: 1px solid #d1badd;
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: none;
}
#app.ui-refresh
  :is(.paper-top, .rise-top, .touch-top, .dash-top, .dunk-top)
  h1 {
  font-size: 18px;
}
#app.ui-refresh .arrows-top h1 {
  font-size: 17px;
}
#app.ui-refresh
  :is(.paper-top, .rise-top, .touch-top, .dash-top, .dunk-top, .arrows-top)
  > button {
  border-radius: 8px;
  box-shadow: none;
}
#app.ui-refresh .arcade-settings-button {
  background: #fffdf7;
  border: 1px solid #ceb6de;
  border-radius: 8px !important;
}
#app.ui-refresh
  :is(.paper-dialog, .rise-dialog, .touch-dialog, .dash-dialog, .dunk-over) {
  background: #fffdf7;
  border: 1px solid #c8afda;
  border-radius: 14px;
  box-shadow: none;
}
#app.ui-refresh
  :is(.paper-dialog, .rise-dialog, .touch-dialog, .dash-dialog, .dunk-over)
  h2 {
  font-size: 24px;
  line-height: 1.3;
}
#app.ui-refresh .economy-revive-entry {
  background: #e4efc7;
  border: 1px solid #b5bf8c;
  border-radius: 9px;
  color: #7c754e;
  box-shadow: none;
}
#app.ui-refresh dialog {
  background: #fffdf7;
  border: 1px solid #c7a8db;
  border-radius: 15px;
  box-shadow: none;
}
#app.ui-refresh .arrows-mode-switch {
  background: #e9e0ef;
  border: 1px solid #d0b5e0;
  border-radius: 8px;
}
#app.ui-refresh .arrows-mode-switch > button {
  border-radius: 5px;
}
#app.ui-refresh .arrows-mode-switch > button.on {
  background: #fffdf7;
  color: #8d61a8;
  box-shadow: none;
}
.wd-sheet.economy-sheet,
.arcade-settings {
  background: #fffdf7;
  border: 1px solid #b99acb;
  border-radius: 18px 18px 0 0;
  box-shadow: none;
}
.wd-sheet .economy-sheet-head h2,
.arcade-settings h2 {
  font-family: ClubDisplay, WeduelUI, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.04em;
}
.wd-sheet .economy-sheet-head {
  border-color: #d2b9e0;
}
.wd-sheet .economy-task,
.wd-sheet .economy-shop-card {
  border-radius: 10px;
  background: #fffdf7;
  border: 1px solid #d4bde1;
  box-shadow: none;
}
.wd-sheet .economy-primary,
.arcade-settings-done {
  background: #7952cc;
  border: 1px solid #30233f;
  border-radius: 8px;
  color: #fffdf7;
  box-shadow: 2px 2px 0 #30233f;
}
.wd-sheet .economy-secondary {
  border-radius: 8px;
  background: #f5f1e8;
  border-color: #c6a9d7;
}
.wd-sheet .economy-tabs {
  border-radius: 8px;
  background: #e8ddf0;
}
.wd-sheet .economy-tabs button {
  border-radius: 5px;
}
.wd-sheet .economy-tabs button.on {
  background: #fffdf7;
  box-shadow: none;
}
.wd-sheet .economy-reward {
  border-radius: 5px;
  background: #e7efc9;
  color: #8a784b;
}
.wd-sheet .economy-price-row {
  border-radius: 9px;
  border: 1px solid #b8c58c;
  background: #e9efcf;
}
.wd-sheet .economy-task-action {
  border: 1px solid #d5bce4;
  border-radius: 8px;
  background: #eee4f4;
}
.wd-sheet::backdrop,
.arcade-settings::backdrop {
  background: #30233f80;
  backdrop-filter: none;
}
/* Navigation is a quiet fixed baseline; no glossy orb or selected pill. */
#app.ui-refresh .bottom {
  background: #f5f1e8;
  border-radius: 0;
  border-top: 1px solid #30233f;
  box-shadow: none;
  backdrop-filter: none;
}
#app.ui-refresh .bottom > button {
  color: #aa8cba;
}
#app.ui-refresh .bottom > button.on {
  color: #30233f;
}
#app.ui-refresh .bottom > button.on:before {
  top: 0;
  width: 24px;
  height: 4px;
  border-radius: 0;
  background: #ddf57b;
}
#app.ui-refresh .bottom .nav-symbol {
  background: none;
  filter: none;
  color: inherit;
}
#app.ui-refresh .bottom .nav-symbol svg {
  width: 23px;
  height: 23px;
}
#app.ui-refresh .bottom > button > span:last-child {
  font-size: 10px !important;
  font-weight: 650;
}
#app.ui-refresh .bottom > button.on > span:last-child {
  font-weight: 800;
}
#app.ui-refresh .bottom .nav-pet-orb {
  width: 43px;
  height: 43px;
  top: -10px;
  background: #30233f;
  border: 1px solid #30233f;
  border-radius: 12px;
  box-shadow: 2px 2px 0 #d7c5f0;
  transform: rotate(-5deg);
}
#app.ui-refresh .bottom .nav-pet-orb svg {
  width: 24px;
  height: 24px;
}
#app.ui-refresh .bottom > button[data-tab="pet"] {
  padding-top: 29px;
}
#app.ui-refresh :focus-visible {
  outline: 2px solid #7952cc;
  outline-offset: 4px;
}
#app.ui-refresh .wd-boot {
  color: #7952cc;
}
#app.ui-refresh .wd-boot-brand {
  font-family: ClubDisplay, WeduelUI, sans-serif;
  font-size: 25px;
}
#app.ui-refresh .wd-boot-preview > i {
  background: #d7c5f0;
  border: 1px solid #c6a7d8;
  border-radius: 11px;
}
#app.ui-refresh .wd-boot-preview > div {
  background: #e5e9cb;
  border: 1px solid #c4ca9d;
  border-radius: 9px;
}
@media (min-width: 560px) {
  #app.ui-refresh .wd-brand {
    font-size: 23px !important;
  }
  #app.ui-refresh .wd-catalog-focused .wd-intro h1 {
    font-size: 28px;
  }
  #app.ui-refresh .wd-catalog-focused .tests {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 359px) {
  #app.ui-refresh .wd-header {
    height: 68px;
  }
  #app.ui-refresh .wd-brand {
    font-size: 18px !important;
    gap: 6px;
  }
  #app.ui-refresh .wd-brand .wd-club-mark {
    width: 24px;
    height: 27px;
    font-size: 23px;
  }
  #app.ui-refresh .wd-core-shortcuts > button {
    padding: 11px 10px;
    gap: 7px;
  }
  #app.ui-refresh .wd-core-shortcuts > button strong {
    font-size: 14px;
  }
  #app.ui-refresh .wd-core-shortcuts > button small {
    font-size: 9px;
  }
  #app.ui-refresh .wd-core-shortcuts .wd-shortcut-icon {
    width: 23px;
  }
  #app.ui-refresh .wd-core-shortcuts .wd-shortcut-icon svg {
    width: 23px;
    height: 23px;
  }
  #app.ui-refresh .wd-section h2 {
    font-size: 15px;
  }
  #app.ui-refresh .wd-section > button {
    font-size: 9px;
  }
  #app.ui-refresh .wd-catalog-focused .wd-intro h1 {
    font-size: 20px;
    line-height: 1.35;
  }
  #app.ui-refresh .wd-catalog-copy h3 {
    font-size: 13px;
  }
  #app.ui-refresh .wd-catalog-focused .tests .wd-catalog-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 11px;
  }
  #app.ui-refresh .tests .wd-test-cover {
    width: 70px;
    height: 85px;
  }
  #app.ui-refresh .wd-catalog-focused .tests .wd-catalog-copy h3 {
    font-size: 13px;
  }
  #app.ui-refresh .wd-catalog-focused .tests .wd-catalog-copy p {
    font-size: 10px;
  }
  #app.ui-refresh .wd-friends-empty h2 {
    font-size: 19px;
  }
  #app.ui-refresh .wd-profile-focused .wd-identity h2 {
    font-size: 18px;
  }
  #app.ui-refresh .wd-page-top h1 {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  #app.ui-refresh .wd-core-shortcuts > button,
  #app.ui-refresh .wd-card-play {
    transition:
      transform 120ms ease,
      box-shadow 120ms ease;
  }
  #app.ui-refresh .wd-core-shortcuts > button:active,
  #app.ui-refresh .wd-card-play:active {
    transform: translate(1px, 1px);
    box-shadow: none;
  }
}
body.club-shell {
  background: #e9e3d8;
}
#app.ui-refresh .wd-catalog-copy p,
#app.ui-refresh .wd-catalog-focused .wd-catalog-copy p {
  color: #74637d;
}
#app.ui-refresh .wd-menu small,
#app.ui-refresh .wd-friends-empty > p,
#app.ui-refresh .wd-invite-steps li,
#app.ui-refresh .wd-profile-focused .wd-menu small {
  color: #7e668c;
}
#app.ui-refresh .wd-catalog-meta,
#app.ui-refresh .wd-catalog-focused .wd-catalog-meta {
  color: #866f92;
}
#app.ui-refresh .economy-bar svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
#app.ui-refresh .economy-bar button {
  gap: 6px;
  color: #89659b;
}
#app.ui-refresh .wd-boot-brand > span {
  width: 29px;
  height: 32px;
  border: 1px solid #30233f;
  background: #ddf57b;
  color: #30233f;
  border-radius: 6px;
  font-size: 29px;
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
}
@media (max-width: 359px) {
}
@media (min-width: 560px) {
}
/* Secondary information is quieter, but remains readable on the warm surface. */
#app.ui-refresh :is(.wd-catalog-meta,.wd-catalog-copy>.wd-eyebrow,.wd-menu small,.wd-stats span,.wd-activity-row small,.wd-activity-row small:last-child,.wd-game-tile small,.wd-invite-steps li){color:#796181}
#app.ui-refresh .wd-catalog-focused .wd-catalog-meta,#app.ui-refresh .wd-catalog-focused .wd-catalog-copy>.wd-eyebrow{color:#80648a}
#app.ui-refresh :is(.wd-settings-card p,.wd-info p,.quiz-question>p,.quiz-waiting>p,.quiz-result>p){color:#786580}

/* Keep game chrome readable independently of each canvas palette. */
#app.ui-refresh .slither-top,
#app.ui-refresh .slither-hud {
  background: #f5f1e8;
  color: #30233f;
}
#app.ui-refresh .slither-top h1,
#app.ui-refresh .slither-hud strong {
  color: #30233f;
}
#app.ui-refresh .slither-top h1 span,
#app.ui-refresh .slither-top > div > span,
#app.ui-refresh .slither-hud small,
#app.ui-refresh .slither-hud > div > span {
  color: #74637d;
}
#app.ui-refresh .slither-top > button {
  background: #fffdf7;
  border: 1px solid #c7b9cb;
  color: #30233f;
  border-radius: 8px;
}
#app.ui-refresh .slither-dialog {
  background: #fffdf7;
  border: 1px solid #c7b9cb;
  border-radius: 14px;
  box-shadow: none;
}
#app.ui-refresh .slither-dialog h2 {
  color: #30233f;
  font-size: 24px;
}
#app.ui-refresh .slither-dialog p,
#app.ui-refresh .slither-dialog small,
#app.ui-refresh .slither-eyebrow {
  color: #74637d;
}
#app.ui-refresh .slither-primary {
  background: #7952cc;
  color: #fffdf7;
  border-radius: 9px;
  box-shadow: none;
}
#app.ui-refresh .economy-bar button {
  background: #fffdf7;
  color: #59436a;
  border-color: #c7b9cb;
}
#app.ui-refresh .quiz-choices button {
  color: #59436a;
}
