.wishlist-page .wrap {
  width: min(1160px, calc(100% - 32px));
  gap: 16px;
}

.wishlist-hero {
  border: 1px solid #d4e0f1;
  border-radius: 20px;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(640px 280px at -8% 0%, #deebff 0%, transparent 72%),
    radial-gradient(460px 220px at 104% 12%, #e4efff 0%, transparent 74%),
    #ffffff;
  box-shadow: 0 18px 36px rgba(13, 33, 73, 0.08);
}

.wishlist-hero--detail {
  padding-bottom: clamp(18px, 3vw, 28px);
}

.wishlist-eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #4d6290;
}

.wishlist-hero h1 {
  margin: 10px 0 12px;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #13284b;
}

.wishlist-hero p {
  margin: 0;
  max-width: 760px;
  color: #5a6f94;
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.6;
}

.wishlist-alert {
  border-radius: 14px;
  border: 1px solid;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
}

.wishlist-alert a {
  color: inherit;
  font-weight: 800;
}

.wishlist-alert-cta {
  display: block;
  margin-top: 4px;
}

.wishlist-alert.ok {
  border-color: #b5e0c4;
  background: #effbf3;
  color: #1f7447;
}

.wishlist-alert.error {
  border-color: #f0c5cc;
  background: #fff3f6;
  color: #a83a52;
}

.wishlist-locked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.wishlist-locked p {
  margin: 2px 0 0;
  color: #2a3f66;
  font-weight: 500;
}

.wishlist-locked-title {
  margin: 0;
  color: #11396f;
  font-weight: 800;
}

.wishlist-locked-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wishlist-controls {
  display: grid;
  gap: 14px;
}

.wishlist-tabs {
  display: inline-flex;
  gap: 8px;
}

.wishlist-tab {
  text-decoration: none;
  border: 1px solid #cddaf0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #22416f;
  font-weight: 700;
  font-size: 14px;
  background: #f6f9ff;
}

.wishlist-tab.active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #0050c8 0%, #00398f 100%);
}

