/* public-v2.css - community rules, privacy policy, FAQ and the footer (public-v2.js), plus light motion for the
   ORIGINAL home, log in and sign up pages (owner, 2026-10-21: keep their look and colours, only a little motion).
   Rollback: remove its <link> and the public-v2.js <script>. */

/* ---------- shared ---------- */
.wrap:has(.dx) { max-width: 1180px !important; }
.dx { --lx-teal: #2A8C82; }
@keyframes lxUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lxFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- FAQ items (home and FAQ page) ---------- */
.qa { border-radius: 18px; background: var(--s1); box-shadow: var(--sh1); overflow: hidden; }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; font: 700 16px/1.4 var(--font-b); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--s2) center / 14px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1A2E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), background-color .2s;
}
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--tint); }
.qa .ans { padding: 0 20px 18px; color: var(--t2); line-height: 1.7; font-size: 15px; animation: lxUp .35s ease both; }
.qa .ans p { margin: 0 0 8px; }

/* ---------- rules, privacy, FAQ pages ---------- */
.dx { position: relative; isolation: isolate; padding: 18px 0 20px; }
.dx-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border: 0; border-radius: 999px; background: var(--s1); box-shadow: var(--sh1);
  color: var(--t1); font: 700 14px var(--font-b); cursor: pointer; animation: lxFade .4s both; }
.dx-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dx-hero { position: relative; padding: 30px 0 26px; }
.dx-hero h1 { margin: 10px 0 10px; font: 800 clamp(34px, 6vw, 56px)/1.1 var(--font-d); animation: lxUp .6s both; }
.dx-hero p { max-width: 680px; margin: 0; color: var(--t2); font-size: 16px; line-height: 1.65; animation: lxUp .6s .08s both; }
.dx-upd { display: table; margin-top: 14px !important; padding: 5px 12px; border-radius: 999px; background: var(--s2); font-size: 13px !important; }
.dx-body { display: grid; gap: 22px; align-items: start; }
.dx-toc { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.dx-toc::-webkit-scrollbar { display: none; }
.dx-toc button { flex: none; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--s1); box-shadow: var(--sh1); color: var(--t2);
  font: 600 13.5px var(--font-b); cursor: pointer; text-align: left; transition: background .2s, color .2s; }
.dx-toc button:hover, .dx-toc button.on { background: var(--t1); color: var(--bg); }
.dx-secs { display: grid; gap: 14px; }
.dx-sec { padding: 24px 22px; border-radius: 24px; background: var(--s1); box-shadow: var(--sh1); scroll-margin-top: 90px; }
.dx-sec h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font: 700 21px/1.3 var(--font-d); }
.dx-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--tint); color: var(--acc-t); font: 800 14px var(--font-b); }
.dx-sec p, .dx-sec li { color: var(--t2); line-height: 1.75; font-size: 15.5px; }
.dx-sec p { margin: 0 0 10px; }
.dx-sec ul { margin: 0 0 6px; padding-left: 20px; }
.dx-sec li { margin-bottom: 6px; }
.dx-sec li b, .dx-sec p b { color: var(--t1); }
.dx-ask { margin-top: 18px; padding: 24px; border-radius: 24px; text-align: center; background: var(--t1); color: var(--bg); }
.dx-ask h3 { margin: 0 0 6px; font: 700 20px var(--font-d); }
.dx-ask p { margin: 0 0 16px; opacity: .75; }
.dx-ask a { display: inline-flex; padding: 12px 22px; border-radius: 14px; background: var(--acc); color: #1B1A2E; font: 700 15px var(--font-b); text-decoration: none; }
.dx-search { position: relative; margin: 6px 0 4px; }
.dx-search input { width: 100%; min-height: 54px !important; padding-left: 48px !important; border-radius: 18px !important; font-size: 16px !important; box-shadow: var(--sh1); }
.dx-search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--t3); stroke-width: 2; stroke-linecap: round; }
.dx-cat { margin: 26px 0 10px; font: 700 14px var(--font-b); color: var(--acc-t); }
.dx-none { padding: 30px; text-align: center; color: var(--t3); }

