/* giltf.com web styles. Built from the giltf style guide plus Apple fluid-interface rules. */
@font-face { font-family: "DM Serif Display"; src: url("/fonts/DMSerifDisplay-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("/fonts/DMSerifDisplay-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-SemiBold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --burg: #5a0416;
  --gold: #b88206;
  --cream: #fbf4e6;
  --blush: #f2d3cf;
  --rose: #a63350;
  --ink: #26080f;
  --muted: #6e555a;
  --line: #e8dcc9;
  --white: #fff;
  --ok: #2f6b3a;
  --r-ctl: 12px;
  --r-card: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.125rem/1.55 var(--sans); min-height: 100vh; -webkit-font-smoothing: antialiased; touch-action: manipulation; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--burg); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 9vw, 4rem); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 6vw, 2.375rem); line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.375rem; line-height: 1.3; letter-spacing: -0.005em; color: var(--ink); }
p { margin: 0 0 1em; }
a { color: var(--burg); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--rose); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: var(--r-ctl); }
.wrap { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 540px; }
.muted { color: var(--muted); }
.small { font-size: 1rem; }
.hide { display: none !important; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 16px; }
.grow { flex: 1; }
.offscreen { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eyebrow, .label { font: 600 .875rem/1.25rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
svg.ic { width: 24px; height: 24px; fill: currentColor; flex: none; }

/* buttons: respond on press, not release */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--burg); background: var(--burg); color: var(--cream); padding: 12px 26px; border-radius: var(--r-ctl); font-weight: 600; cursor: pointer; text-decoration: none; min-height: 48px; transition: transform 120ms var(--ease), background 200ms ease-out, color 200ms ease-out, box-shadow 200ms ease-out; user-select: none; }
.btn:hover { background: #740620; color: var(--cream); }
.btn:active { transform: scale(.97); transition-duration: 60ms; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.gold:hover { background: #a37205; color: var(--cream); border-color: #a37205; }
.btn.ghost { background: transparent; color: var(--burg); }
.btn.ghost:hover { background: var(--blush); color: var(--burg); }
.btn.small { padding: 8px 18px; font-size: 1rem; }
.btn.danger { background: transparent; border-color: var(--rose); color: var(--rose); }
.btn.danger:hover { background: var(--blush); color: var(--rose); }
.btn[disabled] { background: #eadbd3; border-color: #eadbd3; color: var(--muted); cursor: not-allowed; transform: none; }
.link { background: none; border: 0; padding: 12px 4px; min-height: 48px; color: var(--burg); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 500; }
.link:hover { color: var(--rose); }

/* forms */
label { display: block; font-weight: 500; font-size: 1rem; margin-bottom: 6px; color: var(--ink); }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], input[type=datetime-local], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid var(--burg); border-radius: var(--r-ctl); background: var(--white); outline: none; transition: box-shadow 200ms ease-out; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px var(--gold); }
input[type=checkbox] { width: 28px; height: 28px; accent-color: var(--burg); flex: none; }
textarea { resize: vertical; min-height: 96px; }
.field { margin-bottom: 16px; }
.hint { font-size: 1rem; color: var(--muted); margin-top: 6px; }
.err { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 2px solid var(--rose); color: var(--rose); padding: 12px 14px; border-radius: var(--r-ctl); margin: 14px 0; font-weight: 600; }
.err::before { content: "!"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.notice { background: var(--blush); color: var(--ink); padding: 14px 16px; border-radius: var(--r-ctl); margin: 14px 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg button { padding: 16px; min-height: 76px; border: 2px solid var(--line); background: var(--white); border-radius: var(--r-ctl); cursor: pointer; text-align: left; transition: transform 120ms var(--ease), border-color 200ms ease-out, box-shadow 200ms ease-out; }
.seg button:active { transform: scale(.98); }
.seg button b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.375rem; color: var(--burg); }
.seg button.on { border-color: var(--burg); box-shadow: 0 0 0 3px var(--gold); }

/* cards and tags */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.card + .card { margin-top: 16px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; min-height: 32px; border-radius: 999px; font-size: .9375rem; font-weight: 500; background: var(--blush); color: var(--burg); }
.pill.gold { background: var(--burg); color: var(--cream); }
.pill.ok { background: transparent; color: var(--rose); font-weight: 600; padding-left: 0; }
.pill.ok::before { content: ""; width: 20px; height: 20px; background: var(--rose); -webkit-mask: var(--shield) center/contain no-repeat; mask: var(--shield) center/contain no-repeat; }
:root { --shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5 3.5 4.8v6.4c0 5 3.5 9.300 8.500 11.300 5-2 8.500-6.300 8.500-11.300V4.800L12 1.500Zm-1.300 15.200-3.900-3.900 1.600-1.600 2.300 2.300 5-5 1.600 1.600-6.600 6.600Z'/%3E%3C/svg%3E"); }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .8125rem; font-weight: 700; margin-left: 6px; }

/* landing */
.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 12px; }
.top img { height: 44px; width: auto; max-width: 52vw; }
.top .row { flex-wrap: nowrap; gap: 8px; }
.top .btn.small { padding: 8px 14px; white-space: nowrap; }
.hero { padding: 36px 0 48px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero .lead { font-size: 1.375rem; line-height: 1.5; max-width: 34em; }
.blankword { display: inline-block; min-width: 3ch; font-style: italic; color: var(--rose); border-bottom: 4px solid var(--gold); transition: opacity 350ms ease-out, transform 350ms var(--ease); }
.blankword.fade { opacity: 0; transform: translateY(6px); }
.tagline { font: italic 400 1.75rem/1.2 var(--serif); color: var(--rose); margin: 0 0 18px; }
.grid3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid3 .card svg.ic { color: var(--burg); margin-bottom: 10px; width: 36px; height: 36px; }
.grid3 .card h3 { font-family: var(--serif); font-weight: 400; color: var(--burg); font-size: 1.625rem; }
.steps { counter-reset: s; display: grid; gap: 14px; padding: 0; margin: 0; }
.steps li { list-style: none; counter-increment: s; background: rgba(251,244,230,.08); border: 1px solid rgba(251,244,230,.25); border-radius: var(--r-card); padding: 18px 20px 18px 74px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--serif); font-size: 1.375rem; display: grid; place-items: center; }
.steps b { color: var(--cream); font-weight: 600; }
footer.site { padding: 40px 0 70px; color: var(--muted); font-size: 1rem; }
.band { background: var(--burg); color: var(--cream); padding: 44px 0; margin: 36px 0; }
.band h2 { color: var(--cream); }

/* app shell: translucent chrome, content scrolls under */
.appbar { position: sticky; top: 0; z-index: 20; background: rgba(251,244,230,.72); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(90,4,22,.1); }
.appbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.appbar img { height: 40px; width: auto; }
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: rgba(251,244,230,.78); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-top: 1px solid rgba(255,255,255,.6); box-shadow: 0 -1px 0 rgba(90,4,22,.1); display: flex; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabs a { position: relative; color: var(--burg); text-decoration: none; padding: 6px 4px; min-height: 56px; font-size: .875rem; font-weight: 600; text-align: center; flex: 1; border-radius: var(--r-ctl); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: transform 120ms var(--ease), color 200ms ease-out; }
.tabs a:active { transform: scale(.94); }
.tabs a.on { color: var(--gold); }
.tabs a.on span.t { color: var(--burg); }
.tabs a .badge { position: absolute; top: 2px; left: 50%; margin-left: 8px; }
main.app { padding: 22px 0 120px; }
@media (min-width: 820px) {
  .tabs { position: sticky; top: 64px; bottom: auto; box-shadow: none; border-top: 0; border-bottom: 1px solid rgba(90,4,22,.1); justify-content: center; gap: 8px; padding: 8px; }
  .tabs a { flex: 0 0 auto; flex-direction: row; gap: 8px; padding: 8px 20px; min-height: 48px; font-size: 1rem; }
  .tabs a.on { background: var(--burg); color: var(--cream); }
  .tabs a.on span.t { color: var(--cream); }
  .tabs a .badge { position: static; margin-left: 2px; }
  main.app { padding-bottom: 60px; }
}

/* discover */
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin-bottom: 20px; }
.filters .field { margin: 0; min-width: 120px; }
.profile { display: grid; grid-template-columns: 1fr; overflow: hidden; padding: 0; border-radius: var(--r-card); }
.profile + .profile { margin-top: 20px; }
.photo { position: relative; background: var(--blush); aspect-ratio: 4 / 5; max-height: 480px; overflow: hidden; cursor: pointer; margin: 12px; border-radius: var(--r-card); border: 3px solid var(--gold); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: filter 400ms var(--ease), transform 400ms var(--ease); }
.photo.blur img { filter: blur(24px) saturate(.9); transform: scale(1.12); }
.photo .tap { position: absolute; inset: 0; display: none; place-items: center; align-content: center; gap: 6px; color: var(--cream); font-weight: 600; background: rgba(90,4,22,.28); }
.photo .tap svg { width: 44px; height: 44px; fill: var(--cream); }
.photo.blur .tap { display: grid; }
.photo .count { position: absolute; right: 12px; bottom: 12px; background: rgba(38,8,15,.7); color: var(--cream); padding: 4px 12px; border-radius: 999px; font-size: .9375rem; }
.profile .body { padding: 8px 24px 24px; }
.profile .nm { font-family: var(--serif); font-size: 2rem; line-height: 1.15; color: var(--burg); }
.blankline { font-family: var(--serif); font-size: 1.625rem; line-height: 1.25; margin: 12px 0 14px; color: var(--ink); }
.blankline .lead { color: var(--muted); font-style: italic; }
.blankline u { text-decoration: none; border-bottom: 4px solid var(--gold); color: var(--burg); }
@media (min-width: 720px) { .profile { grid-template-columns: 320px 1fr; } .photo { aspect-ratio: auto; max-height: none; min-height: 380px; } }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.counter { text-align: right; font-size: .9375rem; color: var(--muted); }

/* chat */
.chatbox { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; min-height: 40vh; }
.bubble { max-width: 84%; padding: 12px 16px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; animation: pop 280ms var(--ease); }
.bubble.mine { align-self: flex-end; background: var(--burg); color: var(--cream); border-color: var(--burg); border-bottom-right-radius: 6px; }
.bubble.theirs { align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble time { display: block; font-size: .8125rem; opacity: .7; margin-top: 4px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.composer { position: sticky; bottom: 76px; background: rgba(251,244,230,.8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding: 10px 0; display: flex; gap: 10px; align-items: flex-end; }
.composer textarea { min-height: 52px; height: 52px; }
@media (min-width: 820px) { .composer { bottom: 0; } }
.mini { display: flex; gap: 14px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--blush); border: 3px solid var(--gold); flex: none; }
.avatar.blur { filter: blur(6px); }
.menu { position: relative; }
.menu .pop { position: absolute; right: 0; top: 52px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px rgba(38,8,15,.18); min-width: 250px; padding: 8px; z-index: 40; transform-origin: top right; animation: menuin 240ms var(--ease); }
.menu .pop button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 12px 14px; min-height: 48px; border-radius: var(--r-ctl); cursor: pointer; }
.menu .pop button:hover, .menu .pop button:active { background: var(--blush); }
@keyframes menuin { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

/* modal and toast: material arrives, not just fades */
.overlay { position: fixed; inset: 0; background: rgba(38,8,15,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 100; display: grid; place-items: center; padding: 16px; overflow-y: auto; animation: fadein 200ms ease-out; }
.modal { background: var(--cream); border-radius: var(--r-card); padding: 28px; width: 100%; max-width: 540px; max-height: 92vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(38,8,15,.3); animation: sheetin 380ms var(--ease); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetin { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); background: var(--ink); color: var(--cream); padding: 14px 22px; border-radius: var(--r-ctl); z-index: 200; font-weight: 500; box-shadow: 0 12px 32px rgba(0,0,0,.3); max-width: 92vw; animation: toastin 320ms var(--ease); }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cam { width: 100%; border-radius: var(--r-card); background: #000; aspect-ratio: 4/5; object-fit: cover; transform: scaleX(-1); border: 3px solid var(--gold); }
.thumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.thumb { position: relative; width: 100px; height: 126px; border-radius: 16px; overflow: hidden; background: var(--blush); border: 3px solid var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(38,8,15,.75); color: #fff; cursor: pointer; line-height: 1; font-size: 1rem; }
.thumb .st { position: absolute; left: 4px; bottom: 4px; font-size: .8125rem; background: var(--burg); color: var(--cream); border-radius: 999px; padding: 2px 8px; font-weight: 600; }
.progress { height: 10px; background: var(--blush); border-radius: 999px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--gold); width: 0; transition: width 400ms var(--ease); }
.check { display: flex; gap: 12px; align-items: center; }
.check .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--burg); display: grid; place-items: center; font-size: .8125rem; font-weight: 700; flex: none; }
.check.done .dot { background: var(--burg); color: var(--cream); }
.empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.empty h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; color: var(--burg); }

/* accessibility: three independent signals */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  .btn:active, .tabs a:active, .seg button:active { transform: none; }
  .photo.blur img { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .appbar, .tabs, .composer, .menu .pop, .overlay { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .appbar, .tabs, .composer { background: var(--cream); }
  .menu .pop { background: #fff; }
  .overlay { background: rgba(38,8,15,.8); }
}
@media (prefers-contrast: more) {
  .card, .bubble, .pill { border: 2px solid var(--burg); }
  .appbar, .tabs { background: var(--cream); }
}

/* ---------- animations: cute, quick, interruptible. All switched off for reduced motion. ---------- */
:root {
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}
/* scroll reveal with a small stagger */
.reveal { opacity: 0; transform: translateY(22px) scale(.98); transition: opacity 500ms ease-out, transform 600ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
/* hero entrance */
.hero > * { animation: rise 700ms var(--ease) both; }
.hero > *:nth-child(2) { animation-delay: 90ms; }
.hero > *:nth-child(3) { animation-delay: 180ms; }
.hero > *:nth-child(4) { animation-delay: 270ms; }
.hero > *:nth-child(5) { animation-delay: 360ms; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
/* drifting hearts behind the hero */
.hero { position: relative; }
.hearts { position: absolute; inset: -20px 0 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hearts i { position: absolute; bottom: -40px; width: var(--s); height: var(--s); background: var(--c); opacity: 0; -webkit-mask: var(--heart) center/contain no-repeat; mask: var(--heart) center/contain no-repeat; animation: drift var(--d) ease-in-out var(--w) infinite; }
@keyframes drift { 0% { opacity: 0; transform: translateY(0) translateX(0) rotate(0deg) scale(.7); } 12% { opacity: .55; } 50% { transform: translateY(-45vh) translateX(var(--x)) rotate(14deg) scale(1); } 88% { opacity: .4; } 100% { opacity: 0; transform: translateY(-95vh) translateX(calc(var(--x) * -1)) rotate(-10deg) scale(.9); } }
.hero > *:not(.hearts) { position: relative; z-index: 1; }
/* glasses mascot: bobs, blinks, wiggles on touch */
.mascot { width: 92px; height: auto; margin: 0 0 8px; animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 60%; cursor: pointer; }
.mascot:hover, .mascot:active { animation: wiggle 600ms var(--pop); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
@keyframes wiggle { 0% { transform: rotate(0) scale(1); } 25% { transform: rotate(-14deg) scale(1.12); } 55% { transform: rotate(10deg) scale(1.08); } 100% { transform: rotate(0) scale(1); } }
/* the blank word swaps with a little bounce */
.blankword { animation: wordin 520ms var(--pop); }
.blankword.fade { animation: none; }
@keyframes wordin { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
/* hearts burst on key actions */
.burst { position: fixed; width: 18px; height: 18px; margin: -9px 0 0 -9px; pointer-events: none; z-index: 400; background: var(--c); -webkit-mask: var(--heart) center/contain no-repeat; mask: var(--heart) center/contain no-repeat; }
/* tab icons bounce when you land on them */
.tabs a.on svg.ic { animation: tabpop 500ms var(--pop); }
@keyframes tabpop { 0% { transform: scale(.7); } 60% { transform: scale(1.25) rotate(-6deg); } 100% { transform: scale(1); } }
/* badges breathe */
.badge { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
/* online dot and open tonight glow */
.pill.live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3a9a4f; box-shadow: 0 0 0 0 rgba(58,154,79,.6); animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 9px rgba(58,154,79,0); } }
.pill.gold { animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(184,130,6,0); } 50% { box-shadow: 0 0 0 5px rgba(184,130,6,.28); } }
/* checklist ticks pop in */
.check.done .dot { animation: tick 450ms var(--pop); }
@keyframes tick { 0% { transform: scale(.4); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
/* progress bar shimmer */
.progress i { background: linear-gradient(90deg, var(--gold) 0%, #e0aa2a 50%, var(--gold) 100%); background-size: 200% 100%; animation: shimmer 2.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
/* cards lift under the finger or pointer */
.profile, .grid3 .card { transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), opacity 500ms ease-out; }
@media (hover: hover) { .profile:hover, .grid3 .card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(90,4,22,.12); } }
.photo:active img { transform: scale(1.04); }
/* gentle heart beat on the eye icon in blurred photos */
.photo .tap svg { animation: bob 2.6s ease-in-out infinite; }
/* seg buttons spring when chosen */
.seg button.on { animation: tabpop 420ms var(--pop); }
/* empty states float */
.empty h3::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 12px; background: var(--rose); -webkit-mask: var(--heart) center/contain no-repeat; mask: var(--heart) center/contain no-repeat; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } 60% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hearts, .burst { display: none; }
  .mascot, .badge, .pill.gold, .progress i, .photo .tap svg, .empty h3::before, .tabs a.on svg.ic, .pill.live::before { animation: none !important; }
}
