/* Fresh clean dark glass UI */
:root{
  --bg:#0b0b10;
  --card: rgba(18,18,24,.62);
  --border: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --shadow: 0 10px 35px rgba(0,0,0,.45);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background: var(--bg);
}
.bg{
  position:fixed; inset:0;
  background: url("/assets/background.jpg") center/cover no-repeat;
  transform: scale(1.02);
  opacity:.95;
}
.bg::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(80% 60% at 30% 20%, rgba(0,0,0,.35), rgba(0,0,0,.78)),
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.90));
}
.wrap{position:relative; z-index:1; max-width:980px; margin:0 auto; padding:28px 16px 34px}
.hero{
  display:flex; gap:16px; align-items:flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.logo{
  width:92px; height:92px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  object-fit: cover;
}
.titles h1{margin:0; font-size: 28px; letter-spacing:.2px}
.titles p{margin:6px 0 10px; color: var(--muted)}
.chips{display:flex; flex-wrap:wrap; gap:10px; margin:10px 0 6px}
.chip{
  display:flex; gap:8px; align-items:center;
  padding:8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.10);
}
.status{color: var(--muted); font-size: 14px; margin-top: 6px}
.lock{color: rgba(255,255,255,.78); font-size: 13px; margin-top: 6px}

.card{
  margin-top: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.card h2{margin:0 0 10px; font-size: 18px}
.option{
  display:flex; gap:12px; align-items:flex-start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  margin: 10px 0;
}
.option input{margin-top: 6px; transform: scale(1.1)}
.opt-title{font-weight: 900}
.opt-sub{color: var(--muted); margin-top: 2px}
.pill{
  display:inline-grid; place-items:center;
  width: 22px; height: 22px;
  border-radius: 8px;
  margin-right: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 12px;
}
.grid2{display:grid; grid-template-columns: 1fr; gap:10px; margin-top: 10px}
@media (min-width: 720px){ .grid2{grid-template-columns: 1fr 1fr} }
.lbl{display:block; font-size: 13px; color: var(--muted); margin: 10px 0 6px}
.inp{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.30);
  color: var(--text);
  outline:none;
}
.ta{min-height: 86px; resize: vertical}
.btn{
  width:100%;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.12);
  color: var(--text);
  font-weight: 900;
  cursor:pointer;
}
.btn:hover{background: rgba(255,255,255,.16)}
.btn:disabled{opacity:.55; cursor:not-allowed}
.btn.ghost{width:auto; margin-top:0; padding: 10px 12px; background: rgba(0,0,0,.25)}
.help{margin-top: 10px; color: var(--muted); font-size: 14px}
.muted{color: var(--muted); font-size: 14px}
.row{display:flex; align-items:center; justify-content:space-between; gap:10px}

.votes{display:grid; gap:10px; margin-top: 10px}
.vote-item{
  display:grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.10);
}
.badge{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 900;
}
.name{font-weight: 900}
.meta{color: var(--muted); font-size: 13px}
.comment{margin-top: 6px; color: rgba(255,255,255,.86)}
.footer{margin-top: 14px; color: rgba(255,255,255,.72); display:flex; gap:10px; justify-content:center; flex-wrap:wrap; font-size: 13px}
.dot{opacity:.6}
.debug{margin-top:10px}
.debug summary{cursor:pointer; color:rgba(255,255,255,.8)}
.debug pre{white-space:pre-wrap; background:rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.10); padding:10px; border-radius:12px; overflow:auto}
