:root {
  --ink: #17151f;
  --muted: #6f727d;
  --paper: #10101b;
  --panel: rgba(255, 255, 255, 0.94);
  --line: rgba(255, 190, 43, 0.24);
  --teal: #00a7a7;
  --coral: #ff2f3f;
  --gold: #ffbd2e;
  --green: #22a06b;
  --pink: #ff6fb1;
  --violet: #4438ca;
  --shadow: 0 24px 80px rgba(8, 8, 20, 0.28);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 4%, rgba(255, 47, 63, 0.28), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(0, 167, 167, 0.18), transparent 28%),
    linear-gradient(180deg, #10101b 0, #17151f 44%, #fff7df 44%),
    var(--paper);
}

button,
input,
select {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.skip-link:focus {
  top: 16px;
}

.app {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  background: #10101b;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.01);
  transition: opacity 360ms ease, transform 900ms ease;
}

.hero-media.is-changing {
  opacity: 0.35;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(9, 9, 22, 0.94), rgba(36, 24, 45, 0.72) 44%, rgba(255, 47, 63, 0.16)),
    linear-gradient(0deg, rgba(16, 16, 27, 0.42), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 78vh;
  margin: 0 auto;
  padding: 20px 0 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-pip {
  display: none !important;
  position: absolute;
  right: 0;
  top: 98px;
  z-index: 2;
  display: none;
  grid-template-columns: 110px 210px;
  gap: 12px;
  align-items: center;
  max-width: 342px;
  cursor: pointer;
  border: 0;
}

.hero-pip:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.82);
  outline-offset: 6px;
}

.hero-pip-character {
  width: 108px;
  height: 108px;
  margin: 0;
}

.hero-pip-character .pip-face {
  inset: 20px;
  border-radius: 26px;
}

.hero-pip-character .pip-eye {
  top: 45px;
  width: 8px;
  height: 8px;
}

.hero-pip-character .pip-eye.left {
  left: 43px;
}

.hero-pip-character .pip-eye.right {
  right: 43px;
}

.hero-pip-character .pip-smile {
  left: 45px;
  top: 59px;
  width: 20px;
}

.hero-pip-character .pip-scarf {
  left: 25px;
  top: 59px;
  width: 62px;
}

.hero-pip-character .pip-sun {
  right: 9px;
  top: 12px;
  width: 22px;
  height: 22px;
}

.hero-pip-character .pip-drop {
  left: 14px;
  bottom: 18px;
  width: 13px;
  height: 19px;
}

.pip-bubble {
  position: relative;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(16, 16, 27, 0.56);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.pip-bubble::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 38px;
  width: 16px;
  height: 16px;
  background: inherit;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transform: rotate(45deg);
}

.pip-bubble strong,
.pip-bubble span {
  display: block;
}

.pip-bubble strong {
  margin-bottom: 4px;
  color: var(--gold);
}

.pip-bubble span {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.35;
}

.pip-bubble small {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.25;
}

.topbar,
.brand,
.temperature-row,
.section-head {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 16px;
}

.brand {
  gap: 10px;
  color: #fff;
  font-weight: 900;
  text-transform: lowercase;
}

.brand sup {
  margin-left: 2px;
  font-size: 0.58rem;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  padding: 3px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(255, 47, 63, 0.28);
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pip-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  font-weight: 900;
  cursor: pointer;
  animation: pipTopFloat 4s ease-in-out infinite;
}

.pip-mini-face {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--coral), var(--violet));
  transform: rotate(45deg);
}

.pip-mini-face::before,
.pip-mini-face::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  transform: rotate(-45deg);
}

.pip-mini-face::before {
  left: 9px;
  top: 8px;
}

.pip-mini-face::after {
  right: 8px;
  top: 14px;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: min(420px, 36vw);
  margin-left: auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(16, 16, 27, 0.48);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-account {
  max-width: 220px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(16, 16, 27, 0.42);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-account[hidden] {
  display: none;
}

.location-pin {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border: 3px solid var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255, 189, 46, 0.18);
}

.price-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--coral), var(--violet));
  text-decoration: none;
  font-weight: 900;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(16, 16, 27, 0.28);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  gap: 24px;
  align-items: end;
}

.current-panel {
  max-width: 690px;
  color: #fff;
}

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

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  max-width: 720px;
  font-size: clamp(3.2rem, 7vw, 7.1rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.status {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 1.55;
}

.city-line {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.25;
}

.temperature-row {
  gap: 18px;
  margin: 28px 0 20px;
}

.actual-temp {
  font-size: clamp(4.4rem, 9vw, 8rem);
  font-weight: 950;
  line-height: 0.86;
  color: #fff;
  text-shadow: 0 0 34px rgba(255, 189, 46, 0.34), 0 10px 34px rgba(0, 0, 0, 0.34);
}

.temp-label {
  max-width: 270px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
  font-weight: 700;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(66px, 1fr));
  gap: 7px;
  max-width: 420px;
}

