/* 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;
}

/* A money-leaving action (withdraw): a secondary surface with red text and rim, never a red
 * fill. Red, but not loud (round 11). */
.button-appearance_dangerSubdued__oXXrB {
  --button-text: #f4b3aa;
  --button-top: #3e3436;
  --button-bottom: #312a2c;
  --button-hover-top: #4a3a3c;
  --button-hover-bottom: #3d3032;
  --button-rim: #8f5048;
  --button-highlight: rgba(255, 255, 255, 0.05);
  --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;
}
/* The subdued danger tone is painted like secondary: the same flat, unlifted surface. */
.button-appearance_surface__v_bd3.button-appearance_dangerSubdued__oXXrB,
.button-appearance_surface__v_bd3.button-appearance_dangerSubdued__oXXrB:focus,
.button-appearance_surface__v_bd3.button-appearance_dangerSubdued__oXXrB:not(:disabled):not([aria-disabled="true"]):hover {
  background-clip: border-box;
  box-shadow: none !important;
}
.button-appearance_surface__v_bd3.button-appearance_dangerSubdued__oXXrB: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 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;
}

/* One body-owned fixed ancestor for receipts, XP, messages, chat and music. */
.notices_viewport__wyIar {
  position: fixed;
  z-index: 9999;
  top: max(var(--notice-top, 68px), calc(env(safe-area-inset-top, 0px) + 12px));
  right: max(var(--notice-right, 12px), calc(env(safe-area-inset-right, 0px) + 12px));
  width: min(var(--notice-width, 384px), calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  max-height: calc(100dvh - var(--notice-top, 68px) - var(--navigation-height, 71px) - env(safe-area-inset-bottom, 0px) - 12px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  pointer-events: none;
}
.notices_viewport__wyIar[data-layout="phone"] .notices_card__6YgyU { padding: 9px 11px; }
.notices_viewport__wyIar > * { flex: none; }
.notices_viewport__wyIar > [data-slot] { display: flex; flex-direction: column; }
.notices_viewport__wyIar > [data-slot]:empty, .notices_viewport__wyIar > .notices_list___LABx:empty { display: none; }
.notices_viewport__wyIar .notices_list___LABx > *, .notices_viewport__wyIar > [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_viewport__wyIar { 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; flex-wrap: wrap; gap: 6px; 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; }
}

/* Shared desktop primitives: page header + tabs, toolbar, panels, buttons, inspector.
 * Tokens: styles/desktop-shell.css. Concept: mf-desktop-concepts-20261002/mf-v2.css.
 * One canvas: panels are one shade lighter than the canvas and separated by spacing; thin
 * outlines and rules are used sparingly (round 2, knowledge/desktop-client.md).
 * Motion is colour, border, glow and opacity only (no scale or translate). */

/* ---------------------------------------------------------------- page header */
.desktop-primitives_pageHeader__1xAys {
  flex: none;
  position: relative;
  display: flex;
  align-items: flex-end;
  -moz-column-gap: 28px;
       column-gap: 28px;
  row-gap: 2px;
  min-height: 56px;
  margin: 0 var(--dt-pad);
  padding-top: 12px;
  font-variant-numeric: tabular-nums;
}
/* Tabs that do not fit beside the title and actions take a row of their own (PageHeader measures). */
.desktop-primitives_pageHeader__1xAys[data-stacked] { flex-wrap: wrap; }
.desktop-primitives_pageHeader__1xAys[data-stacked] .desktop-primitives_pageActions__0MU_5 { order: 1; }
.desktop-primitives_pageHeader__1xAys[data-stacked] .desktop-primitives_headerTabs___4bAi { order: 2; flex: 1 0 100%; }
.desktop-primitives_headerTabs___4bAi { flex: 0 1 auto; min-width: 0; display: flex; align-items: flex-end; }
.desktop-primitives_headerTabs___4bAi > .desktop-primitives_tabs__nPSYe { flex-wrap: wrap; }
/* From 1280 px a page's sub-pages are listed in the sidebar (desktop-sub-pages.ts). */
@media (min-width: 1280px) {
  .desktop-primitives_tabs__nPSYe[data-sub-pages] { display: none; }
}
.desktop-primitives_pageTitle___w3CH {
  flex: none;
  align-self: center;
  margin: 0;
  padding: 2px 0 4px;
  font-family: var(--font-cinzel), serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--dt-ivory);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .4);
  white-space: nowrap;
}
.desktop-primitives_pageSubtitle__RJy_l { align-self: center; color: var(--dt-muted); font-size: 13px; white-space: nowrap; }
.desktop-primitives_pageActions__0MU_5 {
  margin-left: auto;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
}

/* ---------------------------------------------------------------- underline tabs */
.desktop-primitives_tabs__nPSYe {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  min-width: 0;
}
.desktop-primitives_tab__oh4vI {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px 14px;
  border: 0;
  background: transparent;
  color: var(--dt-muted);
  font: 500 14px/22px var(--font-exo2), system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dt-dur-hover) var(--dt-ease);
}
.desktop-primitives_tab__oh4vI::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  transition: background-color var(--dt-dur-tab) var(--dt-ease);
}
.desktop-primitives_tab__oh4vI:hover { color: var(--dt-text); }
.desktop-primitives_tab__oh4vI:hover::after { background: rgba(212, 175, 55, .32); }
.desktop-primitives_tab__oh4vI[aria-selected="true"] { color: var(--dt-ivory); }
.desktop-primitives_tab__oh4vI[aria-selected="true"]::after { background: transparent; }
/* Visible keyboard focus (the arrows move it): !important over the global ring removal (globals.css). */
.desktop-primitives_tab__oh4vI:focus-visible { outline: var(--dt-focus) !important; outline-offset: -4px; border-radius: 7px; }
.desktop-primitives_tab__oh4vI[disabled] { opacity: .45; cursor: default; }
.desktop-primitives_tabIcon__ft0MI {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  opacity: .9;
  transition: opacity var(--dt-dur-hover) var(--dt-ease);
}
.desktop-primitives_tab__oh4vI:hover .desktop-primitives_tabIcon__ft0MI, .desktop-primitives_tab__oh4vI[aria-selected="true"] .desktop-primitives_tabIcon__ft0MI { opacity: 1; }
.desktop-primitives_tabCount__mWfIS {
  font: 600 11.5px/1 var(--font-exo2), system-ui, sans-serif;
  color: var(--dt-muted);
  padding: 3px 6px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
}
.desktop-primitives_tab__oh4vI[aria-selected="true"] .desktop-primitives_tabCount__mWfIS { color: var(--dt-gold-text); background: rgba(212, 175, 55, .13); }
.desktop-primitives_tabDot__z_EHW {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dt-amber);
  box-shadow: 0 0 0 2px var(--dt-l0);
}
/* The active underline is one element that slides between tabs (left/width, 200 ms). */
.desktop-primitives_tabsIndicator__uPTzA {
  position: absolute;
  height: 2px;
  border-radius: 2px;
  background: var(--dt-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, .5);
  pointer-events: none;
  transition: left var(--dt-dur-tab) var(--dt-ease), width var(--dt-dur-tab) var(--dt-ease);
}
.desktop-primitives_tabs__nPSYe[data-size="sm"] .desktop-primitives_tab__oh4vI { padding: 0 10px; height: 40px; font-size: 13px; gap: 7px; }
.desktop-primitives_tabs__nPSYe[data-size="sm"] .desktop-primitives_tabIcon__ft0MI { width: 18px; height: 18px; }
.desktop-primitives_tabs__nPSYe[data-size="sm"] .desktop-primitives_tab__oh4vI::after { left: 8px; right: 8px; }

