/**
 * Link-in-bio pages (theme 1.243.0): design handoff-link-in-bio.
 *
 * Pages A, B and C (/{handle}/bio), D (/curator/{handle}/) and E
 * (/collection/{token}/). Mobile first at 375px; on a wider screen the
 * page stays one column, centred, as a phone-width card. Every class is
 * prefixed phb- so nothing here reaches the rest of the site, and the
 * resets use :where() so they never outrank a component rule.
 *
 * @package PlanHeavyTheme
 */

body.phb-body { margin: 0; background: #ece8f0; }
.phb {
	--pink: var(--ph-color-primary, #e8568a); --pink-d: #c93d70; --pink-s: #fde8f0;
	--pd: #45356b; --pu: #6c4fa8; --ps: #c2a0f3;
	--gold: #a06a0a; --gold-s: #fdf3e0;
	--ink: #1d1a24; --ink2: #57526a; --ink3: #8d889c; --line: #e6e1ec; --bg: #f7f4f9;
	--open: #2b8a5a; --open-s: #e6f4ec; --shut: #b5475a;
	--ac: var(--pink); --ac-d: var(--pink-d); --ac-s: var(--pink-s);
	--r-md: 14px; --r-lg: 22px; --r-pill: 999px;
	--sh: 0 1px 2px rgba(29, 26, 36, .06), 0 4px 14px rgba(29, 26, 36, .06);
	--lift: 0 10px 30px rgba(69, 53, 107, .18);
	position: relative; max-width: 480px; min-height: 100vh; margin: 0 auto; overflow-x: hidden;
	background: var(--bg); color: var(--ink);
	font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 15px; line-height: 1.5;
	box-sizing: border-box;
}
/* The four modes tint the accent only. */
.phb.mode-vegan { --ac: #2f7d4f; --ac-d: #22603c; --ac-s: #e3f3e8; }
.phb.mode-halal { --ac: #12756f; --ac-d: #0d5a55; --ac-s: #e6f2f1; }
.phb.mode-accessible { --ac: #1d6f9c; --ac-d: #155677; --ac-s: #e9f2f8; }
.phb.mode-family { --ac: #a56a12; --ac-d: #82530e; --ac-s: #fbf2e2; }
:where(.phb) *, :where(.phb) *::before, :where(.phb) *::after { box-sizing: border-box; }
:where(.phb) h1, :where(.phb) h2, :where(.phb) h3, :where(.phb) p { margin: 0; }
:where(.phb) a { color: inherit; text-decoration: none; }
:where(.phb) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: center; }
:where(.phb) [hidden] { display: none !important; }
@media (min-width: 520px) {
	.phb { box-shadow: var(--lift); }
}

/* ── Shared ─────────────────────────────────────────────────────── */
.phb-av { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, var(--ps), var(--pu)) center / cover no-repeat; color: #fff; display: grid; place-items: center; font-size: 32px; font-weight: 800; border: 4px solid #fff; box-shadow: var(--lift); flex-shrink: 0; }
.phb-av[style] { background-size: cover; }
.phb-av.is-sm { width: 56px; height: 56px; font-size: 21px; border-width: 3px; }
.phb-av.is-xs { width: 30px; height: 30px; font-size: 12px; border-width: 2px; box-shadow: none; }
.phb-av.is-gold { box-shadow: 0 0 0 3px #e9c46a, var(--lift); animation: phb-glow 2.6s ease-in-out infinite; }
.phb-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 800; white-space: nowrap; }
.phb-b-gold { background: var(--gold-s); color: var(--gold); }
.phb-b-plain { background: #fff; color: var(--ink2); border: 1px solid var(--line); }
.phb-b-ins { background: var(--pd); color: #fff; }
.phb-h { font-size: 21px; font-weight: 800; letter-spacing: -.3px; line-height: 1.25; }
.phb-bio { font-size: 13.5px; color: var(--ink2); line-height: 1.5; text-wrap: pretty; }
.phb-th { background: linear-gradient(140deg, #7d5440, #e0a35c) center / cover no-repeat; }
.phb-lk { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 12px; align-items: center; min-height: 64px; padding: 8px 14px 8px 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; text-align: left; transition: transform .15s ease, background .2s, border-color .2s, color .2s, box-shadow .2s; }
.phb-lk .phb-th { width: 44px; height: 44px; border-radius: 12px; }
.phb-lk b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.25; }
.phb-lk small { display: block; font-size: 12px; color: var(--ink3); margin-top: 2px; font-weight: 600; }
.phb-ar { color: var(--ink3); font-size: 18px; font-weight: 800; }
.phb-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; border-radius: 18px; background: var(--ac); color: #fff; font-weight: 800; font-size: 15px; padding: 0 16px; transition: transform .15s ease, background .2s, border-color .2s, color .2s, box-shadow .2s; }
.phb-cta small { font-weight: 600; opacity: .85; font-size: 12px; }
.phb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); font-weight: 800; font-size: 13.5px; white-space: nowrap; transition: transform .15s ease, background .2s, border-color .2s, color .2s, box-shadow .2s; }
.phb-bp { background: var(--ac); color: #fff; }
.phb-bg { border: 1.5px solid var(--line); background: #fff; }
.phb-bw { background: #fff; color: var(--pd); }
.phb-bgl { background: rgba(255, 255, 255, .16); border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; }
.phb-btn.is-saved { background: var(--ac-s); color: var(--ac-d); border-color: var(--ac); }
.phb-btn.is-fol { background: var(--ac-s); color: var(--ac-d); }
.phb-btn.is-ok { background: var(--open); color: #fff; }
.phb-lbl { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; margin: 26px 0 10px; }
.phb-lbl a, .phb-more { font-size: 12px; color: var(--ac-d); display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin: -13px -4px; font-weight: 800; }
.phb-ext { display: flex; justify-content: center; gap: 10px; }
.phb-ext a { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink2); transition: transform .15s ease, background .2s, border-color .2s, color .2s, box-shadow .2s; }
.phb-ext svg { width: 19px; height: 19px; }
.phb-mt10 { margin-top: 10px; }
.phb-pow { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: var(--ink3); padding: 22px 0 30px; }
.phb-pow b { font-style: italic; font-weight: 800; color: var(--ink); letter-spacing: -.3px; }
.phb-pow b i { color: var(--pink); font-style: normal; }
.phb-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); background: #fff; border: 1.5px solid var(--line); font-size: 13px; font-weight: 700; white-space: nowrap; flex-shrink: 0; transition: transform .15s ease, background .2s, border-color .2s, color .2s, box-shadow .2s; }
.phb-chip.is-on { background: var(--ac); border-color: var(--ac); color: #fff; }
.phb-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.phb-dot--vegan { color: #2f7d4f; } .phb-dot--halal { color: #12756f; } .phb-dot--accessible { color: #1d6f9c; } .phb-dot--family { color: #a56a12; }
.phb-chip.is-on .phb-dot { color: #fff; }
.phb-open { color: var(--open); font-weight: 700; }
.phb-shut { color: var(--shut); font-weight: 700; }
.phb-diet { color: #2f7d4f; font-weight: 800; }
.phb-open::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: 1px; animation: phb-pulse 1.8s ease-in-out infinite; }
.phb-empty { font-size: 13px; color: var(--ink3); padding: 6px 2px; }

/* Video tiles: a slow drift as a silent preview, never sound. */
.phb-vid { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; color: #fff; text-align: left; background: #3a3f55 center / 220% auto no-repeat; animation: phb-kb 7s ease-in-out infinite alternate; transition: transform .15s ease; }
.phb-vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0, 0, 0, .65)); }
.phb-vid__mu { position: absolute; top: 8px; right: 8px; z-index: 1; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .35); display: grid; place-items: center; }
.phb-vid__mu svg { width: 13px; height: 13px; }
.phb-vid__cp { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; font-size: 12.5px; font-weight: 800; line-height: 1.25; }
.phb-vid__cp span { display: block; font-size: 10.5px; font-weight: 600; opacity: .85; margin-top: 3px; }

/* A place row. */
.phb-lc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px; align-items: center; background: #fff; border-radius: var(--r-md); padding: 10px; box-shadow: var(--sh); text-align: left; transition: transform .15s ease, background .2s, border-color .2s, color .2s, box-shadow .2s; }
.phb-lc__main { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; }
.phb-lc .phb-th { width: 68px; height: 68px; border-radius: 11px; position: relative; }
.phb-ml { display: none; position: absolute; bottom: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%; background: var(--ac); border: 2px solid #fff; place-items: center; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }
.phb.mode-vegan .phb-lc[data-modes~="vegan"] .phb-ml, .phb.mode-halal .phb-lc[data-modes~="halal"] .phb-ml, .phb.mode-accessible .phb-lc[data-modes~="accessible"] .phb-ml, .phb.mode-family .phb-lc[data-modes~="family"] .phb-ml { display: grid; }
.phb.mode-vegan .phb-ml::after { content: "V"; } .phb.mode-halal .phb-ml::after { content: "H"; } .phb.mode-accessible .phb-ml::after { content: "A"; } .phb.mode-family .phb-ml::after { content: "F"; }
.phb-lc b { display: block; font-size: 14.5px; font-weight: 800; }
.phb-lc q { display: block; font-size: 12.5px; color: var(--ink2); margin-top: 1px; quotes: "\201C" "\201D"; }
.phb-mt { display: flex; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink3); margin-top: 4px; }
.phb-lc.is-more { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; opacity: .75; width: 100%; }
.phb-hrt { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink3); transition: transform .15s ease, background .2s, border-color .2s, color .2s, box-shadow .2s; }
.phb-hrt svg { width: 20px; height: 20px; }
.phb-hrt.is-on { color: var(--ac); }
.phb-hrt.is-on svg path { fill: currentColor; }

/* Plan card. */
.phb-pc { display: block; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--sh); text-align: left; transition: transform .15s ease, background .2s, border-color .2s, color .2s, box-shadow .2s; }
.phb-pc__im { display: block; height: 150px; position: relative; background: linear-gradient(140deg, #3e2d63, #c75b8a) center / cover no-repeat; }
.phb-tg { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ac-d); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: var(--r-pill); }
.phb-st { position: absolute; top: 12px; right: 12px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); }
.phb-pc__bd { display: block; padding: 14px 16px 16px; }
.phb-pc h2, .phb-pc__h { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.3px; line-height: 1.25; }
.phb-ds { display: block; font-size: 13px; color: var(--ink2); margin-top: 2px; }
.phb-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.phb-stops { display: grid; margin-top: 12px; border-top: 1px solid var(--line); }
.phb-stop { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 44px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.phb-stop:last-child { border-bottom: 0; }
.phb-stop em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--ink3); }
.phb-stop b { font-size: 13.5px; color: var(--ink); }
.phb-sub { font-size: 12px; color: var(--ink3); }
.phb-stop .phb-open, .phb-stop .phb-shut { font-size: 12px; }
.phb-walk { display: block; font-size: 11px; color: var(--ink3); padding: 2px 0 2px 64px; font-weight: 700; }

/* ── A ──────────────────────────────────────────────────────────── */
.phb-va { padding: 44px 18px 0; text-align: center; background: linear-gradient(175deg, #f3e8f3 0%, var(--bg) 30%); min-height: 100vh; }
.phb-va .phb-av { margin: 0 auto; }
.phb-va .phb-h { margin-top: 12px; }
.phb-va .phb-badge { margin-top: 8px; }
.phb-va .phb-bio { max-width: 300px; margin: 10px auto 0; }
.phb-stack { display: grid; gap: 10px; margin-top: 24px; }
.phb-va .phb-ext { margin-top: 26px; }

/* ── B ──────────────────────────────────────────────────────────── */
.phb-vb__top { display: flex; align-items: center; gap: 12px; padding: 22px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.phb-vb__top .phb-h { font-size: 17px; }
.phb-vb__body { padding: 16px; display: grid; gap: 12px; }
.phb-offer { border: 2px dashed var(--ac); background: var(--ac-s); border-radius: var(--r-md); padding: 14px 16px; text-align: left; display: grid; gap: 10px; }
.phb-offer__t { display: flex; gap: 10px; align-items: center; }
.phb-offer__t .phb-th { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.phb-offer b { font-size: 14.5px; }
.phb-offer small { display: block; font-size: 12px; color: var(--ink2); }
.phb-code { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border-radius: var(--r-pill); padding: 5px 5px 5px 16px; font-weight: 800; letter-spacing: 1.5px; font-size: 14px; }
.phb-code .phb-btn { letter-spacing: 0; }
.phb-ref { background: var(--pd); color: #fff; border-radius: 18px; padding: 18px; text-align: left; position: relative; overflow: hidden; }
.phb-ref::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(194, 160, 243, .18); }
.phb-ref b { font-size: 16px; }
.phb-ref p { font-size: 13px; opacity: .85; margin-top: 4px; max-width: 260px; }
.phb-ref .phb-btn { margin-top: 14px; width: 100%; position: relative; z-index: 1; }

/* ── C ──────────────────────────────────────────────────────────── */
.phb-c { background: #121016; }
.phb-vc { background: #121016; color: #fff; min-height: 100vh; }
.phb-vc__top { padding: 26px 16px 14px; text-align: center; }
.phb-vc__top .phb-av { margin: 0 auto; border-color: #121016; }
.phb-vc__top .phb-h { margin-top: 10px; }
.phb-vc__top .phb-badge { margin-top: 6px; }
.phb-vc__top .phb-bio { color: rgba(255, 255, 255, .7); max-width: 280px; margin: 8px auto 0; }
.phb-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 16px 12px; background: rgba(255, 255, 255, .08); border-radius: var(--r-pill); padding: 4px; }
.phb-tabs button { min-height: 40px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.phb-tabs button.is-on { background: #fff; color: var(--ink); }
.phb-pane { display: grid; gap: 8px; padding: 0 10px; }
.phb-vgrid { grid-template-columns: 1fr 1fr; gap: 6px; }
.phb-vgrid .phb-vid.is-big { grid-column: span 2; aspect-ratio: 16 / 11; }
.phb-vgrid .phb-empty { grid-column: span 2; }
.phb-vc .phb-empty { color: rgba(255, 255, 255, .6); }
.phb-foot { padding: 18px 16px 0; display: grid; gap: 12px; }
.phb-vc .phb-ext a { background: transparent; border-color: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .8); }
.phb-vc .phb-pow { color: rgba(255, 255, 255, .5); }
.phb-vc .phb-pow b { color: #fff; }
.phb-vc .phb-lk { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: #fff; }
.phb-vc .phb-lk small, .phb-vc .phb-ar { color: rgba(255, 255, 255, .6); }
.phb-vc .phb-lc { background: rgba(255, 255, 255, .07); box-shadow: none; color: #fff; }
.phb-vc .phb-lc q { color: rgba(255, 255, 255, .7); }
.phb-vc .phb-mt { color: rgba(255, 255, 255, .55); }
.phb-vc .phb-hrt { color: rgba(255, 255, 255, .6); }

/* ── D ──────────────────────────────────────────────────────────── */
.phb-vd__hero { background: linear-gradient(160deg, var(--pd), var(--pu)); color: #fff; padding: 30px 16px 22px; }
.phb-vd__id { display: flex; gap: 14px; align-items: center; }
.phb-vd__id .phb-av { border-color: rgba(255, 255, 255, .35); }
.phb-vd__id .phb-av:not(.is-gold) { box-shadow: none; }
.phb-vd__id .phb-badge { margin-top: 4px; }
.phb-vd__hero .phb-bio { color: rgba(255, 255, 255, .88); margin-top: 12px; }
.phb-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 10px 0; text-align: center; }
.phb-stats b { display: block; font-size: 17px; }
.phb-stats span { font-size: 11px; opacity: .75; }
.phb-vd__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.phb-modes { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.phb-modes::-webkit-scrollbar { display: none; }
.phb-band { background: var(--ac); color: #fff; padding: 12px 16px; font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 10px; line-height: 1.35; }
.phb-band .phb-btn { background: #fff; color: var(--ac-d); flex-shrink: 0; }
.phb-sec { padding: 0 16px; }
.phb-rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
.phb-rail::-webkit-scrollbar { display: none; }
.phb-rail .phb-vid { width: 128px; flex-shrink: 0; }
.phb-list { display: grid; gap: 8px; }
.phb-d .phb-ext { margin-bottom: 4px; }

/* ── E ──────────────────────────────────────────────────────────── */
.phb-ve__cover { height: 200px; position: relative; background: linear-gradient(140deg, #23503a, #e8568a) center / cover no-repeat; }
.phb-ve__cover .phb-badge { position: absolute; top: 16px; left: 16px; }
.phb-n { position: absolute; bottom: 58px; right: 16px; font-size: 11.5px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, .35); padding: 4px 10px; border-radius: var(--r-pill); }
.phb-ve__card { margin: -44px 16px 0; background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: var(--lift); position: relative; }
.phb-ve__card h1 { font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -.4px; text-wrap: balance; }
.phb-ve__card .phb-bio { margin-top: 6px; }
.phb-own { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--ink2); }
.phb-ve__card .phb-acts { grid-template-columns: 1fr 1.4fr; }
.phb-ve__body { padding: 16px; display: grid; gap: 8px; }
.phb-join { margin: 4px 16px 0; background: var(--ac-s); border-radius: 18px; padding: 18px; }
.phb-join b { font-size: 15.5px; }
.phb-join p { font-size: 13px; color: var(--ink2); margin-top: 4px; }
.phb-join .phb-btn { width: 100%; margin-top: 12px; }

/* ── The top bar, the message, the join sheet, the player ────────── */
.phb-mini { position: fixed; top: 0; left: 50%; width: 100%; max-width: 480px; transform: translate(-50%, -100%); display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: transform .3s cubic-bezier(.2, .8, .2, 1); z-index: 20; }
.phb-mini.is-show { transform: translate(-50%, 0); }
.admin-bar .phb-mini { top: 32px; }
.phb-mini.is-dark { background: rgba(18, 16, 22, .9); color: #fff; border-color: rgba(255, 255, 255, .1); }
.phb-mini__av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--ps), var(--pu)) center / cover no-repeat; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.phb-mini b { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phb-toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; padding: 10px 16px; border-radius: var(--r-pill); white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; pointer-events: none; transition: .3s cubic-bezier(.2, .8, .2, 1); z-index: 60; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.phb-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.phb-sbd { position: fixed; inset: 0; background: rgba(22, 24, 31, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; z-index: 40; }
.phb-sbd.is-on { opacity: 1; }
.phb-sheet { position: fixed; left: 50%; bottom: 0; width: 100%; max-width: 480px; background: #fff; border-radius: 24px 24px 0 0; padding: 10px 20px calc(26px + env(safe-area-inset-bottom)); transform: translate(-50%, 100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); z-index: 41; }
.phb-sheet.is-on { transform: translate(-50%, 0); }
.phb-grab { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 12px; }
.phb-sx { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); font-size: 13px; }
.phb-sheet h3 { font-size: 20px; font-weight: 800; letter-spacing: -.4px; padding-right: 48px; }
.phb-sheet p { font-size: 13.5px; color: var(--ink2); margin-top: 4px; }
.phb-applied { display: flex; gap: 10px; align-items: center; background: var(--open-s); border-radius: 14px; padding: 10px 12px; margin-top: 14px; }
.phb-tick { width: 28px; height: 28px; border-radius: 50%; background: var(--open); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.phb-applied b { display: block; font-size: 13.5px; }
.phb-applied small { font-size: 12px; color: var(--ink2); }
.phb-sheet label { display: block; font-size: 12.5px; font-weight: 800; margin-top: 14px; }
.phb-sheet input { display: block; width: 100%; margin-top: 6px; min-height: 48px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; font: inherit; font-size: 16px; }
.phb-sheet input:focus { outline: none; border-color: var(--ac); }
.phb-go { width: 100%; min-height: 52px; margin-top: 12px; font-size: 15px; }
.phb-fine { text-align: center; font-size: 12px; color: var(--ink3); }
.phb-vp { position: fixed; inset: 0; background: #000; z-index: 45; opacity: 0; transform: scale(.96); transition: .28s cubic-bezier(.2, .8, .2, 1); color: #fff; }
.phb-vp.is-on { opacity: 1; transform: none; }
.phb-vp__stage { position: absolute; inset: 0; }
.phb-vp__stage video, .phb-vp__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.phb-vp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .35), transparent 25%, transparent 55%, rgba(0, 0, 0, .75)); pointer-events: none; }
.phb-vp__bar { position: absolute; top: 12px; left: 12px; right: 12px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); z-index: 2; overflow: hidden; }
.phb-vp__bar i { display: block; height: 100%; width: 0; background: #fff; }
.phb-vp.is-iframe .phb-vp__bar, .phb-vp.is-iframe .phb-vp__m { display: none; }
.phb-vp__x { position: absolute; top: 24px; right: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; z-index: 2; }
.phb-vp__m { position: absolute; top: 24px; left: 12px; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); background: rgba(0, 0, 0, .35); color: #fff; font-size: 12.5px; font-weight: 700; z-index: 2; }
.phb-vp__m svg { width: 16px; height: 16px; }
.phb-vp__m.is-snd { background: #fff; color: var(--ink); }
.phb-vp__i { position: absolute; left: 16px; right: 16px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 2; }
.phb-vp__i b { display: block; font-size: 19px; font-weight: 800; line-height: 1.25; }
.phb-vp__i span { display: block; font-size: 12.5px; opacity: .85; margin-top: 4px; }
.phb-vp__a { display: grid; grid-template-columns: 1fr 52px; gap: 8px; margin-top: 14px; }
.phb-vp__a .phb-hrt { width: 52px; height: 44px; border-radius: var(--r-pill); color: #fff; }

/* ── Motion ─────────────────────────────────────────────────────── */
@keyframes phb-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.phb-rise { animation: phb-rise .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes phb-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.phb-fade { animation: phb-fade .35s ease both; }
@keyframes phb-pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.phb-pop { animation: phb-pop .35s ease; }
@keyframes phb-glow { 0%, 100% { box-shadow: 0 0 0 3px #e9c46a, var(--lift); } 50% { box-shadow: 0 0 0 6px rgba(233, 196, 106, .45), var(--lift); } }
@keyframes phb-kb { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }
@keyframes phb-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* Each pressable thing carries the same transition in its own rule above. */
.phb-lk:active, .phb-lc:active, .phb-pc:active, .phb-btn:active, .phb-cta:active, .phb-vid:active, .phb-chip:active, .phb-hrt:active { transform: scale(.97); }
.phb-lk:hover { border-color: var(--ac); }
.phb :focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.phb *, .phb *::before, .phb *::after { animation: none !important; transition: none !important; }
}

/* The example page's note (theme 1.247.1): Ruby is made up, and says so. */
.phb-example { margin: 12px 16px 0; padding: 12px 14px; border-radius: 14px; background: #fff7e6; color: #5c4210; font-size: 13px; line-height: 1.5; }
.phb-example b { display: block; color: #3d2c08; }
.phb-example a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: #c9376e; }

/* ── v3 curator page (theme 1.267.0) ────────────────────────────────
   The same .phb root, so every component and colour above applies, but
   full width inside the site's header and footer instead of a phone
   card. */
.phb.phb-cp { max-width: none; min-height: 0; overflow: visible; background: #fff; }
.phcp-in { max-width: 1200px; margin: 0 auto; padding: 0 24px 48px; }
.phcp-crumb { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 12px; font-size: 12.5px; color: var(--ink3); }
.phcp-crumb a { color: var(--ink2); font-weight: 600; text-decoration: none; }
.phcp-cover { height: 220px; border-radius: 22px; background: linear-gradient(135deg, var(--pd), var(--pu) 55%, var(--ps)); }
.phcp-head { position: relative; padding: 0 4px; margin-top: -54px; }
.phb .phcp-av { width: 108px; height: 108px; border: 4px solid #fff; font-size: 34px; box-shadow: var(--sh); }
.phcp-btns { position: absolute; right: 4px; top: 66px; display: flex; gap: 8px; }
.phcp-id { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.phcp-id .phb-h { font-size: 30px; letter-spacing: -.8px; margin: 0; }
.phcp-who { margin: 4px 0 0; font-size: 13.5px; color: var(--ink2); }
.phcp-head .phb-bio { max-width: 620px; margin: 10px 0 0; }
.phb .phcp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 120px)); gap: 10px; margin-top: 16px; }
.phb .phcp-stats > div { background: var(--bg); border-radius: var(--r-md); padding: 10px 12px; text-align: left; }
.phcp-note { margin: 12px 0 0; font-size: 12.5px; color: var(--ink3); }
.phcp-band { margin-top: 18px; border-radius: var(--r-md); }
.phcp-pg { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; margin-top: 24px; }
.phcp-modes { margin: 0 0 14px; }
.phcp-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.phcp-tabs button { flex: none; padding: 12px 12px; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--ink2); cursor: pointer; }
.phcp-tabs button em { font-style: normal; font-size: 12px; color: var(--ink3); }
.phcp-tabs button.is-on { color: var(--ink); border-bottom-color: var(--pink); }
.phcp-h2 { margin: 0 0 12px; font-size: 19px; font-weight: 800; letter-spacing: -.3px; }
.phcp-panel + .phcp-panel { margin-top: 28px; }
.phcp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.phcp-vids { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.phcp-side { display: grid; gap: 14px; }
.phcp-sc { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: #fff; }
.phcp-sc h3 { margin: 0 0 10px; font-size: 14px; font-weight: 800; }
.phcp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.phcp-chips span { padding: 6px 11px; border-radius: var(--r-pill); background: var(--bg); font-size: 12.5px; font-weight: 700; }
.phcp-lib { background: var(--pink-s); border-color: transparent; }
.phcp-lib p { margin: 0; font-size: 13px; color: var(--ink2); }
.phcp-lib code { display: block; margin: 10px 0; padding: 8px 10px; border-radius: 10px; background: #fff; font-size: 12.5px; color: var(--pink-d); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phcp-lib .phb-btn { width: 100%; justify-content: center; }
.phcp-oc { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--ink); text-decoration: none; }
.phcp-oc img { flex: none; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.phcp-oc i { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--pd); color: #fff; font-style: normal; font-weight: 800; }
.phcp-oc b { display: block; font-size: 13.5px; }
.phcp-oc small { font-size: 12px; color: var(--ink2); }
.phcp-fine { margin: 0; font-size: 12.5px; color: var(--ink3); }
.phcp-fine a { color: var(--pink-d); font-weight: 700; }
@media (max-width: 960px) {
	.phcp-pg { grid-template-columns: minmax(0, 1fr); }
	.phcp-vids { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.phcp-in { padding: 0 16px 32px; }
	.phcp-cover { height: 140px; border-radius: 16px; }
	.phcp-btns { position: static; margin-top: 12px; }
	.phb .phcp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.phcp-grid { grid-template-columns: minmax(0, 1fr); }
	.phcp-vids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── v3 link-in-bio, /@{handle} (theme 1.270.0) ──────────────────────
   One column on a phone; on a computer the profile, search and modes on
   the left (sticky) and the plans, videos and favourites on the right. */
.phb.phb-v3 { max-width: none; min-height: 0; background: #fff; overflow: visible; }
.plv { max-width: 560px; margin: 0 auto; padding: 0 16px 40px; color: var(--ink); }
.plv-example { margin: 12px 0 0; }
.plv-cv { height: 150px; margin: 0 -16px; background: linear-gradient(135deg, #2a1b4d, #45356b 60%, #6c4fa8); }
.plv-id { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 12px; margin-top: -38px; }
.plv-av { flex: none; width: 80px; height: 80px; border-radius: 50%; border: 4px solid #fff; background: #2b2f3c center / cover no-repeat; color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 800; box-shadow: 0 4px 14px rgba(29, 26, 36, .15); }
.plv-av.is-gold { border-color: #fff; box-shadow: 0 0 0 3px #e0a638; }
.plv-fl { margin-left: auto; display: flex; gap: 8px; transform: translateY(6px); }
/* Compact pills, clear of the purple band (v3, ewd). */
.plv-fl .plv-b { height: 34px; padding: 0 14px; font-size: 13px; }
.plv-b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 800; white-space: nowrap; cursor: pointer; text-decoration: none; }
.plv-b--p { background: var(--pink); border: 0; color: #fff; }
.plv-b--p:hover { background: var(--pink-d); color: #fff; }
.plv-b--p.is-on { background: var(--ink); }
.plv-b--o { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.plv-b--o.is-saved { border-color: var(--pink); color: var(--pink-d); }
.plv-b--sm { height: 32px; padding: 0 12px; font-size: 12.5px; }
.plv-h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -.6px; }
.plv-gold { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; background: #e0a638; color: var(--ink); border-radius: 999px; padding: 4px 8px; }
.plv-ab { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
.plv-sts { display: flex; gap: 20px; margin-top: 12px; }
.plv-sts b { display: block; font-size: 17px; font-weight: 800; }
.plv-sts small { font-size: 12px; color: var(--ink2); }
.plv-srch { display: flex; align-items: center; gap: 10px; height: 46px; margin-top: 16px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink2); }
.plv-srch input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.plv-modes { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.plv-modes button { flex: none; display: flex; align-items: center; gap: var(--pill-gap, 6px); height: var(--pill-h, 32px); padding: var(--pill-pad, 0 11px); border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: var(--pill-fs, 12.5px); font-weight: var(--pill-fw, 700); color: var(--mc, var(--ink)); cursor: pointer; }
.plv-modes button i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.plv-modes button.is-on { border-color: var(--mc, #1f7a4d); background: #e8f4ed; color: var(--mc, #1f7a4d); }
.plv-join { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border-radius: 16px; background: var(--pink-s); }
.plv-join b { display: block; font-size: 14px; }
.plv-join small { font-size: 12.5px; color: var(--ink2); }
.plv-join .plv-b { margin-left: auto; height: 42px; }
.plv-lbl { margin: 26px 0 10px; font-size: 16px; font-weight: 800; }
.plv-pc { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.plv-pc__im { position: relative; display: block; height: 170px; background: #3e2d63 center / cover no-repeat; }
.plv-tg { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(22, 24, 31, .78); color: #fff; font-size: 11.5px; font-weight: 700; }
.plv-st { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 11.5px; font-weight: 800; }
.plv-pc__bd { padding: 14px 16px 16px; }
.plv-pc h3 { margin: 0; font-size: 18px; font-weight: 800; }
.plv-pc h3 a { color: inherit; text-decoration: none; }
.plv-ds { margin: 4px 0 0; font-size: 13.5px; color: var(--ink2); }
.plv-stops { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.plv-stop { display: grid; grid-template-columns: 52px 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.plv-stop em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--pink-d); text-transform: uppercase; }
.plv-stop i { width: 36px; height: 36px; border-radius: 9px; background: #3a3f55 center / cover no-repeat; }
.plv-stop a { min-width: 0; color: var(--ink); text-decoration: none; }
.plv-stop b { display: block; font-size: 14px; }
.plv-stop small { font-size: 12px; color: var(--ink2); }
.plv-wk { padding-left: 62px; font-size: 11.5px; color: var(--ink3); }
.plv-op { font-size: 12px; font-weight: 800; }
.plv-op.is-open { color: var(--open); }
.plv-op.is-soon { color: #a56a12; }
.plv-op.is-shut { color: var(--ink3); }
.plv-lk small .plv-op::before { content: " · "; color: var(--ink3); font-weight: 400; }
.plv-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.plv-acts .plv-b { height: 46px; font-size: 14px; }
.plv-offer { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px; border-radius: 14px; border: 1.5px dashed var(--pink); background: #fff; }
.plv-offer i { flex: none; width: 46px; height: 46px; border-radius: 10px; background: #3a3f55 center / cover no-repeat; }
.plv-offer > div { flex: 1; min-width: 0; }
.plv-offer b { display: block; font-size: 14px; }
.plv-offer small { font-size: 12.5px; color: var(--ink2); }
.plv-plans { display: grid; gap: 8px; }
.plv-lk { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; }
.plv-lk > i, .plv-lk a > i { flex: none; width: 56px; height: 56px; border-radius: 11px; background: #45356b center / cover no-repeat; }
.plv-lk span { flex: 1; min-width: 0; }
.plv-lk b { display: block; font-size: 14.5px; }
.plv-lk small { font-size: 12.5px; color: var(--ink2); }
.plv-lk q { display: block; font-size: 12.5px; color: var(--ink2); font-style: italic; }
.plv-lk > em { font-style: normal; color: var(--ink3); font-size: 18px; }
.plv-lk--pl a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.plv-favs { display: grid; gap: 8px; }
.plv-hrt { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 17px; color: var(--ink2); cursor: pointer; }
.plv-hrt.is-on { color: var(--pink); border-color: var(--pink); }
.plv-vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.plv-vid { position: relative; aspect-ratio: 9 / 14; border: 0; border-radius: 10px; padding: 0; background: #45356b center / cover no-repeat; cursor: pointer; overflow: hidden; }
.plv-vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .65)); }
.plv-vid span { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 1; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.3; text-align: left; }
.plv-none { margin: 16px 0 0; font-size: 13.5px; color: var(--ink2); }
.plv-ext { display: flex; gap: 8px; margin-top: 26px; }
.plv-ext a { flex: 1; display: grid; place-items: center; height: 44px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; }
.plv-pow { margin: 24px 0 0; text-align: center; font-size: 12.5px; color: var(--ink3); }
.plv-pow b { color: #1b3461; font-style: italic; }
.plv-pow a { color: var(--pink-d); font-weight: 700; text-decoration: none; }
@media (min-width: 700px) {
	.plv { max-width: 680px; padding: 0 24px 48px; }
	.plv-cv { margin: 0 -24px; height: 200px; }
	.plv-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.plv { max-width: 1060px; display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; }
	.plv-example { grid-column: 1 / -1; }
	.plv-cv { display: none; }
	.plv-left { position: -webkit-sticky; position: sticky; top: 96px; padding-top: 32px; }
	.plv-id { margin-top: 0; align-items: center; }
	.plv-right { padding-top: 32px; }
	.plv-right > .plv-sec:first-child .plv-lbl { margin-top: 0; }
	.plv-pc__im { height: 200px; }
	.plv-vids { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