.signal-grid div,
.control-panel,
.recommendation-block,
.trip-planner,
.plan-output {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.signal-grid div {
  position: relative;
  overflow: hidden;
  min-height: 54px;
  padding: 8px 10px;
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.signal-grid span {
  position: relative;
  z-index: 1;
  display: block;
  font-weight: 850;
  font-size: 0.9rem;
}

.signal-grid small,
label,
.item small {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.72rem;
}

.signal-tile i,
.signal-tile::before,
.signal-tile::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.wind-signal i {
  left: -28%;
  right: 12%;
  top: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 167, 167, 0.7), transparent);
  animation: windFlow 3.8s linear infinite;
}

.wind-signal::before,
.wind-signal::after {
  left: -18%;
  width: 72%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 167, 167, 0.45), transparent);
  animation: windFlow 4.8s linear infinite;
}

.wind-signal::before {
  top: 42px;
}

.wind-signal::after {
  top: 62px;
  animation-duration: 5.6s;
}

.uv-signal i {
  right: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 189, 46, 0.95), rgba(255, 111, 177, 0.45) 58%, transparent 62%);
  animation: uvPulse 2.9s ease-in-out infinite;
}

.uv-signal::before {
  right: 21px;
  top: 5px;
  width: 14px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 189, 46, 0.24);
  transform-origin: center 23px;
  animation: uvSpin 8s linear infinite;
}

.uv-signal::after {
  right: 5px;
  top: 21px;
  width: 46px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 189, 46, 0.18);
  animation: uvSpin 8s linear infinite reverse;
}

.rain-signal i,
.rain-signal::before,
.rain-signal::after {
  top: -18px;
  width: 7px;
  height: 13px;
  border-radius: 999px 999px 999px 2px;
  background: rgba(0, 167, 167, 0.6);
  transform: rotate(28deg);
  animation: rainDrop 3.4s ease-in infinite;
}

.rain-signal i {
  right: 18px;
}

.rain-signal::before {
  right: 42px;
  animation-delay: 0.8s;
}

.rain-signal::after {
  right: 64px;
  animation-delay: 1.7s;
}

.air-signal i {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 47, 63, 0.14), transparent 68%);
  animation: airFloat 4.6s ease-in-out infinite;
}

.control-panel {
  padding: 18px;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
  background: rgba(255, 255, 255, 0.9);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2ed;
}

.segment {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.segment.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 10px rgba(23, 32, 38, 0.08);
}

label {
  display: grid;
  gap: 8px;
  margin: 13px 0;
  font-size: 0.88rem;
  font-weight: 750;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--coral);
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.workspace {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.plus-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.plus-preview-card {
  display: grid;
  gap: 4px;
  min-height: 118px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 42px rgba(8, 8, 20, 0.1);
}

.plus-preview-card h2,
.plus-preview-card p {
  margin-bottom: 0;
}

.plus-preview-card > p {
  color: var(--muted);
  line-height: 1.4;
}

.recommendations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

.recommendation-block {
  min-height: 156px;
  max-height: 220px;
  overflow: auto;
  padding: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.recommendation-block:nth-child(1) {
  border-color: rgba(255, 47, 63, 0.45);
}

.recommendation-block:nth-child(2) {
  border-color: rgba(255, 189, 46, 0.75);
}

.recommendation-block:nth-child(3) {
  border-color: rgba(0, 167, 167, 0.5);
}

.section-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.section-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  background: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
}

.item-list {
  display: grid;
  gap: 7px;
}

.item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: start;
}

.item-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #fff;
  background: var(--coral);
  font-size: 0.68rem;
  font-weight: 850;
}

.item strong,
.item small {
  display: block;
}

.item strong {
  margin-bottom: 1px;
  font-size: 0.94rem;
}

.item small {
  line-height: 1.32;
  font-size: 0.82rem;
}

.trip-planner,
.plan-output {
  margin-top: 20px;
  padding: 22px;
}

.trip-planner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 223, 0.92)),
    #fff;
  box-shadow: var(--shadow);
}

.trip-copy p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.55;
}

.wallet-note {
  padding: 12px 14px;
  border: 1px solid rgba(0, 167, 167, 0.22);
  border-radius: 8px;
  background: rgba(240, 255, 255, 0.82);
  font-weight: 750;
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 150px));
  gap: 10px;
  margin-top: 20px;
}

