@import url("flare.css?v=5");

/* Page 2 — ballot desk (distinct from centered gate card) */

.proposal-banner {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: #fff;
  padding: 28px 0 32px;
  overflow: hidden;
}

.proposal-banner::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230, 32, 88, 0.45), transparent);
  pointer-events: none;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.banner-inner h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.banner-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-soft);
}

.quorum-ring {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px 18px;
}

.ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: conic-gradient(var(--pink) 0 245deg, rgba(255, 255, 255, 0.12) 245deg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ring span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.quorum-ring div small {
  display: block;
  font-size: 11px;
  color: #aeb4bd;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quorum-ring div strong {
  font-size: 15px;
  font-weight: 700;
}

.desk-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  padding: 48px 24px 56px;
  align-items: start;
}

.desk-main h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 20px;
}

.timeline {
  list-style: none;
  display: grid;
  gap: 0;
  margin-bottom: 32px;
}

.timeline li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-bottom: 22px;
  position: relative;
}

.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--pink), #f0efe9);
}

.timeline .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--pink);
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.timeline strong {
  display: block;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
}

.timeline span {
  font-size: 14px;
  color: #5b616a;
  line-height: 1.5;
}

.checklist {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.checklist h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--navy);
}

.checklist ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li {
  font-size: 14px;
  color: #4b5158;
  padding-left: 22px;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(230, 32, 88, 0.15);
}

.desk-panel {
  position: sticky;
  top: 88px;
}

.panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: 0 28px 60px rgba(15, 30, 40, 0.1);
}

.panel-card .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-card h2 {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.panel-lead {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.countdown {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.countdown .cell {
  background: #faf9f6;
  border: 1px solid #efeee8;
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
}

.countdown .n {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.countdown .l {
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a7adb0;
}

.date-options {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.date-opt {
  border: 1px solid #efeee8;
  border-radius: 14px;
  padding: 14px 16px;
  background: #faf9f6;
}

.date-opt-head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.date-opt-head em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
}

.opt-bar {
  margin-top: 8px;
  height: 6px;
  border-radius: 999px;
  background: #eef0ec;
  overflow: hidden;
}

.opt-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--pink-soft));
}

.vote-actions {
  margin-top: 22px;
}

.vote-actions .btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

.vote-note {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: #9aa0a6;
  line-height: 1.45;
}

.alloc-strip {
  position: relative;
  z-index: 1;
  margin: 0 24px 20px;
  max-width: 1072px;
  margin-left: auto;
  margin-right: auto;
  background: #fff4f7;
  border: 1px solid #ffd3e0;
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  color: #9b2247;
  line-height: 1.5;
}

.alloc-strip b {
  color: var(--pink);
}

.alloc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(230, 32, 88, 0.15);
}

@media (max-width: 900px) {
  .desk-layout {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .desk-panel {
    position: static;
  }

  .banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
