:root{
  --bg0:#070a14;
  --bg1:#0c1224;
  --panel:rgba(255,255,255,.08);
  --panel2:rgba(255,255,255,.06);
  --line:rgba(255,255,255,.10);
  --ink:#f4f6ff;
  --muted:rgba(244,246,255,.72);
  --hot:#ff3b7a;
  --good:#2ee59d;
  --warn:#ffd166;
  --shadow:0 18px 60px rgba(0,0,0,.35);
  --r-xl:26px;
  --r-lg:18px;
  --r-md:14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Avenir Next","Helvetica Neue","Segoe UI",system-ui,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(255,59,122,.35), transparent 55%),
    radial-gradient(1100px 700px at 100% 0%, rgba(46,229,157,.18), transparent 52%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

a{color:inherit}
img{max-width:100%;display:block}

.wrap{
  width:min(1060px, calc(100vw - 24px));
  margin:0 auto;
  padding:22px 0 46px;
  display:grid;
  gap:16px;
}

.panel{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--r-xl);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.hero{
  padding:22px;
  display:grid;
  gap:12px;
}
.kicker{
  display:inline-flex;
  width:fit-content;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:800;
}
h1,h2,h3,p{margin:0}
h1{
  font-size:clamp(30px, 4.4vw, 56px);
  line-height:.95;
  letter-spacing:-.05em;
}
.lede{
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
  max-width:70ch;
}

.grid{
  padding:18px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.stack{
  padding:0;
  display:grid;
  gap:26px;
}

.story{
  background:transparent;
  border:none;
  border-radius:0;
  overflow:visible;
}

.story-media{
  display:grid;
  place-items:center;
  background:#000;
}

.story-media img{
  width:100%;
  height:auto;
  max-height:520px;
  object-fit:cover;
  object-position:center;
}

.story-body{
  padding:16px 10px 0;
  display:grid;
  gap:10px;
}

.story-title{
  font-size:18px;
  font-weight:950;
  letter-spacing:-.02em;
}

.story-copy{
  color:var(--muted);
  line-height:1.55;
  font-size:13px;
}

.pill-row{
  display:grid;
  gap:10px;
}

.pill-question{
  display:grid;
  gap:10px;
}

.pill-q{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
.pill-q .q{
  font-size:18px;
  font-weight:950;
  letter-spacing:-.02em;
}
.pill-q .sub{
  font-size:12px;
  color:var(--muted);
}

.pill-actions{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
.pill-actions.three{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.vote-pill{
  width:100%;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  padding:14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
  user-select:none;
  font-weight:950;
  letter-spacing:-.02em;
  transition:transform .16s ease, background .16s ease, border-color .16s ease, filter .16s ease;
}
.vote-pill:hover{transform:translateY(-1px); filter:saturate(1.06)}

.vote-pill .label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:16px;
}

.vote-pill .bubble{
  font-variant-numeric:tabular-nums;
  font-size:14px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.18);
  color:rgba(244,246,255,.92);
}

.vote-pill.yes{
  background:rgba(46,229,157,.22);
  border-color:rgba(46,229,157,.38);
}
.vote-pill.no{
  background:rgba(255,59,122,.22);
  border-color:rgba(255,59,122,.38);
}
.vote-pill.huh{
  background:rgba(255,209,102,.20);
  border-color:rgba(255,209,102,.36);
}

.thumb-card{
  display:grid;
  gap:12px;
  padding:0;
  align-items:stretch;
  background:transparent;
  border:none;
  border-radius:0;
  box-shadow:none;
}

.thumb{
  width:100%;
  height:auto;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:#0b1020;
}

.thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}

.thumb-title{
  margin-top:12px;
  font-size:22px;
  font-weight:950;
  letter-spacing:-.03em;
}
.click-here{
  display:inline-block;
  margin-top:10px;
  font-weight:950;
  font-size:16px;
  text-decoration:none;
}
.click-here:hover{ text-decoration:underline; }

.notice{
  color:var(--muted);
  font-size:12px;
}

.biglink{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:4px;
}
.biglink a{
  text-decoration:none;
  font-weight:950;
}
.biglink .primary-link{
  font-size:22px;
  letter-spacing:-.03em;
}
.biglink .secondary-link{
  font-size:14px;
  color:rgba(244,246,255,.82);
}
.biglink a:hover{ text-decoration:underline; }

.cta-line{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding:8px 10px 0;
}
.cta-line .cta-text{
  font-size:26px;
  font-weight:950;
  letter-spacing:-.04em;
}
.cta-line a{
  font-size:16px;
  font-weight:950;
  text-decoration:none;
}
.cta-line a:hover{ text-decoration:underline; }
.card{
  background:var(--panel2);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:16px;
  display:grid;
  gap:8px;
  text-decoration:none;
  transition:transform .16s ease, border-color .16s ease, background .16s ease;
}
.card:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.20);
  background:rgba(255,255,255,.085);
}
.card h3{
  font-size:16px;
  letter-spacing:-.02em;
}
.card p{
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.tagrow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.tag{
  font-size:11px;
  font-weight:800;
  color:rgba(244,246,255,.8);
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  padding:6px 10px;
  border-radius:999px;
}
.tag.hot{border-color:rgba(255,59,122,.35); color:rgba(255,200,220,.95)}
.tag.good{border-color:rgba(46,229,157,.28); color:rgba(198,255,235,.95)}

.widget{
  padding:18px;
  display:grid;
  gap:14px;
}
.widget-head{
  display:grid;
  gap:6px;
}
.widget-head h1{
  font-size:clamp(28px, 4vw, 44px);
  max-width:18ch;
}
.widget-head p{
  color:var(--muted);
  line-height:1.5;
}

.vote-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.btn{
  appearance:none;
  border:none;
  cursor:pointer;
  border-radius:var(--r-lg);
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--ink);
  padding:14px 14px;
  font-weight:900;
  letter-spacing:-.01em;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  transition:transform .16s ease, background .16s ease, border-color .16s ease;
}
.btn:hover{transform:translateY(-1px); background:rgba(255,255,255,.085); border-color:rgba(255,255,255,.22)}
.btn .side{display:flex; align-items:center; gap:10px}
.emoji{font-size:20px}
.count{
  font-variant-numeric:tabular-nums;
  font-size:14px;
  color:rgba(244,246,255,.85);
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.12);
  padding:6px 10px;
  border-radius:999px;
}

