:root {
  --bg: #0d0f14;
  --surface: #151820;
  --elev: #1c212b;
  --fg: #f4f6f8;
  --muted: #9aa3b2;
  --subtle: #6d7585;
  --line: #2a3140;
  --accent: #c8f531;
  --accent-fg: #14180a;
  --cheap: #c8f531;
  --shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.9);
  --sans: Inter, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, .btn { cursor: pointer; }
img { max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.wide { width: min(1440px, calc(100% - 24px)); margin: 0 auto; }
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 15, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.bar {
  display: flex; align-items: center; gap: 10px;
  height: 42px; border-bottom: 1px solid var(--line);
  width: min(1440px, calc(100% - 24px)); margin: 0 auto;
  font-size: 12px;
}
.pill {
  display: inline-flex; align-items: center; height: 26px;
  padding: 0 10px; border-radius: 999px; background: var(--elev); font-weight: 650;
}
.grow { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cur {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.cur a { padding: 5px 9px; color: var(--muted); font-size: 12px; font-weight: 650; }
.cur a.on { background: var(--accent); color: var(--accent-fg); }
.nav {
  display: flex; align-items: center; gap: 4px;
  width: min(1440px, calc(100% - 24px)); margin: 0 auto; min-height: 58px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 760; letter-spacing: 0.04em; margin-right: 8px; }
.brand svg { display: block; }
.links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.links a, .links summary {
  display: inline-flex; align-items: center; height: 34px; padding: 0 12px;
  border-radius: 999px; color: var(--muted); font-size: 14px; list-style: none;
}
.links a:hover, .links summary:hover, .links a.on { color: var(--fg); background: var(--elev); }
.links details { position: relative; }
.links details summary::-webkit-details-marker { display: none; }
.menu {
  position: absolute; top: 40px; left: 0; min-width: 230px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 8px; box-shadow: var(--shadow); z-index: 5;
}
.menu a { display: flex; width: 100%; height: auto; padding: 8px 10px; border-radius: 10px; }
.find { margin-left: auto; display: flex; gap: 6px; }
.find input, .field, select, textarea {
  background: var(--elev); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none;
}
.find input { width: 180px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 10px; padding: 10px 14px; background: var(--accent); color: var(--accent-fg); font-weight: 720;
}
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.mob { display: none; padding: 0 12px 12px; }
.mob summary { color: var(--muted); cursor: pointer; }
.banner, .alert, .note {
  border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 12px; color: var(--muted);
}
.banner { width: min(1440px, calc(100% - 24px)); margin: 10px auto 0; color: var(--fg); }
.alert { border-color: #6a3b2a; background: #241811; color: #ffd7c2; }
.note { border-color: #3d4a22; background: #171c12; color: #e7f7c4; }
main { padding: 28px 0 64px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 0.96; margin: 8px 0 12px; letter-spacing: -0.04em; }
.kicker { color: var(--subtle); font-size: 12px; letter-spacing: 0.16em; font-weight: 700; }
.lead { max-width: 620px; color: var(--muted); font-size: 17px; }
.hero-form, .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.hero-form input { flex: 1; min-width: 240px; }
.steps, .grid, .markets, .split { display: grid; gap: 12px; }
.steps { grid-template-columns: repeat(3, 1fr); margin: 28px 0; }
.card, .panel {
  background: var(--surface); border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.panel { padding: 16px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 10px; min-width: 0; }
.card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(200, 245, 49, 0.45), var(--shadow); }
.grid { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); }
.card-top, .card-meta, .spread { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { font-weight: 760; }
.mkt, .fine, .muted { color: var(--muted); }
.fine { font-size: 13px; }
.art {
  position: relative; aspect-ratio: 4/3; border-radius: 12px; background: #10131a;
  display: grid; place-items: center; overflow: hidden;
}
.art img { width: 100%; height: 100%; object-fit: contain; padding: 8px; position: relative; z-index: 1; }
.art::before {
  content: ""; position: absolute; inset: 18% 8% 18%; border-radius: 999px;
  background: radial-gradient(ellipse at center, var(--glow, rgba(200, 245, 49, 0.35)), transparent 68%);
}
.stage { height: 320px; border-radius: 20px; margin-bottom: 16px; }
.float { position: relative; height: 6px; border-radius: 99px; background: linear-gradient(90deg, #3ecf6e, #d6e24a 28%, #f0b429 52%, #ef6b2f 74%, #e23b3b); }
.float i { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 99px; background: var(--fg); border: 1px solid var(--bg); transform: translate(-50%, -50%); }
.name { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { font-size: 11px; font-weight: 760; border-radius: 999px; padding: 3px 7px; background: var(--elev); color: var(--muted); }
.w-fn { background: #14301f; color: #8dffb0; }
.w-mw { background: #2a3314; color: #dff58a; }
.w-ft { background: #3a2e12; color: #ffd27a; }
.w-ww { background: #3a2214; color: #ffb088; }
.w-bs { background: #3a1618; color: #ff9aa0; }
.h2 { margin: 28px 0 12px; font-size: 22px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips a, .wear-tab {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; color: var(--muted); background: transparent;
}
.chips a.on, .wear-tab.on { background: var(--elev); color: var(--fg); }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 680; }
.foot { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); }
.foot .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot a { display: inline-block; margin: 4px 12px 0 0; }
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  background: var(--elev); border: 1px solid var(--line); border-radius: 14px; padding: 12px;
}
.desk { display: grid; grid-template-columns: 250px 1fr; gap: 16px; align-items: start; }
.side a, .side button { display: flex; width: 100%; text-align: left; margin: 0 0 6px; background: transparent; border: 0; color: var(--muted); padding: 6px 0; }
.side a.on, .side .on { color: var(--fg); }
.split { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
.markets { gap: 8px; }
.mrow {
  display: grid; grid-template-columns: 18px 1fr auto auto; gap: 10px; align-items: center;
  padding: 12px; border-radius: 12px; background: var(--elev);
}
.mrow.cheap { box-shadow: inset 0 0 0 1px rgba(200, 245, 49, 0.7); }
.dot { width: 8px; height: 8px; border-radius: 99px; background: var(--subtle); }
.mrow.cheap .dot { background: var(--accent); }
.stars { display: flex; gap: 6px; }
.stars button { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--elev); }
.idcard { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin: 0 0 16px; }
.idcard div { background: var(--elev); border-radius: 12px; padding: 10px; }
.idcard dt { color: var(--subtle); font-size: 12px; }
.idcard dd { margin: 4px 0 0; }
.prose { white-space: pre-wrap; color: var(--muted); line-height: 1.6; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.pager a { padding: 8px 10px; border-radius: 10px; background: var(--elev); color: var(--muted); }
.pager a.on { background: var(--accent); color: var(--accent-fg); }
.admin { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin nav { border-right: 1px solid var(--line); padding: 18px; background: #10131a; }
.admin nav a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--muted); }
.admin nav a.on { background: var(--elev); color: var(--fg); }
.admin main { padding: 22px; }
label { display: grid; gap: 6px; margin: 0 0 12px; color: var(--muted); font-size: 13px; }
label input, label textarea, label select { width: 100%; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login form { width: min(420px, 100%); }
.hp { position: absolute; left: -9999px; }
table { width: 100%; border-collapse: collapse; }
td { border-top: 1px solid var(--line); padding: 8px 6px; vertical-align: top; }
@media (max-width: 860px) {
  .links, .find { display: none; }
  .mob { display: block; }
  .steps, .desk, .split, .admin { grid-template-columns: 1fr; }
  .stage { height: 220px; }
  .find.m { display: flex; margin: 8px 0 0; }
  .cookie { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}
