/* Nebula Marketplace / cinematic independent skin. Scoped to the marketplace page.
   Uses existing Nebula design tokens; zero global resets, no external runtime. */
body.neb-mkt-page {--mkt-violet:#a78bfa;--mkt-cyan:#63eaf3;--mkt-rose:#e879f9;--mkt-deep:#050719;--mkt-ink:#080b1c;--mkt-line:rgba(185,157,250,.25);}
.neb-mkt-page .neb-mkt{width:min(1450px,100%);margin:auto;padding:clamp(116px,11vw,158px) clamp(16px,4vw,42px) 90px;font-family:'Inter',system-ui,sans-serif;}
.neb-mkt h1,.neb-mkt h2,.neb-mkt h3,.neb-mkt strong,.neb-mkt .neb-mkt-count{font-family:'Space Grotesk','Inter',system-ui,sans-serif;}
.neb-mkt a:focus-visible,.neb-mkt button:focus-visible,.neb-mkt input:focus-visible,.neb-mkt select:focus-visible{outline:2px solid var(--mkt-cyan);outline-offset:3px;}
.neb-mkt-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);gap:clamp(24px,4vw,65px);align-items:center;min-height:565px;padding:clamp(20px,3.5vw,45px);isolation:isolate;border:1px solid rgba(170,130,244,.23);border-radius:32px;background:radial-gradient(ellipse at 80% 27%,rgba(105,57,177,.14),transparent 60%),linear-gradient(120deg,rgba(9,11,33,.97),rgba(10,7,27,.86));overflow:hidden;box-shadow:0 25px 100px rgba(0,0,0,.33);}
.neb-mkt-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 4% 83%,rgba(34,211,238,.11),transparent 41%);z-index:-1;pointer-events:none;}
.neb-mkt-hero-content{min-width:0;position:relative;z-index:3;}
.neb-mkt-eyebrow,.neb-mkt-overline{font-size:10px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:#8bedf4;display:flex;align-items:center;gap:10px;}
.neb-mkt-live-dot{display:inline-block;background:#66f0b9;box-shadow:0 0 16px #51f4a79a;width:7px;height:7px;border-radius:50%;}
.neb-mkt-hero h1{font-size:clamp(43px,4.8vw,79px);font-weight:700;line-height:1.06;letter-spacing:-.065em;margin:25px 0 25px;max-width:690px;}
.neb-mkt-gradient{background:linear-gradient(104deg,#faf5ff 0%,#b9a1ff 32%,#de72fa 68%,#79e8f6 100%);-webkit-background-clip:text;background-clip:text;color:transparent;}
.neb-mkt-lead{font-size:clamp(15px,1.35vw,18px);line-height:1.88;color:#b8bfda;max-width:570px;}
.neb-mkt-hero-buttons{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:30px 0 32px;}
.neb-mkt-primary,.neb-mkt-quiet{display:inline-flex;align-items:center;justify-content:center;gap:13px;white-space:nowrap;border-radius:13px;padding:14px 18px;font-size:13px;font-weight:750;min-height:47px;transition:transform .22s,box-shadow .22s,border-color .22s;}
.neb-mkt-primary{background:linear-gradient(112deg,#8b5cf6,#544ad1 65%,#315fc7);border:1px solid rgba(204,180,255,.34);box-shadow:0 0 36px rgba(139,92,246,.26);}
.neb-mkt-primary:hover{transform:translateY(-2px);box-shadow:0 0 43px rgba(139,92,246,.42);}
.neb-mkt-quiet{color:#a3edf4;background:rgba(15,20,41,.52);border:1px solid rgba(112,204,240,.3);}
.neb-mkt-quiet:hover{border-color:#6dd9f5;transform:translateY(-2px);}
.neb-mkt-facts{display:flex;flex-wrap:wrap;gap:19px;margin-top:13px;}
.neb-mkt-facts>div{border-right:1px solid #ffffff20;padding-right:20px;display:flex;flex-direction:column;gap:3px;}
.neb-mkt-facts>div:last-child{border-right:0;}
.neb-mkt-facts strong{font-size:21px;color:#f4eaff;letter-spacing:-.03em;}
.neb-mkt-facts strong i{color:#70ecb4;font-size:18px;}
.neb-mkt-facts span{color:#8f9db9;font-size:11px;}
.neb-mkt-scene{position:relative;min-height:435px;aspect-ratio:1.05;overflow:hidden;border-radius:25px;background:radial-gradient(circle at 46% 46%,#49317e,#121131 45%,#090e26 85%);border:1px solid rgba(188,143,252,.28);box-shadow:0 23px 80px #040516a8,inset 0 0 80px #8254c626;isolation:isolate;}
.neb-mkt-shader{position:absolute;inset:0;width:100%;height:100%;z-index:0;display:block;opacity:.93;}
.neb-mkt-scene-glow{position:absolute;inset:0;z-index:1;background:radial-gradient(circle at 49% 54%,transparent 10%,rgba(5,7,18,.18) 53%,rgba(5,6,21,.64) 100%);pointer-events:none;}
.neb-mkt-scene-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.21;mix-blend-mode:screen;z-index:1;pointer-events:none;}
.neb-mkt-orbit{position:absolute;z-index:2;left:50%;top:50%;border-radius:50%;border:1px solid rgba(169,134,248,.29);transform:translate(-50%,-50%) rotate(-24deg);pointer-events:none;}
.neb-mkt-orbit-one{width:76%;height:52%;box-shadow:0 0 60px rgba(171,108,239,.12),inset 0 0 80px #704b9922;}
.neb-mkt-orbit-two{width:54%;height:79%;border-color:#71dbe32b;transform:translate(-50%,-50%) rotate(46deg);}
.neb-mkt-scene-badge{position:absolute;z-index:4;display:flex;align-items:center;gap:12px;padding:14px 17px;border:1px solid #b3a1e756;border-radius:15px;background:#090b20bd;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);box-shadow:0 15px 50px #0009;font-size:12px;font-weight:750;}
.neb-mkt-scene-badge i{color:#bca7ff;font-size:20px;}
.neb-mkt-scene-badge span{color:#b6bcd6;font-size:12px;}
.neb-mkt-scene-badge strong{color:#fff;}
.neb-mkt-scene-badge-top{top:10%;right:5%;}
.neb-mkt-scene-badge-bottom{bottom:15%;left:5%;}
.neb-mkt-scene-caption{position:absolute;z-index:4;left:22px;bottom:17px;color:#a2aac8;font-size:10px;letter-spacing:.13em;text-transform:uppercase;}
.neb-mkt-separator{padding:0 4px;color:#70e4f5;}
.neb-mkt-feature,.neb-mkt-catalog{margin-top:82px;}
.neb-mkt-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px;flex-wrap:wrap;}
.neb-mkt-section-head h2{font-size:clamp(30px,3.3vw,45px);font-weight:700;letter-spacing:-.045em;margin:9px 0 0;}
.neb-mkt-section-head p:not(.neb-mkt-overline){color:#afb6d1;font-size:13px;line-height:1.65;margin-top:9px;}
.neb-mkt-subdued{font-size:12px;color:#98a7c7;}
.neb-mkt-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.neb-mkt-feature-tile{position:relative;display:grid;grid-template-columns:140px 1fr;gap:17px;align-items:center;min-width:0;border:1px solid var(--mkt-line);background:linear-gradient(135deg,#12132bbf,#090b1de6);border-radius:20px;padding:12px;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s;}
.neb-mkt-feature-tile:hover{transform:translateY(-3px);border-color:#8ce8f5a6;box-shadow:0 13px 40px #693ba431;}
.neb-mkt-feature-tile img{width:140px;height:155px;border-radius:13px;object-fit:cover;}
.neb-mkt-feature-tile h3{font-weight:700;font-size:19px;line-height:1.25;margin:9px 0 6px;}
.neb-mkt-feature-tile p{font-size:12px;color:#aab3cf;line-height:1.6;}
.neb-mkt-mini{font-size:9px;font-weight:800;letter-spacing:.17em;color:#85e6f2;}
.neb-mkt-arrow{display:inline-flex;align-items:center;gap:8px;color:#d5a7ff;font-size:12px;font-weight:750;margin-top:15px;}
.neb-mkt-count{font-size:12px;font-weight:650;color:#bfcbe2;white-space:nowrap;background:#0e1431;border:1px solid #8b77c747;padding:11px 14px;border-radius:999px;}
.neb-mkt-toolbar{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 3px;}
.neb-mkt-input-wrap{position:relative;flex:1;min-width:240px;}
.neb-mkt-input-wrap i{position:absolute;left:17px;top:50%;transform:translateY(-50%);color:#a9a8cb;font-size:14px;pointer-events:none;}
.neb-mkt-input-wrap input{width:100%;height:55px;border:1px solid #9177d25e;background:linear-gradient(135deg,#101329,#080b20);border-radius:14px;padding:0 18px 0 47px;color:#fff;outline:none;font-size:13px;}
.neb-mkt-input-wrap input::placeholder{color:#949bb5;}
.neb-mkt-input-wrap input:focus,.neb-mkt-control:focus-within{border-color:#7ccaf0;box-shadow:0 0 0 3px #256e9b29;}
.neb-mkt-control{display:flex;align-items:center;gap:11px;padding:0 15px;border:1px solid #9177d25e;background:#0b1026;border-radius:14px;min-height:55px;}
.neb-mkt-control label{color:#a4aec8;font-size:11px;white-space:nowrap;}
.neb-mkt-control select{background:transparent;border:0;color:#f7f4ff;font-size:12px;min-height:44px;max-width:160px;cursor:pointer;}
.neb-mkt-control select option{background:#0b1026;color:#fff;}
.neb-mkt-filter-row{display:flex;gap:10px;align-items:center;margin-bottom:19px;}
body.neb-mkt-page .neb-market-filters{min-width:0;flex:1;gap:8px;margin:0;padding:15px 0 17px;overflow-x:auto;}
body.neb-mkt-page .neb-market-filters button{background:#100e26;border:1px solid #9880c958;border-radius:999px;padding:9px 13px;min-height:38px;font-weight:650;font-size:11px;white-space:nowrap;}
body.neb-mkt-page .neb-market-filters button[aria-pressed="true"]{border-color:#a58df8;background:linear-gradient(110deg,#5d358f,#273e7a);box-shadow:0 0 19px #6b43bb38;}
.neb-mkt-filter-count{margin-left:5px;color:#a9c9db;font-family:'Space Grotesk',sans-serif;font-size:10px;}
.neb-mkt-clear{flex:none;display:inline-flex;align-items:center;gap:7px;background:transparent;border:1px solid #776b9d66;padding:10px 14px;border-radius:10px;color:#c9c2df;font-size:12px;}
.neb-mkt-clear:hover{border-color:#81dbea;color:#fff;}
body.neb-mkt-page .neb-market-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
body.neb-mkt-page .neb-market-card{position:relative;isolation:isolate;border-radius:21px;background:linear-gradient(143deg,rgba(24,18,51,.9),rgba(6,11,30,.95));border:1px solid rgba(147,127,213,.32);transition:transform .25s,box-shadow .25s,border-color .25s;}
body.neb-mkt-page .neb-market-card::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;padding:1px;background:linear-gradient(135deg,#af8af6,transparent 40%,#3bb7e8a8 75%,#d86bfa);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;opacity:.2;transition:opacity .25s;}
body.neb-mkt-page .neb-market-card:hover,body.neb-mkt-page .neb-market-card:focus-within{transform:translateY(-5px);border-color:#9a7fe991;box-shadow:0 18px 55px rgba(20,14,62,.55),0 0 33px rgba(139,92,246,.12);}
body.neb-mkt-page .neb-market-card:hover::before,body.neb-mkt-page .neb-market-card:focus-within::before{opacity:.95;}
body.neb-mkt-page .neb-market-card-art{overflow:hidden;background:#101329;}
body.neb-mkt-page .neb-market-card-art img{aspect-ratio:16/9;display:block;transition:transform .5s,filter .5s;}
body.neb-mkt-page .neb-market-card:hover img{transform:scale(1.055);filter:saturate(1.17);}
body.neb-mkt-page .neb-market-card-art::after{content:"";position:absolute;left:0;bottom:0;right:0;height:55%;background:linear-gradient(transparent,#060b21a9);pointer-events:none;}
body.neb-mkt-page .neb-market-status{z-index:3;background:#0b0c23da;backdrop-filter:blur(10px);border:1px solid #aea1e255;color:#e1defa;}
body.neb-mkt-page .neb-market-card-body{padding:23px;}
body.neb-mkt-page .neb-market-card-body h3{font-size:21px;letter-spacing:-.015em;}
body.neb-mkt-page .neb-market-card-desc{color:#afb9d5;line-height:1.72;}
body.neb-mkt-page .neb-market-tags span{border-radius:7px;color:#b4b6d4;background:#f5f3ff0a;}
body.neb-mkt-page .neb-market-card-action{position:relative;z-index:4;color:#8fe7f0;}
body.neb-mkt-page .neb-market-card-action:hover{text-decoration:underline;text-underline-offset:5px;}
body.neb-mkt-page .neb-market-unavailable{font-size:12px;color:#9ca2c0;}
body.neb-mkt-page .neb-market-empty[hidden]{display:none!important;}
.neb-mkt-outro{position:relative;display:flex;align-items:center;justify-content:space-between;gap:30px;overflow:hidden;margin-top:76px;padding:clamp(23px,3.5vw,41px);border:1px solid #9d83e55e;border-radius:24px;background:linear-gradient(120deg,#17102eed,#0b1430f0);box-shadow:0 25px 65px #0a0a213c;}
.neb-mkt-outro>div:not(.neb-mkt-outro-orb){position:relative;z-index:2;max-width:775px;}
.neb-mkt-outro h2{font-size:clamp(27px,3.8vw,46px);letter-spacing:-.04em;line-height:1.13;font-weight:700;margin:10px 0 12px;}
.neb-mkt-outro p:not(.neb-mkt-overline){color:#b4bad0;font-size:13px;line-height:1.8;}
.neb-mkt-outro .neb-mkt-quiet{z-index:2;flex:none;}
.neb-mkt-outro-orb{position:absolute;right:18%;width:430px;aspect-ratio:1;top:-140px;border-radius:50%;background:radial-gradient(circle,#ae54e634 0%,#7150e02a 24%,#38cbe71b 48%,transparent 70%);filter:blur(14px);pointer-events:none;}
.neb-mkt-disclosure{display:flex;align-items:flex-start;gap:10px;margin:24px 0;color:#9da8c1;font-size:11px;line-height:1.75;max-width:990px;}
.neb-mkt-disclosure i{color:#89e4ed;margin-top:3px;}
.neb-mkt-disclosure a{color:#9ae6f0;text-decoration:underline;}
@media(max-width:1150px){.neb-mkt-feature-grid{grid-template-columns:1fr 1fr}.neb-mkt-feature-tile:last-child{grid-column:span 2}.neb-mkt-scene{min-height:375px}.neb-mkt-scene-badge-top{right:3%}}
@media(max-width:950px){.neb-mkt-hero{grid-template-columns:1fr}.neb-mkt-scene{aspect-ratio:1.8;min-height:350px}.neb-mkt-hero h1{max-width:720px}.neb-mkt-facts{margin-bottom:10px}body.neb-mkt-page .neb-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:670px){.neb-mkt-page .neb-mkt{padding:109px 15px 60px}.neb-mkt-hero{padding:25px 18px;border-radius:24px}.neb-mkt-hero h1{font-size:clamp(41px,11vw,57px);letter-spacing:-.055em;margin:19px 0}.neb-mkt-hero-buttons{gap:9px}.neb-mkt-hero-buttons>*{flex:1}.neb-mkt-scene{min-height:290px;aspect-ratio:1.18}.neb-mkt-scene-badge{padding:10px 11px}.neb-mkt-scene-badge-top{top:8%}.neb-mkt-scene-badge-bottom{bottom:19%}.neb-mkt-facts{gap:10px}.neb-mkt-facts>div{padding-right:10px}.neb-mkt-feature,.neb-mkt-catalog{margin-top:58px}.neb-mkt-feature-grid{grid-template-columns:1fr}.neb-mkt-feature-tile:last-child{grid-column:auto}.neb-mkt-section-head h2{font-size:33px}.neb-mkt-toolbar{display:grid;grid-template-columns:1fr 1fr}.neb-mkt-input-wrap{grid-column:span 2;min-width:0}.neb-mkt-control{min-width:0}.neb-mkt-control select{max-width:100%}.neb-mkt-control label{display:none}body.neb-mkt-page .neb-market-grid{grid-template-columns:1fr}.neb-mkt-outro{display:block;padding:24px}.neb-mkt-outro .neb-mkt-quiet{margin-top:20px}}
@media(max-width:410px){.neb-mkt-feature-tile{grid-template-columns:106px 1fr;gap:10px}.neb-mkt-feature-tile img{width:106px;height:150px}.neb-mkt-feature-tile h3{font-size:17px}.neb-mkt-feature-tile p{font-size:11px}.neb-mkt-scene-badge-bottom{left:3%;bottom:15%}.neb-mkt-scene-caption{font-size:8px;left:12px}}
@media(prefers-reduced-motion:reduce){.neb-mkt-primary,.neb-mkt-quiet,.neb-mkt-feature-tile,.neb-market-card,.neb-market-card img{animation:none!important;transition:none!important}.neb-mkt-primary:hover,.neb-mkt-quiet:hover,.neb-mkt-feature-tile:hover,body.neb-mkt-page .neb-market-card:hover{transform:none!important}}
