:root {
  --bg: #050607;
  --panel: #0b0d10;
  --panel-soft: #111419;
  --panel-elevated: #15181d;
  --line: rgba(255,255,255,0.12);
  --line-soft: rgba(255,255,255,0.08);
  --text: #f6f6f7;
  --muted: #9a9da6;
  --muted-2: #6d717b;
  --red: #ff2638;
  --red-dark: #b90e1b;
  --red-soft: rgba(255,38,56,0.12);
  --blue: #2e72ff;
  --green: #32d158;
  --amber: #f8b83f;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow: 0 24px 70px rgba(0,0,0,0.35);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% 0%, rgba(255,38,56,0.12), transparent 28rem),
    linear-gradient(180deg, #060708 0%, #020303 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

select option {
  color: var(--text);
  background: var(--panel-soft);
}

select option:checked {
  color: #fff;
  background: var(--blue);
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  background: rgba(5,6,7,0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 292px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
  background:
    linear-gradient(135deg, transparent 48%, rgba(255,255,255,0.22) 49%, transparent 51%),
    linear-gradient(145deg, #ff3346, #990916);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  padding-bottom: 9px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  box-shadow: 0 0 28px rgba(255,38,56,0.32);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 2rem;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.brand-text small {
  color: #d7d8dc;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: stretch;
  gap: 34px;
  height: 100%;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  position: relative;
}

.nav-link.active {
  color: var(--red);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 99px 99px 0 0;
  background: var(--red);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn,
.icon-button {
  border: 0;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  min-height: 38px;
}

.btn {
  text-decoration: none;
}

.btn-outline {
  padding: 0 20px;
  background: rgba(255,38,56,0.04);
  border: 1px solid var(--red);
  color: #fff;
}

.add-btn {
  min-width: 132px;
}

.icon {
  font-size: 1.2rem;
  line-height: 1;
  color: var(--red);
}

.icon-button {
  position: relative;
  width: 42px;
  background: transparent;
  border: 1px solid transparent;
}

.notification .icon {
  width: 22px;
  height: 22px;
  color: #fff;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50% 50% 45% 45%;
  font-size: 0;
}

.notification-count {
  position: absolute;
  top: 2px;
  right: 0;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.user-menu .text-button {
  color: #fff;
  padding: 0;
}

.logout-button {
  color: var(--muted);
}

.avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #6f7988, #1c222d);
  border: 2px solid rgba(255,255,255,0.12);
  overflow: hidden;
  font-weight: 900;
}

.avatar-button {
  padding: 0;
}

.avatar:disabled {
  cursor: default;
}

.chevron {
  color: var(--muted);
  font-size: 1.2rem;
  display: none;
}

.workspace {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 72px);
}

.filters {
  border-right: 1px solid var(--line);
  padding: 18px 14px 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)),
    rgba(5,6,7,0.68);
}

.filter-card {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 112px);
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
}

.filter-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
}

.filter-card h2 {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-title-row h2 {
  margin: 0;
}

.filter-close {
  display: none;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.filter-group {
  padding: 0 0 18px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line-soft);
}

.filter-group:last-of-type {
  border-bottom: 0;
}

.filter-heading {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  color: #fff;
  font-weight: 900;
}

.filter-group label {
  min-height: 26px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: #c5c7ce;
  font-size: 0.9rem;
}

.filter-group label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-group em {
  color: #d4d6db;
  font-style: normal;
  font-size: 0.84rem;
}

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.03);
}

input[type="checkbox"] {
  border-radius: 4px;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  border-color: var(--red);
  background: var(--red);
}

input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  width: 8px;
  height: 4px;
  margin: 4px 0 0 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

input[type="radio"]:checked::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin: 4px;
  border-radius: 50%;
  background: #fff;
}

.show-more {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d5d7dd;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.83rem;
}

.reset-btn {
  width: 100%;
  min-height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  background: rgba(255,255,255,0.03);
  font-weight: 800;
}

.content {
  min-width: 0;
  padding: 0 30px 44px;
}

.hero-panel {
  position: relative;
  min-height: 146px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero-map {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background:
    radial-gradient(circle at 72% 52%, transparent 0 42px, rgba(255,38,56,0.42) 43px 44px, transparent 45px),
    radial-gradient(circle at 60% 18%, rgba(255,38,56,0.22), transparent 18rem),
    linear-gradient(90deg, transparent 0 48%, rgba(255,38,56,0.16) 49% 50%, transparent 51%),
    repeating-linear-gradient(14deg, rgba(255,38,56,0.13) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(104deg, rgba(255,38,56,0.08) 0 1px, transparent 1px 64px);
  mask-image: linear-gradient(90deg, transparent 0%, black 16%, black 100%);
}

.hero-map::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 46%;
  width: 330px;
  height: 90px;
  border-top: 2px dashed rgba(255,38,56,0.9);
  border-radius: 50%;
  transform: rotate(-5deg);
}

.hero-map::after {
  content: "V";
  position: absolute;
  right: 28%;
  top: 30%;
  color: rgba(255,38,56,0.72);
  font-size: 4rem;
  font-weight: 900;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.35rem);
  line-height: 1;
  font-weight: 950;
}

.red-wave {
  width: 54px;
  height: 8px;
  margin: 12px 0 14px;
  background:
    radial-gradient(circle at 6px 5px, var(--red) 0 4px, transparent 4.5px),
    radial-gradient(circle at 20px 3px, var(--red) 0 4px, transparent 4.5px),
    radial-gradient(circle at 34px 5px, var(--red) 0 4px, transparent 4.5px),
    radial-gradient(circle at 48px 3px, var(--red) 0 4px, transparent 4.5px);
}

.hero-copy p {
  margin: 0;
  color: #c5c8d0;
  font-size: 1.08rem;
}

.group-cta {
  position: relative;
  z-index: 1;
  min-width: 164px;
  height: 46px;
  color: var(--red);
  background: rgba(255,38,56,0.03);
}

.group-icon {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0;
  font-weight: 900;
  color: var(--red);
}

.community-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 12px;
  padding: 0 0 12px;
}

.community-card,
.featured-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.058), rgba(255,255,255,0.022)),
    var(--panel);
  box-shadow: 0 10px 34px rgba(0,0,0,0.22);
}

.community-card {
  min-height: 220px;
  padding: 22px;
}

.fb-community-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(circle at 86% 18%, rgba(46,114,255,0.22), transparent 14rem),
    linear-gradient(180deg, rgba(255,255,255,0.058), rgba(255,255,255,0.022)),
    var(--panel);
}

.community-card h2,
.featured-copy h2 {
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.08;
  font-weight: 950;
}

.community-card p:not(.eyebrow),
.featured-copy p:not(.eyebrow) {
  max-width: 690px;
  margin: 12px 0 0;
  color: #c5c8d0;
  line-height: 1.45;
}

