/* JirGear UI — glass layer "Onyx" (Mini App), 2026-11-11. Presentation only; loads last. Remove this one <link> to return to the Volt look. */
:root{
  --g-base:#000;
  --g-ambient:radial-gradient(150% 52% at 14% -14%,#9fb0d04d 0,#9fb0d01a 44%,#9fb0d000 74%),radial-gradient(150% 42% at 118% 44%,#ffc98a1a 0,#ffc98a00 72%),radial-gradient(150% 46% at 86% 114%,#8793b040 0,#8793b014 46%,#8793b000 74%);
  --g-card:linear-gradient(180deg,#ffffff1c 0%,#ffffff0d 100%);--g-card-press:linear-gradient(180deg,#ffffff26,#ffffff14);
  --g-hero-light:radial-gradient(120% 150% at 100% 0,#ffffff33 0,#ffffff00 58%);
  --g-bar:#161618b8;--g-thick:#18181bcc;--g-solid:#1c1c1e;--g-lens:linear-gradient(180deg,#ffffff38,#ffffff1a);
  --g-ctl:#ffffff1a;--g-ctl-press:#ffffff2b;
  --g-well:#00000073;--g-well-edge:#ffffff14;--g-well-shade:inset 0 1px 2px #00000066;--g-hair:#ffffff17;
  --g-edge:#ffffff24;--g-edge-hi:#ffffff3d;
  --g-rim:inset 0 1px 0 0 #ffffff38,inset 0 -1px 0 0 #ffffff0d;--g-rim-hi:inset 0 1px 0 0 #ffffff57,inset 0 -1px 0 0 #ffffff14;--g-rim-soft:inset 0 1px 0 0 #ffffff26;
  --g-drop:0 18px 40px -28px #000;--g-drop-hero:0 24px 60px -30px #ffffff40;--g-drop-float:0 14px 34px -14px #000000cc;
  --g-blur:blur(22px) saturate(160%);--g-blur-heavy:blur(34px) saturate(180%);
  --g-primary:linear-gradient(180deg,#ffffff 0%,#f4f5f7 55%,#e2e4e9 100%);--g-primary-rim:inset 0 1px 0 0 #fff,0 8px 22px -14px #ffffff59;
  --g-mark:linear-gradient(145deg,#fafafa,#b9bec9);--g-mark-ink:#0b0b0d;
  --g-scrim:#00000080;
  --g-r-card:26px;--g-r-row:18px;--g-r-sheet:32px;
  --ui-card-r:26px;--ui-row-r:18px;
  --ui-bg:#000;--ui-bg-2:#0a0a0b;--ui-ink:#000;
  --ui-surface:#ffffff14;--ui-surface-2:#18181bcc;--ui-surface-3:#ffffff1a;--ui-border:#ffffff24;--ui-border-2:#ffffff33;
  --ui-text:#f5f5f7;--ui-text-2:#c7c7cc;--ui-text-3:#98989f;
  --ui-accent:#f5f5f7;--ui-accent-hover:#fff;--ui-accent-ledge:#b9bec9;--ui-accent-ink:#0b0b0d;--ui-accent-text:#f5f5f7;
  --ui-accent-soft:#ffffff1f;--ui-accent-line:#ffffff59;
  --ui-volt-1:#fff;--ui-volt:linear-gradient(180deg,#fff,#d5d8de);--ui-volt-flat:linear-gradient(180deg,#fff,#d5d8de);--ui-volt-glow:#ffffff40;--ui-aura-glow:#ffffff26;
  --ui-brand:#c7c7cc;--ui-brand-soft:#ffffff1f;--ui-brand-line:#ffffff4d;--ui-brand-text:#f5f5f7;
  --ui-select:#ffffff40;--ui-tap:#ffffff26;
  --ui-vial-hi:#fff;--ui-vial-mid:#d5d8de;--ui-vial-deep:#8e8e93;--ui-vial-shadow:#3a3a3c;--ui-vial-surface:#f5f5f7;--ui-vial-spark:#fff;--ui-vial-bubbles:#e5e5ea;
}

/* JirGear Mini App — "glass" material layer (preview). Presentation only: no markup, no scripts, no requests.
   Loads after jg-ui-20261103/mini.css. Colours come from the variant file (--ui-* and --g-* tokens). */

/* ambient light: something for the glass to sit on. Static, fixed, never animated. */
html{background:var(--g-base)!important}
html:root body{background:transparent!important}
html:root body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--g-ambient),var(--g-base)}

/* ---- cards: thin glass ---- */
html:root body :is(.status,.balance-card,.dev,.dev-empty,.slot-rental,.codebox,.ticket-card,.sale-banner,.gift-box,.act-box,.token-box,.upload,.invite-card,.pcard,.pcard.best,.pcard.plan:not(.discounted),.pcard.discounted,.ui-product,.ui-quick){
  background:var(--g-card)!important;border:1px solid var(--g-edge)!important;border-radius:var(--g-r-card)!important;
  box-shadow:var(--g-rim),var(--g-drop)!important}
html:root body .ui-gift-sheet :is(.gift-box,.gift-box.gift-box){background:transparent!important;border:0!important;box-shadow:none!important}
html:root body :is(.balance-card,.pcard):active{background:var(--g-card-press)!important}

/* the subscription card is the hero: same glass, lit by the accent from its corner */
html:root body #status.status{border:1px solid var(--g-edge-hi)!important;
  background:var(--g-hero-light),var(--g-card)!important;box-shadow:var(--g-rim-hi),var(--g-drop-hero)!important}
html:root body #status.status.off{background:var(--g-card)!important;box-shadow:var(--g-rim),var(--g-drop)!important}
html:root body #status.status.frozen-subscription{background:radial-gradient(120% 140% at 100% 0,var(--ui-info-line) 0,transparent 55%),var(--g-card)!important}
html:root body #status.status .status-badge{background:var(--g-ctl)!important;box-shadow:var(--g-rim-soft)!important}
html:root body #status.status .ui-renew,html:root body #status.status.off .ui-renew{background:var(--g-primary)!important;color:var(--ui-accent-ink)!important;box-shadow:var(--g-primary-rim)!important}

/* ---- tabs: a floating glass capsule; the page scrolls underneath it ---- */
html:root body #tabs.tabs{position:sticky!important;top:10px!important;z-index:30!important;
  background:var(--g-bar)!important;border:1px solid var(--g-edge)!important;border-radius:999px!important;
  box-shadow:var(--g-rim),var(--g-drop-float)!important;
  -webkit-backdrop-filter:var(--g-blur-heavy)!important;backdrop-filter:var(--g-blur-heavy)!important}
html:root body #tabs.tabs[data-motion-ready]::before,html:root body #tabs.tabs[data-motion-initialized]::before,
html:root body #tabs:not([data-motion-ready]):not([data-motion-initialized]) .tab.on{
  background:var(--g-lens)!important;box-shadow:var(--g-rim-hi)!important;border-radius:999px!important}

