/* Flow Store — إفكتات ديسكورد (views/store/effects.ejs, public/js/effects.js). Store theme: deep navy + Flow blue. */
.fx { --fx-glow: rgba(51, 176, 255, 0.35); --fx-card: rgba(255, 255, 255, 0.04); --fx-card-2: rgba(255, 255, 255, 0.07); }

/* Hero */
.fx-hero { position: relative; overflow: hidden; margin: 8px 0 22px; padding: 46px 28px 30px; border-radius: 28px; text-align: center; isolation: isolate;
  background: radial-gradient(120% 140% at 50% -20%, rgba(51, 176, 255, 0.22), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(120, 190, 255, 0.18); box-shadow: 0 30px 80px -40px rgba(51, 176, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.fx-hero__orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: 0.55; animation: fx-float 14s ease-in-out infinite; }
.fx-hero__orb--a { width: 320px; height: 320px; background: #2f86c4; top: -140px; inset-inline-start: -80px; }
.fx-hero__orb--b { width: 260px; height: 260px; background: #6a5cff; bottom: -150px; inset-inline-end: -60px; animation-delay: -6s; opacity: 0.35; }
@keyframes fx-float { 50% { transform: translate(30px, 18px) scale(1.08); } }
.fx-kicker { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; color: #bfe6ff; background: rgba(51, 176, 255, 0.12); border: 1px solid rgba(51, 176, 255, 0.28); }
.fx-title { margin: 14px 0 8px; font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 700; letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff 0%, #bfe6ff 40%, #4cc0ff 70%, #ffffff 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fx-shine 7s linear infinite; }
@keyframes fx-shine { to { background-position: 200% center; } }
.fx-sub { max-width: 620px; margin: 0 auto; color: var(--text-2); }
.fx-search { position: relative; display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 22px auto 14px; padding: 0 18px; height: 58px; border-radius: 18px;
  background: rgba(8, 14, 24, 0.7); border: 1.5px solid rgba(120, 190, 255, 0.25); box-shadow: 0 16px 40px -24px rgba(0, 0, 0, 0.8); transition: border-color 0.2s, box-shadow 0.2s; }
.fx-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 5px rgba(51, 176, 255, 0.16), 0 16px 40px -24px rgba(0, 0, 0, 0.8); }
.fx-search > .i { color: var(--brand); flex: none; }
.fx-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-size: 1.02rem; }
.fx-search kbd { padding: 2px 8px; border-radius: 7px; border: 1px solid var(--border-2); color: var(--muted); font: 600 0.78rem var(--font-display); }
.fx-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: var(--muted); font-size: 0.86rem; }
.fx-stats span { display: inline-flex; align-items: center; gap: 5px; }
.fx-stats b { color: #fff; font-family: var(--font-display); }

/* Tabs + filter bar */
.fx-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.fx-tabs::-webkit-scrollbar { display: none; }
.fx-tab { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--border-2); background: var(--fx-card); color: var(--text-2); font: 600 0.92rem var(--font); cursor: pointer; transition: all 0.2s; }
.fx-tab em { font-style: normal; font-size: 0.74rem; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--muted); }
.fx-tab:hover { color: #fff; border-color: rgba(51, 176, 255, 0.4); }
.fx-tab.is-active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 10px 26px -12px var(--fx-glow); }
.fx-tab.is-active em { background: rgba(255, 255, 255, 0.22); color: #fff; }
.fx-bar { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; }
.fx-cols { display: flex; gap: 6px; overflow-x: auto; flex: 1; min-width: 0; padding-bottom: 4px; scrollbar-width: thin; }
.fx-cols .chip { flex: none; }
.fx-tools { display: flex; gap: 8px; flex: none; }

/* Grid + cards */
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.fx-card { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--fx-card); border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; animation: fx-in 0.45s var(--ease) both; animation-delay: calc(var(--n) * 18ms); }
@keyframes fx-in { from { opacity: 0; transform: translateY(10px); } }
.fx-card:hover { transform: translateY(-4px); border-color: rgba(51, 176, 255, 0.45); box-shadow: 0 22px 44px -26px var(--fx-glow); }
.fx-card.is-featured { border-color: rgba(251, 191, 36, 0.35); }
.fx-card__media { position: relative; display: grid; place-items: center; aspect-ratio: 1; border: 0; padding: 14px; cursor: zoom-in;
  background: radial-gradient(80% 80% at 50% 35%, rgba(51, 176, 255, 0.16), transparent 70%), linear-gradient(180deg, rgba(10, 18, 30, 0.9), rgba(6, 11, 19, 0.95)); }
.fx-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s var(--ease); filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45)); }
.fx-card:hover .fx-card__media img { transform: scale(1.06); }
.fx-card__eye { position: absolute; inset-inline: 10px; bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px; border-radius: 12px;
  background: rgba(6, 11, 19, 0.75); color: #fff; font-size: 0.8rem; opacity: 0; transform: translateY(6px); transition: all 0.25s; backdrop-filter: blur(6px); }
.fx-card:hover .fx-card__eye { opacity: 1; transform: none; }
.fx-badge { position: absolute; top: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: #04121f; background: #6fd3ff; }
.fx-badge--hot { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.fx-card__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.fx-card__type { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 0.74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-card__body h3 { font-size: 0.98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.fx-card__foot strong { font: 700 1.05rem var(--font-display); color: #fff; }
.fx-add { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--grad); color: #fff; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 8px 18px -10px var(--fx-glow); }
.fx-add:hover { transform: scale(1.08); }
.fx-add.is-added, [data-add].is-added { animation: fx-pop 0.6s var(--ease); }
@keyframes fx-pop { 40% { transform: scale(1.25); } }
.fx-card--skeleton { min-height: 280px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)); background-size: 200% 100%; animation: fx-sk 1.4s infinite linear; }
.fx-card--skeleton i { display: none; }
@keyframes fx-sk { to { background-position: -200% 0; } }
.fx-empty { display: grid; justify-items: center; gap: 6px; padding: 50px 16px; text-align: center; color: var(--muted); }
.fx-empty__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(51, 176, 255, 0.1); color: var(--brand); }
.fx-empty h3 { color: var(--text); }
.fx-empty--sm { padding: 30px 10px; }
.fx-more { display: flex; justify-content: center; margin: 22px 0 6px; }
.fx-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0 90px; }
.fx-how > div { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 18px; background: var(--fx-card); border: 1px solid var(--border); }
.fx-how span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: #fff; font: 700 1rem var(--font-display); margin-bottom: 6px; }
.fx-how small { color: var(--muted); }

/* Floating cart button */
.fx-cartbtn { position: fixed; z-index: 40; bottom: 18px; inset-inline-end: 18px; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 18px; border: 1px solid rgba(51, 176, 255, 0.45);
  background: rgba(10, 17, 28, 0.9); color: var(--text); text-align: start; cursor: pointer; backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.03) inset; animation: fx-in 0.35s var(--ease); }
.fx-cartbtn[hidden] { display: none; }
.fx-cartbtn__icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--grad); color: #fff; }
.fx-cartbtn__icon em { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #fbbf24; color: #1a1300; font: 700 0.72rem/20px var(--font-display); text-align: center; font-style: normal; }
.fx-cartbtn small { display: block; color: var(--muted); font-size: 0.8rem; }

/* Preview modal + cart drawer */
.fx-modal, .fx-drawer { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.fx-modal[hidden], .fx-drawer[hidden] { display: none; }
.fx-modal__backdrop, .fx-drawer__backdrop { position: absolute; inset: 0; background: rgba(3, 7, 13, 0.7); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.25s; }
.is-open .fx-modal__backdrop, .is-open .fx-drawer__backdrop { opacity: 1; }
.fx-modal__panel { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 26px; background: #0b121d; border: 1px solid rgba(120, 190, 255, 0.2);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), 0 0 60px -30px var(--fx-glow); transform: translateY(14px) scale(0.98); opacity: 0; transition: all 0.3s var(--ease); }
.is-open .fx-modal__panel { transform: none; opacity: 1; }
.fx-modal__x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; }
.fx-modal__stage { display: grid; place-items: center; min-height: 380px; padding: 28px; background: radial-gradient(90% 90% at 50% 40%, rgba(51, 176, 255, 0.18), transparent 70%), #070c14; }
.fx-modal__info { display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; }
.fx-modal__info h3 { font-size: 1.4rem; }
.fx-modal__buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.fx-modal__buy strong { font: 700 1.5rem var(--font-display); color: #fff; }


.fx-drawer { place-items: stretch end; padding: 0; }
.fx-drawer__panel { position: relative; display: flex; flex-direction: column; width: min(420px, 100%); height: 100%; background: #0b121d; border-inline-start: 1px solid rgba(120, 190, 255, 0.2);
  transform: translateX(-100%); transition: transform 0.3s var(--ease); }
[dir='rtl'] .fx-drawer__panel { transform: translateX(-100%); }
.is-open .fx-drawer__panel { transform: none; }
.fx-drawer__panel header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.fx-drawer__panel header h3 { display: flex; align-items: center; gap: 8px; }
.fx-drawer__body { flex: 1; overflow: auto; padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.fx-lines { display: flex; flex-direction: column; gap: 8px; }
.fx-line { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: var(--fx-card); border: 1px solid var(--border); }
.fx-line img { width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: #070c14; }
.fx-line > div:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fx-line b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-line small { color: var(--muted); font-size: 0.78rem; }
.fx-qty { display: flex; align-items: center; gap: 4px; }
.fx-qty button { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border-2); background: none; color: var(--text); cursor: pointer; }
.fx-qty output { min-width: 18px; text-align: center; font-family: var(--font-display); }
.fx-label { color: var(--muted); font-size: 0.82rem; font-weight: 600; margin-top: 6px; }
.fx-methods { display: flex; flex-direction: column; gap: 6px; }
.fx-group { display: flex; align-items: center; gap: 6px; margin: 6px 2px 0; color: var(--muted); font-size: 0.76rem; font-weight: 600; }
.fx-method { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--border-2); background: var(--fx-card); color: var(--text); text-align: start; cursor: pointer; }
.fx-method span { display: flex; flex-direction: column; }
.fx-method small { color: var(--muted); font-size: 0.78rem; }
.fx-method.is-on { border-color: var(--brand); background: rgba(51, 176, 255, 0.08); }
.fx-method:disabled { opacity: 0.45; cursor: not-allowed; }
.fx-total { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--border); }
.fx-total strong { font: 700 1.3rem var(--font-display); color: #fff; }
.fx-fine { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.78rem; }

@media (max-width: 760px) {
  .fx-hero { padding: 34px 16px 22px; border-radius: 22px; }
  .fx-bar { flex-direction: column; align-items: stretch; }
  .fx-tools select { flex: 1; }
  .fx-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fx-card__body { padding: 10px; }
  .fx-how { grid-template-columns: 1fr; }
  .fx-modal__panel { grid-template-columns: 1fr; }
  .fx-modal__stage { min-height: 300px; }
  .fx-cartbtn { inset-inline: 12px; bottom: 12px; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .fx-card, .fx-hero__orb, .fx-title { animation: none; } }
.fx-noimg { display: grid; place-items: center; width: 100%; height: 100%; min-height: 40px; border-radius: 14px; color: rgba(111, 211, 255, 0.55); background: radial-gradient(60% 60% at 50% 45%, rgba(51, 176, 255, 0.14), transparent 70%); }
.fx-noimg .i { width: 34%; height: 34%; max-width: 64px; max-height: 64px; }
.fx-line .fx-noimg { width: 52px; height: 52px; flex: none; }
.fx-soon { margin: 10px auto 80px; max-width: 520px; padding: 60px 20px; border-radius: 24px; background: var(--fx-card); border: 1px solid var(--border); } .fx-soon h3 { font-size: 1.5rem; }


/* Preview on the customer's own avatar/profile — sizes follow Discord's own assets:
   avatar decoration 288×288 = 1.2× the avatar, centered · nameplate 448×84 = a member-list row (LTR, full width) ·
   profile effect 900×1760 and frame 720×1387 = the whole profile card (≈ 450:880). */
.fx-pv { position: relative; display: grid; justify-items: center; gap: 14px; direction: ltr; }
.fx-pv img { max-width: none; } /* the site-wide img rule would shrink overlays and push them off-center */
.fx-pv b { color: #fff; }
.fx-pv__avatar { position: relative; width: 132px; height: 132px; flex: none; }
.fx-pv__avatar > .fx-pv__face { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.fx-pv__deco { position: absolute; left: 50%; top: 50%; width: 120%; height: 120%; transform: translate(-50%, -50%); pointer-events: none; }

.fx-pv--profile { position: relative; width: 270px; aspect-ratio: 450 / 880; overflow: hidden; border-radius: 18px; background: #111214; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); display: block; }
.fx-pv__banner { height: 21%; background: linear-gradient(135deg, #2f86c4, #6a5cff); }
.fx-pv__avatar--sm { position: absolute; top: calc(21% - 44px); left: 14px; width: 88px; height: 88px; padding: 6px; border-radius: 50%; background: #111214; }
.fx-pv__avatar--sm .fx-pv__face { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.fx-pv__card { position: absolute; left: 14px; right: 14px; top: calc(21% + 56px); display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); text-align: left; }
.fx-pv__card b { font-size: 1.05rem; }
.fx-pv__card small { color: #b5bac1; }
.fx-pv__card i { display: block; height: 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); }
.fx-pv__card i + i { width: 62%; }
.fx-pv__overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; z-index: 2; }

.fx-pv--plate { width: 336px; gap: 6px; }
.fx-pv__row { position: relative; display: flex; align-items: center; gap: 12px; width: 336px; height: 63px; padding: 0 12px; border-radius: 6px; overflow: hidden; background: #2b2d31; }
.fx-pv__plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.fx-pv__mini { position: relative; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.fx-pv__row b { position: relative; font-size: 1.05rem; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.fx-pv__row--dim { opacity: 0.45; }
.fx-pv__row--dim span { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); flex: none; }
.fx-pv--plain img { max-width: 100%; max-height: 300px; }
@media (max-width: 760px) {
  .fx-pv--profile { width: 240px; }
  .fx-pv--plate, .fx-pv__row { width: 300px; height: 56px; }
}

.fx-method__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--surface-3, rgba(255, 255, 255, 0.05)); color: var(--text-2, #c9d3e0); }
.fx-method.is-on .fx-method__icon { background: var(--brand, #33b0ff); color: #fff; }

/* «شحن» / «قفت» prices on a card, «اطلب تسعيرة» for an item with no price, the top-up account form (public/js/effects.js). */
.fx-prices { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fx-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.fx-price strong, .fx-price small { white-space: nowrap; }
.fx-price strong { font: 700 1rem var(--font-display); color: #fff; }
.fx-price small { font-size: 0.7rem; font-weight: 700; color: #7dd3fc; }
.fx-price--gift strong { font-size: 0.86rem; color: #ddd6fe; }
.fx-price--gift small { color: #c4b5fd; }
.fx-card__foot--ask { justify-content: flex-start; }
.fx-ask { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px dashed rgba(251, 191, 36, 0.55); background: rgba(251, 191, 36, 0.08); color: #fcd34d; font: 600 0.8rem var(--font); cursor: pointer; transition: background 0.2s; }
.fx-ask:hover { background: rgba(251, 191, 36, 0.16); }
.fx-asked { display: inline-flex; align-items: center; gap: 5px; color: #4ade80; font-size: 0.8rem; font-weight: 600; }
.fx-card.is-unpriced .fx-card__media img { opacity: 0.88; }
.fx-modal__buy .fx-prices { margin-inline-end: auto; }
.fx-modal__buy .fx-price strong { font-size: 1.3rem; }
.fx-modal__buy .fx-price--gift strong { font-size: 1.05rem; }
.fx-mode { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; }
.fx-mode--topup { background: rgba(51, 176, 255, 0.15); color: #7dd3fc; }
.fx-mode--gift { background: rgba(167, 139, 250, 0.16); color: #c4b5fd; }
.fx-acct { display: grid; gap: 10px; margin: 14px 0 6px; padding: 14px; border-radius: 16px; border: 1px solid rgba(51, 176, 255, 0.28); background: linear-gradient(160deg, rgba(51, 176, 255, 0.07), rgba(255, 255, 255, 0.015)); }
.fx-acct__head { display: flex; gap: 10px; align-items: flex-start; color: #7dd3fc; }
.fx-acct__head b { display: block; color: #fff; }
.fx-acct__head small { color: var(--muted); font-size: 0.8rem; }
.fx-acct__nitro { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.84rem; color: var(--text-2); }
.fx-field { display: grid; gap: 4px; font-size: 0.82rem; }
.fx-field span { color: var(--text-2); }
.fx-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fx-acct__hint { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 0.75rem; color: var(--muted); line-height: 1.7; }
.fx-acct__trust { display: grid; gap: 8px; padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--border-2); }
.fx-acct__trust p { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 0.78rem; line-height: 1.75; color: var(--text-2); }
.fx-acct__trust p .i { flex: none; margin-top: 4px; color: #7dd3fc; }
.fx-acct__trust img { width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); }

/* A profile frame sits on the top of the card at its own shape. */
.fx-pv__frame { position: absolute; top: 0; left: 0; width: 100%; height: auto; pointer-events: none; z-index: 3; }
/* «تجربة حقيقية» under the quick preview */
.fx-try { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(124, 92, 255, 0.45); background: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(51, 176, 255, 0.08)); color: #fff; text-align: start; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.fx-try:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -16px rgba(124, 92, 255, 0.9); }
.fx-try > span { flex: 1; display: grid; }
.fx-try small { color: #c9c2ff; font-size: 0.78rem; }
.fx-friendpick { width: min(460px, 100%); }
.fx-friendpick__list { position: static; max-height: 320px; overflow: auto; margin-top: 10px; display: grid; gap: 4px; }

/* 2026-11-22 (owner): every card the same square like Discord's shop — tall profile effects / frames no longer stretch
   their card; they sit on a small profile card (as on Discord), bundles fill their picture, frames show in the preview. */
.fx-card__media { overflow: hidden; min-height: 0; }
.fx-card__media img { position: absolute; top: 14px; left: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.fx-card__media[data-t="effect"]::before { content: ''; position: absolute; top: 8%; bottom: 8%; left: 50%; width: calc(84% * 450 / 880); transform: translateX(-50%); border-radius: 12px; background: linear-gradient(180deg, rgba(47, 134, 196, 0.75) 0 21%, #15181d 21% 100%); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.8); }
.fx-card__media[data-t="effect"]::after { content: ''; position: absolute; top: calc(8% + 84% * 0.21 - 9%); left: calc(50% - 84% * 450 / 880 / 2 + 6%); width: 15%; aspect-ratio: 1; border-radius: 50%; background: #2b2f36; border: 3px solid #15181d; }
.fx-card__media[data-t="effect"] img { top: 8%; left: 0; width: 100%; height: 84%; object-fit: contain; z-index: 1; }
.fx-card__media[data-t="frame"] img { top: 6%; left: 0; width: 100%; height: 88%; object-fit: contain; }
.fx-pv--frame img { max-height: 460px; width: auto; max-width: 100%; }
.fx-card__media[data-t="bundle"] img { transform: scale(1.3); }
.fx-card:hover .fx-card__media[data-t="bundle"] img { transform: scale(1.38); }
.fx-pv__frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; z-index: 3; }
