/* public/css/pages/home-story.css
   Homepage G, "one video, from hidden to shared" (switch home-story, founder
   go 2026-11-21). Loaded after home-v2.css, only while the switch shows the
   story page. Layout and motion for this page only: colour, type, buttons,
   the ink surface, rings and YouTube cards come from the foundation in the
   global bundle (fnd-*), never redrawn here.
   Prefixes: hx (hero wall), hxd (pop-up), hxe (the scrolling story),
   hxf (free loop, world map, tools, questions), hxg (the story's scenes).
   Generated from the approved design and trimmed to the classes the page
   uses; text never under the 12px floor. */
.hx .hx-h2 { text-wrap: balance; max-width: 22ch; }
.hx-face { display: block; aspect-ratio: 1; border-radius: 50%; background: #2A2733 center / cover no-repeat; }
.hx .hx-fig-u { font-size: .42em; letter-spacing: -.02em; margin-left: .08em; }
.hxc-hero { min-height: 640px; display: flex; align-items: center; }
.hxc-wall { position: absolute; inset: -20px; display: grid; grid-template-columns: repeat(16, 1fr); gap: 14px; padding: 0 10px; align-content: center; opacity: .42; }
.hxc-scrim { position: absolute; inset: 0; background: radial-gradient(60% 62% at 50% 50%, rgba(22,20,26,.96) 0%, rgba(22,20,26,.86) 45%, rgba(22,20,26,.25) 100%); }
.hxc-in { position: relative; z-index: 1; text-align: center; width: 100%; }
.hx .hxc-title { color: var(--fnd-on-ink); max-width: 13ch; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; }
.hxc-in .hv-hero__go { align-items: center; }
.hxc-in .hv-hero__hint { margin-left: auto; margin-right: auto; text-align: center; color: var(--fnd-on-ink-soft); }
@media (max-width: 767px) {
  .hxc-hero { min-height: 620px; }
  .hxc-wall { grid-template-columns: repeat(7, 1fr); gap: 10px; }
  .hxc-wall .hx-face:nth-child(n+71) { display: none; }
}
@media (max-width: 767px) {
  .hxc-scrim { background: radial-gradient(95% 60% at 50% 50%, rgba(22,20,26,.95) 0%, rgba(22,20,26,.88) 55%, rgba(22,20,26,.35) 100%); }
}
.hxd-hero { min-height: 720px; }
.hxd-wall { opacity: 1; }
.hxd-wall .hx-face { opacity: .34; transition: opacity .5s ease, transform .5s ease, box-shadow .5s ease; }
.hxd-wall .hx-face.lit { opacity: 1; transform: scale(1.14); box-shadow: 0 0 0 3px var(--fnd-accent), 0 0 40px 6px rgba(143,135,255,.45); position: relative; z-index: 3; }
.hxd-hero .hxc-scrim { z-index: 1; }
.hxd-wall .hx-face.lit { z-index: 2; }
.hxd-hero .hxc-wall { z-index: 0; }
.hxd-pop { position: absolute; z-index: 4; transform: translate(-50%, -100%) translateY(8px); opacity: 0; pointer-events: none; background: #fff; color: #16141A; border-radius: 12px; padding: 8px 12px; font: 600 13.5px/1.3 var(--fnd-body-font, Commissioner, sans-serif); white-space: nowrap; box-shadow: 0 14px 34px -10px rgba(0,0,0,.6); transition: opacity .35s ease, transform .35s ease; display: inline-flex; gap: 8px; align-items: center; }
.hxd-pop i { color: #2F9E6B; }
.hxd-pop.on { opacity: 1; transform: translate(-50%, -100%); }
.hxd-pop.l { transform: translate(-14%, -100%) translateY(8px); }
.hxd-pop.l.on { transform: translate(-14%, -100%); }
.hxd-pop.r { transform: translate(-86%, -100%) translateY(8px); }
.hxd-pop.r.on { transform: translate(-86%, -100%); }
/* fx: the script has already placed the left edge inside the screen */
.hxd-pop.fx { transform: translate(0, -100%) translateY(8px); }
.hxd-pop.fx.on { transform: translate(0, -100%); }
.hxd-hero .hxc-in { z-index: 3; }
.hxd-eyebrow { margin: 0 0 var(--fnd-s4); color: var(--fnd-on-ink-soft); font-size: var(--fnd-t-meta); letter-spacing: .01em; }
.hxd-eyebrow b { color: var(--fnd-on-ink); font-family: var(--fnd-display-font); }
@media (max-width: 767px) {
  .hxd-hero { min-height: 0; }
  .hxd-hero .hxc-in { padding-bottom: 178px; }
  .hxd-hero .hxc-wall { align-content: end; inset: auto -10px 18px; }
  .hxd-hero .hxc-wall .hx-face:nth-child(n+71) { display: none; }
  .hxd-hero .hxc-scrim { background: linear-gradient(180deg, rgba(22,20,26,.95) 0%, rgba(22,20,26,.92) 62%, rgba(22,20,26,.15) 82%); }
  .hxd-pop { font-size: 12.5px; white-space: normal; width: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .hxd-wall .hx-face, .hxd-pop { transition: none; }
}
.hxe .hxe-in1, .hxe .hxe-in2, .hxe .hxe-in3, .hxe .hxe-in4 { animation: hxeUp .9s cubic-bezier(.2,.8,.2,1) both; }
.hxe .hxe-in2 { animation-delay: .12s; }
.hxe .hxe-in3 { animation-delay: .26s; }
.hxe .hxe-in4 { animation-delay: .4s; }
@keyframes hxeUp { from { opacity: 0; transform: translateY(18px); } }
.hxe .hxc-title em::after { transform-origin: left center; animation: hxeDraw 1s .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes hxeDraw { from { transform: scaleX(0); } }
.hxe .hxe-in4 .hv-hero__go { align-items: center; }
.hxe-hero .hxc-wall { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hxe-hero .hxc-wall .hx-face { animation: hxeFace 1.2s ease backwards; }
.hxe-hero .hxc-wall .hx-face:nth-child(3n) { animation-delay: .15s; }
.hxe-hero .hxc-wall .hx-face:nth-child(3n+1) { animation-delay: .3s; }
@keyframes hxeFace { from { opacity: 0; transform: scale(.6); } }
.hxe-cue { position: absolute; left: 50%; bottom: 14px; padding: 8px 12px; transform: translateX(-50%); z-index: 3; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--fnd-on-ink-soft); font-size: var(--fnd-t-meta); font-weight: 600; white-space: nowrap; }
.hxe-cue:hover { color: var(--fnd-on-ink); }
.hxe-cue i { animation: hxeBob 1.8s ease-in-out infinite; }
@keyframes hxeBob { 50% { transform: translateY(5px); } }
.hxe-hero .hxc-in { padding-bottom: 60px; }
/* The paste box under the hero button (founder 2026-11-22): an optional second door, the ask row on ink, quieter than the Google button */
.hxe-paste { width: 100%; max-width: 440px; margin: 26px 0 0; }
.hxe-paste-l { display: block; margin: 0 0 10px; color: var(--fnd-on-ink-soft); font-size: var(--fnd-t-meta); line-height: 1.5; text-wrap: pretty; }
.hxe-paste-l b { color: var(--fnd-on-ink); font-weight: 700; }
/* solid, so the faces behind never show through the field (founder pick B, 2026-11-22) */
.hxe-paste .hxe-paste-row { background: var(--fnd-ink-2); border-color: var(--fnd-on-ink-rule); }
.hxe-paste .hxe-paste-row:focus-within { border-color: rgba(255,255,255,.72); box-shadow: 0 0 0 1px rgba(255,255,255,.72); }
.hxe-paste .fnd-askrow-f { color: var(--fnd-on-ink); font-size: 16px; text-align: left; }
.hxe-paste .fnd-askrow-f::placeholder { color: var(--fnd-on-ink-faint); }
.hxe-paste .hxe-paste-go { flex: 0 0 auto; white-space: nowrap; }
.hxe-paste-n { margin: 8px 0 0; color: var(--fnd-on-ink-soft); font-size: 13.5px; line-height: 1.45; text-wrap: pretty; }
.hxe-paste-n:empty { margin: 0; }
.hxe-paste.is-vid .hxe-paste-n { color: var(--fnd-on-ink-ok); }
/* their own thumbnail, shown in the box once a real video link is in it */
.hxe-paste-th { flex: 0 0 auto; display: none; width: 64px; height: 36px; border-radius: 8px; background: var(--fnd-ink-3) center / cover no-repeat; }
.hxe-paste.is-vid .hxe-paste-th { display: block; }
/* Layout B (founder pick 2026-11-22): the words line up on the left and, on a
   computer, the wall of real creators lights up on the right. The line above
   the title and the words in the scroll cue went (founder: clutter). */
.hxe-hero .hxc-in { text-align: left; }
.hx .hxe-hero .hxc-title, .hxe-hero .hxc-sub { margin-left: 0; margin-right: 0; text-align: left; }
.hx .hxe-hero .hxc-title { max-width: 13ch; }
.hxe-hero .hxc-sub { max-width: 36ch; }
.hxe .hxe-hero .hxe-in4 .hv-hero__go { align-items: flex-start; }
.hxe-hero .hv-hero__hint.hxe-ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; max-width: none; margin: 14px 0 0; padding: 0; list-style: none; font-size: var(--fnd-t-meta); line-height: 1.4; text-align: left; color: var(--fnd-on-ink-soft); }
.hxe-ticks li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hxe-ticks i { color: var(--fnd-on-ink-ok); font-size: 12px; }
.hxe-hero .hxe-cue { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
.hxe-hero .hxe-cue:hover { background: var(--fnd-on-ink-rule); }
@media (min-width: 768px) {
  .hxe-hero .hxc-scrim { background: linear-gradient(90deg, rgba(22,20,26,.97) 0%, rgba(22,20,26,.95) 46%, rgba(22,20,26,.6) 60%, rgba(22,20,26,.2) 80%, rgba(22,20,26,.12) 100%); }
  .hxe-hero .hxd-wall .hx-face:not(.lit) { opacity: .55; }
}
@media (max-width: 767px) {
  .hxe .hxe-hero .hxe-in4 .hv-hero__go { align-items: stretch; }
  .hxe-hero .hv-hero__go .fnd-btn--hero { justify-content: center; }
}
@media (min-width: 768px) {
  /* shorter, so the headline sits higher and the story peeks in below (founder 2026-11-21: the main text felt low) */
  .hxe-hero { min-height: min(calc(100vh - 60px), 700px); align-items: flex-start; }
  .hxe-hero .hxc-in { padding-top: 64px; padding-bottom: 96px; }
}
/* a tablet: bigger faces in 12 columns so the wall reaches the bottom of the hero instead of leaving a dark band */
@media (min-width: 768px) and (max-width: 1100px) {
  .hxe-hero .hxc-wall { grid-template-columns: repeat(12, 1fr); }
  .hxe-hero .hxc-wall .hx-face:nth-child(n+109) { display: none; }
}
/* a tall tablet: one more row of faces under the words, so the live shoutout card has room to show */
@media (min-width: 768px) and (max-width: 1100px) and (min-height: 900px) {
  .hxe-hero { min-height: 780px; }
}
/* the paste box on a computer: a little wider, so the longer field text fits on a short laptop */
@media (min-width: 768px) { .hxe-paste { max-width: 440px; } }
/* a short laptop (768px tall and the like): tighter top, and the label line moves into the field, so the story still peeks in under the hero */
@media (min-width: 768px) and (max-height: 820px) {
  .hxe-hero .hxc-in { padding-top: 40px; }
  .hx .hxe-hero .hxc-title { font-size: 4.25rem; }
  .hxe-paste { margin-top: 16px; }
}
@media (max-width: 767px) {
  .hxe-hero .hxc-in { padding-bottom: 286px; }
  .hxe-cue { bottom: 8px; }
  .hxe-hero .hxc-wall { inset: auto -10px 58px; }
  .hxe-hero .hxc-wall .hx-face:nth-child(n+29) { display: none; }
  .hxe-hero .hxc-scrim { background: linear-gradient(180deg, rgba(22,20,26,.96) 0, rgba(22,20,26,.96) calc(100% - 300px), rgba(22,20,26,.12) calc(100% - 170px), rgba(22,20,26,.55) 100%); }
}
/* The story plays by itself in one screen (founder 2026-11-21: scrolling it went too fast), so no tall scroll track and no sticky */
.hxe-journey { position: relative; height: auto; background: var(--fnd-paper-2); scroll-margin-top: -14px; }
.hxe-stick { position: relative; height: clamp(560px, calc(100vh - 60px), 760px); height: clamp(560px, calc(100svh - 60px), 760px); overflow: hidden; display: flex; align-items: center; }
/* side by side on a computer, one screen of 700px is enough and trims the empty bands; phones and tablets stack the picture under the words and keep the room */
@media (min-width: 900px) { .hxe-stick { height: clamp(560px, calc(100vh - 60px), 700px); } }
/* a big screen gets a bigger picture, so the scenes fill the space instead of floating in it */
@media (min-width: 1200px) { .hxe-vis { transform: scale(1.1); } }
.hxe-grid { width: 100%; display: grid; grid-template-columns: 1fr; gap: 10px; height: 100%; grid-template-rows: auto 1fr; padding-top: 18px; padding-bottom: 12px; }
@media (min-width: 900px) {
  .hxe-grid { grid-template-columns: .82fr 1.18fr; grid-template-rows: 1fr; align-items: center; gap: var(--fnd-s7); padding-top: 0; }
}
/* The story plays like a short video: a play button, four chapter buttons whose bars fill as they play, and the clock */
.hxe-watch { display: flex; align-items: center; gap: 8px; max-width: 540px; margin: 0 0 10px; font-size: 14px; font-weight: 800; color: var(--fnd-text); }
.hxe-player { display: flex; align-items: center; gap: 8px; max-width: 540px; margin-bottom: var(--fnd-s5); padding: 6px; background: #fff; border-radius: 18px; box-shadow: 0 12px 28px -20px rgba(22,20,26,.6); }
.hxe-rail { list-style: none; display: flex; gap: 6px; flex: 1; min-width: 0; margin: 0; padding: 0; }
.hxe-rail li { flex: 1 1 auto; font-size: 14px; font-weight: 700; color: var(--fnd-text); background: var(--fnd-paper-2); box-shadow: inset 0 0 0 1px var(--fnd-rule); border-radius: 12px; transition: background .2s, color .2s, transform .15s; }
.hxe-rail li.on { background: var(--fnd-ink); color: #fff; box-shadow: none; }
.hxe-rail li.on .hxe-trk { background: rgba(255,255,255,.25); }
.hxe-rail li.on .hxe-trk span { background: #fff; }
/* the picture is a video: a tap pauses or plays, and a long press never opens the phone's image menu */
.hxg-vis { cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.hxg-vis img { -webkit-user-drag: none; }
.hxe-trk { display: block; height: 4px; border-radius: 4px; background: var(--fnd-rule); overflow: hidden; margin-bottom: 6px; }
.hxe-trk span { display: block; height: 100%; background: var(--fnd-accent); transform-origin: left; transform: scaleX(0); }
.hxe-pp { flex: 0 0 auto; }
.fnd .hxe-pp, .fnd .hxe-pp:focus { width: 44px; height: 44px; background: var(--fnd-ink); color: #fff; border: 0; }
@media (hover: hover) { .fnd .hxe-pp:hover { background: var(--fnd-accent); color: #fff; transform: translateY(-1px); } }
.hxe-pp i { font-size: 14px; }
.hxe-time { flex: 0 0 auto; margin-left: auto; padding-right: 6px; font-size: 13px; font-weight: 700; color: var(--fnd-text-soft); font-variant-numeric: tabular-nums; }
/* paused: a big play button over the picture, like any paused video */
.hxe-bigplay { position: absolute; left: 50%; top: 50%; z-index: 30; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0 0 0 5px; border: 0; border-radius: 50%; background: rgba(22,20,26,.84); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: scale(.85); transition: opacity .2s, transform .2s, visibility .2s, background .15s; box-shadow: 0 16px 34px -14px rgba(0,0,0,.55); }
.hxe-bigplay.on { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .hxe-bigplay:hover { background: var(--fnd-accent); } }
.hxe-steps { display: grid; }
.hxe-step { grid-area: 1 / 1; opacity: 0; transform: translateY(-10px); transition: opacity .16s ease, transform .16s ease; pointer-events: none; }
.hxe-step.on { opacity: 1; transform: none; transition: opacity .42s ease .18s, transform .42s cubic-bezier(.2,.8,.2,1) .18s; }
.hx .hxe-h { font-family: var(--fnd-display-font); font-weight: 800; font-size: clamp(1.7rem, 4.6vw, 3.1rem); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 var(--fnd-s3); text-wrap: balance; max-width: 15ch; color: var(--fnd-text); }
.hxe-step p { font-size: var(--fnd-t-lede); color: var(--fnd-text-soft); margin: 0; max-width: 34ch; line-height: 1.55; }
@media (max-width: 899px) {
  .hxe-step p { font-size: 15.5px; }
  .hxe-player { margin-bottom: 14px; gap: 5px; padding: 5px; border-radius: 16px; }
  .hxe-rail { gap: 4px; }
  .hxe-rail li { font-size: 13px; }
  .hxe-time { padding-right: 4px; }
}
.hxe-vis { position: relative; height: 100%; min-height: 0; }
@media (min-width: 900px) {
  .hxe-vis { height: min(620px, 82%); }
}
.hxe-group { position: absolute; left: 50%; top: 50%; z-index: 2; width: min(500px, 90%); transform: translate(-50%,-50%); transform-origin: center; }
@media (max-width: 899px) {
  .hxe-group { width: min(300px, 80%); }
}
.hxe-yt { position: relative; z-index: 2; border-radius: 14px; box-shadow: 0 34px 80px -34px rgba(22,20,26,.55); }
.hxe-th { position: relative; }
.hxe-th img { display: block; width: 100%; }
.hxe-th .hxe-b { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; }
.fnd .hxe-yt .hxe-t { min-height: 2.6em; }
.hxe-th { overflow: hidden; }
.hxe-caret { display: none; width: 2px; height: 1em; background: var(--fnd-accent); margin-left: 2px; vertical-align: -2px; animation: hxeBlink .7s steps(1) infinite; }
.hxe-t.typing .hxe-caret { display: inline-block; }
@keyframes hxeBlink { 50% { opacity: 0; } }
.hxe-ring { position: absolute !important; right: -34px; top: -40px; z-index: 3; box-shadow: 0 18px 40px -16px rgba(22,20,26,.45); transition: transform .3s ease, opacity .25s ease; }
.hxe-ring::before { background: #fff !important; }
.hxe-ring.pop { transform: scale(1.06); }
.hxe-ring s { white-space: nowrap; }
@media (max-width: 899px) {
  .hxe-ring { width: 92px; height: 92px; right: -18px; top: -30px; }
  .hxe-ring::before { inset: 7px; }
  .hxe-ring b { font-size: 30px; }
  .hxe-ring s { font-size: 12px; }
}
.hxe-shorts { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 3; }
.hxe-short { position: absolute; left: -66px; top: -117px; width: 132px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; opacity: 0; box-shadow: 0 0 0 3px #fff, 0 26px 50px -18px rgba(22,20,26,.6); background: #111; }
@media (max-width: 899px) {
  .hxe-short { width: 84px; left: -42px; top: -75px; border-radius: 11px; box-shadow: 0 0 0 2px #fff, 0 18px 34px -14px rgba(22,20,26,.6); }
}
.hxe-short img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hxe-short i { position: absolute; left: 50%; top: 38%; transform: translate(-50%,-50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; display: grid; place-items: center; padding-left: 2px; }
.hxe-short span { position: absolute; left: 6px; right: 6px; bottom: 15%; text-align: center; font: 800 13px/1.15 var(--fnd-display-font); color: #fff; text-shadow: 0 2px 0 #000, 0 0 8px rgba(0,0,0,.85); }
.hxe-short span b { color: #FFE14D; }
@media (max-width: 899px) {
  .hxe-short i { width: 24px; height: 24px; font-size: 9px; }
  .hxe-short span { font-size: 12px; }
}
.hxe-glow { position: absolute; left: 50%; top: 50%; height: 100%; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(143,135,255,.26), rgba(143,135,255,.08) 55%, transparent 72%); opacity: .45; pointer-events: none; }
.hxe-dot { fill: var(--fnd-accent); }
.hxe-closer .fnd-ink-in { text-align: center; padding-top: 58px; padding-bottom: 62px; }
.hxe-closer .hv-hero__go { align-items: center; }
.hxe-closer .hv-hero__hint { margin-left: auto; margin-right: auto; text-align: center; }
.hxf .hxe-journey { height: auto; }
.hxf .hxe-yt .fnd-ytcard-sub b { color: var(--fnd-text); font-weight: 700; }
.hxf-kick { margin: 0 0 var(--fnd-s3); font-size: var(--fnd-t-meta); font-weight: 700; letter-spacing: .02em; color: var(--fnd-accent-deep); }
.hxf-lede { font-size: var(--fnd-t-lede); color: var(--fnd-text-soft); margin: var(--fnd-s3) 0 0; max-width: 46ch; line-height: 1.55; }
.hxf-center { text-align: center; }
.hxf-center .hx-h2, .hxf-center .hxf-lede { margin-left: auto; margin-right: auto; }
.hxf-loop { display: grid; grid-template-columns: 1fr 56px 1fr 56px 1fr; align-items: stretch; margin: var(--fnd-s7) auto 0; max-width: 1060px; }
.hxf-card { position: relative; background: #fff; border-radius: 18px; padding: 16px 16px 20px; box-shadow: 0 1px 0 rgba(22,20,26,.06), 0 24px 50px -30px rgba(22,20,26,.35); text-align: left; }
.hxf-n { position: absolute; left: 14px; top: 14px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: var(--fnd-ink); color: #fff; font: 800 13px/26px var(--fnd-display-font); text-align: center; }
.hxf-mini { position: relative; height: 150px; border-radius: 12px; background: var(--fnd-paper-2); display: grid; place-items: center; overflow: hidden; margin-bottom: 14px; }
.hxf-mth { position: relative; width: 78%; border-radius: 9px; overflow: hidden; box-shadow: 0 12px 26px -14px rgba(22,20,26,.55); }
.hxf-mth img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hxf-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.35); }
.hxf-prog i { display: block; height: 100%; width: 0; background: #FF0033; }
.hxf-card h3 { font: 800 19px/1.2 var(--fnd-display-font); letter-spacing: -.02em; margin: 0 0 4px; color: var(--fnd-text); }
.hxf-card p { margin: 0; font-size: 15px; color: var(--fnd-text-soft); line-height: 1.45; }
.hxf-coin { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FFE58A, #F5B82E 60%, #D99812); color: #7A4E00; font-size: 30px; box-shadow: 0 14px 30px -12px rgba(217,152,18,.7), inset 0 -4px 0 rgba(0,0,0,.12); }
.hxf-plus { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 800 15px/1 var(--fnd-display-font); color: #8A5A00; background: #FFF4CC; padding: 6px 10px; border-radius: 999px; opacity: 0; white-space: nowrap; }
.hxf-c3 .hxf-mth { width: 70%; margin-top: -26px; }
.hxf-arrow { position: relative; align-self: center; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, var(--fnd-rule) 0 6px, transparent 6px 11px); margin-top: -40px; }
.hxf-arrow i { position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--fnd-accent); box-shadow: 0 0 0 5px rgba(143,135,255,.2); opacity: 0; }
.hxf-trust { list-style: none; padding: 0; margin: var(--fnd-s6) auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.hxf-trust li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 8px 14px; }
.hxf-trust li i { font-size: 12px; }
.hxf-fine { margin: var(--fnd-s4) auto 0; font-size: var(--fnd-t-meta); color: var(--fnd-text-faint); max-width: 56ch; text-wrap: balance; }
.hxf-free.go .hxf-prog i { animation: hxfProg 6s linear infinite; }
.hxf-free.go .hxf-arrow i { animation: hxfRun 6s ease-in-out infinite; }
.hxf-free.go .hxf-arrow + .hxf-card + .hxf-arrow i { animation-delay: 1.5s; }
.hxf-free.go .hxf-coin { animation: hxfCoin 6s ease infinite; }
.hxf-free.go .hxf-plus { animation: hxfPlus 6s ease infinite; }
@keyframes hxfProg { 0% { width: 0; } 36% { width: 100%; } 92% { width: 100%; } 100% { width: 0; } }
@keyframes hxfRun { 0%, 36% { left: 0; opacity: 0; } 39% { left: 0; opacity: 1; } 51% { left: 100%; opacity: 1; } 54%, 100% { left: 100%; opacity: 0; } }
@keyframes hxfCoin { 0%, 50% { transform: none; } 55% { transform: scale(1.16) rotate(-8deg); } 61%, 100% { transform: none; } }
@keyframes hxfPlus { 0%, 52% { opacity: 0; transform: translate(-50%, -50%); } 57% { opacity: 1; transform: translate(-50%, -150%); } 72% { opacity: 1; transform: translate(-50%, -190%); } 80%, 100% { opacity: 0; transform: translate(-50%, -210%); } }
@keyframes hxfFace { 0%, 74% { opacity: 0; transform: scale(.5); } 79%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (max-width: 899px) {
  .hxf-loop { grid-template-columns: 1fr; max-width: 420px; }
  .hxf-arrow { height: 30px; width: 2px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--fnd-rule) 0 6px, transparent 6px 11px); }
  .hxf-arrow i { left: 50%; top: 0; }
  .hxf-free.go .hxf-arrow i { animation-name: hxfRunV; }
  .hxf-card { display: grid; grid-template-columns: 112px 1fr; gap: 4px 14px; align-items: center; padding: 12px; }
  .hxf-mini { grid-row: 1 / 3; height: 92px; margin: 0; }
  .hxf-card h3 { font-size: 17px; align-self: end; }
  .hxf-card p { font-size: 14px; align-self: start; }
  .hxf-n { left: 8px; top: 8px; width: 22px; height: 22px; font-size: 12px; line-height: 22px; }
  .hxf-coin { width: 52px; height: 52px; font-size: 21px; }
  .hxf-plus { font-size: 12px; padding: 4px 8px; }
  .hxf-c3 .hxf-mth { margin-top: -18px; }
  .hxf-trust li { font-size: 13.5px; padding: 7px 12px; }
}
@keyframes hxfRunV { 0%, 36% { top: 0; opacity: 0; } 39% { top: 0; opacity: 1; } 51% { top: 100%; opacity: 1; } 54%, 100% { top: 100%; opacity: 0; } }
.hxf-world { padding: var(--fnd-s9) 0 var(--fnd-s8); text-align: center; overflow: hidden; }
.hxf-world .hxf-kick { color: #B9B3FF; }
.hxf-world .fnd-fig-n { color: var(--fnd-on-ink); margin: 0; font-size: clamp(4.2rem, 15vw, 9.5rem); line-height: .95; }
.hxf-world .hx-fig-u { color: var(--fnd-on-ink); }
.hxf-world .hxf-bigl { margin: var(--fnd-s3) auto 0; font: 500 var(--fnd-t-lede)/1.45 var(--fnd-body-font, inherit); letter-spacing: 0; color: var(--fnd-on-ink-soft); max-width: 34ch; }
.hxf-world .hxf-bigl b { color: var(--fnd-on-ink); }
.hxf-map { position: relative; margin: var(--fnd-s6) auto 0; max-width: 1120px; }
.hxf-mapsvg { display: block; width: 100%; height: auto; overflow: visible; }
.hxf-mapsvg path { fill: none; stroke-linecap: round; stroke-width: 4.3; }
.hxf-l0 { stroke: rgba(255,255,255,.09); }
.hxf-l1 { stroke: rgba(143,135,255,.36); }
.hxf-l2 { stroke: rgba(150,142,255,.62); }
.hxf-l3 { stroke: rgba(185,179,255,.92); }
.hxf-l4 { stroke: #E4E1FF; }
.hxf-pulse { fill: none; stroke: #CFCBFF; stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: hxfPulse 1.9s ease-out forwards; }
@keyframes hxfPulse { from { transform: scale(.15); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.hxf-mapnote { margin: var(--fnd-s5) auto 0; font-size: var(--fnd-t-meta); color: var(--fnd-on-ink-soft); }
@media (max-width: 767px) {
  .hxf-world { padding: var(--fnd-s8) 0 var(--fnd-s7); }
  .hxf-map { margin-left: -8px; margin-right: -8px; }
  .hxf-mapsvg path { stroke-width: 5.2; }
}
.hxf-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: var(--fnd-s7); }
.hxf-tile { display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 14px 14px 18px; text-decoration: none; color: inherit; box-shadow: 0 1px 0 rgba(22,20,26,.06), 0 20px 44px -32px rgba(22,20,26,.4); transition: transform .25s ease, box-shadow .25s ease; }
.hxf-tile:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(22,20,26,.06), 0 30px 60px -30px rgba(22,20,26,.45); }
.hxf-tile.w2 { grid-column: span 2; }
@media (min-width: 900px) {
  .hxf-tile.w3 { grid-column: span 3; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto auto; column-gap: 28px; align-content: center; align-items: start; }
  .hxf-tile.w3 .hxf-tv { grid-row: 1 / 4; margin: 0; }
  .hxf-tile.w3 h3 { font-size: 22px; }
  .hxf-tile.w3 .hxf-go { padding-top: 14px; }
}
.hxf-tv { position: relative; height: 168px; border-radius: 12px; background: var(--fnd-paper-2); overflow: hidden; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; }
.hxf-tile h3 { font: 800 19px/1.2 var(--fnd-display-font); letter-spacing: -.02em; margin: 0 0 4px; color: var(--fnd-text); }
.hxf-tile p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--fnd-text-soft); }
.hxf-tile .hxf-go { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px; color: var(--fnd-text); }
.hxf-tile .hxf-go i { font-size: 11px; margin-left: 4px; transition: transform .2s ease; }
.hxf-tile:hover .hxf-go i { transform: translateX(3px); }
.hxf-ex { position: absolute; right: 8px; top: 8px; font-size: 12px; font-weight: 700; color: var(--fnd-text-faint); background: rgba(255,255,255,.8); padding: 3px 8px; border-radius: 999px; }
.hxf-idea { display: flex; align-items: center; gap: 18px; padding: 0 18px; width: 100%; }
.hxf-idea img { width: 46%; max-width: 250px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; box-shadow: 0 12px 26px -14px rgba(22,20,26,.55); }
.hxf-mult { font: 800 54px/1 var(--fnd-display-font); letter-spacing: -.04em; color: var(--fnd-text); }
.hxf-mult small { display: block; font: 600 13px/1.3 var(--fnd-body-font, inherit); letter-spacing: 0; color: var(--fnd-text-soft); margin-top: 4px; }
.hxf-chip { margin-top: 8px; font-size: 12px; padding: 4px 9px; }
.hxf-wave { display: flex; align-items: center; gap: 3px; height: 70px; padding: 0 16px; }
.hxf-wave span { flex: 0 0 5px; border-radius: 3px; background: var(--fnd-ink); }
.hxf-wave span.c { background: #F3A3A3; }
.hxf-tile:hover .hxf-wave span.c, .hxf-all.go .hxf-wave span.c { animation: hxfCut 4s ease infinite; }
@keyframes hxfCut { 0%, 30% { flex-basis: 5px; opacity: 1; margin: 0; } 45%, 85% { flex-basis: 0; opacity: 0; margin: 0 -1.5px; } 100% { flex-basis: 5px; opacity: 1; } }
.hxf-wlab { position: absolute; left: 12px; bottom: 10px; font-size: 12px; font-weight: 700; color: var(--fnd-text-soft); display: flex; gap: 6px; align-items: center; }
.hxf-wlab i { color: #E35D5D; }
.hxf-chan { width: 88%; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 12px 26px -16px rgba(22,20,26,.5); }
.hxf-ban { height: 62px; background: url('/img/home/thumbnails/tm-showcase-2.webp') center 40% / cover; }
.hxf-crow { display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px; }
.hxf-crow .hx-face { width: 38px; margin-top: -20px; box-shadow: 0 0 0 3px #fff; }
.hxf-crow b { font: 800 14px/1.1 var(--fnd-display-font); color: var(--fnd-text); }
.hxf-crow small { display: block; font-size: 12px; color: var(--fnd-text-faint); }
.hxf-sub { margin-left: auto; font-size: 12px; font-weight: 700; background: var(--fnd-ink); color: #fff; padding: 6px 11px; border-radius: 999px; }
.hxf-earn { width: 86%; display: grid; gap: 8px; }
.hxf-row { display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 10px; padding: 9px 11px; font-size: 13px; font-weight: 700; color: var(--fnd-text); box-shadow: 0 8px 18px -14px rgba(22,20,26,.5); }
.hxf-row > i { color: #2F9E6B; }
.hxf-row .hxf-cr { margin-left: auto; font-size: 12px; color: #8A5A00; background: #FFF4CC; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.hxf-row .hxf-cr i { color: #D99812; margin-right: 3px; }
.hxf-row.hxf-row-cr { background: #FFF4CC; color: #8A5A00; }
.hxf-row.hxf-row-cr > i { color: #D99812; }
.hxf-kit { display: flex; align-items: center; gap: 16px; width: 90%; background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 12px 26px -16px rgba(22,20,26,.5); }
.hxf-kit .hx-face { width: 56px; flex: 0 0 56px; }
.hxf-kit b { font: 800 16px/1.2 var(--fnd-display-font); color: var(--fnd-text); display: block; }
.hxf-kit small { font-size: 12px; color: var(--fnd-text-faint); }
.hxf-stats { display: flex; gap: 8px; margin-left: auto; }
.hxf-stats span { text-align: center; background: var(--fnd-paper-2); border-radius: 9px; padding: 7px 10px; font-size: 12px; color: var(--fnd-text-soft); line-height: 1.2; }
.hxf-stats span b { font-size: 17px; }
@media (max-width: 899px) {
  .hxf-bento { grid-template-columns: 1fr; gap: 12px; }
  .hxf-tile.w2, .hxf-tile.w3 { grid-column: auto; }
  .hxf-tv { height: 150px; }
  .hxf-mult { font-size: 42px; }
  .hxf-kit { flex-wrap: wrap; gap: 10px 12px; }
  .hxf-stats { margin-left: 0; width: 100%; }
  .hxf-stats span { flex: 1; }
}
.hxf-faq-in { display: grid; gap: var(--fnd-s6); }
@media (min-width: 900px) {
  .hxf-faq-in { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .hxf-faq-h { position: sticky; top: 96px; }
}
.hxf-qs { border-top: 1px solid var(--fnd-rule); }
.hxf-q { border-bottom: 1px solid var(--fnd-rule); }
.hxf-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 2px; font: 700 18px/1.3 var(--fnd-display-font); letter-spacing: -.01em; color: var(--fnd-text); text-wrap: balance; }
.hxf-q summary::-webkit-details-marker { display: none; }
.hxf-q summary::after { content: "+"; margin-left: auto; flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--fnd-paper-2); display: grid; place-items: center; font: 500 20px/1 var(--fnd-body-font, inherit); color: var(--fnd-text-soft); transition: transform .25s ease, background .2s ease; }
.hxf-q summary:hover::after { background: var(--fnd-rule); }
.hxf-q[open] summary::after { transform: rotate(45deg); }
.hxf-q p { margin: 0 0 18px; padding-right: 44px; font-size: 16px; line-height: 1.6; color: var(--fnd-text-soft); max-width: 60ch; }
@media (max-width: 899px) {
  .hxf-q summary { font-size: 16.5px; padding: 15px 0; }
  .hxf-q p { font-size: 15px; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hxf-free.go *, .hxf-all.go * { animation: none !important; }
  .hxf-prog i { width: 100%; }
  .hxf-plus { opacity: 1; transform: translate(-50%, -150%); }
}
.hxg-pop { gap: 10px; padding: 9px 14px 9px 9px; border-radius: 14px; text-align: left; }
.hxg-pi { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #EEEDFF; }
.hxd-pop .hxg-pi i { color: var(--fnd-accent); font-size: 14px; }
.hxg-pi { overflow: hidden; }
.hxg-pi img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hxg-pw { display: grid; gap: 1px; }
.hxg-pw b { font: 800 15px/1.2 var(--fnd-display-font); letter-spacing: -.01em; color: #16141A; }
.hxg-pw b span { color: #5B50F0; }
.hxg-pw small { font-size: 12.5px; font-weight: 600; color: #6B6677; }
@media (max-width: 767px) {
  .hxd-pop.hxg-pop { width: auto; white-space: nowrap; }
  .hxg-pw b { font-size: 14px; }
  .hxg-pw small { font-size: 12px; }
  .hxg-pi { flex-basis: 30px; height: 30px; }
}
.hxg .hxe-journey { height: auto; }
.hxg-vis { overflow: visible; }
.hxg-card .hxg-ex { position: absolute; left: 8px; top: 8px; z-index: 2; font-size: 12px; line-height: 1.3; font-weight: 700; color: #fff; background: rgba(22,20,26,.62); padding: 3px 9px; border-radius: 999px; transform-origin: left top; }
.hxg-card .hxg-ex { transition: opacity .25s ease, visibility .25s; }
.hxg-card .hxg-ex.gone { visibility: hidden; opacity: 0; }
.hxg-card .hxg-ex.lo { top: auto; bottom: 8px; transform-origin: left bottom; }
.hxg .hxg-card { left: 0; top: 0; width: min(440px, 68%); transform-origin: center; will-change: transform; z-index: 3; }
@media (max-width: 899px) {
  .hxg .hxg-card { width: min(262px, 78%); }
}
.hxg .hxg-card .fnd-ytcard-sub b { color: var(--fnd-text); font-weight: 700; }
.hxg-live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2F9E6B; margin-right: 6px; vertical-align: 1px; }
/* the dull "random frame": a close crop of the same thumbnail. Drawn as a background so the crop stays inside its box (a scaled image measured 2.3 times its box and read as spilling out) */
.hxg-frame { position: absolute; inset: 0; background: url(/img/home/thumbnails/tm-test-a.webp) 92% 10% / 230% auto no-repeat; filter: saturate(.35) brightness(.72) contrast(.92); }
.hxg-tl, .hxg-lab, .hxg-cand, .hxg-desc, .hxg-check, .hxg-sp, .hxg-reach, .hxg-up, .hxg-auto, .hxg-voters .hx-face { visibility: hidden; opacity: 0; }
.hxg-lab { position: absolute; z-index: 4; margin: 0; transform: translateX(-50%); white-space: nowrap; width: max-content; gap: 8px; font: 700 14px/1 var(--fnd-display-font); padding: 8px 13px; box-shadow: 0 10px 24px -12px rgba(68,60,196,.55); }
@media (max-width: 899px) {
  .hxg-lab { font-size: 12.5px; padding: 6px 10px; gap: 6px; }
}
.hxg-cand { position: absolute; z-index: 4; transform-origin: center top; will-change: transform; }
.hxg-cimg { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 36px -18px rgba(22,20,26,.6); transition: box-shadow .3s ease; }
.hxg-cimg img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hxg-shim { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
.hxg-vbar { height: 7px; border-radius: 4px; background: var(--fnd-rule); margin-top: 10px; overflow: hidden; }
.hxg-vbar i { display: block; height: 100%; width: 0; background: var(--fnd-text-faint); border-radius: 4px; }
.hxg-pct { display: block; margin-top: 6px; font: 800 20px/1 var(--fnd-display-font); color: var(--fnd-text-faint); letter-spacing: -.02em; }
.hxg-cand.win .hxg-cimg { box-shadow: 0 0 0 3px var(--fnd-accent), 0 22px 44px -16px rgba(91,80,240,.55); }
.hxg-cand.win .hxg-vbar i { background: var(--fnd-accent); }
.hxg-cand.win .hxg-pct { color: var(--fnd-text); }
.hxg-best { position: absolute; left: 50%; top: 8px; transform: translate(-50%, -6px); opacity: 0; transition: opacity .25s ease, transform .25s ease; white-space: nowrap; font: 800 12px/1 var(--fnd-display-font); background: var(--fnd-accent); color: #fff; padding: 6px 9px; border-radius: 999px; }
.hxg-best i { margin-right: 5px; font-size: 10px; }
.hxg-cand.win .hxg-best { opacity: 1; transform: translate(-50%, 0); }
.hxg-voters .hx-face { position: absolute; left: 0; top: 0; z-index: 5; width: 40px; box-shadow: 0 0 0 3px #fff, 0 8px 18px -8px rgba(22,20,26,.5); }
@media (max-width: 899px) {
  .hxg-pct { font-size: 15px; margin-top: 4px; }
  .hxg-vbar { height: 5px; margin-top: 7px; }
  .hxg-best { font-size: 12px; padding: 4px 6px; top: 5px; }
  .hxg-best i { display: none; }
  .hxg-voters .hx-face { width: 26px; box-shadow: 0 0 0 2px #fff, 0 6px 14px -6px rgba(22,20,26,.5); }
  .hxg-cimg { border-radius: 7px; }
}
.hxg-desc { position: absolute; z-index: 2; background: #fff; border-radius: 14px; padding: 14px 16px 12px; box-shadow: 0 24px 50px -30px rgba(22,20,26,.5); }
.hxg-dh { margin: 0 0 8px; font: 700 12.5px/1 var(--fnd-body-font, inherit); color: var(--fnd-text-faint); display: flex; gap: 7px; align-items: center; }
.hxg-dl { margin: 0 0 10px; font-size: 15px; line-height: 1.45; color: var(--fnd-text); min-height: 2.9em; }
.hxg-dl.typing .hxe-caret { display: inline-block; }
.hxg-ch { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.hxg-ch li { font-size: 13.5px; color: var(--fnd-text-soft); opacity: 0; }
.hxg-ch b { color: #3E5BD8; font-weight: 700; margin-right: 8px; }
@media (max-width: 899px) {
  .hxg-desc { padding: 11px 12px 10px; }
  .hxg-dl { font-size: 13.5px; }
  .hxg-ch li { font-size: 12.5px; }
}
.hxg-check { position: absolute; z-index: 2; background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 24px 50px -30px rgba(22,20,26,.5); }
.hxg-ckh { margin: 0 0 10px; font: 800 17px/1.2 var(--fnd-display-font); color: var(--fnd-text); letter-spacing: -.01em; }
.hxg-rows { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.hxg-rows li, .hxg-pl { display: flex; align-items: center; gap: 10px; padding: 7px 2px; font-size: 15px; font-weight: 600; color: var(--fnd-text); border-bottom: 1px solid var(--fnd-rule); }
.hxg-rows li > i, .hxg-pl > i { width: 18px; text-align: center; color: var(--fnd-text-faint); font-size: 13px; }
.hxg-tk { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--fnd-rule); display: grid; place-items: center; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.hxg-tk i { font-size: 10px; color: #fff; opacity: 0; }
.hxg-rows li.on .hxg-tk, .hxg-pl.on .hxg-tk { background: #2F9E6B; border-color: #2F9E6B; transform: scale(1.08); }
.hxg-rows li.on .hxg-tk i, .hxg-pl.on .hxg-tk i { opacity: 1; }
.hxg-put { position: relative; display: grid; place-items: center; height: 46px; border-radius: 999px; background: var(--fnd-ink); color: #fff; font: 700 15px/1 var(--fnd-display-font); transition: background .3s ease; overflow: hidden; }
.hxg-put > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 9px; transition: opacity .25s ease, transform .25s ease; }
.hxg-put-b { opacity: 0; transform: translateY(10px); }
.hxg-put-b i { color: #7FE0A8; }
.hxg-put.done { background: #1F7A52; }
.hxg-put.done .hxg-put-a { opacity: 0; transform: translateY(-10px); }
.hxg-put.done .hxg-put-b { opacity: 1; transform: none; }
.hxg-pl { margin-top: 10px; border-bottom: 0; border-top: 1px dashed var(--fnd-rule); padding-top: 11px; }
@media (max-width: 899px) {
  .hxg-check { padding: 11px 12px; border-radius: 13px; }
  .hxg-ckh { font-size: 14.5px; margin-bottom: 4px; }
  .hxg-rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; margin-bottom: 9px; }
  .hxg-rows li, .hxg-pl { font-size: 12.5px; padding: 6px 0; gap: 7px; }
  .hxg-rows li > i, .hxg-pl > i { width: 14px; font-size: 11px; }
  .hxg-tk { width: 18px; height: 18px; }
  .hxg-tk i { font-size: 8px; }
  .hxg-put { height: 38px; font-size: 13.5px; }
  .hxg-pl { margin-top: 6px; padding-top: 8px; }
}
.hxg .hxe-short { z-index: 4; }
.hxg-sp-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.3); }
.hxg-sp-prog u { display: block; height: 100%; width: 0; background: #FF0033; }
.hxg-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.hxg-lines path { fill: none; stroke: var(--fnd-accent); stroke-width: 1.8; opacity: .6; }
.hxg-sp { position: absolute; z-index: 3; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 24px 50px -30px rgba(22,20,26,.5); transition: box-shadow .25s ease; }
.hxg-sp.hit { box-shadow: 0 0 0 2px var(--fnd-accent), 0 24px 50px -24px rgba(91,80,240,.5); }
.hxg-sph { display: flex; align-items: center; gap: 10px; }
.hxg-av { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 800 15px/1 var(--fnd-display-font); }
.hxg-who { min-width: 0; }
.hxg-who b { display: block; font: 800 14.5px/1.2 var(--fnd-display-font); color: var(--fnd-text); }
.hxg-who small { font-size: 12.5px; font-weight: 700; color: var(--fnd-accent); }
.hxg-tag { margin-left: auto; flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--fnd-text-soft); background: var(--fnd-paper-2); padding: 4px 8px; border-radius: 999px; }
.hxg-spt { margin: 8px 0 0; font-size: 14px; line-height: 1.4; color: var(--fnd-text); }
.hxg-spt em, .hxg-emb small { font-style: normal; font-weight: 700; color: #3E5BD8; }
.hxg-spt u { display: block; text-decoration: none; color: #3E5BD8; font-size: 13px; }
.hxg-emb { display: flex; gap: 10px; align-items: center; margin-top: 9px; padding: 7px; border: 1px solid var(--fnd-rule); border-radius: 10px; }
.hxg-emb img { width: 86px; flex: 0 0 86px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.hxg-emb b { display: block; font: 700 12.5px/1.25 var(--fnd-display-font); color: var(--fnd-text); }
.hxg-emb small { font-size: 12px; }
.hxg-ok { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #1F7A52; opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.hxg-sp.on .hxg-ok { opacity: 1; transform: none; }
.hxg-reach { position: absolute; z-index: 4; transform: translateX(-50%); text-align: center; background: var(--fnd-ink); color: #fff; border-radius: 18px; padding: 12px 20px 13px; box-shadow: 0 24px 50px -24px rgba(22,20,26,.7); white-space: nowrap; }
.hxg-reach b { display: block; font: 800 40px/1.05 var(--fnd-display-font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hxg-reach small { display: block; font-size: 13px; font-weight: 600; color: var(--fnd-on-ink-soft); }
@media (max-width: 899px) {
  .hxg-sp { padding: 9px 11px; border-radius: 12px; }
  .hxg-av { flex-basis: 28px; height: 28px; font-size: 13px; }
  .hxg-sph { gap: 8px; }
  .hxg-who b { font-size: 13px; }
  .hxg-who small { font-size: 12px; }
  .hxg-tag { font-size: 12px; padding: 3px 7px; }
  .hxg-spt { font-size: 12.5px; margin-top: 6px; }
  .hxg-spt u { display: inline; font-size: 12px; }
  .hxg-emb { display: none; }
  .hxg-sph { margin-bottom: 6px; }
  .hxg-sp { line-height: 1.4; }
  .hxg-sp .hxg-spt { display: inline; }
  .hxg-ok { margin: 0 0 0 6px; font-size: 12px; vertical-align: -1px; white-space: nowrap; }
  .hxg-sp .hxg-spt { padding-right: 0; }
  .hxg-reach { padding: 8px 14px 9px; border-radius: 14px; }
  .hxg-reach b { font-size: 28px; }
  .hxg-reach small { font-size: 12px; }
}
.hxg .hxg-up { position: absolute; left: 0; top: 0; z-index: 3; transform-origin: center; border-radius: 14px; box-shadow: 0 34px 80px -34px rgba(22,20,26,.55); }
.hxg .hxg-up .fnd-ytcard-thumb img { display: block; width: 100%; }
.hxg .hxg-up .fnd-ytcard-t { min-height: 2.6em; }
.hxg-pr { position: absolute; left: 50%; top: 0; z-index: 4; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1.4); white-space: nowrap; gap: .45em; font: 800 1em/1 var(--fnd-display-font); padding: .55em .85em; box-shadow: 0 .6em 1.4em -.6em rgba(68,60,196,.8); }
.hxg-pr.on, .hxg-up.on .hxg-pr { opacity: 1; transform: translate(-50%, -50%); }
.hxg-auto { position: absolute; z-index: 4; transform: translateX(-50%); white-space: nowrap; gap: 2px; font: 800 15px/1 var(--fnd-display-font); padding: 10px 16px; box-shadow: 0 12px 28px -12px rgba(68,60,196,.6); }
@media (max-width: 899px) {
  .hxg-auto { font-size: 13px; padding: 8px 12px; }
}
.hxg-paid { gap: 2px; margin-top: var(--fnd-s4); font-size: 14px; font-weight: 700; padding: 6px 12px; }
@media (max-width: 899px) {
  .hxg-paid { margin-top: 8px; font-size: 12.5px; padding: 4px 10px; }
}
.hxg-chips { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 5px; }
.hxg-chip { display: inline-flex; align-items: center; gap: 5px; font: 700 12px/1 var(--fnd-display-font); padding: 6px 9px; opacity: 0; }
.hxg-chip i { color: var(--fnd-accent); font-size: 10px; }
.hxf-free.go .hxg-chip { animation: hxfFace 6s ease infinite; }
.hxf-free.go .hxg-chip:nth-child(2) { animation-delay: .25s; }
.hxf-free.go .hxg-chip:nth-child(3) { animation-delay: .5s; }
@media (max-width: 899px) {
  /* the small picture is 112px wide here, so the three chips wrap onto two lines instead of running off both sides */
  .hxg-chips { bottom: 6px; gap: 3px 2px; flex-wrap: wrap; padding: 0; }
  .hxf-c3 .hxf-mth { width: 64%; margin-top: -36px; }
  .hxg-chip { font-size: 12px; padding: 4px 5px; gap: 3px; }
  .hxg-chip i { display: none; }
}
.hxg-kt .hxf-kit { flex-wrap: wrap; gap: 10px 12px; }
.hxg-kt .hxf-stats { margin-left: 0; width: 100%; }
.hxg-kt .hxf-stats span { flex: 1; }
@media (prefers-reduced-motion: reduce) {
  .hxg-chip { opacity: 1; }
  .hxg-journey .hxe-step, .hxg-journey .hxe-step.on, .hxg-journey .hxe-vis * { transition: none; }
}
@media (min-width: 900px) {
  .hxg .hxe-grid { grid-template-columns: .7fr 1.3fr; }
  .hxg .hxe-vis { height: min(680px, 86%); }
}
.hxg-tl { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hxg-tl b { position: absolute; border: 0 dashed rgba(143,135,255,.5); border-top-width: 2px; }
.hxg-tl span { position: absolute; transform: translate(-50%, -50%); font: 700 13px/1 var(--fnd-display-font); padding: 6px 11px; box-shadow: inset 0 0 0 1px var(--fnd-rule); }
.hxg-tl span i { display: none; width: 8px; height: 8px; border-radius: 50%; background: var(--fnd-accent); }
@media (max-width: 899px) {
  .hxg-tl b { border-top-width: 0; border-left-width: 2px; }
  .hxg-tl span { transform: translateY(-50%); font-size: 12.5px; padding: 0; background: none; box-shadow: none; }
  .hxg-tl span i { display: block; position: absolute; left: -20px; top: 50%; margin-top: -5px; width: 10px; height: 10px; box-shadow: 0 0 0 3px var(--fnd-paper-2, #F6F4F0); }
}

/* "Your channel" letter avatar on the example tiles: an example is drawn as a
   letter, never as a real creator's face. */
.hxs-me { display: grid; place-items: center; background: linear-gradient(135deg, var(--fnd-accent), #4B42D6); color: #fff; font: 800 18px/1 var(--fnd-display-font); }
.hxf-crow .hxs-me { font-size: 15px; }
.hxf-kit .hxs-me { font-size: 22px; }
@media (max-width: 559px) {
  .hxf-tv .hxf-idea { margin-top: -22px; }
  .hxf-tv .hxf-chip { position: absolute; left: 18px; bottom: 12px; margin: 0; white-space: nowrap; }
}

/* Voters in the example are made-up people, so letters, never a real face */
.hxg-vf { display: grid; place-items: center; color: #fff; font: 800 16px/1 var(--fnd-display-font); background: linear-gradient(135deg, #7A70FF, #4B42D6); }
.hxg-vf:nth-child(2) { background: linear-gradient(135deg, #25C2A0, #108A70); }
.hxg-vf:nth-child(3) { background: linear-gradient(135deg, #FF9A4D, #E0602A); }
.hxg-vf:nth-child(4) { background: linear-gradient(135deg, #F25C9A, #C2357A); }
.hxg-vf:nth-child(5) { background: linear-gradient(135deg, #4DA3FF, #2A6FD6); }
.hxg-vf:nth-child(6) { background: linear-gradient(135deg, #3A3640, #16141A); }
.hxg-vf:nth-child(7) { background: linear-gradient(135deg, #2FBF71, #1E8A50); }
.hxg-vf:nth-child(8) { background: linear-gradient(135deg, #B07CFF, #7A48D6); }
/* Each chapter is a button 44px tall: its bar on top, its name under it */
.hxe-rail button { display: block; width: 100%; padding: 9px 8px 7px; border: 0; border-radius: 12px; background: none; color: inherit; font: inherit; line-height: 18px; text-align: left; white-space: nowrap; cursor: pointer; }
/* keyboard focus: one clear ring around the pill, never across the letters */
.hxe-rail button:focus, .hxe-rail button:focus-visible { outline: none !important; box-shadow: none !important; }
.hxe-rail li:has(> button:focus-visible) { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--fnd-accent); }
@media (hover: hover) {
  .hxe-rail li:not(.on):hover { background: #E7E2DA; transform: translateY(-1px); }
  .hxe-rail li:hover .hxe-trk { background: rgba(22,20,26,.2); }
}
/* "Promoted" hangs just under each card on a computer and beside it on a phone, never over the card's words */
.hxg-pr { top: 100%; transform: translate(-50%, .45em) scale(.6); transform-origin: 50% 0; }
.hxg-pr.on, .hxg-up.on .hxg-pr { transform: translate(-50%, .45em); }
@media (max-width: 899px) {
  .hxg-vf { font-size: 12px; }
  .hxe-rail button { padding: 9px 6px 7px; }
  .hxg-pr { left: auto; right: 100%; top: 50%; transform: translate(-1em, -.08em) scale(.6); transform-origin: 100% 0; }
  .hxg-pr.on, .hxg-up.on .hxg-pr { transform: translate(-1em, -.08em); }
  .hxg-kt .hxf-tv { height: auto; min-height: 150px; padding: 12px 0; }
  .hxe-ring { width: 108px; height: 108px; }
  .hxe-ring b { font-size: 28px; line-height: 28px; }
  .hxe-ring s { letter-spacing: 0; }
  .hxg-rows { column-gap: 6px; }
  .hxg-rows li, .hxg-pl { font-size: 12px; gap: 5px; }
  .hxe-vis.tight .hxg-reach { padding: 6px 12px 7px; }
  .hxe-vis.tight .hxg-reach b { font-size: 24px; }
  .hxe-vis.tight .hxg-reach small { line-height: 1.2; }
  .hxe-vis.tight .hxg-sp, .hxe-vis.tight .hxg-spt { font-size: 12px; line-height: 1.3; }
}
/* Shorts captions: two even lines, never one word alone */
.hxe-short span { text-wrap: balance; }
/* computer headlines: each sentence wraps on its own */
@media (min-width: 900px) {
  .hx .hxe-h:has(.hxe-s) { text-wrap: wrap; }
  .hxe-h .hxe-s { display: inline-block; text-wrap: balance; }
  /* "A stack of Shorts." is a few pixels wider than its column; it keeps one line and runs into the gap */
  .hxe-h .hxe-nw { white-space: nowrap; }
}
/* each finishing touch reads on one line */
.hxg-rows li, .hxg-pl { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1199px) {
  .hxg-rows li, .hxg-pl { font-size: 14px; gap: 8px; }
}
/* the subscriber count and the banner line stay on one line */
.hxg-who small, .hxf-crow small { white-space: nowrap; }
/* media kit picture: a smaller face so the card fits its frame */
.hxg-kt .hxf-kit { padding: 11px 14px; gap: 8px 12px; }
.hxg-kt .hxf-kit .hx-face { width: 44px; height: 44px; flex: 0 0 44px; }
.hxg-kt .hxf-kit .hxs-me { font-size: 18px; }
/* short laptop screens: the Post card drops its small picture so all three cards fit */
.hxe-vis.tight .hxg-emb { display: none; }
/* very short phone screens (set by the story script): the heading alone tells each chapter */
.hxe-low .hxe-step p { display: none; }
.hxe-vis.tight2 .hxg-spt u { display: none; }
.hxe-vis.tight2 .hxg-sp { padding-top: 5px; padding-bottom: 5px; }
.hx .hxe-low .hxe-h { margin-bottom: 0; }
/* short phones: tighter chapter words and cards, so every picture fits the screen */
@media (max-width: 899px) and (max-height: 740px) {
  .hxe-grid { padding-top: 10px; gap: 6px; }
  .hxe-player { margin-bottom: 8px; }
  .hxe-watch { margin-bottom: 6px; font-size: 13px; }
  .hx .hxe-h { font-size: 1.45rem; margin-bottom: 6px; }
  .hxe-step p { font-size: 14px; line-height: 1.45; }
  .hxg-sp { padding: 7px 10px; }
  .hxg-av { flex-basis: 24px; height: 24px; font-size: 12px; }
  .hxg-sph { margin-bottom: 4px; }
  .hxg-sp, .hxg-spt { line-height: 1.35; }
  .hxg-rows li, .hxg-pl { padding: 4px 0; }
  .hxg-put { height: 34px; }
  .hxg-pl { margin-top: 4px; padding-top: 6px; }
}

/* pricing on this page: no word left alone on a last line */
.hxg .hv-cost p, .hxg .hv-cost li { text-wrap: pretty; }

/* The old homepage's pinned phone bar (launch sweep 2026-11-23): it slides away
   while the hero's button and paste box or the closing button is on screen, and
   comes back once both are gone. Its look is home-v2.css's, unchanged. */
.home-v2 .hxe-bar { transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.home-v2 .hxe-bar.on { transform: none; visibility: visible; transition: transform .25s ease; }
@media (prefers-reduced-motion: reduce) { .home-v2 .hxe-bar, .home-v2 .hxe-bar.on { transition: none; } }

/* A short phone (740px tall or less, like a 375x667): the hero words sit
   tighter and the paste label is kept for screen readers only (the field and
   its "Get it watched" button already say it), so a live shoutout card shows
   on the first screen. The sweep found it on screen in 0 of 5 loads. */
@media (max-width: 767px) and (max-height: 740px) {
  .hx .hxe-hero .hxc-in { padding-top: 24px; }
  .hx .hxe-hero .hxc-title { font-size: 2.25rem; }
  .hxe-hero .hv-hero__hint.hxe-ticks { margin-top: 10px; }
  .hxe-hero .hxe-paste { margin-top: 16px; }
  .hxe-hero .hxe-paste-l { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