.mini{
  color:var(--muted);
  font-size:12px;
}

.stamp{
  justify-self:start;
  display:none;
  margin-top:8px;
  padding:12px 14px;
  border-radius:16px;
  border:2px solid rgba(46,229,157,.55);
  color:rgba(198,255,235,.98);
  background:rgba(46,229,157,.10);
  box-shadow:0 12px 40px rgba(46,229,157,.10);
  transform:rotate(-2deg);
}
.stamp strong{display:block; font-size:13px; letter-spacing:.08em; text-transform:uppercase}
.stamp span{display:block; margin-top:6px; font-size:12px; color:rgba(244,246,255,.78)}
.stamp.show{display:block; animation:pop .22s ease}
@keyframes pop{from{transform:rotate(-2deg) scale(.96); opacity:.0} to{transform:rotate(-2deg) scale(1); opacity:1}}

.form{
  display:grid;
  gap:10px;
  max-width:720px;
}
label{font-size:12px; color:var(--muted); font-weight:800; letter-spacing:.06em; text-transform:uppercase}
input, textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--ink);
  padding:12px 12px;
  font:inherit;
}
textarea{min-height:110px; resize:vertical}
.submit{
  width:fit-content;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(90deg, rgba(255,59,122,.95), rgba(255,209,102,.88));
  color:#130816;
  font-weight:950;
  cursor:pointer;
}
.submit:hover{filter:saturate(1.06)}

.foot{
  padding:16px 18px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.foot a{color:rgba(244,246,255,.85); text-decoration:none}
.foot a:hover{text-decoration:underline}

@media (max-width: 900px){
  .grid{grid-template-columns:1fr}
  .vote-row{grid-template-columns:1fr}
  .thumb-card{grid-template-columns:1fr}
  .thumb{height:auto}
  .story-media img{max-height:60vh; object-fit:contain; background:#000}
  .pill-actions{grid-template-columns:1fr}
  .pill-actions.three{grid-template-columns:1fr}
}
