/* A streamer's page (public page and editor canvas share this) */
.llpage {
  --pg-bg: #111; --pg-text: #f8f6f2; --pg-font: "Public Sans", sans-serif;
  --btn-color: #fff; --btn-text: #f8f6f2; --btn-radius: 16px;
  --soft: color-mix(in srgb, var(--pg-text) 9%, transparent);
  --soft-line: color-mix(in srgb, var(--pg-text) 16%, transparent);
  min-height: 100%; background: var(--pg-bg); color: var(--pg-text); font-family: var(--pg-font);
  display: flex; justify-content: center; position: relative; isolation: isolate;
}
.llpage-anim { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.llpage-tint { position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: color; opacity: .32; }
.is-public .llpage-anim, .is-public .llpage-tint { position: fixed; }
.llpage-inner { position: relative; z-index: 1; }

.llpage-inner { width: 100%; max-width: 580px; padding: 56px 20px 28px; display: flex; flex-direction: column; align-items: center; }
/* real pages and the editor preview: always laid out at one phone width, then scaled (see fitWidth in page-render) */
.llpage.fixed-w > .llpage-inner { width: 390px; max-width: none; flex: none; zoom: var(--pz, 1); }

/* header */
.llpage-head { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; padding: 6px 0; border-radius: 18px; }
.llpage-avatar {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex: none;
  display: grid; place-items: center; font-size: 38px; font-weight: 800;
  background: color-mix(in srgb, var(--pg-text) 14%, transparent); box-shadow: 0 12px 30px rgb(0 0 0 / .25);
}
[data-avatar="rounded"] .llpage-avatar { border-radius: 26px; }
[data-avatar="square"] .llpage-avatar { border-radius: 6px; }
.llpage-avatar img { width: 100%; height: 100%; object-fit: cover; }
.llpage-name { margin-top: 14px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; word-break: break-word; }
.llpage-badges { margin-top: 10px; padding: 4px; border-radius: 12px; }
.llpage-bio { margin-top: 10px; font-size: 15px; line-height: 1.45; opacity: .82; max-width: 36ch; white-space: pre-line; }

/* over a moving background the name and bio get a soft shadow so they always read */
.llpage:not([data-anim=""]) .llpage-name, .llpage:not([data-anim=""]) .llpage-bio { text-shadow: 0 1px 2px rgb(0 0 0 / .45), 0 4px 20px rgb(0 0 0 / .55); }
.llpage[data-anim="sakura"] .llpage-name, .llpage[data-anim="sakura"] .llpage-bio { text-shadow: 0 0 2px rgb(255 255 255 / .6), 0 2px 16px rgb(255 240 245 / .9); }

/* blocks */
/* blocks: a sensible column, so buttons don't stretch across a wide screen */
.llpage-blocks { width: 100%; max-width: 440px; margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.llpage-block { position: relative; min-width: 0; border-radius: calc(var(--btn-radius) + 4px); }
.llpage-block.is-hidden { opacity: .35; }

.llpage-link {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 9px 44px; border-radius: var(--btn-radius);
  font-weight: 600; font-size: 14.5px; letter-spacing: -.005em; line-height: 1.25; text-decoration: none; color: var(--btn-text); text-align: center;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), background .2s, filter .2s;
}
.llpage-link img, .llpage-ico { position: absolute; left: 14px; width: 18px; height: 18px; }
.llpage-ico.mono { background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.llpage-link > .llpage-label { display: block; min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.llpage-link[href]:hover { transform: translateY(-1px); }
a.llpage-link[href]:active { transform: scale(.98); }
[data-btn="filled"] .llpage-link { background: var(--btn-color); }
[data-btn="outline"] .llpage-link { border: 1.5px solid color-mix(in srgb, var(--btn-color) 75%, transparent); }
[data-btn="glass"] .llpage-link {
  background: color-mix(in srgb, var(--btn-color) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--btn-color) 14%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
[data-btn="glass"] a.llpage-link[href]:hover { background: color-mix(in srgb, var(--btn-color) 13%, transparent); }
[data-shadow="soft"] .llpage-link { box-shadow: 0 4px 14px rgb(0 0 0 / .18); }
[data-shadow="hard"] .llpage-link { box-shadow: 4px 4px 0 color-mix(in srgb, var(--pg-text) 85%, transparent); }
.llpage-link.highlight { box-shadow: 0 0 0 2px color-mix(in srgb, var(--btn-color) 40%, transparent); }
[data-btn="outline"] .llpage-link.highlight, [data-btn="glass"] .llpage-link.highlight { background: var(--btn-color); color: var(--pg-bg-solid); }
.llpage-link.live { background: #ff3b5c !important; color: #fff !important; border-color: #ff3b5c !important; }
.llpage-link.live.off { filter: grayscale(1); opacity: .6; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; flex: none; animation: llpulse 1.4s infinite; }
@keyframes llpulse { 50% { opacity: .3; } }

.llpage-h { font-weight: 800; letter-spacing: -.02em; text-align: center; margin-top: 8px; }
.llpage-h.sm { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.llpage-h.md { font-size: 19px; } .llpage-h.lg { font-size: 26px; }
.llpage-text { font-size: 15px; line-height: 1.55; opacity: .88; white-space: pre-line; padding: 0 4px; }
.llpage-hr { border: 0; height: 1px; margin: 8px 0; background: var(--soft-line); }
.llpage-hr.fade { background: linear-gradient(90deg, transparent, var(--soft-line), transparent); }
.llpage-hr.dots { height: 4px; background: radial-gradient(circle, var(--soft-line) 1.5px, transparent 2px) center / 12px 4px repeat-x; }

.llpage-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.llpage-social { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--soft-line); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.llpage-social img { width: 21px; height: 21px; }
a.llpage-social[href]:hover { transform: translateY(-2px) scale(1.05); }

.llpage-card { display: block; padding: 16px 18px; border-radius: calc(var(--btn-radius) * .6 + 8px); background: var(--soft); border: 1px solid var(--soft-line); text-align: left; color: inherit; text-decoration: none; }
.llpage-card-title { font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; opacity: .7; margin-bottom: 10px; }
.llpage-muted { opacity: .6; font-size: 14px; } .llpage-muted.small { font-size: 12px; margin-top: 8px; }
.cd-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd-cell { text-align: center; padding: 10px 0; border-radius: 12px; background: var(--soft); }
.cd-cell b { display: block; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cd-cell small { font-size: 11px; opacity: .65; font-weight: 700; }
.cd-done { grid-column: 1 / -1; font-weight: 800; font-size: 18px; }
.sch-row { display: flex; justify-content: space-between; padding: 8px 2px; border-top: 1px solid var(--soft-line); font-size: 15px; }
.sch-row:first-of-type { border-top: 0; }
.sch-row.today { font-weight: 800; }
.sch-row.today span::after { content: " (today)"; opacity: .6; font-weight: 600; }
.gf-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-weight: 700; }
.gf-rank { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--soft-line); }
.gf-rank.r1 { background: var(--btn-color); color: var(--btn-text); }
[data-btn="outline"] .gf-rank.r1, [data-btn="glass"] .gf-rank.r1 { color: var(--pg-bg-solid); }
.llpage-discord { display: flex; align-items: center; gap: 12px; }
.dc-logo { width: 44px; height: 44px; border-radius: 12px; background: #5865f2; display: grid; place-items: center; flex: none; }
.dc-logo img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.dc-text { flex: 1; min-width: 0; display: grid; }
.dc-text b { font-size: 16px; } .dc-text span { font-size: 13px; opacity: .7; }
.dc-join { padding: 8px 14px; border-radius: 999px; background: #5865f2; color: #fff; font-weight: 800; font-size: 13px; }
.llpage-embed { width: 100%; border-radius: 14px; overflow: hidden; background: var(--soft); }
.llpage-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.llpage-image { margin: 0; }
.llpage-image img { width: 100%; border-radius: 14px; display: block; }
.llpage-image figcaption { font-size: 13px; opacity: .7; margin-top: 6px; text-align: center; }
.llpage-placeholder { padding: 18px; border: 1px dashed var(--soft-line); border-radius: 14px; text-align: center; font-size: 14px; opacity: .65; }

.llpage-foot { margin-top: auto; padding-top: 44px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: -.02em; text-decoration: none; color: inherit; }
.llpage-foot .foot-mark { opacity: .55; transition: opacity .2s; }
.llpage-foot .foot-cta { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: inherit; opacity: .6;
  background: color-mix(in srgb, currentColor 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent); transition: opacity .2s, transform .2s; }
.llpage-foot .foot-cta svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a.llpage-foot:hover .foot-mark, a.llpage-foot:hover .foot-cta { opacity: 1; }
a.llpage-foot:hover .foot-cta { transform: translateY(-1px); }
/* public pages: the mark and a tiny Report link share one row at the bottom */
.llpage-footrow { margin-top: auto; padding-top: 44px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; }
.llpage-footrow .llpage-foot { margin-top: 0; padding-top: 0; }
.llpage-report { font-size: 10.5px; font-weight: 600; letter-spacing: 0; color: inherit; opacity: .5; text-decoration: none; transition: opacity .2s; }
.llpage-report:hover, .llpage-report:focus-visible { opacity: .9; text-decoration: underline; text-underline-offset: 2px; }
.llpage[data-anim]:not([data-anim=""]) .llpage-report { text-shadow: 0 1px 2px rgb(0 0 0 / .45); }

/* per-link styles from the editor (beat the page-wide button style) */
.llpage .llpage-link.ls-filled { background-color: var(--btn-color); border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.llpage .llpage-link.ls-outline { background-color: transparent; border: 2px solid var(--btn-color); -webkit-backdrop-filter: none; backdrop-filter: none; }
.llpage .llpage-link.ls-glass { background-color: color-mix(in srgb, var(--btn-color) 14%, transparent); border: 1px solid color-mix(in srgb, var(--btn-color) 25%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.llpage .llpage-link.ls-text { background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; }
.llpage-link.ls-left { justify-content: flex-start; text-align: left; }
.llpage-link.ls-icon-right img, .llpage-link.ls-icon-right .llpage-ico { left: auto; right: 16px; }
.llpage .llpage-link.ls-sh-none { box-shadow: none; }
.llpage .llpage-link.ls-sh-soft { box-shadow: 0 8px 20px rgb(0 0 0 / .25); }
.llpage .llpage-link.ls-sh-hard { box-shadow: 4px 4px 0 color-mix(in srgb, var(--pg-text) 85%, transparent); }
.llpage .llpage-link.ls-sh-glow { box-shadow: 0 0 22px color-mix(in srgb, var(--btn-color) 70%, transparent), 0 0 4px var(--btn-color); }
a.llpage-link.ls-hover-grow[href]:hover { transform: scale(1.04); }
a.llpage-link.ls-hover-none[href]:hover { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .ls-anim-pulse { animation: lsPulse 1.6s ease-in-out infinite; }
  @keyframes lsPulse { 50% { transform: scale(1.045); } }
  .ls-anim-shake { animation: lsShake 2.8s ease-in-out infinite; }
  @keyframes lsShake { 0%, 80%, 100% { transform: none; } 84% { transform: translateX(-4px) rotate(-1deg); } 88% { transform: translateX(4px) rotate(1deg); } 92% { transform: translateX(-3px); } 96% { transform: translateX(2px); } }
  .ls-anim-bounce { animation: lsBounce 2s cubic-bezier(.3, 0, .3, 1) infinite; }
  @keyframes lsBounce { 0%, 60%, 100% { transform: none; } 70% { transform: translateY(-8px); } 80% { transform: none; } 88% { transform: translateY(-3px); } }
  .ls-anim-wobble { animation: lsWobble 3s ease-in-out infinite; }
  @keyframes lsWobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-1.5deg); } 75% { transform: rotate(1.5deg); } }
  .ls-anim-float { animation: lsFloat 3.2s ease-in-out infinite; }
  @keyframes lsFloat { 50% { transform: translateY(-5px); } }
  .ls-anim-glow { animation: lsGlow 2s ease-in-out infinite; }
  @keyframes lsGlow { 50% { box-shadow: 0 0 26px color-mix(in srgb, var(--btn-color) 80%, transparent), 0 0 6px var(--btn-color); } }
  .ls-anim-shine { overflow: hidden; }
  .ls-anim-shine::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .45) 50%, transparent 65%); transform: translateX(-120%); animation: lsShine 2.8s ease-in-out infinite; }
  @keyframes lsShine { 60%, 100% { transform: translateX(120%); } }
  .llpage .llpage-link.ls-anim-rainbow { background-image: linear-gradient(90deg, #ff5f6d, #ffc371, #47e891, #3fa9ff, #b36bff, #ff5f6d); background-size: 300% 100%; animation: lsRainbow 4s linear infinite; }
  @keyframes lsRainbow { to { background-position: 300% 0; } }
}

@media (prefers-reduced-motion: no-preference) {
  /* blocks slide up into place. No fade: a fading element can't show its frosted-glass blur, so glass buttons
     would look see-through until the fade finished (slow phones stretch that to seconds) */
  .llpage.animate .llpage-block { animation: llrise .5s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.04s + var(--i) * .04s); }
  @keyframes llrise { from { transform: translateY(10px); } }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---------- LIVE: a red ring round the picture and a small tag on its edge ---------- */
.llpage-avatar { position: relative; }
.llpage-avatar.live { overflow: visible; cursor: pointer; }
.llpage-avatar.live img { border-radius: inherit; }
.llpage-avatar.live::before {
  content: ""; position: absolute; inset: -6px; border-radius: inherit; padding: 3px; pointer-events: none;
  background: linear-gradient(140deg, #ff2d55, #ff5a36 55%, #ff2d55);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.live-tag { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); z-index: 1; padding: 2px 7px 2px; border-radius: 5px; background: #ff2d55; color: #fff; font: 800 10px/1.25 "Public Sans", sans-serif; letter-spacing: .08em; box-shadow: 0 2px 8px rgb(255 45 85 / .45); }
@media (prefers-reduced-motion: no-preference) {
  .llpage-avatar.live::before { animation: liveBreathe 2.4s ease-in-out infinite; will-change: transform, opacity; }
  @keyframes liveBreathe { 50% { transform: scale(1.03); opacity: .75; } }     /* transform only: no relayout per frame */
}

/* ---------- slim strips: stream schedule and top gifters ---------- */
.strip { --strip-bg: var(--soft); --strip-fg: inherit; display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 14px;
  border-radius: calc(var(--btn-radius) * .6 + 4px); color: var(--strip-fg); font-size: 12.5px; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; box-sizing: border-box; }
.strip.bg-glass { background: var(--soft); border: 1px solid var(--soft-line); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.strip.bg-solid { background: var(--strip-bg); border: 1px solid color-mix(in srgb, var(--strip-fg, currentColor) 14%, transparent); }
.strip.bg-clear { background: none; border: 0; padding: 0 2px; min-height: 30px; }
.strip-ic { display: grid; place-items: center; flex: none; width: 15px; height: 15px; opacity: .6; }
.strip-ic svg { width: 100%; height: 100%; }

.sched2 .s2-days { display: flex; gap: 1px; flex: none; }
.s2d { position: relative; flex: none; width: 15px; text-align: center; font-weight: 700; font-size: 11.5px; opacity: .3; line-height: 22px; }
.s2d.on { opacity: 1; }
.s2d.on::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: #ff2d55; }
.s2d.today { opacity: 1; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.s2-next { flex: 1; min-width: 0; text-align: right; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sched2.list { display: grid; gap: 0; padding-top: 8px; padding-bottom: 8px; }
.s2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
.s2-item { display: flex; justify-content: space-between; gap: 8px; line-height: 24px; min-width: 0; }
.s2-item span { opacity: .6; }
.s2-item.today span { opacity: 1; font-weight: 700; }
.s2-item b { white-space: nowrap; }
.s2-tz { font-size: 10.5px; opacity: .45; margin-top: 2px; }

.gift2 { --gold: #e7c26a; --silver: #c9cfd8; --bronze: #cf946a; }
.g2-label { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.g2-label .strip-ic { color: var(--gold); opacity: 1; width: 14px; height: 14px; }
.g2-list { display: flex; gap: .9em; flex: 1; min-width: 0; justify-content: space-between; overflow: hidden; font-size: 12.5px; }
.g2-item em { font-size: .84em !important; }
.gift2.inline .g2-label > span:not(.strip-ic) { display: none; }      /* one line: the crown says it, names get the room */
.g2-item { display: inline-flex; align-items: center; gap: .3em; min-width: 0; flex: none; }
.g2-item em { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--m); flex: none; }
.g2-item b { flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.g2-item.gold { --m: var(--gold); } .g2-item.silver { --m: var(--silver); } .g2-item.bronze { --m: var(--bronze); }
.g2-item.gold b { font-weight: 800; }
.gift2.stacked { display: grid; gap: 0; padding-top: 7px; padding-bottom: 7px; }
.gift2.stacked .g2-label { margin-bottom: 2px; }
.gift2.stacked .g2-list { display: grid; gap: 0; justify-content: stretch; overflow: visible; }
.gift2.stacked .g2-item { flex: initial; }
.gift2.stacked .g2-item { line-height: 24px; gap: 9px; }

/* ---------- entry screen (Pro): the page's own background, their picture and name, and an Enter button ----------
   The page content is hidden behind it and rises in, block by block, after Enter. */
.llpage.entry-on > .llpage-inner { opacity: 0; visibility: hidden; }
.llpage.entry-on > .notify-bell { opacity: 0; pointer-events: none; }
.llpage-entry { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 28px; text-align: center;
  background: radial-gradient(120% 80% at 50% 50%, transparent 30%, color-mix(in srgb, var(--pg-bg-solid) 55%, transparent) 100%);
  transition: opacity .55s ease, visibility .55s; }
.is-public .llpage-entry { position: fixed; }
.llpage-entry.gone { opacity: 0; visibility: hidden; }
.llpage-entry.gone .entry-box { transform: translateY(-12px) scale(.98); }
.entry-box { display: grid; justify-items: center; gap: 12px; width: min(300px, 100%); transition: transform .55s cubic-bezier(.16, 1, .3, 1); }
.entry-box .llpage-avatar { margin: 0 0 4px; }
.entry-box .llpage-name { margin: 0; }
.entry-go { margin-top: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 150px; height: 44px; padding: 0 22px;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--pg-text) 28%, transparent);
  background: color-mix(in srgb, var(--pg-text) 10%, transparent); color: var(--pg-text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 700 15px/1 var(--pg-font); letter-spacing: -.01em; cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s cubic-bezier(.16, 1, .3, 1); }
.entry-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.entry-go:hover { background: color-mix(in srgb, var(--pg-text) 16%, transparent); border-color: color-mix(in srgb, var(--pg-text) 45%, transparent); transform: translateY(-1px); }
.entry-go:hover svg { transform: translateX(3px); }
.entry-go:active { transform: scale(.98); }
.llpage[data-anim]:not([data-anim=""]) .entry-box .llpage-name { text-shadow: 0 2px 16px rgb(0 0 0 / .35); }
@media (prefers-reduced-motion: no-preference) {
  .entry-box > * { animation: entryIn .8s cubic-bezier(.16, 1, .3, 1) both; }
  .entry-box > :nth-child(1) { animation-delay: .05s; }
  .entry-box > :nth-child(2) { animation-delay: .16s; }
  .entry-box > :nth-child(3) { animation-delay: .3s; }
  @keyframes entryIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
  .llpage.entering > .llpage-inner > * { animation: llrise .7s cubic-bezier(.16, 1, .3, 1) both; }
  .llpage.entering .llpage-avatar { animation-delay: .1s; }
  .llpage.entering .llpage-block { animation: llrise .7s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.22s + var(--i, 0) * .06s); }
}
.llpage > .llpage-inner { transition: opacity .6s ease .15s; }

/* "Get notified when live": a bell in the top-right corner, and a small popup that slides out of it */
.notify-bell { position: absolute; top: 16px; right: 16px; z-index: 5; width: 32px; height: 32px; padding: 0; display: grid; place-items: center; cursor: pointer;
  border: 0; background: none; color: var(--pg-text); opacity: .7; transition: opacity .2s, transform .2s; }
.notify-bell svg { width: 21px; height: 21px; filter: drop-shadow(0 1px 3px rgb(0 0 0 / .35)); }
.notify-bell:hover { opacity: 1; transform: rotate(-8deg); }
.notify-bell.on { opacity: 1; }
.is-public .notify-bell { position: fixed; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); }
/* "Get notified" banner: one quiet line at the top, no icon, sized to its text */
.notify-pop { position: fixed; z-index: 30; left: 50%; top: max(12px, env(safe-area-inset-top)); max-width: calc(100vw - 24px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 14px; border-radius: 12px;
  background: rgb(20 20 22 / .88); color: #e8e8ea; border: 1px solid rgb(255 255 255 / .08);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-family: var(--pg-font, "Public Sans"), -apple-system, sans-serif; animation: popIn .4s cubic-bezier(.16, 1, .3, 1); }
.notify-pop.out { animation: popOut .3s ease forwards; }
.notify-pop p { min-width: 0; margin: 0 6px 0 0; font-size: 13px; font-weight: 500; line-height: 1.3; }
.notify-pop .go { flex: none; height: 28px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: #fff; font: inherit; font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(255 255 255 / .35); }
.notify-pop .go:hover { text-decoration-color: #fff; }
.notify-pop .x { flex: none; width: 26px; height: 26px; border: 0; border-radius: 7px; background: none; color: inherit; opacity: .45; cursor: pointer; display: grid; place-items: center; }
.notify-pop .x svg { width: 10px; height: 10px; }
.notify-pop .x:hover { opacity: 1; }
@keyframes popIn { from { opacity: 0; transform: translate(-50%, -140%); } }
@keyframes popOut { to { opacity: 0; transform: translate(-50%, -140%); } }

/* ---------- link presets: ready-made looks (the editor's Presets tab) ----------
   Each one is a glossy toy-like button: a face, a gloss on the top half, a fine light rim, and a solid lip
   underneath that lifts on hover and squashes when pressed. */
.llpage .llpage-link.lp {
  --edge: rgb(0 0 0 / .5); --gloss: .32; --rim: .45; --lip: 3px;
  overflow: hidden; isolation: isolate; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
  border-radius: 14px; font-weight: 700;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / var(--rim)), inset 0 -1.5px 0 rgb(0 0 0 / .14), 0 var(--lip) 0 var(--edge), 0 calc(var(--lip) + 5px) 14px -4px rgb(0 0 0 / .45);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s cubic-bezier(.16, 1, .3, 1), filter .2s;
}
.llpage .llpage-link.lp::before {
  content: ""; position: absolute; left: 2px; right: 2px; top: 1.5px; height: 48%; z-index: -1; pointer-events: none;
  border-radius: 12px 12px 40% 40% / 12px 12px 8px 8px;
  background: linear-gradient(180deg, rgb(255 255 255 / var(--gloss)), rgb(255 255 255 / calc(var(--gloss) * .25)) 70%, transparent);
}
.llpage a.llpage-link.lp[href]:hover { --lip: 4px; transform: translateY(-1px); filter: brightness(1.04); }
.llpage a.llpage-link.lp[href]:active { --lip: 1px; transform: translateY(2px); filter: brightness(.97); transition-duration: .08s; }
.llpage .llpage-link.lp > .llpage-label { text-shadow: 0 1px 0 rgb(0 0 0 / var(--ts, .18)); }

.llpage .llpage-link.lp-solid { color: #17171a; --ts: 0; --edge: #b8b1a6; --gloss: .6; --rim: 1;
  background: linear-gradient(180deg, #ffffff, #f2eee7 55%, #e6e1d8); }
.llpage .llpage-link.lp-obsidian { color: #f4f2ee; --edge: #000; --gloss: .14; --rim: .22; --ts: .5;
  background: radial-gradient(120% 90% at 30% 0%, #3a3a42 0%, transparent 60%), linear-gradient(180deg, #2a2a30, #121215 60%, #08080a); }
.llpage .llpage-link.lp-starlight { color: #eef1ff; --edge: #06071a; --gloss: .16; --rim: .3; --ts: .5;
  background:
    radial-gradient(1px 1px at 12% 30%, #fff, transparent), radial-gradient(1px 1px at 28% 72%, #fff, transparent), radial-gradient(1.4px 1.4px at 44% 22%, #fff, transparent),
    radial-gradient(1px 1px at 63% 66%, #fff, transparent), radial-gradient(1.4px 1.4px at 80% 30%, #fff, transparent), radial-gradient(1px 1px at 91% 70%, #dfe4ff, transparent),
    radial-gradient(120% 150% at 50% 0%, #34397a 0%, #161a3d 55%, #0b0c22 100%); }
.llpage .llpage-link.lp-tcoral, .llpage .llpage-link.lp-tblue, .llpage .llpage-link.lp-tviolet { color: #fff; --ts: .25; --gloss: .38; --rim: .55;
  --edge: color-mix(in srgb, var(--tint) 55%, #000);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 78%, #fff), var(--tint) 55%, color-mix(in srgb, var(--tint) 86%, #000)); }
.llpage .llpage-link.lp-tcoral { --tint: #f7806b; } .llpage .llpage-link.lp-tblue { --tint: #4f7dff; } .llpage .llpage-link.lp-tviolet { --tint: #9168ff; }
.llpage .llpage-link.lp-chrome { color: #1b1c20; --ts: 0; --edge: #6c727b; --gloss: .55; --rim: 1;
  background: linear-gradient(180deg, #ffffff 0%, #e4e7eb 30%, #b8bec7 50%, #9aa1ab 52%, #d9dde2 78%, #f4f5f7 100%); }
.llpage .llpage-link.lp-chrome > .llpage-label { text-shadow: 0 1px 0 rgb(255 255 255 / .7); }
.llpage .llpage-link.lp-gold { color: #3b2804; --ts: 0; --edge: #8a6214; --gloss: .5; --rim: .9;
  background: linear-gradient(180deg, #fff3c4 0%, #f2d27a 30%, #d7a63c 50%, #c4922b 52%, #ebc461 80%, #f8e19a 100%); }
.llpage .llpage-link.lp-gold > .llpage-label { text-shadow: 0 1px 0 rgb(255 245 210 / .6); }
.llpage .llpage-link.lp-neon { color: #d6fffa; --edge: #0d4a43; --gloss: .1; --rim: .15;
  background: linear-gradient(180deg, #0f1a1c, #070c0d);
  box-shadow: inset 0 0 0 1.5px #3ff2dd, inset 0 0 14px rgb(63 242 221 / .22), 0 var(--lip) 0 var(--edge), 0 0 18px rgb(63 242 221 / .4); }
.llpage .llpage-link.lp-neon > .llpage-label { text-shadow: 0 0 8px rgb(63 242 221 / .8); }
.llpage .llpage-link.lp-glass { color: var(--pg-text); --edge: rgb(0 0 0 / .28); --gloss: .3; --rim: .5;
  background: linear-gradient(180deg, rgb(255 255 255 / .2), rgb(255 255 255 / .07));
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.llpage .llpage-link.lp-glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
.llpage .llpage-link.lp-outline { color: var(--pg-text); border-radius: 999px; --gloss: 0; --rim: 0; --ts: 0;
  --edge: color-mix(in srgb, var(--pg-text) 45%, transparent);
  background: color-mix(in srgb, var(--pg-text) 4%, transparent);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--pg-text) 85%, transparent), 0 var(--lip) 0 var(--edge); }
.llpage .llpage-link.lp-sunset { color: #fff; border-radius: 999px; --edge: #8c2763; --gloss: .4; --rim: .6; --ts: .25;
  background: linear-gradient(100deg, #ffa063, #ff5a8a 52%, #b968ff); }
.llpage .llpage-link.lp-sunset::before { border-radius: 999px; left: 10px; right: 10px; }
.llpage .llpage-link.lp-retro { color: #141416; border-radius: 10px; --gloss: .55; --rim: .9; --ts: 0; font-weight: 800;
  background: linear-gradient(180deg, #ffe97f, #f8d84a);
  box-shadow: inset 0 0 0 2.5px #141416, inset 0 4px 0 rgb(255 255 255 / .5), calc(var(--lip) + 1px) calc(var(--lip) + 1px) 0 #141416; }
.llpage .llpage-link.lp-retro::before { left: 5px; right: 5px; top: 4px; height: 38%; border-radius: 6px; }
@media (prefers-reduced-motion: no-preference) {
  }

/* embedded players wait for permission: a quiet placeholder with a Load button */
.llpage-embed.blocked { display: grid; place-items: center; min-height: 140px; border: 1px solid var(--soft-line); background: var(--soft); }
.embed-gate { display: grid; justify-items: center; gap: 4px; padding: 16px; text-align: center; }
.embed-gate b { font-size: 14px; }
.embed-gate span { font-size: 12px; opacity: .65; max-width: 30ch; }
.embed-load { margin-top: 8px; height: 32px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--soft-line); background: color-mix(in srgb, var(--pg-text) 10%, transparent); color: inherit; font: 600 13px/1 var(--pg-font); cursor: pointer; }
.embed-load:hover { background: color-mix(in srgb, var(--pg-text) 16%, transparent); }

/* the cookie banner on public pages (only when a page has embedded players) */
.ll-cookies { position: fixed; left: 50%; bottom: 16px; z-index: 60; width: min(560px, calc(100% - 24px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 18px; border-radius: 14px;
  background: #18181a; color: #f4f2ee; border: 1px solid #2e2e31; box-shadow: 0 20px 50px -20px rgb(0 0 0 / .7);
  font: 13px/1.45 "Public Sans", system-ui, sans-serif; animation: ckIn .35s cubic-bezier(.16, 1, .3, 1); transition: opacity .3s, transform .3s; }
.ll-cookies p { margin: 0; flex: 1; color: #c9c5bf; }
.ll-cookies a { color: #f4f2ee; }
.ll-cookies div { display: flex; gap: 8px; flex: none; }
.ll-cookies button { height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid #3a3a3d; background: none; color: #f4f2ee; font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; }
.ll-cookies button.on { background: #f4f2ee; color: #141414; border-color: #f4f2ee; }
.ll-cookies.out { opacity: 0; transform: translate(-50%, 8px); }
@keyframes ckIn { from { opacity: 0; transform: translate(-50%, 12px); } }
@media (max-width: 520px) { .ll-cookies { flex-direction: column; align-items: stretch; } .ll-cookies div button { flex: 1; } }

/* the "Verified with TikTok" seal next to the name: small, sitting on the text's middle */
.llpage-name .name-seal { display: inline-block; width: .62em; height: .62em; min-width: 14px; min-height: 14px; margin-left: .22em; vertical-align: .02em; filter: none; }
.llpage-name .name-seal .badge-tip { font-size: 12.5px; letter-spacing: 0; text-transform: none; font-family: "Public Sans", sans-serif; }

/* the TikTok seal on the picture: sits on the rim at the bottom-right (45°), a little over a quarter of its size */
.llpage-avatar.has-seal { overflow: visible; }
.llpage-avatar.has-seal img { border-radius: inherit; }
.llpage-avatar .av-seal { position: absolute; z-index: 2; width: 29%; height: 29%; min-width: 20px; min-height: 20px; left: 85.4%; top: 85.4%; transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 0 transparent) drop-shadow(0 2px 4px rgb(0 0 0 / .35)); }
.llpage-avatar .av-seal svg { overflow: visible; }
[data-avatar="rounded"] .llpage-avatar .av-seal { left: 92%; top: 92%; }
[data-avatar="square"] .llpage-avatar .av-seal { left: 96%; top: 96%; }
.llpage-avatar.live .av-seal { left: 89%; top: 80%; }      /* clear of the LIVE tag at the bottom */

/* ---------- button presets that match each moving background ---------- */
.llpage .llpage-link.lp-sakura { color: #5a2238; --ts: 0; --edge: #c97a95; --gloss: .55; --rim: .9;
  background: radial-gradient(2.5px 2px at 14% 34%, #fff 60%, transparent), radial-gradient(2px 1.6px at 38% 72%, #ffe3ec 60%, transparent), radial-gradient(2.4px 2px at 71% 28%, #fff 60%, transparent), radial-gradient(1.8px 1.5px at 88% 66%, #ffe3ec 60%, transparent),
    linear-gradient(180deg, #ffe4ee, #ffc4d6 55%, #f6a9c1); }
.llpage .llpage-link.lp-sakura > .llpage-label { text-shadow: 0 1px 0 rgb(255 255 255 / .6); }
.llpage .llpage-link.lp-damascus { color: #fff; --ts: .5; --edge: #0b1238; --gloss: .2; --rim: .35;
  background: radial-gradient(140% 70% at 20% 120%, transparent 46%, #e8662a 47% 52%, transparent 53%), radial-gradient(130% 80% at 80% -30%, transparent 44%, #f08a3c 45% 49%, transparent 50%),
    radial-gradient(120% 90% at 50% 130%, transparent 58%, #3a55c9 59% 63%, transparent 64%), linear-gradient(180deg, #1d2c7a, #0f1748); }
.llpage .llpage-link.lp-diamond { color: #12202c; --ts: 0; --edge: #6e8fa6; --gloss: .55; --rim: 1;
  background: linear-gradient(115deg, transparent 18%, rgb(255 255 255 / .9) 18.5% 24%, transparent 24.5%), linear-gradient(65deg, transparent 52%, rgb(160 200 228 / .7) 52.5% 60%, transparent 60.5%),
    linear-gradient(140deg, transparent 70%, rgb(255 255 255 / .8) 70.5% 76%, transparent 76.5%), linear-gradient(35deg, transparent 32%, rgb(190 222 242 / .8) 32.5% 40%, transparent 40.5%),
    linear-gradient(180deg, #f2f9ff, #c3dcee); }
.llpage .llpage-link.lp-diamond > .llpage-label { text-shadow: 0 1px 0 rgb(255 255 255 / .8); }
.llpage .llpage-link.lp-storm { color: #eef3ff; --ts: .5; --edge: #05070d; --gloss: .14; --rim: .25;
  background: linear-gradient(104deg, transparent 63%, rgb(214 228 255 / .0) 63.5%, rgb(214 228 255 / .85) 64.5%, transparent 65.5%),
    radial-gradient(90% 120% at 70% 0%, #3a4766, transparent 70%), linear-gradient(180deg, #1c2335, #0b0f19); }
.llpage .llpage-link.lp-topo { color: #e9f6ef; --ts: .45; --edge: #08251c; --gloss: .16; --rim: .3;
  background: repeating-radial-gradient(ellipse 90% 160% at 12% 120%, transparent 0 13px, rgb(140 230 190 / .38) 13.5px 14.6px),
    repeating-radial-gradient(ellipse 80% 150% at 96% -30%, transparent 0 16px, rgb(140 230 190 / .26) 16.5px 17.6px), linear-gradient(180deg, #154236, #0b241d); }
.llpage .llpage-link.lp-ink { color: #fff; --ts: .5; --edge: #120a2e; --gloss: .2; --rim: .35;
  background: radial-gradient(60% 120% at 15% 30%, #6a3cff 0, transparent 60%), radial-gradient(55% 110% at 60% 90%, #00b3c7 0, transparent 60%),
    radial-gradient(45% 100% at 90% 10%, #ff4fa3 0, transparent 60%), linear-gradient(180deg, #1d1446, #0d0a24); }
.llpage .llpage-link.lp-smoke { color: #f2f2f2; --ts: .45; --edge: #0f0f11; --gloss: .16; --rim: .28;
  background: radial-gradient(50% 140% at 20% 40%, rgb(255 255 255 / .22), transparent 70%), radial-gradient(40% 130% at 70% 70%, rgb(255 255 255 / .16), transparent 70%),
    radial-gradient(35% 120% at 92% 20%, rgb(255 255 255 / .12), transparent 70%), linear-gradient(180deg, #3a3a3f, #1b1b1e); }
.llpage .llpage-link.lp-marble { color: #24242a; --ts: 0; --edge: #9e9a93; --gloss: .55; --rim: 1;
  background: linear-gradient(118deg, transparent 22%, rgb(120 116 112 / .35) 23%, transparent 24.5%), linear-gradient(160deg, transparent 58%, rgb(140 136 130 / .3) 59%, transparent 60.5%),
    linear-gradient(80deg, transparent 76%, rgb(150 146 140 / .25) 77%, transparent 78%), linear-gradient(180deg, #ffffff, #efece7 60%, #e2ded7); }
.llpage .llpage-link.lp-marble > .llpage-label { text-shadow: 0 1px 0 rgb(255 255 255 / .7); }
.llpage .llpage-link.lp-blackmarble { color: #f4efe4; --ts: .5; --edge: #000; --gloss: .18; --rim: .3;
  background: linear-gradient(118deg, transparent 24%, rgb(226 196 130 / .7) 25%, transparent 26%), linear-gradient(162deg, transparent 60%, rgb(240 240 240 / .45) 61%, transparent 62.2%),
    linear-gradient(76deg, transparent 80%, rgb(226 196 130 / .4) 81%, transparent 82%), linear-gradient(180deg, #1d1d20, #08080a); }
.llpage .llpage-link.lp-sand { color: #3e3324; --ts: 0; --edge: #a08a68; --gloss: .45; --rim: .85;
  background: repeating-linear-gradient(180deg, rgb(255 255 255 / .28) 0 1px, transparent 1px 5px, rgb(120 96 62 / .14) 5px 6px, transparent 6px 8px),
    linear-gradient(180deg, #f0e3c8, #dcc7a1); }
.llpage .llpage-link.lp-sand > .llpage-label { text-shadow: 0 1px 0 rgb(255 248 230 / .7); }
.llpage .llpage-link.lp-pool { color: #dff8ff; --ts: .5; --edge: #000; --gloss: .14; --rim: .25;
  background: radial-gradient(30% 90% at 20% 30%, rgb(110 220 255 / .28), transparent 70%), radial-gradient(25% 80% at 55% 75%, rgb(110 220 255 / .2), transparent 70%),
    radial-gradient(22% 70% at 85% 35%, rgb(110 220 255 / .24), transparent 70%), linear-gradient(180deg, #0c1c22, #02080a); }
.llpage .llpage-link.lp-slate { color: #eceef0; --ts: .45; --edge: #121416; --gloss: .2; --rim: .32;
  background: linear-gradient(112deg, transparent 40%, rgb(0 0 0 / .45) 40.5%, transparent 41.5%), linear-gradient(68deg, transparent 72%, rgb(0 0 0 / .35) 72.5%, transparent 73.3%),
    radial-gradient(120% 140% at 30% 0%, #5a6068, transparent 70%), linear-gradient(180deg, #43484f, #272a2f); }
.llpage .llpage-link.lp-agate { color: #fff6ea; --ts: .55; --edge: #3c1606; --gloss: .3; --rim: .5;
  background: radial-gradient(ellipse 120% 160% at 30% 150%, #f6d2a2 0 16%, #c75a26 17% 30%, #f0a060 31% 38%, #8a3412 39% 52%, #e5864a 53% 60%, #5c2008 61% 76%, #b04a1c 77% 88%, #3e1606 89%); }
.llpage .llpage-link.lp-halftone { color: #fff; --ts: .5; --edge: #000; --gloss: .12; --rim: .2;
  background: radial-gradient(circle, rgb(255 255 255 / .35) 1.1px, transparent 1.6px) 0 0 / 7px 7px, linear-gradient(180deg, #1f1f22, #0c0c0e); }
.llpage .llpage-link.lp-lines { color: #fff; --ts: .5; --edge: #0c0a1c; --gloss: .16; --rim: .3;
  background: repeating-linear-gradient(160deg, rgb(255 140 110 / .55) 0 1.5px, transparent 1.5px 9px, rgb(130 160 255 / .55) 9px 10.5px, transparent 10.5px 18px),
    linear-gradient(180deg, #1b1830, #0c0a1a); }
.llpage .llpage-link.lp-copper { color: #2b1206; --ts: 0; --edge: #6e3214; --gloss: .45; --rim: .8;
  background: radial-gradient(circle at 30% 30%, rgb(255 222 190 / .55) 0 2px, transparent 4px) 0 0 / 14px 12px, radial-gradient(circle at 70% 70%, rgb(90 34 10 / .3) 0 2px, transparent 4px) 0 0 / 14px 12px,
    linear-gradient(180deg, #f2b07a, #d27a43 50%, #a9542a); }
.llpage .llpage-link.lp-copper > .llpage-label { text-shadow: 0 1px 0 rgb(255 225 195 / .55); }

/* ---------- music player: iPhone "Now Playing" glass card ---------- */
.llpage-music { --p: 0%; --vol: 70%; position: relative; display: grid; gap: 10px; padding: 14px 16px 12px; border-radius: 22px; color: var(--pg-text);
  background: color-mix(in srgb, var(--pg-text) 9%, rgb(18 18 20 / .42)); border: 1px solid color-mix(in srgb, var(--pg-text) 14%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: 0 14px 34px -14px rgb(0 0 0 / .55); text-align: left; }
.llpage-music .mu-ic { display: grid; place-items: center; }
.llpage-music .mu-ic svg { width: 100%; height: 100%; display: block; }
.mu-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mu-art { width: 56px; height: 56px; flex: none; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--pg-text) 12%, transparent); box-shadow: 0 6px 16px rgb(0 0 0 / .35); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.mu-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mu-art .mu-ic { width: 26px; height: 26px; opacity: .7; }
.llpage-music:not(.playing) .mu-art { transform: scale(.92); }
.mu-info { flex: 1; min-width: 0; display: grid; gap: 1px; }
.mu-title { font-size: 15px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mu-artist { font-size: 13px; opacity: .65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mu-apple { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: inherit; opacity: .65; background: color-mix(in srgb, var(--pg-text) 10%, transparent); }
.mu-apple .mu-ic { width: 16px; height: 16px; }
.mu-apple:hover { opacity: 1; }
.mu-bar { position: relative; height: 18px; margin-top: 2px; cursor: pointer; touch-action: none; }
.mu-bar::before, .mu-bar i { content: ""; position: absolute; left: 0; top: 7px; height: 4px; border-radius: 4px; }
.mu-bar::before { right: 0; background: color-mix(in srgb, var(--pg-text) 22%, transparent); }
.mu-bar i { width: var(--p); background: var(--pg-text); }
.mu-bar b { position: absolute; top: 3px; left: var(--p); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--pg-text); transform: scale(0); transition: transform .2s; }
.mu-bar:hover b, .mu-bar:active b { transform: scale(1); }
.mu-times { display: flex; justify-content: space-between; margin-top: -6px; font-size: 11px; font-weight: 600; opacity: .55; font-variant-numeric: tabular-nums; }
.mu-controls { display: flex; align-items: center; justify-content: center; gap: 28px; }
.mu-controls button { border: 0; background: none; color: inherit; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mu-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; opacity: .8; transition: opacity .2s, background .2s; }
.mu-btn .mu-ic { width: 22px; height: 22px; }
.mu-btn:hover { opacity: 1; background: color-mix(in srgb, var(--pg-text) 10%, transparent); }
.mu-play { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--pg-text) !important; color: var(--pg-bg-solid, #111) !important; box-shadow: 0 6px 18px rgb(0 0 0 / .3); transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.mu-play .mu-ic { width: 26px; height: 26px; }
.mu-play:active { transform: scale(.92); }
.mu-volrow { display: flex; align-items: center; gap: 10px; }
.mu-volrow > .mu-ic { width: 16px; height: 16px; opacity: .55; flex: none; }
.mu-vol { -webkit-appearance: none; appearance: none; flex: 1; height: 4px; border-radius: 4px; margin: 8px 0; cursor: pointer;
  background: linear-gradient(90deg, var(--pg-text) var(--vol), color-mix(in srgb, var(--pg-text) 22%, transparent) var(--vol)); }
.mu-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--pg-text); box-shadow: 0 1px 4px rgb(0 0 0 / .4); }
.mu-vol::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--pg-text); }
.llpage-music.muted .mu-volrow { opacity: .4; }
/* the little equaliser on the cover while it plays */
.llpage-music.playing .mu-art { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .llpage-music.playing .mu-art::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 14px; height: 12px;
    background: linear-gradient(#fff, #fff) 0 100% / 3px 40% no-repeat, linear-gradient(#fff, #fff) 5px 100% / 3px 90% no-repeat, linear-gradient(#fff, #fff) 10px 100% / 3px 60% no-repeat;
    filter: drop-shadow(0 1px 2px rgb(0 0 0 / .6)); animation: muEq .9s ease-in-out infinite alternate; }
}
@keyframes muEq { 50% { background-size: 3px 85%, 3px 35%, 3px 100%; } 100% { background-size: 3px 55%, 3px 75%, 3px 30%; } }

/* ---------- total profile views, under the livelinks link ---------- */
.llpage-views { margin: auto auto 0; display: flex; width: fit-content; align-items: baseline; gap: 5px;
  font-size: 12px; line-height: 1; letter-spacing: .01em; color: inherit; white-space: nowrap;
  opacity: 0; transition: opacity .6s ease; }
.llpage-views.ready, .screen .llpage-views { opacity: 1; }
.llpage-footrow + .llpage-views, .llpage-foot + .llpage-views { margin-top: 14px; }
.llpage-inner > .llpage-views:first-child, .llpage-blocks + .llpage-views { margin-top: 44px; }
.views-n { font-weight: 650; font-variant-numeric: tabular-nums; opacity: .85; }
.views-l { font-weight: 450; opacity: .45; }
.llpage[data-anim]:not([data-anim=""]) .llpage-views { text-shadow: 0 1px 2px rgb(0 0 0 / .35); }

/* music player sizes: Big (default), Medium (one row), Small (as thin as a link) */
.llpage-music.mu-medium, .llpage-music.mu-small { display: block; overflow: hidden; }
.llpage-music.mu-medium { padding: 12px 14px 16px 12px; border-radius: 20px; }
.llpage-music.mu-medium .mu-art { width: 58px; height: 58px; border-radius: 12px; }
.llpage-music.mu-medium .mu-title { font-size: 15px; }
.llpage-music.mu-medium .mu-artist { font-size: 12.5px; }
.llpage-music.mu-medium .mu-play { width: 46px; height: 46px; flex: none; }
.llpage-music.mu-medium .mu-play .mu-ic { width: 20px; height: 20px; }
.llpage-music.mu-medium .mu-btn { width: 34px; height: 34px; flex: none; }
.llpage-music.mu-medium .mu-btn .mu-ic { width: 19px; height: 19px; }
.llpage-music.mu-small { min-height: var(--link-h, 50px); padding: 6px 8px 6px 6px; border-radius: var(--btn-radius, 14px); display: flex; align-items: center; }
.llpage-music.mu-small .mu-top { flex: 1; gap: 10px; }
.llpage-music.mu-small .mu-art { width: 36px; height: 36px; border-radius: 8px; box-shadow: none; }
.llpage-music.mu-small .mu-art .mu-ic { width: 18px; height: 18px; }
.llpage-music.mu-small .mu-info { display: flex; flex-direction: column; justify-content: center; gap: 1px; min-width: 0; }
.llpage-music.mu-small .mu-title { font-size: 13.5px; line-height: 1.2; }
.llpage-music.mu-small .mu-artist { font-size: 11px; line-height: 1.2; }
.llpage-music.mu-small .mu-play { width: 34px; height: 34px; flex: none; box-shadow: none; }
.llpage-music.mu-small .mu-play .mu-ic { width: 16px; height: 16px; }
.llpage-music.mu-small .mu-apple { display: none; }
.llpage-music.mu-small.playing .mu-art::after { right: 3px; bottom: 3px; transform: scale(.75); transform-origin: bottom right; }
/* Medium and Small: progress as a thin line along the bottom edge */
.llpage-music .mu-line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: color-mix(in srgb, var(--pg-text) 14%, transparent); }
.llpage-music .mu-line i { display: block; height: 100%; width: var(--p); background: var(--pg-text); opacity: .85; }
.llpage-music.mu-small .mu-line { height: 2px; }

/* Pro: the changing bio (typing, fade or flash) */
.llpage-bio.bio-anim { display: grid; }
.bio-anim > span { grid-area: 1 / 1; }
.bio-ghost { visibility: hidden; }
.bio-live { transition: opacity .42s ease, filter .42s ease; }
.bio-live.out { opacity: 0; filter: blur(3px); }
.bio-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.17em; border-radius: 1px; background: currentColor; animation: bioBlink 1.05s steps(1) infinite; }
.bio-live.typing .bio-caret { animation: none; }
.bio-live.flash { animation: bioFlash .5s ease-out; }
@keyframes bioBlink { 50% { opacity: 0; } }
@keyframes bioFlash { 0% { opacity: 0; } 18% { opacity: 1; filter: brightness(2.2); text-shadow: 0 0 14px currentColor; } 100% { filter: none; } }
@media (prefers-reduced-motion: reduce) { .bio-live { transition: none; } .bio-caret { animation: none; } }

/* ---------- name effects (Profile > Name font). --nc is the name colour, --nc2 the gradient's second colour ---------- */
.llpage .llpage-name { color: var(--nc, inherit); }
.llpage .llpage-name[data-fx] { --c: var(--nc, var(--pg-text)); }
.llpage .llpage-name[data-fx="glow"] { text-shadow: 0 0 6px color-mix(in srgb, var(--c) 70%, transparent), 0 0 18px color-mix(in srgb, var(--c) 50%, transparent), 0 0 38px color-mix(in srgb, var(--c) 35%, transparent); }
.llpage .llpage-name[data-fx="neon"] { color: color-mix(in srgb, var(--c) 22%, #fff);
  text-shadow: 0 0 2px #fff, 0 0 8px var(--c), 0 0 18px var(--c), 0 0 36px var(--c), 0 0 60px color-mix(in srgb, var(--c) 60%, transparent);
  animation: nameFlicker 6s infinite; }
.llpage .llpage-name[data-fx="shadow"] { text-shadow: 1px 1px 0 color-mix(in srgb, var(--c) 55%, #000), 2px 2px 0 color-mix(in srgb, var(--c) 45%, #000), 3px 3px 0 color-mix(in srgb, var(--c) 35%, #000), 4px 4px 0 color-mix(in srgb, var(--c) 25%, #000), 6px 8px 14px rgb(0 0 0 / .45); }
.llpage .llpage-name[data-fx="outline"] { color: transparent; -webkit-text-stroke: max(1.2px, .045em) var(--c); text-shadow: none; }
.llpage .llpage-name[data-fx="gradient"], .llpage .llpage-name[data-fx="chrome"], .llpage .llpage-name[data-fx="shimmer"] {
  color: transparent; -webkit-background-clip: text; background-clip: text; text-shadow: none; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .35)); }
.llpage .llpage-name[data-fx="gradient"] { background-image: linear-gradient(100deg, var(--c), var(--nc2, #fb9280)); }
.llpage .llpage-name[data-fx="chrome"] { background-image: linear-gradient(180deg, #fff 0%, #e9e9ec 38%, #7d7f86 50%, #f4f4f6 60%, #b5b7bd 100%); }
.llpage .llpage-name[data-fx="shimmer"] { background-image: linear-gradient(110deg, var(--c) 38%, color-mix(in srgb, var(--c) 25%, #fff) 50%, var(--c) 62%); background-size: 250% 100%; animation: nameShimmer 3.2s linear infinite; }
.llpage .llpage-name[data-fx="glitch"] { text-shadow: 2px 0 rgb(255 40 90 / .75), -2px 0 rgb(0 220 255 / .75); animation: nameGlitch 3.5s steps(1) infinite; }
.llpage-name[data-fx] .name-seal { -webkit-text-stroke: 0; }
@keyframes nameShimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes nameFlicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .78; } }
@keyframes nameGlitch { 0%, 88%, 100% { text-shadow: 2px 0 rgb(255 40 90 / .75), -2px 0 rgb(0 220 255 / .75); }
  90% { text-shadow: -4px 0 rgb(255 40 90 / .9), 4px 0 rgb(0 220 255 / .9); }
  93% { text-shadow: 3px 1px rgb(255 40 90 / .9), -3px -1px rgb(0 220 255 / .9); } }
@media (prefers-reduced-motion: reduce) { .llpage .llpage-name[data-fx] { animation: none; } }

/* a button wearing a background design: the live animation fills it, under the gloss and the label */
.llpage .llpage-link .lp-live { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; border-radius: inherit; pointer-events: none; display: block; }
.llpage .llpage-link.lp-has-live { --gloss: .1; }
.llpage .llpage-link.lp-has-live[data-ink="light"] > .llpage-label { text-shadow: 0 1px 3px rgb(0 0 0 / .55), 0 0 12px rgb(0 0 0 / .35); }
.llpage .llpage-link.lp-has-live[data-ink="dark"] > .llpage-label { text-shadow: 0 1px 2px rgb(255 255 255 / .6), 0 0 10px rgb(255 255 255 / .4); }

/* Pro avatar decorations: an animated frame round the picture, partly behind it and partly in front */
.llpage-avatar.has-deco { overflow: visible; isolation: isolate; }
.llpage-avatar.has-deco img { border-radius: inherit; }
.av-deco { position: absolute; inset: -25%; pointer-events: none; display: block; }
.av-deco svg { width: 100%; height: 100%; display: block; overflow: visible; }
.av-deco.back { z-index: -1; }
.av-deco.front { z-index: 1; }
.llpage-avatar.has-deco .av-seal, .llpage-avatar.has-deco .live-tag { z-index: 3; }

/* Pro profile effects: a canvas over the whole page that never catches a tap */
.llpage-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; display: block; }
.is-public .llpage-fx { position: fixed; }
/* Dark Aether button (shown until its live design is drawn) */
.llpage .llpage-link.lp-aether { color: #f6eeff; --ts: .5; --edge: #12041f; --gloss: .16; --rim: .3;
  background: radial-gradient(1px 1px at 18% 32%, #fff, transparent), radial-gradient(1px 1px at 64% 70%, #ffb6e8, transparent), radial-gradient(1px 1px at 82% 28%, #ff5a6a, transparent),
    radial-gradient(90% 140% at 30% 0%, #6b22d6 0%, transparent 60%), radial-gradient(80% 120% at 85% 100%, #3a0f7a, transparent 70%), linear-gradient(180deg, #24083f, #0c0316); }

/* phones: over a moving background, glass buttons and strips use a stronger tint instead of a live blur
   (re-blurring a canvas that changes every frame is what makes phones drop frames) */
@media (pointer: coarse) {
  .llpage:not([data-anim=""]) .llpage-link.ls-glass { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: color-mix(in srgb, var(--btn-color) 24%, rgb(0 0 0 / .14)); }
  .llpage[data-btn="glass"]:not([data-anim=""]) .llpage-link:not(.highlight) { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: color-mix(in srgb, var(--btn-color) 16%, rgb(255 255 255 / .12)); }
  .llpage:not([data-anim=""]) .strip.bg-glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* avatar decorations reach past the picture, so everything else on the page sits above them:
   a decoration is always behind the name, badges, bio and buttons where they overlap */
.llpage-head > :not(.llpage-avatar), .llpage-blocks, .llpage-footrow { position: relative; z-index: 1; }
.llpage-avatar { z-index: 0; }

/* the badge row's optional background */
.llpage-badges.bb-tint, .llpage-badges.bb-solid { padding: 7px 12px; border-radius: 14px; }
.llpage-badges.bb-tint { background: color-mix(in srgb, var(--bb) 22%, transparent); border: 1px solid color-mix(in srgb, var(--bb) 30%, transparent); }
.llpage-badges.bb-solid { background: var(--bb); }