.community-link[aria-disabled="true"] {
  pointer-events: none;
  color: #aeb3c0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}

.poll-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.poll-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.poll-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.poll-options button {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #fff;
  background: rgba(255,255,255,0.035);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.15;
}

.poll-options button.selected,
.poll-options button:hover {
  border-color: var(--red);
  background: var(--red-soft);
}

.poll-results {
  display: grid;
  gap: 8px;
}

.poll-result {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  overflow: hidden;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: #d9dbe2;
  font-size: 0.8rem;
}

.poll-result span,
.poll-result strong {
  position: relative;
  z-index: 1;
}

.poll-result i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--poll-width);
  background: linear-gradient(90deg, rgba(255,38,56,0.28), rgba(255,38,56,0.04));
}

.featured-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: 18px;
  margin-bottom: 12px;
  padding: 22px;
}

.featured-copy {
  align-self: center;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
}

.featured-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  object-fit: cover;
}

.featured-card-body {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
}

.featured-card-body h3 {
  margin: 0;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.08;
  font-weight: 950;
}

.featured-card-body p,
.featured-card-body small {
  margin: 0;
  color: #c7c9d1;
  line-height: 1.35;
}

.featured-card-body small {
  color: var(--muted);
}

.featured-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.featured-actions .facebook {
  grid-column: 1 / -1;
}

.top-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(340px, 0.58fr);
  gap: 12px;
  align-items: stretch;
  padding: 0 0 12px;
}

.community-stack {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  min-width: 0;
}

.community-stack .community-card {
  min-height: 0;
}

.community-stack .fb-community-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-color: rgba(255,255,255,0.16);
  background: #071a27;
}

.community-stack .fb-community-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,7,0.08), rgba(5,6,7,0.78));
  pointer-events: none;
}

.community-stack .fb-community-card img {
  width: 100%;
  min-height: 270px;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 32% center;
}

.fb-community-copy {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 76px;
}

.fb-community-copy h2 {
  font-size: 1.6rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

.fb-community-copy p:not(.eyebrow) {
  margin-top: 8px;
  color: rgba(255,255,255,0.9);
}

.fb-community-copy strong {
  color: #fff;
}

.community-stack .community-link {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.alaska-feature-card {
  position: relative;
  min-height: 790px;
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 86% 0%, rgba(255,38,56,0.13), transparent 20rem),
    linear-gradient(180deg, #171029 0%, #100c20 100%);
  box-shadow: 0 22px 58px rgba(0,0,0,0.34);
}

.alaska-art {
  position: relative;
  min-height: 100%;
  display: grid;
  align-items: center;
  background: #171029;
}

.alaska-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 58%, rgba(16,12,32,0.92));
  pointer-events: none;
}

.alaska-art img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: left bottom;
}

.alaska-details {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px 28px 46px;
}

.alaska-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.deal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.deal-pill.teal {
  color: #17f0c2;
  border: 1px solid rgba(0,212,170,0.38);
  background: rgba(0,212,170,0.12);
}

.deal-pill.muted {
  color: #d1c9e8;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
}

.alaska-details h2 {
  margin: 4px 0 0;
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  line-height: 1.02;
  font-weight: 950;
}

.alaska-subtitle {
  margin: -4px 0 4px;
  color: #ada7c7;
}

.alaska-itinerary p {
  margin: 0 0 8px;
  color: #18e6bd;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.alaska-itinerary ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.alaska-itinerary li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 25px;
  padding: 0 0 0 26px;
  color: #c7c1dc;
  font-size: 0.8rem;
}

.alaska-itinerary li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.025);
}

.alaska-itinerary li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  bottom: 2px;
  width: 1px;
  background: rgba(255,255,255,0.12);
}

.alaska-itinerary li.highlight::before {
  background: #18e6bd;
  box-shadow: 0 0 0 4px rgba(0,212,170,0.12);
}

.alaska-itinerary strong {
  color: #fff;
}

.alaska-itinerary .highlight strong {
  color: #18e6bd;
}

.alaska-itinerary span {
  color: #706b86;
  font-size: 0.68rem;
}

.alaska-offer {
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255,38,56,0.075);
  border-color: rgba(255,38,56,0.32);
}

.alaska-offer span,
.fruglar-exclusive span {
  display: block;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.alaska-offer strong {
  display: block;
  margin-top: 6px;
  font-size: 1.02rem;
}

.alaska-offer small {
  color: #a9a3bd;
}

.alaska-offer em {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(255,38,56,0.48);
  border-radius: 999px;
  color: #ff9aaa;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.alaska-price {
  margin-top: 2px;
}

.alaska-price > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.slash-price {
  position: relative;
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 950;
}

.slash-price::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 54%;
  height: 4px;
  border-radius: 999px;
  background: var(--red);
  transform: rotate(-9deg);
}

.alaska-price del {
  color: #676177;
  font-weight: 850;
}

.alaska-price small {
  color: #8d879c;
}

.alaska-price p {
  margin: 4px 0 0;
  color: #18e6bd;
  font-size: 0.78rem;
  font-weight: 850;
}

.fruglar-exclusive {
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.045);
}

.fruglar-exclusive h3 {
  margin: 0;
  color: #fff;
  font-size: 1.04rem;
  line-height: 1.16;
  font-weight: 950;
}

.fruglar-exclusive h3 strong {
  color: var(--red);
}

.fruglar-exclusive p,
.fruglar-exclusive small {
  margin: 0;
  color: #fff;
  line-height: 1.35;
  font-size: 0.74rem;
  font-weight: 800;
}

.fruglar-exclusive small {
  color: #d8d3e6;
  font-size: 0.72rem;
}

.alaska-actions {
  display: grid;
  gap: 10px;
}

.slashed-book {
  position: relative;
  min-height: 42px;
  overflow: hidden;
  background: #d51031;
  box-shadow: 0 14px 30px rgba(200,16,46,0.22);
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

.slashed-book::after {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 52%;
  z-index: 5;
  height: 4px;
  background: #050506;
  box-shadow: 0 3px 6px rgba(0,0,0,0.38);
  transform: rotate(-7deg);
  transform-origin: center;
}

.slashed-book::before {
  content: none;
}

.slashed-book span {
  position: relative;
  z-index: 4;
  text-shadow:
    0 1px 0 rgba(0,0,0,0.65),
    0 0 8px rgba(0,0,0,0.85);
}

.fruglar-price-btn {
  min-height: 42px;
  color: #100d18;
  background: #fff;
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 12px 26px rgba(0,0,0,0.16);
}

.limited-badge {
  justify-self: center;
  display: inline-grid;
  place-items: center;
  min-width: 88px;
  min-height: 50px;
  padding: 6px 14px;
  border: 1px solid rgba(255,126,34,0.64);
  border-radius: 999px;
  color: #ff9c48;
  background: rgba(255,126,34,0.08);
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.limited-badge strong {
  color: #fff;
  font-size: 0.86rem;
}

.agent-note {
  margin: 0;
  color: #69637b;
  text-align: center;
  font-size: 0.68rem;
}

.alaska-feature-card footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #9d96b5;
  background: rgba(255,255,255,0.025);
  font-size: 0.72rem;
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 360px);
  gap: 14px;
  align-items: start;
}

.results-main {
  min-width: 0;
}

.promo-sidebar {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 104px);
  overflow: auto;
  align-self: start;
  padding-right: 4px;
  scrollbar-color: rgba(255,255,255,0.22) transparent;
}

