/* GO VAL web design layer. Loaded after each page's own stylesheet. */
:root {
  --gx-bg: #0F1923;
  --gx-s1: #18232F;
  --gx-s2: #202C39;
  --gx-s3: #2A3746;
  --gx-line: #263240;
  --gx-line-2: #364454;
  --gx-t1: #F5F3EF;
  --gx-t2: #ACB9C8;
  --gx-t3: #8FA1B5;
  --gx-red: #FF4454;
  --gx-red-2: #FF5E6C;
  --gx-red-t: #FF8A8D;
  --gx-red-ink: #0F1923;
  --gx-red-s: #342733;
  --gx-green: #5AD19A;
  --gx-green-s: #20383C;
  --gx-r-sm: 10px;
  --gx-r-md: 14px;
  --gx-r-lg: 20px;
  --gx-ease: cubic-bezier(.2,.8,.2,1);
  --gx-ease-move: cubic-bezier(.32,.72,0,1);
  --gx-kb: 0px;
}

html { background: var(--gx-bg); -webkit-tap-highlight-color: rgba(0,0,0,0); }
body { -webkit-touch-callout: none; }
button, a, summary, label { -webkit-tap-highlight-color: rgba(0,0,0,0); }
input, textarea { -webkit-touch-callout: default; font-size: max(16px, 1em); }
img { -webkit-user-drag: none; }

/* Press bubble */
.gx-bubble {
  position: fixed;
  z-index: 9000;
  left: 0; top: 0; width: 0; height: 0;
  pointer-events: none;
  background: rgba(245,243,239,.07);
  box-shadow: 0 0 0 0 rgba(4,10,16,0);
  opacity: 0;
  transform: scale(.97);
  transition: opacity .24s var(--gx-ease), transform .24s var(--gx-ease), box-shadow .24s var(--gx-ease);
}
.gx-bubble.is-on { opacity: 1; transform: scale(1); transition-duration: .1s; }
.gx-bubble.is-hold { transform: scale(1.015); box-shadow: 0 8px 24px 0 rgba(4,10,16,.42); transition-duration: .3s; }

/* Selected indicator that slides */
.gx-seg { position: relative; isolation: isolate; }
.gx-thumb {
  position: absolute;
  z-index: -1;
  left: 0; top: 0;
  border-radius: var(--gx-thumb-r, 10px);
  background: var(--gx-thumb, var(--gx-s3));
  transition: transform .3s var(--gx-ease-move), width .3s var(--gx-ease-move), height .3s var(--gx-ease-move), opacity .16s linear;
  pointer-events: none;
}

/* Removed list items fading out in place */
.gx-ghost { position: absolute !important; margin: 0 !important; pointer-events: none; z-index: 0; }

/* Accordions */
details > summary { cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }

/* Language */
.gx-lang-host { position: relative; display: inline-flex; align-items: center; }
.gx-lang-host::after, .gx-lang-host > svg { display: none !important; }
.gx-lang-host > span:not(.gx-keep), .gx-lang-host > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gx-lang-native { position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important; }
.gx-lang {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; height: 40px; padding: 0 12px;
  border: 0; border-radius: 12px;
  background: var(--gx-s1); color: var(--gx-t2);
  font-size: 13px; font-weight: 650; letter-spacing: .02em;
  cursor: pointer; white-space: nowrap;
}
.gx-lang svg { width: 18px; height: 18px; flex: none; }

