/* assets/promo-carousel.css - the offers carousel on the dashboard (+ the affiliate hero and the recharge-page bonus card).
 * Replaces the old stack of .promo-banner / .promo2-banner rules, which overrode each other at six different widths.
 * One rule set, fluid sizes (clamp), the same height for every slide, real illustration images instead of emoji.
 * Behaviour (swipe, dots, arrows, autoplay, the live campaign slide): assets/promo-banner.js
 */
.pc { --pc-r: 1.25rem; --pc-step: calc(100% + 1rem); position: relative; margin: 0 0 1.375rem; border-radius: var(--pc-r); box-shadow: 0 18px 40px -16px rgba(45, 20, 140, .6); isolation: isolate; }
.pc-viewport { overflow: hidden; border-radius: var(--pc-r); touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.pc-track { display: flex; gap: 1rem; align-items: stretch; transition: transform .6s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
.pc.is-drag .pc-track { transition: none; }

/* ---- one slide ---- */
.pc-slide { flex: 0 0 100%; min-width: 0; position: relative; overflow: hidden; border-radius: var(--pc-r); color: #fff; background: var(--pc-bg, linear-gradient(135deg, hsl(263 65% 50%), hsl(248 65% 44%) 55%, hsl(238 68% 40%)));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; padding: 1.6rem 2rem 2.5rem; min-height: 14rem; box-sizing: border-box; }
.pc-slide::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 6% -12%, rgba(255, 255, 255, .3), transparent 46%), radial-gradient(circle at 98% 112%, rgba(255, 255, 255, .18), transparent 44%); }
.pc-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.6px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 100%); mask-image: linear-gradient(100deg, transparent 35%, #000 100%); }
.pc-t-violet   { --pc-bg: linear-gradient(135deg, hsl(263 65% 50%), hsl(248 65% 44%) 55%, hsl(238 68% 40%)); }
.pc-t-sunset   { --pc-bg: linear-gradient(120deg, #ff7a18 0%, #ff3d77 52%, #8b3dff 100%); }
.pc-t-ocean    { --pc-bg: linear-gradient(135deg, #0e7490 0%, #0fa968 100%); }
.pc-t-midnight { --pc-bg: linear-gradient(135deg, #1b1f3a 0%, #4a2d8a 100%); }
.pc-t-emerald  { --pc-bg: linear-gradient(135deg, #059669 0%, #14b8a6 100%); }

.pc-body { position: relative; z-index: 1; min-width: 0; }
.pc-pill { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .34); border-radius: 999px; padding: .3rem .85rem .3rem .65rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.pc-pill svg { width: .95rem; height: .95rem; flex: none; }
.pc-title { margin: .65rem 0 0; font-size: clamp(1.3rem, 2.5vw + .4rem, 2rem); line-height: 1.15; font-weight: 900; letter-spacing: -.02em; text-wrap: balance; color: #fff; }
.pc-title em { font-style: normal; background: linear-gradient(90deg, #ffe27a, #ffb347); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-sub { margin: .45rem 0 0; font-size: clamp(.82rem, .3vw + .76rem, .95rem); line-height: 1.5; color: rgba(255, 255, 255, .94); max-width: 40rem; }
.pc-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 0; }
.pc-chip { font-size: .72rem; font-weight: 800; padding: .26rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32); white-space: nowrap; }
.pc-chip.hot { background: linear-gradient(90deg, #ffd24a, #ff9f43); color: #4a2500; border-color: transparent; }
.pc-price { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .7rem; margin: .85rem 0 0; }
.pc-price s { opacity: .7; font-size: 1rem; font-weight: 600; }
.pc-price b { font-size: clamp(1.7rem, 3vw + .5rem, 2.3rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.pc-price i { font-style: normal; font-size: .68rem; font-weight: 900; letter-spacing: .1em; background: #fff; color: #5b3df0; border-radius: .4rem; padding: .22rem .55rem; }
.pc-price svg { width: 1.1rem; height: 1.1rem; opacity: .8; flex: none; }
.pc-country { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .92rem; background: rgba(0, 0, 0, .18); border-radius: 999px; padding: .28rem .75rem .28rem .5rem; }
.pc-country img { width: 1.35rem; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); display: block; }
.pc-notes { list-style: none; margin: .85rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .82rem; color: rgba(255, 255, 255, .95); }
.pc-notes li { display: inline-flex; align-items: center; gap: .42rem; }
.pc-notes svg { width: 1rem; height: 1rem; flex: none; }
.pc-notes .strong { font-weight: 800; letter-spacing: .04em; }
.pc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1rem; margin-top: 1rem; }
.pc-count { display: flex; gap: .4rem; }
.pc-count span { min-width: 2.7rem; text-align: center; background: rgba(0, 0, 0, .26); border-radius: .6rem; padding: .38rem .3rem .3rem; font-variant-numeric: tabular-nums; font-weight: 900; font-size: 1.05rem; line-height: 1; }
.pc-count small { display: block; font-size: .55rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; opacity: .85; margin-top: .2rem; }
.pc-cta { border: none; cursor: pointer; background: #fff; color: #2a1450; font: inherit; font-weight: 800; font-size: .88rem; padding: .7rem 1.3rem; border-radius: .75rem; box-shadow: 0 6px 16px rgba(0, 0, 0, .22); display: inline-flex; align-items: center; gap: .5rem; transition: transform .15s, box-shadow .15s; }
.pc-cta:hover { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(0, 0, 0, .26); }
.pc-cta svg { width: 1rem; height: 1rem; }
.pc-art { position: relative; z-index: 1; display: block; width: clamp(150px, 20vw, 240px); height: auto; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .3)); animation: pcFloat 7s ease-in-out infinite; pointer-events: none; }
@keyframes pcFloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-7px) } }

/* ---- dates and countdown label on the campaign slide ---- */
.pc-when { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; margin: .8rem 0 0; font-size: .78rem; line-height: 1.4; color: rgba(255, 255, 255, .94); }
.pc-when-i { display: inline-flex; width: 1rem; height: 1rem; flex: none; opacity: .9; } .pc-when-i svg { width: 100%; height: 100%; }
.pc-when-gap { margin-left: .7rem; }
.pc-count-wrap { display: flex; flex-direction: column; gap: .28rem; }
.pc-count-lbl { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .88; }
.pc-card-when { color: var(--fg, inherit) !important; font-weight: 600; }

/* ---- small offer block inside the Add Funds dialog ---- */
.pc-dep { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .1rem .65rem; align-items: center; margin: 0 0 1rem; padding: .62rem .8rem; border-radius: .9rem; box-sizing: border-box;
  border: 1px solid rgba(244, 63, 94, .3); background: linear-gradient(135deg, rgba(255, 122, 24, .1), rgba(139, 61, 255, .1)); color: var(--fg, #111827); }
.pc-dep-ico { width: 2.15rem; height: 2.15rem; display: block; }
.pc-dep-main { min-width: 0; }
.pc-dep-t { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; font-size: .82rem; font-weight: 800; line-height: 1.2; }
.pc-dep-gw { font-size: .58rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: .12rem .42rem; border-radius: 999px; background: rgba(244, 63, 94, .14); color: #e11d48; }
.pc-dep-s { font-size: .7rem; color: var(--muted, #6b7280); margin-top: .14rem; line-height: 1.35; }
.pc-dep-why { font-size: .7rem; color: var(--fg, #111827); opacity: .85; margin-top: .22rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-dep-r { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: .66rem; line-height: 1.35; color: var(--muted, #6b7280); }
.pc-dep-r b { font-size: .78rem; color: #e11d48; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc-dep-slot { grid-column: 1 / -1; margin-top: .45rem; padding-top: .45rem; border-top: 1px dashed rgba(128, 128, 160, .4); }
.pc-dep-line { font-size: .76rem; line-height: 1.5; }
.pc-dep-line b { font-weight: 800; }
.pc-dep-line.ok { color: var(--fg, #111827); } .pc-dep-line.ok b { color: #16a34a; }
.pc-dep-line.hint { color: #d97706; } .pc-dep-line.hint b { color: #d97706; }
.pc-dep-line.off { color: var(--muted, #6b7280); } .pc-dep-line.off b { color: var(--fg, #111827); }
.pc-dep-next { font-size: .7rem; color: var(--muted, #6b7280); }
.pc-dep-wrap .pc-dep { margin: 0; background-color: #fff; }
/* sticker on a payment-method card */
.pc-sticker { position: absolute; top: .4rem; right: .4rem; z-index: 2; display: flex; flex-direction: column; align-items: center; line-height: 1; padding: .22rem .45rem .26rem; border-radius: .5rem; color: #fff; transform: rotate(5deg);
  background: linear-gradient(135deg, #ff7a18, #ff3d77); box-shadow: 0 3px 8px rgba(255, 61, 119, .45), 0 0 0 1.5px rgba(255, 255, 255, .75); pointer-events: none; white-space: nowrap; }
.pc-sticker i { font-style: normal; font-size: .44rem; font-weight: 900; letter-spacing: .12em; opacity: .92; }
.pc-sticker b { font-size: .68rem; font-weight: 900; letter-spacing: -.01em; margin-top: .08rem; }
.pc-dep-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; margin-bottom: .7rem; }
.pc-dep-card { position: relative; border: 1px solid #d6d9e6; border-radius: .8rem; padding: 1.5rem .5rem .7rem; text-align: center; background: #f8f8fc; }
.pc-dep-card.active { border-color: #7c5cf0; box-shadow: 0 0 0 3px #ddd6fe; background: #fff; }
.pc-dep-card b { display: block; font-size: .8rem; } .pc-dep-card span:not(.pc-sticker) { font-size: .68rem; color: #6b7280; }
.pc-dep-none { font-size: .76rem; color: #6b7280; padding: .5rem .2rem; }
@media (max-width: 380px) { .pc-dep { grid-template-columns: auto minmax(0, 1fr); } .pc-dep-r { grid-column: 1 / -1; flex-direction: row; gap: .4rem; align-items: baseline; text-align: left; } }

/* ---- controls ---- */
.pc-arrow { position: absolute !important; top: 50%; transform: translateY(-50%); z-index: 3; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(15, 10, 50, .38); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 0; }
.pc-arrow svg { width: 1.1rem; height: 1.1rem; }
.pc:hover .pc-arrow, .pc-arrow:focus-visible { opacity: 1; }
.pc-arrow:hover { background: rgba(15, 10, 50, .6); }
.pc-prev { left: .7rem; } .pc-next { right: .7rem; }
.pc-dots { position: absolute; left: 0; right: 0; bottom: .8rem; display: flex; justify-content: center; gap: .4rem; z-index: 3; pointer-events: none; }
.pc-dot { pointer-events: auto; position: relative !important; overflow: visible !important; width: .5rem; height: .5rem; border: none; padding: 0; border-radius: 999px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .25s, background .25s; }
.pc-dot::after { content: ""; position: absolute; inset: -.55rem -.2rem; }
.pc-dot.is-active { width: 1.6rem; background: #fff; }
.pc-single .pc-dots, .pc-single .pc-arrow { display: none; }
.pc-single .pc-slide { padding-bottom: 1.6rem; }

/* ---- affiliate hero uses the same slide ---- */
.pc-hero { margin-bottom: 1.375rem; }
.pc-hero .pc-slide { min-height: 11rem; padding-bottom: 1.6rem; }

/* ---- recharge page card ---- */
.pc-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: center; border-radius: 1.1rem; border: 1px solid var(--border, rgba(128, 128, 160, .3)); background: var(--card, rgba(128, 128, 160, .08)); padding: 1rem 1.2rem; margin-bottom: 1.1rem; overflow: hidden; }
.pc-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #ff7a18, #ff3d77, #8b3dff); }
.pc-card-art { width: 5.2rem; height: auto; display: block; }
.pc-card h3 { margin: 0 0 .2rem; font-size: 1.02rem; font-weight: 800; color: var(--fg, inherit); }
.pc-card p { margin: 0; font-size: .8rem; line-height: 1.55; color: var(--muted, #8d93a6); }
.pc-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .5rem; margin: .75rem 0 .5rem; }
.pc-tier { border: 1px solid var(--border, rgba(128, 128, 160, .3)); border-radius: .75rem; padding: .55rem .75rem; background: var(--card-2, rgba(128, 128, 160, .1)); }
.pc-tier b { display: block; font-size: 1.2rem; font-weight: 900; color: #ff4d6d; line-height: 1.1; }
.pc-tier span { font-size: .74rem; color: var(--muted, #8d93a6); }
.pc-earned { margin-top: .5rem !important; font-weight: 800; color: var(--green, #16a34a) !important; font-size: .88rem !important; }
.pc-toast { position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 100001; display: flex; align-items: center; gap: .65rem; max-width: 92vw; padding: .7rem 1.1rem .7rem .8rem; border-radius: .95rem; color: #fff; font-weight: 700; font-size: .88rem;
  background: linear-gradient(120deg, #0fa968, #1fb5c8); box-shadow: 0 12px 30px rgba(0, 0, 0, .32); animation: pcToast .35s ease both; }
.pc-toast img { width: 2rem; height: 2rem; flex: none; }
@keyframes pcToast { from { opacity: 0; transform: translate(-50%, 12px) } to { opacity: 1; transform: translate(-50%, 0) } }

/* ---- desktop with a mouse: the arrows sit in the side padding so they never cover the text ---- */
@media (min-width: 721px) and (hover: hover) {
  .pc:not(.pc-single) .pc-slide { padding-left: 3.5rem; padding-right: 3.5rem; }
  .pc-arrow { width: 2.3rem; height: 2.3rem; } .pc-prev { left: .6rem; } .pc-next { right: .6rem; }
}
/* ---- tablets ---- */
@media (max-width: 1000px) { .pc-slide { padding: 1.4rem 1.6rem 2.4rem; } .pc-art { width: clamp(130px, 22vw, 190px); } }
@media (min-width: 721px) and (max-width: 1000px) and (hover: hover) { .pc:not(.pc-single) .pc-slide { padding-left: 3.4rem; padding-right: 3.4rem; } }
/* ---- phones: the picture becomes a soft backdrop in the corner, the text keeps the full width ---- */
@media (max-width: 720px) {
  .pc { --pc-r: 1.05rem; margin-bottom: 1.1rem; }
  .pc-slide { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 1.15rem 1.05rem 2.4rem; min-height: 0; }
  .pc-art { position: absolute; top: .85rem; right: .85rem; width: 4.6rem; opacity: 1; animation: none; z-index: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .3)); }
  .pc-pill { max-width: calc(100% - 5.4rem); }
  .pc-title { font-size: 1.28rem; margin-right: 5.2rem; }
  .pc-pill { font-size: .62rem; }
  .pc-chips { gap: .32rem; } .pc-chip { font-size: .66rem; padding: .22rem .58rem; }
  .pc-arrow { display: none; }
  .pc-notes { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .pc-actions { gap: .7rem; } .pc-actions .pc-cta { flex: 1 1 9rem; justify-content: center; }
  .pc-card { grid-template-columns: minmax(0, 1fr); padding: .95rem 1rem; } .pc-card-art { display: none; }
}
@media (max-width: 380px) { .pc-title { font-size: 1.15rem; } .pc-count span { min-width: 2.35rem; font-size: .95rem; } .pc-price b { font-size: 1.55rem; } }
@media (hover: none) { .pc-arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .pc-art { animation: none; } .pc-track { transition-duration: .01s; } .pc-toast { animation: none; } }

/* ---- admin preview (frames in Settings -> Promotions): arrows always visible on a computer, hidden like on a touch screen for tablet / phone ---- */
.pc-preview .pc-arrow { opacity: 1; }
.pc-preview-touch .pc-arrow { display: none; }
@media (min-width: 721px) { .pc.pc-preview-touch:not(.pc-single) .pc-slide { padding-left: 1.6rem; padding-right: 1.6rem; } }


/* ---- the bonus rows in the Add Funds dialog (recharge / bonus / total in the wallet), built like the fee box ---- */
.pc-sum { margin-top: .45rem; border-radius: .7rem; overflow: hidden; border: 1px solid rgba(34, 197, 94, .3); }
.pc-sum-r { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .42rem .75rem; font-size: .76rem; line-height: 1.3; }
.pc-sum-r span { color: var(--muted, #6b7280); }
.pc-sum-r b { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--fg, #111827); }
.pc-sum-r.bonus { background: rgba(34, 197, 94, .12); border-top: 1px solid rgba(34, 197, 94, .22); }
.pc-sum-r.bonus span { color: #16a34a; font-weight: 700; } .pc-sum-r.bonus b { color: #16a34a; }
.pc-sum-r.total { background: rgba(124, 92, 240, .14); border-top: 1px solid rgba(124, 92, 240, .25); font-size: .82rem; }
.pc-sum-r.total span { color: var(--fg, #111827); font-weight: 800; }
/* ---- phones: the sticker sits on the top edge of the payment-method card, so it never covers the logo ---- */
@media (max-width: 480px) { .pc-sticker { top: -.6rem; right: .3rem; padding: .18rem .4rem .22rem; } .pc-sticker i { font-size: .4rem; } .pc-sticker b { font-size: .62rem; } }

/* ---- phones: a compact banner (about 200 px, not 400 px), one slide at a time, so the services start higher on the page ---- */
@media (max-width: 720px) {
  .pc { --pc-step: calc(100% + .8rem); margin-bottom: .85rem; }
  .pc-track { gap: .8rem; }
  .pc-slide { padding: .85rem 1rem 1.7rem; border-radius: var(--pc-r); }
  .pc-dots { bottom: .55rem; }
  .pc-art { top: .7rem; right: .8rem; width: 4.3rem; }
  .pc-pill { max-width: calc(100% - 5.2rem); }
  .pc-title { font-size: 1.1rem; margin: .45rem 4.9rem 0 0; }
  .pc-sub { font-size: .76rem; line-height: 1.4; margin-top: .3rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pc-chips { margin-top: .5rem; gap: .3rem; }
  .pc-chip { font-size: .62rem; padding: .17rem .5rem; }
  .pc-chip:nth-child(n+4):not(:last-child) { display: none; }
  .pc-slide[data-campaign] .pc-chip:not(.hot) { display: none; }
  .pc-when { display: none; }
  .pc-price { margin-top: .5rem; gap: .3rem .55rem; } .pc-price b { font-size: 1.3rem; } .pc-price s { font-size: .8rem; } .pc-price i { font-size: .58rem; padding: .16rem .42rem; }
  .pc-country { font-size: .78rem; }
  .pc-notes { margin-top: .5rem; } .pc-notes li:not(.strong) { display: none; } .pc-notes .strong { font-size: .7rem; }
  .pc-actions { margin-top: .6rem; gap: .5rem .6rem; flex-wrap: nowrap; }
  .pc-count-lbl { display: none; }
  .pc-count { gap: .3rem; } .pc-count span { min-width: 2.15rem; font-size: .88rem; padding: .3rem .15rem .24rem; } .pc-count small { font-size: .46rem; margin-top: .14rem; }
  .pc-actions .pc-cta { flex: 1 1 auto; justify-content: center; padding: .55rem .8rem; font-size: .78rem; min-width: 0; }
  /* the two strips under the banner: one slim line each */
  #support-strip, #updates-strip { padding: .5rem .75rem !important; margin-bottom: .6rem !important; border-radius: .85rem !important; }
  #support-strip p + p, #updates-strip p + p { display: none; }
  #support-strip a, #updates-strip a { padding: .4rem .8rem !important; font-size: .75rem !important; }
}
@media (max-width: 360px) { .pc-title { font-size: 1.02rem; } .pc-count span { min-width: 1.95rem; font-size: .8rem; } .pc-actions .pc-cta { padding: .5rem .55rem; font-size: .72rem; } }

/* ---- the tiers of the offer in the Add Funds dialog: "if you recharge / you get" ---- */
.pc-tbl { margin: .1rem 0 .6rem; border: 1px solid rgba(128, 128, 160, .32); border-radius: .75rem; overflow: hidden; font-size: .78rem; line-height: 1.3; }
.pc-tbl-h, .pc-tbl-r { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .45rem .75rem; }
.pc-tbl-h { background: rgba(128, 128, 160, .14); font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #6b7280); }
.pc-tbl-r + .pc-tbl-r { border-top: 1px solid rgba(128, 128, 160, .22); }
.pc-tbl .pc-tbl-r span { color: var(--fg, #111827); font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; }
.pc-tbl .pc-tbl-r b { font-weight: 900; color: #16a34a !important; white-space: nowrap; }
.pc-tbl .pc-tbl-r.none span, .pc-tbl .pc-tbl-r.none b { color: var(--muted, #6b7280) !important; font-weight: 600; }
.pc-tbl .pc-tbl-r.on { background: rgba(34, 197, 94, .16); }
.pc-tbl .pc-tbl-r.on span { font-weight: 800; }
.pc-tbl .pc-tbl-r.on span::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #16a34a; flex: none; }
.pc-tbl .pc-tbl-r.on.none { background: rgba(148, 163, 184, .18); } .pc-tbl .pc-tbl-r.on.none span::before { background: #94a3b8; }
@media (max-width: 520px) {
  .pc-dep { grid-template-columns: auto minmax(0, 1fr); }
  .pc-dep-r { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; text-align: left; gap: .5rem; margin-top: .25rem; }
  .pc-dep-t { font-size: .88rem; }
}

/* ---- phone header: logo, currency, balance, theme and profile always fit the screen (a long balance used to push the profile button out) ---- */
@media (max-width: 767px) {
  .header-inner { gap: .35rem; }
  .logo { flex: 0 1 auto; gap: .4rem; }
  .logo-icon { width: 2.1rem; height: 2.1rem; flex: none; }
  .logo-text { font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #mob-right { flex: 0 0 auto; gap: .3rem !important; }
  #mob-right .currency-pill { padding: .28rem .45rem; gap: .25rem; font-size: .75rem; }
  .mob-balance-chip { font-size: .72rem; flex: none; }
  .mob-balance-val { padding: .28rem .4rem; gap: .2rem; }
  .mob-deposit-btn { padding: .28rem .42rem; }
  #mob-right .mob-btn { width: 1.9rem; height: 1.9rem; flex: none; }
  #mob-profile-wrap { flex: none; }
}
@media (max-width: 400px) { #mob-cur-code { display: none; } .logo-text { font-size: 14px; } }
@media (max-width: 350px) { .logo-text { display: none; } }

/* ---- the result next to the amount input ---- */
.pc-res { margin: -.2rem 0 1rem; }
.pc-res .pc-dep-line { margin: 0; }
.pc-res .pc-sum { margin-top: 0; }
.pc-up { display: flex; align-items: center; gap: .6rem; margin-top: .55rem; padding: .55rem .65rem; border-radius: .8rem; background: rgba(124, 92, 240, .11); border: 1px solid rgba(124, 92, 240, .34); }
.pc-dep-line.hint .pc-up { margin-top: 0; }
.pc-up-ico { flex: none; width: 1.85rem; height: 1.85rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #8b6bf5, #5b3df0); }
.pc-up-ico svg { width: 1rem; height: 1rem; }
.pc-up-t { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.pc-up-t b { display: block; font-size: .82rem; font-weight: 800; color: var(--fg, #111827) !important; }
.pc-up-t span { display: block; font-size: .72rem; color: var(--muted, #6b7280); margin-top: .1rem; }
.pc-up-btn { flex: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: .74rem; padding: .5rem .8rem; border-radius: .65rem; color: #fff; background: linear-gradient(135deg, #8b6bf5, #5b3df0); box-shadow: 0 6px 14px -8px #5b3df0; white-space: nowrap; }
.pc-up-btn:hover { filter: brightness(1.08); }
.pc-dep .pc-tbl { margin: 0; }
.pc-dep .pc-tbl-r { padding: .4rem .75rem; }
