* {
  box-sizing: border-box;
}

@property --mesh-one {
  syntax: "<color>";
  inherits: false;
  initial-value: rgba(0, 170, 215, 0.18);
}

@property --mesh-two {
  syntax: "<color>";
  inherits: false;
  initial-value: rgba(239, 172, 54, 0.14);
}

@property --mesh-three {
  syntax: "<color>";
  inherits: false;
  initial-value: rgba(220, 66, 47, 0.08);
}

@property --mesh-four {
  syntax: "<color>";
  inherits: false;
  initial-value: rgba(38, 57, 71, 0.06);
}

:root {
  --ink: #3f444a;
  --muted: #5b6068;
  --soft-bg: #e4e6e5;
  --brand-cyan: #00aad7;
  --brand-red: #dc422f;
  --brand-amber: #efac36;
  --brand-ink: #263947;
  --border: #eef0f2;
  --link: #1a0dab;
  --content-left: 228px;
  --results-width: 862px;
  --results-inset: 0px;
  --header-height: 168px;
  --header-compact-height: 94px;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scrollbar-color: rgba(72, 80, 89, 0.34) transparent;
  scrollbar-width: thin;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  min-height: 48px;
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(72, 80, 89, 0.34);
  background-clip: content-box;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: rgba(72, 80, 89, 0.48);
  background-clip: content-box;
}

html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button,
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
  display: none;
  background: transparent;
}

body {
  min-width: 1180px;
  padding-top: var(--header-height);
  background: #ffffff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.ui-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: currentColor;
  overflow: visible;
  pointer-events: none;
  vertical-align: middle;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

body.security-overview-active {
  overflow: hidden;
}

body.security-overview-active .search-shell,
body.security-overview-active .page-content {
  filter: blur(7px) saturate(0.78) opacity(0.46);
  transform: scale(0.992);
  transform-origin: center top;
  transition:
    filter 280ms ease,
    transform 280ms ease;
}

.security-overview {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 48px;
  color: #263947;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.security-overview[hidden] {
  display: none;
}

.security-overview.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.security-overview-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 56% 42% at 50% 16%, rgba(0, 170, 215, 0.1), rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, rgba(250, 252, 252, 0.82), rgba(247, 250, 249, 0.94));
  backdrop-filter: blur(14px);
}

.security-panel {
  position: relative;
  width: min(520px, calc(100vw - 64px));
  max-height: calc(100vh - 72px);
  overflow: auto;
  padding: 28px 30px 30px;
  border: 1px solid rgba(224, 230, 232, 0.86);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 253, 0.96)),
    #ffffff;
  box-shadow:
    0 24px 64px rgba(38, 57, 71, 0.14),
    0 7px 18px rgba(38, 57, 71, 0.08);
  text-align: center;
  animation: securityPanelEnter 520ms cubic-bezier(0.18, 0.88, 0.2, 1) both;
}

.security-panel:focus {
  outline: 0;
}

.security-skip-button,
.security-quiet-row {
  display: none !important;
}

.security-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 36px;
  padding-right: 0;
  padding-left: 0;
}

.security-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475866;
  font-size: 16px;
  font-weight: 620;
  line-height: 1;
}

.security-logo-lockup img {
  width: 23px;
  height: auto;
  object-fit: contain;
}

.security-logo-lockup span span,
.puzzle-logo span span {
  color: var(--brand-cyan);
}

.security-hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.92), transparent 42%),
    linear-gradient(145deg, rgba(0, 170, 215, 0.15), rgba(41, 139, 255, 0.1));
  box-shadow:
    inset 0 0 0 1px rgba(0, 170, 215, 0.22),
    0 9px 18px rgba(0, 126, 188, 0.08);
  overflow: hidden;
}

.security-hero-ring {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(0, 170, 215, 0.3);
  border-radius: 999px;
  pointer-events: none;
  animation: securityHeroPulse 1.25s ease-out both;
}

.security-hero-icon {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  color: #007fc1;
}

.security-heading-copy {
  min-width: 0;
  margin-top: 28px;
}

.security-heading-copy h1 {
  margin: 0 0 8px;
  color: #141d2a;
  font-size: 28px;
  font-weight: 780;
  line-height: 1.15;
  letter-spacing: 0;
}

.security-heading-copy p {
  margin: 0;
  color: #5d6670;
  font-size: 14px;
  line-height: 1.5;
}

.security-status-strip {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  padding: 0 18px;
  border: 1px solid rgba(74, 205, 139, 0.46);
  border-radius: 10px;
  background: rgba(234, 253, 243, 0.92);
  color: #247754;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  outline: 0;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.security-overview[data-security-phase="checking"] .checking-copy,
.security-overview[data-security-phase="ready"][data-security-state="warning"] .warning-copy {
  display: flex;
}

.security-status-strip:hover {
  border-color: rgba(52, 168, 83, 0.58);
  background: rgba(226, 251, 238, 0.98);
}

.security-status-strip.checking-copy {
  border-color: rgba(0, 170, 215, 0.38);
  background: rgba(233, 249, 253, 0.94);
  color: #17738e;
  cursor: default;
}

.security-status-strip.warning-copy {
  border-color: rgba(239, 172, 54, 0.44);
  background: rgba(255, 248, 232, 0.95);
  color: #7e5c18;
}

.security-status-strip.warning-copy:hover {
  border-color: rgba(239, 172, 54, 0.58);
  background: rgba(255, 246, 219, 0.98);
}

.security-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 170, 215, 0.22);
  border-top-color: #007fc1;
  border-radius: 999px;
  animation: securitySpinner 760ms linear infinite;
}

.security-status-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.security-status-icon .ui-icon {
  width: 13px;
  height: 13px;
}

.security-status-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  width: 20px;
}

.security-status-dots span {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.34;
  animation: securityDots 1.05s ease-in-out infinite;
}

.security-status-dots span:nth-child(2) {
  animation-delay: 140ms;
}

.security-status-dots span:nth-child(3) {
  animation-delay: 280ms;
}

.security-status-strip:focus-visible {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.96),
    0 0 0 6px rgba(0, 170, 215, 0.3);
}

.security-status-strip:active {
  transform: translateY(1px);
}

.security-reassurance {
  display: grid;
  gap: 4px;
  margin: 18px 0 0;
  color: #6c767d;
  font-size: 12px;
  line-height: 1.45;
}

.security-reassurance strong {
  color: #41505a;
  font-weight: 820;
}

@keyframes securityPanelEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.982);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes securityHeroPulse {
  from {
    opacity: 0.8;
    transform: scale(0.82);
  }

  to {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes securityDots {
  0%,
  100% {
    opacity: 0.34;
    transform: translateY(0);
  }

  45% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

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

@keyframes unlockTextShimmer {
  from {
    background-position: 180% center;
  }

  to {
    background-position: -80% center;
  }
}

.puzzle-page {
  min-width: 0;
  min-height: 100vh;
  padding: 0;
  background:
    radial-gradient(ellipse 54% 42% at 50% 14%, rgba(0, 170, 215, 0.1), transparent 64%),
    linear-gradient(180deg, #f8fbfb, #eef5f3);
  color: #1f2e3a;
}

.puzzle-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.72) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 72%);
  pointer-events: none;
}

.puzzle-stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 42px 18px;
}

.puzzle-card {
  width: min(560px, 100%);
  padding: 30px;
  border: 1px solid rgba(224, 230, 232, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 24px 64px rgba(38, 57, 71, 0.14),
    0 7px 18px rgba(38, 57, 71, 0.08);
  text-align: center;
  animation: securityPanelEnter 500ms cubic-bezier(0.18, 0.88, 0.2, 1) both;
}

.puzzle-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #475866;
  font-size: 16px;
  font-weight: 620;
  line-height: 1;
}

.puzzle-logo img {
  width: 23px;
  height: auto;
}

.puzzle-card h1 {
  margin: 0 0 10px;
  color: #5b6870;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.puzzle-card > p {
  margin: 0;
  color: #5d6670;
  font-size: 14px;
  line-height: 1.5;
}

#puzzle-description {
  max-width: 440px;
  margin-right: auto;
  margin-left: auto;
  color: #141d2a;
  font-size: 30px;
  font-weight: 560;
  line-height: 1.12;
}

