/* ==========================================================================
   Feel & Joy app shell: makes the site feel like a native app on phones
   (bottom tab bar, compact header, swipe rails, tap feedback, install sheet)
   plus the animated "heat" layer in the home hero. Loaded after velvet.css.
   ========================================================================== */

/* ---------- tab bar (phones & small tablets only) ---------- */
.fp-tabbar { display: none; }
.fp-install { display: none; }

@media (max-width: 899px) {
  :root { --tabbar-h: 68px; }
  body:not(.is-playing) { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 8px); }

  .fp-tabbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 95;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: var(--tabbar-h);
    padding: 0 6px 8px; border-radius: 24px;
    background: rgba(24, 10, 21, .82); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border: 1px solid var(--line-strong); box-shadow: 0 18px 40px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(255,46,99,.06) inset;
    animation: fp-tab-in .5s var(--ease-out) both;
  }
  .is-playing .fp-tabbar { display: none; }
  .fp-tabbar > a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: 100%; font-size: .66rem; font-weight: 700; letter-spacing: .02em; color: var(--text-3); -webkit-tap-highlight-color: transparent; transition: color var(--t-fast); }
  .fp-tabbar > a .ic { width: 23px; height: 23px; transition: transform var(--t-med) var(--ease-spring); }
  .fp-tabbar > a.is-on { color: #fff; }
  .fp-tabbar > a.is-on .ic { transform: translateY(-2px) scale(1.08); color: var(--rose-2); filter: drop-shadow(0 0 8px rgba(255,46,99,.7)); }
  .fp-tabbar > a.is-on::after { content: ""; position: absolute; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 10px var(--rose); }
  .fp-tabbar > a:active .ic { transform: scale(.85); }
  .fp-tabbar__avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid transparent; }
  .is-on .fp-tabbar__avatar { border-color: var(--rose); }

  /* centre "Play" orb */
  .fp-tabbar__fab { color: var(--text) !important; }
  .fp-tabbar__fab::after { display: none; }
  .fp-tabbar__orb { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin-top: -26px; border-radius: 50%; background: var(--g-heat); box-shadow: 0 10px 28px -6px rgba(255,46,99,.8), 0 0 0 5px rgba(10,4,9,.9); animation: fp-orb 2.4s ease-in-out infinite; }
  .fp-tabbar__orb::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,92,134,.55); animation: fp-ring 2.4s ease-out infinite; }
  .fp-tabbar__orb .ic { width: 28px !important; height: 28px !important; color: #fff !important; filter: none !important; transform: none !important; }
  .fp-tabbar__fab:active .fp-tabbar__orb { transform: scale(.9); }


  /* toasts sit above the tab bar */
  .v-toast { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 22px); }

  /* page enters like an app screen */
  #main { animation: fp-screen-in .45s var(--ease-out) both; }

  /* native-feeling taps */
  a, button { -webkit-tap-highlight-color: transparent; }
  .v-btn:active, .v-chip:active, .fp-post:active, a.fp-item:active, .fp-feature:active, .fp-story:active { transform: scale(.96); transition: transform .08s; }

  /* swipeable rails instead of long stacks */
  .fp-rail { display: flex !important; gap: 14px !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .fp-rail::-webkit-scrollbar { display: none; }
  .fp-rail > * { flex: 0 0 min(82%, 320px); scroll-snap-align: start; }

  /* lighter footer: it's an app now */
  .v-footer { padding-bottom: 12px; }
  .v-footer__grid > div:not(:first-child) { display: none; }
}

@keyframes fp-tab-in { from { transform: translateY(120%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fp-screen-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fp-orb { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.04); } }
@keyframes fp-ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }

