/*
 * /search in A+ (ux/lanes/final/search.html, ported value for value: the owner asked for "a perfect copy of the
 * prototype"). The page is the app's search mode on the felt: the app's header, and Cápsula+'s field docked open at the
 * bottom of a phone (in the top bar from 960 px). Your words become a bubble; the answer is dealt on the felt as the
 * app's tiles, one rail per club. One chrome numeral per screen. Gold = new since your last look, silver = the answer's
 * cheapest. docs/DESIGN.md has the system; styles.css the tokens, sheets.css the sheets and the account button.
 *
 * The prototype's own names for its few local colours are kept here as --q-* (its --chrome-2, --muted, --well…), bound
 * to the shared tokens where one exists, so the shared roles (--fg, --bg-1…) stay paper's for the sheets on this page.
 */

.search-body {
  --q-chrome: var(--on-felt);
  --q-chrome-2: rgb(244 247 243 / 0.74);
  --q-chrome-3: rgb(244 247 243 / 0.58);
  --q-ink: var(--paper-ink);
  --q-fg-2: var(--paper-fg-2);
  --q-muted: var(--paper-fg-muted);
  --q-well: #e9ece6;
  --q-act: var(--paper-action);
  --q-act-strong: var(--paper-action-strong);
  --q-act-lit: var(--action-on-felt);
  --q-on-lit: #03170d;
  --q-ring-felt: var(--action-on-felt-strong);
  --q-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.075'/></svg>");
  min-height: 100dvh;
  overflow-x: hidden;
  background: transparent;
  color: var(--q-chrome);
  font-size: 15px;
  line-height: 1.35;
}
/* The felt, still under the page as it scrolls (the app's #app::before). */
html:has(.search-body) {
  background: var(--felt-deep);
}
.search-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--felt);
  background-image: var(--q-noise), radial-gradient(130% 70% at 50% 12%, var(--felt-glow) 0%, var(--felt) 52%, var(--felt-deep) 100%);
  pointer-events: none;
}
/* Every figure one width, as the prototype's screen sets them; on every element, since a font shorthand resets it. */
.search-body,
.search-body * {
  font-variant-numeric: tabular-nums;
}
.search-body :focus-visible {
  outline: 2.5px solid #9df0c4;
  outline-offset: 2px;
}
/* On ivory (the field, a menu, a tile) and in the sheets the ring is the brand's green. */
.search-body :is(.q-field, .query-chip-menu, .tile, #sheet-root) :focus-visible {
  outline-color: var(--q-act);
}
/* The page's own controls start bare (the prototype's reset), at no specificity so each component's rule decides; the
   sheets keep sheets.css's. */
:where(.search-body :is(.q-top, .search-main, .q-field, .q-area-row)) button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.search-body img {
  display: block;
}
/* The sheets are paper: their words are paper's ink, not the felt's chrome. */
.search-body #sheet-root {
  color: var(--fg);
}
/* Before the script draws the page: the words for crawlers and screen readers, kept out of sight (the prototype's h1). */
.static-intro {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------ shared atoms */
.cap {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}
.chrome {
  background: var(--chrome-face);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ic {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fine {
  margin: 0;
  color: var(--q-chrome-3);
  font-size: 13px;
  font-weight: 550;
}
.search-body .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 99px;
  background: var(--q-act-lit);
  color: var(--q-on-lit);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.45),
    inset 0 -2px 0 rgb(0 0 0 / 0.14),
    0 14px 30px -14px rgb(59 201 131 / 0.75);
  transition: transform var(--duration-press) var(--spring-snap);
}
.search-body .cta:active {
  transform: scale(0.96);
}
/* A club's badge printed on a golf ball, ringed in its crest's colour. */
.ball {
  --s: 22px;
  position: relative;
  display: inline-grid;
  flex: none;
  place-items: center;
  width: var(--s);
  height: var(--s);
  overflow: hidden;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 0 1.5px var(--c, #cfd6d1),
    0 2px 5px rgb(0 0 0 / 0.28);
}
/* 90 % of the ball, whole: at 122 % (cut to the circle) the edges of most badges fell outside it, a club's name
   cut to "L ROBLEDA" (16 Oct 2026). Measured on every badge in public/clubs/, 90 % keeps each one inside the ring. */
.ball img {
  width: 90%;
  height: 90%;
  max-width: none;
  object-fit: contain;
}
.ball::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, rgb(255 255 255 / 0.75), rgb(255 255 255 / 0) 38%),
    radial-gradient(circle at 72% 80%, rgb(0 20 10 / 0.2), rgb(0 0 0 / 0) 58%);
  pointer-events: none;
}
/* A ball with nothing printed on it (the wall's answer): the dimples show instead. */
.ball.blank {
  background:
    radial-gradient(circle, rgb(140 156 147 / 0.35) 0 1px, transparent 1.5px) 0 0 / 5px 5px,
    radial-gradient(circle, #fafbfa, #dce3df 72%, #aebbb4);
}
/* The lip-out: a ball rolling round the cup's lip, the page's one loader. */
.lip {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 22px;
}
.lip-cup {
  position: absolute;
  top: 11px;
  right: 3px;
  left: 3px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 60% at 50% 70%, #0a1a12 0 60%, #1c3a2c);
  box-shadow: inset 0 1.5px 0 -0.5px #ffffff;
}
.lip-ball {
  position: absolute;
  top: 5px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #d9e0dc 70%, #a9b5af);
  box-shadow: 0 1px 1.5px rgb(0 0 0 / 0.4);
  animation: lipout 0.9s linear infinite;
}
@keyframes lipout {
  0% {
    transform: translate(9px, 6px);
  }
  25% {
    transform: translate(0, 3px);
  }
  50% {
    transform: translate(-9px, 6px);
  }
  75% {
    transform: translate(0, 9px);
  }
  100% {
    transform: translate(9px, 6px);
  }
}
/* The live dot: lit green, breathing twice. */
.live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--q-act-lit);
  box-shadow: 0 0 0 4px rgb(59 201 131 / 0.22);
  animation: live 2.4s ease-in-out 2;
}
@keyframes live {
  50% {
    box-shadow: 0 0 0 7px rgb(59 201 131 / 0);
  }
}