.price-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.92);
}

.price-card.highlight {
  border-color: var(--coral);
  background: linear-gradient(135deg, #ffe9e8, #fff4cf);
}

.price-card strong,
.price-card span {
  display: block;
}

.price-card strong {
  font-size: 1.9rem;
  line-height: 1;
}

.price-card span {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 750;
}

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

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trip-form button,
.checkout-button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(90deg, var(--coral), var(--violet));
  font-weight: 900;
  cursor: pointer;
}

.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  text-decoration: none;
  background: var(--ink);
  text-align: center;
}

.checkout-button.annual {
  color: var(--ink);
  background: var(--gold);
}

.plan-output {
  display: none;
}

.plan-output.visible {
  display: grid;
  gap: 14px;
}

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

.plan-card {
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.plan-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.plan-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.difference-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid rgba(255, 190, 43, 0.26);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 21, 31, 0.96), rgba(68, 56, 202, 0.56)),
    #17151f;
  box-shadow: var(--shadow);
}

.difference-panel p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

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

.difference-grid article {
  min-height: 142px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.difference-grid strong,
.difference-grid span {
  display: block;
}

.difference-grid strong {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 1.02rem;
}

.difference-grid span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.42;
}

.share-panel,
.voice-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 55px rgba(8, 8, 20, 0.1);
}

.voice-panel {
  display: none !important;
}

.share-panel p,
.voice-panel p {
  max-width: 660px;
  color: var(--muted);
  line-height: 1.55;
}

.share-actions {
  position: relative;
  display: grid;
  justify-items: stretch;
  gap: 12px;
}

.share-actions button,
.share-actions a,
.voice-console button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.share-main,
.voice-console button {
  background: linear-gradient(90deg, var(--teal), var(--coral));
}

.share-main {
  min-height: 58px;
  font-size: 1rem;
  box-shadow: 0 16px 38px rgba(255, 47, 63, 0.2);
}

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

.share-menu[hidden] {
  display: none;
}

.share-menu button,
.share-menu a {
  min-height: 44px;
  border-radius: 8px;
  font-size: 0.86rem;
}

.share-menu button {
  border: 0;
}

.voice-console {
  display: grid;
  gap: 12px;
}

.pip-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pip-settings label {
  margin: 0;
}

.pip-ask-form {
  display: grid;
  gap: 8px;
  margin: 0;
}

.pip-ask-form label {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.pip-ask-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.pip-ask-form input {
  min-width: 0;
}

.pip-ask-form button {
  min-width: 72px;
}

.pip-character {
  position: relative;
  width: 152px;
  height: 152px;
  justify-self: center;
  margin-bottom: 2px;
  filter: drop-shadow(0 18px 34px rgba(16, 16, 27, 0.22));
  animation: pipBob 4s ease-in-out infinite;
}

.pip-face {
  position: absolute;
  inset: 28px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.46), transparent 18%),
    linear-gradient(135deg, var(--coral), #ff4d74 48%, var(--violet));
  transform: rotate(45deg);
}

.pip-face::before {
  content: "P";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.18);
  font-size: 4.4rem;
  font-weight: 950;
  transform: rotate(-45deg) translateY(2px);
}

.pip-eye {
  position: absolute;
  z-index: 1;
  top: 63px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #fff;
  animation: pipBlink 5.2s infinite;
}

.pip-eye.left {
  left: 61px;
}

.pip-eye.right {
  right: 61px;
}

.pip-smile {
  position: absolute;
  z-index: 1;
  left: 64px;
  top: 83px;
  width: 25px;
  height: 12px;
  border-bottom: 4px solid #fff;
  border-radius: 0 0 999px 999px;
}

.pip-scarf {
  position: absolute;
  z-index: 2;
  left: 36px;
  top: 82px;
  width: 86px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  transform: rotate(-7deg);
  animation: scarfFlow 2.9s ease-in-out infinite;
}

.pip-scarf::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -4px;
  width: 30px;
  height: 18px;
  border-radius: 999px 999px 999px 2px;
  background: var(--teal);
  transform: rotate(12deg);
}

.pip-orbit {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
}

.pip-sun {
  right: 14px;
  top: 18px;
  width: 30px;
  height: 30px;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(255, 189, 46, 0.18);
  animation: orbitFloat 4.4s ease-in-out infinite;
}

.pip-drop {
  left: 18px;
  bottom: 24px;
  width: 18px;
  height: 26px;
  border-radius: 999px 999px 999px 4px;
  background: var(--teal);
  transform: rotate(28deg);
  animation: dropWiggle 3.6s ease-in-out infinite;
}