/* ---- controls: clear glass capsules (no blur of their own — they sit on glass) ---- */
html:root body :is(.lang,.btn-g,.btn-copy,.sheet-close,.provider-back,.amount-presets button,.btn-balance,.ui-features-btn,.ui-feat-chip){
  background:var(--g-ctl)!important;border:0!important;border-radius:999px!important;color:var(--ui-text)!important;box-shadow:var(--g-rim-soft)!important}
html:root body :is(.lang,.btn-g,.btn-copy,.sheet-close,.provider-back,.amount-presets button,.btn-balance,.ui-features-btn):active{background:var(--g-ctl-press)!important}
html:root body .ui-feat-chip[aria-selected=true]{background:var(--g-primary)!important;color:var(--ui-accent-ink)!important;box-shadow:var(--g-primary-rim)!important}
html:root body .amount-presets button:is(.on,.sel,[aria-pressed=true]){background:var(--ui-accent-soft)!important;box-shadow:inset 0 0 0 1px var(--ui-accent)!important}
html:root body .dev-free{background:var(--ui-danger-soft)!important;color:var(--ui-danger)!important;border-radius:999px!important;box-shadow:inset 0 0 0 1px var(--ui-danger-line)!important}
html:root body :is(.pay-method,.ui-term-row,.ui-plan-pick-card,.ui-feat-card){
  background:var(--g-ctl)!important;border:1px solid transparent!important;border-radius:var(--g-r-row)!important;box-shadow:var(--g-rim-soft)!important}