/* ------------------------------------------------------------ the header */
.q-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 36;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: calc(var(--safe-top) + 56px);
  padding: calc(var(--safe-top) + 6px) calc(16px + var(--safe-right)) 6px calc(16px + var(--safe-left));
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.q-top.on {
  background: rgb(7 42 29 / 0.86);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}
.q-top .brand {
  gap: 8px;
  margin-right: auto;
  color: var(--q-chrome);
}
.q-top .brand-mark {
  width: 28px;
  height: 28px;
}
.q-top .wordmark {
  letter-spacing: -0.02em;
}
.q-tabs,
.q-field-slot {
  display: none;
}
/* ES/EN: the other language, as one pill; it takes a 44 px tap above and below. */
.search-body .q-lang {
  position: relative;
  min-width: 44px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 99px;
  background: rgb(255 255 255 / 0.1);
  color: var(--q-chrome);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.q-lang::after {
  content: "";
  position: absolute;
  inset: -4px 0;
}
/* Entrar, the bar's one white pill; a golfer's initial on a white ball. */
.q-top .account-button:not(.signed-in) {
  height: auto;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 99px;
  background: #ffffff;
  color: var(--q-ink);
  font: 800 14px/1 var(--font);
}
.q-top .account-button:not(.signed-in) .icon {
  display: none;
}
.q-top .account-button::after {
  inset: -4px 0;
}
.q-top .account-button.signed-in {
  width: 40px;
  height: 40px;
  padding: 4px;
  border: 0;
  background: none;
}
/* The golfer's M4 ball (R5), as in the app's bar: it brings its own ground. */
.q-top .account-button.signed-in .avatar {
  position: relative;
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.28));
}

/* ------------------------------------------------------------ the page */
.search-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: calc(var(--safe-top) + 66px) calc(16px + var(--safe-right)) calc(150px + var(--safe-bottom)) calc(16px + var(--safe-left));
}
/* The felt darkens under the docked field, so the answer slides under it, never behind it. */
.q-veil {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  height: calc(150px + var(--safe-bottom));
  background: linear-gradient(180deg, rgb(7 42 29 / 0), rgb(7 42 29 / 0.9) 52%, var(--felt-deep));
  pointer-events: none;
}
.ball-pit {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--spring-glide);
}

/* ------------------------------------------------------------ the field: Cápsula+'s, docked open */
.q-field {
  position: fixed;
  right: calc(14px + var(--safe-right));
  bottom: calc(18px + var(--safe-bottom));
  left: calc(14px + var(--safe-left));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 64px;
  margin: 0;
  padding: 7px 6px 7px 7px;
}
.q-field-ground {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: var(--card);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 18px 36px -14px rgb(0 0 0 / 0.8);
}
.q-field:focus-within .q-field-ground {
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 0 0 2.5px var(--q-act),
    0 18px 36px -14px rgb(0 0 0 / 0.8);
}
.q-field > :not(.q-field-ground) {
  position: relative;
}
.search-body .q-area {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 2px;
  min-height: 48px;
  padding: 0 8px 0 14px;
  border-radius: 25px;
  background: var(--q-well);
  color: var(--q-ink);
  font-size: 14px;
  font-weight: 780;
}
.q-area svg,
.q-glass {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.q-area svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.75;
}
.q-glass {
  flex: none;
  width: 20px;
  height: 20px;
  margin-left: 2px;
  color: var(--q-act);
  stroke-width: 2;
}
#search-input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--q-ink);
  font: 600 16px var(--font);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
#search-input::placeholder {
  color: var(--q-muted);
  opacity: 1;
}
#search-input::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
}
/* The narrowest phones: "Pregunta otra cosa" whole beside the area's chip; the magnifier makes room, as the prototype's
   tight field does (.cp-field.tight). */
