:root{
  --bg:#fbfbf7;
  --ink:#12131a;
  --muted:#5a6072;
  --line:rgba(18,19,26,.14);

  /* One accent. Change this and the whole site changes. */
  --accent:#ff3b7a;

  --r:14px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
body{
  margin:0;
  color:var(--ink);
  background:
    linear-gradient(to right, rgba(18,19,26,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18,19,26,.035) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
  font-family: var(--sans);
}

a{color:inherit}
code{font-family:var(--mono); font-size:.95em}

.wrap{max-width:980px; margin:0 auto; padding:28px 16px 36px}

.top{
  position:sticky;
  top:0;
  z-index:10;
  background: rgba(251,251,247,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.brand-dot{
  width:12px;height:12px;
  background: var(--accent);
  border-radius:3px;
  box-shadow: 0 0 0 4px rgba(255,59,122,.14);
}
.brand-name{
  font-weight:800;
  letter-spacing:.2px;
}

.nav{
  display:flex;
  gap:14px;
}
.nav a{
  text-decoration:none;
  color:var(--muted);
  font-size:14px;
}
.nav a:hover{color:var(--ink)}

.hero{
  padding:22px;
  border:1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,.65);
}
.hero h1{
  margin:0 0 8px;
  font-size:40px;
  letter-spacing:-.4px;
}
.hero p{
  margin:0;
  color:var(--muted);
  font-size:16px;
}
@media (max-width:560px){
  .hero h1{font-size:32px}
}

.section{margin-top:18px}

.controls{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.controls input,
.controls select{
  height:42px;
  border:1px solid var(--line);
  border-radius: 12px;
  padding:0 12px;
  background: rgba(255,255,255,.75);
  color:var(--ink);
  outline:none;
}
.controls input{min-width:240px; flex:1}
.controls select{min-width:170px}
.controls input:focus,
.controls select:focus{
  border-color: rgba(255,59,122,.55);
  box-shadow: 0 0 0 3px rgba(255,59,122,.12);
}

.grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width:900px){ .grid{grid-template-columns: repeat(2,1fr)} }
@media (max-width:560px){ .grid{grid-template-columns: 1fr} }

.card{
  border:1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,.75);
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  position:relative;
}

/* Tiny retro: pixel-corner notch */
.card:before{
  content:"";
  position:absolute;
  top:-1px; left:-1px;
  width:10px; height:10px;
  background:
    linear-gradient(90deg, var(--accent) 0 2px, transparent 2px),
    linear-gradient(180deg, var(--accent) 0 2px, transparent 2px);
  opacity:.55;
}

.head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.title{
  font-weight:800;
}
.badge{
  font-family: var(--mono);
  font-size:12px;
  color: rgba(255,59,122,.95);
  border:1px solid rgba(255,59,122,.25);
  background: rgba(255,59,122,.06);
  padding:4px 8px;
  border-radius: 999px;
  white-space:nowrap;
}
.blurb{
  color:var(--muted);
  line-height:1.5;
}

.meta{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.keys{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.key{
  font-family: var(--mono);
  font-size:12px;
  color: rgba(18,19,26,.78);
  border:1px solid rgba(18,19,26,.14);
  background: rgba(18,19,26,.04);
  padding:4px 8px;
  border-radius:999px;
}

.play{
  text-decoration:none;
  font-family: var(--mono);
  font-size:13px;
  padding:9px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,59,122,.35);
  background: rgba(255,59,122,.08);
}
.play:hover{
  border-color: rgba(255,59,122,.70);
  background: rgba(255,59,122,.12);
}

.empty{
  margin-top:14px;
  padding:14px;
  border:1px dashed rgba(18,19,26,.20);
  border-radius: var(--r);
  color:var(--muted);
  background: rgba(255,255,255,.55);
}

.about{
  padding:18px;
  border:1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,.55);
}
.about h2{
  margin:0 0 10px;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.9px;
}
.about p{margin:0; color:var(--muted); line-height:1.6}
.about p + p{margin-top:10px}

.foot{
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-family: var(--mono);
  font-size:12px;
}