/* ---------------------------------------------------------------- toolbar */
.desktop-primitives_toolbar__wBwY7 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-variant-numeric: tabular-nums;
}
.desktop-primitives_toolbar__wBwY7[data-sticky] {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 8px 0;
  background: var(--dt-bg);
}
.desktop-primitives_toolbarSpacer__cs5QN { flex: 1; }
.desktop-primitives_toolbarCount__hQl7C { color: var(--dt-muted); font-size: 12.5px; white-space: nowrap; }
.desktop-primitives_field__lWN61 {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--dt-field);
  color: var(--dt-faint);
  transition: border-color var(--dt-dur-hover) var(--dt-ease), box-shadow var(--dt-dur-hover) var(--dt-ease), background-color var(--dt-dur-hover) var(--dt-ease);
}
.desktop-primitives_field__lWN61:hover { border-color: rgba(212, 175, 55, .30); background: var(--dt-field-hover); }
.desktop-primitives_field__lWN61:focus-within { border-color: rgba(212, 175, 55, .55); box-shadow: 0 0 0 3px rgba(212, 175, 55, .12); color: var(--dt-text); }
.desktop-primitives_field__lWN61 input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--dt-text);
  font: 400 13px/1 var(--font-exo2), system-ui, sans-serif;
}
.desktop-primitives_field__lWN61 input::-moz-placeholder { color: var(--dt-faint); }
.desktop-primitives_field__lWN61 input::placeholder { color: var(--dt-faint); }
.desktop-primitives_chip__ttaDS {
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, .055);
  color: var(--dt-text-2);
  font: 500 12.5px/1 var(--font-exo2), system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dt-dur-hover) var(--dt-ease), border-color var(--dt-dur-hover) var(--dt-ease), color var(--dt-dur-hover) var(--dt-ease);
}
.desktop-primitives_chip__ttaDS:hover { color: var(--dt-text); background: rgba(255, 255, 255, .085); }
.desktop-primitives_chip__ttaDS[aria-pressed="true"] { background: rgba(212, 175, 55, .16); border-color: rgba(212, 175, 55, .45); color: var(--dt-gold-text); }
.desktop-primitives_chip__ttaDS:focus-visible { outline: var(--dt-focus); outline-offset: 2px; }
.desktop-primitives_chipCount__odb3F { color: var(--dt-muted); font-weight: 600; }
.desktop-primitives_chip__ttaDS[aria-pressed="true"] .desktop-primitives_chipCount__odb3F { color: var(--dt-gold-text); }
.desktop-primitives_seg__RQolB { display: inline-flex; padding: 2px; gap: 2px; border-radius: 8px; background: var(--dt-field); flex: none; }
.desktop-primitives_segItem__vHp_O {
  height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--dt-muted);
  font: 500 12.5px/1 var(--font-exo2), system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dt-dur-hover) var(--dt-ease), color var(--dt-dur-hover) var(--dt-ease);
}
.desktop-primitives_segItem__vHp_O:hover { color: var(--dt-text); }
.desktop-primitives_segItem__vHp_O[aria-checked="true"] { background: #3b3a35; color: var(--dt-ivory); box-shadow: 0 0 0 1px rgba(196, 166, 99, .5) inset; }
.desktop-primitives_segItem__vHp_O:focus-visible { outline: var(--dt-focus); outline-offset: 1px; }

/* ---------------------------------------------------------------- panels (L2) */
.desktop-primitives_panel__dlowP {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--dt-radius);
  background: var(--dt-l2);
  font-variant-numeric: tabular-nums;
}
.desktop-primitives_panel__dlowP[data-gilded]::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--dt-gild);
  pointer-events: none;
  z-index: 1;
}
/* The head is one 46 px row; actions that do not fit beside the title take a row of their own,
 * whole and right-aligned, instead of running out of the panel (round 6 layout audit). */
.desktop-primitives_panelHead__qZvck { flex: none; min-height: 46px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; padding: 2px 16px 0; }
.desktop-primitives_panelTitle__IjZaR { margin: 0; font: 600 15px/1 var(--font-cinzel), serif; color: var(--dt-ivory); letter-spacing: .02em; white-space: nowrap; }
.desktop-primitives_panelMeta__NmpTf { color: var(--dt-muted); font-size: 12.5px; white-space: nowrap; }
.desktop-primitives_panelActions__BfZqY { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.desktop-primitives_panelBody__uJnqB { flex: 1; min-height: 0; overflow: auto; }
.desktop-primitives_panelSection__d3tx8 { padding: 14px 16px; border-bottom: 1px solid var(--dt-rule); }
.desktop-primitives_panelSection__d3tx8:last-child { border-bottom: 0; }
.desktop-primitives_panelFooter__7wvSv { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 16px; }
.desktop-primitives_eyebrow__wyc2D { font: 600 11px/1 var(--font-exo2), system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--dt-muted); }