.filter-edge-tab {
  display: none;
}

.promo-sidebar .alaska-feature-card,
.promo-sidebar .community-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 34px rgba(0,0,0,0.22);
}

.promo-sidebar .alaska-feature-card {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 0%, rgba(255,38,56,0.13), transparent 15rem),
    linear-gradient(180deg, #171029 0%, #100c20 100%);
}

.promo-sidebar .alaska-art {
  min-height: 0;
  display: flex;
  justify-content: center;
  padding: 10px;
  background: #171029;
}

.promo-sidebar .alaska-art::after {
  display: none;
}

.promo-sidebar .alaska-art img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 180px;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
}

.promo-sidebar .alaska-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9px;
  padding: 12px 14px 0;
}

.promo-sidebar .alaska-pills,
.promo-sidebar .alaska-details h2,
.promo-sidebar .alaska-subtitle,
.promo-sidebar .fruglar-exclusive,
.promo-sidebar .alaska-actions,
.promo-sidebar .agent-note {
  grid-column: 1 / -1;
}

.promo-sidebar .alaska-pills {
  gap: 6px;
}

.promo-sidebar .deal-pill {
  min-height: 22px;
  padding: 0 8px;
  font-size: 0.64rem;
}

.promo-sidebar .alaska-details h2 {
  font-size: 1.32rem;
  line-height: 1.08;
}

.promo-sidebar .alaska-subtitle {
  font-size: 0.82rem;
}

.promo-sidebar .alaska-offer {
  grid-column: 1;
  display: grid;
  padding: 12px;
  margin: 0;
}

.promo-sidebar .alaska-offer strong {
  font-size: 0.98rem;
}

.promo-sidebar .alaska-offer em {
  justify-self: start;
  padding: 5px 8px;
  font-size: 0.66rem;
}

.promo-sidebar .alaska-price {
  grid-column: 2;
  align-self: center;
}

.promo-sidebar .price-label {
  font-size: 0.64rem;
}

.promo-sidebar .slash-price {
  font-size: 1.74rem;
}

.promo-sidebar .alaska-price p {
  font-size: 0.72rem;
}

.promo-sidebar .fruglar-exclusive {
  padding: 12px;
  gap: 6px;
}

.promo-sidebar .fruglar-exclusive h3 {
  font-size: 0.98rem;
}

.promo-sidebar .fruglar-exclusive p,
.promo-sidebar .fruglar-exclusive small {
  font-size: 0.68rem;
}

.promo-sidebar .alaska-actions {
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 8px;
}

.promo-sidebar .slashed-book,
.promo-sidebar .fruglar-price-btn {
  min-height: 40px;
}

.promo-sidebar .slashed-book {
  grid-column: 1;
}

.promo-sidebar .fruglar-price-btn {
  grid-column: 1 / -1;
  color: #100d18;
  background: #fff;
}

.promo-sidebar .limited-badge {
  grid-column: 2;
  grid-row: 1;
  min-width: 82px;
  min-height: 44px;
  font-size: 0.6rem;
}

.promo-sidebar .agent-note {
  font-size: 0.66rem;
}

.promo-sidebar .alaska-itinerary {
  padding: 12px 14px 14px;
}

.promo-sidebar .alaska-itinerary p {
  margin-bottom: 8px;
  font-size: 0.66rem;
}

.promo-sidebar .alaska-itinerary li {
  min-height: 23px;
  font-size: 0.72rem;
}

.promo-sidebar .alaska-itinerary span {
  font-size: 0.62rem;
}

.promo-sidebar .alaska-feature-card footer {
  position: static;
  padding: 10px 14px;
  font-size: 0.62rem;
}

.promo-sidebar .fb-community-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 0;
  padding: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.022)),
    #071a27;
}

.promo-sidebar .fb-community-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
  background: #58c7ef;
}

.promo-sidebar .fb-community-copy {
  position: static;
}

.promo-sidebar .fb-community-copy h2 {
  font-size: 1.2rem;
  text-shadow: none;
}

.promo-sidebar .fb-community-copy p:not(.eyebrow) {
  margin-top: 6px;
  color: #c5c8d0;
  font-size: 0.84rem;
  line-height: 1.35;
}

.promo-sidebar .community-link {
  position: static;
}

.promo-sidebar .poll-card {
  padding: 14px;
}

.promo-sidebar .poll-card h2 {
  font-size: 1.12rem;
}

.promo-sidebar .poll-options {
  grid-template-columns: 1fr;
}

.promo-sidebar .poll-options button {
  min-height: 34px;
  font-size: 0.76rem;
}

.promo-sidebar .poll-result {
  padding: 7px 9px;
  font-size: 0.72rem;
}

.search-panel {
  padding: 0 0 12px;
}

.search-box {
  height: 70px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.17);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.search-icon {
  position: relative;
  width: 26px;
  height: 26px;
  display: block;
  color: var(--red);
  font-size: 0;
}

.search-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 4px;
  width: 10px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transform: rotate(45deg);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 1.1rem;
}

.search-box input::placeholder {
  color: #b5b7bf;
}

.filter-toggle {
  width: 48px;
  height: 44px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 0;
  border-left: 1px solid rgba(255,255,255,0.13);
  background: transparent;
}

.filter-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--red);
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}

.results-toolbar p {
  margin: 0;
  color: #c8cad2;
  font-size: 0.98rem;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c5c7cf;
  font-size: 0.92rem;
}

.sort-control select {
  min-width: 190px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 7px;
  background: var(--panel);
  color: #fff;
  outline: 0;
}

.sailing-list {
  display: grid;
  gap: 10px;
}

.sailing-card {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(340px, 1fr) minmax(390px, 450px);
  min-height: 168px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)),
    var(--panel);
  box-shadow: 0 10px 34px rgba(0,0,0,0.24);
}

.sailing-expanded {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-soft);
  background: rgba(0,0,0,0.18);
}

.sailing-expanded summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 24px;
  color: #fff;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 950;
  list-style: none;
}

.sailing-expanded summary::-webkit-details-marker {
  display: none;
}

.sailing-expanded summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 7px;
  color: #fff;
  background: rgba(255,38,56,0.78);
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(255,38,56,0.22);
}

.sailing-expanded[open] summary {
  border-bottom: 1px solid var(--line-soft);
}

.sailing-expanded[open] summary::after {
  content: "-";
}

