:root {
  color-scheme: dark;
  --bg: #061116;
  --panel: #0b2023;
  --line: #21403d;
  --text: #edf9f5;
  --soft: #b4d0c7;
  --muted: #93b2a8;
  --mint: #31ecaa;
  --lime: #b7ff69;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1160px, calc(100% - 44px)); margin-inline: auto; }
.site-header { background: #061116ee; border-bottom: 1px solid #193632; }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand, .nav-links { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid #31ecaa51; border-radius: 13px; background: #092820;
  box-shadow: 0 0 25px #25e2a123; color: var(--mint);
}
.brand-mark svg { width: 31px; height: 31px; }
.brand strong { display: block; font-size: 21px; letter-spacing: -.055em; line-height: 1.1; }
.brand small { display: block; font-size: 10px; letter-spacing: .075em; color: #9abcaf; margin-top: 4px; }
.nav-links a { color: var(--soft); padding: 7px 12px; border-radius: 9px; font-size: 14px; font-weight: 700; }
.nav-links a:hover, .nav-links [aria-current] { color: var(--mint); }
.nav-links [aria-current] { background: #0e2b26; }
main { flex: 1; }
.hero {
  padding: 67px 0 57px;
  background: radial-gradient(ellipse at 27% 10%, #16604a50, transparent 72%),
    linear-gradient(#1c5e521f 1px, transparent 1px),
    linear-gradient(90deg, #1c5e521f 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  border-bottom: 1px solid var(--line);
}
.hero h1 { margin: 0 0 12px; font-size: clamp(42px, 7vw, 78px); letter-spacing: -.065em; line-height: 1.04; }
.hero h1 span { color: var(--mint); }
.hero p { max-width: 560px; color: var(--soft); font-size: 17px; margin: 0; }
.results { padding-block: 33px 66px; }
.section-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-bar h2 { font-size: 22px; letter-spacing: -.03em; margin: 0; }
.muted, .entry-meta { color: var(--muted); font-size: 13px; }
.cards { display: grid; gap: 16px; }
.feed .cards { max-width: 810px; }
.marketplace .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid #2b514a;
  border-radius: 18px; background: linear-gradient(145deg, #0e2828, #091a20 75%);
  box-shadow: 0 14px 30px #0207094a;
}
.card-body { padding: 21px; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.card h3 { margin: 7px 0 9px; font-size: 23px; letter-spacing: -.035em; line-height: 1.25; overflow-wrap: anywhere; }
.entry-meta { margin: 0; overflow-wrap: anywhere; }
.entry-copy { margin: 0 0 16px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--soft); font-size: 15px; }
.card .listing-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #091619; }
.card-top, .pager, .footer-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-top { justify-content: space-between; }
.pill { color: var(--mint); background: #103129; border: 1px solid #286349; border-radius: 100px; padding: 3px 9px; font-size: 12px; font-weight: 700; }
.price { color: var(--lime); font-weight: 700; overflow-wrap: anywhere; }
.entry-link { color: var(--mint); width: fit-content; margin-top: auto; font-size: 14px; font-weight: 700; }
.entry-link:hover { text-decoration: underline; }
.status { padding: 22px; max-width: 810px; border: 1px dashed #386257; border-radius: 14px; color: var(--soft); }
.pager { margin-top: 22px; }
.pager button, .retry {
  color: var(--text); background: #0b2525; border: 1px solid #367061;
  border-radius: 10px; padding: 8px 14px; cursor: pointer; font-weight: 700;
}
.retry { margin-top: 12px; }
.pager button:disabled { opacity: .5; cursor: default; }
.site-footer { border-top: 1px solid var(--line); background: #041014; }
.footer-inner { justify-content: space-between; min-height: 76px; font-size: 13px; color: var(--muted); }
.footer-inner a { color: var(--soft); }
@media (max-width: 900px) { .marketplace .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 590px) {
  .shell { width: calc(100% - 30px); }
  .nav { flex-wrap: wrap; justify-content: flex-start; padding-block: 12px; gap: 8px; }
  .nav-links a { padding-inline: 8px; }
  .marketplace .cards { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 45px 0 39px; }
}
