@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=IBM+Plex+Mono:wght@500;600&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg:#0F1010;
  --panel:#1A1B1B;
  --panel-border:#343536;
  --text:#D7DADC;
  --text-dim:#888A8C;
  --flame:#FF5A1F;
  --flame-dim:#B33F13;
  --upvote:#46D160;
  --rail:#272729;
}

*{box-sizing:border-box;margin:0;padding:0;}

body{
  background:
    radial-gradient(circle at 15% 10%, rgba(255,90,31,0.08), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(70,209,96,0.06), transparent 40%),
    var(--bg);
  color:var(--text);
  font-family:'Inter',sans-serif;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px 16px;
}

.wrap{
  width:100%;
  max-width:620px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.tag{
  font-family:'IBM Plex Mono',monospace;
  font-size:13px;
  font-weight:600;
  color:var(--flame);
  background:rgba(255,90,31,0.1);
  border:1px solid var(--flame-dim);
  padding:6px 14px;
  border-radius:999px;
  letter-spacing:0.02em;
  margin-bottom:22px;
}

.eyebrow{
  font-size:14px;
  font-weight:700;
  letter-spacing:0.08em;
  color:var(--flame);
  margin-bottom:10px;
}

h1{
  font-family:'Archivo Black',sans-serif;
  font-size:clamp(28px,5vw,44px);
  line-height:1.12;
  letter-spacing:-0.01em;
  margin-bottom:32px;
  color:#fff;
}

h1 .hl{
  color:var(--upvote);
}

.post-card{
  width:100%;
  background:var(--panel);
  border:1px solid var(--panel-border);
  border-radius:12px;
  display:flex;
  overflow:hidden;
  text-align:left;
  margin-bottom:34px;
}

.vote-rail{
  background:var(--rail);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:20px 16px;
  border-right:1px solid var(--panel-border);
  min-width:74px;
}

.vote-rail .arrow{
  width:0;
  height:0;
  border-left:11px solid transparent;
  border-right:11px solid transparent;
}

.arrow.up{
  border-bottom:16px solid var(--upvote);
}

.arrow.down{
  border-top:16px solid var(--text-dim);
  opacity:0.5;
}

.karma{
  font-family:'IBM Plex Mono',monospace;
  font-weight:600;
  font-size:16px;
  color:var(--upvote);
}

.post-body{
  padding:22px 24px;
}

.form-title{
  font-size:15px;
  font-weight:600;
  color:var(--text);
  margin-bottom:14px;
}

form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

input{
  width:100%;
  background:#0F1010;
  border:1px solid var(--panel-border);
  border-radius:6px;
  padding:13px 14px;
  color:var(--text);
  font-family:'Inter',sans-serif;
  font-size:15px;
  outline:none;
  transition:border-color .15s ease;
}

input:focus{
  border-color:var(--flame);
}

button{
  margin-top:4px;
  background:var(--flame);
  color:#0F1010;
  border:none;
  border-radius:999px;
  padding:14px 20px;
  font-family:'Inter',sans-serif;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  transition:transform .12s ease, background .15s ease;
}

button:hover{
  background:#FF7A45;
  transform:translateY(-1px);
}

button:active{
  transform:translateY(0);
}

.disclaimer{
  font-family:'IBM Plex Mono',monospace;
  font-size:12px;
  color:var(--text-dim);
  max-width:440px;
}

@media (max-width:480px){
  .post-card{flex-direction:column;}
  .vote-rail{
    flex-direction:row;
    border-right:none;
    border-bottom:1px solid var(--panel-border);
    min-width:0;
  }
}