/* ---------------------------------------------------------------- buttons (content-sized) */
.desktop-primitives_btn__uLvEV {
  --h: 36px;
  height: var(--h);
  min-width: 112px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 600 13.5px/1 var(--font-exo2), system-ui, sans-serif;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background-color 130ms var(--dt-ease), border-color 130ms var(--dt-ease), box-shadow 130ms var(--dt-ease), color 130ms var(--dt-ease), filter 130ms var(--dt-ease);
}
.desktop-primitives_btn__uLvEV[data-size="sm"] { --h: 30px; min-width: 0; padding: 0 12px; font-size: 13px; letter-spacing: 0; border-radius: 7px; }
.desktop-primitives_btn__uLvEV[data-size="lg"] { --h: 44px; font-size: 14.5px; padding: 0 22px; }
.desktop-primitives_btn__uLvEV[data-block] { width: 100%; }
.desktop-primitives_btn__uLvEV:focus-visible { outline: var(--dt-focus); outline-offset: 2px; }
.desktop-primitives_btn__uLvEV:active { transition-duration: var(--dt-dur-press); }
.desktop-primitives_btn__uLvEV[data-variant="primary"] {
  color: #FFF9EA;
  border-color: rgba(240, 210, 120, .42);
  background: linear-gradient(180deg, #977E2F 0%, #856D24 52%, #78621F 100%);
  box-shadow: 0 1px 0 rgba(255, 236, 180, .28) inset, 0 2px 8px rgba(0, 0, 0, .28);
  text-shadow: 0 1px 1px rgba(40, 26, 0, .55);
}
.desktop-primitives_btn__uLvEV[data-variant="primary"]:hover { background: linear-gradient(180deg, #9E8432 0%, #877026 52%, #79631F 100%); box-shadow: 0 1px 0 rgba(255, 240, 200, .3) inset, 0 0 0 1px rgba(240, 210, 120, .25), 0 4px 14px rgba(212, 175, 55, .22); }
.desktop-primitives_btn__uLvEV[data-variant="primary"]:active { background: linear-gradient(180deg, #6F5B1D 0%, #7A6421 100%); box-shadow: 0 2px 5px rgba(0, 0, 0, .45) inset; }
.desktop-primitives_btn__uLvEV[data-variant="secondary"] { color: var(--dt-text); background: #383940; border-color: rgba(255, 255, 255, .11); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset; }
.desktop-primitives_btn__uLvEV[data-variant="secondary"]:hover { background: #40414a; border-color: rgba(212, 175, 55, .40); }
.desktop-primitives_btn__uLvEV[data-variant="secondary"]:active { background: #303137; box-shadow: 0 2px 4px rgba(0, 0, 0, .4) inset; }
.desktop-primitives_btn__uLvEV[data-variant="ghost"] { color: var(--dt-text-2); background: transparent; min-width: 0; padding: 0 10px; }
.desktop-primitives_btn__uLvEV[data-variant="ghost"]:hover { background: rgba(255, 255, 255, .05); color: var(--dt-text); }
.desktop-primitives_btn__uLvEV[data-variant="ghost"]:active { background: rgba(0, 0, 0, .18); }
.desktop-primitives_btn__uLvEV[data-variant="buy"] { color: #F2FFF7; border-color: rgba(120, 230, 170, .32); background: linear-gradient(180deg, #2B8A58, #227449); box-shadow: 0 1px 0 rgba(200, 255, 225, .18) inset, 0 2px 8px rgba(0, 0, 0, .25); }
.desktop-primitives_btn__uLvEV[data-variant="buy"]:hover { background: linear-gradient(180deg, #2C8C5B, #23774C); box-shadow: 0 1px 0 rgba(200, 255, 225, .22) inset, 0 4px 14px rgba(52, 165, 109, .25); }
.desktop-primitives_btn__uLvEV[data-variant="buy"]:active { background: #1E6841; box-shadow: 0 2px 5px rgba(0, 0, 0, .4) inset; }
.desktop-primitives_btn__uLvEV[data-variant="sell"] { color: #FFF3F1; border-color: rgba(255, 150, 140, .28); background: linear-gradient(180deg, #BF5148, #A3413A); box-shadow: 0 1px 0 rgba(255, 210, 200, .16) inset, 0 2px 8px rgba(0, 0, 0, .25); }
.desktop-primitives_btn__uLvEV[data-variant="sell"]:hover { background: linear-gradient(180deg, #CC5B51, #AE4840); }
.desktop-primitives_btn__uLvEV[data-variant="sell"]:active { background: #93392F; box-shadow: 0 2px 5px rgba(0, 0, 0, .4) inset; }
/* Subdued danger (withdraw, round 11): the secondary surface with red text and edge; red, never loud. */
.desktop-primitives_btn__uLvEV[data-variant="danger"] { color: #F4B3AA; background: #3A3335; border-color: rgba(232, 131, 122, .34); box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset; }
.desktop-primitives_btn__uLvEV[data-variant="danger"]:hover { color: #FFC9C1; background: #45383A; border-color: rgba(232, 131, 122, .58); }
.desktop-primitives_btn__uLvEV[data-variant="danger"]:active { background: #2F2A2C; box-shadow: 0 2px 4px rgba(0, 0, 0, .4) inset; }
.desktop-primitives_btn__uLvEV:disabled { cursor: default; filter: saturate(.25) brightness(.78); opacity: .62; box-shadow: none; }
/* A group of buttons (button-row.tsx): one row while they fit, otherwise one full-width button per
 * row; never a ragged second row. The attribute selectors outrank a page's own class on the row
 * (its gap and margins apply, a flex-wrap does not). Buttons keep their width; any other child (a
 * block of its own, such as an offer's quantity and price) keeps its own flex. */
.desktop-primitives_btnRow__talxQ { display: flex; align-items: center; gap: 8px; min-width: 0; }
.desktop-primitives_btnRow__talxQ[data-button-row] { flex-direction: row; flex-wrap: nowrap; }
.desktop-primitives_btnRow__talxQ[data-button-row] > :is(button, a, [role="button"]) { flex: none; }
.desktop-primitives_btnRow__talxQ[data-align="end"] { justify-content: flex-end; }
.desktop-primitives_btnRow__talxQ[data-stacked] { flex-direction: column; align-items: stretch; }
.desktop-primitives_btnRow__talxQ[data-stacked] > * { width: 100%; }

/* ---------------------------------------------------------------- inspector (list-detail) */
.desktop-primitives_withInspector__t_oJk {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--dt-gap);
  min-height: 0;
}
.desktop-primitives_withInspector__t_oJk[data-open] { grid-template-columns: minmax(0, 1fr) var(--dt-inspector); }
.desktop-primitives_inspector__WbiHK {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 100%;
  border-radius: var(--dt-radius);
  background: var(--dt-l2);
  animation: desktop-primitives_dtInspectorIn__PxFQJ var(--dt-dur-panel) var(--dt-ease);
  font-variant-numeric: tabular-nums;
}
.desktop-primitives_inspectorHead__UwM8N { flex: none; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 8px 0 16px; }
.desktop-primitives_inspectorTitle__r7KLF { margin: 0; min-width: 0; flex: 1; font: 600 16px/1.2 var(--font-cinzel), serif; color: var(--dt-ivory); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desktop-primitives_inspectorBody__AlgJo { flex: 1; min-height: 0; overflow-y: auto; }
.desktop-primitives_inspectorFooter__RPwUl { flex: none; display: flex; gap: 10px; justify-content: flex-end; padding: 12px 16px; }
.desktop-primitives_closeBtn__GZ9ih {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--dt-muted);
  cursor: pointer;
  transition: background-color var(--dt-dur-hover) var(--dt-ease), color var(--dt-dur-hover) var(--dt-ease);
}
.desktop-primitives_closeBtn__GZ9ih:hover { background: rgba(255, 255, 255, .06); color: var(--dt-text); }
.desktop-primitives_closeBtn__GZ9ih:focus-visible { outline: var(--dt-focus); outline-offset: 1px; }
/* Narrow desktop (below 1360 px the page is at most about 1290 px wide, 1040-1119 px beside the full
 * sidebar at 1280-1359): the inspector overlays the right of the list. */
@media (max-width: 1359.98px) {
  .desktop-primitives_withInspector__t_oJk[data-open] { grid-template-columns: minmax(0, 1fr); }
  .desktop-primitives_withInspector__t_oJk[data-open] > .desktop-primitives_inspector__WbiHK {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(var(--dt-inspector), 100%);
    z-index: 20;
    background: var(--dt-l2);
    box-shadow: -18px 0 40px rgba(0, 0, 0, .45);
  }
}
@keyframes desktop-primitives_dtInspectorIn__PxFQJ { from { opacity: 0 } to { opacity: 1 } }

/* Exo 2 figures are tabular in every primitive (the `font` shorthand resets the feature). */
.desktop-primitives_pageHeader__1xAys *, .desktop-primitives_panel__dlowP *, .desktop-primitives_toolbar__wBwY7 *, .desktop-primitives_inspector__WbiHK *, .desktop-primitives_btn__uLvEV, .desktop-primitives_chip__ttaDS, .desktop-primitives_segItem__vHp_O { font-variant-numeric: tabular-nums !important; }

/* ---------------------------------------------------------------- explanations on demand (info-tip.tsx) */
/* The mark: an italic "i" in a small round chip (pages may keep their own mark). */
.desktop-primitives_info__UeU5P {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  padding: 0;
  margin: 0 2px;
  border: 0;
  border-radius: 50%;
  vertical-align: middle;
  font: italic 700 11.5px/1 Georgia, 'Times New Roman', serif;
  color: var(--dt-muted);
  background: rgba(255, 255, 255, .09);
  cursor: help;
  transition: background-color var(--dt-dur-hover) var(--dt-ease), color var(--dt-dur-hover) var(--dt-ease);
}
.desktop-primitives_info__UeU5P:hover, .desktop-primitives_info__UeU5P[aria-expanded="true"] { color: var(--dt-gold-text); background: rgba(212, 175, 55, .18); }
.desktop-primitives_info__UeU5P:focus-visible { outline: var(--dt-focus); outline-offset: 2px; }
/* The tip: its own look whatever it explains (never a title's capitals or a label's single line),
 * as wide as its text up to the width it is given, wrapped inside its box, above dialogs. */
.desktop-primitives_tip__8_0Wp {
  position: fixed;
  z-index: 700;
  box-sizing: border-box;
  width: -moz-max-content;
  width: max-content;
  overflow-y: auto;
  padding: 9px 12px;
  border: 1px solid var(--dt-line-2);
  border-radius: 8px;
  background: var(--dt-l3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
  color: var(--dt-text-2);
  font: 400 12.5px/1.45 var(--font-exo2), system-ui, sans-serif;
  font-variant: normal;
  letter-spacing: normal;
  text-transform: none;
  text-align: start;
  white-space: normal;
  overflow-wrap: break-word;
  scrollbar-width: thin;
  pointer-events: none;
  animation: desktop-primitives_dtTipIn__nAxYi 120ms ease-out;
}
.desktop-primitives_tip__8_0Wp b, .desktop-primitives_tip__8_0Wp strong { color: var(--dt-text); font-weight: 600; }
@keyframes desktop-primitives_dtTipIn__nAxYi { from { opacity: 0 } to { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .desktop-primitives_tip__8_0Wp { animation: none; } }

/* Desktop Market (Special offers; Swap has swap.module.css). Tokens: styles/desktop-shell.css.
 * Concept: mf-desktop-concepts-20261002/market-offers-v2.html. The desktop has no Elements page
 * (round 5): basic elements are bought in the Forge.
 * Motion is colour, border, glow and opacity only (no scale or translate). */

/* ---------------------------------------------------------------- page body */
.market_body__lAknt {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 16px var(--dt-pad) var(--dt-pad);
  overflow: auto;
  font-variant-numeric: tabular-nums;
}
.market_body__lAknt * { font-variant-numeric: tabular-nums; }
.market_fade__XB_lx { animation: market_mkFade__bycit var(--dt-dur-section) var(--dt-ease); }
@keyframes market_mkFade__bycit { from { opacity: 0 } to { opacity: 1 } }

.market_headLink__WZds9 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--dt-text-2);
  font: 600 13px/22px var(--font-exo2), system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dt-dur-hover) var(--dt-ease), background-color var(--dt-dur-hover) var(--dt-ease);
}
.market_headLink__WZds9:hover { color: var(--dt-gold-text); background: rgba(255, 255, 255, .04); }
.market_headLink__WZds9:focus-visible { outline: var(--dt-focus); outline-offset: 1px; }

/* ---------------------------------------------------------------- art and explanations */
/* Element and offer art is drawn as it is: no frame, ring, circle or plate behind it. */
.market_art__cxjSj { position: relative; flex: none; display: inline-block; }
.market_art__cxjSj img { filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); }
.market_info__8Lf_n {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font: italic 700 12px/1 Georgia, 'Times New Roman', serif;
  color: var(--dt-muted);
  background: rgba(255, 255, 255, .09);
  cursor: help;
  transition: background-color var(--dt-dur-hover) var(--dt-ease), color var(--dt-dur-hover) var(--dt-ease);
}
.market_info__8Lf_n:hover, .market_info__8Lf_n[aria-expanded="true"] { color: var(--dt-gold-text); background: rgba(212, 175, 55, .18); }
.market_info__8Lf_n:focus-visible { outline: var(--dt-focus); outline-offset: 2px; }

.market_price__Y10Ur { display: inline-flex; align-items: center; gap: 5px; font: 600 14px/1 var(--font-exo2), system-ui, sans-serif; color: var(--dt-gold-text); white-space: nowrap; }
.market_priceFree__8kGIX { color: #62D6A0; letter-spacing: .04em; }

.market_bar__BTw8R { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.market_bar__BTw8R > i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #B8952E, #E2C063); transition: width 400ms var(--dt-ease); }
.market_bar__BTw8R[data-tone="low"] > i { background: linear-gradient(90deg, #B5652E, #E5A85A); }

/* ---------------------------------------------------------------- shared controls */
/* The quantity stepper (Special offers). */
.market_qty__G_2S8 {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  height: 34px;
  border-radius: 8px;
  background: var(--dt-l2-raise);
  border: 1px solid var(--dt-line-2);
  transition: border-color var(--dt-dur-hover) var(--dt-ease), box-shadow var(--dt-dur-hover) var(--dt-ease);
}
.market_qty__G_2S8:hover { border-color: rgba(212, 175, 55, .30); }
.market_qty__G_2S8[data-on] { border-color: rgba(212, 175, 55, .55); box-shadow: 0 0 0 3px rgba(212, 175, 55, .10); }
.market_qty__G_2S8:focus-within { border-color: rgba(212, 175, 55, .70); box-shadow: 0 0 0 3px rgba(212, 175, 55, .16); }
.market_qtyStep__nIF9c {
  flex: none;
  width: 28px;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--dt-text-2);
  font: 600 15px/1 var(--font-exo2), system-ui, sans-serif;
  cursor: pointer;
  border-radius: 7px;
  transition: color var(--dt-dur-hover) var(--dt-ease), background-color var(--dt-dur-hover) var(--dt-ease);
}
.market_qtyStep__nIF9c:hover:not(:disabled) { color: var(--dt-gold-text); background: rgba(255, 255, 255, .04); }
.market_qtyStep__nIF9c:disabled { color: var(--dt-faint); opacity: .5; cursor: default; }
.market_qtyInput__13iDA {
  flex: 0 1 54px;
  width: 54px;
  min-width: 28px;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  text-align: center;
  color: var(--dt-text);
  font: 600 14px/1 var(--font-exo2), system-ui, sans-serif;
}
/* A long label in some locales wraps inside the button instead of overflowing it. */
.market_wrapBtn__6yVGX { --h: auto !important; min-height: 44px; padding-top: 8px !important; padding-bottom: 8px !important; white-space: normal !important; line-height: 1.25 !important; text-align: center; }
.market_errorLine__1R7vj { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; line-height: 1.4; color: var(--dt-red); }
/* A purchase made in the open offer view: its result, and Open now for a pack, in the view itself. */
.market_okLine__A_h4i { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; line-height: 1.4; color: var(--dt-text-2); }
.market_okIc__ZqoeG { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(69, 194, 133, .16); color: #62D6A0; }
.market_okText__rvnXs { flex: 1 1 auto; min-width: 0; }
.market_okLine__A_h4i > :last-child:not(.market_okText__rvnXs) { flex: none; }
.market_empty__RcNvU {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 20px;
  text-align: center;
}
.market_emptyTitle__Cjoaz { font: 600 14px/1.2 var(--font-cinzel), serif; color: var(--dt-ivory); }

/* skeletons: same shapes as the content, no spinners */
.market_skel__uf8aS { display: block; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.08), rgba(255,255,255,.04)); background-size: 200% 100%; animation: market_mkShimmer__Ljkip 1.4s linear infinite; }
@keyframes market_mkShimmer__Ljkip { from { background-position: 200% 0 } to { background-position: -200% 0 } }

/* confirmation popover (L3, anchored to the spending button) */
.market_confirm__vVmnP {
  position: absolute;
  left: 12px;
  right: 12px;
  z-index: 40;
  padding: 12px 14px;
  border: 1px solid var(--dt-line-2);
  border-radius: 10px;
  background: var(--dt-l3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
  animation: market_mkFade__bycit var(--dt-dur-panel) var(--dt-ease);
}
/* A decision's light dim behind the popover (ConfirmPopover dim; the decision dialogs' .45, from
 * ui/desktop-dialog.module.css): fixed to the window, under the popover in the same layer. */
.market_confirmDim__LIy2Q {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(10, 10, 13, .45);
  animation: market_mkFade__bycit var(--dt-dur-panel) var(--dt-ease);
}
.market_confirm__vVmnP[data-placement="above"] { bottom: calc(100% - 4px); }
.market_confirm__vVmnP[data-placement="below"] { top: calc(100% + 4px); }
.market_confirmTitle__rFH6V { font: 600 13.5px/1.35 var(--font-exo2), system-ui, sans-serif; color: var(--dt-text); }
.market_confirmBody__VBgsQ { margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--dt-text-2); }
.market_confirmActions__Gu0qb { margin-top: 12px; display: flex; justify-content: flex-end; gap: 8px; }
.market_confirmCancel__Jvdld, .market_confirmOk___8z_A {
  height: 30px;
  padding: 0 12px;
  border-radius: 7px;
  font: 600 13px/1 var(--font-exo2), system-ui, sans-serif;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 130ms var(--dt-ease), border-color 130ms var(--dt-ease), box-shadow 130ms var(--dt-ease);
}
.market_confirmCancel__Jvdld { color: var(--dt-text-2); background: transparent; }
.market_confirmCancel__Jvdld:hover { background: rgba(255, 255, 255, .06); color: var(--dt-text); }
.market_confirmOk___8z_A { color: #FFF9EA; border-color: rgba(240, 210, 120, .42); background: linear-gradient(180deg, #977E2F 0%, #856D24 52%, #78621F 100%); }
.market_confirmOk___8z_A:hover { box-shadow: 0 0 0 1px rgba(240, 210, 120, .25), 0 4px 14px rgba(212, 175, 55, .22); }
.market_confirmOk___8z_A[data-variant="buy"] { color: #F2FFF7; border-color: rgba(120, 230, 170, .32); background: linear-gradient(180deg, #2B8A58, #227449); }
.market_confirmOk___8z_A[data-variant="sell"] { color: #FFF3F1; border-color: rgba(255, 150, 140, .28); background: linear-gradient(180deg, #BF5148, #A3413A); }
.market_confirmCancel__Jvdld:focus-visible, .market_confirmOk___8z_A:focus-visible { outline: var(--dt-focus); outline-offset: 2px; }

/* ---------------------------------------------------------------- Special offers */
.market_ofLayout__dImf6 { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
/* The toolbar: how many offers are open to the player, then whether ended ones show and the order.
 * The shop is small, so there are no categories and no name filter (Alex, 2026-10-11). It wraps onto
 * a second line in long locales rather than hiding or cutting a control. */
.market_ofToolbar__U0ptn { flex: none; display: flex; align-items: center; gap: 8px 6px; min-height: 34px; min-width: 0; flex-wrap: wrap; }
.market_ofCount__i4ZBN { margin-right: auto; color: var(--dt-text-2); font-size: 13px; white-space: nowrap; }
.market_ofCount__i4ZBN b { color: var(--dt-text); }
.market_check__1XNz8 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 6px;
  font-size: 12.5px;
  color: var(--dt-text-2);
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.market_check__1XNz8 input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.market_checkBox__QTiwl { width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .26); background: var(--dt-l2-raise); display: inline-grid; place-items: center; flex: none; color: var(--dt-on-accent); transition: background-color var(--dt-dur-hover) var(--dt-ease), border-color var(--dt-dur-hover) var(--dt-ease); }
.market_check__1XNz8 input:checked + .market_checkBox__QTiwl { background: var(--dt-gold-fill); border-color: var(--dt-gold); }
.market_check__1XNz8 input:focus-visible + .market_checkBox__QTiwl { outline: var(--dt-focus); outline-offset: 2px; }
.market_check__1XNz8:hover .market_checkBox__QTiwl { border-color: rgba(212, 175, 55, .55); }

.market_select__nhnel { position: relative; margin-left: 6px; }
.market_selectBtn__cfTe2 {
  height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--dt-line-2);
  background: var(--dt-l2-raise);
  color: var(--dt-muted);
  font: 500 12.5px/1 var(--font-exo2), system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color var(--dt-dur-hover) var(--dt-ease);
}
.market_selectBtn__cfTe2 b { color: var(--dt-text); font-weight: 600; }
.market_selectBtn__cfTe2:hover, .market_selectBtn__cfTe2[aria-expanded="true"] { border-color: rgba(212, 175, 55, .45); }
.market_selectBtn__cfTe2:focus-visible { outline: var(--dt-focus); outline-offset: 2px; }
.market_menu__iKVsv {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 30;
  min-width: 200px;
  padding: 4px;
  border: 1px solid var(--dt-line-2);
  border-radius: 9px;
  background: var(--dt-l3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  animation: market_mkFade__bycit var(--dt-dur-panel) var(--dt-ease);
}
.market_menuItem__PAb8Y {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--dt-text-2);
  font: 500 13px/1 var(--font-exo2), system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}
.market_menuItem__PAb8Y:hover, .market_menuItem__PAb8Y:focus-visible { background: rgba(255, 255, 255, .06); color: var(--dt-text); outline: none; }
.market_menuItem__PAb8Y[aria-checked="true"] { color: var(--dt-gold-text); }

.market_ogridScroll__PKRXA { flex: 1; min-height: 0; overflow: auto; padding: 2px 6px 2px 2px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .14) transparent; }
/* Columns of at least 208 px, wider when the list's longest title needs it (--oc-min, set by
 * market-offers.tsx useTitleFit). */
.market_ogrid__5WhQG { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--oc-min, 208px)), 1fr)); grid-auto-rows: max-content; gap: 14px; align-content: start; }
/* An offer card: the art large and free (no plate, no type or status badge), then name, one line
 * of facts and the foot with the price and the card's one action. */
.market_oc__Higyz {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 12px;
  background: var(--dt-l2);
  cursor: pointer;
  text-align: left;
  color: inherit;
  outline: none;
  transition: background-color 130ms var(--dt-ease), box-shadow 130ms var(--dt-ease);
}
.market_oc__Higyz:hover { background: #2f3036; box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .28); }
.market_oc__Higyz:focus-visible { box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .7), 0 0 0 2px rgba(198, 173, 112, .45); }
.market_oc__Higyz[data-ended] .market_ocArt__p35_v { filter: saturate(.5) brightness(.8); }
.market_ocArt__p35_v { height: 158px; display: grid; place-items: center; position: relative; }
.market_ocImg__QyIe0 { width: 128px; height: 128px; }
.market_ocImg__QyIe0 img { filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45)); }
.market_ocBody__4EEda { padding: 2px 14px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 0; }
/* The title stays on one line in every locale: one wider than its card is drawn a step smaller, down
 * to 13 px, and the columns widen before that is not enough (useTitleFit sets the size). The line
 * keeps its 18 px, so the cards of a row stay aligned. */
.market_ocName__WqLhY { font: 600 15px/18px var(--font-cinzel), serif; color: var(--dt-text); margin: 0; white-space: nowrap; }
.market_ocMeta__godPz { font-size: 12px; line-height: 1.35; color: var(--dt-muted); }
.market_ocBar__ISsNz { height: 3px; }
/* Nothing in the foot is clipped: a status that does not fit beside the price wraps under it,
 * and a lock reason always takes its own line (wrapping inside the card). */
.market_ocFoot__iIW_B { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; min-height: 36px; }
.market_ocFoot__iIW_B > .market_price__Y10Ur { font-size: 16px; }
/* The card's one action (Buy in the buy green, Claim, Buy MST and Deposit in gold) is a step larger
 * than the page's small buttons, so it reads at a glance beside the price; its variant and size
 * stay in market-offers.tsx, this only sets the card's measure. */
.market_ocFoot__iIW_B > button[data-variant] { --h: 36px; min-width: 96px; padding: 0 16px; font-size: 13.5px; border-radius: 8px; }
/* An offer the player cannot buy now: its price steps back and the foot says what is missing. */
.market_oc__Higyz[data-locked] .market_ocFoot__iIW_B > .market_price__Y10Ur { color: var(--dt-text-2); }
.market_ocLock__si9UM { font-size: 12.5px; line-height: 1.35; color: var(--dt-text-2); display: inline-flex; gap: 6px; align-items: flex-start; min-width: 0; overflow-wrap: anywhere; }
.market_ocLock__si9UM[data-full] { flex-basis: 100%; }
.market_ocLock__si9UM svg { flex: none; margin-top: 2px; }

.market_skelCard__qWzHN { height: 236px; border-radius: 10px; }

/* offer details in the shared item view */
.market_ivArt__WmS09 { display: block; width: 100%; height: 100%; }
.market_ivArt__WmS09 img { width: 100% !important; height: 100% !important; -o-object-fit: contain; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5)); }
.market_ivArt__WmS09[data-ended] img { filter: saturate(.5) brightness(.8); }
/* The offer's actions take the panel's full width (quantity, the result of a purchase, Buy and its
 * confirmation). The view's action group sizes to its content since the element view's links share
 * its row; a width it cannot have stretches it to the row (the group shrinks to fit, this block
 * with it), where the confirmation's Cancel and Buy keep their labels whole. */
.market_ivActions__YsgSD { position: relative; flex: 1 1 100%; width: 560px; max-width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.market_ivNote__jcSiW { margin: 0; font-size: 12px; line-height: 1.45; color: var(--dt-text-2); }
.market_desc___aGu6 { margin: 0; color: var(--dt-text-2); font-size: 13px; line-height: 1.55; }
/* A pack's avatar pool, opened from its row: portraits of a moderate size, as many a row as fit. */
.market_avsNote___g0Q_ { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--dt-text-2); }
.market_avs__S__mY { align-self: stretch; display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 72px)); gap: 10px 12px; }
/* An avatar is a circle; the button does not clip, so the owned mark sits whole on the circle's
 * edge at the lower right (centred on it: 14.6 % of the size in from each side, minus half the
 * mark), ringed in the panel's tone so it reads apart from the portrait. */
.market_av__a1ICn { position: relative; border-radius: 50%; aspect-ratio: 1; background: transparent; padding: 0; border: 0; cursor: pointer; transition: box-shadow var(--dt-dur-hover) var(--dt-ease); }
.market_av__a1ICn:hover { box-shadow: 0 0 14px rgba(212, 175, 55, .25); }
.market_av__a1ICn:focus-visible { outline: var(--dt-focus); outline-offset: 2px; }
.market_avImg___I990 { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.market_avImg___I990 img { width: 100% !important; height: 100% !important; -o-object-fit: cover; object-fit: cover; }
.market_avOwn__ktSj9 { position: absolute; right: calc(14.6% - 9px); bottom: calc(14.6% - 9px); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #2E9563; color: #F2FFF7; box-shadow: 0 0 0 2px var(--dt-l2); }
/* What a purchase gives: the first block of the offer view, one row per item. */
.market_slots___Cn8Q { display: flex; flex-direction: column; gap: 4px; container: offer-slots / inline-size; }
/* A slot is a row: art, name and amount, chance, and a chevron when it opens something (an element's
 * view, or an artifact's rarities in place). */
.market_slot__UORHo { width: 100%; min-height: 44px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 14px; gap: 10px; align-items: center; margin: 0; padding: 4px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--dt-text-2); font: 400 13px/1.35 var(--font-exo2), system-ui, sans-serif; text-align: left; }
button.market_slot__UORHo { cursor: pointer; transition: background-color var(--dt-dur-hover) var(--dt-ease), color var(--dt-dur-hover) var(--dt-ease); }
button.market_slot__UORHo:hover, .market_slotItem__nvGtv[data-open] > button.market_slot__UORHo { background: rgba(255, 255, 255, .045); }
button.market_slot__UORHo:focus-visible { outline: var(--dt-focus); outline-offset: 1px; }
.market_slotIcon__mBGxG { width: 34px; height: 38px; display: grid; place-items: center; }
.market_slotText__uPZ5_ { min-width: 0; }
.market_slotName__7Bj2d { color: var(--dt-text); font-weight: 600; overflow-wrap: anywhere; }
.market_slotChance__IUVQO { color: var(--dt-muted); white-space: nowrap; }
.market_slotGo__L3tXi { display: grid; place-items: center; color: var(--dt-muted); }
button.market_slot__UORHo:hover .market_slotGo__L3tXi { color: var(--dt-gold-text); }
/* The guarantee/chance is still visible, but no longer steals the name and
 * quantity's line in the details of a narrow pinned page. */
@container offer-slots (max-width: 480px) {
  .market_slot__UORHo { grid-template-columns: 34px minmax(0, 1fr) 14px; row-gap: 2px; }
  .market_slotIcon__mBGxG { grid-row: 1 / 3; }
  .market_slotText__uPZ5_ { grid-column: 2; grid-row: 1; }
  .market_slotChance__IUVQO { grid-column: 2; grid-row: 2; }
  .market_slotGo__L3tXi { grid-column: 3; grid-row: 1 / 3; }
}
/* Artifact cards as drawn (their frame is in the art). */
.market_slotCard__HPPU_ { position: relative; display: block; width: 27px; aspect-ratio: 797 / 1096; }
.market_cardArt__82G0w { position: absolute; inset: 0; display: block; }
.market_slotItem__nvGtv { display: flex; flex-direction: column; }
.market_slotMore__T8Tia { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px 8px 14px; }
.market_slotMoreHead__KYutC { margin: 0; font: 600 11px/1.3 var(--font-exo2), system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--dt-muted); }
.market_rarities__XcIAB { align-self: stretch; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 12px 8px; }
.market_rarity__6mW_Z { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.market_rarityCard__NPk7t { position: relative; display: block; width: 64px; aspect-ratio: 797 / 1096; margin-bottom: 4px; }
.market_rarityName__R0uWK { font: 600 12.5px/1.25 var(--font-exo2), system-ui, sans-serif; white-space: nowrap; }
.market_rarityChance__qByE8 { font: 600 13px/1.25 var(--font-exo2), system-ui, sans-serif; color: var(--dt-text); }
.market_rarityRate__yCU28 { font-size: 12px; line-height: 1.3; color: var(--dt-muted); }
.market_cond__cEdI8 { display: flex; flex-direction: column; gap: 10px; }
.market_c__GeZJ8 { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; line-height: 1.4; color: var(--dt-text-2); }
.market_cIc__iZ6an { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.market_cIc__iZ6an[data-ok] { background: rgba(69, 194, 133, .16); color: #62D6A0; }
.market_cIc__iZ6an:not([data-ok]) { background: rgba(229, 168, 90, .14); color: #F0B870; }
.market_c__GeZJ8 b { color: var(--dt-text); font-weight: 600; }
.market_cLink__lx3oY { border: 0; background: transparent; color: var(--dt-gold-text); font: 600 12.5px/1.2 var(--font-exo2), system-ui, sans-serif; cursor: pointer; padding: 4px 2px; white-space: nowrap; }
.market_cLink__lx3oY:hover { text-decoration: underline; }
.market_cLink__lx3oY:focus-visible { outline: var(--dt-focus); border-radius: 4px; }
.market_oQty__0CIie { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--dt-muted); }

@media (prefers-reduced-motion: reduce) {
  .market_fade__XB_lx, .market_confirm__vVmnP, .market_confirmDim__LIy2Q, .market_menu__iKVsv { animation: none; }
  .market_skel__uf8aS { animation: none; }
  .market_bar__BTw8R > i { transition: none; }
}

/* One achievement as an ordinary dialog (round 11): the reward's art beside what the player did
 * and what they get; Claim in the footer. Phones stack the same parts. Colours follow the desktop
 * tokens with phone fallbacks; no black text. */
.achievement-modal_body__2QqTU {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 14px;
  padding: 6px 2px 4px;
  color: var(--dt-text, #e8e4dc);
  font-family: var(--font-exo2), system-ui, sans-serif;
}
.achievement-modal_body__2QqTU[data-shell="desktop"] {
  grid-template-columns: 152px minmax(0, 1fr);
  justify-items: stretch;
  align-items: start;
  gap: 24px;
  padding: 4px 0 2px;
}

/* The reward's own art: a cut-out item on the dialog surface, no frame or plate. */
.achievement-modal_art__I1iiQ {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  flex: none;
}
.achievement-modal_body__2QqTU[data-shell="desktop"] .achievement-modal_art__I1iiQ { width: 152px; height: 152px; }
.achievement-modal_art__I1iiQ[data-kind="badge"] { opacity: 0.92; }

.achievement-modal_details__kTXg2 { min-width: 0; width: 100%; display: flex; flex-direction: column; gap: 14px; }

.achievement-modal_head__tqyX4 { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.achievement-modal_body__2QqTU[data-shell="phone"] .achievement-modal_head__tqyX4 { justify-content: center; }
.achievement-modal_eyebrow__tSwLl {
  font: 600 11px/1 var(--font-exo2), system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dt-muted, #b9b5be);
  white-space: nowrap;
}
.achievement-modal_state__4wmfL {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--dt-text-2, #d4d1cb);
  font: 600 12px/1 var(--font-exo2), system-ui, sans-serif;
  white-space: nowrap;
}
.achievement-modal_state__4wmfL[data-achieved] { background: rgba(16, 185, 129, 0.13); color: #62d6a0; }
.achievement-modal_who__0KU17 { color: var(--dt-text-2, #d4d1cb); font-weight: 500; }

.achievement-modal_section__owP_8 { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.achievement-modal_sectionTitle__umr8V {
  margin: 0;
  font: 600 11.5px/1.2 var(--font-exo2), system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dt-muted, #b9b5be);
}

/* What the player did: the achievement's own condition, with its state. */
.achievement-modal_condition__30tg_ {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font: 500 14.5px/1.45 var(--font-exo2), system-ui, sans-serif;
  color: var(--dt-text, #e8e4dc);
}
.achievement-modal_conditionMark__gq73i {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  color: transparent;
}
.achievement-modal_badgeOnly__QGYMU { margin: 2px 0 0 30px; font: 500 13px/1.45 var(--font-exo2), system-ui, sans-serif; color: var(--dt-muted, #b9b5be); }
.achievement-modal_condition__30tg_[data-achieved] .achievement-modal_conditionMark__gq73i { background: rgba(16, 185, 129, 0.18); box-shadow: none; color: #62d6a0; }

/* What they get: the reward's name, then each configured content with its real art. */
.achievement-modal_rewardName__Q_IZo {
  margin: 0;
  font: 600 16px/1.25 var(--font-cinzel, var(--font-exo2)), Georgia, serif;
  color: var(--dt-ivory, #f3ead6);
}
.achievement-modal_items__rWL5l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.achievement-modal_item__mDc02 {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 12px 6px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}
.achievement-modal_item__mDc02[data-kind="avatar"] { grid-template-columns: 56px minmax(0, 1fr) auto; min-height: 68px; }
.achievement-modal_itemIcon__bcfZY { width: 40px; height: 40px; display: grid; place-items: center; }
.achievement-modal_itemName__MzJIN { min-width: 0; font: 500 14px/1.3 var(--font-exo2), system-ui, sans-serif; color: var(--dt-text, #e8e4dc); }
.achievement-modal_itemAmount__gEjME {
  font: 600 14px/1 var(--font-exo2), system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  color: var(--dt-gold-text, #e8cb72);
  white-space: nowrap;
}
/* Avatars are always circles. */
.achievement-modal_avatar__iP9_B {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
  transition: box-shadow 130ms ease;
}
.achievement-modal_avatar__iP9_B:hover { box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.55); }
.achievement-modal_avatar__iP9_B:focus-visible { outline: 2px solid #c6ad70; outline-offset: 2px; }
.achievement-modal_avatarImg__0FKAl, .achievement-modal_avatarImg__0FKAl img { width: 100%; height: 100%; border-radius: 50%; -o-object-fit: cover; object-fit: cover; }

/* Footer: the claim with its state, the actions at the end. */
.achievement-modal_foot__40qC3 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
.achievement-modal_foot__40qC3 > [data-game-button] { flex: none; }
.achievement-modal_note__5W5nt {
  margin: 0 auto 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font: 500 13.5px/1.35 var(--font-exo2), system-ui, sans-serif;
  color: var(--dt-text-2, #d4d1cb);
}
.achievement-modal_note__5W5nt[data-tone="ok"] { color: #62d6a0; }
.achievement-modal_note__5W5nt[data-tone="error"] { color: var(--dt-red, #e8837a); }
/* Phones: the main action is a full-width touch target. */
html:not([data-mf-shell="desktop"]) .achievement-modal_foot__40qC3 { flex-wrap: wrap; }
html:not([data-mf-shell="desktop"]) .achievement-modal_foot__40qC3 > [data-mf-achievement-action="claim"] { flex: 1 1 100%; height: 44px; }

/* 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;
}

/* "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;
}

/* 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; }
}