.puzzle-challenge {
  margin-top: 24px;
}

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

.puzzle-tile {
  display: grid;
  min-height: 94px;
  place-items: center;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(218, 225, 228, 0.9);
  border-radius: 16px;
  background: #fbfcfc;
  color: #43545e;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  outline: 0;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.puzzle-tile svg {
  width: 28px;
  height: 28px;
}

.puzzle-tile:hover,
.puzzle-tile:focus-visible {
  border-color: rgba(0, 170, 215, 0.3);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(38, 57, 71, 0.08);
  transform: translateY(-1px);
}

.puzzle-tile.is-correct {
  border-color: rgba(52, 168, 83, 0.5);
  background: rgba(234, 253, 243, 0.92);
  color: #247754;
}

.puzzle-tile.is-incorrect {
  border-color: rgba(239, 172, 54, 0.42);
  background: rgba(255, 248, 232, 0.95);
  color: #7e5c18;
}

.puzzle-animal-grid {
  max-width: 430px;
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.puzzle-animal-tile {
  min-height: 132px;
  gap: 9px;
}

.animal-illustration {
  display: grid;
  width: 76px;
  height: 56px;
  place-items: center;
}

.animal-illustration svg {
  width: 76px;
  height: 56px;
}

.puzzle-entry-wrap,
.puzzle-slider-wrap {
  display: block;
}

.puzzle-answer-form {
  display: grid;
  max-width: 360px;
  margin-right: auto;
  margin-left: auto;
  gap: 12px;
}

.puzzle-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(203, 216, 221, 0.95);
  border-radius: 16px;
  background: #fbfcfc;
  color: #141d2a;
  font: inherit;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0;
  text-align: center;
  outline: 0;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.puzzle-input::placeholder {
  color: #8a969c;
  font-weight: 560;
}

.puzzle-input:focus-visible {
  border-color: rgba(0, 170, 215, 0.5);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 170, 215, 0.12);
}

.puzzle-input[aria-invalid="true"] {
  border-color: rgba(239, 172, 54, 0.7);
  background: rgba(255, 248, 232, 0.95);
}

.puzzle-action-button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #3D80EC;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
  outline: 0;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.puzzle-action-button:hover,
.puzzle-action-button:focus-visible {
  background: #2f70da;
  box-shadow: 0 12px 24px rgba(61, 128, 236, 0.24);
  transform: translateY(-1px);
}

.puzzle-answer-form.is-correct .puzzle-input {
  border-color: rgba(52, 168, 83, 0.5);
  background: rgba(234, 253, 243, 0.92);
}

.puzzle-answer-form.is-incorrect .puzzle-input {
  border-color: rgba(239, 172, 54, 0.7);
  background: rgba(255, 248, 232, 0.95);
}

.puzzle-letter-sample {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.puzzle-letter-sample span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(203, 216, 221, 0.95);
  border-radius: 14px;
  background: #f5fafc;
  color: #1f2e3a;
  font-size: 20px;
  font-weight: 720;
  line-height: 1;
}

.puzzle-slider-panel {
  width: min(420px, 100%);
  margin-right: auto;
  margin-left: auto;
  padding: 10px 0 0;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.puzzle-slider-panel.is-correct {
  background: transparent;
}

.puzzle-unlock-track {
  --progress: 0%;
  position: relative;
  min-height: 64px;
  border: 1px solid rgba(190, 205, 212, 0.9);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 248, 0.94)),
    #f4f9fa;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -12px 24px rgba(64, 84, 95, 0.06),
    0 10px 24px rgba(38, 57, 71, 0.08);
  overflow: hidden;
}

.puzzle-unlock-track::before {
  content: "";
  position: absolute;
  inset: 5px auto 5px 5px;
  z-index: 0;
  width: var(--progress);
  max-width: calc(100% - 10px);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(0, 170, 215, 0.28), rgba(0, 170, 215, 0.09)),
    rgba(0, 170, 215, 0.1);
  pointer-events: none;
}

.puzzle-unlock-label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding-left: 66px;
  padding-right: 20px;
  color: #66747c;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
  background: linear-gradient(90deg, #77858c 0%, #aebbc1 34%, #1f2e3a 50%, #aebbc1 66%, #77858c 100%);
  background-size: 260% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: unlockTextShimmer 1750ms linear infinite;
  pointer-events: none;
}

.puzzle-range {
  position: absolute;
  inset: 5px;
  z-index: 2;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  margin: 0;
  background: transparent;
  cursor: pointer;
  outline: 0;
  appearance: none;
}

