/* Coach Séduction web app. The base (tokens, bar, drawer, cursor, curtain, buttons,
   coach bubble, toasts, modal, rate/premium blocks) matches apps/messages/css/app.css
   so both APP-SÉDUCTION web apps feel like one family. */
:root {
	--rose: #ed5c6d;
	--crimson: #c52233;
	--wine: #a51c30;
	--deep: #5f021f;
	--blush: #ffe4e3;
	--cream: #fff7f3;
	--ink: #2b0d15;
	--muted: #8b6770;
	--gold: #c39337;
	--gold-soft: #fbf3e4;
	--line: rgba(95, 2, 31, .12);
	--card: #fff;
	--shadow: 0 1px 2px rgba(95, 2, 31, .08), 0 12px 32px -12px rgba(95, 2, 31, .28);
	--spring: cubic-bezier(.34, 1.56, .64, 1);
	--out: cubic-bezier(.16, 1, .3, 1);
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--bar-h: 64px;
	--gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	min-height: 100vh;
	font: 500 16px/1.5 var(--sans);
	color: var(--ink);
	background:
		radial-gradient(1200px 700px at 110% -10%, rgba(237, 92, 109, .22), transparent 60%),
		radial-gradient(900px 600px at -20% 110%, rgba(165, 28, 48, .14), transparent 60%),
		var(--cream);
	background-attachment: fixed;
	overflow-x: hidden;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
::selection { background: var(--rose); color: #fff; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 12px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (pointer: fine) {
	body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label { cursor: none; }
	body.has-cursor input, body.has-cursor textarea { cursor: text; }
}

#ambient, #burst { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#ambient { z-index: 0; }
#burst { z-index: 90; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; display: none; }
body.has-cursor .cursor { display: block; }
.cursor i, .cursor b { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor i { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--crimson); }
.cursor b {
	width: 40px; height: 40px; margin: -20px 0 0 -20px;
	border: 1.5px solid rgba(197, 34, 51, .55);
	transition: width .35s var(--spring), height .35s var(--spring), margin .35s var(--spring), background-color .3s, border-color .3s;
}
.cursor.is-hover b { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(237, 92, 109, .14); border-color: transparent; }
.cursor.is-down b { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.cursor.is-drag b { width: 76px; height: 76px; margin: -38px 0 0 -38px; border-style: dashed; }

/* ---------- top bar ---------- */
.bar {
	position: fixed; z-index: 40; left: 0; right: 0; top: 0;
	height: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
	padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	background: linear-gradient(to bottom, rgba(255, 247, 243, .92), rgba(255, 247, 243, .6));
	backdrop-filter: blur(14px) saturate(1.3);
	-webkit-backdrop-filter: blur(14px) saturate(1.3);
	border-bottom: 1px solid var(--line);
}
.bar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.bar__icon { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 16px -6px rgba(197, 34, 51, .6); transition: transform .5s var(--spring); }
.bar__brand:hover .bar__icon { transform: rotate(-10deg) scale(1.08); }
.bar__title { font: 600 1.15rem/1.1 var(--serif); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__actions { display: flex; align-items: center; gap: 6px; }
.bar__btn {
	position: relative; display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; text-decoration: none;
	transition: background-color .25s;
}
.bar__btn:hover { background: rgba(237, 92, 109, .12); }
.bar__me img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 4px 12px -4px rgba(197, 34, 51, .6); transition: transform .5s var(--spring); }
.bar__me:hover img { transform: rotate(-12deg) scale(1.1); }
.bar__burger span { position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: var(--wine); transition: transform .45s var(--spring), opacity .2s; }
.bar__burger span:nth-child(1) { top: 15px; }
.bar__burger span:nth-child(2) { top: 21px; }
.bar__burger span:nth-child(3) { top: 27px; }
.bar__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bar__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.bar__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- view ---------- */
.view {
	position: relative; z-index: 1;
	min-height: 100vh;
	padding: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 20px) var(--gutter) calc(64px + env(safe-area-inset-bottom, 0px));
	outline: none;
}
.view > * { max-width: 980px; margin-left: auto; margin-right: auto; }
.view > .form, .view > .trial, .view > .about { max-width: 640px; }
.view.is-leaving { animation: leave .35s var(--out) forwards; }
.view.is-entering { animation: enter .7s var(--out) both; }
@keyframes leave { to { opacity: 0; transform: translateY(-18px) scale(.985); filter: blur(4px); } }
@keyframes enter { from { opacity: 0; transform: translateY(28px); } }

.curtain {
	position: fixed; inset: 0; z-index: 80; pointer-events: none;
	background: var(--rose);
	clip-path: circle(0 at var(--cx, 50%) var(--cy, 50%));
}
.curtain.is-closing { transition: clip-path .6s cubic-bezier(.7, 0, .2, 1); clip-path: circle(150vmax at var(--cx, 50%) var(--cy, 50%)); }
.curtain.is-opening { transition: clip-path .8s cubic-bezier(.7, 0, .2, 1); clip-path: circle(0 at 50% 0%); }

/* ---------- common ---------- */
.h-display { font: 400 clamp(2.2rem, 7vw, 4.6rem)/.98 var(--serif); letter-spacing: -.03em; margin: 0; }
.h-display em { font-style: italic; color: var(--crimson); }
.h-section { font: 600 clamp(1.5rem, 4vw, 2.2rem)/1.1 var(--serif); letter-spacing: -.02em; margin: 0 0 .4em; }
.eyebrow { font: 800 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.flush { margin: 0; }
.split .ch { display: inline-block; will-change: transform; transition: color .3s; }
.stack { display: grid; gap: 12px; }
.section { margin: 36px 0 0; }

.btn {
	--bg: var(--crimson); --fg: #fff;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
	background: var(--bg); color: var(--fg); text-decoration: none;
	font: 800 1rem/1 var(--sans); letter-spacing: .01em;
	box-shadow: 0 10px 24px -10px rgba(165, 28, 48, .7);
	transition: transform .4s var(--spring), box-shadow .3s, background-color .3s;
	overflow: hidden; isolation: isolate;
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: var(--deep); transform: translateY(101%); transition: transform .45s var(--out);
}
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.96); }
.btn--ghost { --bg: transparent; --fg: var(--wine); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost::before { background: var(--blush); }
.btn--gold { --bg: var(--gold); box-shadow: 0 10px 24px -10px rgba(195, 147, 55, .8); }
.btn--gold::before { background: #8a6420; }
.btn--block { width: 100%; }
.btn--xl { min-height: 64px; padding: 0 34px; font-size: 1.2rem; }
.btn .ic { width: 20px; height: 20px; }
.btn--fb { --bg: #3b5998; }
.btn--tw { --bg: #111; }
.btn--wa { --bg: #25d366; }
.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { translate: -8px 0; rotate: -1deg; } 40%, 80% { translate: 8px 0; rotate: 1deg; } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.5); } 100% { transform: scale(1); } }
@keyframes float { 50% { transform: translateY(-12px) rotate(4deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.7) rotate(-4deg); } }

.card { background: var(--card); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); }
.linkish { display: inline-flex; align-items: center; gap: 8px; justify-content: center; border: 0; background: none; color: var(--crimson); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.linkish.danger { color: var(--wine); }

/* coach bubble (Sofia / Paul) */
.coach { display: flex; align-items: flex-end; gap: 12px; margin: 0 0 28px; }
.coach__avatar {
	flex: none; width: 56px; height: 56px; padding: 0; border: 3px solid #fff; border-radius: 50%;
	background: #fff; box-shadow: var(--shadow);
	transition: transform .5s var(--spring);
}
.coach__avatar:hover { transform: rotate(-8deg) scale(1.08); }
.coach__avatar img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.coach__bubble {
	position: relative; max-width: 620px; padding: 14px 18px; border-radius: 22px 22px 22px 6px;
	background: #fff; box-shadow: var(--shadow); font-size: .98rem; white-space: pre-line;
	transform-origin: 0 100%; transition: transform .5s var(--spring), opacity .3s;
}
.coach__bubble b { display: block; font: 800 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin-bottom: 6px; }
.coach__bubble span b { display: inline; font: inherit; letter-spacing: 0; text-transform: none; color: var(--crimson); font-weight: 800; margin: 0; }
.coach__bubble a { color: var(--crimson); font-weight: 700; }
.coach.is-hidden .coach__bubble { transform: scale(.2); opacity: 0; pointer-events: none; }
.coach--big .coach__avatar { width: 72px; height: 72px; }
.coach--big .coach__bubble { font-size: 1.04rem; padding: 18px 22px; }
.coach.flip .coach__avatar { animation: flipAvatar .8s var(--spring); }
@keyframes flipAvatar { from { transform: rotateY(180deg) scale(.5); } }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.15em; background: var(--rose); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* fields */
.field { display: block; margin: 0; }
.field .eyebrow { display: block; margin-bottom: 10px; }
.field textarea {
	width: 100%; min-height: 150px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 20px;
	background: #fff; resize: vertical; transition: border-color .25s, box-shadow .25s;
}
.input { width: 100%; min-height: 56px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.input--big { min-height: 72px; font: 400 clamp(1.3rem, 4vw, 1.9rem)/1 var(--serif); }
.field textarea:focus, .input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 5px rgba(237, 92, 109, .15); }
.field textarea::placeholder, .input::placeholder { color: var(--rose); opacity: .7; }

/* toasts */
.toasts { position: fixed; z-index: 95; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 440px); pointer-events: none; }
.toast {
	padding: 14px 20px; border-radius: 18px; background: var(--deep); color: #fff; font-weight: 700; text-align: center;
	box-shadow: 0 18px 40px -16px rgba(43, 13, 21, .7);
	animation: toastIn .55s var(--spring) both;
}
.toast.out { animation: toastOut .35s var(--out) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(30px) scale(.8); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px) scale(.9); } }

