/* Link-in-bio page (served on its own hostname). Colours and fonts come from style.css. */
.bio-body { min-height: 100vh; overflow-x: hidden; }
.bio-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.bio-bg i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.bio-bg i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, rgba(200, 35, 43, .55), transparent 68%); animation: bio-drift 22s ease-in-out infinite alternate; }
.bio-bg i:nth-child(2) { width: 52vw; height: 52vw; right: -16vw; top: 18vh; background: radial-gradient(circle, rgba(58, 76, 150, .6), transparent 68%); animation: bio-drift 28s ease-in-out infinite alternate-reverse; }
.bio-bg i:nth-child(3) { width: 40vw; height: 40vw; left: 26vw; bottom: -22vw; background: radial-gradient(circle, rgba(139, 17, 22, .4), transparent 68%); animation: bio-drift 34s ease-in-out infinite alternate; }
:root[data-theme="light"] .bio-bg i { opacity: .28; }
@keyframes bio-drift { to { transform: translate(6vw, 4vh) scale(1.12); } }

.bio { width: min(1120px, 100% - 32px); margin: 0 auto; padding: 44px 0 36px; }
.bio-head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.bio-pfp { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 10px 30px rgba(200, 35, 43, .3); }
.bio-head h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.bio-head p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.bio-theme { margin-left: auto; align-self: flex-start; }

.bio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.bio-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 900px) { .bio-grid { grid-template-columns: repeat(2, 1fr); } .bio-col:nth-child(3) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .bio-grid { grid-template-columns: 1fr; } .bio-col:nth-child(3) { display: flex; } .bio { padding-top: 28px; } }

.b-card { --c: var(--accent-text); position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--border); border-radius: 18px;
  color: var(--text); text-decoration: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
  animation: bio-in .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes bio-in { from { opacity: 0; transform: translateY(14px); } }
a.b-card:hover, a.b-card:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, var(--border)); box-shadow: 0 16px 40px rgba(0, 0, 0, .35), 0 0 0 1px color-mix(in srgb, var(--c) 25%, transparent); outline: none; }
:root[data-theme="light"] a.b-card:hover { box-shadow: 0 16px 40px rgba(30, 40, 90, .16); }
.c-red { --c: #ff5a60; } .c-green { --c: var(--good); } .c-blue { --c: var(--pill-blue); } .c-purple { --c: var(--ev-select); }
.c-hero { --c: #ff5a60; border-color: var(--hero-bd); background: linear-gradient(150deg, color-mix(in srgb, #c8232b 18%, var(--surface)), color-mix(in srgb, var(--surface) 85%, transparent) 60%); }

.b-label { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.b-label i { width: 14px; height: 2px; border-radius: 2px; background: var(--c); }
.b-badge { margin-left: auto; padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--good); background: var(--good-soft); border: 1px solid color-mix(in srgb, var(--good) 40%, transparent); }
.b-name { display: flex; align-items: center; gap: 9px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.b-stat { display: flex; align-items: baseline; gap: 7px; margin-top: 4px; color: var(--muted); font-size: .8rem; }
.b-stat strong { font-family: var(--font-price); font-size: 1.7rem; font-weight: 700; color: var(--text); letter-spacing: -.02em; line-height: 1; }
.b-stat.big { align-items: center; flex-wrap: wrap; margin: 0; }
.b-stat .dot { align-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }
.b-yt { display: flex; align-items: center; gap: 14px; }
.b-yt img { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border-strong); }
.b-text { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.b-meta { color: var(--muted); font-size: .78rem; }
.b-site { display: flex; align-items: center; gap: 14px; }
.b-site img { border-radius: 12px; }

.b-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; padding-top: 14px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: .8rem; font-weight: 600; text-decoration: none; }
.b-foot em { display: inline-flex; font-style: normal; transition: transform .2s var(--ease), color .2s; }
a.b-card:hover .b-foot, a.b-foot:hover { color: var(--text); }
a.b-card:hover .b-foot em, a.b-foot:hover em { transform: translate(2px, -2px); color: var(--c); }

.b-thumb { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-3); }
.b-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
a.b-card:hover .b-thumb img { transform: scale(1.04); }
.b-play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(200, 35, 43, .92); box-shadow: 0 6px 20px rgba(0, 0, 0, .45); transition: transform .25s var(--ease); }
a.b-card:hover .b-play { transform: scale(1.1); }
.b-vtitle { font-weight: 700; font-size: .95rem; line-height: 1.3; }

.b-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.b-list li + li { border-top: 1px solid var(--border); }
.b-list a { display: flex; align-items: center; gap: 12px; padding: 10px 6px; margin: 0 -6px; border-radius: 10px; color: var(--text); text-decoration: none; transition: background .2s; }
.b-list a:hover, .b-list a:focus-visible { background: var(--surface-2); outline: none; }
.b-list img { width: 88px; height: 50px; object-fit: cover; border-radius: 7px; flex: none; background: var(--surface-3); }
.b-list span b { display: block; font-size: .82rem; font-weight: 600; line-height: 1.3; }
.b-list small { color: var(--muted); font-size: .72rem; }
.b-list.plain a { padding: 9px 6px; }
.b-logo { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--art-bg); border: 1px solid var(--border); overflow: hidden; }
.b-logo img { width: 26px; height: 26px; object-fit: contain; border-radius: 0; background: none; }
.b-logo b { font-weight: 700; color: var(--muted); }
.b-logo.plus { font-size: 1.3rem; color: var(--text); background: var(--surface-2); }
.b-pname { flex: 1; min-width: 0; font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-price { font-family: var(--font-price); font-weight: 700; font-size: .95rem; color: var(--good); }

.bio-foot { margin-top: 34px; text-align: center; font-size: .78rem; }
.bio-foot a { color: var(--muted); text-decoration: none; }
.bio-foot a:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .b-card { animation: none; } .bio-bg i { animation: none; } a.b-card:hover { transform: none; } }