.puzzle-range::-webkit-slider-runnable-track {
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.puzzle-range::-webkit-slider-thumb {
  width: 54px;
  height: 54px;
  margin-top: 0;
  border: 1px solid rgba(190, 205, 212, 0.95);
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%206L15%2012L9%2018'%20stroke='%2300aad7'%20stroke-width='2.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat,
    linear-gradient(180deg, #ffffff, #eef5f7);
  box-shadow:
    0 11px 22px rgba(38, 57, 71, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  appearance: none;
}

.puzzle-range::-moz-range-track {
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.puzzle-range::-moz-range-progress {
  height: 54px;
  border-radius: 999px;
  background: transparent;
}

.puzzle-range::-moz-range-thumb {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(190, 205, 212, 0.95);
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%206L15%2012L9%2018'%20stroke='%2300aad7'%20stroke-width='2.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat,
    linear-gradient(180deg, #ffffff, #eef5f7);
  box-shadow:
    0 11px 22px rgba(38, 57, 71, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.puzzle-range:focus-visible::-webkit-slider-thumb {
  box-shadow:
    0 0 0 4px rgba(0, 170, 215, 0.16),
    0 11px 22px rgba(38, 57, 71, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.puzzle-range:focus-visible::-moz-range-thumb {
  box-shadow:
    0 0 0 4px rgba(0, 170, 215, 0.16),
    0 11px 22px rgba(38, 57, 71, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.puzzle-slider-hint {
  display: block;
  margin-top: 13px;
  color: #6c767d;
  font-size: 12px;
  line-height: 1.35;
}

.puzzle-status {
  min-height: 21px;
  margin-top: 28px;
  padding-top: 10px;
  color: #56646c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.puzzle-status.is-success {
  color: #247754;
}

.puzzle-status.is-warning {
  color: #7e5c18;
}

.puzzle-note {
  display: block;
  margin-top: 18px;
  color: #6c767d;
  font-size: 12px;
  line-height: 1.45;
}

.search-shell {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  height: var(--header-height);
  background: #ffffff;
  border-radius: 0 0 24px 24px;
  box-shadow: inset 0 -1px 0 rgba(216, 222, 228, 0.78);
  isolation: isolate;
  overflow: visible;
  transition:
    height 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-radius 220ms ease,
    box-shadow 220ms ease;
}

.search-shell::before,
.search-shell::after {
  content: "";
  display: none;
}

.search-shell::before {
  background:
    radial-gradient(ellipse 78% 120% at 13% 16%, var(--mesh-one) 0%, rgba(228, 230, 229, 0) 58%),
    radial-gradient(ellipse 82% 110% at 72% 4%, var(--mesh-two) 0%, rgba(228, 230, 229, 0) 56%),
    radial-gradient(ellipse 58% 92% at 98% 26%, var(--mesh-three) 0%, rgba(228, 230, 229, 0) 64%),
    conic-gradient(from 218deg at 68% 18%, var(--mesh-four), var(--mesh-one), var(--mesh-two), var(--mesh-three), var(--mesh-four));
  background-blend-mode: soft-light, soft-light, normal, normal;
  opacity: 0.96;
  animation: none;
  transition:
    --mesh-one 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    --mesh-two 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    --mesh-three 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    --mesh-four 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease;
}

.search-shell::after {
  background:
    radial-gradient(ellipse 52% 130% at 48% 50%, var(--mesh-one) 0%, rgba(228, 230, 229, 0) 62%),
    radial-gradient(ellipse 46% 96% at 68% 38%, var(--mesh-two) 0%, rgba(228, 230, 229, 0) 68%);
  opacity: 0;
  transform: scale(0.92) translate3d(-1.5%, 0, 0);
}

.search-shell.mesh-ink::after {
  animation: meshInkBloom 680ms cubic-bezier(0.18, 0.88, 0.2, 1);
}

.search-shell > * {
  z-index: 1;
}

.search-shell[data-active-topic="images"] {
  --mesh-one: rgba(47, 128, 237, 0.22);
  --mesh-two: rgba(0, 170, 215, 0.16);
  --mesh-three: rgba(102, 163, 255, 0.12);
  --mesh-four: rgba(47, 95, 146, 0.08);
}

.search-shell[data-active-topic="hotels"] {
  --mesh-one: rgba(234, 142, 40, 0.22);
  --mesh-two: rgba(239, 172, 54, 0.18);
  --mesh-three: rgba(190, 116, 36, 0.1);
  --mesh-four: rgba(122, 84, 38, 0.08);
}

.search-shell[data-active-topic="videos"] {
  --mesh-one: rgba(225, 91, 84, 0.2);
  --mesh-two: rgba(220, 66, 47, 0.14);
  --mesh-three: rgba(245, 145, 125, 0.12);
  --mesh-four: rgba(128, 80, 75, 0.08);
}

.search-shell[data-active-topic="maps"] {
  --mesh-one: rgba(52, 168, 83, 0.2);
  --mesh-two: rgba(0, 170, 215, 0.1);
  --mesh-three: rgba(137, 188, 86, 0.14);
  --mesh-four: rgba(55, 105, 68, 0.08);
}

@keyframes meshInkDrift {
  from {
    transform: translate3d(-0.35%, -0.4%, 0) scale(1);
  }

  to {
    transform: translate3d(0.45%, 0.35%, 0) scale(1.015);
  }
}

@keyframes meshInkBloom {
  0% {
    opacity: 0;
    transform: scale(0.88) translate3d(-3%, 0, 0);
  }

  44% {
    opacity: 0.46;
  }

  100% {
    opacity: 0;
    transform: scale(1.08) translate3d(2%, 0, 0);
  }
}

body.header-condensed .search-shell {
  height: var(--header-compact-height);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 8px 22px rgba(31, 38, 45, 0.1);
}

.brand-logo {
  position: absolute;
  left: 121px;
  top: 24px;
  width: 52px;
  height: 52px;
}

.search-pill {
  position: absolute;
  left: 204px;
  top: 22px;
  display: flex;
  align-items: center;
  width: min(930px, calc(100vw - 760px));
  min-width: 610px;
  height: 56px;
  margin: 0;
  padding: 0 16px 0 24px;
  border-radius: 29px;
  border: 1px solid rgba(219, 225, 230, 0.9);
  background: #edf0f2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.search-pill:focus-within {
  background: #f7f8f9;
  box-shadow:
    0 0 0 2px rgba(66, 72, 78, 0.12),
    0 6px 18px rgba(39, 45, 52, 0.08);
}

.search-pill[data-invalid="true"] {
  box-shadow:
    0 0 0 2px rgba(208, 74, 74, 0.28),
    0 6px 18px rgba(39, 45, 52, 0.08);
}

.search-pill input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #2f3338;
  font-size: 16px;
  font-weight: 600;
}

.search-pill input::placeholder {
  color: #8e959d;
}

.search-pill input::-webkit-search-decoration,
.search-pill input::-webkit-search-cancel-button {
  display: none;
}

.search-pill:not([data-has-value="true"]) .clear-button,
.search-pill:not([data-has-value="true"]) .search-divider {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.icon-button {
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #3d4248;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
  outline: 0;
}

.icon-button .ui-icon {
  width: 24px;
  height: 24px;
}

.icon-button:hover {
  background: rgba(61, 66, 72, 0.08);
  color: #262c33;
}

.icon-button:active {
  transform: translateY(1px);
}

.icon-button:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(66, 72, 78, 0.16);
}

.icon-button:disabled {
  color: #a6adb5;
  cursor: default;
  pointer-events: none;
}

.clear-button {
  width: 40px;
  height: 40px;
  margin-left: 8px;
}

.search-button {
  width: 44px;
  height: 44px;
}

.search-divider {
  width: 2px;
  height: 30px;
  margin: 0 10px 0 4px;
  background: #c9cccf;
}

.secure-button {
  position: absolute;
  right: 89px;
  top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 19px;
  border: 1px solid rgba(219, 225, 230, 0.95);
  border-radius: 27px;
  background: #f1f3f5;
  color: #575c63;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
  outline: 0;
}

.secure-button:hover {
  background: #e9edf0;
  border-color: #d1d8df;
  color: #3f454c;
  box-shadow: 0 3px 9px rgba(39, 45, 52, 0.08);
}

.secure-button:active {
  transform: translateY(1px);
}

.secure-button:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(66, 72, 78, 0.16);
}

.chrome-mark {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: conic-gradient(#ea4335 0 33%, #fbbc04 0 66%, #34a853 0 82%, #4285f4 0);
  box-shadow: inset 0 0 0 6px #ffffff;
}

.chrome-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #4285f4;
}

.settings-button {
  position: absolute;
  right: 27px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(219, 225, 230, 0.95);
  border-radius: 50%;
  background: #f1f3f5;
  color: #545a61;
  cursor: pointer;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
  outline: 0;
}

.settings-button .ui-icon {
  width: 24px;
  height: 24px;
}

.settings-button:hover {
  background: #e9edf0;
  border-color: #d1d8df;
  color: #343b43;
  box-shadow: 0 3px 9px rgba(39, 45, 52, 0.08);
}

.settings-button:active {
  transform: translateY(1px);
}

.settings-button:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(66, 72, 78, 0.16);
}

.nav-row {
  position: absolute;
  left: 204px;
  top: 105px;
  display: flex;
  align-items: center;
  width: min(930px, calc(100vw - 760px));
  height: 52px;
  gap: 12px;
  padding-left: 24px;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s linear 0s;
}

body.header-condensed .nav-row {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  visibility: hidden;
  transition:
    opacity 150ms ease,
    transform 180ms ease,
    visibility 0s linear 180ms;
}

.tabs {
  position: relative;
  display: flex;
  align-items: center;
  height: 36px;
  gap: 6px;
  color: #42484e;
  --active-left: 0px;
  --active-width: 82px;
  --active-opacity: 1;
}

.tabs::before {
  content: "";
  display: none;
}

.tab {
  --chip-bg: #f3f5f7;
  --chip-hover-bg: #e6eaee;
  --chip-hover-color: #313941;
  --chip-hover-border: #ccd5dc;
  --chip-active-bg: #ffffff;
  --chip-color: #4b535c;
  --chip-active-color: #222930;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-color);
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 180ms ease,
    opacity 160ms ease;
  outline: 0;
}

.tab[data-topic="images"] {
  --chip-hover-bg: #eaf2ff;
  --chip-hover-color: #2f5f92;
  --chip-hover-border: rgba(47, 128, 237, 0.28);
  --chip-active-bg: #ffffff;
  --chip-active-color: #222930;
}

.tab[data-topic="hotels"] {
  --chip-hover-bg: #fff4e6;
  --chip-hover-color: #7a5426;
  --chip-hover-border: rgba(234, 142, 40, 0.3);
  --chip-active-bg: #ffffff;
  --chip-active-color: #222930;
}

.tab[data-topic="videos"] {
  --chip-hover-bg: #fff0ef;
  --chip-hover-color: #80504b;
  --chip-hover-border: rgba(225, 91, 84, 0.28);
  --chip-active-bg: #ffffff;
  --chip-active-color: #222930;
}

.tab[data-topic="maps"] {
  --chip-hover-bg: #ecf8ef;
  --chip-hover-color: #376944;
  --chip-hover-border: rgba(52, 168, 83, 0.28);
  --chip-active-bg: #ffffff;
  --chip-active-color: #222930;
}

.tab .ui-icon {
  width: 20px;
  height: 20px;
  transition: transform 180ms ease;
}

.tab.active {
  color: var(--chip-active-color);
  background: var(--chip-active-bg);
  border-color: rgba(205, 213, 220, 0.95);
  box-shadow: 0 1px 2px rgba(39, 45, 52, 0.06);
}

.tab.active .ui-icon {
  transform: none;
}

.tab:hover {
  background: var(--chip-hover-bg);
  border-color: var(--chip-hover-border);
  color: var(--chip-hover-color);
  box-shadow: none;
}

.tab:hover .ui-icon {
  transform: translateY(-1px);
}

.tab.active:hover {
  color: var(--chip-active-color);
  background: var(--chip-active-bg);
  border-color: rgba(205, 213, 220, 0.95);
  box-shadow: 0 2px 6px rgba(39, 45, 52, 0.08);
}

.tab:active {
  transform: translateY(1px);
}

.tab:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(66, 72, 78, 0.16);
}

.tab.icon-only {
  width: 40px;
  justify-content: center;
  padding: 0;
}

.more-trigger[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(39, 45, 52, 0.08);
}

.more-trigger[aria-expanded="true"] .ui-icon {
  transform: translateY(-1px) rotate(90deg);
}

.more-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  width: 228px;
  padding: 8px;
  border: 1px solid rgba(216, 221, 226, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 18px 42px rgba(35, 43, 52, 0.14),
    0 2px 8px rgba(35, 43, 52, 0.06);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s linear 180ms;
}

.tabs[data-more-open="true"] .more-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
  transition-delay: 0s;
}

.more-menu-item {
  --item-bg: rgba(67, 74, 82, 0.05);
  --item-hover-bg: rgba(67, 74, 82, 0.09);
  --item-color: #3f454c;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--item-color);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    background 160ms ease,
    color 160ms ease,
    opacity 170ms ease,
    transform 170ms ease;
  outline: 0;
}

.tabs[data-more-open="true"] .more-menu-item {
  opacity: 1;
  transform: translateY(0);
}

.tabs[data-more-open="true"] .more-menu-item:nth-child(1) {
  transition-delay: 25ms;
}

.tabs[data-more-open="true"] .more-menu-item:nth-child(2) {
  transition-delay: 45ms;
}

.tabs[data-more-open="true"] .more-menu-item:nth-child(3) {
  transition-delay: 65ms;
}

.tabs[data-more-open="true"] .more-menu-item:nth-child(4) {
  transition-delay: 85ms;
}

.tabs[data-more-open="true"] .more-menu-item:nth-child(5) {
  transition-delay: 105ms;
}

.more-menu-item .ui-icon {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
}

.more-menu-item:hover,
.more-menu-item:focus-visible {
  background: var(--item-hover-bg);
  color: var(--item-color);
  transform: translateY(-1px);
}

.more-menu-item:active {
  transform: translateY(1px);
}

.more-menu-item.flights {
  --item-hover-bg: rgba(47, 128, 237, 0.13);
  --item-color: #2f5f92;
}

.more-menu-item.dining {
  --item-hover-bg: rgba(52, 168, 83, 0.13);
  --item-color: #386b44;
}

.more-menu-item.attractions {
  --item-hover-bg: rgba(239, 172, 54, 0.16);
  --item-color: #765626;
}

.more-menu-item.deals {
  --item-hover-bg: rgba(220, 66, 47, 0.12);
  --item-color: #7c443d;
}

.more-menu-item.guides {
  --item-hover-bg: rgba(38, 57, 71, 0.1);
  --item-color: #394b58;
}

.header-toggles {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  margin-left: auto;
}

.toggle-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #42484e;
  font: inherit;
  font-size: 15px;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 180ms ease,
    box-shadow 160ms ease;
  outline: 0;
}

.toggle-button .ui-icon {
  width: 22px;
  height: 22px;
  transition: transform 180ms ease;
}

.toggle-button .icon-filter-lines {
  width: 20px;
  height: 20px;
}

.toggle-button:hover,
.toggle-button[aria-pressed="true"] {
  color: #2f343a;
  border-color: rgba(66, 72, 78, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.toggle-button:hover .ui-icon,
.toggle-button[aria-pressed="true"] .ui-icon {
  transform: translateY(-1px);
}

.toggle-button:active {
  transform: translateY(1px);
}

.toggle-button:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(66, 72, 78, 0.16);
}

.icon-only-toggle {
  width: 40px;
  justify-content: center;
  padding: 0;
}

.page-content {
  scroll-margin-top: calc(var(--header-height) + 20px);
  background: #ffffff;
  padding-top: 28px;
  padding-left: var(--content-left);
}

.results-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: var(--results-width);
  margin: 0 0 22px var(--results-inset);
}

.results-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.result-count {
  color: #5a616a;
  font-size: 13px;
  font-weight: 650;
  line-height: 20px;
  white-space: nowrap;
}

.privacy-status-chip,
.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 1px solid rgba(219, 225, 230, 0.95);
  border-radius: 999px;
  background: #ffffff;
  color: #4f5761;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.privacy-status-chip {
  padding: 0 12px 0 10px;
  color: #245d45;
  background: #f3faf6;
  border-color: #d6eadf;
}

.privacy-status-chip .ui-icon {
  width: 16px;
  height: 16px;
}

.active-filter-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.active-filter-chip {
  padding: 0 12px;
  background: #f7f8f9;
}

.glance-panel {
  position: relative;
  width: var(--results-width);
  margin: 0 0 28px var(--results-inset);
  padding: 18px 20px 17px;
  border: 1px solid #dde5ea;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdfe 0%, #ffffff 100%);
  box-shadow: 0 10px 28px rgba(33, 42, 50, 0.06);
  opacity: 0;
  transform: translateY(-6px);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glance-panel[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.glance-panel[hidden] {
  display: none;
}

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

.glance-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #55606a;
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
}

.glance-kicker .ui-icon {
  width: 17px;
  height: 17px;
  color: var(--brand-cyan);
}

.glance-header h2 {
  margin: 4px 0 0;
  color: #252b32;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.2;
}

.glance-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid #dce2e7;
  border-radius: 50%;
  background: #ffffff;
  color: #65707a;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.glance-close:hover {
  border-color: #ccd5dc;
  color: #3b444d;
}

.glance-close .ui-icon {
  width: 17px;
  height: 17px;
}

.glance-points {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.glance-points li {
  position: relative;
  padding-left: 18px;
  color: #424a53;
  font-size: 15px;
  font-weight: 450;
  line-height: 1.45;
}

.glance-points li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
}

/* ---- Glance reveal: thinking → blur-in typewriter → glow fade ---- */

/* Inner rim light: a comet in the logo colors travels around the panel's
   inner edge with a fading tail (never lighting the whole border at once),
   then fades out once the answer has finished rendering. */
@property --glance-rim-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.glance-panel::before,
.glance-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--glance-rim-angle),
    rgba(0, 170, 215, 1) 0deg,
    rgba(0, 170, 215, 0.82) 12deg,
    rgba(239, 172, 54, 0.62) 34deg,
    rgba(220, 66, 47, 0.32) 66deg,
    rgba(220, 66, 47, 0) 104deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 650ms ease;
}

/* Blurred copy casts the soft inward rim glow. */
.glance-panel::before {
  padding: 2.5px;
  filter: blur(5px);
}

.glance-panel[data-reveal="thinking"]::before,
.glance-panel[data-reveal="thinking"]::after,
.glance-panel[data-reveal="revealing"]::before,
.glance-panel[data-reveal="revealing"]::after {
  opacity: 1;
  animation: glanceRim 2.3s linear infinite;
}

@keyframes glanceRim {
  to {
    --glance-rim-angle: 360deg;
  }
}

/* Thinking indicator swaps in for the "Glance answer" label. */
.glance-thinking {
  display: none;
  align-items: center;
  gap: 5px;
}

.glance-panel[data-reveal="thinking"] .glance-kicker-text {
  display: none;
}

.glance-panel[data-reveal="thinking"] .glance-thinking {
  display: inline-flex;
}

.glance-panel[data-reveal="thinking"] .glance-kicker .ui-icon {
  animation: glanceStars 1.1s ease-in-out infinite;
}

@keyframes glanceStars {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.glance-thinking-dots {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
}

.glance-thinking-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  animation: glanceDot 1.2s ease-in-out infinite;
}

.glance-thinking-dots i:nth-child(2) {
  animation-delay: 0.18s;
}

.glance-thinking-dots i:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes glanceDot {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* Per-word blur reveal. Words are only hidden while a reveal is in flight,
   so text stays visible if the effect never runs (no-JS / done state). */
.glance-word {
  display: inline-block;
  transition: opacity 420ms ease, filter 420ms ease, transform 420ms ease;
  will-change: opacity, filter, transform;
}

.glance-panel[data-reveal="thinking"] .glance-word,
.glance-panel[data-reveal="revealing"] .glance-word:not(.is-revealed) {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(3px);
}

/* Body text + footer stay hidden until their turn to render. */
.glance-panel[data-reveal="thinking"] .glance-points,
.glance-panel[data-reveal="thinking"] .glance-footer,
.glance-panel[data-reveal="revealing"] .glance-footer {
  opacity: 0;
  pointer-events: none;
}

.glance-panel[data-reveal="thinking"] .glance-points,
.glance-panel[data-reveal="revealing"] .glance-points,
.glance-footer {
  transition: opacity 450ms ease;
}

.glance-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid #edf1f4;
}

.glance-sources {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.glance-source-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  color: #737d87;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

.glance-source-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f4f6f7;
  color: #59626c;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease,
    transform 140ms ease;
}

.glance-source-chip:hover {
  background: #e7edf1;
  border-color: #d3dbe1;
  color: #2f6bff;
}

.glance-source-chip:focus-visible {
  outline: none;
  border-color: #2f6bff;
  color: #2f6bff;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18);
}

.glance-source-chip:active {
  transform: translateY(1px);
  background: #dde5eb;
}

.glance-action {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #d7dde3;
  border-radius: 999px;
  background: #ffffff;
  color: #313941;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.glance-action:hover {
  border-color: #cbd4dc;
  box-shadow: 0 2px 6px rgba(35, 43, 52, 0.08);
}

.hotel-strip {
  width: var(--results-width);
  margin-left: var(--results-inset);
}

.module-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.module-title-group {
  min-width: 0;
}

.module-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #707983;
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
}

.module-header h2 {
  margin: 0;
  color: #282e35;
  font-size: 22px;
  font-weight: 640;
  line-height: 1.16;
}

.module-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.module-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 13px;
  border: 1px solid #dce2e7;
  border-radius: 999px;
  background: #ffffff;
  color: #424a53;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.module-pill:hover {
  border-color: #cbd4dc;
  box-shadow: 0 2px 6px rgba(35, 43, 52, 0.08);
}