.sailing-expanded summary span:first-child {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255,38,56,0.72);
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(180deg, #ff2f42, #db1729);
  box-shadow: 0 10px 22px rgba(255,38,56,0.18);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sailing-expanded summary span:last-child {
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sailing-expanded-body {
  display: grid;
  grid-template-columns: minmax(160px, 0.75fr) minmax(260px, 1.4fr) minmax(180px, 0.8fr) minmax(190px, 0.9fr);
  gap: 18px;
  padding: 18px 24px 22px;
}

.sailing-detail-block {
  display: grid;
  align-content: start;
  gap: 10px;
}

.sailing-detail-block h3 {
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sailing-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.sailing-facts div {
  display: grid;
  gap: 2px;
}

.sailing-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.sailing-facts dd {
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.itinerary-block {
  min-width: 0;
}

.sailing-itinerary-list {
  display: grid;
  gap: 7px;
  max-height: 260px;
  margin: 0;
  padding: 0;
  overflow: auto;
  color: #d7d9df;
  font-size: 0.84rem;
  list-style: none;
}

.sailing-itinerary-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.sailing-itinerary-list span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.sailing-itinerary-list strong {
  color: #fff;
  font-weight: 850;
  line-height: 1.25;
}

.detail-note {
  margin: 0;
  color: #c7c9d1;
  font-size: 0.84rem;
  line-height: 1.42;
}

.detail-note strong {
  color: #fff;
}

.joined-sailor-list {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.joined-sailor {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
}

.joined-sailor strong,
.joined-sailor span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.joined-sailor strong {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.joined-sailor span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.detail-actions {
  display: grid;
  gap: 8px;
}

.sailing-image {
  height: 168px;
  background: #0b0c0e;
}

.sailing-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sailing-details {
  position: relative;
  padding: 24px 24px 20px;
  border-right: 1px solid var(--line-soft);
}

.ship-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ship-name {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nights-pill {
  align-self: flex-start;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 7px;
  color: #dfe1e6;
  font-size: 0.82rem;
  white-space: nowrap;
}

.sailing-title {
  margin: 0;
  color: #fff;
  font-size: 1.42rem;
  line-height: 1.1;
  font-weight: 900;
}

.sailing-title-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.featured-group-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid rgba(248,184,63,0.58);
  border-radius: 7px;
  color: #261900;
  background: linear-gradient(180deg, #ffd86b, var(--amber));
  box-shadow: 0 10px 22px rgba(248,184,63,0.18);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.15;
}

.featured-group-badge a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.featured-group-detail {
  grid-column: 1 / 3;
}

.meta-list {
  display: grid;
  gap: 7px;
  color: #c8cad1;
  font-size: 0.93rem;
}

.meta-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.meta-list b {
  width: 16px;
  color: var(--red);
  font-weight: 900;
  text-align: center;
}

.community-panel {
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 20px;
  align-items: center;
}

.community-info {
  min-width: 0;
}

.group-status {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: var(--green);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.group-status.missing {
  color: var(--amber);
}

.group-status.candidate {
  color: var(--amber);
}

.status-dot {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #071006;
  background: var(--green);
  font-size: 0.52rem;
  font-weight: 950;
}

.missing .status-dot,
.candidate .status-dot {
  color: #1d1300;
  background: var(--amber);
}

.faces {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.face-profile {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-right: -8px;
  border: 2px solid #202329;
  border-radius: 50%;
  background: #15181d;
}

.face-profile .sailor-avatar-small {
  width: 34px;
  height: 34px;
}

.face {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-right: -8px;
  border: 2px solid #202329;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  background: linear-gradient(145deg, #e2c5aa, #6f412b);
}

.face:nth-child(2) {
  background: linear-gradient(145deg, #d9dfe8, #344457);
}

.face:nth-child(3) {
  background: linear-gradient(145deg, #c79f77, #3d251b);
}

.face:nth-child(4) {
  background: linear-gradient(145deg, #f1d7bd, #8b6548);
}

.more-faces {
  width: auto;
  min-width: 42px;
  padding: 0 9px;
  margin-left: 10px;
  border-radius: 999px;
  background: #22262c;
  color: #d9dbe2;
}

.connected-count {
  margin: 0;
  color: #c9cbd2;
  font-size: 0.92rem;
}

.match-detail {
  margin: -6px 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-actions {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.action-btn {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  color: #fff;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
}

.action-btn.facebook {
  background: var(--blue);
}

.action-btn.book {
  background: linear-gradient(180deg, #ff2f42, #db1729);
}

.action-btn.virgin-direct {
  border-color: rgba(255,38,56,0.82);
  background: linear-gradient(180deg, #ff3347, #d9122a);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255,38,56,0.2);
}

.action-btn.perk-inquiry {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.055);
  color: #fff;
}

.action-btn.loot-locker-btn {
  border-color: rgba(50,209,88,0.45);
  background: rgba(50,209,88,0.1);
  color: #fff;
}

.action-btn.secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
}

.sailing-connect[aria-pressed="true"] {
  color: #071006;
  background: var(--green);
  border-color: var(--green);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0,0,0,0.68);
  backdrop-filter: blur(12px);
}

.modal-panel {
  position: relative;
  width: min(520px, 100%);
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    var(--panel);
  box-shadow: 0 28px 90px rgba(0,0,0,0.58);
}

.profile-modal-panel {
  width: min(1120px, calc(100vw - 48px));
  max-height: min(920px, calc(100vh - 48px));
  padding: 30px;
  overflow: auto;
}

.modal-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.08;
  font-weight: 950;
}

.modal-copy {
  margin: 0;
  color: #c5c8d0;
  line-height: 1.45;
}

.modal-form {
  display: grid;
  gap: 12px;
}

.turnstile-field {
  min-height: 65px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
}

.auth-tab {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: #d9dbe2;
  background: transparent;
  font-weight: 900;
}

.auth-tab.active {
  color: #fff;
  background: var(--red);
}

.form-error {
  margin: 0;
  color: #ff9aaa;
  font-size: 0.84rem;
  font-weight: 800;
}

.auth-success {
  display: grid;
  gap: 12px;
  text-align: center;
}

.auth-success h3 {
  margin: 0;
  font-size: 1.3rem;
}

.auth-success p {
  margin: 0;
  color: #c5c8d0;
  line-height: 1.45;
}

.sailor-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  isolation: isolate;
  background:
    radial-gradient(circle at 70% 18%, rgba(255,255,255,0.22), transparent 16px),
    linear-gradient(145deg, var(--avatar-bg), #050607);
  border: 2px solid rgba(255,255,255,0.16);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}

.sailor-avatar-small {
  width: 34px;
  height: 34px;
  border-width: 0;
  box-shadow: none;
}

.sailor-avatar-choice {
  width: 78px;
  height: 78px;
}

.sailor-avatar-image {
  background: #08090d;
}

.sailor-avatar-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sailor-avatar-wave {
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -9%;
  height: 32%;
  background:
    radial-gradient(circle at 12% 0%, transparent 0 9px, rgba(255,255,255,0.18) 10px 13px, transparent 14px),
    linear-gradient(90deg, rgba(23,240,194,0.32), rgba(46,114,255,0.34));
  animation: avatar-wave 3.2s ease-in-out infinite;
}

.sailor-avatar-head {
  position: absolute;
  top: 18%;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: var(--avatar-skin);
  z-index: 3;
}

.sailor-avatar-hair {
  position: absolute;
  inset: -8% -3% 54%;
  border-radius: 999px 999px 50% 50%;
  background: var(--avatar-hair);
}

.sailor-avatar-face {
  position: absolute;
  inset: 0;
}

.sailor-avatar-eye {
  position: absolute;
  top: 48%;
  width: 9%;
  height: 9%;
  border-radius: 50%;
  background: #111;
}

.sailor-avatar-eye.left {
  left: 32%;
}

.sailor-avatar-eye.right {
  right: 32%;
}

.sailor-avatar-smile {
  position: absolute;
  left: 36%;
  right: 36%;
  bottom: 25%;
  height: 10%;
  border-bottom: 2px solid rgba(0,0,0,0.58);
  border-radius: 0 0 999px 999px;
}

.sailor-avatar-glasses {
  position: absolute;
  left: 22%;
  right: 22%;
  top: 43%;
  height: 16%;
  border-left: 2px solid #111;
  border-right: 2px solid #111;
  border-radius: 999px;
}

.sailor-avatar-glasses::before {
  content: "";
  position: absolute;
  left: 44%;
  right: 44%;
  top: 45%;
  height: 2px;
  background: #111;
}

.sailor-avatar-body {
  position: absolute;
  bottom: 11%;
  width: 58%;
  height: 34%;
  border-radius: 999px 999px 12px 12px;
  background:
    linear-gradient(90deg, transparent 0 43%, var(--avatar-accent) 44% 56%, transparent 57%),
    var(--avatar-shirt);
  z-index: 2;
}

.sailor-avatar-neck {
  position: absolute;
  top: 55%;
  width: 18%;
  height: 16%;
  border-radius: 0 0 999px 999px;
  background: var(--avatar-skin);
  z-index: 1;
}

.sailor-avatar.sparkle::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 19%;
  width: 7px;
  height: 7px;
  background: var(--avatar-accent);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: avatar-sparkle 1.9s ease-in-out infinite;
}

@keyframes avatar-wave {
  0%, 100% {
    transform: translateX(-4%) translateY(0);
  }
  50% {
    transform: translateX(4%) translateY(3px);
  }
}

@keyframes avatar-sparkle {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.82) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.18) rotate(24deg);
  }
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}

.profile-avatar-large {
  width: 92px;
  height: 92px;
  font-size: 2rem;
}

.profile-info {
  min-width: 0;
}

.profile-info h2 {
  margin: 0;
}

.profile-username,
.profile-bio,
.profile-location {
  margin: 5px 0 0;
  color: var(--muted);
}

.profile-bio {
  color: #d5d7dd;
  line-height: 1.4;
}

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.86rem;
}

.profile-stats strong {
  color: #fff;
}

.profile-badges,
.profile-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: #d9dbe2;
  background: rgba(255,255,255,0.045);
  font-size: 0.76rem;
  font-weight: 900;
}

.profile-badge.red {
  color: #fff;
  border-color: rgba(255,38,56,0.45);
  background: var(--red-soft);
}

.profile-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line-soft);
  overflow-x: auto;
}

.profile-tab {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  white-space: nowrap;
}

.profile-tab.active {
  color: #fff;
  border-bottom-color: var(--red);
}

.profile-section {
  display: grid;
  gap: 14px;
}

.profile-privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.avatar-builder {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
}

.field-label {
  display: block;
  color: #d5d7dd;
  font-size: 0.86rem;
  font-weight: 850;
}

.avatar-builder p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.signup-profile-fields {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
}

.avatar-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
  max-height: 540px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.avatar-preset-card {
  display: grid;
  justify-items: center;
  align-items: center;
  min-height: 116px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #fff;
  background: rgba(255,255,255,0.035);
  text-align: center;
  cursor: pointer;
}

.avatar-preset-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.avatar-preset-card:has(input:checked) {
  border-color: var(--red);
  background: var(--red-soft);
}

.profile-checks label {
  display: inline-grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #fff;
  background: rgba(255,255,255,0.035);
  font-size: 0.84rem;
  font-weight: 850;
}

.profile-checks label:has(input:checked) {
  border-color: var(--red);
  background: var(--red-soft);
}

.profile-sailing-row {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
}

.profile-sailing-row span {
  color: var(--muted);
  font-size: 0.86rem;
}

.empty-state.compact {
  padding: 26px 18px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 7px;
  color: #fff;
  background: rgba(255,255,255,0.04);
  font-size: 0.78rem;
  font-weight: 800;
}

.empty-state {
  padding: 56px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 8px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.seo-home-links {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.035);
}

.seo-home-links h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 1.08rem;
}

.seo-home-links nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.seo-home-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(255,38,56,0.55);
  border-radius: 7px;
  color: #fff;
  background: rgba(255,38,56,0.08);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.seo-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 0%, rgba(255,38,56,0.18), transparent 26rem),
    radial-gradient(circle at 82% 8%, rgba(41,118,255,0.14), transparent 24rem),
    var(--bg);
}

.seo-topbar {
  position: sticky;
}

.seo-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px 72px;
}

