/* Shared Aura styles for the round 3 mock-ups (from F Aura). */
:root {
  --bg: #060608;
  --glass: rgba(18,18,24,.55);
  --line: rgba(255,255,255,.09);
  --ink: #F6F6F8;
  --muted: rgba(246,246,248,.62);
  --up: #6EF0B0;
  --down: #FF8A80;
  --tint: 180,160,255;
  --disp: "Funnel Display", sans-serif;
  --body: "Funnel Sans", sans-serif;
  --mono: "Sometype Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--ink); font: 15.5px/1.5 var(--body); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }
.tnum { font-variant-numeric: tabular-nums; }
.up { color: var(--up); } .down { color: var(--down); }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* Header */
header { position: relative; z-index: 6; }
header .bar { height: 76px; display: flex; align-items: center; gap: 30px; }
.logo { font: 800 24px var(--disp); letter-spacing: .04em; display: flex; align-items: center; gap: 10px; }
.logo svg { width: 24px; height: 24px; }
nav { display: flex; gap: 4px; }
nav a { padding: 8px 14px; border-radius: 99px; font-weight: 600; color: var(--muted); }
nav a.on, nav a:hover { color: var(--ink); background: rgba(255,255,255,.08); }
.search { margin-left: auto; width: 320px; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid var(--line); color: var(--muted); backdrop-filter: blur(14px); }
.search svg { width: 17px; height: 17px; flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font: 500 15px var(--body); }
.search input::placeholder { color: var(--muted); }
.connect { height: 44px; padding: 0 22px; border-radius: 99px; background: #fff; color: #000; font-weight: 700; white-space: nowrap; }
header .connect:first-of-type:last-child { margin-left: auto; }

/* Buttons */
.btn { height: 48px; padding: 0 24px; border-radius: 99px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.white { background: #fff; color: #000; }
.btn.glass { background: rgba(255,255,255,.1); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.btn.glass:hover { background: rgba(255,255,255,.16); }

/* Stage: aura colour from the current card, optional wall of slabs behind */
.stage { position: relative; margin-top: -76px; padding-top: 76px; overflow: hidden; }
.wall { position: absolute; inset: -60px -80px; display: grid; grid-template-columns: repeat(var(--cols, 9), 1fr); gap: 16px; transform: rotate(-4deg) scale(1.06); opacity: .55; filter: saturate(.7) brightness(.85); }
.wall .col { display: flex; flex-direction: column; gap: 16px; animation: wup var(--d) linear infinite; }
.wall .col.down { animation-name: wdown; }
@keyframes wup { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wdown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.wall .wc { position: relative; border-radius: 9px; overflow: hidden; }
.wall .wc img { width: 100%; aspect-ratio: 679/1136; object-fit: cover; display: block; }
.wall .wc span { position: absolute; left: 7px; bottom: 7px; height: 22px; padding: 0 7px; border-radius: 6px; background: rgba(6,6,8,.82); font: 500 11.5px var(--mono); display: flex; align-items: center; }
.aura { position: absolute; inset: -20%; pointer-events: none; }
.aura img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(90px) saturate(1.7); opacity: 0; transform: scale(1.1); transition: opacity 1.8s ease; animation: drift 24s ease-in-out infinite alternate; }
.aura img.on { opacity: .62; }
.aura.tintwall img.on { opacity: .75; }
.aura.tintwall { mix-blend-mode: screen; }
.tintcolor { position: absolute; inset: 0; pointer-events: none; background: rgb(var(--tint)); mix-blend-mode: color; opacity: .4; transition: background 1.8s; }
@keyframes drift { to { transform: scale(1.3) translate(4%, -3%) rotate(6deg); } }

/* Feature panel */
.feature { padding: 22px; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(24px); transition: opacity .6s; }
.feature.swap { opacity: 0; }
.feature small, .eyebrow { font: 500 12px var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.feature h2 { font: 700 30px/1.1 var(--disp); letter-spacing: -.01em; margin-top: 6px; }
.feature .meta { color: var(--muted); margin-top: 2px; }
.feature .pr { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 16px; }
.feature .pr b { font: 700 40px var(--disp); letter-spacing: -.02em; }
.feature .pr em { font: 500 14px var(--mono); font-style: normal; }
.feature .acts { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* Charts */
.chart { position: relative; }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart .hair { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.3); pointer-events: none; opacity: 0; }
.chart .tip { position: absolute; top: 4px; padding: 5px 10px; border-radius: 8px; background: rgba(12,12,16,.9); border: 1px solid var(--line); font: 500 12.5px var(--mono); pointer-events: none; opacity: 0; white-space: nowrap; transform: translateX(-50%); }
.chart:hover .hair, .chart:hover .tip { opacity: 1; }
.ranges { display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.ranges button { height: 28px; padding: 0 12px; border-radius: 99px; font: 600 12.5px var(--mono); color: var(--muted); }
.ranges button.on { background: #fff; color: #000; }

/* Live pulls lane */
.ph { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 16px; }
.ph h3 { font: 600 18px var(--disp); display: flex; align-items: center; gap: 10px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 12px var(--up); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.ph span { font: 500 13px var(--mono); color: var(--muted); }
.lane { display: flex; gap: 12px; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.pl { position: relative; flex: none; width: 230px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); overflow: hidden; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s; }
.pl.in { opacity: 0; transform: translateX(-30px); }
.pl .glow { position: absolute; inset: 0; background: var(--t, transparent); opacity: .22; filter: blur(20px); }
.pl img { position: relative; width: 44px; aspect-ratio: 679/1136; object-fit: cover; border-radius: 5px; }
.pl div { position: relative; min-width: 0; }
.pl b { display: block; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl span { display: block; font: 500 13px var(--mono); }
.pl small { display: block; color: var(--muted); font-size: 12px; }
.pl .kind { display: block; font: 500 10.5px var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pl .k-sold { color: var(--up); } .pl .k-traded { color: rgb(var(--tint)); } .pl .k-offer { color: #FFD37A; }
.pl .pair { position: relative; width: 44px; height: 74px; }
.pl .pair img { position: absolute; width: 32px; top: 0; left: 0; transform: rotate(-6deg); }
.pl .pair img + img { left: 12px; top: 10px; transform: rotate(6deg); box-shadow: -4px 4px 10px rgba(0,0,0,.6); }

/* Market cells */
.mh { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.mh h2 { font: 700 36px var(--disp); letter-spacing: -.02em; }
.mh p { color: var(--muted); margin-top: 2px; }
.tabs { display: flex; gap: 6px; }
.tabs button { height: 40px; padding: 0 18px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs button.on { background: #fff; color: #000; }
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.cell { position: relative; display: block; padding: 18px 18px 16px; border-radius: 22px; background: rgba(255,255,255,.03); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.cell .bgi { position: absolute; inset: -30%; width: 160%; height: 160%; object-fit: cover; filter: blur(40px) saturate(1.8); opacity: .32; z-index: -1; transition: opacity .4s; }
.cell:hover .bgi { opacity: .55; }
.cell .im { display: block; width: 82%; margin: 0 auto; aspect-ratio: 679/1136; object-fit: cover; border-radius: 9px; box-shadow: 0 24px 34px -18px rgba(0,0,0,.9); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.cell:hover .im { transform: translateY(-6px); }
.cell b { display: block; margin-top: 16px; font: 600 16px var(--disp); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell .row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; }
.cell .row span { font: 700 19px var(--disp); transition: color .4s; }
.cell .row em { font: 500 12.5px var(--mono); font-style: normal; }
.flash { color: var(--up) !important; }

footer { padding: 50px 0 40px; color: var(--muted); font-size: 12.5px; }

@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } nav { display: none; } }
@media (max-width: 760px) {
  .wrap { padding: 0 16px; } .search { display: none; } .connect { margin-left: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cell { padding: 12px; }
  .mh { flex-direction: column; align-items: start; } .tabs { overflow-x: auto; max-width: 100%; }
  .btn { height: 42px; padding: 0 16px; font-size: 14px; }
  .wall { --cols: 4 !important; } .wall .col:nth-child(n+5) { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::after, *::before { animation: none !important; transition: none !important; } }

/* Community market (Steam Community Market layout) */
.cm { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.cm-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.cm-top h2 { font: 700 36px var(--disp); letter-spacing: -.02em; }
.cm-top p { color: var(--muted); margin-top: 2px; }
.mine { display: flex; gap: 8px; flex-wrap: wrap; }
.mine a { height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.05); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.mine a b { font: 500 12px var(--mono); padding: 2px 7px; border-radius: 99px; background: rgba(255,255,255,.1); }
.mine a.sell { background: #fff; color: #000; border-color: #fff; font-weight: 700; }
.cm-main { border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.025); padding: 18px; min-width: 0; }
.cm-search { display: flex; gap: 8px; }
.cm-search label { flex: 1; min-width: 0; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted); }
.cm-search label svg { width: 17px; height: 17px; flex: none; }
.cm-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font: 500 15px var(--body); }
.cm-search input::placeholder { color: var(--muted); }
.cm-search select { height: 44px; padding: 0 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--ink); font: 600 14px var(--body); }
.cm-search select option { background: #111; }
.adv-t { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.adv { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.adv.on { display: grid; }
.adv small { display: block; font: 500 11px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.chipset button { height: 30px; padding: 0 11px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.chipset button.on { background: #fff; color: #000; border-color: #fff; }
.adv .range { display: flex; gap: 6px; }
.adv .range input { width: 100%; min-width: 0; height: 30px; padding: 0 10px; border-radius: 9px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--ink); font: 500 13px var(--mono); outline: none; }
.cm-tabs { display: flex; gap: 22px; margin-top: 16px; border-bottom: 1px solid var(--line); }
.cm-tabs button { padding: 0 2px 11px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.cm-tabs button.on { color: var(--ink); border-color: rgb(var(--tint)); }
.cm-head, .cm-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px 100px 150px; gap: 16px; align-items: center; }
.cm-head { padding: 12px 12px 6px; font: 500 11.5px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cm-head span:not(:first-child) { text-align: right; }
.cm-rows { display: flex; flex-direction: column; gap: 6px; }
.cm-row { position: relative; padding: 9px 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); overflow: hidden; isolation: isolate; transition: border-color .25s, background .25s; }
.cm-row:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.cm-row .bgi { position: absolute; left: -6%; top: -160%; width: 34%; height: 420%; object-fit: cover; filter: blur(36px) saturate(1.8); opacity: .3; z-index: -1; transition: opacity .3s; }
.cm-row:hover .bgi { opacity: .5; }
.cm-row .nm { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; }
.cm-row .nm img { width: 42px; aspect-ratio: 679/1136; object-fit: cover; border-radius: 5px; }
.cm-row .nm b { display: block; font: 600 15.5px var(--disp); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-row .nm small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-row .q { text-align: right; font: 500 14px var(--mono); }
.cm-row svg { width: 100px; height: 28px; }
.cm-row .pr { text-align: right; }
.cm-row .pr small { display: block; font: 500 11px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.cm-row .pr b { font: 700 18px var(--disp); transition: color .4s; }
.cm-pager { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font: 500 13px var(--mono); color: var(--muted); }
.cm-pager .pg { display: flex; gap: 4px; }
.cm-pager .pg button { min-width: 32px; height: 32px; padding: 0 8px; border-radius: 9px; border: 1px solid var(--line); font: 500 13px var(--mono); color: var(--muted); }
.cm-pager .pg button.on { background: #fff; color: #000; border-color: #fff; }
.cm-side { display: flex; flex-direction: column; gap: 14px; }
.sbox { border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.025); padding: 16px; }
.sbox h4 { font: 600 16px var(--disp); display: flex; justify-content: space-between; align-items: center; }
.sbox h4 span { font: 500 12px var(--mono); color: var(--muted); display: flex; align-items: center; gap: 6px; }
.sbox p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.sbox .btn { width: 100%; margin-top: 12px; }
.sold { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.sl { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px; border-radius: 11px; transition: background 1s, opacity .6s, transform .6s; }
.sl.in { opacity: 0; transform: translateY(-8px); background: rgba(var(--tint), .2); }
.sl.new { background: rgba(var(--tint), .14); }
.sl img { width: 30px; aspect-ratio: 679/1136; object-fit: cover; border-radius: 4px; }
.sl b { display: block; font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl small { display: block; color: var(--muted); font: 500 11.5px var(--mono); }
.sl em { font: 600 13.5px var(--mono); font-style: normal; text-align: right; }
.cats2 { margin-top: 8px; }
.cats2 a { display: flex; justify-content: space-between; padding: 8px 4px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.cats2 a:first-child { border-top: 0; }
.cats2 a span { font: 500 12.5px var(--mono); color: var(--muted); font-weight: 400; }
@media (max-width: 1100px) { .cm { grid-template-columns: 1fr; } .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .cm-top { flex-direction: column; align-items: start; } .cm-search { flex-wrap: wrap; } .cm-search select { flex: 1; }
  .cm-head, .cm-row { grid-template-columns: minmax(0, 1fr) auto; } .cm-head span:nth-child(2), .cm-head span:nth-child(3), .cm-row .q, .cm-row svg { display: none; }
  .adv { grid-template-columns: 1fr; }
}

/* Logo mark in the header */
/* Optical alignment: the mark centres on the wordmark's capitals, not on its line box. */
.logo .gl { width: 26px; height: 26px; display: inline-block; flex: none; transform: translateY(0.075em); }
.logo .gl svg { display: block; }

/* X link: header button and footer link */
.xlink { width: 44px; height: 44px; flex: none; margin-right: -20px; border-radius: 99px; display: grid; place-items: center; color: var(--ink); background: rgba(255,255,255,.07); border: 1px solid var(--line); backdrop-filter: blur(14px); transition: background .2s, color .2s, transform .2s; }
.xlink svg { width: 16px; height: 16px; fill: currentColor; }
.xlink:hover { background: #fff; color: #000; transform: translateY(-1px); }
header .bar .xlink + .connect:first-of-type { margin-left: 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.xfoot { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.xfoot svg { width: 13px; height: 13px; fill: currentColor; }
.xfoot:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .xlink { margin-left: auto; } .foot { flex-direction: column; align-items: start; } }