.module-pill[aria-expanded="true"] {
  border-color: #b9c3cc;
  box-shadow: 0 2px 6px rgba(35, 43, 52, 0.1);
}

/* Edit trip dropdown */
.trip-edit {
  position: relative;
}

.trip-edit-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  width: 336px;
  padding: 16px;
  border: 1px solid #e2e7ec;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(31, 41, 51, 0.16);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.trip-edit-menu[data-open="true"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

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

.trip-edit-field {
  padding: 11px 0;
  border-bottom: 1px solid #eef1f4;
}

.trip-edit-field:first-child {
  padding-top: 2px;
}

.trip-edit-label {
  display: block;
  color: #2b323a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
}

.trip-edit-sub {
  display: block;
  margin-top: 2px;
  color: #808a94;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.2;
}

/* Custom date-range picker */
.trip-datepicker {
  position: relative;
  margin-top: 9px;
}

.trip-date-input {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d9dfe4;
  border-radius: 10px;
  background: #f8fafb;
  color: #2b323a;
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

.trip-date-input .ui-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #6b757e;
}

.trip-date-input:hover {
  border-color: #c4ccd3;
  background: #ffffff;
}

.trip-date-input[aria-expanded="true"] {
  border-color: #3d80ec;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(61, 128, 236, 0.16);
}