/* ---------- footer ---------- */
.foot { margin-top: 64px !important; padding: 30px 0 calc(24px + env(safe-area-inset-bottom, 0px)) !important; border-top: 1px solid var(--line) !important; text-align: center; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px !important; }
.foot-links a { padding: 8px 14px !important; border-radius: 999px; color: var(--t1) !important; font: 600 14px var(--font-b) !important; text-decoration: none !important; cursor: pointer; transition: background .2s; }
.foot-links a:hover { background: var(--s2); }
.foot-links span { display: none; }
.foot-copy { margin-top: 14px !important; color: var(--t2) !important; font: 500 13px var(--font-b) !important; }
.foot-by { margin-top: 18px; padding-top: 16px; border-top: 1px dashed transparent; color: var(--t3); font: 500 12.5px var(--font-b); }
.foot-by a, .foot-by b { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding: 3px 10px; border-radius: 999px; background: var(--s2); color: var(--t1); font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.foot-by a:hover { background: var(--tint); transform: translateY(-1px); }

/* ---------- public header on small screens: one tidy row ---------- */
@media (max-width: 520px) {
  body:not(:has(#nav)) .wrap > header { flex-wrap: nowrap !important; gap: 8px !important; }
  body:not(:has(#nav)) .wrap > header > div:last-child { flex-wrap: nowrap !important; gap: 6px !important; }
  body:not(:has(#nav)) .wrap > header .theme-btn, body:not(:has(#nav)) .wrap > header .language-trigger { width: 38px !important; height: 38px !important; }
  body:not(:has(#nav)) #ha .btn { min-height: 38px !important; padding: 0 12px !important; font-size: 13px !important; white-space: nowrap; }
  body:not(:has(#nav)) #ha .btn.ghost { display: none !important; } /* every page has its own "Log in" link */
  body:not(:has(#nav)) .wrap > header .brand { font-size: 22px; }
}

/* ---------- document pages on wider screens ---------- */
@media (min-width: 760px) { .dx-sec { padding: 30px 32px; } }
@media (min-width: 1000px) {
  .dx-body { grid-template-columns: 250px minmax(0, 1fr); }
  .dx-toc { position: sticky; top: 24px; flex-direction: column; overflow: visible; padding: 0; }
  .dx-toc button { white-space: normal; border-radius: 14px; box-shadow: none; background: transparent; padding: 10px 14px; }
  .dx-toc button:hover, .dx-toc button.on { background: var(--s1); color: var(--t1); box-shadow: var(--sh1); }
}

/* ---------- light motion for the ORIGINAL home, log in and sign up pages ----------
   Only opacity and movement (cheap for the browser): no blur, no moving colour. Plays once when the page opens. */
/* home: the parts of the hero come in after the headline */
.top .lead { animation: lxUp .7s .35s cubic-bezier(.2, .7, .2, 1) both; }
.top .cta { animation: lxUp .7s .48s cubic-bezier(.2, .7, .2, 1) both; }
.top .pst { animation: lxFade .8s .2s both, swp 6s 1s ease-in-out infinite; }
.top .pst .spec > div { animation: lxUp .6s cubic-bezier(.2, .7, .2, 1) both; }
.top .pst .spec > div:nth-child(1) { animation-delay: .7s; }
.top .pst .spec > div:nth-child(2) { animation-delay: .8s; }
.top .pst .spec > div:nth-child(3) { animation-delay: .9s; }
.top .strip > div { animation: lxUp .6s cubic-bezier(.2, .7, .2, 1) both; }
.top .strip > div:nth-child(1) { animation-delay: .6s; }
.top .strip > div:nth-child(2) { animation-delay: .68s; }
.top .strip > div:nth-child(3) { animation-delay: .76s; }
.top .strip > div:nth-child(4) { animation-delay: .84s; }
/* buttons lift a little under the pointer and press in on tap */
.top .cta .btn, .band .btn { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.top .cta .btn:hover, .band .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(27, 26, 46, .35); }
.top .cta .btn:active, .band .btn:active { transform: translateY(0) scale(.98); }
/* sections: cards come in one after another as you scroll (the .rv reveal already exists) */
.sec.rv .stp, .sec.rv .rw { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.sec.rv.in .stp, .sec.rv.in .rw { opacity: 1; transform: none; }
.sec.rv.in .stp:nth-child(2), .sec.rv.in .rw:nth-child(2) { transition-delay: .08s; }
.sec.rv.in .stp:nth-child(3), .sec.rv.in .rw:nth-child(3) { transition-delay: .16s; }
.sec.rv.in .rw:nth-child(4) { transition-delay: .24s; }
.stp, .rw { will-change: auto; }
.stp:hover, .rw:hover { transform: translateY(-3px) !important; transition-delay: 0s !important; }

/* log in and sign up: the form comes in line by line, the field you type in glows softly */
#root:has(#f-email):not(:has(.pf)) > * { animation: lxUp .5s cubic-bezier(.2, .7, .2, 1) both; }
#root:has(#f-email):not(:has(.pf)) > *:nth-child(2) { animation-delay: .04s; }
#root:has(#f-email):not(:has(.pf)) > *:nth-child(3) { animation-delay: .08s; }
#root:has(#f-email):not(:has(.pf)) > *:nth-child(4) { animation-delay: .12s; }
#root:has(#f-email):not(:has(.pf)) > *:nth-child(5) { animation-delay: .16s; }
#root:has(#f-email):not(:has(.pf)) > *:nth-child(6) { animation-delay: .2s; }
#root:has(#f-email):not(:has(.pf)) > *:nth-child(7) { animation-delay: .24s; }
#root:has(#f-email):not(:has(.pf)) > *:nth-child(n+8) { animation-delay: .28s; }
#root:has(#f-email) input { transition: border-color .2s, box-shadow .25s; }
#root:has(#f-email) input:focus { box-shadow: 0 0 0 4px rgba(255, 107, 94, .16) !important; }
#root:has(#f-email) .btn { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, background .2s; }
#root:has(#f-email) .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(255, 107, 94, .55); }
#root:has(#f-email) .btn:active { transform: scale(.98); }

/* ---------- home: live numbers under the hero buttons (public-v2.js) ---------- */
.lstat { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; animation: lxUp .7s .6s cubic-bezier(.2, .7, .2, 1) both; }
.lstat[hidden] { display: none; }
.ls-item {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--s1); box-shadow: var(--sh1); color: var(--t2); font: 500 14px var(--font-b);
}
.ls-item b { color: var(--t1); font: 800 20px/1 var(--font-d); font-variant-numeric: tabular-nums; min-width: 1ch; }
.ls-item b.bump { animation: lsBump .5s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes lsBump { 0% { transform: translateY(4px); opacity: .4; } 100% { transform: none; opacity: 1; } }
.ls-item svg { width: 22px; height: 22px; fill: none; stroke: var(--acc-t); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ls-dot { position: relative; width: 12px; height: 12px; margin: 0 4px; border-radius: 50%; background: #22B573; }
.ls-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22B573; animation: lsPing 1.8s ease-out infinite; }
@media (min-width: 900px) {
  .ls-item { padding: 12px 20px 12px 14px; font-size: 15px; }
  .ls-item b { font-size: 24px; }
}
@keyframes lsPing { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.6); opacity: 0; } }

/* ---------- phones (640 px and below): their own layout for home, log in and sign up ----------
   Computers keep the original layout above; this block only changes narrow screens. */
.m-cta { display: none; }
@media (max-width: 640px) {
  /* home: a shorter hero that fits one screen */
  .top { padding-top: 22px; }
  .top .kick { font-size: 13px; letter-spacing: .02em; }
  .top .hl { font-size: clamp(42px, 12.5vw, 58px) !important; margin: 12px 0 16px; line-height: 1.04; }
  html:lang(th) .top .hl { line-height: 1.16; }
  .top .lead { font-size: 16px; line-height: 1.6; margin: 0 0 22px; }
  .top .hero2 { grid-template-columns: 1fr !important; gap: 0 !important; align-items: start; }
  .top .cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .top .cta .btn { width: 100%; min-height: 52px; font-size: 16px; }
  /* the sample card: smaller and centred */
  .top .pst { max-width: 210px !important; margin: 30px auto 0 !important; }
  .top .pst .big { font-size: 210px; }
  /* rank / role / agent / distance: four soft chips */
  .top .strip { grid-template-columns: 1fr 1fr !important; gap: 8px; margin-top: 30px; border: 0 !important; }
  .top .strip div { padding: 14px 10px !important; border: 0 !important; border-radius: 16px; background: var(--s1); box-shadow: var(--sh1);
    font-size: 15px !important; text-align: center; }
  /* sections: closer together, smaller titles */
  .sec { margin-top: 56px !important; }
  .sec h2 { font-size: 30px; line-height: 1.15; }
  .sec > .muted { font-size: 15px; }
  /* how it works: number on the left, text on the right */
  .steps { grid-template-columns: 1fr !important; gap: 10px; margin-top: 18px !important; }
  .stp, .stp + .stp { display: grid; grid-template-columns: 54px 1fr; column-gap: 12px; align-items: start; margin: 0 !important; padding: 16px !important;
    border: 0 !important; border-radius: 20px; background: var(--s1); box-shadow: var(--sh1); }
  .stp .nm { grid-row: span 2; font-size: 46px; }
  .stp h3 { margin: 2px 0 4px; font-size: 18px; }
  .stp .muted { font-size: 14.5px; }
  /* built for players: compact cards */
  .rows { display: grid; gap: 10px; margin-top: 18px !important; border: 0 !important; }
  .rw { grid-template-columns: 1fr !important; gap: 4px !important; padding: 18px !important; border: 0 !important; border-radius: 20px; background: var(--s1); box-shadow: var(--sh1); }
  .rw::before { display: none; }
  .rw h3 { font-size: 19px; line-height: 1.3; }
  .rw .muted { font-size: 14.5px; }
  /* plans: swipe sideways instead of a long column */
  [data-tiers="landing"] .pm-grid { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 6px 18px 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  [data-tiers="landing"] .pm-grid::-webkit-scrollbar { display: none; }
  [data-tiers="landing"] .pm-card { flex: 0 0 82%; scroll-snap-align: center; }
  /* questions and the last call */
  .fq summary { font-size: 16px; padding: 16px 36px 16px 0; }
  .band { margin-top: 64px !important; padding: 56px 18px !important; }
  .band h2 { font-size: 40px; }
  .band .btn { width: 100%; max-width: 320px; min-height: 52px; }
  /* bottom bar after the hero buttons scroll away (public-v2.js shows it) */
  .m-cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 8px; border-radius: 22px; background: var(--s1);
    box-shadow: 0 12px 30px rgba(20, 18, 31, .2); transform: translateY(150%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  }
  .m-cta.on { transform: none; }
  /* room under the footer, so the bar can never sit on top of its links */
  body:has(.top .cta) .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; }
  .m-cta .btn { width: 100%; min-height: 46px; border-radius: 15px !important; font-size: 15px; text-transform: none; letter-spacing: 0; }

  /* log in and sign up: big, easy fields and buttons */
  #root:has(#f-email):not(:has(.pf)) > h2 { margin: 26px 0 6px; font-size: 32px; }
  #root:has(#f-email):not(:has(.pf)) > p.muted:first-of-type { font-size: 15px; }
  #root:has(#f-email) > label { font-size: 13px; }
  #root:has(#f-email) > input:not([type=checkbox]) { min-height: 54px !important; border-radius: 16px !important; font-size: 16px !important; }
  #root:has(#f-email) > .btn { width: 100%; min-height: 54px; border-radius: 16px !important; font-size: 16px; margin-top: 24px !important; }
  #root:has(#f-email) > label:has(#f-terms) { margin-top: 18px !important; padding: 14px !important; border-radius: 16px; background: var(--s2); font-size: 14px !important; line-height: 1.55; }
  #root:has(#f-email) > label:has(#f-terms) input { width: 20px !important; height: 20px; min-height: 0 !important; accent-color: var(--acc); }
  #root:has(#f-email) > .err:not(:empty) { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--tint); }
  #root:has(#f-email) > p.muted:last-child { margin-top: 18px !important; padding: 14px; border-radius: 16px; background: var(--s1); box-shadow: var(--sh1); text-align: center; font-size: 15px; }
  #root:has(#f-email) > p.muted:last-child a { font-weight: 700; }
  /* the footer is shorter on phones */
  .foot { margin-top: 40px !important; padding-top: 22px !important; }
  .foot-links a { padding: 7px 10px !important; font-size: 13px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .m-cta { transition: none; }
  .dx *, .top *, .sec *, #root:has(#f-email) > * { animation: none !important; transition: none !important; }
  .sec.rv .stp, .sec.rv .rw { opacity: 1; transform: none; }
}
/* end of public-v2.css */

/* ---------- footer: brand, links, contact + social, then copyright and "Powered by" (public-v2.js footer()) ---------- */
.foot { text-align: left; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; padding-bottom: 26px; }
.ft-logo { font: 800 30px/1 var(--font-d); letter-spacing: .02em; color: var(--t1); }
.ft-logo b { color: var(--acc); }
.ft-brand p { margin: 12px 0 0; max-width: 320px; color: var(--t2); font: 500 14px/1.6 var(--font-b); }
.ft-col { display: grid; align-content: start; gap: 6px; }
.ft-col h4 { margin: 0 0 6px; font: 800 13px var(--font-d); letter-spacing: .08em; text-transform: uppercase; color: var(--t1); }
.ft-col > a { justify-self: start; padding: 4px 0; color: var(--t2) !important; font: 600 14.5px var(--font-b); text-decoration: none !important; cursor: pointer; transition: color .2s, transform .2s; }
.ft-col > a:hover { color: var(--acc) !important; transform: translateX(3px); }
.ft-ln { display: inline-flex !important; align-items: center; gap: 10px; transform: none !important; }
.ft-ln svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ft-ln span { overflow-wrap: anywhere; }
.ft-soc { margin-top: 8px; }
.ft-soc .hd-c-soc { justify-content: flex-start; }
.ft-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.ft-bar .foot-copy { margin: 0 !important; color: var(--t1) !important; font: 700 14px var(--font-b) !important; }
.ft-bar .foot-copy b { color: var(--acc); font-weight: 800; }
.ft-bar .foot-by { margin: 0; padding: 0; border: 0; color: var(--t2); font: 700 13.5px var(--font-b); }
.ft-bar .foot-by a, .ft-bar .foot-by b { padding: 5px 14px; margin-left: 8px; background: var(--acc); color: #fff; font-weight: 800; box-shadow: 0 6px 16px -8px var(--acc); }
.ft-bar .foot-by a:hover { background: var(--acc); filter: brightness(1.08); transform: translateY(-2px); }
@media (max-width: 760px) {
  .foot { text-align: center; }
  .ft-grid { grid-template-columns: 1fr; gap: 24px; justify-items: center; }
  .ft-brand p { margin-left: auto; margin-right: auto; }
  .ft-col { justify-items: center; }
  .ft-col > a { justify-self: center; }
  .ft-soc .hd-c-soc { justify-content: center; }
  .ft-bar { flex-direction: column; justify-content: center; }
}

/* ---------- home hero: fanned card stack + "It's a match!" bubble (public-v2.js heroStack()) ---------- */
.top .hero2 { align-items: center !important; }
.pst-stack { position: relative; width: 100%; max-width: 300px; margin-left: auto; padding: 34px 26px 10px 0; }
.pst-stack > .pst { margin: 0; }
.pst-stack > .pst:not(.pst-bk) { position: relative; z-index: 2; }
.pst-bk { position: absolute !important; inset: 34px 26px 10px 0; z-index: 1; max-width: none !important; animation: none !important; pointer-events: none; }
.pst-bk.b1 { transform: rotate(7deg) translate(26px, 4px); opacity: .55; animation: pstB1 6s ease-in-out infinite !important; }
.pst-bk.b2 { transform: rotate(-8deg) translate(-22px, 16px); opacity: .3; z-index: 0; }
.pst-bk .big { color: var(--line2); }
@keyframes pstB1 { 0%, 100% { transform: rotate(7deg) translate(26px, 4px); } 50% { transform: rotate(9deg) translate(30px, 0); } }
.pst-match { position: absolute; z-index: 3; top: 0; left: -34px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 10px; border-radius: 999px; background: var(--s1); color: var(--t1); font: 800 14px var(--font-d); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); animation: pstPop 6s ease-in-out infinite; }
.pst-match i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: #fff; font-style: normal; font-size: 13px; }
@keyframes pstPop { 0%, 12% { opacity: 0; transform: translateY(8px) scale(.9); } 20%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-6px) scale(.96); } }
@media (max-width: 820px) {
  .pst-stack { max-width: 230px; margin: 34px auto 0; padding: 28px 18px 6px 0; }
  .pst-bk { inset: 28px 18px 6px 0; }
  .pst-match { left: -18px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .pst-match { opacity: 1; animation: none; } .pst-bk.b1 { animation: none !important; } }
.top .pst-stack > .pst { margin: 0 !important; max-width: none !important; }
@media (max-width: 640px) { .top .pst-stack { max-width: 210px; } .top .pst-stack > .pst .big { font-size: 210px; } }
/* back cards: only the shape and placeholder lines, so their text never peeks out behind the front card */
.pst-bk .spec span, .pst-bk .spec b { color: transparent !important; background: var(--line); border-radius: 6px; }
.pst-bk .spec span { width: 34px; height: 8px; } .pst-bk .spec b { width: 70px; height: 12px; }
/* copyright: "Huadorr" in the logo colours (the U in the brand red), and "Paz" as a neutral badge, not pink */
.ft-bar .foot-copy b.ft-mark { color: var(--t1); font: 800 14.5px var(--font-d); letter-spacing: .01em; }
.ft-bar .foot-copy b.ft-mark i { font-style: normal; color: var(--acc); }
.ft-bar .foot-by a, .ft-bar .foot-by b { background: var(--t1) !important; color: var(--bg) !important; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .6) !important; letter-spacing: .02em; }
.ft-bar .foot-by a:hover { filter: none; background: var(--t1) !important; opacity: .88; }
/* narrow pages (log in, sign up): the footer stacks in the middle, like on phones */
.wrap:not(.wide) .foot { text-align: center; }
.wrap:not(.wide) .ft-grid { grid-template-columns: 1fr; gap: 22px; justify-items: center; }
.wrap:not(.wide) .ft-brand p { margin-left: auto; margin-right: auto; }
.wrap:not(.wide) .ft-col { justify-items: center; }
.wrap:not(.wide) .ft-col > a { justify-self: center; }
.wrap:not(.wide) .ft-col:not(.ft-ct) { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.wrap:not(.wide) .ft-col:not(.ft-ct) h4 { flex-basis: 100%; text-align: center; }
.wrap:not(.wide) .ft-soc .hd-c-soc { justify-content: center; }
.wrap:not(.wide) .ft-bar { flex-direction: column; justify-content: center; }