/* ---------- stories row ---------- */
.fp-stories { display: none; }
.fp-hero__copy { min-width: 0; } /* long story row must scroll, not widen the hero column */
@media (max-width: 899px) {
  .fp-stories { display: flex; gap: 14px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 18px; padding: 4px var(--gutter) 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .fp-stories::-webkit-scrollbar { display: none; }
}
.fp-story { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 70px; scroll-snap-align: start; animation: fp-pop-in .5s var(--ease-spring) both; animation-delay: calc(var(--i) * 60ms); }
.fp-story__ring { position: relative; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; padding: 3px; background: conic-gradient(from var(--a, 0deg), #ff2e63, #ff9b54, #f7c98b, #b3124a, #7b3fe4, #ff2e63); animation: fp-spin-ring 4s linear infinite; }
.fp-story__face { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--ink-900); border: 2px solid var(--ink-950); font-size: 1.75rem; line-height: 1; }
.fp-story__label { font-size: .7rem; font-weight: 700; color: var(--text-2); white-space: nowrap; max-width: 76px; overflow: hidden; text-overflow: ellipsis; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes fp-spin-ring { to { --a: 360deg; } }
@keyframes fp-pop-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* ---------- heat layer (home hero) ---------- */
.fp-hero { position: relative; }
.fp-heat { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* glossy lips: slow kiss + bite */
.fp-lips { position: absolute; right: 1%; top: 0; width: clamp(96px, 12vw, 150px); opacity: .92; filter: drop-shadow(0 12px 30px rgba(255,46,99,.55)); animation: fp-float-lips 7s ease-in-out infinite; }
.fp-lips__mouth { transform-origin: 100px 60px; animation: fp-kiss 3.6s var(--ease-out) infinite; }
.fp-lips__lower { transform-origin: 100px 58px; animation: fp-bite 3.6s ease-in-out infinite; }
.fp-lips__gloss { animation: fp-gloss 3.6s ease-in-out infinite; }
@keyframes fp-float-lips { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
@keyframes fp-kiss { 0%, 55%, 100% { transform: scale(1); } 62% { transform: scale(.78, .92); } 70% { transform: scale(1.08, .98); } 78% { transform: scale(1); } }
@keyframes fp-bite { 0%, 20%, 45%, 100% { transform: translateY(0) scaleY(1); } 30% { transform: translateY(-4px) scaleY(.9); } }
@keyframes fp-gloss { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }

/* heartbeat strip */
.fp-pulse { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 14px; display: flex; align-items: center; gap: 12px; max-width: 520px; opacity: .85; }
.fp-pulse svg { flex: 1; height: 34px; min-width: 0; }
.fp-pulse__line { fill: none; stroke: var(--rose-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; filter: drop-shadow(0 0 6px rgba(255,46,99,.9)); animation: fp-ecg var(--beat, 1.6s) linear infinite; }
.fp-pulse__bpm { font-size: .72rem; font-weight: 700; color: var(--text-2); white-space: nowrap; letter-spacing: .04em; }
.fp-pulse__bpm b { color: var(--rose-2); font-size: .95rem; font-variant-numeric: tabular-nums; }
@keyframes fp-ecg { to { stroke-dashoffset: -420; } }

/* tap-to-kiss marks */
.fp-kissmark { position: fixed; z-index: 150; pointer-events: none; font-size: 34px; transform: translate(-50%, -50%); animation: fp-kissmark 1.1s var(--ease-out) forwards; }
@keyframes fp-kissmark { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(-20deg); } 25% { opacity: 1; transform: translate(-50%, -60%) scale(1.25) rotate(8deg); } 100% { opacity: 0; transform: translate(-50%, -160%) scale(.9) rotate(-6deg); } }

@media (max-width: 899px) {
  .fp-lips { top: auto; bottom: 64px; right: -10px; width: 120px; opacity: .55; }
  .fp-pulse { bottom: 10px; }
}
@media (max-width: 599px) {
  .fp-lips { bottom: 58px; right: 10px; width: 84px; opacity: .45; }
  .fp-pulse { bottom: 18px; opacity: .75; }
}

/* ---------- install sheet ---------- */
@media (max-width: 899px) {
  .fp-install { position: fixed; left: 10px; right: 10px; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 18px); z-index: 96; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: var(--ink-800); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(160%); opacity: 0; transition: transform .5s var(--ease-spring), opacity .3s; }
  .fp-install.is-in { transform: none; opacity: 1; }
  .fp-install__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; }
  .fp-install__txt { flex: 1; min-width: 0; font-size: .8rem; line-height: 1.35; color: var(--text-2); }
  .fp-install__txt strong { display: block; color: var(--text); font-size: .9rem; }
  .fp-install__x { background: none; border: 0; color: var(--text-3); padding: 6px; cursor: pointer; }
}

/* Reduce Motion: keep the heat (the user asked for it) but calmer - velvet.css shrinks every
   animation to .001ms for these visitors, so the key loops are re-enabled here, slower. */
@media (prefers-reduced-motion: reduce) {
  .fp-lips__mouth { animation-duration: 6s !important; animation-iteration-count: infinite !important; }
  .fp-lips__gloss { animation-duration: 6s !important; animation-iteration-count: infinite !important; }
  .fp-pulse__line { animation-duration: 3s !important; animation-iteration-count: infinite !important; }
  .fp-story__ring { animation-duration: 10s !important; animation-iteration-count: infinite !important; }
  .fp-lips, .fp-lips__lower, .fp-tabbar__orb, .fp-tabbar__orb::before, #main, .fp-tabbar { animation: none !important; }
}

/* ---------- compact shortcut row (couple space) ---------- */
.fp-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.fp-quick__item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 16px; background: var(--g-glass); border: 1px solid var(--line); text-align: center; transition: border-color var(--t-fast), transform var(--t-fast); -webkit-tap-highlight-color: transparent; }
.fp-quick__item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.fp-quick__item:active { transform: scale(.95); }
.fp-quick__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,46,99,.14); color: var(--rose-2); }
.fp-quick__ic .ic { width: 20px; height: 20px; }
.fp-quick__label { font-size: .74rem; font-weight: 700; line-height: 1.2; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; padding-inline: 2px; }
@media (max-width: 380px) { .fp-quick { gap: 8px; } .fp-quick__label { font-size: .68rem; } }