/* Bottom sheet */
.gx-sheet-scrim {
  position: fixed; inset: 0; z-index: 9100;
  background: rgba(4,10,16,.6);
  opacity: 0;
  transition: opacity .24s linear;
}
.gx-sheet-scrim.is-on { opacity: 1; }
.gx-sheet {
  position: fixed; z-index: 9101;
  left: 50%; bottom: 0;
  width: min(480px, 100%);
  max-height: min(80vh, calc(100vh - 80px));
  overflow: auto; overscroll-behavior: contain;
  padding: 8px 12px calc(16px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: var(--gx-s1);
  color: var(--gx-t1);
  box-shadow: 0 -12px 40px rgba(4,10,16,.5);
  outline: 0;
  transform: translate(-50%, 104%);
  transition: transform .34s var(--gx-ease-move);
  margin-left: 0;
}
.gx-sheet.is-on { transform: translate(-50%, 0); }
.gx-sheet-grab { width: 100%; height: 24px; display: grid; place-items: center; touch-action: none; cursor: grab; }
.gx-sheet-grab::before { content: ""; width: 36px; height: 4px; border-radius: 2px; background: var(--gx-line-2); }
.gx-sheet-title { margin: 4px 12px 12px; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--gx-t1); }
.gx-sheet-list { display: grid; gap: 2px; }
.gx-sheet-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 56px; padding: 0 12px;
  border: 0; border-radius: var(--gx-r-md);
  background: var(--gx-s1); color: var(--gx-t1);
  font-size: 16px; font-weight: 550; text-align: start; cursor: pointer;
}
.gx-sheet-row[aria-selected="true"] { font-weight: 700; }
.gx-sheet-check { color: var(--gx-red); width: 22px; height: 22px; }
.gx-sheet-check svg { width: 22px; height: 22px; }

/* Keyboard open: only the field and its context compete for the space */
html.gx-kb [data-gx-kb-hide],
html.gx-kb .gx-bottom-bar { visibility: hidden; pointer-events: none; }

/* Shared footer rows */
.ys-web, .ys-studio { font-size: 13px; }
.ys-web__in, .ys-studio__in { padding-block: 8px; gap: 0 16px; }
.ys-web { border-top-color: var(--gx-line); }
.ys-studio { border-top: 0; }
.ys-web a, .ys-studio a { border-radius: 8px; }
.ys-studio__copy { color: var(--gx-t3); }

@media (prefers-reduced-motion: reduce) {
  .gx-bubble, .gx-thumb, .gx-sheet, .gx-sheet-scrim { transition: none; }
}
@media print { .gx-bubble, .gx-sheet, .gx-sheet-scrim { display: none; } }

/* Press now comes from the kit: no filter darkening anywhere */
.ys-press:active { filter: none; scale: 1; }
.gx-stage-old { position: absolute; left: 0; right: 0; top: 0; z-index: -1; overflow: clip; pointer-events: none; }