.voice-log {
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(0, 167, 167, 0.28);
  border-radius: 8px;
  color: var(--ink);
  background: #f7ffff;
  line-height: 1.45;
}

@keyframes windFlow {
  from {
    transform: translateX(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  to {
    transform: translateX(165%);
    opacity: 0;
  }
}

@keyframes uvPulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.76;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes uvSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rainDrop {
  0% {
    transform: translateY(0) rotate(28deg);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(110px) rotate(28deg);
    opacity: 0;
  }
}

@keyframes airFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.08);
  }
}

@keyframes pipBob {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-9px) rotate(1deg);
  }
}

@keyframes pipBlink {
  0%, 92%, 100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.12);
  }
}

@keyframes scarfFlow {
  0%, 100% {
    transform: rotate(-7deg) translateX(0);
  }
  50% {
    transform: rotate(-2deg) translateX(5px);
  }
}

@keyframes orbitFloat {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5px, -7px);
  }
}

@keyframes dropWiggle {
  0%, 100% {
    transform: rotate(28deg) translate(0, 0);
  }
  50% {
    transform: rotate(18deg) translate(2px, 7px);
  }
}

@keyframes pipTopFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

.account-panel {
  display: grid;
  gap: 10px;
  margin: 12px 0 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.hero-account-panel {
  margin: 10px 0 16px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-account-panel .auth-card {
  padding: 9px;
}

.hero-account-panel .auth-form h3,
.hero-account-panel .auth-note,
.hero-account-panel .field-note {
  display: none;
}

.hero-account-panel .auth-form.active {
  grid-template-columns: repeat(5, minmax(104px, 1fr)) auto;
}

.hero-account-panel .auth-tabs button,
.hero-account-panel .auth-card button,
.hero-account-panel input {
  min-height: 36px;
}

.dashboard-account-panel {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 55px rgba(8, 8, 20, 0.1);
}

.dashboard-account-panel > div:first-child {
  display: block;
}

.dashboard-account-panel .auth-shell {
  display: none;
}

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

.account-panel > div:first-child {
  display: none;
}

.account-panel > div:first-child p:last-child {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.55;
}

.account-signed-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(20, 170, 170, 0.26);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(240, 255, 255, 0.95), rgba(255, 253, 246, 0.95));
}

.account-signed-in[hidden] {
  display: none;
}

.account-signed-in h3,
.account-signed-in p {
  margin: 0;
}

.account-signed-in h3 {
  font-size: 1.35rem;
}

.account-signed-in button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 10px;
  align-items: stretch;
}

.account-grid.signed-in {
  grid-template-columns: 1fr;
}

.account-grid.signed-in .auth-shell {
  display: none;
}

.auth-card,
.wallet-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.auth-card h3,
.wallet-card h3 {
  margin: 0;
}

.step-label {
  margin: 0;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-shell,
.auth-form {
  display: grid;
  gap: 8px;
}

.auth-form label {
  margin: 4px 0;
  gap: 5px;
}

.name-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
  grid-column: span 2;
}

.name-pair label {
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255, 189, 46, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.auth-form.active {
  grid-template-columns: repeat(5, minmax(112px, 1fr)) auto;
  align-items: end;
}

.auth-form h3,
.auth-note,
.field-note,
.forgot-link {
  grid-column: 1 / -1;
}

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

.auth-tabs button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.auth-tabs button.active {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(24, 21, 31, 0.14);
}

.auth-note {
  margin: -2px 0 2px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.9rem;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 52px;
}

.auth-card .password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  min-height: 34px;
  padding: 0;
  border-radius: 6px;
  transform: translateY(-50%);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(24, 21, 31, 0.18);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-card button,
.wallet-card button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.auth-card .forgot-link {
  min-height: auto;
  justify-self: center;
  padding: 4px 0;
  color: var(--muted);
  background: transparent;
  border-radius: 0;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wallet-card {
  display: grid;
  gap: 8px;
}

.wallet-card .section-head {
  margin-bottom: 0;
  align-items: start;
}

#accountStatus {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.account-debug {
  min-height: 1.2em;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.verify-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 43, 60, 0.18);
  border-radius: 8px;
  background: rgba(255, 246, 235, 0.9);
}

.verify-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.verify-row input {
  letter-spacing: 0.14em;
  font-weight: 900;
}

.verify-row button {
  min-width: 92px;
}

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

.verify-card .resend-code {
  min-height: auto;
  justify-self: start;
  padding: 2px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#walletBalance {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--coral);
}

.wallet-card small,
.referral-code span {
  color: var(--muted);
}

.referral-code {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
  background: #f0ffff;
}

.referral-code code {
  font-size: 1rem;
  font-weight: 900;
}