/* modal */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(43, 13, 21, .45); backdrop-filter: blur(6px); animation: fade .3s both; }
.modal__card { width: min(100%, 480px); max-height: 90vh; overflow: auto; background: #fff; border-radius: 30px; padding: 28px; box-shadow: 0 40px 80px -30px rgba(43, 13, 21, .6); animation: pop .6s var(--spring) both; }
.modal__card h2 { font: 600 1.8rem/1.1 var(--serif); margin: 0 0 10px; }
.modal__card p { white-space: pre-line; color: var(--muted); }
.modal__card .field { margin-bottom: 16px; }
.modal__row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.opinion__img { display: block; width: 100%; height: auto; margin: 0 0 18px; border-radius: 18px; }

/* drawer */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(43, 13, 21, .35); animation: fade .3s both; }
.drawer {
	position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(88vw, 360px);
	padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
	background: var(--cream); box-shadow: -30px 0 60px -30px rgba(43, 13, 21, .5);
	display: flex; flex-direction: column; overflow-y: auto;
	animation: drawerIn .6s var(--out) both;
}
.drawer.out { animation: drawerOut .35s var(--out) forwards; }
@keyframes drawerIn { from { transform: translateX(100%); } }
@keyframes drawerOut { to { transform: translateX(100%); } }
.drawer__head { padding: 34px 28px 24px; background: linear-gradient(135deg, var(--rose), var(--wine) 70%, var(--deep)); color: #fff; }
.drawer__head a { display: block; }
.drawer__head img { display: block; width: 100%; height: auto; }
.drawer__me { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; }
.drawer__me:empty { display: none; }
.drawer__me img { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; }
.drawer__me b { display: block; font: 600 1.25rem/1.1 var(--serif); }
.drawer__me small { opacity: .85; font-weight: 700; }
.drawer__list { list-style: none; margin: 0; padding: 14px 12px; }
.drawer__list a {
	display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; text-decoration: none;
	font: 600 1.25rem/1.2 var(--serif);
	animation: slideIn .6s var(--out) both; animation-delay: calc(var(--i) * 60ms + 120ms);
	transition: background-color .25s, padding-left .35s var(--spring);
}
.drawer__list a:hover { background: var(--blush); padding-left: 26px; }
.drawer__list svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--rose); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px); } }
.drawer__langs { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 24px 28px; }

.chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
	border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; font-size: .9rem;
	transition: transform .35s var(--spring), background-color .25s, color .25s, border-color .25s;
}
.chip:hover { transform: translateY(-2px); }
.chip img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; }
.chip[aria-pressed="true"] { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.langs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- welcome ---------- */
.welcome { display: grid; justify-items: center; text-align: center; gap: 22px; padding-top: 2vh; }
.welcome__logo { display: block; width: min(100%, 460px); height: auto; margin: 0 auto; clip-path: inset(0 100% 0 0); animation: wipe 1.4s .2s var(--out) forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.welcome__icon { width: 112px; height: 112px; border-radius: 28px; box-shadow: 0 30px 50px -20px rgba(165, 28, 48, .7); animation: float 4s ease-in-out infinite; }
.welcome .h-display { max-width: 13ch; }
.duo { display: grid; justify-items: end; gap: 6px; width: min(100%, 620px); text-align: left; }
.duo .coach { justify-self: stretch; margin: 0; }
.duo__paul { display: grid; justify-items: center; gap: 2px; margin: 0 8px 0 0; animation: pop .7s .5s var(--spring) both; }
.duo__paul img { width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; box-shadow: var(--shadow); animation: float 3.4s 1s ease-in-out infinite; }
.duo__paul figcaption { font: 800 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine); }
.legal { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.consent { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--cream); text-align: left; cursor: pointer; color: var(--wine); font-weight: 600; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.heartcheck { flex: none; width: 30px; height: 30px; }
.heartcheck path { fill: transparent; stroke: var(--rose); stroke-width: 2; transition: fill .3s; }
.consent input:checked + .heartcheck { animation: bump .6s var(--spring); }
.consent input:checked + .heartcheck path { fill: var(--rose); }
.consent input:focus-visible + .heartcheck { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 8px; }

/* ---------- register / profile ---------- */
.stepper { display: grid; gap: 10px; margin: 0 0 16px; }
.stepper__bar { height: 6px; border-radius: 6px; background: var(--blush); overflow: hidden; }
.stepper__bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--rose), var(--crimson)); transition: width .7s var(--spring); }
.form__card { display: grid; gap: 22px; }
.step { margin: 0; padding: 0; border: 0; min-width: 0; }
.step legend { padding: 0; margin-bottom: 10px; }
.step.in-right { animation: stepInR .6s var(--out) both; }
.step.in-left { animation: stepInL .6s var(--out) both; }
@keyframes stepInR { from { opacity: 0; translate: 50px 0; } }
@keyframes stepInL { from { opacity: 0; translate: -50px 0; } }
.echo { min-height: 1.3em; margin: 14px 4px 0; font: 400 italic clamp(1.3rem, 3.6vw, 1.8rem)/1.25 var(--serif); color: var(--crimson); overflow-wrap: anywhere; }
.echo .ch { display: inline-block; }
.echo .ch.new { animation: charPop .5s var(--spring); }
@keyframes charPop { from { transform: translateY(-.6em) scale(1.8); color: var(--rose); } }
.agebubble { display: inline-block; margin: 12px 0 0; padding: 6px 14px; border-radius: 999px; background: var(--blush); color: var(--wine); font-weight: 800; }
.agebubble:empty { display: none; }
.agebubble.bad { background: var(--deep); color: #fff; }
.agebubble.bump { animation: bump .5s var(--spring); }
.genders { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gcard {
	position: relative; display: grid; justify-items: center; gap: 8px; padding: 22px 12px 18px; border-radius: 24px;
	background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; text-align: center;
	transition: transform .5s var(--spring), box-shadow .3s, background-color .3s;
}
.gcard:hover { transform: translateY(-4px) rotate(-1deg); }
.gcard input { position: absolute; opacity: 0; pointer-events: none; }
.gcard img { width: 84px; height: 84px; border-radius: 50%; border: 4px solid #fff; box-shadow: var(--shadow); transition: transform .6s var(--spring); }
.gcard strong { font: 600 1.3rem/1 var(--serif); }
.gcard small { color: var(--muted); font-size: .8rem; font-weight: 700; }
.gcard__sym { position: absolute; top: 12px; right: 12px; color: var(--rose); }
.gcard.is-selected { background: #fff; box-shadow: inset 0 0 0 2px var(--rose), var(--shadow); }
.gcard.is-selected img { transform: rotate(-8deg) scale(1.1); }
.gcard input:focus-visible ~ img { outline: 3px solid var(--rose); outline-offset: 3px; }
.form__actions { display: flex; gap: 10px; }
.form__actions .btn:last-child { margin-left: auto; }

.switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 20px; background: var(--cream); cursor: pointer; font-weight: 700; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track { flex: none; position: relative; width: 58px; height: 34px; border-radius: 999px; background: #e8d6d8; transition: background-color .3s; }
.switch__track::after { content: ""; position: absolute; left: 4px; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .2); transition: transform .5s var(--spring), width .25s; }
.switch input:checked + .switch__track { background: var(--rose); }
.switch input:checked + .switch__track::after { transform: translateX(24px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--rose); outline-offset: 3px; }

/* ---------- trial ---------- */
.trial { display: grid; justify-items: center; gap: 10px; }
.trial__icon { width: 150px; height: 150px; animation: float 4s ease-in-out infinite; }
.trial .coach { justify-self: stretch; }
.trial__actions { width: 100%; }

/* ---------- home ---------- */
.home__hero { margin: 0 0 6px; }
.tabs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 26px 0 0; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
.tabs__goo { position: absolute; inset: 6px; filter: url(#goo); pointer-events: none; }
.tabs__blob, .tabs__drop { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--crimson); will-change: transform; }
.tab {
	position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 56px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent;
	font: 800 .92rem/1.1 var(--sans); color: var(--wine); transition: color .35s;
}
.tab .ic { width: 22px; height: 22px; transition: transform .5s var(--spring); }
.tab:hover .ic { transform: rotate(-12deg) scale(1.15); }
.tab[aria-selected="true"] { color: #fff; }
.home__tag { min-height: 1.4em; margin: 16px 6px 0; font: 400 italic clamp(1.05rem, 2.6vw, 1.35rem)/1.3 var(--serif); color: var(--wine); }
.home__tag.swap { animation: tagIn .6s var(--out); }
@keyframes tagIn { from { opacity: 0; translate: 0 10px; filter: blur(4px); } }

.deck {
	position: relative; margin: 10px calc(50% - 50vw) 0; padding: 16px max(var(--gutter), calc(50vw - 490px)) 34px;
	overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none;
	cursor: grab;
}
.deck::-webkit-scrollbar { display: none; }
.deck.is-dragging { cursor: grabbing; }
.deck__track { display: flex; gap: clamp(14px, 2.4vw, 24px); width: max-content; transform: skewX(var(--skew, 0deg)); }
.tcard {
	position: relative; flex: none; display: block; width: clamp(236px, 30vw, 310px); aspect-ratio: 3 / 4;
	border-radius: 30px; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none;
	background: var(--deep); box-shadow: 0 30px 50px -30px rgba(95, 2, 31, .8);
	transform: perspective(900px) rotateY(var(--ry, 0deg));
	-webkit-user-drag: none; user-select: none; -webkit-user-select: none;
}
.tcard__media { position: absolute; inset: 0; overflow: hidden; }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; transform: translateX(var(--px, 0%)) scale(1.28); transition: filter .5s, scale .8s var(--out); pointer-events: none; }
.tcard:hover .tcard__media img { filter: saturate(1.25); scale: 1.06; }
.tcard__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(43, 13, 21, .94), rgba(95, 2, 31, .35) 55%, rgba(237, 92, 109, .08)); }
.tcard__num { position: absolute; left: 22px; top: 16px; font: 400 italic 3.2rem/1 var(--serif); letter-spacing: -.04em; opacity: .92; }
.tcard__badge { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tcard__badge .ic { width: 24px; height: 24px; }
.tcard__badge img { width: 48px; height: 48px; border-radius: 13px; }
.tcard__body { position: absolute; left: 22px; right: 76px; bottom: 22px; display: grid; gap: 8px; }
.tcard__body strong { font: 600 clamp(1.5rem, 2.6vw, 1.95rem)/1.02 var(--serif); letter-spacing: -.02em; }
.tcard__body small { font: 700 .8rem/1.35 var(--sans); opacity: .85; }
.hearts { display: flex; gap: 4px; }
.hearts svg { width: 16px; height: 16px; fill: rgba(255, 255, 255, .25); }
.hearts svg.on { fill: #fff; }
.tcard__go { position: absolute; right: 18px; bottom: 20px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--crimson); transform: scale(.4) rotate(-45deg); opacity: 0; transition: transform .5s var(--spring), opacity .3s; }
.tcard:hover .tcard__go, .tcard:focus-visible .tcard__go { transform: none; opacity: 1; }
@media (hover: none) { .tcard__go { transform: none; opacity: 1; } }
.tcard.is-press { scale: .95; transition: scale .3s var(--spring); }
.deck__track.is-in .tcard { animation: cardIn .9s var(--spring) both; animation-delay: calc(var(--i) * 70ms); }
.deck__track.is-out .tcard { animation: cardOut .3s var(--out) forwards; animation-delay: calc(var(--i) * 25ms); }
@keyframes cardIn { from { opacity: 0; translate: 0 90px; rotate: 7deg; scale: .88; } }
@keyframes cardOut { to { opacity: 0; translate: 0 -40px; rotate: -5deg; scale: .94; } }
.deck__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.home__hint { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .88rem; color: var(--muted); }
.home__hint .ic { color: var(--rose); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px) rotate(-12deg); } }
.deck__bar { position: relative; flex: 0 1 220px; height: 4px; border-radius: 4px; background: var(--blush); overflow: hidden; }
.deck__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: 4px; background: var(--rose); }

/* ---------- module page head ---------- */
.phead {
	position: sticky; z-index: 5; top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 8px);
	display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding: 8px 12px 8px 8px;
	border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow);
}
.phead__t { flex: 1; min-width: 0; display: grid; gap: 4px; }
.phead__t .eyebrow { font-size: .62rem; }
.phead h1 { margin: 0; font: 600 clamp(1.05rem, 3.2vw, 1.45rem)/1.1 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--crimson); color: #fff; text-decoration: none; transition: transform .4s var(--spring); }
.back:hover { transform: translateX(-3px) scale(1.06); }
.back .ic { width: 20px; height: 20px; stroke-width: 2.5; }
.readheart { flex: none; display: grid; place-items: center; width: 40px; height: 40px; }
.readheart svg { width: 30px; height: 30px; overflow: visible; }
.readheart__bg { fill: var(--blush); }
.readheart__fill { fill: var(--rose); }
.readheart__line { fill: none; stroke: var(--crimson); stroke-width: 1.3; }

