.t2-ann-stack {

  padding: 0 16px 8px;

  display: flex;

  flex-direction: column;

  gap: 8px;

}



.t2-ann-stack--hero {

  padding-top: 4px;

}



.t2-ann-stack--offers {

  padding-bottom: 12px;

}



.t2-ann {

  position: relative;

  border-radius: 16px;

  background: linear-gradient(135deg, #f0f6ff 0%, #fff 55%);

  border: 1px solid #dbe7ff;

  box-shadow: 0 8px 24px rgba(23, 105, 255, 0.08);

  overflow: hidden;

}



.t2-ann--hero {

  border-radius: 18px;

}



.t2-ann--offer {

  background: linear-gradient(135deg, #fff8e6 0%, #fff 60%);

  border-color: #fde68a;

}



.t2-ann-link {

  display: flex;

  align-items: flex-start;

  gap: 10px;

  padding: 12px 36px 12px 12px;

  color: inherit;

  text-decoration: none;

}



.t2-ann--hero .t2-ann-link {

  flex-direction: column;

  padding: 0;

  gap: 0;

}



.t2-ann-icon {

  flex: 0 0 auto;

  width: 36px;

  height: 36px;

  display: grid;

  place-items: center;

  font-size: 18px;

  background: #fff;

  border-radius: 12px;

  border: 1px solid var(--line);

}



.t2-ann--hero .t2-ann-icon {

  margin: 12px 12px 0;

}



.t2-ann-img {

  flex: 0 0 auto;

  width: 48px;

  height: 48px;

  object-fit: cover;

  border-radius: 12px;

  border: 1px solid var(--line);

}



.t2-ann-img--hero {

  width: 100%;

  height: 140px;

  border-radius: 0;

  border: 0;

  object-fit: cover;

}



.t2-ann--offer .t2-ann-img {

  width: 56px;

  height: 56px;

}



.t2-ann-text {

  flex: 1 1 auto;

  min-width: 0;

}



.t2-ann--hero .t2-ann-text {

  padding: 12px 14px 14px;

}



.t2-ann-text strong {

  display: block;

  font-size: 13px;

  font-weight: 900;

  margin-bottom: 4px;

}



.t2-ann--hero .t2-ann-text strong {

  font-size: 14px;

}



.t2-ann-text p {

  margin: 0;

  font-size: 11px;

  font-weight: 700;

  color: var(--muted);

  line-height: 1.45;

}



.t2-ann-close {

  position: absolute;

  top: 8px;

  left: 8px;

  width: 28px;

  height: 28px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.92);

  border: 1px solid var(--line);

  color: var(--muted);

  font-size: 18px;

  line-height: 1;

  z-index: 2;

}



.t2-ann--hero:has(.t2-ann-img--hero) .t2-ann-icon {

  display: none;

}



#captainHub .t2-ann-stack {

  padding-top: 4px;

}



.t2-ann-stack--top {
  padding-top: 4px;
}

.t2-ann-stack--bottom {
  padding-top: 0;
  padding-bottom: 12px;
}

.t2-ann-stack--confirm {
  padding: 0 16px 10px;
}

.t2-ann-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.t2-ann-popup-dialog {
  width: min(360px, 100%);
  max-height: min(85vh, 520px);
  overflow: auto;
}

.t2-ann--popup {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.t2-ann--popup .t2-ann-img {
  width: 100%;
  height: 160px;
  border-radius: 0;
  border: 0;
}

.t2-ann--popup .t2-ann-link {
  flex-direction: column;
  padding: 0;
  gap: 0;
}

.t2-ann--popup .t2-ann-text {
  padding: 14px 16px 16px;
}

#ride .t2-ann-stack--confirm {
  position: relative;
  z-index: 2;
}

