/* 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; }

/* 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) {
  .llpage.animate .llpage-block { animation: llrise .6s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.08s + var(--i) * .05s); }
  @keyframes llrise { from { opacity: 0; transform: translateY(14px); } }
}
@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; }
  @keyframes liveBreathe { 50% { inset: -8px; opacity: .75; } }
}

/* ---------- 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 { color: #ff2d55; opacity: 1; }
.is-public .notify-bell { position: fixed; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); }
.notify-pop { position: fixed; z-index: 30; top: calc(max(14px, env(safe-area-inset-top)) + 48px); right: max(14px, env(safe-area-inset-right)); width: min(270px, calc(100vw - 28px));
  display: grid; grid-template-columns: 1fr auto; gap: 10px 8px; align-items: start; padding: 14px 12px 14px 16px; border-radius: 16px;
  background: color-mix(in srgb, var(--pg-bg-solid) 82%, #000); color: var(--pg-text); border: 1px solid var(--soft-line);
  box-shadow: 0 18px 40px rgb(0 0 0 / .45); font-family: var(--pg-font); transform-origin: top right;
  animation: popIn .35s cubic-bezier(.16, 1, .3, 1); }
.notify-pop.out { animation: popOut .25s ease forwards; }
.notify-pop::before { content: ""; position: absolute; top: -6px; right: 14px; width: 11px; height: 11px; transform: rotate(45deg); background: inherit; border-left: 1px solid var(--soft-line); border-top: 1px solid var(--soft-line); }
.notify-pop p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35; }
.notify-pop .x { width: 26px; height: 26px; margin: -4px -2px 0 0; border: 0; border-radius: 50%; background: none; color: inherit; opacity: .6; cursor: pointer; font-size: 18px; line-height: 1; }
.notify-pop .x:hover { opacity: 1; background: var(--soft); }
.notify-pop .go { grid-column: 1 / -1; height: 36px; border: 0; border-radius: 10px; background: #ff2d55; color: #fff; font: 700 13.5px/1 var(--pg-font); cursor: pointer; }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(.92); } }
@keyframes popOut { to { opacity: 0; transform: translateY(-6px) scale(.95); } }

/* ---------- 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 */
