.launch-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(90deg, #e8f2ef, #f3f7f5);
  border-bottom: 1px solid #c5d9d1;
  font-size: 0.95rem;
  color: #1a3a32;
}

.launch-banner p {
  margin: 0;
  flex: 1 1 16rem;
  line-height: 1.45;
}

.launch-banner .button {
  flex: 0 0 auto;
}

.launch-modal-open {
  overflow: hidden;
}

.launch-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 32, 28, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .launch-modal-backdrop {
    align-items: center;
  }
}

.launch-modal {
  position: relative;
  width: min(100%, 28rem);
  max-height: min(92vh, 40rem);
  overflow: auto;
  background: #fff;
  border-radius: 12px 12px 0 0;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

@media (min-width: 640px) {
  .launch-modal {
    border-radius: 12px;
  }
}

.launch-modal h2 {
  margin: 0 2rem 0.75rem 0;
  font-size: 1.35rem;
  line-height: 1.3;
  color: #14352c;
}

.launch-modal p {
  margin: 0 0 0.85rem;
  line-height: 1.5;
}

.launch-modal-close {
  position: absolute;
  top: 0.65rem;
  inset-inline-start: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #355;
}

.launch-track-hints {
  margin: 0 0 0.85rem;
  padding-inline-start: 1.25rem;
  line-height: 1.55;
}

.launch-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1rem 0;
}

.launch-modal-actions .button {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.launch-modal-note,
.launch-modal-legal {
  font-size: 0.85rem;
  color: #567;
}

.launch-modal-legal a {
  color: inherit;
}

.card-engage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.card-engage .favorite,
.card-engage .vote-btn {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  color: #3a5a50;
  border-radius: 6px;
}

.card-engage .favorite[aria-pressed="true"] {
  color: #b42318;
}

.card-engage .vote-btn[aria-pressed="true"][data-vote="like"],
.card-engage .vote-btn.is-active[data-vote="like"] {
  color: #1b6b45;
}

.card-engage .vote-btn[aria-pressed="true"][data-vote="dislike"],
.card-engage .vote-btn.is-active[data-vote="dislike"] {
  color: #8a3a2a;
}

.card-engage .vote-btn[aria-pressed="true"],
.card-engage .vote-btn.is-active {
  transform: scale(1.08);
}

.card-engage .vote-btn.vote-flash {
  animation: vote-flash 0.35s ease;
}

@keyframes vote-flash {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1.08); }
}

.favorites-rail--link {
  display: flex;
  justify-content: flex-end;
  padding: 0.35rem 0;
  background: transparent;
  border: 0;
}

.favorites-page-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.favorites-page-item {
  display: grid;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e4ebe8;
}

.favorites-page-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.favorites-page-item .summary {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.favorites-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

@media (min-width: 720px) {
  .favorites-page-item {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.card-engage .vote-btn:hover,
.card-engage .favorite:hover {
  background: rgba(0, 0, 0, 0.05);
}

.card-locked .card-engage {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 5;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 4px;
}

.favorites-rail {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #f4f8f6;
  border: 1px solid #d5e4de;
  border-radius: 10px;
}

.favorites-rail h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.favorites-rail-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.favorites-rail-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}

.favorites-rail-item a {
  font-weight: 600;
}

.account-favorites-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-favorites-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid #e4ebe8;
}

.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-tabs .button[aria-selected="true"] {
  background: #1a3a32;
  color: #fff;
}

.interest-tracks {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.75rem 0;
}

@media (max-width: 639px) {
  .launch-banner {
    padding: 0.75rem 1rem;
  }
}