.seo-hero,
.seo-panel,
.seo-cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    var(--panel);
  box-shadow: 0 18px 54px rgba(0,0,0,0.25);
}

.seo-hero {
  display: grid;
  gap: 14px;
  padding: 34px;
}

.seo-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 0.96;
  font-weight: 950;
}

.seo-hero > p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: #cdd0d8;
  font-size: 1.05rem;
  line-height: 1.55;
}

.seo-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.seo-stats div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
}

.seo-stats strong {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
}

.seo-stats span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.seo-grid-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.seo-grid-links a,
.seo-sailing-card,
.seo-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
}

.seo-grid-links a {
  display: grid;
  gap: 4px;
  padding: 16px;
  color: #fff;
  text-decoration: none;
}

.seo-grid-links span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.seo-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.seo-section-head {
  display: grid;
  gap: 5px;
  margin: 0 0 4px;
}

.seo-section-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
}

.seo-sailing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  gap: 18px;
  padding: 18px;
}

.seo-sailing-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.18rem;
}

.seo-sailing-card h2 a,
.seo-card-actions a {
  color: inherit;
  text-decoration: none;
}

.seo-sailing-card p {
  margin: 0 0 6px;
  color: #c9ccd4;
  line-height: 1.4;
}

.seo-sailing-card .seo-sailor-highlight {
  width: fit-content;
  margin-top: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(61, 131, 255, 0.42);
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(180deg, rgba(61, 131, 255, 0.24), rgba(61, 131, 255, 0.1));
  font-size: 0.82rem;
  font-weight: 900;
}

.seo-card-actions {
  display: grid;
  align-content: center;
  gap: 8px;
}

.seo-card-actions span,
.seo-card-actions a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.seo-card-actions span {
  color: var(--green);
  background: rgba(0,230,118,0.08);
}

.seo-card-actions a {
  background: rgba(255,255,255,0.045);
}

.seo-card-actions a.seo-direct-link {
  color: #fff;
  background: linear-gradient(180deg, #ff3347, #d9122a);
}

.seo-card-actions a:last-child:not(.seo-direct-link) {
  color: #fff;
  background: rgba(255,255,255,0.055);
}

.seo-cta-band {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 24px;
}

.seo-cta-band h2 {
  margin: 0;
  color: #fff;
}

.seo-cta-band p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.seo-cta-band > div,
.seo-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 14px;
  margin-top: 14px;
}

.seo-panel {
  padding: 22px;
}

.seo-panel h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.15;
}

.seo-copy-block,
.seo-cross-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.seo-copy-block p:not(.eyebrow),
.seo-cross-links p:not(.eyebrow) {
  max-width: 880px;
  margin: 0;
  color: #cdd0d8;
  line-height: 1.55;
}