.wallet-entries {
  display: grid;
  gap: 8px;
}

.wallet-entry {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.wallet-entry strong {
  color: var(--ink);
}

.wallet-entry small {
  line-height: 1.35;
}

.trust-panel {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.statement-list {
  display: grid;
  gap: 8px;
}

.access-note {
  max-width: 820px;
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.access-note a {
  color: var(--coral);
  font-weight: 900;
}

.statement-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf6;
}

.statement-list summary {
  cursor: pointer;
  padding: 13px 14px;
  font-weight: 900;
}

.statement-list p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding-bottom: 120px;
  }

  .hero-grid,
  .trip-planner,
  .recommendations,
  .plus-preview-grid,
  .plan-grid,
  .difference-panel,
  .account-grid,
  .share-panel,
  .voice-panel {
    grid-template-columns: 1fr;
  }

  .auth-form.active {
    grid-template-columns: 1fr 1fr;
  }

  .hero-account-panel .auth-form.active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .name-pair {
    grid-column: 1 / -1;
  }

  .auth-form button[type="submit"] {
    grid-column: 1 / -1;
  }

  .control-panel {
    max-width: 480px;
    transform: none;
  }

  .hero-pip {
    position: relative;
    right: auto;
    top: auto;
    grid-template-columns: 88px minmax(0, 1fr);
    max-width: 420px;
    margin: 18px 0 28px auto;
  }

  .hero-pip-character {
    width: 88px;
    height: 88px;
  }

  .recommendations {
    margin-top: -90px;
  }
}