.trip-date-input:focus-visible {
  outline: none;
  border-color: #3d80ec;
  box-shadow: 0 0 0 3px rgba(61, 128, 236, 0.22);
}

.trip-calendar {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 5;
  padding: 12px;
  border: 1px solid #e2e7ec;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(31, 41, 51, 0.16);
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.trip-calendar[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.trip-calendar[hidden] {
  display: none;
}

.trip-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.trip-cal-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #e0e5ea;
  border-radius: 8px;
  background: #ffffff;
  color: #4a525b;
  cursor: pointer;
  transition:
    background 140ms ease,
    border-color 140ms ease;
}

.trip-cal-arrow:hover {
  background: #f2f5f8;
  border-color: #cdd5dc;
}

.trip-cal-arrow:focus-visible {
  outline: none;
  border-color: #3d80ec;
  box-shadow: 0 0 0 3px rgba(61, 128, 236, 0.2);
}

.trip-cal-arrow .ui-icon {
  width: 16px;
  height: 16px;
}

.trip-cal-month {
  color: #2b323a;
  font-size: 13.5px;
  font-weight: 750;
}

.trip-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-bottom: 2px;
}

.trip-cal-weekdays span {
  padding: 4px 0;
  color: #9aa4ad;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

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

.trip-cal-day {
  position: relative;
  height: 36px;
  border: 0;
  background: transparent;
  color: #38404a;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.trip-cal-day.is-empty {
  pointer-events: none;
}

.trip-cal-day .trip-cal-daynum {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background 120ms ease, color 120ms ease;
}

.trip-cal-day:not(.is-empty):hover .trip-cal-daynum {
  background: #eef2f6;
}

.trip-cal-day.is-today .trip-cal-daynum {
  box-shadow: inset 0 0 0 1px #c3ccd4;
}

/* Range fill (behind the day number). */
.trip-cal-day.in-range::before,
.trip-cal-day.is-start::before,
.trip-cal-day.is-end::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  right: 0;
  background: rgba(61, 128, 236, 0.12);
}

.trip-cal-day.is-start::before {
  left: 50%;
}

.trip-cal-day.is-end::before {
  right: 50%;
}

.trip-cal-day.is-start.is-end::before {
  display: none;
}

.trip-cal-day.is-start .trip-cal-daynum,
.trip-cal-day.is-end .trip-cal-daynum {
  background: #3d80ec;
  color: #ffffff;
}

.trip-cal-day:focus-visible {
  outline: none;
}

.trip-cal-day:focus-visible .trip-cal-daynum {
  box-shadow: 0 0 0 2px rgba(61, 128, 236, 0.55);
}

.trip-step .ui-icon {
  width: 16px;
  height: 16px;
}

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

.trip-edit-labels {
  min-width: 0;
}

.trip-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.trip-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #d9dfe4;
  border-radius: 50%;
  background: #ffffff;
  color: #3a424b;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    background 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.trip-step:hover:not(:disabled) {
  border-color: #b9c3cc;
  background: #f4f6f8;
}

.trip-step:focus-visible {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(0, 170, 215, 0.18);
}

.trip-step:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.trip-count {
  min-width: 22px;
  text-align: center;
  color: #2b323a;
  font-size: 14px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.trip-edit-footer {
  margin-top: 13px;
}

.trip-edit-apply {
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #3d80ec;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 140ms ease,
    transform 140ms ease;
}

.trip-edit-apply:hover {
  background: #2f6fd6;
}

.trip-edit-apply:active {
  transform: translateY(1px);
}

.trip-edit-apply:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 170, 215, 0.28);
}

.trip-meta {
  margin: 5px 0 0;
  color: #44484f;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.carousel-filter-panel {
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  z-index: 70;
  display: block;
  width: 420px;
  margin: 0;
  padding: 0;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s linear 220ms;
}

.carousel-filter-panel[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
  transition-delay: 0s;
}

.filter-group {
  position: relative;
  z-index: 18;
  width: 100%;
  max-width: 100%;
}

.filter-group-button {
  display: none;
  position: relative;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 38px;
  padding: 0 34px 0 13px;
  border: 1px solid rgba(220, 225, 229, 0.88);
  border-radius: 999px;
  background: rgba(248, 249, 250, 0.9);
  color: #42484f;
  font: inherit;
  box-shadow: 0 1px 2px rgba(35, 43, 52, 0.04);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
  outline: 0;
}

.filter-group-button .ui-icon {
  width: 18px;
  height: 18px;
}

