/* FENIX: client account — header button, login dialog, cabinet page (#account), floating support button. */

/* header button next to «Мои покупки» */
.fx-acc-btn { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px; border-radius: 14px; box-sizing: border-box; cursor: pointer; white-space: nowrap;
  background: #fff; color: #06102b; font: 700 15px Onest, Arial, sans-serif; transition: opacity .2s, box-shadow .2s; }
.fx-acc-btn svg { width: 18px; height: 18px; flex: none; }
.fx-acc-btn.fx-in { padding: 0 16px 0 8px; }
.fx-acc-btn.fx-wait { opacity: .55; }
.fx-acc-btn:focus-visible { outline: 2px solid #95caff; outline-offset: 3px; }
@media (hover: hover) { .fx-acc-btn:hover { box-shadow: 0 0 0 4px rgba(255,255,255,.14); } }
.fx-acc-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.fx-ava { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #6d87f4, #2c46a2); color: #fff; font: 700 14px Onest, Arial, sans-serif; }
.fx-ava.fx-lg { width: 52px; height: 52px; font-size: 21px; }
@media (min-width: 901px) {
  .market-header .market-search { width: 140px !important; min-width: 0; }
}
/* below the 1440 column the header has no room for the name: avatar / icon only */
@media (min-width: 901px) and (max-width: 1399px) {
  .fx-acc-btn .fx-acc-name { display: none; }
  .fx-acc-btn, .fx-acc-btn.fx-in { width: 46px; padding: 0; justify-content: center; }
}

/* login dialog */
.fx-login { width: min(440px, calc(100vw - 32px)); box-sizing: border-box; padding: 34px 32px 28px; border: 1px solid rgba(160,190,255,.2); border-radius: 26px;
  background: linear-gradient(160deg, #13286a, #0a1640 70%); color: #eef4ff; font: 500 15px/1.5 Onest, Arial, sans-serif; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.fx-login::backdrop { background: rgba(2,7,20,.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fx-login h2 { margin: 0 0 8px; font: 700 34px/1 Oswald, Impact, sans-serif; text-transform: uppercase; }
.fx-login > p { margin: 0 0 22px; color: #b4c4db; }
.fx-login ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: #d6e2f5; font-size: 14px; }
.fx-login li::before { content: "✓"; margin-right: 9px; color: #7fd6b0; font-weight: 700; }
.fx-login .fx-small { margin: 18px 0 0; font-size: 13px; color: #8ea0c2; }
.fx-login-x { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.fx-tg-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; border: 0; border-radius: 999px; cursor: pointer;
  background: #2aa3ef; color: #fff; font: 700 16px Onest, Arial, sans-serif; }
.fx-tg-btn svg { width: 20px; height: 20px; }
@media (hover: hover) { .fx-tg-btn:hover { background: #3cb0f5; } }

/* cabinet page */
.fx-account .fx-acc { padding-top: 6px; }
.fx-acc-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fx-acc .fx-title { margin: 0; }
.fx-acc-who { display: flex; align-items: center; gap: 12px; }
.fx-acc-who b { display: block; font-size: 17px; }
.fx-acc-who small { color: #9fb0cf; font-size: 13.5px; }
.fx-acc-who button { padding: 0; border: 0; background: none; color: #cfe0ff; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fx-acc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; align-items: stretch; }
.fx-acc-grid > .fx-acc-col { align-self: start; }
.fx-acc-panel { position: relative; box-sizing: border-box; min-width: 0; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, rgba(18,38,90,.86), rgba(9,20,52,.9)); box-shadow: inset 0 0 0 1px rgba(160,190,255,.15), 0 18px 50px rgba(0,0,0,.25); }
.fx-acc-panel > header { display: flex; align-items: center; gap: 10px; padding: 16px 22px 14px; border-bottom: 1px solid rgba(160,190,255,.13); }
.fx-acc-panel h2 { display: flex; align-items: center; gap: 10px; margin: 0; font: 650 18px/1.3 Onest, Arial, sans-serif; letter-spacing: 0; }
.fx-acc-panel h2 svg { width: 19px; height: 19px; color: #a8cdf1; }
.fx-acc-body { padding: 18px 22px 22px; }
.fx-acc-body p { margin: 10px 0 0; color: #b4c4db; font-size: 14.5px; line-height: 1.5; }
.fx-acc .fx-lead { margin: 0; }
.fx-acc .fx-muted { margin: 0; color: #9fb0cf; }
.fx-acc-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fx-acc-btn2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; box-sizing: border-box; cursor: pointer;
  background: rgba(255,255,255,.09); color: #fff; box-shadow: inset 0 0 0 1px rgba(160,190,255,.2); font: 700 15px Onest, Arial, sans-serif; text-decoration: none; white-space: nowrap; }
.fx-acc-btn2 svg { width: 18px; height: 18px; }
.fx-acc-btn2.fx-white { background: #fff; color: #06102b; box-shadow: none; }
.fx-acc-btn2.fx-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.fx-acc-btn2:disabled { opacity: .6; cursor: default; }
.fx-acc-more { margin-left: auto; padding: 0; border: 0; background: none; color: #c6d6e8; font: 500 14px Onest, Arial, sans-serif; text-decoration: none; cursor: pointer; }
.fx-pill { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: rgba(4,10,40,.35); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.fx-acc-wide { grid-column: span 2; }
.fx-acc .fx-tg-btn { max-width: 360px; margin-top: 20px; }
.fx-acc .fx-error { margin: 12px 0 0; color: #ffb4b4; font-size: 14px; }
.fx-acc .fx-error:empty { display: none; }

.fx-acc-bonus { background: linear-gradient(150deg, #4466f0, #2337a8 75%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 18px 50px rgba(20,40,160,.35); }
.fx-acc-bonus > header { border-bottom: 0; padding-bottom: 0; }
.fx-acc-bonus .fx-acc-body p { color: rgba(255,255,255,.82); font-size: 13.5px; }
.fx-big { display: flex; align-items: baseline; gap: 10px; font: 800 58px/1 Onest, Arial, sans-serif; letter-spacing: -.02em; }
.fx-big small { font-size: 21px; font-weight: 600; letter-spacing: 0; }
.fx-prog { height: 6px; margin-top: 16px; border-radius: 6px; background: rgba(255,255,255,.2); overflow: hidden; }
.fx-prog b { display: block; height: 100%; border-radius: 6px; background: #fff; }
.fx-acc-code { font: 700 44px/1 Oswald, Impact, sans-serif; letter-spacing: .04em; }
.fx-qr { display: block; width: 180px; height: 180px; margin-top: 18px; border-radius: 14px; background: #fff; }

.fx-acc-invite .fx-acc-body { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 0 14px; margin: 0; align-items: start; }
.fx-acc-invite .fx-acc-body > svg { width: 26px; height: 26px; margin-top: 2px; color: #cfe0ff; }
.fx-acc-invite h2 { font-size: 17px; }
.fx-acc-invite p { margin-top: 6px; font-size: 13.5px; }
.fx-acc-invite .fx-acc-btn2 { grid-column: 2; justify-self: start; margin-top: 14px; }

.fx-acc-col { display: grid; gap: 18px; min-width: 0; }
.fx-acc-span { grid-column: span 2; }
.fx-acc-list > * { border-top: 1px solid rgba(160,190,255,.12); }
.fx-acc-list > :first-child { border-top: 0; }
.fx-acc-line { display: flex; align-items: center; gap: 14px; padding: 14px 22px; color: inherit; text-decoration: none; }
a.fx-acc-line { cursor: pointer; }
@media (hover: hover) { a.fx-acc-line:hover { background: rgba(255,255,255,.04); } }
.fx-acc-ic { flex: none; width: 44px; height: 44px; border-radius: 28%; box-shadow: 0 6px 14px rgba(0,0,0,.3); }
.fx-acc-line > i { color: #8ea0c2; font-style: normal; font-size: 20px; }
.fx-acc-main { flex: 1; min-width: 0; }
.fx-acc-main b, .fx-acc-side b { display: block; font-size: 15.5px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-acc-main small, .fx-acc-side small { display: block; margin-top: 2px; color: #9fb0cf; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-acc-side { text-align: right; flex: none; }
.fx-plus { color: #7fe0b6; }
.fx-minus { color: #ffb7a6; }

.fx-acc-perks { margin: 0; padding: 18px 22px 22px; list-style: none; display: grid; gap: 14px; }
.fx-acc-perks li { display: flex; gap: 12px; align-items: flex-start; color: #b4c4db; font-size: 14.5px; line-height: 1.45; }
.fx-acc-perks b { color: #fff; }
.fx-acc-perks svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: #a8cdf1; }
.fx-acc-guest .fx-acc-grid, .fx-acc-join + * { align-items: stretch; }

/* floating support button */
.fx-fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.fx-fab-ic { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(150deg, #4c74ff, #2a45c8); box-shadow: 0 12px 30px rgba(20,40,160,.45), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .2s; }
.fx-fab-ic svg { width: 27px; height: 27px; }
.fx-fab-tip { padding: 10px 16px; border-radius: 14px; background: rgba(12,26,70,.92); box-shadow: inset 0 0 0 1px rgba(160,190,255,.2), 0 10px 30px rgba(0,0,0,.3);
  font: 600 14px Onest, Arial, sans-serif; opacity: 0; transform: translateX(8px); transition: opacity .2s, transform .2s; pointer-events: none; }
@media (hover: hover) { .fx-fab:hover .fx-fab-tip { opacity: 1; transform: none; } .fx-fab:hover .fx-fab-ic { transform: scale(1.05); } }
.fx-fab:focus-visible .fx-fab-ic { outline: 2px solid #95caff; outline-offset: 3px; }

@media (max-width: 1100px) {
  .fx-acc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-acc-wide, .fx-acc-span, .fx-acc-col { grid-column: span 2; }
}
@media (max-width: 900px) {
  /* phone header: logo | «Мои покупки» | account; the theme's last-child rule now hits the account button */
  .hy .market-header { grid-template-columns: minmax(0, 1fr) auto auto !important; }
  .market-header > span:last-child > [data-shop-link="#orders"] { order: 2; font-size: 13px !important; height: 42px !important; padding: 0 12px !important; }
  .market-header > span:last-child > .fx-acc-btn { order: 2; width: 44px; height: 44px !important; padding: 0 !important; font-size: 15px !important; justify-content: center; }
  .fx-acc-btn .fx-acc-name { display: none; }
  .fx-acc-btn .fx-ava { width: 28px; height: 28px; font-size: 13px; }
  .fx-acc-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .fx-acc-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 20px; }
  .fx-acc-wide, .fx-acc-span, .fx-acc-col { grid-column: auto; gap: 14px; }
  .fx-acc-span { order: 1; }
  .fx-acc-panel { border-radius: 20px; }
  .fx-acc-body { padding: 16px 18px 18px; }
  .fx-acc-panel > header { padding: 14px 18px 12px; }
  .fx-acc-line { padding: 13px 18px; }
  .fx-big { font-size: 48px; }
  .fx-fab { right: 16px; bottom: 16px; }
  .fx-fab-ic { width: 52px; height: 52px; }
  .fx-fab-tip { display: none; }
  .fx-login { padding: 30px 22px 22px; }
}

/* ===== cabinet v2: side menu + Club card (variant D) ===== */
.fxc-wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; margin-top: 28px; align-items: stretch; }
.fxc-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
/* the right column always ends where the side panel ends: the last block grows */
.fxc-main > :last-child { flex: 1 0 auto; }
.fxc-main > .fx-acc-panel:last-child { display: flex; flex-direction: column; }
.fxc-main > .fx-acc-panel:last-child > .fx-acc-list, .fxc-main > .fx-acc-panel:last-child > .fxc-prof { flex: none; }
.fxc-main > .fx-acc-panel:last-child > .fx-acc-body:last-child { flex: 1; }
.fxc-main[data-sec="overview"] > .fxc-grid { flex: 1 0 auto; align-items: stretch; }
.fxc-main[data-sec="overview"] > :last-child:not(.fxc-grid) { flex: none; }
.fxc-friends .fx-acc-body { align-content: center; }

/* side panel: full height of the cabinet; menu on top, help and links pinned to the bottom */
.fxc-side { display: flex; flex-direction: column; min-width: 0; border-radius: 24px; overflow: hidden;
  background: linear-gradient(170deg, rgba(20,42,98,.9), rgba(9,20,52,.92) 60%, rgba(8,17,44,.94)); box-shadow: inset 0 0 0 1px rgba(160,190,255,.15), 0 18px 50px rgba(0,0,0,.25); }
.fxc-me { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid rgba(160,190,255,.13); }
.fxc-me .fx-ava { width: 54px; height: 54px; font-size: 22px; box-shadow: 0 0 0 3px rgba(120,150,255,.25); }
.fxc-me b, .fxc-me small { display: block; } .fxc-me b { font-size: 18px; } .fxc-me small { color: #9fb0cf; font-size: 13.5px; margin-top: 2px; }
.fxc-nav { position: relative; display: grid; gap: 2px; padding: 10px; }
.fxc-nav button { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border: 0; border-radius: 14px; background: none; cursor: pointer;
  color: #c9d6ec; font: 600 15px Onest, Arial, sans-serif; text-align: left; transition: color .25s, transform .2s; }
.fxc-nav button svg { width: 19px; height: 19px; flex: none; color: #8fb0dc; transition: color .25s; }
.fxc-nav button.on { color: #06102b; } .fxc-nav button.on svg { color: #2c46a2; }
.fxc-nav em { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: rgba(120,160,255,.18); color: #cfe0ff; font-style: normal; font-size: 12.5px; font-weight: 700; }
.fxc-nav button.on em { background: #e4ebff; color: #2c46a2; }
.fxc-nav em.fxc-new { background: rgba(104,214,174,.18); color: #8ff0c8; }
.fxc-ind { position: absolute; left: 10px; right: 10px; top: 0; z-index: 0; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); pointer-events: none; }
.fxc-ind.go { transition: transform .42s cubic-bezier(.3,1.25,.4,1); }
@media (hover: hover) { .fxc-nav button:not(.on):hover { color: #fff; transform: translateX(3px); } .fxc-nav button:not(.on):hover svg { color: #cfe0ff; } }
.fxc-nav button:focus-visible { outline: 2px solid #95caff; outline-offset: -2px; }
.fxc-side-foot { display: grid; gap: 8px; margin-top: auto; padding: 14px 12px 12px; border-top: 1px solid rgba(160,190,255,.1); }
.fxc-help { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, rgba(76,116,255,.32), rgba(42,69,200,.18)); box-shadow: inset 0 0 0 1px rgba(140,170,255,.28); transition: transform .2s, box-shadow .2s; }
.fxc-help b, .fxc-help small, .fxc-link-row b, .fxc-link-row small { display: block; }
.fxc-help b { font-size: 15px; } .fxc-help small { color: #b9c8e6; font-size: 12.5px; margin-top: 2px; }
.fxc-help-ic { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(150deg, #4c74ff, #2a45c8); }
.fxc-help-ic svg { width: 21px; height: 21px; }
.fxc-link-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: #dfe8fa; text-decoration: none; transition: background .2s; }
.fxc-link-row b { font-size: 14px; } .fxc-link-row small { color: #8ea0c2; font-size: 12px; margin-top: 1px; }
.fxc-link-row > i { margin-left: auto; color: #7f93b8; font-style: normal; transition: transform .2s; }
.fxc-reviews small a { color: #cfe0ff; text-decoration: none; border-bottom: 1px solid rgba(207,224,255,.3); }
.fxc-reviews small a:hover { color: #fff; border-color: #fff; }
.fxc-reviews > i { color: #ffcf5a; }
.fxc-tg, .fxc-av { display: flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.07); }
.fxc-tg svg { width: 18px; height: 18px; color: #3eb2f5; } .fxc-av svg { width: 20px; height: 20px; }
.fxc-out { display: flex; align-items: center; gap: 10px; height: 40px; margin-top: 2px; padding: 0 12px; border: 0; border-radius: 12px; background: none; color: #8ea0c2; font: 500 14px Onest, Arial, sans-serif; cursor: pointer; }
.fxc-out svg { width: 17px; height: 17px; }
@media (hover: hover) { .fxc-help:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(160,190,255,.45), 0 10px 26px rgba(40,70,200,.35); }
  .fxc-link-row:hover { background: rgba(255,255,255,.05); } .fxc-link-row:hover > i { transform: translate(2px, -2px); color: #fff; } .fxc-out:hover { color: #fff; } }

/* overview */
.fxc-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; }
.fxc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fxc-tile { padding: 18px 20px; transition: transform .25s, box-shadow .25s; }
.fxc-tile > span { display: block; color: #9fb0cf; font-size: 13.5px; }
.fxc-tile > b { display: inline-block; margin-top: 10px; font: 800 34px/1 Onest, Arial, sans-serif; font-variant-numeric: tabular-nums; }
.fxc-tile > b .fxc-sm, .fxc-tile .fxc-sm { font-size: 24px; }
.fxc-tile > small { margin-left: 8px; color: #b4c4db; font-size: 13.5px; }
.fxc-tile .fx-prog { margin-top: 14px; background: rgba(255,255,255,.12); }
.fxc-tile .fx-prog b { width: var(--w); background: linear-gradient(90deg, #8fb0ff, #fff); }
@media (hover: hover) { .fxc-tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(170,200,255,.3), 0 16px 40px rgba(0,0,0,.3); } }
.fxc-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.fxc-grid .fx-acc-main small { white-space: normal; }
.fxc-letter { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(140deg, #4f6fe8, #24379a); color: #fff; font-weight: 800; font-size: 18px; }
.fxc-soon .fx-acc-main small { color: #ffcf8a; }
.fxc-empty { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fxc-invite .fx-acc-body { display: flex; align-items: center; gap: 16px; }
.fxc-invite .fx-acc-body > svg { width: 30px; height: 30px; flex: none; color: #cfe0ff; }
.fxc-invite .fx-acc-body > div { flex: 1; min-width: 0; } .fxc-invite h2 { font-size: 17px; } .fxc-invite p { margin-top: 4px; }

/* Club card */
.fxc-face {
  background: radial-gradient(120% 90% at 100% 0%, rgba(140,170,255,.45), transparent 55%), linear-gradient(135deg, #3b5ff0, #1f2f97 55%, #121a5c);
}
.fxc-card { position: relative; min-height: 270px; perspective: 1100px; cursor: pointer; outline: none; --rx: 0deg; --ry: 0deg; --gx: 30%; --gy: 0%; }
.fxc-face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 26px; border-radius: 26px; overflow: hidden; backface-visibility: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.18), 0 24px 60px rgba(20,40,160,.45);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .3s; will-change: transform; }
.fxc-card.tilt .fxc-front { transition: transform .12s linear, box-shadow .3s; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.24), 0 30px 70px rgba(30,55,190,.55); }
.fxc-front::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.2) 50%, transparent 58%); transform: translateX(-60%); animation: fxc-shine 7s ease-in-out 1.6s infinite; pointer-events: none; }
@keyframes fxc-shine { 0%, 72% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.fxc-glare { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,.28), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.fxc-card.tilt .fxc-glare { opacity: 1; }
.fxc-back { transform: rotateY(180deg); align-items: center; justify-content: center; gap: 10px; text-align: center; }
.fxc-card.flip .fxc-front { transform: rotateY(-180deg); } .fxc-card.flip .fxc-back { transform: rotateY(0); }
.fxc-card-h { display: flex; align-items: center; gap: 12px; font-size: 18px; } .fxc-card-h img { border-radius: 10px; } .fxc-card-h .fx-pill { margin-left: auto; }
.fxc-bal { font: 800 76px/1 Onest, Arial, sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .fxc-bal small { margin-left: 10px; font-size: 24px; font-weight: 600; letter-spacing: 0; }
.fxc-card-f { display: flex; align-items: flex-end; justify-content: space-between; }
.fxc-card-f span { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.fxc-card-f b { font: 700 30px Oswald, Impact, sans-serif; letter-spacing: .08em; }
.fxc-hint { display: inline-flex !important; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff !important; font-size: 13px !important; font-weight: 700; letter-spacing: 0 !important; text-transform: none !important; transition: background .2s; }
.fxc-hint svg { width: 16px; height: 16px; }
@media (hover: hover) { .fxc-card:hover .fxc-hint { background: rgba(255,255,255,.28); } }
.fxc-card:focus-visible .fxc-face { outline: 2px solid #cfe0ff; outline-offset: 3px; }
.fxc-qr { width: 132px; height: 132px; padding: 4px; border-radius: 14px; background: #fff; }
.fxc-back b { font: 700 26px Oswald, Impact, sans-serif; letter-spacing: .08em; } .fxc-back small { color: rgba(255,255,255,.8); font-size: 13px; max-width: 260px; }
.fxc-join { cursor: default; } .fxc-join .fxc-face { position: relative; inset: auto; min-height: 270px; transform: none; }
.fxc-join-t { display: block; font: 700 30px/1.1 Oswald, Impact, sans-serif; text-transform: uppercase; } .fxc-join p { margin: 8px 0 0; color: rgba(255,255,255,.82); font-size: 14px; }
.fxc-join-a { display: flex; gap: 10px; flex-wrap: wrap; } .fxc-join .fx-error { margin: 0; }

/* sections */
.fxc-note { margin: auto 0 0; padding: 14px 22px 16px; border-top: 1px solid rgba(160,190,255,.1); color: #8ea0c2; font-size: 13.5px; line-height: 1.5; }
.fxc-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fxc-chips { display: flex; gap: 6px; margin-left: auto; }
.fxc-chip { height: 32px; padding: 0 13px; border: 0; border-radius: 999px; background: rgba(255,255,255,.07); color: #c9d6ec; font: 600 13px Onest, Arial, sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.fxc-chip.on { background: #fff; color: #06102b; }
.fxc-dot { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; }
.fxc-dot.fxc-d-in { background: rgba(104,214,174,.15); color: #7fe0b6; } .fxc-dot.fxc-d-out { background: rgba(255,170,150,.13); color: #ffb7a6; }
.fxc-friends .fx-acc-body { display: grid; justify-items: center; gap: 14px; padding: 36px 30px; text-align: center; }
.fxc-friends h2 { font-size: 24px; } .fxc-friends p { margin: 0; max-width: 520px; }
.fxc-gift { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 24px; background: linear-gradient(150deg, #4c74ff, #2a45c8); box-shadow: 0 16px 40px rgba(40,70,220,.45); animation: fxc-float 4s ease-in-out infinite; }
.fxc-gift svg { width: 38px; height: 38px; color: #fff; }
@keyframes fxc-float { 50% { transform: translateY(-6px) rotate(-4deg); } }
.fxc-link { display: flex; align-items: center; gap: 10px; width: min(560px, 100%); padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(1,10,31,.55); box-shadow: inset 0 0 0 1px rgba(160,190,255,.2); }
.fxc-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #cfe0ff; font-size: 14px; text-align: left; }
.fxc-friends-n { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; } .fxc-friends-n b { font: 800 40px/1 Onest, Arial, sans-serif; } .fxc-friends-n span { color: #9fb0cf; }
.fxc-prof { margin: 0; }
.fxc-prof > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 16px 22px; border-top: 1px solid rgba(160,190,255,.12); }
.fxc-prof > div:first-child { border-top: 0; }
.fxc-prof dt { color: #9fb0cf; } .fxc-prof dd { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fxc-prof .fxc-mono { font: 700 20px Oswald, Impact, sans-serif; letter-spacing: .06em; } .fxc-prof .fx-acc-more { margin-left: 0; font-weight: 500; }
.fxc-ok { color: #7fe0b6; font-size: 13px; font-weight: 600; }
.fxc .fx-acc-btn2 svg { width: 18px; height: 18px; }
.fxc-copied { animation: fxc-pop .35s cubic-bezier(.3,1.4,.5,1); }
@keyframes fxc-pop { 40% { transform: scale(1.07); } }

/* motion: first opening — side panel slides in, blocks rise one after another, bars fill */
.fxc-intro .fxc-side { animation: fxc-side .6s cubic-bezier(.2,.8,.2,1) both; }
.fxc-intro .fxc-main > *, .fxc-intro .fxc-tiles > *, .fxc-intro .fxc-grid > * { animation: fxc-rise .6s cubic-bezier(.2,.8,.2,1) both; }
.fxc-intro .fxc-top > .fxc-card { animation: fxc-card .8s cubic-bezier(.2,.8,.2,1) both; }
.fxc-intro .fxc-tiles > :nth-child(1) { animation-delay: .12s; } .fxc-intro .fxc-tiles > :nth-child(2) { animation-delay: .18s; }
.fxc-intro .fxc-tiles > :nth-child(3) { animation-delay: .24s; } .fxc-intro .fxc-tiles > :nth-child(4) { animation-delay: .3s; }
.fxc-intro .fxc-main > :nth-child(2), .fxc-intro .fxc-grid > :nth-child(1) { animation-delay: .36s; } .fxc-intro .fxc-grid > :nth-child(2) { animation-delay: .44s; }
.fxc-intro .fxc-main > :nth-child(3) { animation-delay: .52s; }
.fxc-intro .fxc-nav button { animation: fxc-rise .5s cubic-bezier(.2,.8,.2,1) both; }
.fxc-intro .fxc-nav button:nth-of-type(2) { animation-delay: .05s; } .fxc-intro .fxc-nav button:nth-of-type(3) { animation-delay: .1s; } .fxc-intro .fxc-nav button:nth-of-type(4) { animation-delay: .15s; }
.fxc-intro .fxc-nav button:nth-of-type(5) { animation-delay: .2s; } .fxc-intro .fxc-nav button:nth-of-type(6) { animation-delay: .25s; }
.fxc-intro .fx-prog b { animation: fxc-fill 1.3s .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes fxc-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes fxc-side { from { opacity: 0; transform: translateX(-18px); } }
@keyframes fxc-card { from { opacity: 0; transform: translateY(22px) scale(.96) rotateX(8deg); } }
@keyframes fxc-fill { from { width: 0; } }
/* switching sections */
.fxc-swap > * { animation: fxc-swap .45s cubic-bezier(.2,.8,.2,1) both; }
.fxc-swap > :nth-child(2) { animation-delay: .06s; } .fxc-swap > :nth-child(3) { animation-delay: .12s; }
.fxc-swap .fx-acc-line { animation: fxc-swap .45s cubic-bezier(.2,.8,.2,1) both; }
.fxc-swap .fx-acc-line:nth-child(2) { animation-delay: .04s; } .fxc-swap .fx-acc-line:nth-child(3) { animation-delay: .08s; } .fxc-swap .fx-acc-line:nth-child(4) { animation-delay: .12s; }
.fxc-swap .fx-acc-line:nth-child(n+5) { animation-delay: .16s; }
@keyframes fxc-swap { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .fxc *, .fxc *::after { animation: none !important; transition: none !important; } }

@media (max-width: 1180px) {
  .fxc-top, .fxc-grid { grid-template-columns: minmax(0, 1fr); }
  .fxc-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .fxc-wrap { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 20px; }
  .fxc-main { gap: 14px; scroll-margin-top: 12px; }
  .fxc-main > :last-child, .fxc-main[data-sec="overview"] > .fxc-grid { flex: none; }
  .fxc-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 12px 12px; }
  .fxc-nav::-webkit-scrollbar { display: none; }
  .fxc-nav button { flex: none; height: 40px; padding: 0 14px; background: rgba(255,255,255,.05); }
  .fxc-nav button.on { background: #fff; }
  .fxc-ind { display: none; }
  .fxc-side-foot { display: none; }
  .fxc-me { padding: 16px 18px; }
  .fxc-card { min-height: 224px; } .fxc-face { padding: 20px 22px; } .fxc-bal { font-size: 60px; } .fxc-card-f b { font-size: 24px; }
  .fxc-tiles, .fxc-rules { gap: 10px; } .fxc-tile { padding: 14px 16px; } .fxc-tile > b { font-size: 28px; } .fxc-tile > small { display: block; margin: 4px 0 0; }
  .fxc-invite .fx-acc-body { flex-wrap: wrap; } .fxc-invite .fx-acc-btn2 { width: 100%; }
  .fxc-prof > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 18px; }
  .fxc-chips { margin-left: 0; } .fxc-acc-hist header, .fxc .fx-acc-panel > header { flex-wrap: wrap; }
  .fxc-friends .fx-acc-body { padding: 26px 18px; }
}

/* side panel links as cards in the shop style: same plate, bevelled icon tiles like the catalogue */
.fxc-side-foot { gap: 10px; }
.fxc-help, .fxc-link-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 11px 14px 11px 11px; border-radius: 16px; box-sizing: border-box;
  background: linear-gradient(112deg, rgba(23,44,74,.96), rgba(12,25,48,.85)); box-shadow: inset 0 0 0 1px rgba(138,177,223,.22), 0 8px 22px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s, background .2s; }
.fxc-help { background: linear-gradient(112deg, rgba(40,72,170,.92), rgba(20,38,98,.9)); box-shadow: inset 0 0 0 1px rgba(150,180,255,.35), 0 10px 26px rgba(30,60,190,.28); }
.fxc-help-ic, .fxc-tg, .fxc-av { position: relative; display: flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 28%; overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.fxc-help-ic::after, .fxc-tg::after, .fxc-av::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 2px 1px rgba(255,255,255,.38), inset 0 0 0 1px rgba(255,255,255,.16), inset 0 -10px 14px rgba(0,0,0,.3), inset 0 10px 14px rgba(255,255,255,.1); }
.fxc-help-ic { background: linear-gradient(150deg, #5d84ff, #2a45c8); }
.fxc-tg { background: linear-gradient(150deg, #47bdf7, #1c86d6); } .fxc-tg svg { color: #fff; width: 21px; height: 21px; margin-left: -2px; }
.fxc-av { background: linear-gradient(150deg, #ffffff, #dfe6f2); } .fxc-av svg { width: 24px; height: 24px; }
.fxc-help b, .fxc-link-row b { font-size: 14.5px; font-weight: 650; }
.fxc-help small, .fxc-link-row small { margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: #a9bad6; }
.fxc-help > i { margin-left: auto; color: #cfe0ff; font-style: normal; transition: transform .2s; }
.fxc-link-row > i { color: #9fb4d8; }
.fxc-reviews > i { color: #ffcf5a; }
@media (hover: hover) {
  .fxc-help:hover, .fxc-link-row:hover { transform: translateY(-2px); background: linear-gradient(112deg, rgba(30,56,92,.98), rgba(15,31,58,.9)); box-shadow: inset 0 0 0 1px rgba(160,196,236,.4), 0 12px 28px rgba(0,0,0,.28); }
  .fxc-help:hover { background: linear-gradient(112deg, rgba(48,84,192,.95), rgba(24,44,112,.92)); box-shadow: inset 0 0 0 1px rgba(170,200,255,.5), 0 14px 30px rgba(30,60,190,.4); }
  .fxc-help:hover > i { transform: translate(2px, -2px); }
}

/* avatars */
.fx-ava { position: relative; overflow: hidden; }
.fx-ava.fx-has-img { background: #0b1638; }
.fx-ava > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.fx-ava.fx-xl { width: 76px; height: 76px; font-size: 30px; }
.fx-ava-busy::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(5,13,31,.55); }
.fx-ava-busy::before { content: ""; position: absolute; z-index: 1; inset: 22%; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.25); border-top-color: #fff; animation: fxc-spin .8s linear infinite; }
@keyframes fxc-spin { to { transform: rotate(360deg); } }
.fxc-pop { animation: fxc-ava-pop .6s cubic-bezier(.3,1.5,.5,1); }
@keyframes fxc-ava-pop { 0% { transform: scale(.6); opacity: .3; } 60% { transform: scale(1.08); } }
.fxc-ava-wrap { position: relative; flex: none; }
.fxc-ava-btn { position: relative; display: block; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.fxc-ava-btn:focus-visible { outline: 2px solid #95caff; outline-offset: 3px; }
.fxc-cam { position: absolute; right: -3px; bottom: -3px; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; color: #2c46a2; box-shadow: 0 3px 10px rgba(0,0,0,.35); transition: transform .2s; }
.fxc-cam svg { width: 14px; height: 14px; }
@media (hover: hover) { .fxc-ava-btn:hover .fxc-cam { transform: scale(1.12); } .fxc-ava-btn:hover .fx-ava { box-shadow: 0 0 0 3px rgba(160,190,255,.45); } }
.fxc-ava-menu { position: absolute; left: 0; top: calc(100% + 10px); z-index: 20; display: grid; gap: 2px; min-width: 220px; padding: 6px; border-radius: 16px;
  background: linear-gradient(160deg, #182d6e, #0c1a46); box-shadow: inset 0 0 0 1px rgba(160,190,255,.22), 0 18px 40px rgba(0,0,0,.45); animation: fxc-menu .22s cubic-bezier(.2,.8,.2,1); transform-origin: 20px 0; }
@keyframes fxc-menu { from { opacity: 0; transform: translateY(-6px) scale(.96); } }
.fxc-mi { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border: 0; border-radius: 11px; background: none; color: #e6eefc; font: 600 14px Onest, Arial, sans-serif; text-align: left; cursor: pointer; }
.fxc-mi svg { width: 17px; height: 17px; color: #9fbbe6; }
.fxc-mi:hover, .fxc-mi:focus-visible { background: rgba(255,255,255,.08); outline: none; }
.fxc-mi.fxc-danger, .fx-acc-btn2.fxc-danger { color: #ffb7a6; } .fxc-mi.fxc-danger svg { color: #ffb7a6; }
.fxc-prof-ava { gap: 18px !important; }
.fxc-ava-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.fxc-ava-acts .fx-acc-btn2 svg { width: 16px; height: 16px; }
.fxc-side { overflow: visible; }
.fxc-me { border-radius: 24px 24px 0 0; }
@media (max-width: 900px) { .fxc-ava-menu { min-width: 200px; } .fx-ava.fx-xl { width: 64px; height: 64px; } }

/* bonus mark on site orders */
.fxc-bb { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,.07); color: #9fb0cf; font-size: 11.5px; font-weight: 600; white-space: nowrap; vertical-align: 1px; }
.fxc-bb.on { background: rgba(104,214,174,.14); color: #8ff0c8; }

/* checkout: pay part of the order with Феникс | Club bonuses */
.hy .market-purchase .fx-bonus { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 12px; align-items: center; margin: 4px 0 2px; padding: 12px 14px;
  border-radius: 14px; background: rgba(76,116,255,.1); box-shadow: inset 0 0 0 1px rgba(140,170,255,.25); cursor: pointer; transition: background .2s, box-shadow .2s; }
.hy .market-purchase .fx-bonus.fx-on { background: rgba(76,116,255,.2); box-shadow: inset 0 0 0 1px rgba(160,190,255,.5); }
.fx-bonus input { position: absolute; opacity: 0; pointer-events: none; }
.fx-bonus-box { grid-row: span 2; width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(200,215,255,.5); transition: background .2s; }
.fx-bonus.fx-on .fx-bonus-box { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c46a2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 12.5 4 4 9-9'/%3E%3C/svg%3E") center/16px no-repeat; box-shadow: none; animation: fxc-pop .3s cubic-bezier(.3,1.4,.5,1); }
.fx-bonus input:focus-visible + .fx-bonus-box { outline: 2px solid #95caff; outline-offset: 2px; }
.fx-bonus-t { font: 600 15px Onest, Arial, sans-serif; color: #eef4ff; } .fx-bonus-t b { color: #8ff0c8; }
.fx-bonus small { color: #a9bad6; font-size: 12.5px; }
.hy .market-purchase .fx-total s { margin-left: 6px; font-size: .55em; font-weight: 500; color: rgba(255,255,255,.45); }
.fx-bonus-dd { color: #8ff0c8; }
.fx-bonus-slot:empty { display: none; }

.fxc-expiry { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 20px; border: 1px solid #6c5943; border-radius: 16px; background: #222638; }
.fxc-expiry > div { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.fxc-expiry strong { color: #ffda9d; }
.fxc-expiry span { color: #d7dce6; font-size: .9rem; }
.fx-acc-btn .fxc-expiry-count { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 3px; box-sizing: border-box; border-radius: 12px; color: #2b2210; background: #ffda9d; font-size: 11px; font-weight: 750; line-height: 1; }
