/* Reading typography is scoped to this public page, not the game UI. */
.partnerships_page__CoS9i {
  --reading-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-cinzel: var(--reading-font);
  --font-exo2: var(--reading-font);
  font-family: var(--reading-font);
  font-weight: 400;
  line-height: 1.65;
}

.partnerships_page__CoS9i :is(h1, h2, h3, button, input, textarea, select),
.partnerships_page__CoS9i .font-heading {
  font-family: var(--reading-font);
}

.partnerships_page__CoS9i h1 { line-height: 1.16; }
.partnerships_page__CoS9i h2 { line-height: 1.22; }
.partnerships_page__CoS9i h3 { line-height: 1.4; }
.partnerships_page__CoS9i p { overflow-wrap: anywhere; }

/* Global game styles suppress focus rings; restore visible keyboard focus here. */
.partnerships_page__CoS9i :is(a, button, input, textarea, select):focus-visible {
  outline: 2px solid #f2d66f !important;
  outline-offset: 4px;
}

.partnerships_page__CoS9i[dir="rtl"] .partnerships_directionalIcon__dM4XR { transform: rotate(180deg); }

/* Screenshot pixels remain LTR, regardless of the surrounding page locale. */
.partnerships_screenshot__Pal08 { direction: ltr; }

/* Game-themed actions: light lettering on muted gold or amethyst surfaces. */
.partnerships_button__1SauU {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid;
  border-radius: 8px;
  padding: 12px 24px;
  color: #fff5df;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: background 150ms ease, box-shadow 150ms ease;
}

/* Local backing only beneath captions; the surrounding artwork stays unchanged. */
.partnerships_shotCaption__gpE9r {
  flex: 1;
  width: 100%;
  max-width: 384px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  background: linear-gradient(180deg, rgba(23, 18, 32, 0.88), rgba(23, 18, 32, 0.76));
}

.partnerships_shotCaption__gpE9r h3 {
  margin: 0;
  color: #f4dc9b;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.partnerships_shotCaption__gpE9r p {
  margin-top: 8px;
  color: #f0ece6;
  font-size: 17px;
  line-height: 26px;
}

@media (prefers-reduced-motion: reduce) {
  .partnerships_page__CoS9i * { scroll-behavior: auto; transition: none; }
}

/* Shared game/landing button surfaces. Deliberately no sizing or font rules. */
.button-appearance_surface__v_bd3.button-appearance_surface__v_bd3,
.button-appearance_surface__v_bd3.button-appearance_surface__v_bd3:focus {
  color: var(--button-text);
  background-color: var(--button-bottom);
  background-image: linear-gradient(180deg, var(--button-top), var(--button-bottom));
  border-color: transparent;
  background-clip: padding-box;
  /* Outline follows the border box, unlike an inset shadow which starts inside
   * an existing border. One edge for both bordered and borderless controls. */
  /* Scoped overrides for legacy global !important focus/outline suppression. */
  outline: 1px solid var(--button-rim) !important;
  outline-offset: -1px;
  box-shadow: inset 0 2px 0 var(--button-highlight), inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 3px 12px var(--button-glow) !important;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  filter: none;
}

.button-appearance_surface__v_bd3.button-appearance_surface__v_bd3:not(:disabled):not([aria-disabled="true"]):hover {
  background-image: linear-gradient(180deg, var(--button-hover-top), var(--button-hover-bottom));
  box-shadow: inset 0 2px 0 var(--button-highlight), inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 3px 16px var(--button-glow) !important;
  filter: none;
}

/* The edge is not a substitute for a keyboard-focus indicator. */
.button-appearance_surface__v_bd3.button-appearance_surface__v_bd3:focus-visible {
  outline-width: 2px !important;
  outline-offset: 2px !important;
}