.filter-group-title {
  color: #30363d;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.filter-group-summary {
  min-width: 0;
  color: #6b727b;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-group-button:hover,
.filter-group[data-open="true"] .filter-group-button {
  border-color: rgba(203, 210, 216, 0.96);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(35, 43, 52, 0.08);
  transform: translateY(-1px);
}

.filter-group-button:focus-visible {
  border-color: rgba(0, 170, 215, 0.36);
  box-shadow:
    0 0 0 3px rgba(0, 170, 215, 0.1),
    0 4px 12px rgba(35, 43, 52, 0.08);
}

.filter-group[data-open="true"] .filter-group-button .filter-caret {
  opacity: 0.82;
  transform: translateY(-35%) rotate(225deg);
}

.filter-group-menu {
  position: relative;
  z-index: 30;
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 9px;
  border: 1px solid rgba(216, 221, 226, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 18px 42px rgba(35, 43, 52, 0.13),
    0 2px 8px rgba(35, 43, 52, 0.06);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top right;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s linear 180ms;
}

.filter-group[data-open="true"] .filter-group-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
  transition-delay: 0s;
}

.filter-group-menu-title {
  padding: 6px 9px 8px;
  color: #7a828b;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

.filter-group-menu .filter-select {
  width: 100%;
}

.filter-group-menu .filter-select .filter-select-button {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 6px 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.filter-group-menu .filter-select[data-open="true"] .filter-select-button,
.filter-group-menu .filter-select-button:focus-visible {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.filter-group-menu .filter-select:not([data-open="true"]) .filter-select-button:hover {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.filter-group-menu .filter-label {
  margin-right: auto;
}

.filter-group-menu .filter-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 252px;
  min-height: 30px;
  justify-content: flex-end;
  padding: 0 28px 0 9px;
  border-radius: 999px;
  background: transparent;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.filter-group-menu .filter-choice .filter-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-group-menu .filter-select-button:hover .filter-choice,
.filter-group-menu .filter-select[data-open="true"] .filter-choice,
.filter-group-menu .filter-select-button:focus-visible .filter-choice {
  background: rgba(67, 74, 82, 0.07);
}

.filter-group-menu .filter-menu {
  top: 0;
  left: calc(100% + 10px);
  min-width: 230px;
  transform-origin: top left;
}

.filter-select {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  z-index: 1;
}

.filter-select[data-open="true"] {
  z-index: 12;
}

.filter-select[data-filter-label="UI language"] .filter-select-button {
  min-width: 184px;
}

.result-country-select .filter-select-button {
  min-width: 192px;
}

.filter-select-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  min-width: 156px;
  padding: 0 32px 0 13px;
  border: 1px solid rgba(220, 225, 229, 0.86);
  border-radius: 999px;
  background: rgba(248, 249, 250, 0.86);
  color: #42484f;
  font: inherit;
  box-shadow: 0 1px 2px rgba(35, 43, 52, 0.04);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
  outline: 0;
}

.filter-select-button:hover,
.filter-select[data-open="true"] .filter-select-button {
  border-color: rgba(203, 210, 216, 0.96);
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(35, 43, 52, 0.07);
  transform: translateY(-1px);
}

.filter-select-button:focus-visible,
.filter-select[data-open="true"] .filter-select-button {
  border-color: rgba(0, 170, 215, 0.36);
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(0, 170, 215, 0.1),
    0 3px 10px rgba(35, 43, 52, 0.07);
}

.filter-label {
  color: #616870;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
}

.filter-value {
  color: #30363d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.filter-flag {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(35, 43, 52, 0.08),
    0 1px 2px rgba(35, 43, 52, 0.1);
}

.filter-flag[hidden] {
  display: none;
}

.filter-select-button .filter-flag {
  width: 17px;
  height: 17px;
  margin-left: -1px;
}

.filter-choice .filter-caret {
  right: 10px;
}

.filter-caret {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.62;
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.filter-select[data-open="true"] .filter-caret {
  opacity: 0.82;
  transform: translateY(-35%) rotate(225deg);
}

.filter-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  min-width: 100%;
  width: max-content;
  max-width: 230px;
  padding: 7px;
  border: 1px solid rgba(216, 221, 226, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 18px 42px rgba(35, 43, 52, 0.13),
    0 2px 8px rgba(35, 43, 52, 0.06);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s linear 180ms;
}

.filter-menu.language-menu,
.filter-menu.country-menu {
  min-width: 224px;
  max-width: 260px;
  max-height: 380px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(101, 107, 117, 0.36) transparent;
  scrollbar-width: thin;
}

.filter-menu.language-menu::-webkit-scrollbar,
.filter-menu.country-menu::-webkit-scrollbar {
  width: 8px;
}

.filter-menu.language-menu::-webkit-scrollbar-track,
.filter-menu.country-menu::-webkit-scrollbar-track {
  background: transparent;
}

.filter-menu.language-menu::-webkit-scrollbar-thumb,
.filter-menu.country-menu::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(101, 107, 117, 0.34);
  background-clip: content-box;
}

.filter-select[data-open="true"] .filter-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
  transition-delay: 0s;
}

.filter-search {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  margin-bottom: 3px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(65, 72, 80, 0.055);
  color: #656b75;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    background 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease,
    opacity 170ms ease,
    transform 170ms ease;
}

.filter-select[data-open="true"] .filter-search {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 16ms;
}

.filter-search:focus-within {
  border-color: rgba(0, 170, 215, 0.24);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(0, 170, 215, 0.08);
}

.filter-search-icon {
  width: 15px;
  height: 15px;
  opacity: 0.72;
}

.filter-search-input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #30363d;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
}

.filter-search-input::placeholder {
  color: #737a83;
  opacity: 0.9;
}

.filter-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  padding: 0 31px 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #414850;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    background 150ms ease,
    color 150ms ease,
    opacity 170ms ease,
    transform 170ms ease;
  outline: 0;
}

.filter-option[hidden] {
  display: none;
}

.filter-select[data-open="true"] .filter-option {
  opacity: 1;
  transform: translateY(0);
}

.filter-select[data-open="true"] .filter-option:nth-of-type(1) {
  transition-delay: 20ms;
}

.filter-select[data-open="true"] .filter-option:nth-of-type(2) {
  transition-delay: 38ms;
}

.filter-select[data-open="true"] .filter-option:nth-of-type(3) {
  transition-delay: 56ms;
}

.filter-select[data-open="true"] .filter-option:nth-of-type(4) {
  transition-delay: 74ms;
}

.filter-select[data-open="true"] .filter-option:nth-of-type(5) {
  transition-delay: 92ms;
}

.filter-select[data-open="true"] .filter-option:nth-of-type(6) {
  transition-delay: 110ms;
}

.filter-option:hover,
.filter-option:focus-visible {
  background: rgba(67, 74, 82, 0.07);
  color: #283039;
}

.filter-option[aria-selected="true"] {
  background: rgba(0, 170, 215, 0.1);
  color: #23546b;
}

.filter-option[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-62%) rotate(45deg);
}

.filter-empty {
  margin: 0;
  padding: 8px 10px 9px;
  color: #7a828b;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}

.hotel-window {
  position: relative;
  width: var(--results-width);
  height: 340px;
  overflow: visible;
}

.hotel-fade {
  --card-hover-room-x: 8px;
  --card-hover-room-top: 10px;
  --card-hover-room-bottom: 18px;
  position: relative;
  width: calc(var(--results-width) + (var(--card-hover-room-x) * 2));
  height: calc(340px + var(--card-hover-room-top) + var(--card-hover-room-bottom));
  margin: calc(var(--card-hover-room-top) * -1) calc(var(--card-hover-room-x) * -1) calc(var(--card-hover-room-bottom) * -1);
  padding: var(--card-hover-room-top) var(--card-hover-room-x) var(--card-hover-room-bottom);
  overflow: hidden;
}

.hotel-fade::before,
.hotel-fade::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 104px;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.hotel-fade::before {
  left: 0;
  opacity: 0;
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.hotel-fade::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 8%, rgba(255, 255, 255, 0) 100%);
}

.hotel-window[data-slide="1"] .hotel-fade::before {
  opacity: 1;
}

.hotel-window[data-slide="1"] .hotel-fade::after {
  opacity: 0;
}