/* ---------- advise ---------- */
.ptabs { position: relative; display: flex; gap: 4px; margin: 0 0 22px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); overflow-x: auto; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs button { position: relative; z-index: 1; flex: 1 0 auto; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: 800 .86rem/1 var(--sans); color: var(--muted); white-space: nowrap; transition: color .3s; }
.ptabs button[aria-selected="true"] { color: #fff; }
.ptabs__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--crimson); transition: transform .55s var(--spring), width .55s var(--spring); }

.page.out-left { animation: pageOutL .26s var(--out) forwards; }
.page.out-right { animation: pageOutR .26s var(--out) forwards; }
.page.in-right { animation: pageInR .6s var(--out) both; }
.page.in-left { animation: pageInL .6s var(--out) both; }
@keyframes pageOutL { to { opacity: 0; translate: -60px 0; } }
@keyframes pageOutR { to { opacity: 0; translate: 60px 0; } }
@keyframes pageInR { from { opacity: 0; translate: 60px 0; } }
@keyframes pageInL { from { opacity: 0; translate: -60px 0; } }
.page__hero { position: relative; margin: 0 0 22px; aspect-ratio: 16 / 7; min-height: 210px; border-radius: 32px; overflow: hidden; background: var(--deep); box-shadow: var(--shadow); animation: heroIn 1.1s var(--out) both; }
@keyframes heroIn { from { clip-path: inset(14% 10% 14% 10% round 32px); } to { clip-path: inset(0 round 32px); } }
.page__hero img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.page__hero figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 60px 26px 24px; color: #fff; background: linear-gradient(transparent, rgba(43, 13, 21, .88)); }
.page__hero .eyebrow { color: #ffc2c8; }
.page__hero h2 { margin: 0; font: 400 clamp(2rem, 6vw, 3.4rem)/1 var(--serif); letter-spacing: -.03em; }
.page__count { font-weight: 700; font-size: .88rem; opacity: .85; }

.groups { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.group { background: #fff; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; animation: groupIn .7s var(--spring) both; animation-delay: calc(var(--i) * 50ms + 150ms); }
@keyframes groupIn { from { opacity: 0; translate: 0 30px; } }
.group__h { margin: 0; }
.group__head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border: 0; background: transparent; text-align: left; font: 600 clamp(1.08rem, 2.6vw, 1.3rem)/1.2 var(--serif); color: var(--ink); transition: background-color .25s; }
.group__head:hover { background: #fff6f5; }
.group__num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blush); color: var(--crimson); font: 800 .82rem/1 var(--sans); transition: background-color .3s, color .3s, transform .5s var(--spring); }
.group.is-open .group__num { background: var(--crimson); color: #fff; transform: rotate(-12deg) scale(1.05); }
.group__title { flex: 1; min-width: 0; }
.group__count { font: 800 .74rem/1 var(--sans); color: var(--muted); }
.pm { position: relative; flex: none; width: 22px; height: 22px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; border-radius: 2px; background: var(--rose); transition: transform .5s var(--spring); }
.pm::after { transform: rotate(90deg); }
.group.is-open .pm::before { transform: rotate(180deg); }
.group.is-open .pm::after { transform: rotate(180deg); }
.group__body { overflow: hidden; }

.tips { list-style: none; margin: 0; padding: 0 22px 20px 68px; display: grid; gap: 12px; }
.tip { position: relative; padding-left: 20px; }
.tip::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }
.tip p { margin: 0; white-space: pre-line; line-height: 1.62; }
.group.is-open .tip, .pep.is-live .tip { animation: tipIn .6s var(--out) both; animation-delay: calc(var(--i) * 35ms); }
@keyframes tipIn { from { opacity: 0; translate: 0 14px; } }
.tip--gold { padding: 12px 16px 12px 30px; border-radius: 16px; background: linear-gradient(135deg, var(--gold-soft), #fff); box-shadow: inset 0 0 0 1px rgba(195, 147, 55, .35); }
.tip--gold::before { left: 12px; top: calc(12px + 1.9em); background: var(--gold); }
.tip__badge { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 4px; font: 800 .64rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.tip__badge .ic { width: 13px; height: 13px; fill: var(--gold); stroke: none; }
.tip--teaser, .tip--locked { padding-left: 0; }
.tip--teaser::before, .tip--locked::before { display: none; }
.tip--teaser a { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 18px; background: linear-gradient(135deg, var(--deep), var(--wine)); color: #fff; font-weight: 700; text-decoration: none; transition: transform .45s var(--spring); }
.tip--teaser a:hover { transform: translateX(5px); }
.tip--teaser img { flex: none; width: 48px; height: 48px; animation: float 3.6s ease-in-out infinite; }
.tip--teaser span { flex: 1; }
.tip--locked a { position: relative; display: block; padding: 12px 16px; border-radius: 16px; background: #faf1f1; text-decoration: none; overflow: hidden; }
.tip__blur { display: block; color: var(--muted); filter: blur(4px); user-select: none; -webkit-user-select: none; }
.tip__cta { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font: 800 .82rem/1 var(--sans); color: var(--wine); transition: transform .45s var(--spring); }
.tip--locked a:hover .tip__cta { transform: scale(1.08); }

.pnav { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.pnav__btn { flex: 1 1 240px; display: grid; gap: 6px; padding: 18px 22px; border: 0; border-radius: 24px; background: #fff; box-shadow: var(--shadow); text-align: left; transition: transform .45s var(--spring); }
.pnav__btn:hover { transform: translateY(-4px); }
.pnav__btn small { display: inline-flex; align-items: center; gap: 6px; font: 800 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.pnav__btn strong { font: 600 1.35rem/1.1 var(--serif); }
.pnav__btn--next { justify-items: end; text-align: right; background: var(--crimson); color: #fff; }
.pnav__btn--next small { color: #ffd1d6; }

/* ---------- motivate ---------- */
.charger { display: grid; justify-items: center; gap: 18px; padding: 10px 0; }
.charger__core { position: relative; }
.charger__btn {
	--lv: 0;
	position: relative; display: block; width: min(64vw, 260px); aspect-ratio: 1; padding: 0; border: 0; background: none;
	touch-action: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none;
	transition: transform .5s var(--spring);
}
.charger__btn:hover { transform: scale(1.04); }
.charger__btn.is-holding { transform: scale(.94); }
.charger__btn.is-cool { cursor: progress; }
.charger__btn:focus-visible { border-radius: 50%; }
.charger__ring { position: absolute; inset: -8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(237, 92, 109, calc(.12 + var(--lv) * .4)), transparent); transform: scale(calc(.8 + var(--lv) * .5)); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; } }
.charger__heart { position: relative; display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 20px 30px rgba(197, 34, 51, .35)); }
.charger__bg { fill: #fff; }
.charger__liquid { fill: var(--rose); }
.charger__line { fill: none; stroke: var(--crimson); stroke-width: .7; }
.charger__pct { position: absolute; left: 0; right: 0; top: 40%; text-align: center; font: 600 clamp(1.6rem, 6vw, 2.4rem)/1 var(--serif); color: var(--wine); pointer-events: none; transition: color .2s; }
.charger__pct.is-full { color: #fff; }
.charger__label { display: grid; justify-items: center; gap: 4px; margin: 0; text-align: center; }
.charger__label strong { font: 600 1.4rem/1.1 var(--serif); }
.charger__label span { font-size: .86rem; color: var(--muted); }
.spark { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--rose); pointer-events: none; animation: suck .7s cubic-bezier(.55, 0, 1, .45) forwards; }
.spark--big { width: 14px; height: 14px; margin: -7px; background: var(--crimson); }
@keyframes suck { from { transform: translate(var(--sx), var(--sy)) scale(1.4); opacity: 0; } 25% { opacity: 1; } to { transform: translate(0, 0) scale(.2); opacity: 0; } }
.motivate.is-boom .charger { animation: boom .5s; }
@keyframes boom { 10%, 50% { translate: -7px 3px; rotate: -.6deg; } 30%, 70% { translate: 7px -3px; rotate: .6deg; } }
.pep { scroll-margin-top: calc(var(--bar-h) + 96px); margin-top: 28px; padding: clamp(24px, 5vw, 46px); border-radius: 34px; background: linear-gradient(145deg, var(--rose), var(--crimson) 55%, var(--deep)); color: #fff; box-shadow: 0 40px 80px -40px rgba(95, 2, 31, .75); }
.pep .eyebrow { color: #ffd1d6; }
.pep__title { margin: 10px 0 20px; font: 400 clamp(2rem, 6vw, 3.6rem)/1.02 var(--serif); letter-spacing: -.02em; }
.pep.is-live .pep__title .ch { animation: chIn .8s var(--spring) both; animation-delay: calc(var(--i) * 22ms); }
@keyframes chIn { from { opacity: 0; transform: translateY(.8em) rotate(12deg) scale(.6); } }
.tips--pep { padding: 0; gap: 14px; }
.tips--pep .tip { font-size: 1.04rem; }
.tips--pep .tip::before { background: #fff; }
.pep.is-live .tip:nth-child(odd) { animation-name: lineInL; animation-duration: .7s; animation-delay: calc(var(--i) * 80ms + 300ms); }
.pep.is-live .tip:nth-child(even) { animation-name: lineInR; animation-duration: .7s; animation-delay: calc(var(--i) * 80ms + 300ms); }
@keyframes lineInL { from { opacity: 0; translate: -40px 0; } }
@keyframes lineInR { from { opacity: 0; translate: 40px 0; } }
.tips--pep .tip--gold { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.tips--pep .tip__badge { color: #ffe3a8; }
.tips--pep .tip__badge .ic { fill: #ffe3a8; }
.tips--pep .tip--locked a { background: rgba(255, 255, 255, .14); }
.tips--pep .tip__blur { color: #fff; }
.tips--pep .tip__cta { color: #fff; }

/* ---------- evaluate ---------- */
.pips { display: flex; justify-content: center; gap: 10px; margin: 0 0 18px; }
.pip svg { display: block; width: 30px; height: 30px; fill: #fff; stroke: var(--rose); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.pip.is-current svg { animation: beat 1.1s ease-in-out infinite; }
@keyframes beat { 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } 60% { transform: scale(1); } }
.pip.is-good svg { fill: var(--rose); animation: bump .6s var(--spring); }
.pip.is-bad svg { fill: #e6d6d8; stroke: #b69a9f; animation: crack .5s; }
@keyframes crack { 30% { transform: rotate(-18deg) scale(.8); } 60% { transform: rotate(10deg); } }
.qstage { perspective: 1400px; }
.qcard { position: relative; padding: clamp(22px, 5vw, 44px); border-radius: 34px; background: #fff; box-shadow: 0 40px 80px -40px rgba(95, 2, 31, .45); }
.qcard.is-entering { animation: flipIn .8s var(--spring) both; }
.qcard.is-leaving { animation: flipOut .28s cubic-bezier(.7, 0, .84, 0) forwards; }
@keyframes flipIn { from { opacity: 0; transform: rotateY(-70deg) translateX(40px); } }
@keyframes flipOut { to { opacity: 0; transform: rotateY(60deg) translateX(-40px); } }
.qcard__q { margin: 12px 0 6px; font: 400 clamp(1.35rem, 3.6vw, 2.1rem)/1.25 var(--serif); letter-spacing: -.01em; }
.answers { display: grid; gap: 12px; margin: 18px 0; }
.ans {
	position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 22px;
	background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer;
	transition: transform .45s var(--spring), box-shadow .25s, background-color .3s;
	animation: ansIn .6s var(--spring) both; animation-delay: calc(var(--i) * 80ms + 200ms);
}
@keyframes ansIn { from { opacity: 0; translate: 0 20px; scale: .95; } }
.ans:hover { transform: translateX(6px); }
.ans input { position: absolute; opacity: 0; pointer-events: none; }
.ans__letter { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); font: 800 .95rem/1 var(--sans); color: var(--crimson); transition: background-color .3s, color .3s, transform .5s var(--spring); }
.ans__text { flex: 1; font-weight: 600; line-height: 1.45; }
.ans__mark { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; opacity: 0; transform: scale(.3); transition: opacity .3s, transform .5s var(--spring); }
.ans__mark .ic { width: 18px; height: 18px; stroke-width: 3; }
.ans.is-selected { background: #fff; box-shadow: inset 0 0 0 2px var(--rose), var(--shadow); transform: translateX(8px) rotate(-.4deg); }
.ans.is-selected .ans__letter { background: var(--rose); color: #fff; transform: rotate(-10deg) scale(1.08); }
.ans input:focus-visible ~ .ans__letter { outline: 3px solid var(--rose); outline-offset: 3px; }
.answers.is-locked .ans { cursor: default; }
.answers.is-locked .ans:hover { transform: none; }
.ans.is-right { background: #fff0f1; box-shadow: inset 0 0 0 2px var(--rose); }
.ans.is-right .ans__mark { opacity: 1; transform: none; background: var(--rose); }
.ans.is-wrong { background: #f3eced; box-shadow: inset 0 0 0 2px #b69a9f; }
.ans.is-wrong .ans__letter { background: #8b6770; color: #fff; }
.ans.is-wrong .ans__mark { opacity: 1; transform: none; background: #8b6770; }
.ans.is-wrong .ans__text { text-decoration: line-through; text-decoration-color: rgba(139, 103, 112, .6); }
.verdict { position: relative; margin: 14px 0 18px; padding-top: 12px; }
.verdict .coach { margin: 0; }
.verdict__stamp { position: absolute; right: 4px; top: -14px; z-index: 2; padding: 6px 16px; border: 3px solid; border-radius: 14px; background: rgba(255, 255, 255, .92); font: 800 1.1rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; animation: stamp .55s var(--spring) both; }
.verdict__stamp.good { color: var(--crimson); rotate: 8deg; }
.verdict__stamp.bad { color: var(--muted); rotate: -8deg; }
@keyframes stamp { from { opacity: 0; transform: scale(2.6) rotate(-20deg); } }
.qcard__actions { display: flex; justify-content: flex-end; gap: 10px; }
.qcard--intro, .qcard--result { display: grid; justify-items: center; gap: 12px; text-align: center; }
.qcard--intro .h-section { margin: 0; }
.qcard__big { font: 400 clamp(5rem, 18vw, 9rem)/.9 var(--serif); letter-spacing: -.04em; color: var(--rose); animation: float 4s ease-in-out infinite; }
.dial { position: relative; width: min(56vw, 220px); aspect-ratio: 1; }
.dial svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.dial__track { fill: none; stroke: var(--blush); stroke-width: 10; }
.dial__arc { fill: none; stroke: var(--rose); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.dial__num { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 34%; font: 400 clamp(3rem, 12vw, 4.6rem)/1 var(--serif); }
.dial__num span { font-size: .4em; color: var(--muted); }

/* ---------- rate / share ---------- */
.stars { display: flex; justify-content: center; gap: clamp(4px, 2vw, 14px); margin: 12px 0 30px; }
.star { width: clamp(48px, 13vw, 68px); height: clamp(48px, 13vw, 68px); padding: 0; border: 0; background: none; transition: transform .45s var(--spring); }
.star svg { width: 100%; height: 100%; fill: #fff; stroke: var(--rose); stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 8px 12px rgba(197, 34, 51, .25)); transition: fill .25s; }
.star.on svg { fill: var(--rose); }
.star.lit { transform: translateY(-8px) rotate(-8deg) scale(1.12); }
.star.boing { animation: boing .7s var(--spring); }
@keyframes boing { 30% { transform: scale(1.45) rotate(20deg); } 60% { transform: scale(.9); } }
.share-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.share-grid .btn { width: 100%; }
.about .welcome__logo { width: min(100%, 380px); margin-bottom: 12px; }

/* ---------- premium ---------- */
.premium__icon { display: block; width: 120px; height: 120px; margin: 0 0 8px; animation: float 4s ease-in-out infinite; }
.premium .card { margin-top: 8px; }
.apps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.appcard {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 180px; padding: 24px; border-radius: 28px; overflow: hidden; color: #fff; text-decoration: none;
	transform-style: preserve-3d; transition: transform .6s var(--out); box-shadow: var(--shadow);
}
.appcard__bg { position: absolute; inset: -20px; background: center/cover; transition: transform .6s var(--out); }
.appcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(95, 2, 31, .85), rgba(237, 92, 109, .25)); }
.appcard h3 { position: relative; z-index: 1; margin: 0; font: 600 clamp(1.5rem, 4vw, 2rem)/1.05 var(--serif); }
.appcard img { position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 20px 30px -12px rgba(0, 0, 0, .5); transform: translateZ(40px); }
.premium-ok { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--gold-soft); color: #8a6420; font-weight: 800; }

@media (max-width: 640px) {
	:root { --bar-h: 58px; }
	.bar__title { font-size: 1rem; }
	.bar__icon { width: 34px; height: 34px; }
	.coach__avatar { width: 46px; height: 46px; }
	.tabs { border-radius: 26px; }
	.tabs__blob, .tabs__drop { border-radius: 20px; }
	.tab { flex-direction: column; gap: 4px; min-height: 64px; padding: 0 4px; border-radius: 20px; font-size: .68rem; text-align: center; }
	.tips { padding: 0 16px 18px; }
	.share-grid { grid-template-columns: 1fr; }
	.genders { gap: 10px; }
	.gcard img { width: 68px; height: 68px; }
	.form__actions .btn { padding: 0 20px; }
	.page__hero { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.welcome__logo { clip-path: none; }
	.tabs__drop { display: none; }
}