html:root body .pay-method:active{background:var(--g-ctl-press)!important}
html:root body .ui-plan-pick-card[aria-checked=true]{background:var(--ui-accent-soft)!important;border-color:var(--ui-accent)!important}
html:root body :is(.pay-method .method-icon,.dev-ic,.slot-rental-mark){background:var(--g-ctl)!important;border:0!important;box-shadow:var(--g-rim-soft)!important}
html:root body .dev-ic{color:var(--ui-accent)!important}

/* ---- wells: recessed, darker than the glass they sit in ---- */
html:root body :is(.ui-plan-list,.codefield,.amount-field>div,.gift-box input,.gift-box select,.sheet input,.sheet textarea){
  background:var(--g-well)!important;border:1px solid var(--g-well-edge)!important;border-radius:var(--g-r-row)!important;box-shadow:var(--g-well-shade)!important}
html:root body :is(.amount-field input,.codefield input){background:transparent!important;border:0!important;box-shadow:none!important}
html:root body :is(.codefield:focus-within,.amount-field>div:focus-within,.gift-box input:focus-visible){border-color:var(--ui-accent-line)!important}
html:root body .ui-plan-row+.ui-plan-row{box-shadow:inset 0 1px 0 var(--g-hair)!important}
html:root body .ui-plan-row:active{background:var(--g-ctl)!important}
html:root body .ui-product-actions{box-shadow:inset 0 1px 0 var(--g-hair)!important}
html:root body .codefield-go:disabled{background:var(--g-ctl)!important;color:var(--ui-text-3)!important;border:0!important;box-shadow:none!important}

/* ---- the one action colour ---- */
html:root body :is(.btn-p,.codefield-go:not(:disabled),.sbp-primary){
  background:var(--g-primary)!important;color:var(--ui-accent-ink)!important;border:0!important;border-radius:999px!important;box-shadow:var(--g-primary-rim)!important}
html:root body :is(.btn-p,.sbp-primary):active{filter:brightness(.94)}
html:root body .btn-p:disabled{background:var(--g-ctl)!important;color:var(--ui-text-3)!important;box-shadow:var(--g-rim-soft)!important}
html:root body .balance-card>.balance-mark,html:root body .balance-mark{background:var(--g-mark)!important;color:var(--g-mark-ink)!important;box-shadow:var(--g-primary-rim)!important;border-radius:13px!important}
html:root body .pcard-tag{background:var(--g-primary)!important;color:var(--ui-accent-ink)!important}

/* ---- overlays: thick glass. What is behind stays visible, blurred ---- */
html:root body :is(.sheet,.lang-menu,.toast,.gate-card,.terms-card,.ui-gift-sheet,.ui-feat-sheet,.ui-term-sheet){
  background:var(--g-thick)!important;border:1px solid var(--g-edge)!important;
  box-shadow:var(--g-rim-hi),0 30px 80px -20px #000000b3!important;
  -webkit-backdrop-filter:var(--g-blur-heavy)!important;backdrop-filter:var(--g-blur-heavy)!important}
html:root body .sheet{border-radius:var(--g-r-sheet) var(--g-r-sheet) 0 0!important;border-bottom:0!important}
html:root body :is(.ui-gift-sheet,.ui-feat-sheet,.ui-term-sheet){border-radius:var(--g-r-sheet)!important}
html:root body .lang-menu{border-radius:20px!important}
html:root body .toast{border-radius:999px!important}
html:root body :is(.sheet-backdrop,.ui-gift-backdrop,.ui-term-backdrop){background:var(--g-scrim)!important}
html:root body .ui-feat-filter{background:transparent!important}
html:root body .sheet-grip{background:var(--ui-grip)!important}

