/* arc-polish.css — finishing pass, loaded after arc-v10.css (in arc.min.css; arcia.html links it directly).
   The accents follow ARCIRCLE World's art direction (design/concept): bright blue glass with glowing cyan edges.
     · one CTA system: primary (gradient pill) · secondary (outline pill) · tertiary (text link)
     · one skeleton for every value still loading, and a friendly line (not a bare "—") when it doesn't come
     · the home page's gate art stays behind the hero only; below it the page is plain surface
     · phones (≤480px): search and language share one menu button in the bar (arc-nav.js)
     · ArcPad's stat tiles line up; the Newest launches row has no empty column while it loads
     · motion (arc-feel.js): count-up, price flash, tab fade, success burst + receipt, copy check.
   Motion is transform / opacity only, off under prefers-reduced-motion, and nothing loops on a phone. */

:root{
  --pri:linear-gradient(100deg,#3a78ff 0%,#2ba6ff 52%,#3fe0ef 100%);
  --pri-ink:#04122a;
  --cta-edge:rgba(110,225,255,.5);
  --cta-edge-hi:rgba(150,240,255,.85);
  --cta-glow:inset 0 0 0 1px rgba(170,240,255,.3),0 8px 24px -10px rgba(46,170,255,.7);
  --pol-cyan:#7fe6ff;
  --pol-skel:rgba(150,190,255,.1);
  --pol-ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------------- CTAs: primary · secondary · tertiary ---------------- */
.cta-pri,.hm-cta .hm-btn-pri,.bp-hero-cta .bp-btn-primary,.ax-actions .ax-btn-grad,
.cta-sec,.hm-cta .hm-btn:not(.hm-btn-pri),html.v10 .hm-cta .hm-btn:not(.hm-btn-pri),.bp-hero-cta .bp-btn-ghost:not(.tr-hero-b),.ax-actions .ax-btn-ghost{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 24px!important;border-radius:999px!important;
  font:700 .9rem/1.2 var(--f-ui);text-decoration:none!important;cursor:pointer;transition:transform .15s var(--pol-ease)}
.cta-pri,.hm-cta .hm-btn-pri,.bp-hero-cta .bp-btn-primary,.ax-actions .ax-btn-grad{
  background:var(--pri)!important;color:var(--pri-ink)!important;border:0!important;box-shadow:var(--cta-glow)!important}
.cta-sec,.hm-cta .hm-btn:not(.hm-btn-pri),html.v10 .hm-cta .hm-btn:not(.hm-btn-pri),.bp-hero-cta .bp-btn-ghost:not(.tr-hero-b),.ax-actions .ax-btn-ghost{
  background:rgba(60,150,255,.07)!important;color:#e2f6ff!important;border:1px solid var(--cta-edge)!important;box-shadow:none!important}
.cta-pri:hover,.hm-cta .hm-btn-pri:hover,.bp-hero-cta .bp-btn-primary:hover,.ax-actions .ax-btn-grad:hover,
.cta-sec:hover,.hm-cta .hm-btn:not(.hm-btn-pri):hover,html.v10 .hm-cta .hm-btn:not(.hm-btn-pri):hover,.bp-hero-cta .bp-btn-ghost:not(.tr-hero-b):hover,.ax-actions .ax-btn-ghost:hover{transform:translateY(-1px)}
.cta-pri:hover,.hm-cta .hm-btn-pri:hover,.bp-hero-cta .bp-btn-primary:hover,.ax-actions .ax-btn-grad:hover{filter:brightness(1.07)}
.cta-sec:hover,.hm-cta .hm-btn:not(.hm-btn-pri):hover,html.v10 .hm-cta .hm-btn:not(.hm-btn-pri):hover,.bp-hero-cta .bp-btn-ghost:not(.tr-hero-b):hover,.ax-actions .ax-btn-ghost:hover{
  background:rgba(60,170,255,.13)!important;border-color:var(--cta-edge-hi)!important;color:#fff!important}
.cta-ter,.hm-cta .hm-tour,html.v10 .hm-tour,.bp-hero-cta .tr-hero-b,.bp-hero-cta .bp-btn-ghost.tr-hero-b{
  display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 6px!important;background:none!important;border:0!important;box-shadow:none!important;
  color:var(--pol-cyan)!important;font:600 .88rem/1.2 var(--f-ui);text-decoration:none!important;cursor:pointer;border-radius:8px}
.cta-ter:hover,.hm-cta .hm-tour:hover,html.v10 .hm-tour:hover,.bp-hero-cta .tr-hero-b:hover{color:#fff!important;text-decoration:underline!important;text-underline-offset:4px;text-decoration-color:rgba(127,230,255,.5)!important}
.hm-cta .hm-tour[hidden],html.v10 .hm-tour[hidden]{display:none!important}
.hm-cta .hm-tour .hm-tour-i,html.v10 .hm-tour-i{width:22px!important;height:22px!important;background:rgba(127,230,255,.14)!important;color:var(--pol-cyan)!important;box-shadow:inset 0 0 0 1px rgba(127,230,255,.4)!important;animation:none!important}
.bp-hero-cta .tr-hero-b svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.cta-pri:focus-visible,.cta-sec:focus-visible,.cta-ter:focus-visible,.hm-cta a:focus-visible,.bp-hero-cta button:focus-visible,.ax-actions a:focus-visible{outline:2px solid var(--pol-cyan);outline-offset:3px}
/* the hero row: primary and secondary side by side, the text link after them */
.hm-cta{align-items:center;gap:12px}
.bp-hero-cta{align-items:center;gap:12px}
/* the wallet button in the bar is a primary too */
.cw .cw-b.cw-off{background:var(--pri);color:var(--pri-ink);box-shadow:var(--cta-glow)}
@media (max-width:640px){
  .hm-cta{gap:10px}
  .hm-cta .hm-btn-pri,.hm-cta .hm-btn:not(.hm-btn-pri),html.v10 .hm-cta .hm-btn:not(.hm-btn-pri){flex:1 1 100%;min-height:48px}
  .hm-cta .hm-tour,html.v10 .hm-cta .hm-tour{flex:0 1 auto;max-width:none;min-height:40px;font-size:.84rem}
  .bp-hero-cta .bp-btn-primary,.bp-hero-cta .bp-btn-ghost:not(.tr-hero-b){flex:1 1 auto;padding:0 18px!important;white-space:nowrap}
  .bp-hero-cta .tr-hero-b{flex:1 1 100%;justify-content:center;min-height:40px}
  .ax-actions .ax-btn{flex:1 1 auto}
}

/* ---------------- loading: one skeleton; nothing came: a friendly line ---------------- */
.v9-skel,html.v10 .v9-skel,.hm-skel,.ap-skel-card i,html.v10 .ap-skel-card i,.pol-skel{
  background:var(--pol-skel)!important;background-image:none!important;color:transparent!important;border-radius:8px;animation:none!important}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .v9-skel,html.v10 .v9-skel,.hm-skel,.ap-skel-card i,html.v10 .ap-skel-card i,.pol-skel{animation:pol-pulse 1.1s ease-in-out infinite alternate!important}
}
@keyframes pol-pulse{from{opacity:1}to{opacity:.45}}
.v9-na{opacity:1;cursor:help}
/* the "—" stays in the page (the scripts look for it); only the words show */
.v9-na[data-empty],.pol-empty[data-empty]{font-size:0!important;letter-spacing:0!important}
.v9-na[data-empty]::after,.pol-empty[data-empty]::after{content:attr(data-empty);color:var(--text-2,#a9b5cb);font:600 12.5px/1.35 var(--f-ui);letter-spacing:0;white-space:normal;text-transform:none}
/* the home page's coin count line: "— coins launched so far" becomes one friendly line */
.hm-foot:has(.pol-empty) > span{display:none}
.hm-node span:has(> .pol-empty){font-size:0}
/* a stat tile's sparkline waits for its number */
.ap-stat:has(> strong.v9-skel) .v7-stat-x,.ap-stat:has(> strong.v9-na) .v7-stat-x{display:none}

/* ---------------- home: the gate art behind the hero only ---------------- */
body.ax-home .ax-bg{position:absolute;inset:0 0 auto;height:100vh;height:100svh;max-height:1000px;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 52%,transparent 100%);mask-image:linear-gradient(180deg,#000 0%,#000 52%,transparent 100%)}
@media (max-width:640px){body.ax-home .ax-bg{height:720px}}
/* sections are always visible (no JS, a fast fling, a full-page capture); arc-home.js adds .in just before one
   scrolls into view and that plays one short rise */
.hm-sec.hm-rv{opacity:1;transform:none;transition:none}
.hm-sec.hm-rv.in{animation:pol-rise .45s var(--pol-ease) both}
@keyframes pol-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
/* phones: nothing on the home page loops */
@media (max-width:900px),(hover:none){
  .hm-scroll i,.hm-live-dot,.hm-round.live .hm-tag i,.hm-fly-core img,.ax-lb-dot{animation:none!important}
  .hm-fly-dots{display:none}
}

/* ---------------- phones: search + language behind one button ---------------- */
.anav-mx{display:none;position:relative}
.anav-mx .anav-mb{width:auto;display:inline-flex;align-items:center;gap:6px;padding:0 10px}
.anav-mx .anav-mb svg{width:17px;height:17px}
.anav-mx .anav-mb b{font-size:12px;font-weight:700}
.anav-mmenu{position:absolute;right:0;top:44px;z-index:5;min-width:188px;padding:6px;border-radius:var(--r-card);background:var(--anav-panel,#0b1124);
  border:1px solid rgba(120,220,255,.22);box-shadow:0 18px 44px rgba(0,0,0,.55)}
.anav-mmenu[hidden]{display:none}
.anav-mmenu button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 12px;border-radius:var(--r-ctl);font-size:14px!important;color:#c3cde4!important}
.anav-mmenu button:hover,.anav-mmenu button[aria-current]{background:rgba(110,200,255,.1);color:#fff!important}
.anav-mmenu button svg{width:17px;height:17px;flex:none}
.anav-mmenu small{display:block;padding:8px 12px 4px;color:#7f8bab;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.anav-mmenu hr{border:0;border-top:1px solid rgba(150,175,255,.12);margin:4px 6px}
@media (max-width:480px){
  .anav-right .anav-search,.anav-right .anav-lang{display:none!important}
  .anav-mx{display:flex;align-items:center}
  /* the bell steps back: Connect is the one strong control in the bar */
  .anav-right .nb-btn{background:none;border-color:transparent}
  .anav-right{gap:6px}
}

/* ---------------- ArcPad: stat tiles on one baseline; no empty column while loading ---------------- */
#ap-home-stats .ap-stat{align-items:center;grid-template-rows:26px auto}
#ap-home-stats .ap-stat > strong{display:block;height:26px;line-height:26px;align-self:end}
#ap-home-stats .ap-stat > strong + span{align-self:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px;font-size:.74rem;line-height:1.3}
#ap-home-stats .ap-stat > strong.v9-skel{width:min(100%,6.5em);height:20px;margin:3px 0}
#ap-home-stats .ap-stat > strong.v9-na[data-empty]::after{white-space:nowrap}
#ap-home-stats .v7-spark{width:64px}
@media (max-width:1100px){#ap-home-stats .v7-spark{width:60%}}
#ap-home-track:has(> .ap-skel-card){display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));width:100%}
#ap-home-track > .ap-skel-card{width:auto}
#ap-home-viewport:has(> #ap-home-track > .ap-skel-card){min-height:0}

/* ---------------- motion ---------------- */
/* a tab switch: 150 ms fade and short slide */
.bp-panel.active.v10-in{animation:pol-tab .15s var(--pol-ease)}
@keyframes pol-tab{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* a price that moved: a brief green / red wash behind the number */
.fx-up,.fx-down{animation:none}
:where(.fx-up,.fx-down){position:relative}
.fx-up::before,.fx-down::before{content:"";position:absolute;inset:-2px -5px;border-radius:6px;pointer-events:none;opacity:0;animation:pol-flash .7s ease-out}
.fx-up::before{background:rgba(57,255,136,.24)}
.fx-down::before{background:rgba(255,107,107,.24)}
#apc-price.fx-up,#apc-price.fx-down{animation:v12RollUp .36s cubic-bezier(.2,.8,.2,1)}
#apc-price.fx-down{animation-name:v12RollDn}
@keyframes pol-flash{0%{opacity:1}100%{opacity:0}}
/* the success burst's canvas and the receipt */
.pol-burst{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:1400}
.pol-rcpt{position:fixed;right:20px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:1390;width:min(340px,calc(100vw - 32px));padding:16px 16px 14px;border-radius:var(--r-card,16px);
  background:linear-gradient(180deg,rgba(22,40,84,.97),rgba(10,18,40,.97));border:1px solid rgba(110,225,255,.45);box-shadow:0 0 0 1px rgba(110,225,255,.08),0 0 28px -6px rgba(63,200,255,.55),0 22px 50px rgba(0,0,0,.5);
  color:#eaf6ff;font-family:var(--f-ui);opacity:0;transform:translateY(24px);transition:opacity .28s var(--pol-ease),transform .28s var(--pol-ease)}
.pol-rcpt.in{opacity:1;transform:none}
.pol-rcpt.out{opacity:0;transform:translateY(12px)}
.pol-rcpt-h{display:flex;align-items:center;gap:10px;margin:0 28px 10px 0}
.pol-rcpt-h i{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--pri);color:var(--pri-ink)}
.pol-rcpt-h i svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.pol-rcpt-h b{font-size:15px}
.pol-rcpt dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;font-size:13px}
.pol-rcpt dt{color:#93a6c8}
.pol-rcpt dd{margin:0;text-align:right;font-weight:700;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pol-rcpt a{display:inline-block;margin-top:12px;color:var(--pol-cyan);font-size:13px;font-weight:600;text-decoration:none}
.pol-rcpt a:hover{text-decoration:underline;text-underline-offset:3px}
.pol-rcpt-x{position:absolute;top:10px;right:10px;width:28px;height:28px;border-radius:50%;border:0;background:rgba(255,255,255,.06);color:#c3cde4;font-size:16px;line-height:1;cursor:pointer}
.pol-rcpt-x:hover{background:rgba(255,255,255,.12);color:#fff}
@media (max-width:900px){.pol-rcpt{left:16px;right:16px;width:auto;bottom:calc(var(--anav-bot,62px) + 12px)}}
/* copied: a check pops beside the button */
.pol-copy{position:fixed;z-index:1410;width:24px;height:24px;margin:-12px 0 0 -12px;border-radius:50%;display:grid;place-items:center;pointer-events:none;
  background:#39e58c;color:#03130a;box-shadow:0 0 0 3px rgba(57,229,140,.25);animation:pol-copy .9s var(--pol-ease) forwards}
.pol-copy svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
@keyframes pol-copy{0%{opacity:0;transform:scale(.4)}22%{opacity:1;transform:scale(1.12)}36%{transform:scale(1)}75%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-8px)}}

@media (prefers-reduced-motion:reduce){
  .bp-panel.active.v10-in,.fx-up::before,.fx-down::before,.pol-copy,.v9-skel,.hm-skel,.ap-skel-card i,.pol-skel{animation:none!important}
  .pol-rcpt,.cta-pri,.cta-sec,.hm-cta a,.bp-hero-cta button,.ax-actions a{transition:none!important}
  .hm-sec.hm-rv.in{animation:none}
  .pol-copy{opacity:1}
}

/* ---------------- Game World from the Platform World: a lit pill in the bar, the raised centre of the phone dock (arc-nav.js) ---------------- */
.anav-play{display:flex;align-items:center;gap:7px;height:36px;padding:0 14px 0 10px;border-radius:999px;white-space:nowrap;font-size:13px!important;font-weight:800!important;color:#fff!important;text-decoration:none!important;
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,0) 55%),linear-gradient(135deg,#2f86ff,#16c9d8 60%,#39ff88);border:1px solid rgba(160,240,255,.7);box-shadow:0 0 0 1px rgba(5,9,22,.6),0 0 18px rgba(47,180,255,.45);transition:transform .15s ease,box-shadow .15s ease}
.anav-play:hover{transform:translateY(-1px);box-shadow:0 0 0 1px rgba(5,9,22,.6),0 0 26px rgba(57,255,200,.6)}
.anav-play:active{transform:translateY(1px)}
.anav-play .anav-i{width:18px;height:18px}
@media (max-width:1180px){.anav-play span{display:none}.anav-play{width:36px;padding:0;justify-content:center}}
@media (max-width:900px){.anav-play{display:none}}
.anav-tabs{grid-template-columns:repeat(6,1fr)!important}
.anav-tab-play{color:#fff!important;text-decoration:none!important}
.anav-tab-play i{display:grid;place-items:center;width:46px;height:46px;margin:-22px 0 -2px;border-radius:50%;
  background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,0) 55%),linear-gradient(135deg,#2f86ff,#16c9d8 60%,#39ff88);border:2px solid rgba(5,9,22,.95);box-shadow:0 0 0 1px rgba(160,240,255,.6),0 6px 16px rgba(22,201,216,.45)}
.anav-tab-play i .anav-i{width:24px!important;height:24px!important;color:#fff}
.anav-tab-play:active i{transform:scale(.94)}
@media (prefers-reduced-motion:reduce){.anav-play,.anav-tab-play i{transition:none}}
/* the official email (footer, /support) */
.axf-mail,.sp-mail a{color:#5fe0ff;font-weight:700;text-decoration:none}.axf-mail{display:inline-block;margin:6px 0 10px;font-size:13px}.sp-mail{margin-top:8px;color:#9fb1c6}