.wishlist-filter-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) repeat(3, minmax(130px, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.wishlist-filter-form label,
.wishlist-submit-form label,
.wishlist-vote-form label {
  display: grid;
  gap: 6px;
}

.wishlist-filter-form span,
.wishlist-submit-form span,
.wishlist-vote-form span {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
  color: #506792;
}

.wishlist-filter-form input,
.wishlist-filter-form select,
.wishlist-submit-form input,
.wishlist-submit-form textarea,
.wishlist-vote-form input {
  width: 100%;
  border: 1px solid #cfdbef;
  border-radius: 10px;
  padding: 10px 12px;
  color: #1a2e54;
  font-size: 14px;
  line-height: 1.4;
  background: #ffffff;
}

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

.wishlist-two-lane {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wishlist-lane {
  display: grid;
  gap: 14px;
}

.lane-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  color: #13284b;
}

.lane-head p {
  margin: 8px 0 0;
  color: #5f7499;
  font-size: 14px;
}

.roadmap-column {
  border: 1px solid #d5e0f1;
  border-radius: 16px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 12px 26px rgba(12, 29, 62, 0.06);
}

.roadmap-column h2 {
  margin: 2px 0 12px;
  font-size: 16px;
  color: #162c53;
}

.roadmap-item {
  display: block;
  text-decoration: none;
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  padding: 12px;
  background: #fbfdff;
  margin-top: 10px;
  color: inherit;
}

.roadmap-item h3 {
  margin: 0;
  font-size: 16px;
  color: #12284a;
  line-height: 1.25;
}

.roadmap-item p {
  margin: 8px 0 0;
  color: #5e7399;
  font-size: 14px;
  line-height: 1.45;
}

.roadmap-meta {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #5a6e91;
  font-size: 12px;
  font-weight: 700;
}

.roadmap-empty,
.request-empty {
  margin: 0;
  border: 1px dashed #ccdaef;
  border-radius: 12px;
  padding: 14px;
  color: #61769c;
  background: #fbfdff;
}

.wishlist-requests {
  display: grid;
  gap: 10px;
}

.wishlist-requests.compact .request-card {
  padding: 12px;
}

.request-card {
  border: 1px solid #d6e2f2;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 12px 24px rgba(12, 27, 60, 0.05);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.request-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
  color: #58709a;
}

.request-card h2 {
  margin: 8px 0 8px;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.request-card h3 {
  margin: 8px 0 8px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.request-card h2 a {
  text-decoration: none;
  color: #112649;
}

.request-card h3 a {
  text-decoration: none;
  color: #112649;
}

.request-card p {
  margin: 0;
  color: #62769c;
  line-height: 1.5;
}

.request-side {
  min-width: 104px;
  border: 1px solid #d9e4f4;
  border-radius: 12px;
  background: #f8fbff;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 12px 10px;
  color: #5b6f95;
}

.request-side strong {
  color: #17325f;
  font-size: 22px;
  line-height: 1;
}

.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 5px 9px;
}

.status.planned {
  background: #e7f0ff;
  color: #1252bc;
}

.status.in_progress {
  background: #fff3df;
  color: #945f12;
}

.status.completed {
  background: #e9f7ee;
  color: #1e7646;
}

.source-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 5px 9px;
}

.source-pill.user {
  background: #e9f1ff;
  color: #124ea5;
}

.source-pill.public {
  background: #f3f6fc;
  color: #586f97;
}

.btn-primary {
  color: #ffffff;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #0050c8 0%, #00398f 100%);
  box-shadow: 0 10px 22px rgba(0, 66, 168, 0.24);
}

.wishlist-submit h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #13294d;
}

.wishlist-submit p {
  margin: 8px 0 0;
  color: #64799f;
  font-size: 15px;
  line-height: 1.55;
}

.wishlist-submit-form {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.wishlist-rate-note {
  margin: 0;
  color: #61779d;
  font-size: 12px;
  line-height: 1.45;
}

.wishlist-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wishlist-submit-disabled {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.wishlist-submit-disabled p {
  margin: 0;
  font-size: 13px;
  color: #5a6f94;
}

.wishlist-submit-disabled .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.wishlist-submit-form textarea {
  resize: vertical;
}

.wishlist-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 12px;
}

.wishlist-detail-main {
  display: grid;
  gap: 16px;
}

.wishlist-detail-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: #5b7095;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wishlist-detail-description {
  color: #243a61;
  font-size: 17px;
  line-height: 1.7;
  white-space: pre-line;
}

.wishlist-public-update {
  border: 1px solid #d6e2f2;
  border-radius: 12px;
  background: #f7faff;
  padding: 14px;
}

.wishlist-public-update h2 {
  margin: 0;
  font-size: 18px;
  color: #18305a;
}

.wishlist-public-update p {
  margin: 8px 0 0;
  color: #5a6f94;
  line-height: 1.55;
}

.wishlist-detail-side {
  align-self: start;
  display: grid;
  gap: 12px;
  position: sticky;
  top: 92px;
}

.wishlist-votes-count {
  margin: 0;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(38px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #113b89;
}

.wishlist-votes-label {
  margin: -6px 0 0;
  color: #5c7095;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.wishlist-followers {
  margin: -4px 0 4px;
  color: #5f749a;
  font-size: 13px;
  font-weight: 600;
}

.wishlist-vote-form {
  display: grid;
  gap: 10px;
}

.vote-email-note {
  margin: 0;
  color: #5c7197;
  font-size: 13px;
  line-height: 1.4;
}

.btn-ghost {
  color: #19428e;
  border: 1px solid #cad9f0;
  background: #f8fbff;
}

.wishlist-vote-form .btn[disabled] {
  opacity: 0.58;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 980px) {
  .wishlist-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wishlist-filter-form .btn {
    grid-column: span 2;
  }

  .wishlist-roadmap {
    grid-template-columns: 1fr;
  }

  .wishlist-two-lane {
    grid-template-columns: 1fr;
  }

  .wishlist-detail-grid {
    grid-template-columns: 1fr;
  }

  .wishlist-detail-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .wishlist-page .wrap {
    width: calc(100% - 20px);
  }

  .wishlist-filter-form {
    grid-template-columns: 1fr;
  }

  .wishlist-filter-form .btn {
    grid-column: span 1;
    width: 100%;
  }

  .wishlist-locked .btn {
    width: 100%;
  }

  .request-card {
    flex-direction: column;
  }

  .request-side {
    width: 100%;
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    justify-items: start;
  }
}
