/* Link-in-bio hub (/hi/): notebook / zine look. Standalone page, no site header or footer. */
:root {
  --desk: #0E1320;
  --paper: #F7F1E3;
  --paper-2: #EFE6D2;
  --line: rgba(70, 110, 160, .16);
  --margin: rgba(214, 90, 80, .35);
  --ink: #23201B;
  --ink-2: #5B554B;
  --stamp: #B4382C;
  --t: #4FC3F7; --e: #FFC247; --a: #FF6F61; --m: #B794FF;
  --hand: "Caveat", "Bradley Hand", cursive;
  --type: "Special Elite", "Courier New", monospace;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--desk); }
body { min-height: 100vh; font: 15px/1.45 var(--body); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px dashed var(--ink); outline-offset: 3px; }

/* The notebook page */
.hi {
  position: relative; max-width: 480px; margin: 0 auto; min-height: 100vh;
  padding: 28px 20px 36px 40px; overflow-x: clip;
  background:
    linear-gradient(90deg, transparent 28px, var(--margin) 28px, var(--margin) 29.5px, transparent 29.5px),
    repeating-linear-gradient(180deg, transparent 0 27px, var(--line) 27px 28px),
    var(--paper);
}
@media (min-width: 520px) {
  body { padding: 28px 16px; }
  .hi { min-height: auto; border-radius: 6px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
}

/* Share */
.hi-share {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.75); border: 1.5px solid var(--ink); color: var(--ink);
}
.hi-share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hi-share.copied { background: var(--e); }

/* Profile: centered, like a classic link-in-bio, in notebook style */
.hi-head { text-align: center; padding: 8px 4px 0; }
.hi-home { display: block; color: inherit; }
.hi-home:hover .hi-logo, .hi-home:focus-visible .hi-logo { transform: rotate(-8deg) scale(1.04); }
.hi-logo {
  width: 96px; height: 96px; border-radius: 50%; background: var(--desk);
  border: 3px solid #fff; outline: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-3deg); transition: transform .2s ease;
}
.hi h1 { font: 700 46px/1 var(--hand); margin-top: 12px; }
.hi-handle { font: 13px var(--type); color: var(--ink-2); margin-top: 4px; }
.hi-bio { font: 600 22px/1.25 var(--hand); color: var(--ink); margin: 12px auto 0; max-width: 34ch; }
.hi-social { display: flex; justify-content: center; gap: 12px; margin: 16px 0 26px; }
.hi-social a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.hi-social a:hover, .hi-social a:focus-visible { transform: translateY(-2px); box-shadow: 3px 4px 0 var(--ink); background: var(--e); }
.hi-social svg { width: 22px; height: 22px; fill: var(--ink); }
.hi-social-img { width: 24px; height: 24px; display: block; object-fit: contain; }
@media (max-width: 420px) {
  .hi-social { gap: 8px; }
  .hi-social a { width: 42px; height: 42px; }
  .hi-social svg { width: 20px; height: 20px; }
  .hi-social-img { width: 22px; height: 22px; }
}