/* ---------- purchase unlock celebration (checkout result) ---------- */
.fp-unlock { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 50% at 50% 45%, rgba(255,46,99,.35), rgba(10,4,9,.96) 70%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fp-un-fade .4s ease-out both; cursor: pointer; }
.fp-unlock.is-out { animation: fp-un-out .45s ease-in forwards; }
.fp-unlock__lock { position: absolute; top: 34%; left: 50%; width: 96px; transform: translate(-50%, -50%); filter: drop-shadow(0 0 30px rgba(255,46,99,.8)); animation: fp-un-lock 1.3s var(--ease-out) forwards; }
.fp-unlock__shackle { transform-origin: 44px 30px; animation: fp-un-shackle .5s .55s var(--ease-spring) forwards; }
.fp-unlock__pair { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%); display: flex; gap: 0; font-size: clamp(64px, 18vw, 110px); line-height: 1; pointer-events: none; }
.fp-unlock__peach { animation: fp-un-peach 2.2s 1.1s var(--ease-out) both; }
.fp-unlock__egg { animation: fp-un-egg 2.2s 1.1s var(--ease-out) both; }
.fp-unlock__burst { position: absolute; top: 34%; left: 50%; width: 0; height: 0; }
.fp-unlock__burst span { position: absolute; left: 0; top: 0; font-size: var(--s, 30px); transform: translate(-50%, -50%); opacity: 0; animation: fp-un-burst 1.4s var(--d, 2.5s) var(--ease-out) forwards; }
.fp-unlock__dnd { position: absolute; top: 9%; right: 9%; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; opacity: 0; animation: fp-un-dnd-in .4s 2.6s ease-out forwards, fp-un-swing 1.6s 3s ease-in-out infinite; }
.fp-unlock__hook { width: 34px; height: 34px; border: 5px solid #f7c98b; border-radius: 50%; margin-bottom: -6px; }
.fp-unlock__card { padding: 12px 12px 14px; border-radius: 10px; background: var(--g-heat); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-align: center; line-height: 1.3; box-shadow: 0 12px 30px -8px rgba(255,46,99,.8); }
.fp-unlock__copy { position: absolute; left: 50%; bottom: 12%; width: min(420px, calc(100% - 32px)); transform: translateX(-50%); text-align: center; opacity: 0; animation: fp-un-copy .6s 3s var(--ease-out) forwards; cursor: default; }
.fp-unlock__copy h2 { font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.02; margin: 0; }
.fp-unlock__copy .v-btn--ghost { display: block; margin-inline: auto; }

@keyframes fp-un-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fp-un-out { to { opacity: 0; transform: scale(1.04); } }
@keyframes fp-un-lock { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 25% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } 35%, 45%, 55% { transform: translate(-54%, -50%) rotate(-6deg); } 40%, 50% { transform: translate(-46%, -50%) rotate(6deg); } 80% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } 100% { transform: translate(-50%, -80%) scale(.4); opacity: 0; } }
@keyframes fp-un-shackle { to { transform: rotate(-38deg) translateY(-4px); } }
/* fly in from the sides, bump three times, then melt into the burst */
@keyframes fp-un-peach { 0% { transform: translateX(-60vw) rotate(-40deg); opacity: 0; } 30% { transform: translateX(-4px) rotate(-8deg); opacity: 1; } 40% { transform: translateX(-26px) rotate(-12deg); } 48% { transform: translateX(-2px) rotate(-6deg); } 56% { transform: translateX(-22px) rotate(-10deg); } 64% { transform: translateX(0) rotate(-6deg); } 72% { transform: translateX(-18px); } 80% { transform: translateX(4px) scale(1.15); opacity: 1; } 100% { transform: translateX(0) scale(.3); opacity: 0; } }
@keyframes fp-un-egg { 0% { transform: translateX(60vw) rotate(40deg); opacity: 0; } 30% { transform: translateX(4px) rotate(8deg); opacity: 1; } 40% { transform: translateX(26px) rotate(12deg); } 48% { transform: translateX(2px) rotate(6deg); } 56% { transform: translateX(22px) rotate(10deg); } 64% { transform: translateX(0) rotate(6deg); } 72% { transform: translateX(18px); } 80% { transform: translateX(-4px) scale(1.15); opacity: 1; } 100% { transform: translateX(0) scale(.3); opacity: 0; } }
@keyframes fp-un-burst { 0% { transform: translate(-50%, -50%) scale(.2); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1) rotate(var(--r)); opacity: 0; } }
@keyframes fp-un-dnd-in { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }
@keyframes fp-un-swing { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
@keyframes fp-un-copy { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* the celebration is the product moment - keep it even with Reduce Motion (velvet.css would zero it) */
@media (prefers-reduced-motion: reduce) {
  .fp-unlock, .fp-unlock__lock, .fp-unlock__shackle, .fp-unlock__peach, .fp-unlock__egg, .fp-unlock__burst span, .fp-unlock__copy { animation-duration: revert !important; animation-iteration-count: 1 !important; }
  .fp-unlock__dnd { animation: fp-un-dnd-in .4s 2.6s ease-out forwards !important; }
  .fp-unlock__lock { animation-duration: 1.3s !important; } .fp-unlock__shackle { animation-duration: .5s !important; }
  .fp-unlock__peach, .fp-unlock__egg { animation-duration: 2.2s !important; } .fp-unlock__burst span { animation-duration: 1.4s !important; }
  .fp-unlock__copy { animation-duration: .6s !important; } .fp-unlock { animation-duration: .4s !important; }
}

/* keep page content above the heat layer wherever it is dropped in */
.fp-heat ~ .v-container { position: relative; z-index: 1; }


/* ==========================================================================
   Header: minimal. Transparent over the hero, slim frosted glass once scrolled.
   ========================================================================== */
.fp-hd { position: sticky; top: 0; z-index: 50; transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med); border-bottom: 1px solid transparent; }
.fp-hd.is-scrolled, body:not(:has(.fp-hero)) .fp-hd { background: rgba(10,4,9,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.fp-hd.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.9); }
@media (display-mode: standalone) { .fp-hd { padding-top: env(safe-area-inset-top); } }
.fp-hd__in { display: flex; align-items: center; gap: 20px; height: 74px; transition: height var(--t-med) var(--ease-out); }
.fp-hd.is-scrolled .fp-hd__in { height: 64px; }
.fp-hd .v-logo { flex-shrink: 0; }
.fp-hd .v-logo img { height: 30px; }

.fp-hd__nav { display: none; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--g-glass); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 30px -22px rgba(0,0,0,.9); }
.fp-hd__nav a { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 9px 17px 9px 14px; font-size: .95rem; font-weight: 700; line-height: 1.2; color: var(--text-2); border-radius: 999px; white-space: nowrap; transition: color var(--t-fast), background var(--t-fast), box-shadow var(--t-med); }
.fp-hd__nav a .ic { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-3); transition: color var(--t-fast), transform var(--t-med) var(--ease-out); }
.fp-hd__nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.fp-hd__nav a:hover .ic { color: var(--rose-2); transform: translateY(-1px) scale(1.08); }
.fp-hd__nav a.is-active { color: #fff; background: linear-gradient(180deg, rgba(255,46,99,.28), rgba(255,46,99,.1)); box-shadow: inset 0 0 0 1px rgba(255,122,154,.38), 0 8px 22px -12px rgba(255,46,99,.95); }
.fp-hd__nav a.is-active .ic { color: #ff9ab4; }
.fp-hd__nav a:focus-visible, .fp-hd__link:focus-visible { outline: 2px solid var(--rose-2); outline-offset: 2px; }

.fp-hd__end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.fp-hd__lang { display: inline-flex; padding: 2px; border-radius: 999px; border: 1px solid var(--line-strong); }
.fp-hd__lang a { min-width: 34px; padding: 6px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-align: center; color: var(--text-3); transition: color var(--t-fast), background var(--t-fast); }
.fp-hd__lang a:hover { color: var(--text); }
.fp-hd__lang a.is-on { background: rgba(255,255,255,.1); color: #fff; }
.fp-hd__link { display: none; align-items: center; gap: 8px; font-size: .95rem; font-weight: 700; color: var(--text-2); padding: 9px 14px 9px 11px; border-radius: 999px; transition: color var(--t-fast), background var(--t-fast); }
.fp-hd__link .ic { width: 18px; height: 18px; color: var(--text-3); transition: color var(--t-fast); }
.fp-hd__link:hover { color: var(--text); background: rgba(255,255,255,.06); }
.fp-hd__link:hover .ic { color: var(--rose-2); }
.fp-hd__cta { display: none; align-items: center; gap: 6px; height: 42px; padding: 0 16px 0 20px; border-radius: 999px; background: var(--g-heat); color: #fff; font-size: .95rem; font-weight: 800; box-shadow: 0 8px 22px -10px rgba(255,46,99,.9); transition: transform var(--t-fast), box-shadow var(--t-fast); }
.fp-hd__cta .ic { width: 16px; height: 16px; }
.fp-hd__cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(255,46,99,1); }

/* avatar / menu button */
.fp-hd__face { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--g-heat); color: #fff; font-size: .85rem; font-weight: 800; flex-shrink: 0; }
.fp-hd__face img { width: 100%; height: 100%; object-fit: cover; }
.fp-hd__menu { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; padding: 0; transition: background var(--t-fast); }
.fp-hd__menu:hover { background: rgba(255,255,255,.05); }
.fp-hd__menu .ic { width: 20px; height: 20px; }
.fp-hd__menu:has(.fp-hd__face) { border: 0; }

/* account dropdown (desktop) */
.fp-hd__me { position: relative; display: none; }
.fp-hd__me summary { display: flex; align-items: center; gap: 10px; padding: 3px 12px 3px 3px; border-radius: 999px; border: 1px solid var(--line-strong); cursor: pointer; list-style: none; font-size: .95rem; font-weight: 700; transition: background var(--t-fast); }
.fp-hd__me summary::-webkit-details-marker { display: none; }
.fp-hd__me summary:hover, .fp-hd__me[open] summary { background: rgba(255,255,255,.05); }
.fp-hd__caret { width: 14px !important; height: 14px !important; transform: rotate(90deg); color: var(--text-3); transition: transform var(--t-fast); }
.fp-hd__me[open] .fp-hd__caret { transform: rotate(-90deg); }
.fp-hd__pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 6px; border-radius: 16px; background: var(--ink-850); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); animation: fp-pop .18s var(--ease-out); }
.fp-hd__pop a, .fp-hd__pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--text-2); font: inherit; font-size: .88rem; font-weight: 600; text-align: left; cursor: pointer; }
.fp-hd__pop a:hover, .fp-hd__pop button:hover { background: rgba(255,255,255,.06); color: var(--text); }
.fp-hd__pop .ic { width: 18px; height: 18px; color: var(--rose-2); }
.fp-hd__pop form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }
@keyframes fp-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 1023px) { .fp-hd__in { height: 66px; } .fp-hd.is-scrolled .fp-hd__in { height: 60px; } .fp-hd .v-logo img { height: 26px; } }
@media (min-width: 1024px) {
  .fp-hd__nav, .fp-hd__link, .fp-hd__cta { display: flex; }
  .fp-hd__me { display: block; }
  .fp-hd__menu { display: none; }
  /* logo | nav truly centred | actions. Columns never shrink below their content, so nothing overlaps. */
  .fp-hd__in { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); gap: 16px; }
  .fp-hd__end { margin-left: 0; justify-self: end; }
}
/* Tighter between 1024 and 1279 so the icons and labels all fit on one line. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .fp-hd__nav a { padding: 8px 12px 8px 10px; gap: 7px; font-size: .9rem; }
  .fp-hd__nav a .ic { width: 17px; height: 17px; }
  .fp-hd__link { padding: 8px 10px 8px 8px; font-size: .9rem; }
  .fp-hd__end { gap: 6px; }
}

/* menu sheet (tablet/phone) */
.fp-sheet.v-drawer { padding: 0; gap: 0; background: rgba(10,4,9,.96); overflow-y: auto; }
.fp-sheet__head { display: flex; align-items: center; justify-content: space-between; height: 74px; padding: 0 var(--gutter); padding-top: env(safe-area-inset-top); border-bottom: 1px solid var(--line); }
.fp-sheet.v-drawer .fp-sheet__head .v-logo { padding: 0; border-bottom: 0; } .fp-sheet__head .v-logo img { height: 28px; }
.fp-sheet__me { display: flex; align-items: center; gap: 12px; margin: 16px var(--gutter) 4px; padding: 12px 14px; border-radius: 16px; background: var(--g-glass); border: 1px solid var(--line) !important; font-family: var(--f-body) !important; font-size: 1rem !important; }
.fp-sheet__me .fp-hd__face { width: 42px; height: 42px; font-size: 1rem; }
.fp-sheet__me span { display: flex; flex-direction: column; } .fp-sheet__me small { color: var(--text-3); font-size: .78rem; }
.fp-sheet__list { display: flex; flex-direction: column; padding: 10px var(--gutter); }
.fp-sheet.v-drawer .fp-sheet__list a { display: flex; align-items: center; gap: 14px; padding: 10px 4px; font-family: var(--f-body); font-size: 1.02rem; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--line); transform: translateY(8px); opacity: 0; transition: transform .35s var(--ease-out), opacity .35s; }
.fp-sheet.is-open .fp-sheet__list a { transform: none; opacity: 1; }
.fp-sheet.is-open .fp-sheet__list a:nth-child(2) { transition-delay: .03s; } .fp-sheet.is-open .fp-sheet__list a:nth-child(3) { transition-delay: .06s; } .fp-sheet.is-open .fp-sheet__list a:nth-child(4) { transition-delay: .09s; } .fp-sheet.is-open .fp-sheet__list a:nth-child(n+5) { transition-delay: .12s; }
.fp-sheet__list a > .ic:first-child { box-sizing: border-box; width: 40px; height: 40px; padding: 10px; border-radius: 12px; color: var(--rose-2); background: rgba(255,46,99,.1); box-shadow: inset 0 0 0 1px rgba(255,122,154,.16); transition: background var(--t-fast), color var(--t-fast); }
.fp-sheet__list a.is-active > .ic:first-child { background: linear-gradient(135deg, rgba(255,46,99,.4), rgba(255,155,84,.22)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,122,154,.5); }
.fp-sheet__list a span { flex: 1; }
.fp-sheet__list a.is-active { color: var(--rose-2); }
.fp-sheet__go { width: 16px; height: 16px; color: var(--text-3); }
.fp-sheet__foot { display: flex; flex-direction: column; gap: 10px; padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
.fp-sheet__foot .v-btn { margin: 0; }
@media (max-width: 899px) { .fp-sheet__foot { padding-bottom: calc(var(--tabbar-h, 68px) + 32px + env(safe-area-inset-bottom)); } }

/* ── couple settings & limits (app/Views/couple/index.php) ───────────────── */
.fp-cset { padding: clamp(20px, 3vw, 34px); }
.fp-cset__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.fp-cset__lead { margin: 12px 0 0; max-width: 62ch; font-size: var(--fs-sm); color: var(--text-3); }
.fp-cset__form { display: flex; flex-direction: column; gap: 0; margin-top: 22px; }

.fp-cset__sec { padding: 24px 0; border-top: 1px solid var(--line); }
.fp-cset__sec:first-of-type { border-top: 0; padding-top: 4px; }
.fp-cset__legend { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.fp-cset__legend h3 { margin: 0; font-size: 1.05rem; }
.fp-cset__n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--g-heat); color: #fff; font-size: .78rem; font-weight: 800; }
.fp-cset__who { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: var(--r-pill); background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: .72rem; font-weight: 700; color: var(--text-3); white-space: nowrap; }
.fp-cset__who .ic { width: 13px; height: 13px; }
.fp-cset__who--warm { background: rgba(247,201,139,.1); border-color: rgba(247,201,139,.3); color: var(--gold); }
.fp-cset__note { margin: 0 0 14px; font-size: var(--fs-sm); color: var(--text-3); max-width: 62ch; }
.fp-cset__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.fp-cset__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fp-count { flex: none; font-size: var(--fs-xs); color: var(--text-3); font-variant-numeric: tabular-nums; }
.fp-count.is-full { color: var(--gold); }

/* tap to add chips */
/* label on the left, the one scrolling chip row on the right */
.fp-picks { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.fp-picks__lbl { flex: none; display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.fp-picks .fp-chips { flex: 1; min-width: 0; }
@media (max-width: 560px) { .fp-picks { display: block; } .fp-picks__lbl { margin-bottom: .5rem; } }
.fp-picks__lbl .ic { width: 14px; height: 14px; }
.fp-picks__lbl--yes { color: #8ff0bf; }
.fp-picks__lbl--no { color: #ff9cb2; }
/* suggestion chips: one row that scrolls sideways, small enough to skim */
.fp-chips {
  display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; overflow-y: hidden;
  padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.22) transparent; -webkit-overflow-scrolling: touch;
}
.fp-chips::-webkit-scrollbar { height: 5px; }
.fp-chips::-webkit-scrollbar-track { background: transparent; }
.fp-chips::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 999px; }
.fp-chips .v-chip {
  flex: none; cursor: pointer; font-family: inherit; scroll-snap-align: start;
  padding: .25rem .6rem; font-size: .76rem; line-height: 1.4;
}
.fp-chips .v-chip:hover { border-color: var(--line-strong); background: rgba(255,255,255,.07); color: var(--text); }
.fp-chips .v-chip.is-active { background: rgba(57,217,138,.16); border-color: rgba(57,217,138,.5); color: #c8f7de; }
.fp-chips .v-chip.is-active::before { content: "✓"; font-weight: 800; }
.fp-chips--no .v-chip.is-active { background: rgba(255,77,109,.14); border-color: rgba(255,77,109,.45); color: #ffd0da; }
.fp-chips--no .v-chip.is-active::before { content: "✕"; }
.fp-chips .v-chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.fp-cset__sec .v-textarea { min-height: 84px; line-height: 1.6; }

/* link out to Desire Match */
.fp-cset__link { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255,46,99,.05); transition: all var(--t-fast); }
.fp-cset__link:hover { border-color: var(--rose); background: rgba(255,46,99,.1); }
.fp-cset__link-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,46,99,.14); color: var(--rose-2); }
.fp-cset__link-ic .ic { width: 19px; height: 19px; }
.fp-cset__link span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.fp-cset__link b { font-size: var(--fs-sm); color: var(--text); }
.fp-cset__link small { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.5; }
.fp-cset__link-go { flex: none; margin-left: auto; color: var(--text-3); }
.fp-cset__link-go .ic { width: 17px; height: 17px; }

/* discoverable switch */
.fp-switch { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(0,0,0,.2); cursor: pointer; transition: border-color var(--t-fast); }
.fp-switch:hover { border-color: var(--line-strong); }
.fp-switch input { position: absolute; opacity: 0; pointer-events: none; }
.fp-switch__track { flex: none; position: relative; width: 46px; height: 27px; margin-top: 2px; border-radius: var(--r-pill); background: var(--ink-700); border: 1px solid var(--line-strong); transition: all var(--t-fast); }
.fp-switch__track i { position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--text-3); transition: all var(--t-fast); }
.fp-switch input:checked + .fp-switch__track { background: var(--g-heat); border-color: transparent; }
.fp-switch input:checked + .fp-switch__track i { left: 21px; background: #fff; }
.fp-switch input:focus-visible + .fp-switch__track { outline: 2px solid var(--gold); outline-offset: 2px; }
.fp-switch__txt { display: flex; flex-direction: column; gap: 4px; }
.fp-switch__txt b { font-size: var(--fs-sm); color: var(--text); }
.fp-switch__txt small { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.6; }

/* circles fields, dimmed until the switch is on */
.fp-cset__circle { display: grid; gap: 18px; margin-top: 18px; opacity: .42; filter: saturate(.4); transition: opacity var(--t-med), filter var(--t-med); }
.fp-cset__circle.is-on { opacity: 1; filter: none; }

/* public card preview */
.fp-prev { padding: 14px; border-radius: var(--r-md); border: 1px dashed var(--line-strong); background: rgba(0,0,0,.2); }
.fp-prev__lbl { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 10px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.fp-prev__lbl .ic { width: 14px; height: 14px; }
.fp-prev__card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--g-glass), var(--ink-800); border: 1px solid var(--line); }
.fp-prev__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fp-prev__body b { font-size: var(--fs-sm); color: var(--text); }
.fp-prev__body small { font-size: var(--fs-xs); color: var(--text-3); }
.fp-prev__bio { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }
.fp-prev__card .v-badge { margin-left: auto; flex: none; letter-spacing: .1em; }

/* save bar */
.fp-cset__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 8px; padding: 20px 0 2px; border-top: 1px solid var(--line); }
.fp-cset__code { font-size: var(--fs-xs); color: var(--text-3); }
.fp-cset__code strong { margin-left: .4rem; letter-spacing: .2em; color: var(--text); }
.fp-cset__bar .v-btn { flex: none; }