/* text on glass: a touch more contrast than on a solid panel */
html:root body :is(.status-sub,.ui-product-desc,.ui-plan-term){color:var(--ui-text-2)!important}

/* fallbacks */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  html:root body #tabs.tabs,html:root body :is(.sheet,.lang-menu,.toast,.gate-card,.terms-card,.ui-gift-sheet,.ui-feat-sheet,.ui-term-sheet){background:var(--g-solid)!important}}
@media (prefers-reduced-transparency:reduce){
  html:root:root body *{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  html:root body #tabs.tabs,html:root body :is(.sheet,.lang-menu,.toast,.gate-card,.terms-card,.ui-gift-sheet,.ui-feat-sheet,.ui-term-sheet,.status,.balance-card,.codebox,.ui-product,.dev,.pcard){background:var(--g-solid)!important}}
@media (prefers-contrast:more){html:root body{--g-edge:#ffffff66;--g-edge-hi:#ffffff80;--g-well-edge:#ffffff55}}

/* ---- header: the person, not the brand (avatar + name + @username, as it was before) ---- */
html:root:root body #app .top .ui-brand{display:none!important}
html:root:root body #app .top .me{display:flex!important;align-items:center;gap:11px;min-width:0}
html:root:root body #app .top .me .me-txt{display:grid;gap:1px;min-width:0}
html:root:root body #app .top .me :is(#meName,#meTag){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:root:root body #app .top .me #meName{font-size:16px!important;line-height:1.2!important}
html:root:root body #app .top .me #meTag{font-size:13px!important;line-height:1.2!important;color:var(--ui-text-3)!important}
html:root:root body #app .top .me>.user-avatar{width:40px;height:40px;border-radius:50%!important;background:var(--g-ctl)!important;border:0!important;color:var(--ui-text)!important;box-shadow:var(--g-rim-soft),0 0 0 1px var(--g-edge)!important}

/* ================= motion (2026-11-11) =================
   Transform and opacity only. Nothing loops. Everything is off under prefers-reduced-motion. */
:root{--m-out:cubic-bezier(.22,1,.36,1);--m-spring:cubic-bezier(.3,1.36,.45,1);--m-soft:cubic-bezier(.3,1.12,.4,1)}
@keyframes g-rise{from{opacity:0;transform:translate3d(0,16px,0) scale(.985)}}
@keyframes g-pop{from{opacity:0;transform:translate3d(0,18px,0) scale(.93)}}
@keyframes g-menu{from{opacity:0;transform:translate3d(0,-8px,0) scale(.9)}}
@keyframes g-fade{from{opacity:0}}
@keyframes g-glint{from{transform:translate3d(-130%,0,0)}to{transform:translate3d(130%,0,0)}}
@media (prefers-reduced-motion:no-preference){
  /* 1. arrival — the screen assembles from the top down, each piece settling like glass being set in place */
  html:root:root body main#app{animation:none!important}
  html:root:root body main#app>:is(.top,.status,.balance-card,.tabs,.foot){animation:g-rise .75s var(--m-out) .22s backwards!important}
  html:root:root body main#app>.status{animation-delay:280ms!important}
  html:root:root body main#app>.balance-card{animation-delay:340ms!important}
  html:root:root body main#app>.tabs{animation-delay:400ms!important}
  html:root:root body main#app>.foot{animation-delay:780ms!important}
  /* the pane: its blocks follow one another — on first load and on every tab switch */
  html:root:root body main#app>.pane.on{animation:none!important}
  html:root:root body main#app>.pane.on>*{animation:g-rise .6s var(--m-out) backwards}
  html:root:root body main#app>.pane.on>:is(.ui-product,.pane-h:first-of-type){animation-delay:40ms}
  html:root:root body main#app>.pane.on>:is(.devices,.codebox,.cards:first-of-type){animation-delay:110ms}
  html:root:root body main#app>.pane.on>:is(.slot-rental,.pane-h~.pane-h,.gift-box){animation-delay:170ms}
  html:root:root body main#app>.pane.on>.pane-h~.cards{animation-delay:220ms}
  html:root:root body main#app>.pane.on>.note{animation-delay:270ms}
  /* first load only (html.ui-first, set by mini.js for 1.7s): the pane waits its turn so the whole screen is one wave */
  html:root:root.ui-first body main#app>.pane.on>:is(.ui-product,.pane-h:first-of-type){animation-delay:470ms}
  html:root:root.ui-first body main#app>.pane.on>:is(.devices,.codebox,.cards:first-of-type){animation-delay:550ms}
  html:root:root.ui-first body main#app>.pane.on>:is(.slot-rental,.pane-h~.pane-h,.gift-box){animation-delay:610ms}
  html:root:root.ui-first body main#app>.pane.on>.pane-h~.cards{animation-delay:660ms}
  html:root:root.ui-first body main#app>.pane.on>.note{animation-delay:700ms}

  /* 2. the glint — light crosses the subscription card once, after it lands */
  html:root:root body #status.status::after{content:""!important;display:block!important;position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;
    background:linear-gradient(105deg,transparent 36%,#ffffff24 47%,#ffffff0a 54%,transparent 64%);
    transform:translate3d(-130%,0,0);animation:g-glint 1.4s var(--m-out) 1s 1 backwards}

  /* 3. press — glass gives under the finger and springs back */
  html:root:root body :is(.btn-p,.btn-g,.lang,.btn-balance,.sheet-close,.provider-back,.amount-presets button,.ui-features-btn,.dev-free,.codefield-go,.sbp-primary,.ui-feat-chip,.ui-term-close,.status .ui-renew){
    transition:transform .5s var(--m-spring),filter .25s ease,background-color .2s ease,box-shadow .25s ease!important}
  html:root:root body :is(.btn-p,.btn-g,.lang,.btn-balance,.sheet-close,.provider-back,.amount-presets button,.ui-features-btn,.dev-free,.codefield-go:not(:disabled),.sbp-primary,.ui-feat-chip,.ui-term-close,.status .ui-renew):active{
    transform:scale(.95)!important;transition-duration:.09s!important}
  html:root:root body :is(.balance-card,.pcard,.pay-method,.ui-plan-pick-card,.ui-term-row,.dev){
    transition:transform .55s var(--m-spring),background-color .2s ease,border-color .2s ease!important}
  html:root:root body :is(.balance-card,.pcard,.pay-method,.ui-plan-pick-card,.ui-term-row):active{
    transform:scale(.972)!important;transition-duration:.09s!important}
  html:root:root body #tabs .tab{transition:transform .5s var(--m-spring),color .25s ease!important}
  html:root:root body #tabs .tab:active{transform:scale(.94)!important;transition-duration:.09s!important}
  html:root:root body .ui-plan-row{transition:background-color .25s ease}
  html:root:root body .balance-card .ui-chevron{transition:transform .5s var(--m-spring)}
  html:root:root body .balance-card:active .ui-chevron{transform:translate3d(3px,0,0)}

  /* 4. tabs — the lens slides between them like a drop */
  html:root:root body #tabs.tabs[data-motion-initialized]::before{transition:transform .62s var(--m-spring),width .62s var(--m-spring),opacity .2s!important}

  /* 5. dialogs and menus arrive from where they belong */
  html:root:root body .ui-term-backdrop{animation:g-fade .28s ease-out!important}
  html:root:root body :is(.ui-term-sheet,.ui-feat-sheet,.ui-gift-sheet){animation:g-pop .52s var(--m-soft) backwards!important}
  html:root:root body .lang-menu{transform-origin:calc(100% - 28px) 0}
  html:root:root body .lang-menu:not([hidden]){animation:g-menu .34s var(--m-soft) backwards}
}

/* ================= fixes (2026-11-12) =================
   Header popovers (language menu, admin controls) open above the floating tab bar, not underneath it. */
html:root:root body #app .top{position:relative!important;z-index:40!important}

/* ================= loading screen (2026-11-12) =================
   "Clean ring": no card and no logo. An empty ring closes as the session check runs, a check mark lands inside it.
   The ring reads --gate-p, which mini.js copies from the existing progress bar (#gBar). Without the script the ring
   simply stays empty until the check mark; without :has() the words "all good" still appear below. */
/* same light as the app behind it, so the app does not "switch on" a different background */
html:root:root body #gate.gate{background:var(--g-ambient),var(--g-base)!important;padding:24px 24px calc(24px + env(safe-area-inset-bottom))!important}
/* no card: the screen itself is the surface */
html:root:root body #gate .gate-card{position:relative;max-width:300px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;animation:none!important}
html:root:root body #gate .gate-card h2{font-size:21px!important;line-height:1.2!important;letter-spacing:-.02em!important;margin:0 0 8px!important}
html:root:root body #gate .gate-card p{font-size:14px!important;line-height:1.45!important;margin:0 0 26px!important;color:var(--ui-text-2)!important}
/* the quiet line about the session sits at the bottom of the screen */
html:root:root body #gate .gate-foot{position:fixed;left:0;right:0;bottom:calc(22px + env(safe-area-inset-bottom));margin:0!important;padding:0!important;border:0!important;
  font-size:12px!important;letter-spacing:0!important;color:var(--ui-text-3)!important;text-align:center}
/* "all good" becomes a small glass capsule */
/* the capsule keeps its place before it appears, so nothing jumps when the check finishes */
html:root:root body #gate .gate-ok{display:flex!important;visibility:hidden}
html:root:root body #gate .gate-ok.on{visibility:visible}
html:root:root body #gate .gate-ok{margin:18px auto 0!important;width:max-content;padding:8px 14px 8px 10px;border-radius:999px;gap:7px!important;font-size:13px!important;font-weight:650!important;
  color:var(--ui-text)!important;background:var(--g-ctl);box-shadow:var(--g-rim-soft),0 0 0 1px var(--g-edge)}
html:root:root body #gate .gate-ok .ic{width:16px;height:16px;color:var(--ui-success)}
@keyframes gate-in{from{opacity:0;transform:translate3d(0,14px,0) scale(.96)}}
@keyframes gate-logo-in{from{opacity:0;transform:scale(.8)}}
@keyframes gate-pop{from{opacity:0;transform:translate3d(0,6px,0) scale(.9)}}
@media (prefers-reduced-motion:no-preference){
  html:root:root body #gate .gate-logo{animation:gate-logo-in .7s cubic-bezier(.3,1.3,.45,1) backwards!important}
  html:root:root body #gate .gate-card :is(h2,p,.gate-bar){animation:gate-in .7s cubic-bezier(.22,1,.36,1) backwards}
  html:root:root body #gate .gate-card h2{animation-delay:.08s}
  html:root:root body #gate .gate-card p{animation-delay:.14s}
  html:root:root body #gate .gate-card .gate-bar{animation-delay:.2s}
  html:root:root body #gate .gate-ok.on{animation:gate-pop .45s cubic-bezier(.3,1.3,.45,1) backwards!important}
  /* leaving: the screen lifts away instead of just fading */
  html:root:root body #gate.gate.gone{transform:scale(1.06)!important;transition:opacity .45s ease,transform .6s cubic-bezier(.22,1,.36,1)!important}
}
@media (prefers-reduced-motion:reduce){html:root:root body #gate .gate-logo{animation:none!important}}
@property --gate-p{syntax:"<number>";inherits:true;initial-value:0}
html:root:root body #gate.gate{--gate-p:0;transition:--gate-p .55s cubic-bezier(.22,1,.36,1)}
html:root:root body #gate .gate-logo{display:none!important}
html:root:root body #gate .gate-card::before{content:"";display:block;width:96px;height:96px;margin:0 auto 34px;border-radius:50%;
  background:conic-gradient(from 0deg,#fff calc(var(--gate-p)*1%),#ffffff1f calc(var(--gate-p)*1%));
  -webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 4.5px),#000 calc(100% - 3.5px));mask:radial-gradient(farthest-side,#0000 calc(100% - 4.5px),#000 calc(100% - 3.5px));
  filter:drop-shadow(0 0 8px #ffffff73)}
/* the check mark inside the ring: appears when the app reports "all good" */
html:root:root body #gate .gate-card::after{content:"";position:absolute;top:48px;left:50%;width:34px;height:18px;margin:-15px 0 0 -17px;
  border-left:4.5px solid #fff;border-bottom:4.5px solid #fff;border-radius:1px 0 2px 1px;
  transform:rotate(-45deg) scale(.3);opacity:0;transition:opacity .2s ease .26s,transform .5s cubic-bezier(.3,1.36,.45,1) .26s;filter:drop-shadow(0 0 8px #ffffff80)}
html:root:root body #gate .gate-card:has(.gate-ok.on)::after{opacity:1;transform:rotate(-45deg) scale(1)}
/* the capsule below keeps the words only */
html:root:root body #gate .gate-ok .ic{display:none}
html:root:root body #gate .gate-ok{padding:8px 14px}
html:root:root body #gate .gate-bar{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;animation:none!important}
@media (prefers-reduced-motion:no-preference){
  @keyframes gate-ring-in{from{opacity:0;transform:scale(.8) rotate(-60deg)}}
  html:root:root body #gate .gate-card::before{animation:gate-ring-in .8s cubic-bezier(.22,1,.36,1) backwards}
}

/* ---- fixes (2026-11-12, second batch) ----
   Top-up sheet: the chevron of the "Crypto" row is absolutely positioned; give the text room so they no longer overlap. */
html:root:root body .pay-method.crypto-choice{padding-right:30px!important}
html:root:root body .pay-method.crypto-choice .method-arrow{right:12px!important}

/* ================= sale (2026-11-12) =================
   Shown only while the backend reports an active sale. Compact: one glass card with the percentage and the time left,
   then every plan shows its new price, the old one struck through and its own percentage. */
html:root:root body .sale-banner{padding:16px 16px 14px!important;margin:0 0 12px!important;border-color:var(--g-edge-hi)!important;
  background:radial-gradient(120% 160% at 0 0,#ffffff1f 0,#ffffff00 55%),var(--g-card)!important}
html:root:root body .sale-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0}
html:root:root body .sale-heading b{font-size:19px!important;line-height:1.2!important;letter-spacing:-.01em!important;font-weight:750!important}
/* the time left: four small glass chips instead of a wall of big digits */
html:root:root body .sale-countdown{display:flex!important;gap:6px!important;margin:12px 0 10px!important}
html:root:root body .sale-unit{flex:1 1 0;min-width:0;flex-direction:row!important;align-items:center!important;justify-content:center;gap:4px!important;
  height:40px;padding:0 6px;border-radius:13px;background:var(--g-well);box-shadow:inset 0 0 0 1px var(--g-well-edge)}
html:root:root body .sale-digits{display:flex;width:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;
  font-size:18px!important;line-height:1.15!important;font-weight:700!important;font-variant-numeric:tabular-nums;color:var(--ui-text)}
html:root:root body .sale-unit small{font-size:12px!important;font-weight:600!important;color:var(--ui-text-3)!important}
html:root:root body .sale-countdown.urgent .sale-digits{color:var(--ui-warn)!important}
html:root:root body .sale-banner small[data-sale-deadline]{text-align:left!important;font-size:12.5px;color:var(--ui-text-3)!important}
/* plans: new price, old price, percentage */
html:root:root body .ui-plan-row{gap:8px}
html:root:root body .ui-plan-price s{font-size:13.5px!important;font-weight:500!important;color:var(--ui-text-3)!important;text-decoration-thickness:1px}
html:root:root body .ui-plan-side{display:inline-flex;align-items:center;gap:8px;min-width:0}
html:root:root body .ui-plan-off{flex:none;font-style:normal;font-size:12px;font-weight:750;line-height:1;padding:5px 7px;border-radius:999px;font-variant-numeric:tabular-nums;
  background:var(--ui-success-soft);color:var(--ui-success);box-shadow:inset 0 0 0 1px var(--ui-success-line)}
html:root:root body .ui-term-name{display:inline-flex;align-items:center;gap:8px}
html:root:root body .ui-term-price s{font-size:13.5px;font-weight:500;color:var(--ui-text-3);text-decoration-thickness:1px;margin-right:2px}
/* the chosen term in the buy dialog is visibly selected (the glass layer used to flatten this state) */
html:root:root body .ui-term-row[aria-checked=true]{background:var(--g-lens)!important;border-color:var(--ui-accent)!important;box-shadow:var(--g-rim-hi)!important}

/* ---- purchase path (2026-11-14) ----
   Term chooser: a short note when the balance does not cover the plan; a kept purchase offered again after reopening;
   the success screen with the next steps; the gift link for a friend who has not opened the bot yet. */
html:root:root body .ui-pay-note{margin:12px 4px 0;font-size:14px;line-height:1.45;text-align:center;color:var(--ui-text-2)}
html:root:root body .ui-pending{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;margin:0 0 12px;padding:12px 10px 12px 16px;
  border-radius:20px;background:var(--g-card)!important;border:1px solid var(--g-edge)!important;box-shadow:var(--g-rim)!important}
html:root:root body .ui-pending-text{margin:0;font-size:14.5px;line-height:1.35;color:var(--ui-text)}
html:root:root body .ui-pending-go{min-height:36px!important;padding:0 16px!important;font-size:14px!important;border-radius:999px!important;white-space:nowrap}
html:root:root body .ui-pending-x{width:32px;height:32px;border:0;border-radius:50%;background:var(--ui-surface-3);color:var(--ui-text-3);font-size:20px;line-height:1;cursor:pointer}
html:root:root body .ui-done-head{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;margin:6px 24px 18px}
html:root:root body .ui-done-mark{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--g-ctl);box-shadow:var(--g-rim-soft);color:var(--ui-text);margin-bottom:6px}
html:root:root body .ui-done-mark svg{width:28px;height:28px}
html:root:root body .ui-done-head h3{margin:0;font-size:24px;font-weight:700;color:var(--ui-text)}
html:root:root body .ui-done-head p{margin:0;font-size:15px;color:var(--ui-text-3)}
html:root:root body .ui-done-steps{list-style:none;margin:0;padding:0;display:grid;gap:10px;counter-reset:s}
html:root:root body .ui-done-steps li{counter-increment:s;display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start;padding:12px 14px;border-radius:var(--ui-row-r);
  background:var(--g-well,var(--ui-surface-3));border:1px solid var(--g-well-edge,var(--ui-border));font-size:14.5px;line-height:1.4;color:var(--ui-text-2)}
html:root:root body .ui-done-steps li::before{content:counter(s);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--g-ctl);color:var(--ui-text);font-weight:700;font-size:13px}
html:root:root body .ui-done-bot{width:100%;min-height:52px;margin-top:16px}
html:root:root body .ui-done-ok{width:100%;min-height:44px;margin-top:6px;border:0;background:transparent;color:var(--ui-text-2);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
html:root:root body .ui-gift-share{display:block;width:fit-content;margin:8px 0 2px;text-align:left;padding:0;border:0;background:none;color:var(--ui-text);font:inherit;font-size:14px;font-weight:600;
  text-decoration:underline;text-decoration-color:var(--g-edge-hi);text-underline-offset:3px;cursor:pointer}
@media (prefers-reduced-motion:no-preference){html:root:root body .ui-pending{animation:g-rise .4s var(--m-out) backwards}}

/* Devices (2026-11-14): code and date on separate lines; a long code can never leave the card (mini.js deviceCodes). */
html:root body .dev-txt span{white-space:pre-line;overflow-wrap:anywhere}