.hotel-cards {
  display: flex;
  gap: 24px;
  width: max-content;
  padding-left: 8px;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.hotel-window[data-slide="1"] .hotel-cards {
  transform: translateX(-200px);
}

.hotel-card {
  position: relative;
  flex: 0 0 176px;
  width: 176px;
  border-radius: 16px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.hotel-card::before {
  content: "";
  position: absolute;
  inset: -8px -8px -10px;
  z-index: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(27, 33, 38, 0);
  opacity: 0;
  transform: scale(0.98);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.hotel-card > * {
  position: relative;
  z-index: 1;
}

.hotel-card:hover {
  transform: translateY(-1px);
  filter: saturate(1.02);
}

.hotel-card:hover::before {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 8px 18px rgba(27, 33, 38, 0.07);
}

.hotel-card img {
  display: block;
  width: 176px;
  height: 163px;
  object-fit: cover;
  border-radius: 13px;
}

.hotel-card h2 {
  margin: 13px 0 2px;
  color: #4a4e54;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.28;
}

.hotel-card p {
  margin: 0;
  color: #393d43;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.5;
}

.star {
  color: #ffa31a;
  font-size: 15px;
  vertical-align: -1px;
}

.carousel-button {
  position: absolute;
  top: 82px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border: 1px solid #e4e7ea;
  border-radius: 50%;
  background: #ffffff;
  color: #596068;
  opacity: 1;
  visibility: visible;
  box-shadow: 0 1px 2px rgba(39, 45, 52, 0.12);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
  outline: 0;
}

.carousel-button .ui-icon {
  width: 25px;
  height: 25px;
}

.carousel-prev {
  left: -18px;
}

.carousel-prev .ui-icon {
  transform: rotate(180deg);
}

.carousel-next {
  right: 20px;
}

.hotel-window[data-slide="0"] .carousel-prev,
.hotel-window[data-slide="1"] .carousel-next {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.carousel-button:hover {
  border-color: #d3d8de;
  background: #ffffff;
  color: #343b43;
  box-shadow: 0 4px 12px rgba(39, 45, 52, 0.12);
}

.carousel-button:active {
  transform: translateY(1px);
}

.carousel-button:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(66, 72, 78, 0.16);
}

.carousel-button:disabled {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.shopping-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  height: 65px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: #4b5057;
  font-size: 14px;
  font-weight: 700;
}

.shopping-link .ui-icon {
  width: 21px;
  height: 21px;
  color: #7c858f;
}

.organic-results {
  width: var(--results-width);
  margin-left: var(--results-inset);
  padding-top: 33px;
}

.organic-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f4;
  color: #68727c;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.organic-heading span:first-child {
  color: #2d343b;
  font-size: 15px;
  font-weight: 800;
}

.result-card {
  margin: 0 0 46px;
}

.result-meta {
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
  min-height: 38px;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  height: 38px;
  padding: 0 12px 0 7px;
  border-radius: 19px;
  background: #f1f2f3;
  color: #4d535a;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.source-icon {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
}

.letter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.tripadvisor-icon {
  border-radius: 50%;
  background: #00e36d;
}

.tripadvisor-icon::before,
.tripadvisor-icon::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 7px;
  height: 7px;
  border: 2px solid #19262b;
  border-radius: 50%;
}

.tripadvisor-icon::before {
  left: 5px;
}

.tripadvisor-icon::after {
  right: 5px;
}

.expedia .source-icon {
  border-radius: 50%;
  background: #f7f8f9;
  box-shadow: inset 0 0 0 1px #e1e4e7;
}

.expedia-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 14px;
  height: 8px;
  border: 2px solid #8d939b;
  border-top: 0;
  border-radius: 0 0 11px 11px;
}

.expedia-icon::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 6px;
  width: 2px;
  height: 13px;
  background: #8d939b;
  box-shadow: -7px 7px 0 -1px #8d939b, 7px 7px 0 -1px #8d939b;
}

.booking-icon {
  background: #003580;
}

.agoda-icon {
  background: #df3a33;
}

.hotels-icon {
  background: #d71920;
}

.kayak-icon {
  background: #ff6900;
}