.seo-cross-links .seo-grid-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.seo-port-links ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-port-links li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
}

.seo-port-links strong {
  color: #fff;
}

.seo-port-links span {
  color: var(--muted);
  font-size: 0.86rem;
}

.seo-faq {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.seo-faq h2 {
  margin-bottom: 2px;
}

.seo-faq details {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
}

.seo-faq summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.seo-faq p {
  margin: 0;
  padding: 0 14px 14px;
  color: #cdd0d8;
  line-height: 1.5;
}

.seo-itinerary {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-itinerary li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(255,255,255,0.03);
}

.seo-itinerary span,
.seo-itinerary em,
.seo-facts dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 850;
}

.seo-itinerary strong {
  color: #fff;
  font-weight: 900;
}

.seo-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.seo-facts div {
  display: grid;
  gap: 2px;
}

.seo-facts dd {
  margin: 0;
  color: #fff;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.review-shell {
  min-height: 100vh;
}

.review-content {
  max-width: 1480px;
  margin: 0 auto;
  padding: 34px 28px 64px;
}

.review-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.review-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  font-weight: 950;
}

.review-hero p:last-child {
  max-width: 690px;
  margin: 14px 0 0;
  color: #c7c9d1;
  font-size: 1.05rem;
}

.review-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.review-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.review-stats article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
}

.review-stats span {
  display: block;
  color: #fff;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 8px;
}

.review-stats strong {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.review-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
  margin-bottom: 16px;
}

.review-search {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.review-search span {
  color: var(--red);
  font-size: 1.45rem;
}

.review-search input,
.review-toolbar select {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
}

.review-toolbar select {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  padding: 0 14px;
}

.review-list {
  display: grid;
  gap: 10px;
}

.review-row {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) 190px;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)), var(--panel);
}

.review-sailing h2 {
  margin: 10px 0 8px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.review-sailing p,
.review-sailing small,
.review-muted {
  color: var(--muted);
}

.review-sailing p {
  margin: 0 0 8px;
}

.review-sailing small {
  word-break: break-all;
  font-size: 0.75rem;
}

.review-status,
.decision-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.review-status.verified {
  color: var(--green);
  background: rgba(50,209,88,0.12);
}

.review-status.suggested {
  color: var(--amber);
  background: rgba(248,184,63,0.12);
}

.review-status.missing {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.decision-pill {
  margin-left: 6px;
  color: #fff;
  background: var(--red-soft);
}

.review-candidates {
  display: grid;
  gap: 8px;
}

.review-group,
.review-suggestion {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
}

.review-suggestion {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: flex-start;
}

.review-suggestion span {
  min-width: 0;
}

.review-group strong,
.review-suggestion strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.25;
}

.review-suggestion em {
  display: block;
  margin: 3px 0;
  color: var(--amber);
  font-style: normal;
  font-size: 0.8rem;
}

.review-group a,
.review-suggestion a {
  color: #79a8ff;
  font-size: 0.78rem;
  word-break: break-all;
  text-decoration: none;
}

.review-row-actions {
  display: grid;
  align-content: start;
  gap: 8px;
}

.booking-shell {
  min-height: 100vh;
}

.booking-layout {
  max-width: 1420px;
  margin: 0 auto;
  padding: 34px 28px 64px;
}

.booking-hero {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-bottom: 26px;
}

.booking-hero h1,
.thanks-card h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4.2vw, 4.2rem);
  line-height: 0.98;
  font-weight: 950;
}

.booking-hero p:last-child,
.thanks-card p {
  margin: 0;
  color: #c5c8d0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  width: 100%;
  gap: 14px;
  align-items: start;
}

.booking-grid > *,
.lead-form,
.selected-sailing,
.booking-community-promo {
  min-width: 0;
}

.booking-grid.generic-booking {
  grid-template-columns: minmax(0, 1fr);
}

.booking-grid.generic-booking .booking-community-promo {
  order: -1;
  position: static;
}

.booking-grid.generic-booking .lead-form {
  order: -2;
}

.booking-grid:not(.generic-booking) .booking-community-promo {
  grid-column: 1;
}

.booking-community-promo {
  position: sticky;
  top: 98px;
}

@media (min-width: 921px) {
  .booking-grid.generic-booking {
    grid-template-columns: minmax(0, 880px) minmax(280px, 340px);
  }

  .booking-grid.generic-booking .booking-community-promo {
    order: 0;
    position: sticky;
  }
}

.booking-community-promo .fb-community-card {
  display: grid;
  gap: 10px;
  min-height: 0;
  padding: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.022)),
    #071a27;
}

.booking-community-promo .fb-community-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
  background: #58c7ef;
}

.booking-community-promo .fb-community-copy {
  position: static;
}

.booking-community-promo .fb-community-copy h2 {
  font-size: 1.2rem;
  text-shadow: none;
}

.booking-community-promo .fb-community-copy p:not(.eyebrow) {
  color: #c5c8d0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.generic-perks-form .form-actions {
  grid-template-columns: minmax(0, 1fr);
}

.generic-perks-form .section-title-row a,
.generic-perks-form [data-request-option="group"],
.generic-perks-form [data-request-option="existing"] {
  display: none;
}

.generic-perks-form .choice-grid {
  grid-template-columns: minmax(0, 1fr);
}

.selected-sailing,
.lead-form,
.thanks-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.058), rgba(255,255,255,0.022)),
    var(--panel);
  box-shadow: 0 10px 34px rgba(0,0,0,0.22);
}

.selected-sailing {
  position: sticky;
  top: 98px;
  overflow: hidden;
}

.booking-sailing-card {
  display: grid;
  gap: 18px;
}

.booking-sailing-card img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
}

.booking-sailing-card > div {
  padding: 0 22px;
}

.booking-sailing-card h2 {
  margin: 7px 0 12px;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 950;
}

.booking-sailing-card p {
  margin: 0 0 8px;
  color: #c7c9d1;
}

.booking-group-box {
  display: grid;
  gap: 6px;
  margin: 4px 22px 22px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
}

.booking-group-box strong {
  color: var(--green);
}

.booking-group-box span {
  color: var(--muted);
  line-height: 1.35;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.hidden-field {
  display: none;
}

.form-section {
  display: grid;
  gap: 12px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line-soft);
}

.form-section:last-of-type {
  border-bottom: 0;
}

.trust-card-section {
  padding-bottom: 12px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-title-row .eyebrow {
  margin-bottom: 0;
}

.section-title-row a,
.form-cta-note a {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.section-title-row a {
  padding: 7px 10px;
  border: 1px solid rgba(255,38,56,0.45);
  border-radius: 7px;
  background: rgba(255,38,56,0.08);
}

.booking-intent-panel {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
}

.booking-intent-panel strong {
  margin: 0;
  color: #fff;
  font-weight: 950;
  line-height: 1.15;
}

.booking-intent-panel span {
  margin: 0;
  color: #c5c8d0;
  line-height: 1.45;
}

.booking-intent-panel span {
  font-size: 0.92rem;
}

.trust-image-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  background: #050607;
  box-shadow: 0 16px 38px rgba(0,0,0,0.28);
}

.trust-image-card picture,
.trust-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 620px) {
  .trust-card-section {
    margin-inline: -8px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.loot-layout {
  max-width: 1280px;
}

.loot-hero {
  max-width: 960px;
}

.loot-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: start;
}

.loot-grid > * {
  min-width: 0;
}

.loot-form {
  position: sticky;
  top: 98px;
}

.loot-results-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.loot-empty-panel,
.loot-sailing-summary-card,
.loot-result-card,
.loot-info-band article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.058), rgba(255,255,255,0.022)),
    var(--panel);
  box-shadow: 0 10px 34px rgba(0,0,0,0.22);
}