/* Hero card with tape */
.hi-card {
  position: relative; display: block; margin: 0 0 20px; padding: 18px 16px 16px;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 3px;
  box-shadow: 3px 3px 0 var(--ink); transform: rotate(-.6deg);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hi-card:hover, .hi-card:focus-visible { transform: rotate(0) translateY(-2px); box-shadow: 5px 5px 0 var(--ink); }
.hi-card::before, .hi-row-big::before {
  content: ""; position: absolute; top: -10px; left: 50%; width: 92px; height: 20px; margin-left: -46px;
  background: var(--tape, var(--e)); opacity: .85; transform: rotate(-3deg);
  clip-path: polygon(2% 0, 98% 6%, 100% 92%, 0 100%);
}
.tape-t { --tape: var(--t); } .tape-e { --tape: var(--e); } .tape-a { --tape: var(--a); } .tape-m { --tape: var(--m); }
.stamp {
  display: inline-block; font: 13px var(--type); text-transform: uppercase; letter-spacing: .12em;
  color: var(--stamp); border: 1.5px solid var(--stamp); border-radius: 3px; padding: 1px 7px; transform: rotate(-2deg);
  margin-bottom: 8px;
}
.stamp.sm { font-size: 11px; padding: 0 5px; margin-bottom: 4px; }
.hi-season { margin: 4px 0 18px; text-align: center; }
.hi-season .stamp { display: inline-block; margin-bottom: 8px; }
.hi-season-title { font: 700 28px/1.1 var(--hand); color: var(--ink); margin: 2px 0 4px; }
.hi-season-line { font: 600 20px/1.2 var(--hand); color: var(--ink-2); margin-bottom: 10px; }
.hi-season .mini-player { text-align: left; margin-left: auto; margin-right: auto; }
.hi-season .mini-player-title { display: none; }
.hi-season .mini-player-full { display: none; }
.hi-season-watch {
  display: inline-block; margin-top: 4px; padding: 8px 14px;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 3px;
  box-shadow: 3px 3px 0 var(--ink);
  font: 700 15px/1.2 var(--body); color: var(--ink);
}
.hi-season-watch:hover, .hi-season-watch:focus-visible { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.hi-nowplaying { margin: 4px 0 8px; }
.hi-nowplaying > .stamp { display: block; width: fit-content; margin: 0 auto 14px; }
.hi-now { margin: 0 0 16px; transform: none; }
.hi-now-title { font: 700 32px/1 var(--hand); color: var(--ink); margin: 2px 0 10px; }
.hi-now-more { display: inline-block; margin-top: 12px; font-weight: 700; border-bottom: 1.5px solid var(--ink); }
.yt-facade { position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #1a1612; }
.yt-face { position: absolute; inset: 0; overflow: hidden; background: #1a1612 center / cover no-repeat; }
.yt-facade iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.yt-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: #fff; color: var(--ink); box-shadow: 3px 3px 0 var(--ink);
  font-size: 18px; cursor: pointer;
}
.hi-now .mini-player--zine { margin: 2px 0 12px; padding: 0; border: 0; box-shadow: none; background: transparent; }
.hi-now .mini-player--zine::before { content: none; }
.hi-now .mini-player-title, .hi-now .mini-player-full { display: none; }
.hi-now-clip { --tape: #E5484D; }
.hi-card strong { display: block; font: 700 19px/1.25 var(--body); }
.hi-card .note { display: block; font: 600 20px/1.2 var(--hand); color: var(--ink-2); margin-top: 4px; }
.polaroid {
  display: block; width: 100%; max-width: 72%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border: 8px solid #fff; border-bottom-width: 26px; outline: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 2px 6px rgba(0,0,0,.18); margin: 2px auto 12px; transform: rotate(1.5deg);
}

/* Link rows (thumbnail + title + platform line), big thumb targets */
.hi-row {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; margin-bottom: 10px; padding: 8px 14px 8px 8px;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; box-shadow: 2px 2px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hi-row:hover, .hi-row:focus-visible { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.hi-row:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.hi-row-big { margin: 18px 0 20px; padding: 12px 14px 12px 12px; border-radius: 3px; transform: rotate(.4deg); }
.hi-row .thumb {
  flex: none; width: 48px; height: 48px; border-radius: 8px; object-fit: cover;
  background: var(--paper-2); border: 1.5px solid var(--ink);
}
.hi-row-big .thumb { width: 64px; height: 64px; }
.hi-row .txt { flex: 1; min-width: 0; }
.hi-row strong { display: block; font-weight: 700; line-height: 1.25; }
.hi-row small {
  display: flex; align-items: center; gap: 5px; margin-top: 2px;
  font: 12px var(--type); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hi-row small svg { flex: none; width: 13px; height: 13px; fill: var(--ink-2); }
.hi-row-plat-img { flex: none; width: 13px; height: 13px; display: block; object-fit: contain; }
.hi-row .go { flex: none; font-weight: 700; }
.disc { border-radius: 50% !important; background: radial-gradient(circle, var(--paper) 0 4px, var(--ink) 5px 7px, #3a362f 8px 100%) !important; }
.thumb.team { display: grid; place-items: center; font: 900 20px var(--body); color: var(--ink); background: var(--tape) !important; }

/* Vote: a marker highlight */
.hi-vote {
  display: block; margin: 0 0 20px; padding: 12px 14px; font: 700 18px var(--body);
  background: linear-gradient(100deg, transparent 2%, rgba(255,194,71,.85) 3%, rgba(255,194,71,.7) 97%, transparent 98%);
  border-radius: 2px;
}
.hi-vote span { font-family: var(--type); font-weight: 400; }

/* Sections */
.hi-sec { margin: 26px 0 8px; }
.hi-sec h2 { font: 700 30px/1 var(--hand); margin-bottom: 12px; }
.hi-sec h2 em { font: 13px var(--type); color: var(--ink-2); font-style: normal; margin-left: 6px; }
.hi-more-link { display: inline-block; margin-top: 6px; font: 700 22px var(--hand); border-bottom: 2px solid var(--ink); }

.hi-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.hi-strip a { flex: none; width: 120px; scroll-snap-align: start; background: #fff; border: 1.5px solid var(--ink); }
.hi-strip img { display: block; width: 100%; height: auto; }
.hi-strip span { display: block; padding: 4px 6px; font: 12px var(--type); }
.hi-strip span.hi-comic-fallback {
  display: grid; place-items: center; min-height: 150px; padding: 12px 8px;
  text-align: center; font: 700 13px/1.3 var(--type); color: var(--ink);
}

/* Footer */
.hi-foot { margin-top: 28px; padding-top: 16px; border-top: 1.5px dashed var(--ink-2); text-align: center; }
.hi-team { display: inline-flex; align-items: center; gap: 4px; font: 13px var(--type); color: var(--ink-2); }
.hi-team b { display: inline-grid; place-items: center; width: 20px; height: 22px; border-radius: 3px; font: 900 13px var(--body); color: var(--desk); }
.hi-team .t { background: var(--t); } .hi-team .e { background: var(--e); } .hi-team .a { background: var(--a); } .hi-team .m { background: var(--m); }
.hi-team b:last-of-type { margin-right: 6px; }

@media (prefers-reduced-motion: reduce) {
  .hi-card, .hi-row, .hi-social a { transition: none; }
}
.hi-row-big small { white-space: normal; }
.hi-row .thumb { color: transparent; }
