:root{--spcx-header-space:86px;--rail-max:1660px}
html{scroll-padding-top:calc(var(--spcx-header-space) + 12px)}
.spcx-bar,.spcx-bar *{box-sizing:border-box}
.spcx-bar{position:sticky;inset-block-start:0;z-index:55;padding:12px max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));padding-top:max(12px,env(safe-area-inset-top));font:500 14px/1.25 "Helvetica Neue",Helvetica,Arial,sans-serif;color:#eee;letter-spacing:0;pointer-events:none}
body[data-page="/"] .spcx-bar{position:fixed;inset:0 0 auto}
.spcx-rail{pointer-events:auto;max-width:var(--rail-max);width:100%;min-height:62px;margin:auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;padding:0 clamp(9px,1.5vw,26px);gap:clamp(14px,2vw,34px);position:relative;background:#111111f5;border:1px solid #4b4b4b;border-radius:12px;box-shadow:0 8px 28px #0005,inset 0 1px #ffffff08}
.spcx-rail:before{content:"";position:absolute;inset:-1px 18% auto 18%;height:1px;background:linear-gradient(90deg,transparent,#afafaf 47%,transparent);pointer-events:none}
.spcx-bar a{color:inherit;text-decoration:none}
.spcx-bar .spcx-brand{display:inline-flex;min-height:44px;align-items:center;gap:8px;white-space:nowrap;font-size:19px;font-weight:650;letter-spacing:-.055em}
.spcx-chain{color:#c8c8c8;font-weight:420}
.spcx-mark{width:30px;height:30px;display:inline-grid;place-content:center;overflow:hidden;mix-blend-mode:screen}
.spcx-mark img{width:50px;height:50px;max-width:none;display:block}
#spcx-navigation{justify-self:center;display:flex;align-items:center;justify-content:center;gap:clamp(0px,.55vw,10px)}
#spcx-navigation a{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 clamp(5px,.58vw,12px);font-size:14px;font-weight:500;letter-spacing:-.015em;white-space:nowrap;color:#c7c7c7;border-radius:5px;isolation:isolate}
#spcx-navigation a:before{content:"";position:absolute;inset:5px 0;z-index:-1;border-radius:6px;background:transparent}
#spcx-navigation a:hover,#spcx-navigation a[aria-current]{color:#fff}
#spcx-navigation a:hover:before{background:#272727}#spcx-navigation a[aria-current]:before{background:#323232;box-shadow:inset 0 0 0 1px #4c4c4c}
.spcx-tools{display:flex;align-items:center;justify-content:flex-end;gap:0}
.spcx-quote{display:inline-flex;align-items:baseline;gap:6px;margin-right:6px;padding-right:14px;border-right:1px solid #474747;white-space:nowrap;font:500 .77rem/1.3 ui-monospace,Consolas,monospace;color:#ababab;font-variant-numeric:tabular-nums}
.spcx-quote strong{color:#f4f4f4;font-weight:600}
.spcx-bar .spcx-social,.spcx-bar .spcx-toggle{width:44px;height:44px;min-height:44px;display:inline-grid;place-content:center;background:transparent;color:#d9d9d9;border:0;border-radius:6px;padding:0;cursor:pointer}
.spcx-bar .spcx-social:hover,.spcx-bar .spcx-toggle:hover{background:#292929;color:white}
.spcx-bar .spcx-toggle{display:none}.spcx-toggle span{display:block;width:18px;height:1.5px;background:currentColor;margin:2.5px 0}
.spcx-bar.is-open .spcx-toggle span:first-child{transform:translateY(3.25px) rotate(45deg)}
.spcx-bar.is-open .spcx-toggle span:last-child{transform:translateY(-3.25px) rotate(-45deg)}
.spcx-bar :focus-visible,.spcx-hero :focus-visible,.spcx-feature :focus-visible{outline:2px solid #e7e7e7;outline-offset:2px}
@media(min-width:760px) and (max-width:1190px){
 :root{--spcx-header-space:122px}.spcx-rail{grid-template-columns:1fr auto;gap:0 16px;padding:2px 16px 4px}
 #spcx-navigation{order:3;grid-column:1/-1;justify-self:stretch;justify-content:space-between;border-top:1px solid #373737}
}
@media(max-width:759px){
 :root{--spcx-header-space:70px}
 .spcx-bar{padding:8px max(8px,env(safe-area-inset-right)) 8px max(8px,env(safe-area-inset-left));padding-top:max(8px,env(safe-area-inset-top))}
 .spcx-rail{gap:0 4px;grid-template-columns:minmax(0,1fr) auto;min-height:54px;padding:0 5px 0 12px;border-radius:9px}
 .spcx-bar .spcx-brand{gap:4px;font-size:17px}.spcx-mark{width:24px;height:24px}.spcx-mark img{width:39px;height:39px}
 .spcx-quote{font-size:.70rem;margin-right:1px;padding-right:6px;gap:4px}
 .spcx-bar.is-enhanced .spcx-toggle{display:inline-grid}
 #spcx-navigation{order:3;grid-column:1/-1;width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:8px 0;border-top:1px solid #3a3a3a;max-height:60vh;max-height:60dvh;overflow:auto}
 .spcx-bar.is-enhanced:not(.is-open) #spcx-navigation{display:none}
 #spcx-navigation a{min-width:0;justify-content:flex-start;padding-left:9px}
}
@media(max-width:370px){.spcx-bar .spcx-brand{font-size:16px}.spcx-brand .spcx-chain{display:none}.spcx-quote{font-size:.66rem}}
.spcx-hero{position:relative;isolation:isolate;box-sizing:border-box;min-height:100vh;min-height:100dvh;overflow:hidden;display:grid;place-items:center;text-align:center;background:#080808;color:#f5f5f5;padding:calc(var(--spcx-header-space) + clamp(16px,4vh,46px)) 18px clamp(30px,7vh,85px);border-bottom:1px solid #323232}
.spcx-film,.spcx-film img,.spcx-film video{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.spcx-film{z-index:-1}.spcx-film video{visibility:hidden}.spcx-film video.is-playing{visibility:visible}
.spcx-hero-copy{position:relative;max-width:1080px;margin-inline:auto;text-align:center}
.spcx-hero h1{color:#f6f6f6;margin:0;font:480 clamp(54px,6.7vw,110px)/.98 "Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:-.069em;text-wrap:balance}
.spcx-hero h1 em{font:inherit;color:#c8c8c8}.spcx-hero-copy>p{color:#c9c9c9;font:400 clamp(15px,1.35vw,20px)/1.55 "Helvetica Neue",Arial,sans-serif;margin:26px auto 0;letter-spacing:-.015em}
.spcx-hero-actions{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:30px;flex-wrap:wrap}
.spcx-hero-actions a{display:flex;align-items:center;gap:16px;min-height:44px;padding:0 18px;border-radius:5px;text-decoration:none;font:550 14px/1.2 "Helvetica Neue",Arial,sans-serif}
.spcx-hero-actions .spcx-primary{background:#efefef;color:#131313}.spcx-hero-actions .spcx-secondary{background:#131313bd;border:1px solid #545454;color:#e9e9e9}
body .page-hero.container{text-align:center;margin-inline:auto}.page-hero .eyebrow,.product-copy .eyebrow{justify-content:center}.page-hero .page-intro{display:flex;flex-direction:column;align-items:center;margin-inline:auto;text-align:center}.page-hero .page-intro p{margin-inline:auto}
body .product-hero,body .network-hero{display:grid;place-items:center;isolation:isolate;text-align:center;position:relative;overflow:hidden;border:1px solid #363636;background:#121212 url('/ui-v4/hero.webp') center 61%/cover no-repeat;min-height:245px;padding:38px 24px;margin-inline:auto;color:#f5f5f5}
body .network-hero{min-height:350px}.product-hero::before,.network-hero::before{display:none}
.product-hero .product-art,.network-hero .network-hero-scene{display:none}
body .product-hero .product-copy,body .network-hero .hero-copy{padding:0;max-width:660px;text-align:center;margin:auto}.product-hero .product-copy h1,.network-hero .hero-copy h1{letter-spacing:-.058em;line-height:1.02;font-size:clamp(44px,5vw,76px);margin:11px auto 10px}
.product-copy>p,.hero-copy>p{margin-inline:auto;max-width:530px;color:#cfcfcf}.product-copy .scan-live{display:inline-flex;justify-content:center}
.spcx-wallet-row{display:flex;justify-content:flex-end;margin-bottom:14px}.spcx-wallet-row .wallet-area{display:flex;align-items:center;gap:12px}
.spcx-doc-tools{max-width:1600px;margin:auto;display:flex;gap:10px;align-items:center;justify-content:space-between;padding:9px clamp(16px,3vw,45px);border-bottom:1px solid #2b2b2b;color:#cdcdcd;font:500 13px/1.5 system-ui}.spcx-doc-tools .search-btn{margin-left:auto}
body .doc-visual{background:transparent url('/ui-v4/hero.webp') center 70%/cover no-repeat;max-height:185px}.doc-visual:before{display:none}
.spcx-doc-home .content>.crumb,.spcx-doc-home .content>.eyebrow,.spcx-doc-home .page-title,.spcx-doc-home .lead{text-align:center;justify-content:center;margin-inline:auto}
.spcx-film:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 54%,#0004,transparent 63%);pointer-events:none}
.spcx-film{pointer-events:none}
.spcx-network-logo{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
body .chain-icon.spcx,body .icon.spcx{background:#000;overflow:hidden;color:transparent}
.spcx-network-name{display:inline-flex;gap:.55rem;align-items:center}.spcx-network-name img{width:23px;height:23px;border-radius:50%}
@media(max-width:759px){
 .spcx-hero h1{font-size:clamp(39px,9.5vw,66px)}.spcx-hero-copy>p{max-width:300px;margin-top:18px}
 .spcx-film img,.spcx-film video{object-position:54% center}.spcx-hero-actions{gap:8px;margin-top:22px}
 body .product-hero,body .network-hero{padding:28px 16px;min-height:210px}body .network-hero{min-height:320px}
 .spcx-doc-tools{padding:8px 14px}body .shell .side.open{top:118px;height:calc(100vh - 118px);height:calc(100dvh - 118px)}
}
@media(max-height:480px) and (orientation:landscape){
 .spcx-hero h1{font-size:clamp(36px,6vw,56px)}.spcx-hero-copy>p{margin-top:9px}
 .spcx-hero-actions{margin-top:12px}.spcx-hero{padding-top:var(--spcx-header-space);padding-bottom:14px}
 .spcx-bar.is-open #spcx-navigation{max-height:calc(100dvh - 79px)}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.spcx-film video{display:none}}

.spcx-env{align-self:center;font:500 .72rem/1.2 ui-monospace,monospace;color:#d6d6d6;padding:.2em .45em;border:1px solid #545454;border-radius:4px}
.spcx-wallet-row{display:block}
.spcx-wallet-panel{margin:0 0 1rem;padding:0 0 .85rem;border-bottom:1px solid #3a3a3a}
.spcx-wallet-panel .wallet-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.55rem}
.spcx-wallet-panel .wallet-identity{display:grid;gap:.15rem;min-width:0}
.spcx-wallet-panel #wallet-address{font:500 .88rem/1.3 ui-monospace,monospace;color:#e9e9e9}
.spcx-wallet-panel #wallet-network,.spcx-wallet-panel #wallet-feedback{font-size:.85rem;line-height:1.4;color:#c2c2c2}
.spcx-wallet-panel #wallet-feedback:not(:empty){margin-top:.5rem}
.spcx-wallet-panel #connect,#wallet-use{min-height:44px;padding:.5em .9em;border:1px solid #606060;border-radius:6px;background:#1a1a1a;color:white;cursor:pointer;font-family:inherit;font-size:.875rem;font-weight:600;line-height:1.4}
#connect:disabled{cursor:wait} .spcx-wallet-panel[hidden],#wallet-use[hidden]{display:none!important}
@media(max-width:470px){.spcx-quote{display:grid;grid-template-columns:auto auto;gap:1px 3px}.spcx-env{grid-column:1/-1;justify-self:end;font-size:.63rem;padding:0;border:0}}
#bridge .chain-icon img,.network .icon img{width:100%;height:100%;object-fit:contain;border-radius:inherit}
.spcx-history{margin:1.25rem 0;min-width:0}
.activity-header,.activity-row,.activity-links{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.activity-header,.activity-row{justify-content:space-between}
.activity-row{width:100%;text-align:left;min-height:48px;padding:.85rem 0;background:transparent;color:inherit;border:0;cursor:pointer;font:inherit}
.activity-hint,.activity-address,.activity-links{font-size:.85rem;color:#c2c2c2;overflow-wrap:anywhere}
.activity-entry{border-top:1px solid #454545}
.activity-detail{padding:0 0 .9rem}
.activity-detail p,.activity-detail .outline{margin:.65rem 0}
.activity-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;gap:.5rem;list-style:none}
.activity-steps li{border-top:2px solid #555555;padding:.6rem 0 0;color:#adadad;font-size:.87rem}
.activity-steps li.done{color:#ececec;border-color:#ececec}
.activity-steps li.current{animation:spcx-progress 2.6s ease-in-out infinite}
@keyframes spcx-progress{50%{border-color:#818181}}
@media(prefers-reduced-motion:reduce){.activity-steps li.current{animation:none}}
.activity-import{margin:.8rem 0}.activity-import summary{cursor:pointer;padding:.6rem 0}
.activity-import form{display:grid;gap:.5rem;max-width:40rem}.activity-import button{justify-self:start}
@media(max-width:600px){.activity-steps{grid-template-columns:1fr;gap:0}.activity-steps li{border-top:0;border-left:2px solid #555555;padding:.4rem .6rem}.activity-row{justify-content:flex-start}.activity-row strong{width:100%}}
.spcx-token-symbol,#claim-amount{display:inline-flex;align-items:center;gap:.4rem}
.spcx-token-symbol::before,#claim-amount::before{content:"";flex:0 0 1.2rem;width:1.2rem;height:1.2rem;border-radius:50%;background:#000 url('/logo.png') center/contain no-repeat}

/* Compact application shell and a dedicated, single-pair trade ticket. */
.spcx-bar[data-shell=site] .spcx-rail{max-width:1080px}
.spcx-bar[data-shell=portal] .spcx-rail{max-width:1180px}
.spcx-bar .spcx-wallet-panel{margin:0;padding:0;border:0}
.spcx-bar .wallet-controls{flex-wrap:nowrap;gap:10px}
.spcx-bar .wallet-identity:has(#wallet-address:not([title])),.spcx-bar .wallet-identity:has(#wallet-address[title=""]){display:none}
.spcx-bar #wallet-network{display:none}
.spcx-bar #wallet-feedback:not(:empty){position:absolute;right:0;top:100%;max-width:min(380px,94vw);background:#191919;border:1px solid #4b4b4b;border-radius:8px;color:#fff;padding:10px 15px}
.spcx-bar #connect{white-space:nowrap;border-radius:7px}
.swap-layout{box-sizing:border-box;max-width:540px;margin:clamp(48px,8vh,100px) auto;padding:0 18px 60px;color:#f5f5f5}
.swap-layout h1{font-size:clamp(40px,7vw,72px);letter-spacing:-.065em;margin:0 0 8px;line-height:1.05}
.swap-layout p{color:#bcbcbc;line-height:1.55}
#swap-form{margin:25px 0 10px;padding:clamp(18px,4vw,32px);background:#121212;border:1px solid #373737;border-radius:18px}
#swap-form label{display:block;color:#c6c6c6;font-size:.88rem}
.swap-field{margin:.45rem 0;display:flex;align-items:center;gap:10px;background:#1d1d1d;border-radius:8px;padding:14px 12px}
.swap-field input,.swap-field output{background:transparent;border:0;color:#fff;padding:0;min-width:0;flex:1;font:500 clamp(18px,3vw,26px)/1.3 system-ui;overflow-wrap:anywhere}
#reverse{padding:8px 4px;min-height:44px;margin:4px 0 8px;background:none;border:0;color:#e4e4e4;cursor:pointer}
#trade{width:100%;padding:14px;border:0;border-radius:8px;background:#efefef;color:#161616;font-weight:650;cursor:pointer}
#trade:disabled{opacity:.48;cursor:default}
#swap-note,.swap-fine,#swap-status{font-size:.87rem;overflow-wrap:anywhere}
#swap-status:empty{display:none}.swap-art{display:grid;place-items:center;font:300 42px/1 system-ui;background:#242424}
@media(max-width:520px){.spcx-bar .wallet-identity{display:none}.spcx-bar #connect{font-size:13px}.spcx-bar .spcx-toggle{flex:none}}
.community-links{display:flex;justify-content:flex-end;gap:18px;margin-block:10px}
.community-links a{min-height:44px;display:inline-flex;align-items:center}

/* One visible focus indicator per control. */
body :is(a,button,summary,[role=tab]):focus:not(:focus-visible) {outline:none}
body :is(a,button,summary,select,[role=tab]):focus-visible {outline:2px solid #dedede;outline-offset:3px}

@supports selector(:has(input:focus-visible)){.phase-selector label:focus-within{outline:none}.phase-selector label:has(input:focus-visible){outline:2px solid #ddd;outline-offset:-2px;z-index:1}}

.spcxc-token{display:inline-flex;max-width:100%;box-sizing:border-box;align-items:center;gap:.65rem;padding:.32rem .45rem .32rem .8rem;border:1px solid #484848;border-radius:2rem;background:#151515;color:#f7f7f7;font:500 .78rem/1.3 system-ui,sans-serif;letter-spacing:0;margin:.8rem auto .1rem;position:relative}
.spcxc-token b{font-weight:700}.spcxc-token button,.spcxc-token a{all:unset;box-sizing:border-box;color:inherit;cursor:pointer;white-space:nowrap;padding:.35rem .25rem}
.spcxc-token button{font:500 .76rem/1.3 ui-monospace,monospace;color:#d3d3d3;border-inline-start:1px solid #454545;padding-inline-start:.65rem}.spcxc-token a{font-weight:650;padding:.36rem .6rem;border-radius:1rem;background:#333}
.spcxc-token :is(a,button):focus-visible{outline:2px solid white;outline-offset:2px}.spcxc-token :is(a,button):hover{color:white;background:#444}
@media(max-width:360px){.spcxc-token{font-size:.72rem;gap:.24rem;padding-left:.55rem}}
.spcxc-copy-field{position:fixed;left:-10000px;top:0;opacity:0}.spcxc-token button{overflow-wrap:anywhere;white-space:normal}

.spcx-quote .network-live{display:inline-flex;color:#eee;border:1px solid #525252;border-radius:2em;font:650 .57rem/1.1 ui-monospace,monospace;letter-spacing:.045em;padding:.31rem .45rem;margin-right:.38rem;white-space:nowrap}
@media(max-width:470px){.spcx-bar .spcx-quote{display:inline-flex;gap:.2rem;align-items:center}.spcx-quote .network-live{font-size:.49rem;padding:.25rem .28rem;margin-right:.12rem}}
