:root {
  --bg: #0a0a0a;
  --bar: #111111;
  --surface: #161616;
  --surface-2: #202020;
  --surface-3: #2a2a2a;
  --line: rgba(255, 255, 255, .06);
  --line-2: rgba(255, 255, 255, .12);
  --text: #ffffff;
  --text-2: #c8c8c8;
  --text-3: #a6a6a6;
  --accent: #bdbdbd;
  --up: #ffffff;
  --down: #8f8f8f;
  --gold: #b5b5b5;
  --super: #e0e0e0;
  --sans: "Geist", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text-2); font: 400 13px/1.4 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
svg.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-radius: 6px; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-inner-spin-button { display: none; }
h1, h2, h3, p { margin: 0; font: inherit; }
[hidden] { display: none !important; }

.shell { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 56px auto minmax(0, 1fr); min-height: 100dvh; }

.top { display: flex; align-items: center; gap: 28px; padding: 0 18px; background: var(--bar); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.logo span { width: 32px; height: 32px; border-radius: 9px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.logo img { image-rendering: pixelated; height: 25px; }
.nav { display: flex; align-items: stretch; gap: 4px; height: 56px; }
.nav button { position: relative; padding: 0 13px; color: var(--text-2); font-weight: 500; font-size: 14px; }
.nav button:hover { color: var(--text); }
.nav button[aria-current=page] { color: var(--text); }
.nav button[aria-current=page]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--accent); }
.nav .badge { margin-left: 6px; font: 600 11px var(--mono); padding: 0 5px; border-radius: 5px; background: var(--gold); color: #000000; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tick { display: flex; align-items: center; gap: 7px; color: var(--text-3); font-size: 12px; white-space: nowrap; margin-right: 6px; }
.tick i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
.tick.off i { background: var(--down); box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
.chip { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 9px; background: var(--surface); color: var(--text); font-weight: 500; white-space: nowrap; }
.chip b { font: 600 13px var(--mono); }
.chip:hover { background: var(--surface-2); }
.chip.on { background: var(--accent); }

.cats { grid-row: 2; height: 44px; display: flex; align-items: center; gap: 2px; padding: 0 18px; background: var(--bar); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.cats button { height: 44px; padding: 0 12px; color: var(--text-2); font-weight: 500; }
.cats button span { color: var(--text-3); font: 400 11px var(--mono); margin-left: 4px; }
.cats button:hover { color: var(--text); }
.cats button[aria-pressed=true] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }

.main { grid-row: 3; display: grid; grid-template-columns: 276px minmax(0, 1fr); min-height: 0; }
.filters { padding: 14px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; border-right: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 9px; background: var(--surface); color: var(--text-3); position: relative; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font-size: 14px; }
.search input::placeholder { color: var(--text-3); }
.search:focus-within { box-shadow: 0 0 0 1px var(--accent); }
.block { padding: 13px 2px; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block h3 { color: var(--text); font-weight: 600; margin-bottom: 9px; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range label { color: var(--text-3); font-size: 12px; }
.range input { display: block; width: 100%; height: 36px; margin-top: 3px; padding: 0 10px; border: 0; outline: 0; border-radius: 8px; background: var(--surface); color: var(--text); font: 500 13px var(--mono); }
.range input:focus { box-shadow: 0 0 0 1px var(--accent); }
.presets { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.presets button { padding: 4px 9px; border-radius: 7px; background: var(--surface); color: var(--text-2); font-size: 12px; }
.presets button:hover { color: var(--text); background: var(--surface-2); }
.presets button[aria-pressed=true] { background: var(--accent); color: var(--text); }
.check { display: flex; align-items: center; gap: 9px; padding: 5px 0; cursor: pointer; color: var(--text-2); }
.check:hover { color: var(--text); }
.check input { appearance: none; width: 17px; height: 17px; margin: 0; border-radius: 5px; background: var(--surface-2); display: grid; place-items: center; cursor: pointer; flex: none; }
.check input:checked { background: var(--accent); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.check .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.check span { flex: 1; }
.check em { font: 400 12px var(--mono); color: var(--text-3); }

.content { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.toolbar { flex: none; display: flex; align-items: center; gap: 14px; padding: 12px 16px 10px; flex-wrap: wrap; }
.mood { flex: 1; min-width: 240px; }
.mood b { color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.mood p { color: var(--text-3); font-size: 12.5px; }
.seg { display: flex; padding: 3px; border-radius: 9px; background: var(--surface); }
.seg button { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 7px; color: var(--text-2); font-weight: 500; }
.seg button[aria-pressed=true] { background: var(--surface-3); color: var(--text); }
select { height: 36px; padding: 0 30px 0 12px; border: 0; border-radius: 9px; outline: 0; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239ea7b1' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 11px center; color: var(--text); font-weight: 500; appearance: none; cursor: pointer; }
select option { background: var(--surface-2); }

.deals { flex: none; padding: 0 16px 12px; }
.deals-count { padding: 0 7px; border-radius: 6px; background: var(--gold); color: #000000; font: 700 12px var(--mono); }
.deals-list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.deals-none { padding: 14px 16px; border-radius: 10px; background: var(--surface); color: var(--text-3); flex: 1; }
.deal-card { --tone: var(--up); position: relative; flex: 0 0 372px; display: grid; grid-template-columns: 96px minmax(0, 1fr); text-align: left; white-space: normal; border-radius: 10px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 40%, transparent); transition: transform .14s ease; }
.deal-card:hover { transform: translateY(-1px); background: var(--surface-2); }
.deal-card.risky { --tone: var(--gold); }
.deal-art { display: grid; place-items: center; min-height: 104px; background: linear-gradient(90deg, color-mix(in srgb, var(--tone) 24%, transparent), transparent); }
.deal-art img { image-rendering: pixelated; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45)); }
.deal-body { padding: 9px 12px 9px 8px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.deal-name { color: var(--text); font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 84px; }
.deal-verdict { color: var(--tone); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-nums { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 0 14px; margin-top: auto; padding-top: 4px; }
.deal-nums span { display: block; color: var(--text-3); font-size: 11px; }
.deal-nums b { color: var(--text); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.deal-nums .profit { text-align: right; }
.deal-nums .profit b { color: var(--up); font-size: 18px; line-height: 1.15; }
.deal-card.risky .deal-nums .profit b { color: var(--gold); }
.deal-copy { position: absolute; right: 8px; top: 8px; padding: 2px 8px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 600; }
.deal-copy:hover { filter: brightness(1.12); }

.items { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 16px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 12px; }
.empty { padding: 60px 20px; text-align: center; color: var(--text-3); }
.empty b { display: block; color: var(--text); font-size: 15px; margin-bottom: 3px; }

.card { --tone: #555555; position: relative; display: flex; flex-direction: column; width: 100%; text-align: left; white-space: normal; border-radius: 10px; background: var(--surface); overflow: hidden; transition: transform .14s ease, box-shadow .14s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, .4), 0 0 0 1px var(--line-2); }
.card.look { --tone: var(--gold); } .card.buyers { --tone: var(--up); } .card.sellers { --tone: var(--down); } .card.super { --tone: var(--super); }
.tag { position: absolute; left: 8px; top: 2px; padding: 1px 7px; border-radius: 6px; background: color-mix(in srgb, var(--tone) 22%, #0a0a0a); color: var(--tone); font-size: 11px; font-weight: 600; }
.copy { position: absolute; right: 8px; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: rgba(0, 0, 0, .45); color: var(--text-2); opacity: 0; transition: opacity .12s; }
.card:hover .copy, .copy:focus-visible { opacity: 1; }
.copy:hover { color: var(--text); }
.price { color: var(--text); font-size: 17px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price small { font-size: 12px; color: var(--text-2); font-weight: 600; margin-left: 1px; }
.deal { padding: 1px 7px; border-radius: 6px; font: 600 11.5px var(--mono); background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.deal.good { background: rgba(255, 255, 255, .14); color: var(--up); }

.pulse { height: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; min-height: 0; }
.row { --tone: #555555; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 0 10px; width: 100%; padding: 9px 12px; text-align: left; white-space: normal; border-bottom: 1px solid var(--line); align-items: center; }
.row:hover { background: var(--surface); }
.row.look { --tone: var(--gold); } .row.buyers { --tone: var(--up); } .row.sellers { --tone: var(--down); } .row.super { --tone: var(--super); }
.thumb { width: 52px; height: 52px; border-radius: 9px; display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--tone) 12%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 35%, transparent); }
.thumb img { image-rendering: pixelated; }

.page { padding: 18px; overflow-y: auto; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; grid-column: 1 / -1; }
.page-inner { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.page h1 { color: var(--text); font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.kpi { padding: 12px 14px; border-radius: 10px; background: var(--surface); }
.kpi span { display: block; color: var(--text-3); font-size: 12px; }
.kpi b { color: var(--text); font-size: 21px; font-weight: 700; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.panel { border-radius: 10px; background: var(--surface); overflow: hidden; }
.panel > h2 { color: var(--text); font-weight: 600; font-size: 14px; padding: 13px 16px 4px; }
.panel > p { color: var(--text-3); padding: 0 16px 8px; max-width: 76ch; }
table { width: 100%; border-collapse: collapse; }
th { color: var(--text-3); font-weight: 500; font-size: 12px; text-align: right; padding: 9px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { color: var(--text); text-align: right; padding: 7px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
th:first-child, td:first-child { text-align: left; }
tbody tr.pick { cursor: pointer; }
tbody tr.pick:hover td { background: var(--surface-2); }
.who { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.who .thumb { width: 36px; height: 36px; --tone: #555555; }
.up { color: var(--up) !important; } .down { color: var(--down) !important; } .goldtext { color: var(--gold) !important; }
.link { color: var(--text-2); }
.link:hover { color: var(--down); }
.rule { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--text); }
.rule small { display: block; color: var(--text-3); font-size: 12px; }
.rule div:last-child { display: flex; align-items: center; gap: 6px; color: var(--text-3); }
.rule input { width: 88px; height: 34px; padding: 0 10px; border: 0; outline: 0; border-radius: 8px; background: var(--surface-2); color: var(--text); font: 500 13px var(--mono); text-align: right; }
.rule input:focus { box-shadow: 0 0 0 1px var(--accent); }

.pill { justify-self: end; padding: 1px 9px; border-radius: 999px; color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 42%, transparent); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.peek { position: fixed; z-index: 50; width: 330px; padding: 14px 16px 12px; border-radius: 18px; background: rgba(28, 28, 28, .84); backdrop-filter: blur(18px) saturate(1.2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 22px 60px rgba(0, 0, 0, .55); pointer-events: none; animation: peek .12s ease; }
@keyframes peek { from { opacity: 0; transform: translateY(4px); } }
.peek-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.peek-who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.peek-thumb { flex: none; width: 30px; height: 30px; display: grid; place-items: center; overflow: hidden; }
.peek-thumb img { image-rendering: pixelated; }
.peek-name { color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peek-who em { flex: none; color: var(--text-3); font-style: normal; font-size: 12px; }
.peek-price { flex: none; display: flex; align-items: baseline; gap: 7px; font-family: var(--mono); }
.peek-price b { color: var(--text); font-weight: 500; }
.peek-price span { font-size: 12px; }
.peek svg { display: block; width: 100%; height: 74px; margin: 12px 0 8px; }
.peek svg path { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.peek-rows { margin: 0; display: flex; flex-direction: column; gap: 7px; }
.peek-rows div { display: flex; justify-content: space-between; gap: 14px; }
.peek-rows dt { color: var(--text-3); }
.peek-rows dd { margin: 0; color: var(--text); text-align: right; font-family: var(--mono); font-size: 12.5px; }
.ideas-layout { max-width: 1680px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 348px; gap: 22px; align-items: start; }
.ideas-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ideas-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ideas-top h1 { color: var(--text); font-size: 26px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.ideas-top p { margin-top: 4px; color: var(--text-2); font-size: 14px; max-width: 68ch; }
.ideas-tools { display: flex; align-items: center; gap: 6px; }
.switch { height: 34px; padding: 0 13px; border-radius: 999px; color: var(--text-3); font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
.switch:hover { color: var(--text); }
.switch[aria-pressed=true] { color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); box-shadow: none; }
.chips { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-bottom: 2px; }
.chips button { padding: 6px 12px; border-radius: 999px; color: var(--text-3); font-weight: 500; }
.chips button:hover { color: var(--text); }
.chips button[aria-pressed=true] { color: var(--text); background: var(--surface-2); }
.idea-section { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.idea-section-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.idea-section-head h2 { color: var(--text); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.idea-section-head em { color: var(--text-3); font: 500 12px var(--mono); }
.idea-section-head p { color: var(--text-3); font-size: 13px; margin-left: 4px; }
.idea-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(222px, 1fr)); gap: 12px; }
.idea-card { --tone: #555555; display: flex; flex-direction: column; min-width: 0; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; text-align: left; white-space: normal; transition: box-shadow .14s ease; }
.idea-card:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 30px rgba(0, 0, 0, .35); }
.idea-head { padding: 11px 13px 9px; min-width: 0; }
.idea-name { color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idea-sub { color: var(--text-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idea-stage { position: relative; height: 140px; display: grid; place-items: center; background: linear-gradient(180deg, transparent 5%, color-mix(in srgb, var(--tone) 24%, transparent) 100%); box-shadow: inset 0 -2px 0 var(--tone); }
.idea-stage img { image-rendering: pixelated; display: block; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.idea-tag { position: absolute; left: 10px; top: 4px; padding: 1px 9px; border-radius: 999px; color: var(--tone); background: color-mix(in srgb, var(--tone) 16%, var(--bg)); font-size: 11.5px; font-weight: 600; }
.like { position: absolute; right: 8px; top: 2px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--text-3); opacity: 0; transition: opacity .12s; }
.like svg { width: 15px; height: 15px; }
.like.on { color: var(--down); opacity: 1; }
.like.on svg { fill: currentColor; }
.idea-card:hover .like, .like:focus-visible { opacity: 1; }
.like:hover { color: var(--text); }
.idea-foot { display: flex; justify-content: space-between; gap: 10px; padding: 10px 13px 12px; }
.idea-foot > div { min-width: 0; }
.idea-foot span { display: block; color: var(--text-3); font-size: 12px; white-space: nowrap; }
.idea-foot b { display: block; color: var(--text); font: 500 15px var(--mono); letter-spacing: -.02em; white-space: nowrap; }
.idea-foot .profit { text-align: right; }
.idea-foot .profit b { font-size: 16px; font-weight: 600; }
.idea-foot .gain b { color: var(--up); }
.idea-foot .loss b { color: var(--down); }
.more { align-self: center; padding: 7px 16px; border-radius: 999px; color: var(--text-2); font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
.more:hover { color: var(--text); }
.ideas-rail { position: sticky; top: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.side-panel { display: flex; flex-direction: column; gap: 9px; padding: 13px 14px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.side-panel h2 { color: var(--text); font-size: 14px; font-weight: 600; }
.side-note { color: var(--text-3); font-size: 12.5px; line-height: 1.4; }
.side-note.pad { padding: 18px 2px; }
.proof-table { display: flex; flex-direction: column; gap: 6px; }
.proof-row { display: grid; grid-template-columns: minmax(0, 1fr) 62px 62px; gap: 6px; align-items: center; }
.proof-row.head { color: var(--text-3); font-size: 12px; text-align: right; }
.proof-row b { color: var(--text); text-align: right; font: 500 13px var(--mono); }
.proof-row .pill { justify-self: start; }
.tone-up { color: var(--up) !important; } .tone-down { color: var(--down) !important; }
.market-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.market-row b { display: block; color: var(--text); font: 500 20px var(--mono); letter-spacing: -.02em; }
.market-row span { color: var(--text-3); font-size: 12px; }
.spark { flex: 0 1 140px; min-width: 60px; height: 40px; }
.spark path { fill: none; stroke: var(--up); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.live-head { display: flex; align-items: center; gap: 8px; }
.live-head h2 { margin-right: auto; }
.live-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--up); animation: live 1.8s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--up) 22%, transparent); } }
.live-panel .deal-card { flex: none; width: 100%; grid-template-columns: 76px minmax(0, 1fr); }
.live-panel .deal-art { min-height: 92px; }
.live-panel .deal-name { padding-right: 50px; }
.live-panel .deal-copy { padding: 1px 9px; font-size: 11px; }
.live-panel .deal-card.fresh { animation: snipe 1.6s ease-out 2; }
@keyframes snipe { 0% { box-shadow: 0 0 0 2px var(--tone), 0 0 24px color-mix(in srgb, var(--tone) 45%, transparent); } }
.live-panel .link { align-self: flex-end; font-size: 12px; }
.peek-checks { list-style: none; margin: 0 0 10px; padding: 0 0 10px; display: flex; flex-direction: column; gap: 5px; border-bottom: 1px dashed rgba(255, 255, 255, .1); color: var(--text); }
.peek-checks li { display: flex; align-items: center; gap: 8px; }
.peek-checks i { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; font: 700 10px var(--mono); }
.peek-checks .yes i { color: var(--up); background: color-mix(in srgb, var(--up) 16%, transparent); }
.peek-checks .warn i { color: var(--gold); background: color-mix(in srgb, var(--gold) 16%, transparent); }
.peek-checks .no i { color: var(--down); background: color-mix(in srgb, var(--down) 16%, transparent); }


.results { position: absolute; left: 0; right: 0; top: 44px; z-index: 20; max-height: 340px; overflow-y: auto; padding: 4px; border-radius: 10px; background: var(--surface-3); box-shadow: 0 16px 44px rgba(0, 0, 0, .55); }
.result { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 4px 6px; color: var(--text); }
.result img { image-rendering: pixelated; max-width: 30px; max-height: 30px; display: block; margin: auto; }
.result span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result em { color: var(--text-3); font-style: normal; font-size: 12px; }
.result button { padding: 3px 9px; border-radius: 6px; background: var(--accent); color: #000; font-weight: 600; font-size: 12px; }

.drawer { position: fixed; inset: 0; z-index: 40; display: flex; justify-content: flex-end; background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); animation: fade .14s ease; }
.sheet { --tone: #555555; width: min(1080px, 100vw); height: 100%; background: var(--bar); display: grid; grid-template-columns: 390px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; box-shadow: -18px 0 50px rgba(0, 0, 0, .45); animation: slide .18s ease; min-height: 0; }
.sheet-side { min-height: 0; display: flex; flex-direction: column; overflow-y: auto; border-right: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.sheet-long { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px 16px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.long-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.long-head h3 { color: var(--text); font-size: 14px; font-weight: 600; }
.long-tiles { flex: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr)); gap: 6px; }
.long-tiles .stat b { display: block; font-size: 12.5px; white-space: normal; line-height: 1.25; }
.long-note { flex: none; color: var(--text-3); font-size: 12px; }
.sheet-long .chart { flex: 1 0 300px; min-height: 300px; }
.sheet-long table { flex: none; border-radius: 8px; background: var(--surface); }
.sheet-long th, .sheet-long td { padding: 5px 12px; font-size: 12px; }
.sheet.look { --tone: var(--gold); } .sheet.buyers { --tone: var(--up); } .sheet.sellers { --tone: var(--down); } .sheet.super { --tone: var(--super); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(24px); opacity: .6; } }
.hero { position: relative; flex: none; height: 180px; display: grid; place-items: center; background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--tone) 30%, transparent) 100%); box-shadow: inset 0 -2px 0 var(--tone); }
.hero img { image-rendering: pixelated; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); }
.close { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: rgba(0, 0, 0, .35); color: var(--text); }
.close:hover { background: rgba(0, 0, 0, .6); }
.hero .tag { left: 14px; top: 14px; font-size: 12px; padding: 3px 9px; }
.sheet-body { flex: none; display: flex; flex-direction: column; padding: 14px 16px; gap: 10px; }
.sheet-title { color: var(--text); font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.sheet-why { color: var(--text-2); }
.sheet-why small { display: block; color: var(--text-3); font-size: 12px; margin-top: 2px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.stat { padding: 7px 9px; border-radius: 8px; background: var(--surface); min-width: 0; }
.stat span { display: block; color: var(--text-3); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart { position: relative; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.chart text { font-family: var(--mono); }
.chart .note { padding: 26px 0; text-align: center; color: var(--text-3); }
.tip { position: absolute; pointer-events: none; z-index: 3; padding: 4px 9px; border-radius: 7px; background: var(--surface-3); box-shadow: 0 6px 18px rgba(0, 0, 0, .45); color: var(--text); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tip span { color: var(--text-2); font-weight: 400; }
.sheet-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.btn { height: 38px; padding: 0 14px; border-radius: 9px; background: var(--surface-2); color: var(--text); font-weight: 600; }
.btn:hover { background: var(--surface-3); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost { background: none; color: var(--text-3); margin-left: auto; }
.btn.ghost:hover { color: var(--down); }
.field { display: flex; align-items: center; gap: 7px; color: var(--text-3); font-size: 12px; }
.field input { width: 84px; height: 38px; padding: 0 10px; border: 0; outline: 0; border-radius: 9px; background: var(--surface); color: var(--text); font: 500 13px var(--mono); text-align: right; }
.field input:focus { box-shadow: 0 0 0 1px var(--accent); }
.sheet-actions form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.errorbar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; padding: 8px 14px; border-radius: 9px; background: var(--down); color: #fff; font-weight: 600; }

@media (min-width: 1100px) and (min-height: 600px) {
  html, body { height: 100%; overflow: hidden; }
  .shell { height: 100dvh; }
}
@media (max-width: 1099px), (max-height: 599px) {
  .shell { grid-template-rows: auto auto auto; }
  .top { flex-wrap: wrap; gap: 8px 16px; padding-block: 8px; }
  .nav { height: 36px; order: 3; flex-basis: 100%; overflow-x: auto; }
  .main { grid-template-columns: minmax(0, 1fr); }
  .filters { border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .items, .lane-list, .page { overflow: visible; }
  .pulse { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; }
  .sheet { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: max-content; align-content: start; overflow-y: auto; }
  .ideas-layout { grid-template-columns: minmax(0, 1fr); }
  .ideas-rail { position: static; order: -1; }
  .sheet-side, .sheet-long { min-height: auto; overflow: visible; border-right: 0; }
  .sheet-actions { position: sticky; bottom: 0; z-index: 2; background: var(--bg); }
}
@media (max-width: 640px) {
  .pulse { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  table { display: block; overflow-x: auto; }
}

/* Search in the top bar */
.top-search { flex: 0 1 340px; height: 38px; margin-left: 2px; }
.top-search .results { top: 44px; z-index: 30; }
.result { grid-template-columns: 34px minmax(0, 1fr) auto auto; }
.result em { font-family: var(--mono); }

/* Pages with a lead sentence */
.page-lead { color: var(--text-2); font-size: 14px; max-width: 80ch; }
.page-inner .deals-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 10px; }

/* Rail */
.market-big { display: flex; align-items: center; gap: 10px; }
.market-big b { color: var(--text); font: 600 28px var(--mono); letter-spacing: -.03em; }
.market-big span { color: var(--text-2); font-size: 13px; line-height: 1.25; }
.proof-any { color: var(--text-3); font-size: 12px; white-space: nowrap; }

/* Item sheet */
.sheet-numbers { padding: 10px 0; border-block: 1px dashed var(--line); }
.sheet-why { color: var(--text-2); }
.sheet-warn { color: var(--down); font-size: 12.5px; }
.sheet-note { color: var(--text-3); font-size: 12.5px; }
.hero .idea-tag { left: 12px; top: 12px; }
.facts h3 { margin-bottom: 7px; color: var(--text); font-size: 13px; font-weight: 600; }
.facts dl { margin: 0; display: flex; flex-direction: column; gap: 5px; }
.facts dl div { display: flex; justify-content: space-between; gap: 12px; }
.facts dt { color: var(--text-3); }
.facts dd { margin: 0; color: var(--text); font: 500 12.5px var(--mono); text-align: right; white-space: nowrap; }
.dips { flex: none; display: flex; flex-direction: column; gap: 6px; }
.dips h3 { color: var(--text); font-size: 13px; font-weight: 600; }
.dips td { font-family: var(--mono); white-space: nowrap; }

/* Insights */
.page-inner.insights { max-width: 1280px; }
.insight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 14px; margin-top: 6px; }
.insight { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.insight h2 { color: var(--text-3); font-size: 13px; font-weight: 500; }
.insight-answer { color: var(--text); font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.28; max-width: 44ch; }
.insight-note { margin-top: auto; color: var(--text-3); font-size: 12.5px; line-height: 1.4; }
.insight-stack { display: flex; flex-direction: column; gap: 14px; }
.insight.wide { grid-column: 1 / -1; }
.insight.wide .insight-stack { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 26px; align-items: center; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.trio b { display: block; color: var(--text); font: 500 15px var(--mono); }
.trio span { color: var(--text-3); font-size: 12.5px; }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr) 46px 58px; gap: 10px; align-items: center; }
.bar-side { color: var(--text-3); font: 12px var(--mono); text-align: right; white-space: nowrap; }
.bar-label { color: var(--text-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { position: relative; height: 10px; }
.bar-track::before { content: ""; position: absolute; left: var(--zero); top: -3px; bottom: -3px; width: 1px; background: var(--line-2); }
.bar-track i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.bar-track i.pos { background: var(--up); }
.bar-track i.neg { background: var(--down); }
.bar-row b { color: var(--text); text-align: right; font: 500 13px var(--mono); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { display: flex; flex-direction: column; gap: 6px; }
.step b { color: var(--text); font: 600 22px var(--mono); letter-spacing: -.02em; }
.step span { color: var(--text-3); font-size: 12.5px; }
.step-track { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.step-track i { display: block; height: 100%; border-radius: 3px; background: var(--up); }
.share-chart { position: relative; height: 170px; }
.share-chart svg { display: block; width: 100%; height: 100%; }
.share-chart text { fill: var(--text-3); font: 11px var(--mono); }
.share-chart .grid { stroke: var(--line); }
.share-chart .cut { stroke: var(--gold); stroke-dasharray: 3 4; opacity: .7; }
.share-chart .area { fill: color-mix(in srgb, var(--accent) 14%, transparent); }
.share-chart .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.share-chart .dot { fill: var(--text); stroke: var(--accent); stroke-width: 2; }
.share-chart .cross { stroke: var(--line-2); }
.share-chart .cut-label { fill: var(--gold); }
.share-chart .tip { position: absolute; }

@media (max-width: 900px) {
  .top-search { order: 1; flex: 1 1 160px; margin: 0; }
  .top-right { order: 2; margin-left: 0; }
  .bar-row { grid-template-columns: minmax(0, 118px) minmax(0, 1fr) 42px 52px; gap: 8px; }
  .insight.wide .insight-stack { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding: 8px 12px; }
  .logo { font-size: 0; gap: 0; }
  .top-search { grid-column: 2; grid-row: 1; min-width: 0; }
  .top-search .results { position: fixed; left: 12px; right: 12px; top: 54px; }
  .top-right { grid-column: 3; grid-row: 1; }
  .tick { display: none; }
  #alerts-toggle { gap: 0; padding: 0 11px; font-size: 0; }
  .nav { grid-column: 1 / -1; grid-row: 2; }
  .nav button { padding: 0 10px; }
}

/* Scoreboard */
.score-wrap { overflow-x: auto; }
.score-wrap table { width: 100%; min-width: 560px; }
.score-wrap td b { display: block; font-size: 15px; }
.score-wrap td span { display: block; color: var(--text-3); font-size: 12px; font-weight: 400; }
.score-wrap td.score-wait { color: var(--text-3); }

/* The market's story */
.story-chart { height: 390px; }
.insight.wide .story-body { align-items: start; }
.story-news { grid-column: 1 / -1; }
.share-chart .event { stroke: rgba(255, 255, 255, .22); stroke-dasharray: 2 3; }
.share-chart .event.soon { stroke: #fff; }
.story-list, .story-news { display: flex; flex-direction: column; gap: 9px; }
.story-news h3 { color: var(--text-2); font-size: 13px; font-weight: 600; }
.story-row { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; font-size: 13px; line-height: 1.4; }
.story-row time { color: var(--text-3); font-variant-numeric: tabular-nums; }
.story-row a { color: var(--text); text-decoration: none; font-weight: 600; }
.story-row a:hover { text-decoration: underline; }
.story-row span { display: block; color: var(--text-3); }
.story-row.soon time, .story-row.soon a { color: #fff; }
.market-soon { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, .06); font-size: 12.5px; line-height: 1.4; }
.market-soon b { color: var(--text); font-weight: 600; }
.market-soon span { color: var(--text-3); }

/* Suspects */
.suspects { display: flex; flex-direction: column; gap: 6px; }
.suspect { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; cursor: pointer; text-align: left; }
.suspect:hover { background: rgba(255, 255, 255, .09); }
.suspect em { flex: none; color: var(--text-3); font-size: 12.5px; font-style: normal; }

/* Calendar */
.calendar { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.calendar div { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 8px; background: rgba(255, 255, 255, .05); }
.calendar div.up { background: rgba(255, 255, 255, .16); }
.calendar div.down { background: rgba(0, 0, 0, .34); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.calendar span, .calendar em { color: var(--text-3); font-size: 12px; font-style: normal; }
.calendar b { color: var(--text); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Phone alerts */
.phone-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 16px; }
.phone-row input { flex: 1 1 240px; min-width: 0; height: 34px; padding: 0 10px; border: 0; outline: 0; border-radius: 8px; background: var(--surface-2); color: var(--text); font: inherit; }
.phone-row input:focus { box-shadow: 0 0 0 1px var(--accent); }
.phone-steps { margin: 0; padding: 0 16px 8px 34px; color: var(--text-2); font-size: 13.5px; line-height: 1.6; }
.story-row.plain { grid-template-columns: minmax(0, 1fr); }
.story-row b { color: var(--text); font-weight: 600; }
.story-row time { white-space: nowrap; }
.suspect .who { min-width: 0; }
.suspect em { white-space: nowrap; }
.sell-plan td { white-space: normal; }
.dips { overflow-x: auto; }

/* Today */
.flow-list { display: flex; flex-direction: column; gap: 4px; }
.flow-row { display: grid; grid-template-columns: minmax(0, 1.5fr) 38px minmax(50px, 1fr) 38px; align-items: center; gap: 8px; padding: 5px 8px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.flow-row:hover { background: rgba(255, 255, 255, .08); }
.flow-row .who { min-width: 0; }
.flow-row b { font-variant-numeric: tabular-nums; text-align: right; }
.flow-row b:last-child { text-align: left; }
.flow-track { position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.flow-track i { position: absolute; top: 0; bottom: 0; }
.flow-track .gone { right: 50%; background: #fff; }
.flow-track .came { left: 50%; background: #7a7a7a; }
.hours { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; height: 120px; }
.hours div { position: relative; display: flex; align-items: flex-end; height: 100px; }
.hours i { display: block; width: 100%; border-radius: 3px 3px 0 0; background: rgba(255, 255, 255, .55); }
.hours .off i { background: rgba(255, 255, 255, .08); }
.hours span { position: absolute; top: 104px; left: 0; color: var(--text-3); font-size: 11px; white-space: nowrap; }

/* Collections */
.shelf { margin-top: 22px; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.shelf-head h2 { color: var(--text); font-size: 17px; font-weight: 600; }
.shelf-head span { color: var(--text-3); font-size: 13px; }
.shelf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.shelf-tile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; border: 0; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: inherit; cursor: pointer; text-align: left; transition: background .12s; }
.shelf-tile:hover { background: var(--surface-2); }
.shelf-art { position: relative; display: flex; align-items: center; justify-content: center; height: 92px; }
.shelf-art .like { position: absolute; top: 0; right: 0; }
.shelf-name { display: -webkit-box; min-height: 2.6em; overflow: hidden; color: var(--text-2); font-size: 12.5px; line-height: 1.3; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.shelf-tile b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.shelf-tile em { color: var(--text-3); font-size: 12px; font-style: normal; }
.shelf-tile.cheap em { color: #fff; font-weight: 600; }
.shelf-tile.cheap { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
.shelf-tile.dear { opacity: .62; }

/* One screen, no page scroll: sample behind ?fit=1 */
.page:has(> .fit-page) { overflow: hidden; padding: 10px 14px 12px; }
.fit-page { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 280px 300px; grid-template-rows: auto minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: "top top top" "buy side rail" "low side rail"; gap: 10px; }
.fit-top { grid-area: top; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; min-width: 0; }
.fit-words { display: flex; align-items: center; gap: 16px; min-width: 0; }
.page .fit-words h1 { flex: none; font-size: 24px; letter-spacing: -.025em; white-space: nowrap; }
.fit-words p { color: var(--text-3); font-size: 13px; line-height: 1.3; max-width: 70ch; }
.fit-top .chips { grid-column: 1 / -1; flex-wrap: nowrap; overflow: hidden; }
.fit-page .sec-buy { grid-area: buy; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 6px; }
.fit-page .sec-buy .idea-section-head { min-width: 0; }
.fit-page .sec-buy .idea-section-head p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fit-page .sec-buy .idea-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 0; height: 100%; gap: 10px; }
.fit-page .sec-buy .idea-card { min-height: 0; height: 100%; }
.fit-page .sec-buy .idea-stage { flex: 1 1 0; height: auto; min-height: 0; }
.fit-page .sec-buy .idea-foot { padding-bottom: 10px; }
.fit-low { grid-area: low; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr) minmax(0, 1fr); gap: 10px; min-height: 0; }
.fit-side { grid-area: side; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.fit-side .fit-panel { flex: 1 1 0; }
.fit-panel { display: flex; flex-direction: column; gap: 7px; min-height: 0; min-width: 0; padding: 9px 10px 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.fit-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fit-head h2 { overflow: hidden; color: var(--text); font-size: 13.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.fit-head em { flex: none; color: var(--text-3); font-size: 12.5px; font-style: normal; }
.fit-head .link { flex: none; margin-left: auto; padding: 0; font-size: 12px; }
.mini-wrap { position: relative; flex: 1 1 0; min-height: 0; }
.mini-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 6px; align-content: start; overflow: hidden; }
.mini { display: grid; grid-template-columns: var(--art, 58px) minmax(0, 1fr); align-items: center; gap: 8px; min-height: 0; padding: 3px 8px 3px 4px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: background .12s; }
.mini:hover { background: rgba(255, 255, 255, .1); }
.mini-art { display: grid; place-items: center; height: 100%; min-height: 0; overflow: hidden; }
.mini-words { display: flex; flex-direction: column; min-width: 0; line-height: 1.22; }
.mini-name { overflow: hidden; color: var(--text-2); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.mini b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mini em { overflow: hidden; color: var(--text-3); font-size: 11.5px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.fit-page .ideas-rail { grid-area: rail; position: static; min-height: 0; overflow: hidden; gap: 10px; }
.fit-page .ideas-rail .side-panel { flex: none; }
.fit-page .ideas-rail .live-panel { flex: 1 1 0; min-height: 0; overflow: hidden; }
.fit-page .ideas-rail .side-note { display: none; }
.fit-page .ideas-rail .live-panel .side-note { display: block; }
@media (max-height: 800px), (max-width: 1500px) {
  .fit-page { grid-template-columns: minmax(0, 1fr) 232px 254px; grid-template-rows: auto minmax(0, 1.28fr) minmax(0, 1fr); gap: 8px; }
  .page:has(> .fit-page) { padding: 8px 12px 10px; }
  .fit-words p, .fit-page .sec-buy .idea-section-head p, .fit-page .idea-next, .fit-page .idea-sub, .fit-page .market-soon span, .fit-page .ground, .fit-page .glint { display: none; }
  .fit-page .sec-buy .idea-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .fit-page .sec-buy .idea-card { display: grid; grid-template-columns: 36% minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "stage head" "stage list" "stage foot"; }
  .fit-page .sec-buy .idea-stage { grid-area: stage; height: auto; min-height: 0; border-bottom: 0; }
  .fit-page .sec-buy .idea-head { grid-area: head; padding: 7px 10px 0; min-width: 0; }
  .fit-page .sec-buy .idea-name { overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
  .fit-page .sec-buy .idea-list { grid-area: list; padding: 2px 10px 0; align-items: center; }
  .fit-page .sec-buy .idea-list b { font-size: 14px; }
  .fit-page .sec-buy .idea-list em { padding: 1px 6px; font-size: 11px; }
  .fit-page .sec-buy .idea-foot { grid-area: foot; padding: 0 10px 7px; }
  .fit-page .sec-buy .idea-foot b { font-size: 14px; }
  .fit-page .sec-buy .idea-foot .profit b { font-size: 21px; }
  .fit-page .sec-buy .idea-tag { display: none; }
  .fit-low { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: 8px; }
  .fit-panel { padding: 7px 8px 8px; }
  .fit-low .mini { --art: 44px; gap: 6px; }
  .fit-side .mini { --art: 58px; }
  .fit-page .ideas-rail .side-panel:last-child { display: none; }
  .fit-page .ideas-rail .side-panel { padding: 10px 12px; }
}
.fit-side .mini { --art: 84px; }
.fit-side .mini b { font-size: 15px; }

/* Mais visível: só tamanho e contraste */
.idea-sub, .idea-section-head p, .side-note, .chips button, .idea-foot span, .idea-list span { font-size: 14px; }
.idea-tag { font-size: 12.5px; }
.idea-next, .stat span, .long-note, .deal-nums span, .mini em { font-size: 13px; }
.deal-verdict { font-size: 13.5px; }
.panel td.goldtext, .panel td.down { color: var(--text); font-weight: 600; }