@media (max-width: 340px) {
  #search-input {
    font-size: 15px;
  }
  .q-glass {
    display: none;
  }
}
/* The field's own ring shows its focus. */
.search-body #search-input:focus-visible {
  outline: none;
}
/* ✕ back to the app while empty; the green send once there are words; the lip-out while the words are read. */
.search-body .q-go {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--q-ink);
  transition:
    background-color 0.22s,
    box-shadow 0.22s,
    transform var(--duration-press) var(--spring-snap);
}
.q-go > * {
  grid-area: 1 / 1;
}
.q-go svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    transform 0.34s var(--spring-bounce),
    opacity 0.18s;
}
.q-go-x {
  stroke-width: 2;
}
.q-go-send {
  stroke-width: 2.4;
  opacity: 0;
  transform: scale(0.3) rotate(-90deg);
}
.q-go .lip {
  opacity: 0;
}
.search-body .q-field.has-text .q-go {
  background: var(--q-act);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.25),
    0 8px 16px -8px rgb(18 122 82 / 0.9);
}
.q-field.has-text .q-go-x {
  opacity: 0;
  transform: scale(0.3) rotate(90deg);
}
.q-field.has-text .q-go-send {
  opacity: 1;
  transform: none;
}
.search-body .q-go:active {
  transform: scale(0.92);
}
.search-body .q-field.busy .q-go {
  background: var(--q-well);
  box-shadow: none;
}
.q-field.busy .q-go svg {
  opacity: 0;
}
.q-field.busy .q-go .lip {
  opacity: 1;
}
.q-field.busy #search-input {
  color: var(--q-muted);
}
/* On /search the toast clears the docked field. */
.search-body #toast {
  bottom: calc(var(--safe-bottom) + 96px);
}

/* ------------------------------------------------------------ the empty page */
.q-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 2px 0;
}
.q-h {
  margin: 0;
  font-size: 40px;
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.q-pair {
  white-space: nowrap;
}
/* The club's ball between the headline's words, flipping to another club now and then (headline-logo.ts). */
/* An inline-block holding only a block has its baseline at its bottom edge in every engine (an inline-grid takes its
   baseline from the ball inside, which WebKit put 17 px above the words' middle on iOS, 16 Oct 2026), so "middle"
   centres it on the lower-case letters everywhere. */
.q-flip {
  display: inline-block;
  margin: 0 0.02em;
  vertical-align: middle;
  perspective: 300px;
}
.headline-logo-card {
  display: grid;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--spring-bounce);
}
.q-flip .ball {
  --s: 0.9em;
  grid-area: 1 / 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow:
    0 0 0 2px var(--c, #cfd6d1),
    0 4px 10px rgb(0 0 0 / 0.4);
}
.q-flip .ball.back {
  transform: rotateY(180deg);
}
.q-sub {
  max-width: 30ch;
  margin: 0;
  color: var(--q-chrome-2);
  font-size: 16px;
  font-weight: 650;
}
.q-wcap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 0;
  color: var(--q-chrome-2);
}
.q-wcap > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--q-chrome-2);
  font-size: 13px;
  font-weight: 700;
}
/* A window pressed into the felt, the balls inside it. */
.win {
  position: relative;
  display: block;
  width: 100%;
  height: 118px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--q-noise), radial-gradient(120% 120% at 50% 0%, #0b3d2a, #04190f);
  box-shadow:
    inset 0 8px 16px rgb(0 0 0 / 0.6),
    inset 0 -1px 0 rgb(255 255 255 / 0.1),
    0 1px 0 rgb(255 255 255 / 0.1);
}
.win .ball {
  --s: 44px;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}
