/* COLLECTION_1118: Trading Card Axis collection page + public portfolio. Revert: /opt/csp/ledger/collection_1118/revert.sh */
.cx{--cx-bg:#070b16;--cx-card:#0d1528;--cx-line:#1c2a44;--cx-txt:#e5e7eb;--cx-mut:#94a3b8;--cx-gold:#ffcb05;--cx-up:#34d399;--cx-dn:#f87171;--cx-acc:#22a7e6;max-width:1180px;padding-top:12px}
.cx *{box-sizing:border-box}
.cx .cxHero{position:relative;overflow:hidden;border-radius:22px;padding:20px 18px 14px;margin:6px 0 14px;border:1px solid rgba(34,167,230,.35);
  background:radial-gradient(120% 90% at 0% 0%,rgba(34,120,220,.35),transparent 60%),radial-gradient(90% 80% at 100% 0%,rgba(255,170,0,.16),transparent 55%),linear-gradient(180deg,#0b1430,#070b16)}
.cx .cxTop{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap}
.cx .cxLbl{font:800 14px/1.2 Inter,system-ui,sans-serif;color:#cbd5e1;letter-spacing:.02em;display:flex;align-items:center;gap:8px;min-width:0}
.cx .cxAv{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#ffcb05,#f97316);color:#111827;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:15px;flex:none}
.cx .cxCur{background:rgba(15,23,42,.8);border:1px solid #334155;color:#e5e7eb;border-radius:99px;padding:6px 10px;font:700 13px Inter,system-ui,sans-serif;min-height:34px}
.cx .cxTot{font:900 clamp(40px,11vw,76px)/1.04 Inter,"Arial Black",system-ui,sans-serif;color:var(--cx-gold);letter-spacing:-.02em;margin:10px 0 2px;text-shadow:0 2px 24px rgba(255,203,5,.18);word-break:break-word}
.cx .cxTot.sm{font-size:clamp(34px,9vw,60px)}
.cx .cxChg{font:800 17px Inter,system-ui,sans-serif;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.cx .up{color:var(--cx-up)}.cx .dn{color:var(--cx-dn)}.cx .fl{color:var(--cx-mut)}
.cx .cxFx{font-size:12px;color:var(--cx-mut);margin-top:2px}
.cx .cxStats{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 2px}
.cx .cxStats span{font:700 12.5px Inter,system-ui,sans-serif;background:rgba(15,23,42,.7);border:1px solid #1e293b;border-radius:99px;padding:5px 10px;color:#cbd5e1}
.cx .cxStats b{color:#fff}
.cx .cxChart{margin:12px -4px 0;position:relative}
.cx .cxChart svg{display:block;width:100%;height:120px}
.cx .cxRng{display:flex;gap:4px;margin-top:6px}
.cx .cxRng button{flex:1;background:transparent;border:0;color:var(--cx-mut);font:800 13px Inter,system-ui,sans-serif;padding:8px 0;border-radius:10px;cursor:pointer;min-height:36px}
.cx .cxRng button.on{background:rgba(34,167,230,.18);color:#fff}
.cx .cxTip{position:absolute;top:-6px;transform:translateX(-50%);background:#0f172a;border:1px solid #334155;border-radius:8px;padding:4px 8px;font:700 12px Inter,system-ui,sans-serif;white-space:nowrap;pointer-events:none}
.cx .cxNote{font-size:12px;color:var(--cx-mut);margin:6px 2px 0}
.cx .cxActs{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:0 0 14px}
@media(max-width:700px){.cx .cxActs{grid-template-columns:repeat(3,1fr)}}
.cx .cxAct{display:flex;flex-direction:column;align-items:center;gap:6px;background:var(--cx-card);border:1px solid var(--cx-line);border-radius:16px;padding:12px 4px 10px;color:#e2e8f0;font:800 12.5px/1.15 Inter,system-ui,sans-serif;text-align:center;cursor:pointer;text-decoration:none;min-height:78px}
.cx .cxAct:hover{border-color:rgba(34,167,230,.6)}
.cx .cxAct svg{width:26px;height:26px;stroke:#7dd3fc;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cx .cxAct.pri{background:linear-gradient(135deg,#ffcb05,#f59e0b);color:#111827;border-color:transparent}
.cx .cxAct.pri svg{stroke:#111827}
.cx .cxBar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:4px 0 10px;position:sticky;top:0;z-index:5;background:rgba(7,11,22,.92);backdrop-filter:blur(6px);padding:8px 0}
.cx .cxBar input,.cx .cxBar select{min-height:40px;font-size:15px;border-radius:10px;background:#0b1222;border:1px solid #334155;color:#e5e7eb;padding:6px 10px}
.cx .cxBar input{flex:1 1 180px;min-width:0}
.cx .cxChips{display:flex;gap:6px;overflow-x:auto;padding:2px 0 8px;scrollbar-width:none;margin-bottom:4px}
.cx .cxChips::-webkit-scrollbar{display:none}
.cx .cxChips button{flex:none;border:1px solid #1e3a5f;background:transparent;color:#cbd5e1;border-radius:99px;padding:6px 12px;font:800 12.5px Inter,system-ui,sans-serif;cursor:pointer;min-height:34px}
.cx .cxChips button.on{background:rgba(34,167,230,.2);border-color:rgba(34,167,230,.7);color:#fff}
.cx .cxCount{font-size:12.5px;color:var(--cx-mut);margin:0 2px 8px}
.cx .cxGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
@media(max-width:560px){.cx .cxGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.cx .cxT{background:var(--cx-card);border:1px solid var(--cx-line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;content-visibility:auto;contain-intrinsic-size:auto 420px;cursor:pointer;transition:border-color .15s}
.cx .cxT:hover{border-color:rgba(34,167,230,.55)}
.cx .cxImg{position:relative;display:block;aspect-ratio:5/7;background:#020617}
.cx .cxImg img{width:100%;height:100%;object-fit:contain;display:block}
.cx .cxG{position:absolute;left:7px;top:7px;font:900 11.5px/1 Inter,system-ui,sans-serif;padding:5px 8px;border-radius:99px;color:#fff;background:#475569;box-shadow:0 2px 8px rgba(0,0,0,.45)}
.cx .cxG.psa{background:#dc2626}.cx .cxG.cgc{background:#2563eb}.cx .cxG.bgs{background:#64748b}.cx .cxG.tag{background:#111827;border:1px solid #475569}.cx .cxG.sgc{background:#0f172a;border:1px solid #64748b}.cx .cxG.ags{background:#7c3aed}.cx .cxG.raw{background:#334155}
.cx .cxCV{position:absolute;right:7px;top:7px;font:900 11px/1 Inter,system-ui,sans-serif;padding:5px 7px;border-radius:99px;background:#059669;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.45)}
.cx .cxQ{position:absolute;right:7px;bottom:7px;font:900 12px/1 Inter,system-ui,sans-serif;padding:5px 8px;border-radius:99px;background:rgba(2,6,23,.85);color:#fff;border:1px solid #334155}
.cx .cxB{padding:9px 10px 11px;display:flex;flex-direction:column;gap:3px;min-width:0}
.cx .cxN{font:800 14px/1.25 Inter,system-ui,sans-serif;color:#f8fafc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cx .cxN span{color:var(--cx-mut);font-weight:700}
.cx .cxS{font-size:11.5px;color:var(--cx-mut);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cx .cxPr{display:inline-block;font:800 10.5px Inter,system-ui,sans-serif;color:#fde68a;background:rgba(250,204,21,.1);border:1px solid rgba(250,204,21,.35);border-radius:99px;padding:1px 7px;margin-top:2px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:flex-start}
.cx .cxVal{display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin-top:3px;flex-wrap:wrap}
.cx .cxVal b{font:900 19px Inter,system-ui,sans-serif;color:#fff}
.cx .cxVal small{font:800 12px Inter,system-ui,sans-serif}
.cx .cxEst{font:700 10.5px Inter,system-ui,sans-serif;color:var(--cx-mut);margin-left:3px}
.cx .cxSide{font-size:11.5px;color:#cbd5e1;line-height:1.35}
.cx .cxSide i{font-style:normal;color:var(--cx-mut)}
.cx .cxUp{font-size:11.5px;color:#fde68a;line-height:1.35}
.cx .cxCond{align-self:flex-start;margin-top:4px;border:1px solid #334155;background:#0b1222;color:#e5e7eb;border-radius:99px;font:800 11.5px Inter,system-ui,sans-serif;padding:5px 10px;min-height:30px;cursor:pointer}
.cx .cxMore{display:block;margin:18px auto 6px;text-align:center}
.cx .cxEmpty{text-align:center;padding:30px 12px}
.cx .cxCta{font-size:17px!important;padding:14px 22px!important;min-height:52px!important;background:linear-gradient(135deg,#ffcb05,#f59e0b)!important;color:#111827!important;border-radius:14px!important}
.cx .cxSkel .cxTot{width:60%;height:64px;border-radius:12px;background:linear-gradient(90deg,#0f172a,#1e293b,#0f172a);background-size:200% 100%;animation:cxSh 1.2s infinite}
@keyframes cxSh{to{background-position:-200% 0}}
/* bottom sheet */
.cxSheetBg{position:fixed;inset:0;background:rgba(2,6,23,.66);z-index:9998;display:flex;align-items:flex-end;justify-content:center}
@media(min-width:760px){.cxSheetBg{align-items:center}}
.cxSheet{background:#0b1222;border:1px solid #1e3a5f;border-radius:22px 22px 0 0;width:100%;max-width:640px;max-height:92vh;overflow:auto;padding:18px 16px calc(18px + env(safe-area-inset-bottom));color:#e5e7eb;font:15px/1.5 Inter,system-ui,sans-serif;box-shadow:0 -10px 40px rgba(0,0,0,.5)}
@media(min-width:760px){.cxSheet{border-radius:22px}}
.cxSheet h3{margin:0 0 4px;font:900 20px Inter,"Arial Black",system-ui,sans-serif;color:#fff}
.cxSheet .mut{color:#94a3b8;font-size:13px}
.cxSheet .cxX{float:right;background:#1e293b;border:0;color:#e5e7eb;width:36px;height:36px;border-radius:50%;font-size:20px;cursor:pointer}
.cxSheet .tabs2{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.cxSheet .tabs2 button{border:1px solid #1e3a5f;background:transparent;color:#cbd5e1;border-radius:99px;padding:7px 12px;font:800 13px Inter,system-ui,sans-serif;cursor:pointer;min-height:36px}
.cxSheet .tabs2 button.on{background:rgba(34,167,230,.2);border-color:rgba(34,167,230,.7);color:#fff}
.cxSheet .row2{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #111827}
.cxSheet .row2 img{width:44px;height:62px;object-fit:contain;background:#020617;border-radius:5px;flex:none}
.cxSheet .row2 .gr{flex:1;min-width:0}.cxSheet .row2 .gr b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cxSheet .big{display:flex;flex-direction:column;gap:8px}
.cxSheet .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#22a7e6;color:#04121c;border:0;border-radius:12px;padding:10px 16px;font:800 15px Inter,system-ui,sans-serif;cursor:pointer;text-decoration:none;min-height:48px}
.cxSheet .btn.sec{background:transparent;color:#7dd3fc;border:1px solid #1e3a5f}
.cxSheet .btn.gold{background:linear-gradient(135deg,#ffcb05,#f59e0b);color:#111827}
.cxSheet .btn.bad{background:transparent;color:#fca5a5;border:1px solid rgba(252,165,165,.4)}
.cxSheet .shb{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}
.cxSheet .shb .btn{min-height:56px;flex-direction:column;gap:3px;font-size:13px}
.cxSheet .shb svg{width:22px;height:22px}
.cxSheet input[type=text],.cxSheet input[type=number],.cxSheet textarea,.cxSheet select{width:100%;background:#020617;border:1px solid #334155;color:#e5e7eb;border-radius:10px;padding:10px 12px;font:16px Inter,system-ui,sans-serif}
.cxSheet label{display:block;font-weight:800;font-size:13px;margin:10px 0 4px;color:#cbd5e1}
.cxSheet .tog{display:flex;align-items:center;gap:10px;margin:10px 0;font-weight:700;cursor:pointer}
.cxSheet .tog input{width:22px;height:22px}
.cxSheet .prev{width:100%;border-radius:14px;border:1px solid #1e3a5f;display:block;background:#020617;min-height:120px}
.cxSheet .err{color:#fca5a5;font-weight:700;font-size:13.5px;min-height:1em}
.cxSheet .ok{color:#86efac;font-weight:700;font-size:13.5px}
.cxSheet .link{display:flex;gap:6px}.cxSheet .link input{flex:1;font-size:14px}
.cxSheet .conds{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.cxSheet .conds button{border:1px solid #334155;background:#020617;color:#e5e7eb;border-radius:10px;padding:8px 0;font:800 13px Inter,system-ui,sans-serif;cursor:pointer;min-height:44px}
.cxSheet .conds button.on{background:#22a7e6;color:#04121c;border-color:#22a7e6}
.cxSheet .step{display:flex;align-items:center;gap:10px}.cxSheet .step button{width:44px;height:44px;border-radius:12px;border:1px solid #334155;background:#020617;color:#fff;font-size:22px;cursor:pointer}
.cxSheet .step b{min-width:34px;text-align:center;font-size:18px}
.cxSheet .dimg{width:150px;float:left;margin:0 14px 8px 0;border-radius:10px;background:#020617;aspect-ratio:5/7;object-fit:contain}
.cxSheet .kv{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;font-size:14px}.cxSheet .kv span{color:#94a3b8}
.cxSheet .prog{font-size:13px;max-height:200px;overflow:auto;margin-top:8px}
.cxSheet .clr{clear:both}
.cxPubCta{position:sticky;bottom:12px;z-index:20;display:flex;justify-content:center;margin:18px 0 0;pointer-events:none}
.cxPubCta a{pointer-events:auto;box-shadow:0 10px 30px rgba(0,0,0,.5)}
@media(max-width:700px){.cx .cxBar{position:static;background:none;backdrop-filter:none;padding:4px 0 6px;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cx .cxBar input{grid-column:1/-1}.cx .cxBar select{width:100%;max-width:none!important;min-width:0;font-size:14px}}
.cxSheet a:not(.btn){color:#7dd3fc}
.cx .cxStats span span{background:none;border:0;padding:0}