.button-appearance_surface__v_bd3:disabled,
.button-appearance_surface__v_bd3[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.button-appearance_gold__nydD6 {
  --button-text: #fffdf7;
  --button-top: #89723b;
  --button-bottom: #80682f;
  --button-hover-top: #89723b;
  --button-hover-bottom: #876e36;
  --button-rim: #b7a06b;
  --button-highlight: rgba(255, 235, 179, 0.36);
  --button-glow: rgba(154, 114, 38, 0.16);
}

.button-appearance_mutedGold__i_gZR {
  --button-text: #fffdf7;
  --button-top: #88703e;
  --button-bottom: #705a31;
  --button-hover-top: #8b7240;
  --button-hover-bottom: #7b6336;
  --button-rim: #b49b68;
  --button-highlight: rgba(255, 235, 179, 0.26);
  --button-glow: rgba(154, 114, 38, 0.10);
}

/* Secondary is a hierarchy level, not another accent color. */
.button-appearance_neutral__HnkSH {
  --button-text: #dedee1;
  --button-top: #3d3e42;
  --button-bottom: #303135;
  --button-hover-top: #47484d;
  --button-hover-bottom: #393a3f;
  --button-rim: #626368;
  --button-highlight: rgba(255, 255, 255, 0.06);
  --button-glow: transparent;
}

/* Secondary controls retain their real border box for legacy sizing. Paint
 * through it: padding-box gaps plus inset highlights created a triple rim. */
.button-appearance_surface__v_bd3.button-appearance_neutral__HnkSH,
.button-appearance_surface__v_bd3.button-appearance_neutral__HnkSH:focus,
.button-appearance_surface__v_bd3.button-appearance_neutral__HnkSH:not(:disabled):not([aria-disabled="true"]):hover {
  background-clip: border-box;
  box-shadow: none !important;
}
.button-appearance_surface__v_bd3.button-appearance_neutral__HnkSH:not(:disabled):not([aria-disabled="true"]):hover {
  transform: none;
}

.button-appearance_amethyst__MhRke {
  --button-text: #f4eaff;
  --button-top: #4c355f;
  --button-bottom: #31223e;
  --button-hover-top: #5a3e72;
  --button-hover-bottom: #402b52;
  --button-rim: rgba(156, 120, 184, 0.72);
  --button-highlight: rgba(220, 195, 242, 0.12);
  --button-glow: rgba(53, 28, 74, 0.18);
}

.button-appearance_mystic__XQJc_ {
  --button-text: #f4eaff;
  --button-top: #674781;
  --button-bottom: #432e59;
  --button-hover-top: #70508a;
  --button-hover-bottom: #50366a;
  --button-rim: #a581c0;
  --button-highlight: rgba(220, 195, 242, 0.22);
  --button-glow: rgba(91, 53, 122, 0.22);
}

.button-appearance_emerald__JpsdR {
  --button-text: #eefbf0;
  --button-top: #286743;
  --button-bottom: #17452d;
  --button-hover-top: #2b7149;
  --button-hover-bottom: #205537;
  --button-rim: #57a577;
  --button-highlight: rgba(176, 242, 199, 0.2);
  --button-glow: rgba(22, 86, 48, 0.2);
}

.button-appearance_ruby__qPN6P {
  --button-text: #fff0ed;
  --button-top: #91443e;
  --button-bottom: #642e2c;
  --button-hover-top: #994840;
  --button-hover-bottom: #743530;
  --button-rim: #c07767;
  --button-highlight: rgba(255, 204, 184, 0.2);
  --button-glow: rgba(117, 42, 34, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .button-appearance_surface__v_bd3.button-appearance_surface__v_bd3 { transition: none; }
}

/* The chat window's two conversations as one 40px pill beside its round controls. Each tab is one
 * control: its icon and label belong together, as in the game's other tabs, and the unread count
 * follows the label in a slot of its own that stays reserved at zero, so no glyph moves when a count
 * appears or clears. Icons are 22px on the phone and 24px on the desktop, so the shared chat's two
 * speech bubbles and Ember's portrait read at a glance (Alex, 2026-10-10).
 *
 * The pill is narrow in the phone's header (about 234px at 390px, and in a pinned chat dragged
 * narrow): there the icon, label and count are centred together, each tab is at least as wide as
 * what it holds and the rest is shared equally, so the longest label (vi) and a '99+' count stay
 * inside their tab with 6px to spare in every locale. From 300px (the desktop panel, wide windows)
 * the tabs are equal, 13px labels, the icon and label centred and the count after them. */
.chat-switcher_switcher__X4NQt { container-type: inline-size; display: grid; grid-template-columns: repeat(2, minmax(max-content, 1fr)); gap: 2px; width: 100%; height: 40px; border-radius: 999px; background: rgba(24,24,28,.97); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 2px 10px rgba(0,0,0,.35); }
.chat-switcher_tab__oA1HV { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; height: 40px; min-width: 0; padding: 0 6px; border: 0; border-radius: 999px; background: transparent; color: rgba(245,240,230,.7); font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; transition: background-color 160ms ease, color 160ms ease; }
.chat-switcher_tab__oA1HV[aria-selected="true"] { background: rgba(255,255,255,.14); color: #f5f0e6; cursor: default; }
.chat-switcher_tab__oA1HV:not([aria-selected="true"]):active { background: rgba(255,255,255,.08); }
.chat-switcher_face__0Epje { display: flex; align-items: center; gap: 4px; }
/* The portrait's box carries its size inline (LazyImage), hence the override. */
.chat-switcher_icon__7SCZo { flex: none; width: 22px !important; height: 22px !important; }
.chat-switcher_icon__7SCZo img { width: 100%; height: 100%; }
/* The shared chat's painted gold icon (ChatIcon) stays at full strength, like Ember's portrait. */
.chat-switcher_chatIcon___zcnx { display: inline-flex; }
.chat-switcher_avatar__eIfKU { flex: none; border-radius: 50%; overflow: hidden; }
.chat-switcher_label__u7zhL { min-width: 0; }
.chat-switcher_count__jDnIG { margin-inline-start: 3px; min-width: 22px; height: 16px; padding: 0 3px; border-radius: 8px; background: rgba(212,167,44,.25); color: #efd492; font-size: 9px; font-weight: 700; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.chat-switcher_tab__oA1HV:focus-visible { outline: 2px solid #f5f0e6; outline-offset: -2px; }
@container (min-width: 300px) {
  .chat-switcher_tab__oA1HV { grid-template-columns: minmax(0,1fr) auto minmax(max-content,1fr); justify-content: normal; padding: 0 8px; font-size: 13px; }
  .chat-switcher_face__0Epje { grid-column: 2; gap: 7px; }
  .chat-switcher_icon__7SCZo { width: 24px !important; height: 24px !important; }
  .chat-switcher_count__jDnIG { grid-column: 3; justify-self: start; margin-inline-start: 6px; min-width: 24px; height: 18px; padding: 0 5px; border-radius: 9px; font-size: 10.5px; line-height: 18px; }
}

/* Accounts screens: the browser sign-in (/auth), the first entry in Telegram and World App,
 * and the parts the Sign-in methods and Profiles dialogs share. The game's own landing art is the
 * backdrop; the language picker sits at the top, the original logo and the content in the middle.
 * The browser sign-in spreads its methods across a wide screen; single steps and messages sit on
 * one calm panel. Motion is colour and opacity only. */

.accounts_scene__KwA4e {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #17151b;
  color: #e8e6e0;
  font-family: var(--font-exo2), 'Exo 2', system-ui, sans-serif;
  z-index: 0;
}

/* The art: a tiny blurred copy paints at once, the real image fades in over it. */
.accounts_art__ARUDt {
  position: absolute;
  inset: 0;
  background-color: #241c1a;
  background-size: cover;
  background-position: 50% 40%;
}
.accounts_art__ARUDt img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 30%;
     object-position: 50% 30%;
  opacity: 0;
  transition: opacity 420ms ease;
}
.accounts_art__ARUDt img[data-loaded] { opacity: 1; }

/* The art stays visible at the top and the edges; text and controls sit on darkness. */
.accounts_scrim__Gmuzd {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(19, 17, 23, 0.50) 0%,
    rgba(19, 17, 23, 0.58) 22%,
    rgba(19, 17, 23, 0.86) 42%,
    rgba(19, 17, 23, 0.95) 100%);
}

.accounts_layout__CQLBF {
  position: relative;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

/* The language picker: top end corner, always in view. Telegram Desktop's own fullscreen buttons
 * float at the top right, so inside Telegram it takes the top start corner. */
.accounts_lang__G953z {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top, 0px));
  inset-inline-end: 14px;
  z-index: 3;
}
.accounts_scene__KwA4e[data-host='telegram'] .accounts_lang__G953z {
  inset-inline-end: auto;
  inset-inline-start: 14px;
}

.accounts_main___9l6L {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: calc(60px + env(safe-area-inset-top, 0px)) 18px calc(26px + env(safe-area-inset-bottom, 0px));
}

/* The original logo is a square file with transparent bands above (12.2%) and below (12.3%) the
 * drawing: negative margins (percent of the width) take them out of the layout, nothing is cut. */
.accounts_logoBox__zGQ7J {
  width: min(58vw, 220px);
  flex: 0 0 auto;
}
.accounts_logo__wQFja {
  display: block;
  width: 100%;
  height: auto;
  margin: -12.2% 0 -12.4%;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.accounts_panel__ry2gw {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Desktop windows: the content stands in the middle of the art; one-step screens on a panel. */
@media (min-width: 960px) and (min-height: 560px) and (min-aspect-ratio: 5/4) {
  .accounts_art__ARUDt img { -o-object-position: 50% 42%; object-position: 50% 42%; }
  html[dir='rtl'] .accounts_art__ARUDt img { -o-object-position: 50% 42%; object-position: 50% 42%; }
  /* Darkest behind the content in the middle; the art shows at the top and the sides. */
  .accounts_scrim__Gmuzd {
    background:
      radial-gradient(ellipse 62% 72% at 50% 56%, rgba(19, 17, 23, 0.76) 0%, rgba(19, 17, 23, 0.58) 56%, rgba(19, 17, 23, 0.40) 100%),
      linear-gradient(to bottom, rgba(19, 17, 23, 0.10), rgba(19, 17, 23, 0.45));
  }
  .accounts_lang__G953z {
    top: 18px;
    inset-inline-end: 24px;
  }
  .accounts_scene__KwA4e[data-host='telegram'] .accounts_lang__G953z { inset-inline-start: 24px; }
  /* Exactly the window's height: the content is centred by auto margins (the logo's and the
   * panel's), and on a window too short for it, it starts at the top and the page scrolls. */
  .accounts_main___9l6L {
    height: 100%;
    justify-content: flex-start;
    gap: 16px;
    padding: 40px 32px 28px;
  }
  /* The original logo large (Alex, 2026-10-06: it was too small here), its width (--logo) set by
   * the window's height. A screen whose content needs more room (a wallet message, a confirmation
   * step, a long language) takes it from the logo, down to 80 % of that width, so the page fits
   * without scrolling. The box has the drawing's proportions (the file's transparent bands taken
   * out, .logo), so the logo is never cut or squeezed: its width follows the height it gets. */
  .accounts_logoBox__zGQ7J {
    --logo: clamp(200px, 28vh, 300px);
    flex: 0 1 auto;
    width: auto;
    height: calc(var(--logo) * 0.754);
    min-height: calc(var(--logo) * 0.754 * 0.8);
    aspect-ratio: 1000 / 754;
    margin-top: auto;
  }
  .accounts_panel__ry2gw {
    flex: none;
    margin-bottom: auto;
    max-width: 580px;
    padding: 24px 40px 26px;
    border-radius: 20px;
    background: rgba(22, 19, 27, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
  }
  /* A confirmation step on the panel keeps its app sign and QR code compact enough to fit. */
  .accounts_panel__ry2gw .accounts_stepIcon__SoG7A { width: 44px; height: 44px; }
  .accounts_panel__ry2gw:not(:has(> [data-panel='wide'])) [data-testid='open-elsewhere-qr'] {
    width: 184px !important;
    height: 184px !important;
  }
  /* The browser sign-in uses the width: its method cards are the surfaces. */
  .accounts_panel__ry2gw:has(> [data-panel='wide']) {
    max-width: 1180px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
  }
}
/* Short desktop windows (1280×800 and the like): everything fits without scrolling. */
@media (min-width: 960px) and (min-height: 560px) and (max-height: 860px) and (min-aspect-ratio: 5/4) {
  .accounts_main___9l6L {
    gap: 10px;
    padding: 18px 32px 16px;
  }
  .accounts_logoBox__zGQ7J { --logo: clamp(160px, 28vh, 240px); }
  .accounts_panel__ry2gw { padding: 18px 36px 20px; }
  /* A confirmation step on the panel: a smaller app sign and QR code. */
  .accounts_panel__ry2gw .accounts_stepIcon__SoG7A { width: 36px; height: 36px; }
  .accounts_panel__ry2gw:not(:has(> [data-panel='wide'])) [data-testid='open-elsewhere-qr'] {
    width: 156px !important;
    height: 156px !important;
  }
}
/* Large screens: the sign-in grows with the window. */
@media (min-width: 1800px) and (min-height: 1000px) and (min-aspect-ratio: 5/4) {
  .accounts_logoBox__zGQ7J { --logo: clamp(300px, 32vh, 440px); }
  .accounts_panel__ry2gw:has(> [data-panel='wide']) { max-width: 1320px; }
}

/* Texts */
.accounts_title__9R9Ir {
  margin: 0;
  font-family: 'Cinzel', 'Cormorant SC', var(--font-cinzel), serif;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #ece4cf;
  text-align: center;
  text-wrap: balance;
}
.accounts_lead__pwP2e {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: #c9c5cd;
  text-align: center;
  text-wrap: pretty;
}
.accounts_note___aOJD {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #b9b5be;
  text-align: center;
  text-wrap: pretty;
}
.accounts_fine__KXn37 {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #a5a1ab;
  text-align: center;
}
@media (min-width: 960px) and (min-height: 560px) and (min-aspect-ratio: 5/4) {
  .accounts_title__9R9Ir { font-size: 27px; }
  .accounts_lead__pwP2e { font-size: 15px; }
}

/* Buttons: the game's button surfaces (lib/theme/button-appearance) with our sizes. */
.accounts_stack__XRyfB {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.accounts_button__1uac4 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 8px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.accounts_button__1uac4:disabled { cursor: default; }
.accounts_button__1uac4:focus-visible { outline: 2px solid #c6ad70; outline-offset: 2px; }
.accounts_buttonSmall__pqvCy { min-height: 40px; font-size: 14px; padding: 6px 14px; border-radius: 10px; width: auto; }
.accounts_buttonIcon__tglmv {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.accounts_buttonSmall__pqvCy .accounts_buttonIcon__tglmv { width: 20px; height: 20px; }
.accounts_buttonLabel__ABEiF { min-width: 0; }

/* A method choice: icon at the start, the name, a chevron at the end. */
.accounts_method__Sxno2 {
  justify-content: flex-start;
  text-align: start;
  min-height: 58px;
  padding-inline: 16px 14px;
}
.accounts_method__Sxno2 .accounts_buttonLabel__ABEiF { flex: 1 1 auto; }
.accounts_chevron__VvGvJ { flex: 0 0 auto; margin-inline-start: auto; opacity: 0.55; }
html[dir='rtl'] .accounts_chevron__VvGvJ { transform: scaleX(-1); }

.accounts_linkButton__CuBHm {
  align-self: center;
  background: none;
  border: none;
  padding: 6px 8px;
  font-size: 14px;
  font-weight: 600;
  color: #ddbe62;
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
}
.accounts_linkButton__CuBHm:hover { color: #ecd28a; }
.accounts_linkButton__CuBHm:focus-visible { outline: 2px solid #c6ad70; outline-offset: 2px; }

.accounts_back__E6uSb {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px 4px;
  color: #b9b5be;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
}
.accounts_back__E6uSb:hover { color: #e8e6e0; }
.accounts_back__E6uSb:focus-visible { outline: 2px solid #c6ad70; outline-offset: 2px; }
html[dir='rtl'] .accounts_back__E6uSb svg { transform: scaleX(-1); }

/* Header of a step: the place's icon over its title. */
.accounts_stepHead__AMMhL {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.accounts_stepIcon__SoG7A {
  width: 52px;
  height: 52px;
  -o-object-fit: contain;
     object-fit: contain;
}
.accounts_stateIcon__eC2mo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}
/* A message is a sentence in the interface font: what happened, then what to do. */
.accounts_stateTitle__oCZYC {
  margin: 0;
  font-family: var(--font-exo2), 'Exo 2', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: #ece4cf;
  text-align: center;
  text-wrap: balance;
}
/* Its buttons are sized to their text, side by side; a phone stacks them full width. */
.accounts_stateActions__VtGH8 {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.accounts_stateActions__VtGH8 > .accounts_button__1uac4 {
  width: auto;
  min-width: 168px;
  flex: 0 1 auto;
}
@media (max-width: 599px) {
  .accounts_stateActions__VtGH8 { flex-direction: column; }
  .accounts_stateActions__VtGH8 > .accounts_button__1uac4 { width: 100%; }
}
/* The plain wallet sign takes the text colour of where it stands. */
.accounts_walletGlyph__JgQXn {
  flex: 0 0 auto;
  color: inherit;
  opacity: 0.92;
}

/* Waiting: a calm pulse (opacity only) and the time left, never a bare spinner. */
.accounts_waiting__H7IAY {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 24px;
  font-size: 14px;
  color: #c9c5cd;
  font-variant-numeric: tabular-nums;
}
.accounts_pulse__e5Cdj {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ddbe62;
  flex: 0 0 auto;
  animation: accounts_mfAccountsPulse__G_YeH 1.6s ease-in-out infinite;
}
@keyframes accounts_mfAccountsPulse__G_YeH {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .accounts_pulse__e5Cdj { animation: none; opacity: 0.8; }
  .accounts_art__ARUDt img { transition: none; }
}
.accounts_warn__HRm57 { color: #e5a85a; }
.accounts_error__Q_9E5 { color: #e8837a; }
.accounts_success__pQOfz { color: #45c285; }

.accounts_code__i1FoL {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  align-self: center;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: #b9b5be;
}
.accounts_code__i1FoL b {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #ece4cf;
}

.accounts_divider__tQX7P {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #a5a1ab;
}
.accounts_divider__tQX7P::before,
.accounts_divider__tQX7P::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
}

/* Two apps' ways out side by side where there is room (computers show their QR codes). */
@media (min-width: 600px) {
  .accounts_appPair__IXNp7 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
  }
}

/* The closed-registration note: one quiet line and two text links. */
.accounts_newHere__pioCf {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  padding-top: 2px;
}
.accounts_newHereLinks__tZwjP {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 2px 8px;
}
.accounts_textLink__5lycl {
  background: none;
  border: none;
  padding: 2px 4px;
  font-size: 13px;
  font-weight: 600;
  color: #ddbe62;
  cursor: pointer;
  border-radius: 6px;
  white-space: nowrap;
  text-underline-offset: 3px;
}
.accounts_textLink__5lycl:hover { color: #ecd28a; text-decoration: underline; }
.accounts_textLink__5lycl:focus-visible { outline: 2px solid #c6ad70; outline-offset: 2px; }
.accounts_noteQr__Dnqnd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 6px;
}

.accounts_identity__WKQEY {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  color: #b9b5be;
  max-width: 100%;
}
.accounts_identity__WKQEY img { width: 16px; height: 16px; -o-object-fit: contain; object-fit: contain; }
.accounts_identity__WKQEY span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.accounts_invite__Oo86F { display: flex; flex-direction: column; gap: 8px; }

/* Loading the entrance: the art and the panel's shape, no blank page. */
.accounts_skeletonLine__kNtXk {
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  animation: accounts_mfAccountsPulse__G_YeH 1.6s ease-in-out infinite;
}

/* Lists in the dialogs (Sign-in methods, Profiles). */
.accounts_list__cp1d6 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.accounts_row__ujEsT {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-height: 60px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}
.accounts_rowIcon__SpS9E {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.accounts_rowAvatar__YNIQ9 {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
}
.accounts_rowMain__cqg3_ {
  flex: 1 1 150px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.accounts_rowTitle__iBATK {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: #e8e6e0;
}
/* Nothing is cut: names and addresses wrap (a long one breaks anywhere). */
.accounts_rowTitle__iBATK { flex-wrap: wrap; }
.accounts_rowTitle__iBATK > span:first-child { overflow-wrap: anywhere; }
.accounts_rowSub__5bEmY {
  font-size: 12.5px;
  color: #a5a1ab;
  overflow-wrap: anywhere;
}
.accounts_badge__TgvNx {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(69, 194, 133, 0.14);
  color: #6fd6a1;
}
.accounts_badgeMuted__RsSBW {
  background: rgba(255, 255, 255, 0.08);
  color: #c9c5cd;
}
.accounts_rowActions__1BFC9 {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
}

.accounts_section__kGSYj {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.accounts_sectionTitle__vYQql {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b9b5be;
}
/* Buttons keep their whole label: they take their text's width and wrap to new rows. */
.accounts_addGrid__rLU9P {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.accounts_addGrid__rLU9P > .accounts_button__1uac4 { flex: 1 1 auto; width: auto; }
.accounts_dialogBody__3wXVy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #e8e6e0;
}
.accounts_dialogBody__3wXVy .accounts_title__9R9Ir { font-size: 20px; }
.accounts_centerStep__5gRC2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  padding: 4px 0 8px;
}
.accounts_actionsRow__FgaPL {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.accounts_actionsRow__FgaPL .accounts_button__1uac4 { width: auto; flex: 1 1 auto; min-width: 140px; }

/* Desktop dialogs: action buttons are sized to their text and centred in a step (the desktop
 * rule); the place choices stay full rows. The shared OpenElsewhere button centres too. */
[data-mf-desktop-dialog] .accounts_stack__XRyfB > .accounts_button__1uac4:not(.accounts_method__Sxno2),
[data-mf-desktop-dialog] .accounts_dialogBody__3wXVy > .accounts_button__1uac4 {
  width: auto;
  min-width: 220px;
  align-self: center;
}
[data-mf-desktop-dialog] .accounts_centerStep__5gRC2 [data-testid='open-elsewhere'] > [data-game-button],
[data-mf-desktop-dialog] .accounts_dialogBody__3wXVy [data-testid='open-elsewhere'] > [data-game-button] {
  align-self: center;
}

/* The game's notices (components/notices): one card per action on the phone and in the desktop
 * client. The desktop places the list in its notification stack (desktop-notifications.tsx); the
 * phone gives it a fixed layer of its own (.phone). Motion is opacity and glow only: nothing
 * slides or scales (Telegram Desktop renders lasting transforms blurry). */

.notices_list___LABx {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-family: var(--font-exo2), system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- phone layer */
.notices_phone__hu7YE {
  position: fixed;
  z-index: 9999;
  left: calc(10px + env(safe-area-inset-left, 0px));
  right: calc(10px + env(safe-area-inset-right, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
/* Never over the chat window (z 150) or a dialog (z 400+): under them while they show. */
.notices_phone__hu7YE[data-under] { z-index: 140; }
/* The band under the HUD (its height is 56 px plus the top safe area). */
.notices_phone__hu7YE[data-placement="top"] {
  top: calc(var(--hud-height, 56px) + 8px);
}
.notices_phone__hu7YE .notices_card__6YgyU { padding: 9px 11px; }
/* At the bottom: above the dock (and its raised active tab) and a page's floating action bar,
 * beside the chat head; notice-viewport.tsx sets the exact edges before the first card paints. */
.notices_phone__hu7YE[data-placement="bottom"] {
  bottom: calc(var(--navigation-height, 71px) + 64px + env(safe-area-inset-bottom, 0px));
  flex-direction: column-reverse;
}
.notices_phone__hu7YE[data-placement="bottom"] .notices_list___LABx { flex-direction: column-reverse; }
.notices_phone__hu7YE > * { width: min(100%, 384px); }
.notices_phone__hu7YE > [data-slot] { display: flex; flex-direction: column; }
.notices_phone__hu7YE > [data-slot]:empty { display: none; }
.notices_phone__hu7YE .notices_list___LABx > *, .notices_phone__hu7YE > [data-slot] > * { pointer-events: auto; }
/* Celebrations (a craft reveal, a discovery) are the top layer; notices wait under them. */
html:has([data-mf-moment]) .notices_phone__hu7YE { z-index: 340; }

/* ---------------------------------------------------------------- card */
.notices_card__6YgyU {
  --accent: rgba(212, 175, 55, .42);
  --accent-hi: rgba(240, 210, 120, .8);
  --glow: rgba(212, 175, 55, .10);
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 11px 12px 11px 12px;
  border-radius: 12px;
  background:
    radial-gradient(120% 70px at 50% 0, var(--glow), transparent 75%),
    #312f36;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08);
  color: #E8E6E0;
  font-size: 13px;
  line-height: 1.35;
  text-align: start;
  cursor: pointer;
  opacity: 1;
  transition: opacity 200ms ease, background-color 140ms ease;
  -webkit-tap-highlight-color: transparent;
}
/* A gilded hairline along the top edge, in the notice's tone. */
.notices_card__6YgyU::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 20%, var(--accent-hi) 50%, var(--accent) 80%, transparent 100%);
  pointer-events: none;
}
.notices_card__6YgyU[data-state="entering"], .notices_card__6YgyU[data-state="leaving"] { opacity: 0; }
.notices_card__6YgyU[data-state="leaving"] { pointer-events: none; }
/* Keep parked Ember measurable at the real width, but out of flow, hit testing and accessibility.
 * The chat-head badge remains; her full display time starts when a band becomes clear. */
.notices_card__6YgyU[data-parked] { position: absolute; top: 0; visibility: hidden; pointer-events: none; }
.notices_card__6YgyU[data-parked]::after { animation: none; }
.notices_card__6YgyU[data-tone="success"] { --accent: rgba(69, 194, 133, .45); --accent-hi: rgba(110, 220, 165, .85); --glow: rgba(69, 194, 133, .09); }
.notices_card__6YgyU[data-tone="info"] { --accent: rgba(111, 168, 230, .45); --accent-hi: rgba(150, 195, 245, .85); --glow: rgba(111, 168, 230, .09); }
.notices_card__6YgyU[data-tone="warning"] { --accent: rgba(229, 168, 90, .5); --accent-hi: rgba(240, 195, 130, .9); --glow: rgba(229, 168, 90, .10); }
.notices_card__6YgyU[data-tone="error"] { --accent: rgba(232, 131, 122, .55); --accent-hi: rgba(245, 160, 150, .95); --glow: rgba(232, 131, 122, .13); }
.notices_card__6YgyU[data-tone="pending"] { --accent: rgba(212, 175, 55, .35); --accent-hi: rgba(240, 210, 120, .7); --glow: rgba(212, 175, 55, .07); }
.notices_card__6YgyU[data-tone="ember"] { --accent: rgba(255, 140, 60, .55); --accent-hi: rgba(255, 190, 120, .95); --glow: rgba(255, 120, 40, .16); }
@media (hover: hover) {
  .notices_card__6YgyU:hover { background-color: #36343c; }
}
.notices_card__6YgyU:focus-visible { outline: 2px solid #c6ad70; outline-offset: 2px; }

/* ---------------------------------------------------------------- title and messages */
.notices_head__LfyLs {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  -moz-column-gap: 10px;
       column-gap: 10px;
}
.notices_head__LfyLs + .notices_section___VrmG { margin-top: 9px; }
.notices_icon__PLZZb {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 0;
}
.notices_card__6YgyU[data-tone="success"] .notices_icon__PLZZb { color: #45C285; }
.notices_card__6YgyU[data-tone="info"] .notices_icon__PLZZb { color: #6FA8E6; }
.notices_card__6YgyU[data-tone="warning"] .notices_icon__PLZZb { color: #E5A85A; }
.notices_card__6YgyU[data-tone="error"] .notices_icon__PLZZb { color: #E8837A; }
.notices_card__6YgyU[data-tone="pending"] .notices_icon__PLZZb { color: #DDBE62; }
.notices_texts__jksuC { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notices_title__ZYCVx {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #F2EEE6;
  overflow-wrap: break-word;
}
.notices_card__6YgyU[data-tone="error"] .notices_title__ZYCVx { color: #F6C2BB; }
.notices_message__C6OEt {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.38;
  color: #B9B5BE;
  overflow-wrap: break-word;
}
/* The close cross of errors, operations and Ember: always there, quiet until hovered. */
.notices_close__L2i3o {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: -4px -6px 0 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #A5A1AB;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}
.notices_close__L2i3o:hover { background: rgba(255, 255, 255, .07); color: #ECE4CF; }
.notices_close__L2i3o:focus-visible { outline: 2px solid #c6ad70; outline-offset: 0; }
.notices_spinner__ZPuUv {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(221, 190, 98, .25);
  border-top-color: #DDBE62;
  animation: notices_noticeSpin__3EB0b 900ms linear infinite;
}
@keyframes notices_noticeSpin__3EB0b { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- receipt sections */
.notices_section___VrmG + .notices_section___VrmG { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .07); }
.notices_label__oZd1N {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 3px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #DDBE62;
}
.notices_label__oZd1N::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(221, 190, 98, .32), transparent);
}
.notices_section___VrmG[data-section="spent"] .notices_label__oZd1N { color: #B9B5BE; }
.notices_section___VrmG[data-section="spent"] .notices_label__oZd1N::after { background: linear-gradient(90deg, rgba(185, 181, 190, .25), transparent); }
.notices_rows__93ObJ { display: flex; flex-direction: column; gap: 2px; }
.notices_row__sACje {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  -moz-column-gap: 10px;
       column-gap: 10px;
  min-height: 40px;
}
.notices_art__m4_hm {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 40px;
}
.notices_art__m4_hm img { display: block; }
.notices_avatar__7aY88 { border-radius: 50%; -o-object-fit: cover; object-fit: cover; }
.notices_art__m4_hm[data-art="artifact"] img { border-radius: 3px; }
.notices_fractured__62pZz { position: absolute; top: 0; left: 0; pointer-events: none; }
.notices_what___WOUW { display: flex; flex-direction: column; min-width: 0; }
.notices_name__HdD3y {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  color: #ECE4CF;
  overflow-wrap: normal;
  word-break: normal;
}
.notices_sub__0biXW {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
  color: #B9B5BE;
}
.notices_qty__xPoF0 {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  color: #DDBE62;
}
.notices_section___VrmG[data-section="spent"] .notices_name__HdD3y { color: #D4D1CB; }
.notices_section___VrmG[data-section="spent"] .notices_qty__xPoF0 { color: #B9B5BE; }
.notices_more__6Gw21 { padding-inline-start: 46px; font-size: 12px; font-weight: 600; color: #B9B5BE; }
/* Experience: the level's bar fills from where it was to where it is now. */
.notices_xpBar__uFcYZ {
  position: relative;
  display: block;
  height: 4px;
  margin-top: 5px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
}
.notices_xpBar__uFcYZ > span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #b8941f 0%, #D4AF37 60%, #e6c547 100%);
  transition: width 900ms cubic-bezier(.22, .61, .36, 1);
}
html[dir="rtl"] .notices_xpBar__uFcYZ > span { inset: 0 0 0 auto; }
.notices_level__OMRDg { font-size: 12px; font-weight: 700; color: #DDBE62; white-space: nowrap; }

/* ---------------------------------------------------------------- action */
.notices_actions__WvyfK { display: flex; justify-content: flex-end; margin-top: 9px; }
.notices_action__M2pSN {
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #ECE4CF;
  font: 600 12.5px/1 var(--font-exo2), system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}
.notices_action__M2pSN:hover { border-color: rgba(212, 175, 55, .45); background: rgba(255, 255, 255, .09); }
.notices_action__M2pSN:focus-visible { outline: 2px solid #c6ad70; outline-offset: 1px; }

/* ---------------------------------------------------------------- music ("now playing") */
.notices_music__DX6u5 {
  --accent: rgba(167, 139, 214, .45);
  --accent-hi: rgba(200, 180, 240, .85);
  --glow: rgba(167, 139, 214, .08);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  -moz-column-gap: 10px;
       column-gap: 10px;
  row-gap: 0;
  padding: 8px 8px 8px 10px;
  cursor: default;
}
.notices_musicArt__woX51 {
  grid-column: 1;
  grid-row: 1 / 3;
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(167, 139, 214, .14);
  color: #DDBE62;
}
/* The track name gets the whole text column: sharing its row with three controls made long
 * localized titles wrap at the desktop stack's 344 px width. Controls share the byline's row. */
.notices_music__DX6u5 .notices_texts__jksuC { display: contents; }
.notices_music__DX6u5 .notices_title__ZYCVx { grid-column: 2; grid-row: 1; font-size: 13.5px; white-space: nowrap; }
.notices_music__DX6u5 .notices_message__C6OEt { grid-column: 2; grid-row: 2; align-self: center; padding-inline-end: 96px; white-space: nowrap; }
.notices_musicCtls__rrwkr { grid-column: 2; grid-row: 2; justify-self: end; flex: none; display: flex; align-items: center; gap: 2px; }
.notices_musicCtl__VUwk3 {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #B9B5BE;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background-color 140ms ease, color 140ms ease;
}
@media (hover: hover) {
  .notices_musicCtl__VUwk3:hover { background: rgba(255, 255, 255, .07); color: #ECE4CF; }
}
.notices_musicCtl__VUwk3:focus-visible { outline: 2px solid #c6ad70; outline-offset: 1px; }
.notices_musicCtl__VUwk3:disabled { opacity: .35; cursor: default; background: transparent; }

/* ---------------------------------------------------------------- Ember */
.notices_ember__CxakH { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; -moz-column-gap: 12px; column-gap: 12px; align-items: start; }
.notices_emberFace__ERbaN {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 150, 70, .85), 0 0 18px rgba(255, 120, 40, .45);
}
.notices_emberFace__ERbaN img { border-radius: 50%; -o-object-fit: cover; object-fit: cover; }
.notices_emberName__WXrTC { margin: 1px 0 2px; font-size: 14px; font-weight: 700; line-height: 1.2; color: #FFD3A0; }
.notices_emberText__Wi_ya {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #EDE6DA;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}
.notices_emberOpen__U9McN {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #FFB878;
  font: 600 12.5px/1.2 var(--font-exo2), system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.notices_emberOpen__U9McN:hover { text-decoration: underline; text-underline-offset: 2px; }
/* Arrival: her card glows twice, then rests (glow and opacity only). */
.notices_card__6YgyU[data-tone="ember"]::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  box-shadow: 0 0 0 1px rgba(255, 150, 70, .55), 0 0 26px rgba(255, 120, 40, .35);
  opacity: 0;
  pointer-events: none;
  animation: notices_emberArrive__pTSKH 1600ms ease-out 1;
}
@keyframes notices_emberArrive__pTSKH {
  0% { opacity: 0; }
  20% { opacity: 1; }
  45% { opacity: .25; }
  70% { opacity: .9; }
  100% { opacity: .35; }
}
.notices_card__6YgyU[data-tone="ember"][data-state="shown"]::after { opacity: .35; }

@media (prefers-reduced-motion: reduce) {
  .notices_card__6YgyU, .notices_xpBar__uFcYZ > span { transition: none; }
  .notices_card__6YgyU[data-tone="ember"]::after { animation: none; }
  .notices_spinner__ZPuUv { animation-duration: 2400ms; }
}

/* "Is this your account?": the account that confirmed, as the player recognizes it (F0). */
.accept-account_card__nnylg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 14px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(221, 190, 98, 0.18);
}
.accept-account_avatar___g14G {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(221, 190, 98, 0.35);
  margin-bottom: 4px;
}
.accept-account_avatarImage__PrD8b {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.accept-account_name__MahjQ {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: #ece4cf;
}
.accept-account_name__MahjQ > span {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
}
.accept-account_nameIcon__46f_y {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.accept-account_facts__8nctp {
  font-size: 13.5px;
  line-height: 1.4;
  color: #b9b5be;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* The browser sign-in (sign-in-entrance.tsx). A computer: the three ways in as cards side by side,
 * the wallet first, Telegram and World App with their QR codes; a phone: rows. The type, colours
 * and button surfaces are the accounts screens' (accounts.module.css). */

.sign-in_entrance__pN7sJ {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
}

.sign-in_head__9qkEv {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 920px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.sign-in_cards__KFgSN {
  --qr-size: 196px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 20px;
  width: 100%;
}

.sign-in_card__0HfKD {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 20px 22px 22px;
  border-radius: 18px;
  background: rgba(24, 21, 29, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
}

.sign-in_cardHead__WsYhh {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 30px;
}
.sign-in_headIcon__BhxAu {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  -o-object-fit: contain;
     object-fit: contain;
  color: #ece4cf;
}
.sign-in_cardTitle__xz52y {
  margin: 0;
  /* The method's name as its brand writes it: the interface font, not the heading face. */
  font-family: var(--font-exo2), 'Exo 2', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  color: #ece4cf;
  white-space: nowrap;
}

.sign-in_cardBody__qxU_w {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
}
.sign-in_caption__YFx4q {
  margin: 0;
  max-width: 320px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #c9c5cd;
  text-align: center;
  text-wrap: pretty;
}

/* The wallet card shows the brands where the others show their QR codes. */
.sign-in_brandList__SeK7G {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: var(--qr-size);
  align-items: center;
}
.sign-in_brand__lzX5n {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 84px;
}
.sign-in_brandMark__HGD78 {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.sign-in_brandMark__HGD78 img { display: block; width: 100%; height: 100%; }
.sign-in_brandName__7MNmu {
  font-size: 12.5px;
  font-weight: 600;
  color: #d9d5dd;
  white-space: nowrap;
}

.sign-in_qr__8ISgN {
  width: var(--qr-size);
  height: var(--qr-size);
}
.sign-in_qrBlank__j_F6y {
  width: var(--qr-size);
  height: var(--qr-size);
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
}
.sign-in_qrLoading__PY_X0 { animation: sign-in_mfSignInPulse__D_WF2 1.6s ease-in-out infinite; }
@keyframes sign-in_mfSignInPulse__D_WF2 {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .sign-in_qrLoading__PY_X0 { animation: none; }
}
.sign-in_qrBlankText__vwVWR {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: #d9d5dd;
  text-align: center;
}

/* The bottom of each card: its button, or the line that explains why there is none. */
.sign-in_cardFoot__MRtyM {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  justify-content: center;
}
.sign-in_footButton__pGH8u {
  text-decoration: none;
}
.sign-in_footButton__pGH8u[aria-disabled] {
  opacity: 0.55;
  pointer-events: none;
}
.sign-in_footNote__RpuXN {
  margin: 0;
  font-size: 13px;
  color: #a5a1ab;
  text-align: center;
}

/* The code under the two QR codes (the bot and World App show the same one). */
.sign-in_codeLine__N8l6q {
  flex-wrap: wrap;
  row-gap: 4px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.sign-in_codeUnderQr___Raq9 {
  grid-column: 2 / 4;
}
.sign-in_codeChip__4lGZY {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 9px;
  background: rgba(19, 17, 23, 0.7);
  font-size: 13px;
  color: #b9b5be;
}
.sign-in_codeChip__4lGZY b {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #ece4cf;
}

.sign-in_note__rEzIc {
  max-width: 640px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

/* A phone's rows: the mark, the name and what it covers, a chevron. */
.sign-in_methodRow__V8O8S { min-height: 62px; }
.sign-in_methodText__juMWg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.sign-in_methodTitle__Itb1D { white-space: nowrap; }
.sign-in_methodDetail__ADu7a {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.72;
  white-space: normal;
  max-width: 100%;
}
.sign-in_marks__mwxmo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}
.sign-in_marksOverlap__9JJ24 { gap: 0; }
.sign-in_marksOverlap__9JJ24 .sign-in_mark__ReLUQ + .sign-in_mark__ReLUQ { margin-inline-start: -4px; }
.sign-in_mark__ReLUQ {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(24, 21, 29, 0.9);
}
.sign-in_mark__ReLUQ img { display: block; width: 100%; height: 100%; }

/* Narrow computer windows: the cards stack, centred. */
@media (max-width: 899px) {
  .sign-in_cards__KFgSN {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
  }
  .sign-in_codeUnderQr___Raq9 { grid-column: auto; }
}

/* Short desktop windows (1280×800 and the like): the cards tighten so nothing needs scrolling. */
@media (min-width: 960px) and (min-height: 560px) and (max-height: 860px) {
  .sign-in_entrance__pN7sJ { gap: 14px; }
  .sign-in_cards__KFgSN { --qr-size: 172px; }
  .sign-in_card__0HfKD { gap: 10px; padding: 14px 18px 16px; }
}

/* Large screens: bigger codes and marks. */
@media (min-width: 1800px) and (min-height: 1000px) {
  .sign-in_cards__KFgSN { --qr-size: 224px; gap: 16px 24px; }
  .sign-in_card__0HfKD { padding: 24px 26px 26px; }
  .sign-in_cardTitle__xz52y { font-size: 21px; }
  .sign-in_caption__YFx4q { font-size: 14.5px; max-width: 340px; }
  .sign-in_brand__lzX5n { width: 96px; }
  .sign-in_brandMark__HGD78 { width: 64px; height: 64px; border-radius: 16px; }
}

/* Desktop layouts of single game dialogs (in the desktop dialog frame, desktop-dialog.module.css).
 * Only rendered in the desktop shell; phones keep their own classes. */

/* Profile: the player's actions in one row at their content width; avatars in a denser grid. */
.dialog-layouts_profileActions___dNSg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dialog-layouts_profileActions___dNSg [data-game-button] {
  width: auto;
  min-height: 34px;
  padding: 0 14px;
}
.dialog-layouts_avatarGrid__dA6cd {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}

/* Achievements: the categories flow in two columns; a stat is a label and a value on one line
 * with a faint rule under it, not a box in a box. */
.dialog-layouts_achievements__SAQpI {
  -moz-column-count: 2;
       column-count: 2;
  /* A pinned page can leave a 520 px dialog: do not squeeze a category to 218 px. */
  -moz-column-width: 280px;
       column-width: 280px;
  -moz-column-gap: 36px;
       column-gap: 36px;
}
.dialog-layouts_achievements__SAQpI > * {
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  margin: 0 0 24px;
}
.dialog-layouts_achievements__SAQpI .rounded-lg.border {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: inset 0 -1px 0 var(--dt-rule, rgba(255, 255, 255, .045)) !important;
  padding: 7px 0 !important;
}
.dialog-layouts_achievements__SAQpI .space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0; }
.dialog-layouts_achievements__SAQpI h3 {
  font-size: 12.5px !important;
  letter-spacing: .1em;
  color: var(--dt-muted, #B9B5BE) !important;
}

/* Hall of fame: discovery posters as a grid of cards. */
.dialog-layouts_posters__aiEWW {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  padding-bottom: 8px;
}

/* Past quests: one card per campaign, two per row when the dialog has the room. */
.dialog-layouts_campaigns__LZlIi {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 16px;
  align-items: start;
}

/* Navigation indicates location, not a call to purchase. No sizing or flex rules. */
.navigation-appearance_track__YQ_gm {
  background-color: var(--navigation-base, #2d2e31);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.025), transparent);
  box-shadow: inset 0 0 0 1px rgba(195,190,178,0.14), 0 2px 6px rgba(0,0,0,0.10);
}
.navigation-appearance_segment__Qm7YV {
  background: transparent;
  box-shadow: none;
}
.navigation-appearance_segment__Qm7YV[data-tab-active="true"] {
  background-color: #464031;
  background-image: linear-gradient(180deg, #4d4635, #39372e);
}
/* Selection is not focus. A separate noninteractive border cannot disappear
 * under the legacy global button:focus/active box-shadow reset. */
.navigation-appearance_segment__Qm7YV::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  pointer-events: none;
}
.navigation-appearance_segment__Qm7YV[data-tab-active="true"]::after {
  border-color: rgba(196,166,99,0.60);
}
@media (hover:hover) {
  .navigation-appearance_segment__Qm7YV:not([data-tab-active="true"]):hover {
    background-color: rgba(255,255,255,0.035);
  }
}
.navigation-appearance_segment__Qm7YV:focus-visible {
  outline: 2px solid #c6ad70 !important;
  outline-offset: -3px;
}
/* Shared keyboard focus for the compact New craft controls (toolbar tabs,
 * icon/context dropdowns, info hint) — selection stays a separate state. */
.navigation-appearance_navFocus__5uNQS:focus-visible {
  outline: 2px solid #c6ad70 !important;
  outline-offset: -2px;
}
.navigation-appearance_dock__xNmex {
  background-image: var(--mf-dock-gradient, linear-gradient(180deg, #3a3640, #2b2c33));
  box-shadow: 0 -1px 0 var(--mf-dock-border, rgba(225, 212, 237, .22)), 0 -8px 24px rgba(0,0,0,.12);
}
.navigation-appearance_dockActive__Dz98H {
  margin-inline: 3px;
  border-radius: 12px 12px 0 0;
  background-image: linear-gradient(180deg, rgba(151, 124, 67, .24), rgba(151, 124, 67, .015));
  box-shadow: inset 0 1px 0 rgba(205, 177, 111, .35);
}
.navigation-appearance_dockItem__258ra:focus-visible {
  outline: 2px solid #c6ad70 !important;
  outline-offset: -3px;
  border-radius: 10px !important;
}
@media (prefers-reduced-motion:reduce) {
  .navigation-appearance_segment__Qm7YV { transition: none !important; }
}

/* Restrained available-claim cue. Glow only — do not move the host icon.
 *
 * Only opacity is animated, on the dot and on a glow layer drawn once: the compositor
 * runs such an animation without repainting. The previous box-shadow keyframes forced a
 * style recalculation and repaint every frame for as long as a reward was waiting, even
 * under the open chat — about a fifth of a phone's main thread (2026-09-27). */
.earn-claim-dot_dot__vyGIs {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  pointer-events: none;
}

.earn-claim-dot_pulse__FSXmn {
  animation: earn-claim-dot_mf-available-reward-pulse__V6CRy 1.7s ease-in-out infinite;
}

.earn-claim-dot_pulse__FSXmn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 9px rgba(212, 175, 55, 0.75);
  opacity: 0.45;
  animation: earn-claim-dot_mf-available-reward-glow__SJw5j 1.7s ease-in-out infinite;
}

@keyframes earn-claim-dot_mf-available-reward-pulse__V6CRy {
  0%,
  100% {
    opacity: 0.62;
  }
  50% {
    opacity: 1;
  }
}

@keyframes earn-claim-dot_mf-available-reward-glow__SJw5j {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .earn-claim-dot_pulse__FSXmn,
  .earn-claim-dot_pulse__FSXmn::after {
    animation: none;
    opacity: 1;
  }
}

/* One quiet, non-scrolling foundation for all main pages. Content and native
 * Swiper slides move normally; no artwork, image loading, blur or extra layers. */
.game-canvas_canvas__0LdyA {
  position: relative;
  background-color: #232326;
  background-image: linear-gradient(135deg, #272527 0%, #232326 60%, #26232a 100%);
}

.game-canvas_slide__emzgc {
  position: relative;
  overflow: hidden;
}

.game-canvas_content__hYKm6 {
  position: relative;
  z-index: 1;
}

/*
 * Distant slides are gated in JS (mf-slide-distant) so animated nonadjacent
 * navigation can keep source/traversed slides painted, then hide far slides
 * after the transition. Do not add GPU layer promotions on this file.
 */
.game-canvas_slidesReady__MIi0M .swiper-slide.mf-slide-distant {
  visibility: hidden;
  pointer-events: none;
  content-visibility: hidden;
}

@media (forced-colors: active) {
  .game-canvas_canvas__0LdyA { background: Canvas; }
}