/* The prototype draws it 150 px and its phone's scroller shrinks it to 140 at 390 × 844: the copy takes what it shows. */
.search-body .q-win {
  height: 140px;
  margin-top: 0;
  background: var(--q-noise), radial-gradient(120% 120% at 50% 0%, #0b3d2a, #04190f);
  cursor: pointer;
}
.q-ex {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.q-ex > .cap {
  align-self: flex-start;
  padding: 4px 4px 2px;
  color: var(--q-chrome-3);
}
.search-body .q-try {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px 10px 16px;
  border-radius: 22px 22px 6px 22px;
  background: rgb(255 255 255 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  color: var(--q-chrome);
  font-size: 15.5px;
  font-weight: 680;
  text-align: left;
  transition:
    transform var(--duration-press) var(--spring-snap),
    background-color 0.2s;
}
.q-try .ic {
  width: 18px;
  height: 18px;
  color: var(--q-ring-felt);
  stroke-width: 2.2;
}
.search-body .q-try:active {
  transform: scale(0.96);
}
.q-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 6px 4px 0;
}
.q-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--q-chrome-3);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* ------------------------------------------------------------ your words, and what was understood */
.bubble {
  align-self: flex-end;
  max-width: calc(100% - 48px);
  margin: 0 0 0 48px;
  padding: 12px 16px;
  border-radius: 22px 22px 6px 22px;
  background: var(--card);
  box-shadow: 0 8px 18px -10px rgb(0 0 0 / 0.6);
  color: var(--q-ink);
  font-size: 16px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
/* The prototype's 62 % opacity, measured off its render and drawn solid: the same look, and its words keep 6.9:1 (an
   element at 62 % opacity reads as faint text to a contrast check, whatever it shows). */
.bubble.unsent {
  background: #a3b9af;
  color: #103024;
}
.q-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.search-body :is(.query-chip, .q-chip-on) {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 36px;
  padding: 0 10px 0 12px;
  border-radius: 99px;
  background: rgb(255 255 255 / 0.09);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  color: var(--q-chrome);
  font-size: 13.5px;
  font-weight: 750;
  white-space: nowrap;
  transition:
    transform var(--duration-press) var(--spring-snap),
    background-color 0.2s;
}
:is(.query-chip, .q-chip-on)::after {
  content: "";
  position: absolute;
  inset: -4px 0;
}
.query-chip .ic {
  width: 14px;
  height: 14px;
  opacity: 0.55;
}
.q-chip-on .ic {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}
.search-body :is(.query-chip, .q-chip-on):active {
  transform: scale(0.95);
}
.search-body .query-chip.uncertain {
  background: rgb(142 240 189 / 0.12);
  box-shadow: none;
  color: #ffffff;
  outline: 1.5px dashed var(--q-ring-felt);
  outline-offset: -1.5px;
}
.search-body .query-chip[aria-expanded="true"] {
  background: var(--q-chrome);
  color: var(--q-ink);
  outline: none;
}
.search-body .query-chip.ghost {
  width: var(--w);
  background: rgb(0 0 0 / 0.17);
  box-shadow:
    inset 0 2px 5px rgb(0 0 0 / 0.38),
    0 1px 0 rgb(255 255 255 / 0.06);
}
.query-chip-menu {
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  gap: 2px;
  min-width: 200px;
  padding: 6px;
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 18px 36px -14px rgb(0 0 0 / 0.8);
  color: var(--q-ink);
  transform-origin: 90% 0;
}
.query-chip-menu .cap {
  padding: 8px 10px 6px;
  color: var(--q-muted);
}
.search-body .query-chip-menu > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 750;
  text-align: left;
}
.search-body .query-chip-menu > button:is(:hover, :focus-visible) {
  background: var(--q-well);
  outline: none;
}
.query-chip-menu > button[aria-checked="true"] {
  color: var(--q-act-strong);
}
.query-chip-menu .ic {
  width: 18px;
  height: 18px;
  color: var(--q-act);
  stroke-width: 2.4;
}
.query-chip-menu small {
  margin-left: 4px;
  color: var(--q-muted);
  font-size: 13px;
  font-weight: 650;
}
/* The party's menu: four balls, the party's lit. */
.query-chip-menu .party {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 2px;
  min-height: 44px;
  margin: 2px 4px 6px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--q-well);
}
.search-body .query-chip-menu .party button {
  display: grid;
  place-items: center;
  width: 30px;
  min-height: 44px;
}
.query-chip-menu .party i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgb(16 36 27 / 0.2);
  transform: scale(0.38);
  transition: transform var(--duration-press) var(--spring-snap);
}
.query-chip-menu .party button.on i {
  background: radial-gradient(circle at 34% 30%, #ffffff, #e2e8e4 70%, #c8d2cc);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.35);
  transform: none;
}
.query-chip-menu .party button:focus-visible {
  border-radius: 14px;
}
.query-chip-menu .pn {
  padding: 0 6px 0 4px;
  color: var(--q-ink);
  font-size: 14px;
  font-weight: 800;
}

/* ------------------------------------------------------------ the answer */
.results {
  transition: opacity 0.2s;
}
/* A re-run: the answer it replaces stays up, dimmed and inert. */
.results[aria-busy="true"] {
  opacity: 0.42;
  pointer-events: none;
}
.q-res {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.count-block {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 0;
}
/* The numeral yields: the words beside it keep their width, and its box is what is left (kit/numeral-fit.ts). */
.count-box {
  flex: 1;
  min-width: 0;
  container-type: inline-size;
}
.count {
  --q-count: 116px;
  display: block;
  width: fit-content;
  height: 1em;
  /* The prototype's -6 px optical indent at its 116 px, as a share of the size so a fitted count keeps it. */
  margin-left: -0.052em;
  padding-right: 0.07em;
  font-size: min(var(--q-count), calc(100cqi / var(--numeral-ems, 1) * 0.96));
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
  transform-origin: 20% 80%;
}
.count-side {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  padding-bottom: 14px;
  text-align: right;
}
.count-side .cap {
  color: var(--q-chrome-2);
}
.count-side > span {
  color: var(--q-chrome-2);
  font-size: 15px;
  font-weight: 650;
}
.count-side .weather-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: -3px;
}
.count-side .weather-mark .icon {
  width: 17px;
  height: 17px;
  stroke-width: 1.75;
}
.count-side .from {
  padding: 4px 9px;
  border-radius: 99px;
  background: var(--silver-sheen);
  color: var(--on-silver);
  font-size: 13px;
  font-weight: 800;
}
/* It lands with the app's settle once, when the answer first shows. */
.numeral.settling {
  animation: numeral-settle var(--duration-land) var(--spring-bounce) both;
  animation-delay: var(--settle-delay, 0ms);
}
@keyframes numeral-settle {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
}
/* A rail per club, the app's tiles on it; its head is a tap to the club's booking page. */
.q-groups {
  display: flex;
  flex-direction: column;
  margin: 0 -16px;
}
.rail-sec {
  position: relative;
  padding-top: 10px;
}
.rail-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  color: inherit;
  text-align: left;
  text-decoration: none;
}
.rail-head img.ball {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow:
    0 0 0 1.5px var(--c, #cfd6d1),
    0 2px 5px rgb(0 0 0 / 0.28);
}
.q-gn {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.rh-name {
  overflow: hidden;
  font-size: 17px;
  font-weight: 780;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rh-date {
  color: var(--q-chrome-3);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.1;
}
.rh-sp {
  flex: 1;
}
.rh-count {
  margin-left: 6px;
  font-size: 15px;
  font-weight: 800;
}
.rail-head > .ic {
  width: 16px;
  height: 16px;
  margin-left: -4px;
  color: var(--q-chrome-3);
}
.rail {
  display: flex;
  gap: 8px;
  padding: 12px 16px 6px;
  overflow-x: auto;
  scroll-padding: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
/* A tee time: the app's ivory tile, a link to the club's booking page. */
.tile {
  position: relative;
  display: block;
  flex: none;
  width: 108px;
  border-radius: 16px;
  color: inherit;
  text-align: left;
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform var(--duration-press) var(--spring-snap);
}
.tile:active {
  transform: scale(0.96);
}
.tf {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 11px 8px 10px 10px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--card);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 1px 1px rgb(0 0 0 / 0.22),
    0 10px 20px -10px rgb(0 0 0 / 0.6);
  color: var(--q-ink);
}
.q-groups .tf {
  gap: 9px;
  padding: 11px 9px 10px 11px;
}
.t-time {
  display: block;
  height: 1em;
  font-size: 22px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.02em;
}
.t-club {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--q-fg-2);
  font-size: 12.5px;
  font-weight: 680;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.t-club > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}
.t-club .ball {
  --s: 17px;
}
.t-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 16px;
}
.t-price {
  font-size: 13.5px;
  font-weight: 780;
  white-space: nowrap;
}
.libres {
  color: var(--q-act-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.t-ext {
  position: absolute;
  top: 9px;
  right: 8px;
  width: 13px;
  height: 13px;
  color: var(--q-muted);
  opacity: 0.7;
}
.ribbon {
  position: absolute;
  top: -8px;
  left: 50%;
  z-index: 3;
  padding: 3px 7px;
  border-radius: 99px;
  font-size: 9.5px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}
.tile.silver .tf {
  background: linear-gradient(128deg, #eef2f3 0%, #ffffff 30%, #d9e0e2 55%, #f8fafa 78%, #e4e9ea 100%);
}
.tile.silver .ribbon {
  background: var(--silver-sheen);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.3);
  color: var(--on-silver);
}
.tile.gold .tf {
  background: linear-gradient(128deg, #fff6da 0%, #fffdf5 32%, #f7e3a2 58%, #fff9e8 100%);
  box-shadow:
    inset 0 0 0 1.5px rgb(201 154 18 / 0.55),
    0 1px 1px rgb(0 0 0 / 0.22),
    0 10px 20px -10px rgb(0 0 0 / 0.6);
}
.tile.gold .ribbon {
  background: var(--gold-sheen);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.3);
  color: var(--on-gold);
}
.q-moretile {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 64px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.07);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  color: var(--q-chrome);
  font-size: 17px;
  font-weight: 850;
  text-decoration: none;
  scroll-snap-align: start;
}
.q-moretile .ic {
  width: 16px;
  height: 16px;
  color: var(--q-chrome-3);
}
.more {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 4px;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 99px;
  background: rgb(255 255 255 / 0.08);
  color: var(--q-chrome);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.more .ic {
  width: 16px;
  height: 16px;
}
.q-notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 4px 0;
}
.q-notes p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.q-notes .ic {
  width: 16px;
  height: 16px;
}

/* ------------------------------------------------------------ asking, and the wall's answer: a card with a window */
.answer {
  position: relative;
  align-self: center;
  width: min(340px, 100%);
  margin-top: 4px;
  padding: 18px 18px 22px;
  border-radius: 30px;
  background: var(--q-noise), radial-gradient(120% 100% at 50% 0%, #18684b, #10503a 55%, #0c4230);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.14),
    0 26px 44px -24px rgb(0 0 0 / 0.85),
    0 2px 0 rgb(0 0 0 / 0.2);
}
.a-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--q-chrome-2);
}
.a-head .weather-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 800;
}
.a-head .weather-mark .icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}
.a-lbl {
  margin: 8px 0 0;
  color: var(--q-chrome-2);
}
.q-thinking .a-lbl {
  margin-top: 14px;
}
.locked-results {
  container-type: inline-size;
}
/* The wall's window: one still, centred row of blank balls, how many clubs and never which. */
.locked-results .win {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 72px;
  padding: 0 12px;
}
.locked-results .win .ball {
  position: static;
  flex: 0 1 44px;
  width: auto;
  min-width: 0;
  height: auto;
  aspect-ratio: 1;
  transform: none;
}
.s-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 0;
  font-size: inherit;
}
.s-count .num {
  --q-count: 104px;
  min-width: 0;
  padding-right: 0.07em;
  font-size: min(var(--q-count), calc((100cqi - 130px) / var(--numeral-ems, 1) * 0.96));
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.06em;
  white-space: nowrap;
  transform-origin: 0 80%;
}
.s-count b {
  flex: none;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.s-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.s-cta .cta {
  min-width: 250px;
}

/* ------------------------------------------------------------ plain answers on the felt: an object, a line, a way on */
.q-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 20px 22px;
  border-radius: 30px;
  background: var(--q-noise), radial-gradient(120% 100% at 50% 0%, #18684b, #10503a 55%, #0c4230);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.14),
    0 26px 44px -24px rgb(0 0 0 / 0.85),
    0 2px 0 rgb(0 0 0 / 0.2);
}
.q-card .cap {
  color: var(--q-chrome-2);
}
.q-card .count-block {
  padding: 0;
}
.q-title {
  margin: 0;
  font-size: 27px;
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.q-body {
  margin: -6px 0 0;
  color: var(--q-chrome-2);
  font-size: 15px;
  font-weight: 600;
}
.q-card .cta {
  align-self: stretch;
}
.q-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.search-body .q-areas .q-chip-on {
  min-height: 40px;
  font-size: 14px;
}
.q-areas .q-chip-on b {
  margin-left: 5px;
  color: var(--q-chrome-3);
  font-weight: 850;
}
.q-card .q-ex {
  align-items: flex-start;
}
.q-card .q-ex > .cap {
  padding: 0;
}
.search-body .q-card .q-try {
  border-radius: 22px 22px 22px 6px;
}
.q-wider {
  justify-content: flex-start;
}
/* The art: the cup, and where the ball went. */
.q-art {
  position: relative;
  flex: none;
  width: 132px;
  height: 58px;
}
.pin-cup {
  position: absolute;
  top: 38px;
  left: 50px;
  width: 56px;
  height: 20px;
  margin: -10px 0 0 -28px;
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 60% at 50% 70%, #010604 0 62%, #06140d 100%);
  box-shadow:
    inset 0 3px 0 -1px #e9efec,
    inset 0 5px 4px -2px rgb(0 0 0 / 0.6),
    0 14px 18px -8px rgb(0 0 0 / 0.5);
  pointer-events: none;
}
.gball {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #ffffff 0 20%, rgb(255 255 255 / 0) 44%),
    radial-gradient(circle, rgb(140 156 147 / 0.45) 0 1px, transparent 1.5px) 0 0 / 4px 4px,
    radial-gradient(circle, #fafbfa, #dce3df 72%, #aebbb4);
  box-shadow: 0 3px 5px rgb(0 0 0 / 0.45);
}
.q-art.lip .gball {
  top: 14px;
  left: 70px;
}
.q-art.away .gball {
  top: 30px;
  left: 108px;
}
.q-art .trail {
  position: absolute;
  top: 40px;
  left: 62px;
  width: 44px;
  height: 2px;
  border-radius: 1px;
  background: repeating-linear-gradient(90deg, rgb(244 247 243 / 0.35) 0 4px, transparent 4px 9px);
}
.q-art.none .gball {
  display: none;
}
.q-art .pole {
  position: absolute;
  top: -4px;
  left: 48px;
  width: 4px;
  height: 44px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8e9a94, #ffffff 45%, #c4cec9 70%, #7f8b85);
}
.q-art .cloth {
  position: absolute;
  top: -2px;
  left: 51px;
  width: 40px;
  height: 26px;
  background: var(--q-chrome-3);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
/* The day's light, on the felt: the hours asked for ringed on it. */
.dl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.dl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dl-head b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--q-chrome);
  font-size: 14px;
  font-weight: 780;
}
.dl-bar {
  position: relative;
  height: 14px;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(90deg, #eaf2f7 0%, #f3ebd3 45%, #f6d3a0 75%, #e8946a 100%);
}
.dl-set {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: #e8946a;
}
.dl-dark {
  position: absolute;
  top: 0;
  bottom: 0;
  background: repeating-linear-gradient(135deg, #29384f 0 4px, #3a4b66 4px 8px);
}
.dl-round {
  position: absolute;
  top: 2px;
  bottom: 2px;
  border-radius: 5px;
  box-shadow:
    inset 0 0 0 2px #ffffff,
    0 0 0 1px rgb(0 0 0 / 0.3);
}
.dl-ax {
  position: relative;
  height: 14px;
  color: var(--q-chrome-3);
  font-size: 12px;
  font-weight: 700;
}
.dl-ax span {
  position: absolute;
  top: 0;
  white-space: nowrap;
}
/* On a narrow card the sunset's label would run into the axis' end: the end goes (the bar itself says where it is). */
.dl {
  container-type: inline-size;
}
@container (max-width: 290px) {
  .dl-end {
    display: none;
  }
}
.q-near > .cap {
  display: block;
  padding: 6px 4px 0;
  color: var(--q-chrome-2);
}
.q-near .rail {
  margin: 0 -16px;
}
/* No connection: the words wait, as a message does. */
.q-retry {
  display: flex;
  align-items: center;
  align-self: flex-end;
  gap: 6px;
  margin: -6px 0 0;
  color: #ffb4a9;
  font-size: 13px;
  font-weight: 700;
}
.q-retry .ic {
  width: 16px;
  height: 16px;
}
.search-body .q-retry button {
  min-height: 32px;
  color: var(--q-chrome);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.q-toast {
  position: fixed;
  top: max(11px, calc(var(--safe-top) - 39px));
  left: 50%;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(340px, calc(100vw - 32px));
  height: 54px;
  padding: 0 18px 0 10px;
  border-radius: 28px;
  background: #000000;
  color: #ffffff;
  transform: translateX(-50%);
}
.qt-ic {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
}
.qt-ic .ic {
  width: 20px;
  height: 20px;
}
.q-toast b {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.q-toast small {
  margin-left: auto;
  color: rgb(255 255 255 / 0.6);
  font-size: 13px;
  font-weight: 650;
}
/* A ball in flight, from the phone's window to its club's rail (ball-window.ts). */
.q-fly {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 38;
  pointer-events: none;
  will-change: transform;
}
.q-fly .ball {
  --s: 44px;
}
/* A ball on its way from the floor's pile to its rail (ball-flight.ts): above the page, never hit by the pointer, its
   light layers blended over the turning body as the pit blends them. */
.ball-flight {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 38;
  pointer-events: none;
  will-change: transform;
  isolation: isolate;
}
.ball-flight canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ball-flight .shade {
  mix-blend-mode: multiply;
}
.ball-flight .glow {
  mix-blend-mode: screen;
}

/* ------------------------------------------------------------ the area chip's sheet */
.q-areas-sheet h2 {
  margin-bottom: 10px;
  text-align: center;
}
.q-area-rows {
  display: flex;
  flex-direction: column;
  padding-bottom: 6px;
}
.q-area-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 6px;
}
.search-body .q-area-row button {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--paper-ink);
  font-size: 16px;
  font-weight: 650;
  text-align: left;
}
.search-body .q-area-row button[aria-pressed="true"] {
  font-weight: 800;
}
.q-area-row button .ic {
  color: var(--q-act);
  stroke-width: 2.4;
}
.q-area-row em {
  margin-left: auto;
  color: var(--paper-fg-muted);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
}
.q-area-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--q-act-strong);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------ a computer: the app's top bar; the pile on the felt's floor */
@media (min-width: 960px) {
  .q-top {
    height: 76px;
    min-height: 0;
    gap: 14px;
    padding: 0 28px;
    background: linear-gradient(180deg, rgb(7 42 29 / 0.9), rgb(7 42 29 / 0));
  }
  .q-top.on {
    background: linear-gradient(180deg, rgb(7 42 29 / 0.9), rgb(7 42 29 / 0));
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .q-top .brand {
    flex: none;
    margin-right: 0;
  }
  /* The tabs on the felt pill (Cápsula+ on a computer); none is on, this page is the field's. */
  .q-tabs {
    position: relative;
    display: flex;
    flex: 0 1 400px;
    min-width: 0;
    height: 52px;
    padding: 4px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgb(18 70 50 / 0.94), rgb(6 34 23 / 0.96));
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 0.16),
      inset 0 0 0 1px rgb(255 255 255 / 0.07),
      0 18px 36px -16px rgb(0 0 0 / 0.75);
  }
  .q-tabs a {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 48px;
    border-radius: 28px;
    color: var(--q-chrome-2);
    font-size: 14.5px;
    font-weight: 750;
    text-decoration: none;
  }
  .q-tabs svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .q-tabs .tab-flag-cloth {
    fill: currentColor;
    fill-opacity: 0.3;
  }
  /* 440 px: the prototype's box, whose .dk-search.ivory width outranks its own 600 px. */
  .q-field-slot {
    display: block;
    flex: 0 1 440px;
    min-width: 280px;
    height: 54px;
    margin-left: auto;
  }
  .search-body .q-lang {
    min-height: 40px;
  }
  .q-top .account-button.signed-in {
    width: 42px;
    height: 42px;
  }
  .q-top .account-button.signed-in .avatar {
    width: 34px;
    height: 34px;
  }
  /* The field lies on its slot in the bar (search-page.ts measures it): an ivory box with the area's chip. */
  .q-field {
    top: 11px;
    right: auto;
    bottom: auto;
    left: var(--slot-x, 50%);
    width: var(--slot-w, 600px);
    height: 54px;
    gap: 8px;
    padding: 0 6px;
  }
  .q-field-ground {
    border-radius: 25px;
    box-shadow: 0 14px 28px -16px rgb(0 0 0 / 0.8);
  }
  .q-field:focus-within .q-field-ground {
    box-shadow:
      0 0 0 2.5px var(--q-act),
      0 14px 28px -16px rgb(0 0 0 / 0.8);
  }
  .search-body .q-area {
    min-height: 38px;
    border-radius: 24px;
  }
  .q-glass {
    margin-left: 0;
  }
  #search-input {
    height: 44px;
    padding: 0;
    font-size: 15.5px;
  }
  .search-body .q-go {
    width: 42px;
    height: 42px;
  }
  .q-veil {
    display: none;
  }
  .search-body #toast {
    bottom: 24px;
  }
  /* The pile on the floor, under the page; it sinks a little while an answer is up. */
  .ball-pit {
    display: block;
  }
  body:has(.search-main.answer-on) .ball-pit {
    transform: translateY(64px);
  }
  /* The page scrolls over the pile: its own scroller, which lets the pointer through to the balls wherever it shows
     nothing (a ball can be grabbed beside the words). */
  .search-main {
    position: fixed;
    inset: 0;
    display: block;
    padding: 96px 0 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    pointer-events: none;
  }
  .search-main > * {
    pointer-events: auto;
  }
  .search-main.answer-on {
    bottom: 96px;
    padding-bottom: 40px;
    -webkit-mask-image: linear-gradient(180deg, #000000 92%, transparent);
    mask-image: linear-gradient(180deg, #000000 92%, transparent);
  }
  .q-dhero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: fit-content;
    margin: 0 auto;
    padding-top: 120px;
    text-align: center;
  }
  /* The prototype's 80 px at 1440; a narrower computer keeps the headline on its one line (it is 13.1 em long). */
  .q-dhero .q-h {
    font-size: min(80px, calc((100vw - 64px) / 13.4));
    line-height: 1;
  }
  .q-dhero .q-sub {
    max-width: none;
    font-size: 19px;
  }
  .q-dhero .q-ex {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
    margin-top: 14px;
  }
  .q-dhero .q-ex > .cap {
    flex-basis: 100%;
    padding: 0;
    text-align: center;
  }
  .search-body .q-dhero .q-try {
    border-radius: 22px;
  }
  .q-dhero .q-links {
    justify-content: center;
  }
  .q-dcol {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 700px;
    margin: 0 auto;
  }
  .q-dcol .bubble {
    align-self: flex-end;
    margin: 0 0 0 120px;
  }
  .q-dcol .answer {
    align-self: center;
    width: 420px;
  }
  .q-dcol .win {
    height: 130px;
  }
  .q-dcol .q-card {
    align-self: center;
    width: 620px;
  }
  .q-dgrid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    align-items: start;
    gap: 56px;
    width: 1120px;
    margin: 0 auto;
  }
  .q-dside {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .q-dside .bubble {
    align-self: flex-end;
    margin: 0 0 0 40px;
  }
  .q-dside .q-applink {
    align-self: flex-start;
  }
  .q-dres .q-groups {
    margin: 0;
  }
  .q-dres .rail-sec {
    padding-top: 18px;
  }
  .q-dres .rail-head {
    padding: 0 4px;
  }
  .q-dres .rail {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 4px 6px;
    overflow: visible;
  }
  .q-dres .tile {
    width: 132px;
  }
  .q-dres .q-moretile {
    min-height: 72px;
  }
  .q-dside .count {
    --q-count: 132px;
  }
  .q-dthink {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 12px;
    padding: 22px 26px;
    border-radius: 99px;
    background: rgb(0 0 0 / 0.2);
    box-shadow: inset 0 2px 5px rgb(0 0 0 / 0.3);
  }
  .q-dthink .cap {
    color: var(--q-chrome-2);
    font-size: 13px;
  }
  .q-toast {
    top: 96px;
    width: 420px;
  }
}

/* ------------------------------------------------------------ motion and transparency the golfer turned down */
@media (prefers-reduced-motion: reduce) {
  .search-body :is(.q-go, .q-go svg, .q-try, .query-chip, .q-chip-on, .q-top, .ball-pit, .tile, .cta, .headline-logo-card) {
    transition: none;
  }
  .live,
  .lip-ball,
  .numeral.settling {
    animation: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .q-top.on {
    background: var(--felt-deep);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .q-tabs {
    background: #0a3424;
  }
}