.url-text {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: 11px;
  overflow: hidden;
  color: #4b5159;
  font-size: 14px;
  font-weight: 600;
  line-height: 38px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.privacy-action {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  height: 34px;
  padding: 0 12px 0 10px;
  margin-left: auto;
  border: 1px solid #dfe3e7;
  border-radius: 18px;
  background: #ffffff;
  color: #4d555e;
  box-shadow: 0 1px 2px rgba(39, 45, 52, 0.04);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    color 160ms ease;
  outline: 0;
}

.privacy-action:hover {
  border-color: #d3d8de;
  background: #ffffff;
  color: #37404a;
  box-shadow: 0 2px 5px rgba(39, 45, 52, 0.08);
}

.privacy-action:active {
  transform: translateY(1px);
}

.privacy-action .ui-icon {
  width: 18px;
  height: 18px;
}

.privacy-action span {
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.privacy-action:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(66, 72, 78, 0.16);
}

/* Hover tooltip for the PrivateView action. */
.privacy-action[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translateX(-50%);
  padding: 5px 9px;
  border-radius: 7px;
  background: var(--brand-ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(33, 42, 50, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
  z-index: 20;
}

.privacy-action[data-tooltip]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  width: 8px;
  height: 8px;
  background: var(--brand-ink);
  transform: translateX(-50%) rotate(45deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
  z-index: 20;
}

.privacy-action[data-tooltip]:hover::after,
.privacy-action[data-tooltip]:hover::before,
.privacy-action[data-tooltip]:focus-visible::after,
.privacy-action[data-tooltip]:focus-visible::before {
  opacity: 1;
}

.result-title {
  display: block;
  margin-top: 10px;
  color: var(--link);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.18;
}

.result-snippet {
  margin: 13px 0 0;
  color: #4d535b;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

.result-card.second {
  margin-top: 0;
}

@media (max-width: 1280px) {
  :root {
    --content-left: 150px;
  }

  body {
    min-width: 980px;
  }

  .brand-logo {
    left: 52px;
  }

  .search-pill {
    left: 126px;
    width: calc(100vw - 520px);
    min-width: 500px;
  }

  .nav-row {
    left: 126px;
    width: calc(100vw - 520px);
    gap: 10px;
  }

  .tab {
    font-size: 14px;
    gap: 8px;
  }

  .header-toggles {
    gap: 10px;
  }

  .toggle-button {
    font-size: 14px;
  }

  .page-content {
    padding-left: var(--content-left);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 166px;
    --header-compact-height: 92px;
  }

  body {
    min-width: 0;
    overflow-x: hidden;
  }

  .search-shell {
    height: var(--header-height);
  }

  .brand-logo {
    left: 18px;
    top: 24px;
    width: 42px;
    height: 42px;
  }

  .search-pill {
    left: 72px;
    top: 18px;
    width: calc(100vw - 88px);
    min-width: 0;
    height: 56px;
    padding-left: 18px;
  }

  .search-pill input {
    font-size: 14px;
  }

  .clear-button {
    width: 34px;
    height: 34px;
    margin-left: 4px;
  }

  .search-button {
    width: 38px;
    height: 38px;
  }

  .icon-button .ui-icon {
    width: 23px;
    height: 23px;
  }

  .search-divider {
    height: 28px;
    margin: 0 8px 0 4px;
  }

  .secure-button {
    display: none;
  }

  .settings-button {
    display: none;
  }

  .nav-row {
    left: 0;
    right: 0;
    width: auto;
    top: 111px;
    gap: 8px;
    overflow-x: auto;
    padding: 0 14px;
    scrollbar-width: none;
  }

  .nav-row::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex: 0 0 auto;
    font-size: 14px;
  }

  .tab .ui-icon {
    width: 22px;
    height: 22px;
  }

  .tab.active {
    padding: 0 12px;
  }

  .tabs,
  .header-toggles {
    flex: 0 0 auto;
  }

  .header-toggles {
    gap: 8px;
  }

  .toggle-button {
    flex: 0 0 auto;
    font-size: 14px;
  }

  .page-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hotel-strip,
  .results-tools,
  .glance-panel,
  .hotel-window,
  .hotel-fade,
  .shopping-link,
  .organic-results {
    width: 100%;
  }

  .hotel-strip,
  .results-tools,
  .glance-panel {
    margin-left: 0;
  }

  .results-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }

  .active-filter-row {
    justify-content: flex-start;
  }

  .glance-panel {
    padding: 16px;
    border-radius: 14px;
  }

  .glance-header h2 {
    font-size: 19px;
  }

  .glance-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .module-header {
    flex-direction: column;
    gap: 13px;
  }

  .module-actions {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .carousel-filter-panel {
    position: fixed;
    top: calc(var(--header-height) - 8px);
    right: auto;
    left: 18px;
    display: block;
    width: min(420px, calc(100vw - 36px));
  }

  .hotel-strip[data-filters-open="true"] .carousel-filter-panel {
    margin: 0;
  }

  .filter-group,
  .filter-group-menu {
    width: 100%;
  }

  .filter-select {
    flex: 1 1 168px;
    min-width: 0;
  }

  .filter-select-button {
    width: 100%;
    min-width: 0;
  }

  .filter-menu {
    min-width: 100%;
  }

  .filter-group-menu .filter-select .filter-menu {
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
  }

  .hotel-window,
  .hotel-fade {
    height: 330px;
  }

  .hotel-fade {
    height: calc(330px + var(--card-hover-room-top) + var(--card-hover-room-bottom));
  }

  .hotel-fade::before,
  .hotel-fade::after {
    width: 74px;
  }

  .carousel-prev {
    left: 7px;
  }

  .carousel-next {
    right: 7px;
  }

  .organic-results {
    margin-left: 0;
  }

  .organic-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .result-meta {
    flex-wrap: wrap;
    height: auto;
    min-height: 50px;
    gap: 8px;
  }

  .url-text {
    flex-basis: 100%;
    order: 3;
    margin-left: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .privacy-action {
    display: inline-flex;
    min-width: 88px;
    height: 32px;
    padding: 0 10px;
  }

  .privacy-action span {
    font-size: 12px;
  }

  .result-title {
    font-size: 20px;
  }

  .result-snippet {
    font-size: 15px;
  }

  .security-overview {
    align-items: center;
    overflow: auto;
    padding: 16px;
  }

  .security-panel {
    width: min(100%, 520px);
    max-height: none;
    padding: 26px 18px 22px;
    border-radius: 22px;
  }

  .security-brand-row {
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
  }

  .security-hero-mark {
    width: 32px;
    height: 32px;
  }

  .security-hero-icon {
    width: 23px;
    height: 23px;
  }

  .security-heading-copy h1 {
    font-size: 24px;
  }

  .security-status-strip {
    min-height: 46px;
    padding: 0 12px;
  }

  .puzzle-stage {
    padding: 18px;
  }

  .puzzle-card {
    padding: 26px 18px 22px;
    border-radius: 22px;
  }

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

  .puzzle-animal-tile {
    min-height: 118px;
  }

  .animal-illustration,
  .animal-illustration svg {
    width: 68px;
    height: 50px;
  }

  .puzzle-answer-form {
    max-width: 100%;
  }

  .puzzle-letter-sample span {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .puzzle-slider-panel {
    padding: 16px;
  }

  .puzzle-card h1 {
    font-size: 16px;
  }

  #puzzle-description {
    font-size: 24px;
    line-height: 1.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .hotel-cards,
  .hotel-fade::before,
  .hotel-fade::after,
  .hotel-card,
  .carousel-button,
  .carousel-filter-panel,
  .active-filter-chip,
  .glance-panel,
  .glance-close,
  .glance-action,
  .glance-source-chip,
  .module-pill,
  .trip-edit-menu,
  .trip-step,
  .trip-edit-apply,
  .trip-date-input,
  .trip-calendar,
  .trip-cal-arrow,
  .trip-cal-day .trip-cal-daynum,
  .filter-group-button,
  .filter-group-menu,
  .filter-select,
  .filter-select-button,
  .filter-search,
  .filter-menu,
  .filter-option,
  .more-menu,
  .more-menu-item,
  .privacy-action,
  .security-overview,
  .security-panel,
  .security-hero-ring,
  .security-status-strip,
  .security-status-dots span,
  .security-spinner,
  .puzzle-card,
  .puzzle-tile,
  .puzzle-unlock-label,
  .puzzle-unlock-track,
  .puzzle-range,
  .search-shell,
  .search-shell::before,
  .search-shell::after,
  .nav-row {
    transition: none;
    animation: none;
  }

  .more-menu,
  .more-menu-item,
  .security-panel,
  .security-hero-ring,
  .security-status-dots span,
  .puzzle-card,
  .puzzle-tile,
  .nav-row {
    transform: none;
  }
}


/* Glance, from the PrivacyWall design system. The component draws its own
   surface, glow and states; the page only places it. */
.glance-panel--ds {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.glance-panel--ds::before,
.glance-panel--ds::after { display: none; }
.glance-panel--ds .pw-glance { font-family: inherit; }
.glance-panel--ds .pw-glance__head { position: relative; }
.glance-panel--ds .glance-close { margin-inline-start: auto; }
.glance-panel--ds .pw-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: var(--pw-icon-md);
  height: var(--pw-icon-md);
  color: currentColor;
  stroke-width: var(--pw-icon-stroke);
  vertical-align: middle;
  pointer-events: none;
}
.glance-panel--ds .pw-icon--xs { width: var(--pw-icon-xs); height: var(--pw-icon-xs); }  /* 14 -> 1.17 */
.glance-panel--ds .pw-icon--sm { width: var(--pw-icon-sm); height: var(--pw-icon-sm); }  /* 16 -> 1.33 */
.glance-panel--ds .pw-icon--md { width: var(--pw-icon-md); height: var(--pw-icon-md); }  /* 20 -> 1.67 */
.glance-panel--ds .pw-icon--lg { width: var(--pw-icon-lg); height: var(--pw-icon-lg); }  /* 24 -> 2.00 */
.glance-panel--ds .pw-icon--xl { width: var(--pw-icon-xl); height: var(--pw-icon-xl); }  /* 28 -> 2.33 */
.glance-panel--ds .pw-icon--spin { animation: pw-spin 900ms linear infinite; }

@keyframes pw-spin { to { transform: rotate(360deg); } }


/* All three sources fit, so the rail needs no arrows here. */
.glance-panel--ds .pw-sources-rail__nav { display: none; }


/* ---- The top bar is the design system's (pw-serp-header, pw-verticals). The page only places it. ---- */
:root {
  --header-height: 150px;
  --header-compact-height: 112px;
  --content-left: 96px;
  --results-width: 640px;
}
.serp-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  background: var(--pw-bg-canvas, #fff);
}
.serp-top { pointer-events: none; background: none; }
.serp-top .pw-serp-chrome { width: 100%; background: none; }
.serp-top .pw-serp-header,
.serp-top .pw-serp-nav { pointer-events: auto; background: var(--pw-bg-canvas, #fff); }
.serp-top .pw-serp-nav { border-bottom: 1px solid var(--pw-border-subtle, #e5e7eb); }
.serp-top .pw-vertical[aria-pressed="true"],
.serp-top .pw-vertical[aria-expanded="true"] { background: var(--pw-bg-secondary, #f2f4f7); color: var(--pw-fg-primary); }
.serp-top .pw-verticals__end { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.serp-top .pw-glance-mark { flex: 0 0 auto; }

/* The fact sheet sits in the rail beside the results, as in the design system. */
.page-content { position: relative; padding-top: 22px; }
.serp-rail {
  position: absolute;
  /* Starts level with the first module (Sponsored travel module), below the result count. */
  top: 62px;
  /* 60px from the results, then the rail's rule, then 20px, then the panel. */
  left: calc(var(--content-left) + var(--results-width) + 60px);
  width: min(420px, calc(100vw - var(--content-left) - var(--results-width) - 60px - 24px));
  padding-inline-start: 20px;
  border-inline-start: 1px solid var(--pw-border-subtle, #e5e7eb);
  min-height: 480px;
}
@media (max-width: 1160px) { .serp-rail { display: none; } }

/* Tabs start where the search field starts (the field's left edge is 88px), as the result column and rail do. */
.serp-top .pw-serp-nav { padding-inline-start: var(--content-left); }

/* The tools panel opens under its button, not out at the edge of the results column. */
.carousel-filter-panel {
  position: fixed;
  top: var(--filter-top, 140px);
  left: var(--filter-left, 16px);
  right: auto;
  transform-origin: top right;
}

/* PrivateView sits at the far edge of the result, whatever the length of the address beside it. */
.result-meta .url-text { flex: 1 1 auto; }
.result-meta .pw-privateview { flex: 0 0 auto; margin-inline-start: auto; }