/* ---------- Shared: one list for "more on the web" ---------- */
html body :is(#gx-n,.gv-more__list,.web-more__links,.web-more-grid,.q-web-more__grid) {
  display: grid; grid-template-columns: 1fr; gap: 0; margin: 12px 0 0; padding: 4px;
  border: 0; border-radius: var(--gx-r-lg); background: var(--gx-s1); list-style: none;
}
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link) {
  position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr) 16px; grid-auto-rows: auto;
  align-items: center; align-content: center; column-gap: 12px; row-gap: 0;
  min-height: 68px; margin: 0; padding: 10px 12px; border: 0; border-radius: 16px;
  background: var(--gx-s1); color: var(--gx-t1); text-decoration: none; box-shadow: none;
}
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link) > img { display: none; }
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link)::before {
  content: ""; grid-column: 1; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 14px;
  background: var(--gx-s2) center / 22px no-repeat;
}
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link)::after {
  content: ""; position: static; display: block; grid-column: 3; grid-row: 1 / span 2; width: 16px; height: 16px; inset: auto; opacity: 1; border: 0; border-radius: 0; transform: none;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%238FA1B5%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 6l6 6-6 6%22/%3E%3C/svg%3E") center / 16px no-repeat;
}
html[dir="rtl"] body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link)::after { transform: scaleX(-1); }
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link) :is(strong,h3,.web-more-name) {
  grid-column: 2; grid-row: 1; margin: 0; padding: 0; font-size: 15px; font-weight: 650; line-height: 1.4; color: var(--gx-t1); align-self: end;
}
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link) :is(p,.web-more-desc,strong + span) {
  grid-column: 2; grid-row: 2; margin: 2px 0 0; font-size: 13px; font-weight: 450; line-height: 1.4; color: var(--gx-t3); align-self: start;
}
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link) > :is(.web-more__body) { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 2px; }
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link) > svg,
html body .web-more-arrow { display: none; }
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link)[href*="/daily/"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ACB9C8%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224%22 y=%225%22 width=%2216%22 height=%2215%22 rx=%223%22/%3E%3Cpath d=%22M4 10h16M8.500 3v4M15.500 3v4M9 15l2 2 4-4%22/%3E%3C/svg%3E")}
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link)[href*="/official-content/"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ACB9C8%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 4h8v5a4 4 0 0 1-8 0zM8 6H4.500v1.500A3.500 3.500 0 0 0 8 11M16 6h3.500v1.500A3.500 3.500 0 0 1 16 11M12 13v4M8.500 20h7M10 17h4v3h-4z%22/%3E%3C/svg%3E")}
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link)[href*="/taste-sync/"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ACB9C8%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 20s-7.500-4.600-7.500-10A4.300 4.300 0 0 1 12 7.300 4.300 4.300 0 0 1 19.500 10c0 5.400-7.500 10-7.500 10z%22/%3E%3C/svg%3E")}
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link)[href*="/v2/"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ACB9C8%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 8.500 12 4l8 4.500v7L12 20l-8-4.500zM4 8.500l8 4.500 8-4.500M12 13v7%22/%3E%3C/svg%3E")}
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link)[href*="/store/"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ACB9C8%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 10v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9M3 9l2-5h14l2 5a3 3 0 0 1-4.500 2.500A3 3 0 0 1 12 11.500a3 3 0 0 1-4.500 0A3 3 0 0 1 3 9zM10 20v-5h4v5%22/%3E%3C/svg%3E")}
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link)[href*="/q/"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ACB9C8%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M9.500 9.300a2.600 2.600 0 0 1 5 1c0 1.800-2.500 2.200-2.500 3.700M12 17.200v.1%22/%3E%3C/svg%3E")}
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link)[href*="/worldcup/"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ACB9C8%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h5v5H4zM4 14h5v5H4zM9 7.500h4V12m-4 4.500h4V12m0 0h3M16 9.500h4v5h-4z%22/%3E%3C/svg%3E")}
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link)[href*="/weekly-worldcup/"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ACB9C8%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 18 3 7l5 4 4-6 4 6 5-4-1 11zM5 21h14%22/%3E%3C/svg%3E")}
html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link)[href*="/strategy/"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ACB9C8%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 6l5-2 6 2 5-2v14l-5 2-6-2-5 2zM9 4v14M15 6v14%22/%3E%3C/svg%3E")}

@media (hover:hover) and (pointer:fine) {
  html body :is(#gx-n,.gv-more__card,.web-more__link,.web-more-card,.q-web-more__link):hover { background: var(--gx-s2); }
}
html body :is(#gx-n,.gv-more,.web-more,.q-web-more) > h2 { font-size: 17px; font-weight: 700; line-height: 1.4; }

/* Store badges get a mark when the page didn't give them one */
a[href*="play.google.com"]:not(:has(svg)):not(.ys-web a):not(.footer-links a):not(.foot-links a)::before,
a[href*="apps.apple.com"]:not(:has(svg)):not(.ys-web a):not(.footer-links a):not(.foot-links a)::before {
  content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
}
a[href*="play.google.com"]:not(:has(svg)):not(.ys-web a):not(.footer-links a):not(.foot-links a)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M6 3.800v16.400c0 .9 1 1.400 1.700 1l13.600-8.200c.7-.4.7-1.500 0-1.900L7.700 2.800C7 2.400 6 2.900 6 3.800z%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M6 3.800v16.400c0 .9 1 1.400 1.700 1l13.600-8.200c.7-.4.7-1.500 0-1.900L7.700 2.800C7 2.400 6 2.900 6 3.800z%22/%3E%3C/svg%3E") center / contain no-repeat;
}
a[href*="apps.apple.com"]:not(:has(svg)):not(.ys-web a):not(.footer-links a):not(.foot-links a)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M16.400 12.700c0-2.300 1.900-3.400 2-3.500-1.100-1.600-2.800-1.800-3.400-1.800-1.400-.1-2.800.9-3.500.9s-1.800-.8-3-.8c-1.500 0-3 .9-3.800 2.300-1.600 2.800-.4 7 1.200 9.300.8 1.100 1.700 2.400 2.900 2.300 1.200 0 1.600-.7 3-.7s1.800.7 3 .7 2-1.100 2.800-2.200c.9-1.300 1.200-2.500 1.300-2.600-.1 0-2.500-1-2.500-3.900zM14.100 5.900c.6-.8 1.100-1.900.9-3-.9 0-2.100.6-2.800 1.400-.6.7-1.100 1.800-1 2.900 1.100.1 2.200-.5 2.900-1.300z%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M16.400 12.700c0-2.300 1.900-3.400 2-3.500-1.100-1.600-2.800-1.800-3.400-1.800-1.400-.1-2.800.9-3.500.9s-1.800-.8-3-.8c-1.500 0-3 .9-3.800 2.300-1.600 2.800-.4 7 1.200 9.300.8 1.100 1.700 2.400 2.900 2.300 1.200 0 1.600-.7 3-.7s1.800.7 3 .7 2-1.100 2.800-2.200c.9-1.300 1.200-2.500 1.300-2.600-.1 0-2.500-1-2.500-3.900zM14.100 5.900c.6-.8 1.100-1.900.9-3-.9 0-2.100.6-2.800 1.400-.6.7-1.100 1.800-1 2.900 1.100.1 2.200-.5 2.900-1.300z%22/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Dialogs sit on the bottom edge on phones, like the sheet */
dialog { color: var(--gx-t1); }
dialog::backdrop { background: rgba(4,10,16,.6); }
@media (max-width: 600px) {
  dialog.gx-sheet-dlg { width: 100%; max-width: 100%; margin: auto 0 0; border: 0; border-radius: 24px 24px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* ---------- Shared: store / strategy family ---------- */
html body[data-page] :is(.btn) { min-height: 52px; border: 0; border-radius: var(--gx-r-md); font-size: 15px; font-weight: 700; box-shadow: none; }
html body[data-page] .btn--primary { background: var(--gx-red); color: var(--gx-red-ink); }
html body[data-page] .btn--secondary { background: var(--gx-s2); color: var(--gx-t1); }
html body[data-page] .share-btn { min-height: 40px; height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--gx-s1); color: var(--gx-t1); font-size: 14px; font-weight: 600; }
html body[data-page] .cta { padding: 20px; border: 0; border-radius: var(--gx-r-lg); background: var(--gx-s1); box-shadow: none; }
html body[data-page] .cta__rating { display: none; }
html body[data-page] .cta__icon { width: 44px; height: 44px; border-radius: 12px; }
html body[data-page] .cta-bar { background: var(--gx-bg); border-top: 1px solid var(--gx-line); backdrop-filter: none; -webkit-backdrop-filter: none; }
html body[data-page] .text-link { color: var(--gx-t2); font-weight: 600; text-decoration: none; }

/* Fixed bars step aside for the keyboard */
html.gx-kb :is(.cta-bar,.actionStatus,#mobileActionBar,.mobile-action-bar,.ts-send) { visibility: hidden; }

/* Footer text is one quiet voice */
:is(.fan-notice,.fan-legal,.fan-source,.foot-legal,.q-footer__fan,.q-footer__tm,.ts-footer__notice,.fan-note) { font-size: 12px; line-height: 1.6; color: var(--gx-t3); }
.fan-notice, .q-footer__fan { color: var(--gx-t2); }

html body .web-more__body > :is(strong,span) { grid-row: auto; display: block; }

/* Accordions are animated once, by the kit */
html .ys-acc { interpolate-size: numeric-only; }
html .ys-acc::details-content { transition: none; block-size: auto; overflow: visible; }
html body[data-page] .btn:disabled, html body[data-page] .btn[disabled] { opacity: 1; background: var(--gx-s2); color: var(--gx-t3); }

@media (prefers-reduced-motion: no-preference) {
  html body[data-page] .cta-bar.is-shown { animation: gx-bar-rise .32s var(--gx-ease-move); }
}
@keyframes gx-bar-rise { from { transform: translateY(100%); } }

/* Fields sit inside clipped cards: keep the focus ring inside them */
textarea:focus-visible, input:not([type="range"]):focus-visible { outline-offset: -2px; }

/* iOS zooms the page into any field under 16px */
@media (pointer: coarse) {
  html body textarea, html body input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), html body select:not(.gx-lang-native) { font-size: 16px !important; }
}