.loot-empty-panel {
  display: grid;
  gap: 6px;
  padding: 22px;
}

.loot-empty-panel strong {
  color: #fff;
  font-size: 1.2rem;
}

.loot-empty-panel span {
  color: #c5c8d0;
  line-height: 1.45;
}

.loot-sailing-summary-card {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}

.loot-sailing-summary-card h2,
.loot-result-card h2,
.loot-info-band h2 {
  margin: 0;
  color: #fff;
  font-size: 1.42rem;
  line-height: 1.08;
  font-weight: 950;
}

.loot-sailing-summary-card p:not(.eyebrow),
.loot-sailing-summary-card small,
.loot-result-card span,
.loot-info-band p:not(.eyebrow) {
  color: #c5c8d0;
  line-height: 1.42;
}

.loot-sailing-summary-card p:not(.eyebrow) {
  margin: 7px 0 4px;
}

.loot-sailing-summary-card small {
  display: block;
}

.loot-sailing-summary-card > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(255,38,56,0.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,38,56,0.1);
  font-size: 0.78rem;
  font-weight: 900;
}

.loot-result-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.loot-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.loot-total-row h2 {
  margin: 4px 0;
  color: var(--green);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: 0;
}

.loot-total-row .action-btn {
  min-width: 170px;
}

.loot-breakdown-grid {
  display: grid;
  gap: 12px;
}

.loot-breakdown-section {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
}

.loot-breakdown-section[data-tone="virgin"] {
  border-color: rgba(46,114,255,0.3);
}

.loot-breakdown-section[data-tone="fruglar"] {
  border-color: rgba(35,213,103,0.28);
}

.loot-breakdown-section[data-tone="savings"] {
  border-color: rgba(255,45,69,0.28);
}

.loot-breakdown-section > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.loot-breakdown-section > header strong {
  color: #fff;
  font-size: 1.25rem;
  white-space: nowrap;
}

.loot-breakdown-section > header span {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
}

.loot-line-list,
.loot-offer-list,
.loot-potential-list {
  display: grid;
  gap: 10px;
}

.loot-line-item,
.loot-potential-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
}

.loot-line-item strong,
.loot-potential-item strong,
.loot-offer-note strong {
  color: #fff;
  font-size: 0.98rem;
}

.loot-line-item span,
.loot-line-item p,
.loot-potential-item span,
.loot-potential-item p,
.loot-offer-note span {
  margin: 0;
  color: #c5c8d0;
  font-size: 0.86rem;
  line-height: 1.35;
}

.loot-line-item b,
.loot-potential-item b {
  color: #fff;
  font-size: 1.24rem;
  text-align: right;
}

.loot-line-item p,
.loot-potential-item p {
  grid-column: 1 / -1;
}

.loot-line-item-empty b {
  color: #747985;
}

.loot-potential-item {
  border-color: rgba(35,213,103,0.38);
  background: rgba(35,213,103,0.07);
}

.loot-potential-item b {
  color: var(--green);
}

.loot-offer-note {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid rgba(46,114,255,0.32);
  border-radius: var(--radius-sm);
  background: rgba(46,114,255,0.08);
}

.loot-notes {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #aeb2bd;
  font-size: 0.82rem;
  line-height: 1.42;
}