@media (max-width: 560px) {
  .hero-content,
  .workspace {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 3.1rem;
  }

  .temperature-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .auth-form.active {
    grid-template-columns: 1fr;
  }

  .hero-account-panel .auth-form.active {
    grid-template-columns: 1fr;
  }

  .name-pair {
    grid-template-columns: 1fr;
  }

  .recommendation-block,
  .trip-planner,
  .plan-output {
    padding: 16px;
  }

  .top-actions {
    gap: 8px;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .hero-location {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .price-pill {
    display: none;
  }

  .pricing-row {
    grid-template-columns: 1fr;
  }

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

  .pip-settings {
    grid-template-columns: 1fr;
  }

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

  .difference-grid,
  .share-menu {
    grid-template-columns: 1fr;
  }

  .pip-mini span:not(.pip-mini-face) {
    display: none;
  }
}

/* Premium hero treatment: keep account and condition controls subtle over the image. */
.hero .signal-grid {
  max-width: 430px;
  gap: 7px;
}

.hero .signal-grid div {
  min-height: 48px;
  padding: 8px 10px;
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(16, 16, 27, 0.34);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.hero .signal-grid span {
  color: #fff;
  font-size: 0.9rem;
}

.hero .signal-grid small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
}

.hero .signal-tile i,
.hero .signal-tile::before,
.hero .signal-tile::after {
  opacity: 0.42;
}

.hero-account-panel {
  width: min(820px, 100%);
  margin: 10px 0 18px auto;
  padding: 7px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(16, 16, 27, 0.34);
  box-shadow: none;
}

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

.hero-account-panel .auth-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.hero-account-panel .auth-tabs {
  width: min(210px, 100%);
  padding: 3px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.hero-account-panel .auth-tabs button {
  min-height: 30px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

.hero-account-panel .auth-tabs button.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.hero-account-panel .auth-form.active {
  grid-template-columns: minmax(178px, 1.2fr) repeat(3, minmax(94px, 1fr)) 112px;
  gap: 7px;
  align-items: end;
}

.hero-account-panel .auth-form label {
  margin: 0;
  gap: 0;
  color: transparent;
  font-size: 0;
}

.hero-account-panel .name-pair {
  grid-column: auto;
  grid-template-columns: repeat(2, minmax(82px, 1fr));
  gap: 7px;
}

.hero-account-panel .name-pair label {
  padding: 0;
  border: 0;
  background: transparent;
}

.hero-account-panel input {
  min-height: 34px;
  padding: 0 10px;
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.82rem;
}

.hero-account-panel input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.hero-account-panel .password-toggle {
  width: 32px;
  min-height: 28px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero-account-panel .auth-card button[type="submit"] {
  min-height: 34px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(90deg, var(--coral), var(--violet));
  font-size: 0.82rem;
}

.hero-account-panel .forgot-link {
  color: rgba(255, 255, 255, 0.72);
}

.top-account {
  padding: 7px 11px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(16, 16, 27, 0.34);
  box-shadow: none;
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .hero-account-panel {
    margin-left: 0;
  }

  .hero-account-panel .auth-form.active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-account-panel .name-pair {
    grid-column: 1 / -1;
  }

  .hero-account-panel .auth-card button[type="submit"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hero-account-panel .auth-form.active,
  .hero-account-panel .name-pair {
    grid-template-columns: 1fr;
  }
}

/* v43: remove the remaining large white boxes from the premium hero/readout area. */
.hero .control-panel {
  max-width: 330px;
  padding: 10px;
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(16, 16, 27, 0.34);
  box-shadow: none;
  backdrop-filter: blur(16px);
  transform: none;
}

.hero .control-panel label {
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
}

.hero .segmented {
  margin-bottom: 8px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.hero .segment {
  min-height: 31px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.hero .segment.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.hero input[type="range"] {
  height: 18px;
}

.recommendations {
  margin-top: 12px;
}

.recommendation-block {
  min-height: 132px;
  max-height: 188px;
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(16, 16, 27, 0.76);
  box-shadow: 0 16px 48px rgba(8, 8, 20, 0.18);
}

.recommendation-block h2,
.recommendation-block .item strong {
  color: #fff;
}

.recommendation-block .item small {
  color: rgba(255, 255, 255, 0.68);
}

.recommendation-block .section-head span {
  background: rgba(0, 167, 167, 0.82);
}

.recommendation-block .item-icon {
  background: rgba(255, 47, 63, 0.9);
}

.plus-preview-card {
  border-color: rgba(23, 21, 31, 0.08);
  background: rgba(255, 255, 255, 0.78);
}

/* v46 hard reset: account should be compact, subtle, and never the big white box layout. */
.hero-account-panel {
  display: none !important;
}

.account-panel,
.dashboard-account-panel {
  max-width: 980px;
  margin: 18px auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(18, 17, 29, 0.88), rgba(71, 43, 67, 0.68));
  color: #fff;
  box-shadow: 0 18px 45px rgba(10, 10, 22, 0.18);
}

.account-panel .account-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

.account-panel .auth-card,
.account-panel .wallet-card {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
}

.account-panel .wallet-card {
  display: none;
}

.account-grid.signed-in .wallet-card {
  display: grid;
}

.account-panel .auth-form.active {
  grid-template-columns: repeat(5, minmax(112px, 1fr)) auto;
  gap: 8px;
  align-items: end;
}

.account-panel .auth-form h3,
.account-panel .auth-note,
.account-panel .field-note {
  display: none;
}

.account-panel .auth-form label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
}

.account-panel .check-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.account-panel .check-row input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--coral);
}

.account-panel .name-pair {
  grid-column: auto;
  grid-template-columns: repeat(2, minmax(104px, 1fr));
  gap: 8px;
}

.account-panel .name-pair label {
  padding: 0;
  border: 0;
  background: transparent;
}

.account-panel input {
  min-height: 36px;
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.account-panel input::placeholder {
  color: rgba(255, 255, 255, 0.66);
}

.account-panel .auth-tabs {
  max-width: 240px;
  padding: 3px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.account-panel .auth-tabs button,
.account-panel .auth-form button[type="submit"],
.account-panel .password-toggle {
  min-height: 34px;
}

.account-panel .account-signed-in {
  padding: 10px 12px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media (max-width: 900px) {
  .account-panel .auth-form.active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-panel .name-pair {
    grid-column: 1 / -1;
  }

  .account-panel .auth-form button[type="submit"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
.account-panel .auth-form.active,
.account-panel .name-pair {
    grid-template-columns: 1fr;
  }
}

/* v48: quieter commercial styling for Plus and referral surfaces. */
.trip-planner {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 22px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 15, 27, 0.94), rgba(47, 35, 57, 0.88)),
    #16141f;
  box-shadow: 0 24px 70px rgba(9, 8, 18, 0.22);
}

.trip-planner::after {
  content: "";
  position: absolute;
  inset: auto 24px 0 auto;
  width: 260px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 47, 63, 0.72), rgba(0, 167, 167, 0.56));
}

.trip-copy,
.trip-form {
  position: relative;
  z-index: 1;
}

.trip-copy .eyebrow,
.trip-planner .eyebrow {
  color: rgba(255, 255, 255, 0.56);
}

.trip-copy h2 {
  margin-bottom: 6px;
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 2.05rem);
}

.trip-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.wallet-note {
  display: inline-flex;
  width: auto;
  margin: 4px 0 0;
  padding: 7px 10px;
  border: 1px solid rgba(0, 167, 167, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 760;
}

.pricing-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.price-card {
  min-width: 126px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.price-card.highlight {
  border-color: rgba(255, 189, 46, 0.46);
  background: rgba(255, 189, 46, 0.12);
}

.price-card strong {
  color: #fff;
  font-size: 1.38rem;
  line-height: 1;
}

.price-card span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
}

.trip-form {
  align-self: stretch;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.trip-form label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.trip-form input,
.trip-form select {
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.trip-form input:focus,
.trip-form select:focus {
  border-color: rgba(0, 167, 167, 0.62);
  box-shadow: 0 0 0 3px rgba(0, 167, 167, 0.12);
}

.form-actions {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.trip-form button,
.checkout-button {
  min-height: 38px;
  border-radius: 8px;
  font-size: 0.88rem;
  letter-spacing: 0;
  box-shadow: none;
}

.trip-form button {
  background: linear-gradient(90deg, rgba(255, 47, 63, 0.94), rgba(91, 63, 214, 0.94));
}

.checkout-button {
  background: rgba(255, 255, 255, 0.1);
}

.checkout-button.annual {
  grid-column: 1 / -1;
  color: #17151f;
  background: rgba(255, 189, 46, 0.92);
}

.share-panel {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(23, 21, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 48px rgba(13, 12, 24, 0.08);
}

.share-panel h2 {
  font-size: 1.25rem;
}

.share-panel p {
  color: var(--muted);
}

.share-main {
  min-height: 38px;
  border-radius: 8px;
  background: rgba(23, 21, 31, 0.94);
  box-shadow: none;
}

.share-status {
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(240, 255, 255, 0.62);
}

@media (max-width: 900px) {
  .trip-planner {
    grid-template-columns: 1fr;
  }
}

/* v49: app-style share control and clearer Plus account entry. */
.compact-share {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: min(100% - 32px, 1180px);
  margin: 12px auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.compact-share h2 {
  margin: 0 auto 0 0;
  color: rgba(23, 21, 31, 0.72);
  font-size: 0.92rem;
  font-weight: 850;
}

.compact-share .share-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.compact-share .share-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(23, 21, 31, 0.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 21, 31, 0.92);
  box-shadow: 0 10px 30px rgba(13, 12, 24, 0.12);
}

.compact-share .share-main svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compact-share .share-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10;
  display: flex;
  gap: 6px;
  width: max-content;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(23, 21, 31, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(13, 12, 24, 0.16);
  backdrop-filter: blur(14px);
}

.compact-share .share-menu[hidden] {
  display: none;
}

.compact-share .share-menu a,
.compact-share .share-menu button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: rgba(23, 21, 31, 0.84);
  background: rgba(23, 21, 31, 0.06);
  font-size: 0.78rem;
  font-weight: 850;
}

.compact-share .share-status {
  position: absolute;
  right: 0;
  top: calc(100% + 50px);
  width: min(320px, 80vw);
  min-height: 0;
  padding: 8px 10px;
  border: 1px solid rgba(0, 167, 167, 0.2);
  border-radius: 8px;
  color: rgba(23, 21, 31, 0.78);
  background: rgba(240, 255, 255, 0.92);
  font-size: 0.82rem;
}

.account-pill {
  scroll-margin-top: 24px;
}

.account-panel {
  scroll-margin-top: 20px;
}

.account-panel > div:first-child {
  display: block;
}

.account-panel > div:first-child h2 {
  color: #fff;
  font-size: 1.2rem;
}

.account-panel > div:first-child p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 700px) {
  .compact-share {
    align-items: flex-start;
    flex-direction: column;
  }

  .compact-share .share-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .compact-share .share-menu {
    left: 0;
    right: auto;
    flex-wrap: wrap;
    border-radius: 8px;
  }
}

/* v50: Plus account setup before checkout and true fine-print treatment. */
.account-panel .auth-tabs {
  max-width: 360px;
  margin-bottom: 8px;
}

.account-panel .auth-tabs button {
  min-height: 32px;
  border-radius: 7px;
  font-size: 0.78rem;
}

.account-panel .auth-form h3,
.account-panel .auth-note {
  display: block;
  margin: 0;
  color: #fff;
}

.account-panel .auth-form h3 {
  font-size: 1rem;
}

.account-panel .auth-note {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
}

.account-panel .auth-form.active {
  grid-template-columns: minmax(210px, 1.15fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(140px, 0.75fr) auto;
}

.account-panel .name-pair {
  grid-column: auto;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
}

.account-inline-status {
  margin: 4px 0 0;
  padding: 7px 10px;
  border: 1px solid rgba(255, 189, 46, 0.22);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 189, 46, 0.08);
  font-size: 0.82rem;
}

.account-plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.account-plan-actions .checkout-button {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.account-verify-card {
  display: grid;
  gap: 8px;
  max-width: 520px;
  padding: 12px;
  border: 1px solid rgba(0, 167, 167, 0.28);
  border-radius: 8px;
  background: rgba(0, 167, 167, 0.09);
}

.account-verify-card[hidden] {
  display: none !important;
}

.account-verify-card h3,
.account-verify-card p {
  margin: 0;
}

.account-verify-card .verify-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto;
  gap: 8px;
}

.account-verify-card .resend-code {
  min-height: 32px;
  width: max-content;
  padding: 0 12px;
  border-radius: 999px;
}

.checkout-button.locked {
  position: relative;
  cursor: not-allowed;
  opacity: 0.62;
  filter: saturate(0.72);
}

.checkout-button.locked::before {
  content: "Setup required";
  position: absolute;
  right: 8px;
  top: -10px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #17151f;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.fine-print-panel {
  width: min(100% - 32px, 1180px);
  margin: 14px auto 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fine-print-panel > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid rgba(23, 21, 31, 0.12);
  padding-top: 12px;
}

.fine-print-panel .eyebrow {
  margin: 0;
  color: rgba(23, 21, 31, 0.46);
  font-size: 0.7rem;
}

.fine-print-panel h2 {
  margin: 0;
  color: rgba(23, 21, 31, 0.68);
  font-size: 0.9rem;
}

.fine-print-panel .access-note {
  margin: 0 0 0 auto;
  max-width: 520px;
  color: rgba(23, 21, 31, 0.54);
  font-size: 0.76rem;
  line-height: 1.35;
}

.fine-print-panel .statement-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.fine-print-panel details {
  border: 0;
  border-radius: 999px;
  background: rgba(23, 21, 31, 0.055);
}

.fine-print-panel details[open] {
  flex-basis: 100%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
}

.fine-print-panel summary {
  padding: 6px 10px;
  color: rgba(23, 21, 31, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
}

.fine-print-panel p {
  padding: 0 10px 10px;
  color: rgba(23, 21, 31, 0.58);
  font-size: 0.78rem;
  line-height: 1.42;
}

@media (max-width: 900px) {
  .account-panel .auth-form.active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fine-print-panel > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .fine-print-panel .access-note {
    margin-left: 0;
  }
}

/* v51: keep Plus signup visible and make account setup an obvious step before payment. */
.setup-plus-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(0, 167, 167, 0.32);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 167, 167, 0.22);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 900;
}

.setup-plus-button:hover,
.setup-plus-button:focus-visible {
  background: rgba(0, 167, 167, 0.34);
}

.account-panel .auth-shell,
.dashboard-account-panel .auth-shell {
  display: grid !important;
}

.account-panel .auth-form.active {
  display: grid !important;
}

.account-panel .auth-form[hidden] {
  display: none !important;
}

.account-panel .wallet-card {
  display: none !important;
}

.account-grid.signed-in .wallet-card {
  display: grid !important;
}

.account-panel > div:first-child {
  display: block !important;
}

/* v59: true signed-in account screen and Plus-ready controls. */
.account-panel .auth-shell[hidden],
.member-dashboard[hidden] {
  display: none !important;
}

.member-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.member-dashboard article {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 45, 61, 0.16), rgba(0, 167, 167, 0.11)),
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.member-dashboard span,
.member-dashboard small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  line-height: 1.35;
}

.member-dashboard span {
  margin-bottom: 6px;
  color: #ffbd2e;
  font-weight: 900;
  text-transform: uppercase;
}

.member-dashboard strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.15;
}

.plus-activities {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 189, 46, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(23, 21, 31, 0.74), rgba(58, 41, 78, 0.56));
}

.plus-activities[hidden] {
  display: none !important;
}

.plus-activities h3 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 1.05rem;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 10px;
}

.activity-card {
  min-height: 150px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.activity-card span {
  display: block;
  margin-bottom: 7px;
  color: #ffbd2e;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.activity-card strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.2;
}

.activity-card p {
  margin: 8px 0 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.38;
}

.activity-card a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #17151f;
  background: #ffbd2e;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
}

.account-signed-in-mode .account-panel .account-grid {
  grid-template-columns: minmax(0, 1fr);
}

.account-signed-in-mode .account-panel .wallet-card {
  max-width: none;
}

.member-ready .trip-form {
  border-color: rgba(0, 167, 167, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 167, 167, 0.1), 0 18px 46px rgba(0, 0, 0, 0.16);
}

.plus-account-ready .checkout-button.locked::before {
  content: "";
  display: none;
}

@media (max-width: 900px) {
  .member-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .member-dashboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .setup-plus-button {
    width: 100%;
  }
}