@media (max-width: 599px) {
  .fp-cset__who { margin-left: 0; width: 100%; }
  .fp-cset__legend h3 { font-size: 1rem; }
  .fp-prev__bio { max-width: 100%; white-space: normal; }
  .fp-cset__bar { padding-top: 18px; }
  .fp-cset__bar .v-btn { flex: 1 1 100%; justify-content: center; }
  /* the code already sits on the preview card, so the phone bar is just the button */
  .fp-cset__code { display: none; }
}

/* Sex games hub: four preview dice (who, what, where, how long) in one row, and the about + FAQ text under the cards. */
.fp-gh-dice { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 460px; margin-inline: auto; }
.fp-gh-dice .fp-gh-die { width: auto; height: auto; aspect-ratio: 1; min-width: 0; padding: 4px; border-radius: 16px; }
.fp-gh-dice .fp-gh-die b { font-size: clamp(.68rem, .5rem + 1.2vw, .98rem); overflow-wrap: anywhere; }
.fp-gh-split { display: grid; gap: clamp(24px, 3vw, 36px); margin-top: clamp(28px, 4vw, 48px); }
.fp-gh-about .v-panel p { max-width: 70ch; }
.fp-gh-about a { text-decoration: underline; }
.fp-gh-faq .fp-faq { max-width: none; }