.loot-info-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.loot-info-band article {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.loot-info-band p {
  margin: 0;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field span,
.consent span {
  color: #d5d7dd;
  font-size: 0.86rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 7px;
  outline: 0;
  color: #fff;
  background: rgba(255,255,255,0.035);
  padding: 0 12px;
}

.field textarea {
  min-height: 118px;
  padding: 12px;
  resize: vertical;
}

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

.choice-grid label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #fff;
  background: rgba(255,255,255,0.035);
  font-weight: 850;
}

.choice-grid label:has(input:checked) {
  border-color: var(--red);
  background: var(--red-soft);
}

.consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.consent a,
.legal-card a:not(.action-btn),
.site-footer a {
  color: #fff;
  text-decoration-color: rgba(255,38,56,0.68);
  text-underline-offset: 3px;
}

.form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.form-cta-note {
  margin: -4px 0 0;
  color: #c7c9d1;
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-cta-note sub {
  font-size: 0.82rem;
}

.thanks-shell {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 30px;
  padding: 30px;
}

.thanks-card {
  width: min(680px, 100%);
  display: grid;
  gap: 14px;
  padding: 34px;
}

.thanks-card .action-btn {
  justify-self: start;
  min-width: 180px;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-shell {
  min-height: calc(100vh - 74px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 30px;
  padding: 40px 24px;
}

.legal-card {
  width: min(980px, 100%);
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.024)),
    var(--panel);
  box-shadow: 0 18px 54px rgba(0,0,0,0.32);
}

.legal-card h1,
.legal-card h2,
.legal-card p {
  margin: 0;
}

.legal-card h1 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.98;
  font-weight: 950;
}

.legal-card h2 {
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.18;
  font-weight: 930;
}

.legal-card p {
  color: #c8cbd3;
  line-height: 1.55;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.legal-grid section {
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
}

.legal-note {
  font-size: 0.9rem;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-card {
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  align-items: start;
}

.contact-card > div:first-child {
  display: grid;
  gap: 14px;
}

.contact-form {
  padding: 20px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  background: rgba(5,6,7,0.82);
  font-size: 0.86rem;
  font-weight: 850;
}

@media (max-width: 920px) {
  .review-content {
    padding: 24px 18px 44px;
  }

  .review-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-toolbar,
  .review-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1580px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .filters {
    position: fixed;
    top: 86px;
    left: 12px;
    z-index: 29;
    width: 260px;
    max-height: calc(100vh - 100px);
    overflow: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(5,6,7,0.98);
    box-shadow: 0 28px 80px rgba(0,0,0,0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(calc(-100% - 26px));
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  body.filters-open .filters {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .filter-card {
    position: static;
    max-height: none;
  }

  .filter-edge-tab {
    position: fixed;
    left: 0;
    top: 46%;
    z-index: 30;
    min-width: 44px;
    min-height: 112px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border: 1px solid rgba(255,38,56,0.72);
    border-left: 0;
    border-radius: 0 10px 10px 0;
    color: #fff;
    background: linear-gradient(180deg, rgba(255,38,56,0.92), rgba(126,6,18,0.94));
    box-shadow: 0 18px 44px rgba(0,0,0,0.48);
    font-size: 0.84rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transition: left 0.18s ease, background 0.18s ease;
  }

  body.filters-open .filter-edge-tab {
    left: 271px;
  }

  .results-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .promo-sidebar {
    width: auto;
  }

  .sailing-card {
    grid-template-columns: minmax(230px, 285px) minmax(270px, 1fr) minmax(290px, 330px);
    min-height: 142px;
  }

  .sailing-image {
    height: 142px;
    min-height: 142px;
  }

  .sailing-details {
    padding: 16px 18px 14px;
  }

  .ship-row {
    margin-bottom: 6px;
  }

  .ship-name {
    font-size: 0.74rem;
  }

  .nights-pill {
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  .sailing-title-row {
    margin-bottom: 8px;
  }

  .sailing-title {
    font-size: 1.22rem;
  }

  .meta-list {
    gap: 4px;
    font-size: 0.84rem;
  }

  .community-panel {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr) 136px;
    gap: 12px;
    padding: 14px 16px;
    border-top: 0;
  }

  .group-status {
    margin-bottom: 8px;
    font-size: 0.9rem;
  }

  .status-dot {
    width: 16px;
    height: 16px;
    font-size: 0.48rem;
  }

  .faces {
    display: none;
  }

  .match-detail {
    margin: 0 0 8px;
    font-size: 0.72rem;
    -webkit-line-clamp: 2;
  }

  .connected-count {
    font-size: 0.8rem;
  }

  .card-actions {
    gap: 6px;
  }

  .action-btn {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1280px) {
  .promo-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    order: -1;
    padding-right: 0;
    width: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .promo-sidebar .alaska-feature-card {
    grid-column: 1 / -1;
    grid-template-columns: minmax(220px, 0.85fr) minmax(240px, 1fr);
  }

  .promo-sidebar .alaska-art {
    align-items: center;
  }

  .promo-sidebar .alaska-art img {
    max-height: 100%;
  }

  .promo-sidebar .alaska-details {
    align-content: start;
    padding-bottom: 12px;
  }

  .promo-sidebar .alaska-itinerary {
    display: none;
  }

  .promo-sidebar .alaska-feature-card footer {
    grid-column: 1 / -1;
  }

  .promo-sidebar .fb-community-card,
  .promo-sidebar .poll-card {
    align-content: start;
  }

  .promo-sidebar .fb-community-card img {
    max-height: 190px;
  }
}

@media (max-width: 1180px) {
  .topbar {
    gap: 18px;
  }

  .brand {
    min-width: auto;
  }

  .brand-text strong {
    font-size: 1.5rem;
  }

  .main-nav {
    gap: 18px;
  }

  .sailing-card {
    grid-template-columns: 250px minmax(280px, 1fr);
  }

  .sailing-image {
    height: auto;
    min-height: 190px;
  }

  .community-panel {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 210px;
    border-top: 1px solid var(--line-soft);
  }

  .sailing-expanded-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-panel {
    grid-template-columns: 1fr;
  }

  .featured-card {
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  }

  .top-feature-grid,
  .alaska-feature-card {
    grid-template-columns: 1fr;
  }

  .community-stack {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    grid-template-rows: none;
  }

  .alaska-art img {
    max-height: 320px;
    object-position: center bottom;
  }
}

@media (max-width: 920px) {
  .topbar {
    height: auto;
    min-height: 72px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  .main-nav {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    height: 42px;
    overflow-x: auto;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .results-layout {
    grid-template-columns: 1fr;
  }

  .promo-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    grid-template-columns: 1fr;
    padding-right: 0;
    order: -1;
  }

  .filter-edge-tab {
    display: none;
  }

  .promo-sidebar .alaska-feature-card {
    grid-template-columns: 1fr;
  }

  .promo-sidebar .alaska-art img {
    max-height: 260px;
  }

  .filters {
    position: fixed;
    top: 136px;
    left: 12px;
    right: 12px;
    z-index: 35;
    max-height: calc(100vh - 154px);
    overflow: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(5,6,7,0.98);
    box-shadow: 0 28px 80px rgba(0,0,0,0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .filter-card {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .filter-title-row,
  .reset-btn {
    grid-column: 1 / -1;
  }

  .filter-close {
    display: inline-flex;
    align-items: center;
  }

  .filter-group {
    margin: 0;
  }

  body.filters-open .filters {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .content {
    padding: 0 18px 34px;
  }

  .hero-panel {
    min-height: 190px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .community-strip,
  .top-feature-grid,
  .booking-grid,
  .loot-grid,
  .loot-info-band,
  .contact-card,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .booking-community-promo {
    position: static;
  }

  .loot-form {
    position: static;
  }

  .loot-total-row,
  .loot-sailing-summary-card {
    align-items: stretch;
    flex-direction: column;
  }

  .loot-total-row .action-btn {
    width: 100%;
  }

  .loot-breakdown-section > header {
    flex-direction: column;
    gap: 8px;
  }

  .booking-grid.generic-booking .booking-community-promo {
    order: -1;
  }

  .community-stack {
    grid-template-columns: 1fr;
  }

  .selected-sailing {
    position: static;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-card img {
    height: 220px;
    min-height: 220px;
  }

  .alaska-feature-card {
    min-height: 0;
  }

  .alaska-details {
    padding: 24px 22px 58px;
  }
}

@media (max-width: 700px) {
  .legal-shell {
    padding: 28px 18px;
  }

  .legal-card {
    padding: 24px;
  }

  .legal-actions .action-btn {
    width: 100%;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .user-menu span:not(.avatar):not(.chevron) {
    display: none;
  }

  .profile-open-text {
    display: none;
  }

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

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .sailing-card {
    grid-template-columns: 1fr;
  }

  .sailing-image {
    height: 190px;
  }

  .sailing-details {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .community-panel {
    grid-template-columns: 1fr;
  }

  .sailing-expanded summary {
    align-items: flex-start;
    padding: 10px 18px;
  }

  .sailing-expanded summary span:last-child {
    display: none;
  }

  .sailing-expanded-body {
    grid-template-columns: 1fr;
    padding: 16px 18px 18px;
  }

  .featured-group-detail {
    grid-column: auto;
  }

  .sailing-itinerary-list {
    max-height: none;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .community-card,
  .featured-panel,
  .seo-hero,
  .seo-panel,
  .seo-cta-band,
  .lead-form {
    padding: 18px;
  }

  .seo-content {
    padding: 28px 16px 48px;
  }

  .seo-stats,
  .seo-grid-links,
  .seo-cross-links .seo-grid-links,
  .seo-sailing-card,
  .seo-two-column,
  .seo-home-links {
    grid-template-columns: 1fr;
  }

  .seo-sailing-card {
    gap: 12px;
  }

  .seo-home-links nav {
    justify-content: flex-start;
  }

  .poll-options,
  .alaska-actions,
  .featured-actions,
  .field-grid,
  .choice-grid,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .avatar-preset-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 380px;
  }

  .sailor-avatar-choice {
    width: 58px;
    height: 58px;
  }

  .community-stack .fb-community-card img {
    min-height: 230px;
  }

  .alaska-itinerary li {
    grid-template-columns: 1fr;
    gap: 2px;
    min-height: 40px;
  }

  .booking-layout {
    padding: 24px 18px 44px;
  }
}