/* Skip link: first thing a keyboard or screen reader user reaches, hidden until focused. */
.fp-skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 999px; background: #fff; color: #120810; font-weight: 800; text-decoration: none; transition: top .15s; }
.fp-skip:focus { top: 12px; }

/* "Game night at a glance" infographic beside the about text and FAQ (partials/games_infographic.php). */
@media (min-width: 1000px) {
  .fp-gh-split { grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "about info" "faq info"; column-gap: clamp(32px, 4vw, 56px); align-items: start; }
  .fp-gh-about { grid-area: about; } .fp-gh-faq { grid-area: faq; }
  .fp-gh-split > .fp-gi { grid-area: info; position: sticky; top: 84px; }
}
@media (min-width: 1000px) and (max-height: 820px) {
  .fp-gh-split > .fp-gi { position: static; }
}
.fp-gi { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 30px); border-radius: 28px; border: 1px solid rgba(255, 46, 99, .28);
  background: radial-gradient(120% 70% at 100% 0%, rgba(255, 46, 99, .2), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(123, 63, 228, .18), transparent 60%), var(--ink-850, #14080f); }
.fp-gi__lips { position: absolute; right: -14px; top: 10px; width: 150px; color: var(--rose-2, #ff5c85); opacity: .16; transform: rotate(12deg); pointer-events: none; }
.fp-gi__title { position: relative; margin: 6px 0 14px; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); line-height: 1.12; max-width: 16ch; }
.fp-gi__h { margin: 16px 0 8px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3, rgba(255,255,255,.55)); font-weight: 800; }
.fp-gi__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.fp-gi__stats > div { padding: 9px 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.fp-gi__stats dt { display: flex; align-items: center; gap: 6px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--text-3, rgba(255,255,255,.55)); }
.fp-gi__stats dt .ic { width: 15px; height: 15px; color: var(--rose-2, #ff5c85); }
.fp-gi__stats dd { margin: 3px 0 0; font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; line-height: 1; color: #fff; }
.fp-gi__stats dd small { font-family: var(--f-body); font-size: .8rem; font-weight: 700; color: var(--text-2, rgba(255,255,255,.7)); }
.fp-gi__heat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; height: 150px; }
.fp-gi__heat li { position: relative; height: var(--h); min-height: 96px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 10px 10px 12px; border-radius: 16px 16px 12px 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rose, #ff2e63) 70%, #ffb36b) 0%, rgba(255, 46, 99, .18) 100%); border: 1px solid rgba(255, 130, 160, .35); }
.fp-gi__heat li:nth-child(1) { filter: saturate(.7) brightness(.9); } .fp-gi__heat li:nth-child(3) { box-shadow: 0 0 34px -8px var(--rose, #ff2e63); }
.fp-gi__flames { display: flex; gap: 1px; margin-bottom: auto; color: #fff; } .fp-gi__flames .ic { width: 16px; height: 16px; }
.fp-gi__heat b { font-size: .86rem; line-height: 1.1; color: #fff; } .fp-gi__heat small { font-size: .68rem; line-height: 1.25; color: rgba(255, 255, 255, .8); }
.fp-gi__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; }
.fp-gi__steps li { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 5px 0; }
.fp-gi__steps li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 46px; bottom: -6px; width: 2px; background: repeating-linear-gradient(180deg, rgba(255, 130, 160, .5) 0 4px, transparent 4px 9px); }
.fp-gi__ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--rose, #ff2e63), #6d1239); color: #fff; box-shadow: 0 8px 20px -8px var(--rose, #ff2e63); }
.fp-gi__ic .ic { width: 19px; height: 19px; }
.fp-gi__steps b { display: block; font-size: .95rem; line-height: 1.2; } .fp-gi__steps small { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.4; color: var(--text-2, rgba(255,255,255,.7)); }
.fp-gi__safe { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 12px 14px; border-radius: 16px; background: rgba(247, 201, 139, .1); border: 1px solid rgba(247, 201, 139, .3); color: var(--gold, #f7c98b); font-weight: 700; font-size: .88rem; }
.fp-gi__safe .ic { flex: none; width: 20px; height: 20px; }
