/* hoverkin.net
   warm near-black, red, DM Sans, lowercase. real footage and the real app.
   the hero starts as a giant F8 with gameplay inside the letters and opens
   into the full gameplay stage when you press it. */

:root {
  --bg: #0f0d11;
  --bg2: #141116;
  --panel: #1d181d;
  --ink: #f6eef2;
  --mut: #a8979f;
  --soft: #d9cbd1;
  --line: #ffffff1a;
  --red: #ef4352;
  --red-hi: #ff5a68;
  --on-red: #1a0507;
  --wrap: 1200px;
  --gut: max(32px, calc((100vw - var(--wrap)) / 2 + 32px));
  --out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.055em; line-height: 0.98; }
h1 { font-size: clamp(42px, 5.6vw, 80px); }
h2 { font-size: clamp(34px, 4.2vw, 54px); }
h3 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.045em; line-height: 1.05; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--red); }
p { color: var(--mut); }
.i { width: 1em; height: 1em; flex: none; }

/* buttons: squared off, no pills */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: var(--on-red);
  font: inherit; font-weight: 700; font-size: 16px;
  padding: 11px 18px; border-radius: 8px; border: 0;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--out), background .15s, box-shadow .2s;
}
.btn:hover { background: var(--red-hi); transform: translateY(-2px); box-shadow: 0 10px 24px -8px #ef4352aa; }
.btn:hover .i { animation: nudge .5s var(--out); }
@keyframes nudge { 40% { transform: translateY(4px); } }
.btn:active { transform: translateY(0) scale(.98); }
.btn.lg { font-size: 18px; padding: 16px 26px; }
.btn.off { background: none; color: var(--mut); box-shadow: inset 0 0 0 1px var(--line); cursor: default; transform: none; }
.arrow { font-weight: 700; font-size: 16px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.arrow span { animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* nav */
nav { border-bottom: 1px solid var(--line); background: #0f0d11cc; backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
nav .wrap { display: flex; align-items: center; height: 72px; gap: 40px; }
.brand { display: inline-flex; flex-direction: column; font-weight: 800; font-size: 25px; line-height: 1; letter-spacing: -0.06em; text-decoration: none; white-space: nowrap; }
.brand small { font-size: 11.5px; font-weight: 600; letter-spacing: .01em; color: var(--mut); margin-top: 3px; }
nav .links { display: flex; gap: 34px; margin-right: auto; }
nav .links a { font-weight: 600; font-size: 15px; text-decoration: none; position: relative; }
nav .links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--out); }
nav .links a:hover::after, nav .links a[aria-current]::after { transform: scaleX(1); }

/* ---------- hero ---------- */
.hero { position: relative; height: clamp(720px, calc(100vh - 73px), 880px); overflow: hidden; background: #000; --f8: min(44vw, 58vh, 600px); --f8-top: 232px; }
.hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.25) brightness(1.4); transition: filter 1s; }
/* black sheet with a white F8 punched in it; multiply lets the video through the letters only */
.mask { position: absolute; inset: -1px; background: #000; mix-blend-mode: multiply; pointer-events: none; transition: opacity .5s .55s; }
.mask span {
  position: absolute; left: var(--gut); top: var(--f8-top);
  color: #fff; font-weight: 800; font-size: var(--f8); letter-spacing: -0.07em; line-height: .8;
  transform-origin: 9% 50%; will-change: transform;
  transition: transform 1.1s cubic-bezier(.7, 0, .84, 0);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.025); } }
/* a thin outline so the letters read even when the footage goes dark */
.outline { position: absolute; left: var(--gut); top: var(--f8-top); font-weight: 800; font-size: var(--f8); letter-spacing: -0.07em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px #ffffff3d; transform-origin: 9% 50%; animation: breathe 5s ease-in-out infinite; pointer-events: none; user-select: none; }
/* lifts the multiplied black back up to the page colour */
.lift { position: absolute; inset: 0; background: var(--bg); mix-blend-mode: lighten; pointer-events: none; transition: opacity .5s .55s; }
/* with site.js running the video is clipped to the letters instead. same look,
   but no full-screen blending per frame, so it stays smooth on software rendering */
.cut { position: absolute; }
#f8t { font-weight: 800; font-size: var(--f8); letter-spacing: -0.07em; transform-origin: 0 0;
  transform: translate(var(--ox, 0px), var(--oy, 0px)) scale(var(--s, 1)) translate(calc(var(--ox, 0px) * -1), calc(var(--oy, 0px) * -1));
  transition: transform 1.1s cubic-bezier(.7, 0, .84, 0); }
.hero.cutout { background: var(--bg); }
.hero.cutout > video { clip-path: url(#f8); filter: none; transition: none; }
.hero.cutout .mask, .hero.cutout .lift { display: none; }
.hero.cutout .outline { animation: none; }
.hero.cutout.open { --s: 34; }
.hero.cutout.opened > video { clip-path: none; }
.shade { position: absolute; inset: 0; opacity: 0; transition: opacity .8s .6s; pointer-events: none;
  background: linear-gradient(180deg, #0f0d1100 35%, #0f0d11e6 78%, #0f0d11 100%), linear-gradient(90deg, #0f0d11cc 0%, #0f0d1100 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 6; background: #fff; opacity: 0; pointer-events: none; }
.hero.flash::after { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .55; } 100% { opacity: 0; } }

/* closed: headline, the letters, and the pitch beside them */
.intro { position: absolute; inset: 0; z-index: 2; transition: opacity .35s, visibility 0s .35s; }
.intro h1 { position: absolute; left: var(--gut); top: 56px; }
.intro h1 span { display: inline-block; animation: rise .9s var(--out) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(.5em) rotate(3deg); } }
.hit { position: absolute; left: var(--gut); top: var(--f8-top); width: calc(var(--f8) * 1.22); height: calc(var(--f8) * .8); background: none; border: 0; cursor: pointer; border-radius: 12px; }
.side { position: absolute; right: var(--gut); top: calc(var(--f8-top) + 40px); width: 380px; animation: rise .9s .6s var(--out) backwards; }
.side p.sub { font-size: 20px; color: var(--soft); }
.cta { display: flex; align-items: center; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.meta { margin-top: 18px; font-size: 14px; color: var(--mut); font-weight: 500; }
.hint { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; font-size: 15px; font-weight: 600; color: var(--soft); }
.hint kbd { font: inherit; font-weight: 800; font-size: 13px; color: #2b1016; background: linear-gradient(#fffaf9, #f3dfe0); padding: 5px 9px; border-radius: 6px; box-shadow: 0 3px 0 #b9949a; animation: tap 1.8s ease-in-out infinite; }
@keyframes tap { 0%, 60%, 100% { transform: none; box-shadow: 0 3px 0 #b9949a; } 75% { transform: translateY(3px); box-shadow: 0 0 0 #b9949a; } }

/* open: the footage is the hero and the key keeps working */
.live { position: absolute; z-index: 3; left: 0; right: 0; bottom: 96px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; opacity: 0; visibility: hidden; transform: translateY(30px); transition: opacity .7s .75s, transform .9s .75s var(--out), visibility 0s .75s; }
.live h1 { font-size: clamp(40px, 5.4vw, 80px); }
.live p.sub { font-size: 20px; max-width: 40ch; margin-top: 22px; color: var(--soft); }
.press { text-align: center; flex: none; margin-bottom: 14px; }
.press span { display: block; margin-top: 26px; font-size: 14px; font-weight: 600; color: var(--soft); }
.key {
  font: inherit; font-weight: 800; font-size: 44px; letter-spacing: -0.04em; color: #2b1016;
  width: 132px; height: 120px; border: 0; border-radius: 16px; cursor: pointer;
  background: linear-gradient(#fffaf9, #f3dfe0);
  box-shadow: 0 9px 0 #b9949a, 0 9px 0 1px #0006, 0 22px 30px #0009;
  transition: transform .06s, box-shadow .06s;
}
.key small { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0; color: #dc2c41; margin-top: -4px; }
.key:active, .key.down { transform: translateY(7px); box-shadow: 0 2px 0 #b9949a, 0 2px 0 1px #0006, 0 8px 12px #0009; }
.saved {
  position: absolute; left: 50%; top: 28px; z-index: 4; background: #151114f2; border-left: 3px solid var(--red);
  padding: 12px 18px 12px 15px; border-radius: 6px; font-size: 14px; color: var(--mut); white-space: nowrap;
  opacity: 0; transform: translate(-50%, -16px); transition: opacity .25s, transform .45s var(--out);
}
.saved b { display: block; color: var(--ink); font-size: 16px; }
.saved.on { opacity: 1; transform: translate(-50%, 0); }

.hero.open > video { filter: none; }
.hero.open .mask span { transform: scale(34); animation: none; }
.hero.open .mask, .hero.open .lift { opacity: 0; }
.hero.open .shade { opacity: 1; }
.hero.open .intro { opacity: 0; visibility: hidden; }
.hero.open .live { opacity: 1; visibility: visible; transform: none; }

/* clips land here */
.under-stage { position: relative; z-index: 4; padding-bottom: 80px; }
.tray { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; transform: translateY(-58px); margin-bottom: -58px; }
.clip { min-width: 0; }
.clip .t { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 20px 40px #000a; }
.clip .t img, .clip .t canvas { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--out); }
.clip:hover .t img, .clip:hover .t canvas { transform: scale(1.07); }
.clip .t span { position: absolute; right: 8px; bottom: 8px; background: #000c; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.clip b { display: block; font-size: 14px; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip small { color: var(--mut); font-size: 13px; }
.clip.new { animation: drop .7s var(--out); }
.clip.new .t { box-shadow: 0 0 0 2px var(--red), 0 20px 40px #000a; }
.clip.shift { animation: shift .5s var(--out); }
@keyframes drop { from { opacity: 0; transform: translateY(-140px) scale(1.5) rotate(-4deg); } }
@keyframes shift { from { transform: translateX(-60%); } }

/* running strip */
.strip { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; white-space: nowrap; }
.strip div { display: inline-block; animation: run 28s linear infinite; font-weight: 700; font-size: clamp(40px, 6vw, 84px); letter-spacing: -0.055em; line-height: 1; }
.strip i { font-style: normal; color: var(--red); margin: 0 .22em; }
.strip:hover div { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }

/* the real app */
.showcase { text-align: center; padding: 110px 0; perspective: 1400px; }
.showcase p { margin: 18px auto 0; max-width: 46ch; }
.app { position: relative; width: min(1040px, 100%); margin: 56px auto 0; transform-origin: 50% 100%; will-change: transform; }
.app video { width: 100%; border-radius: 10px; box-shadow: 0 40px 80px -20px #000c, 0 0 0 1px #ffffff14, 0 0 120px -30px #ef435255; background: var(--bg); aspect-ratio: 1280 / 688; }
/* the owl girl perches here once her art exists */
.perch { position: absolute; right: 12%; bottom: 100%; width: 170px; height: 150px; pointer-events: none; }

/* what it does */
.does { background: var(--bg2); padding: 110px 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.row + .row { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line); }
.row p { margin-top: 20px; max-width: 42ch; }
.big { font-weight: 800; font-size: clamp(110px, 17vw, 230px); letter-spacing: -0.07em; line-height: .8; color: var(--red); white-space: nowrap; font-variant-numeric: tabular-nums; }
.big small { font-size: .34em; letter-spacing: -0.04em; margin-left: .08em; }
.big-cap { margin-top: 22px; font-size: 18px; color: var(--mut); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 1px solid var(--line); }
.stats > div { padding: 18px 18px 0 0; }
.stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.stats dt { font-weight: 800; font-size: 30px; letter-spacing: -0.04em; color: var(--ink); white-space: nowrap; }
.big sup { font-size: .16em; letter-spacing: 0; vertical-align: top; margin-left: .15em; position: relative; top: .5em; color: var(--mut); }
.stats sup { font-size: .5em; margin-left: 2px; color: var(--mut); }
.row p.fine { margin-top: 18px; max-width: none; font-size: 13px; line-height: 1.45; color: var(--mut); }
.stats dd { margin: 4px 0 0; font-size: 15px; line-height: 1.35; color: var(--mut); }
.shot { background: var(--panel); border-radius: 22px; padding: 64px 0 64px 48px; overflow: hidden; }
.shot img { width: 200%; max-width: none; border-radius: 10px 0 0 10px; box-shadow: 0 0 0 1px #ffffff14; transition: transform 1.4s var(--out); }
.js .shot img { transform: translateX(34%); }
.js .in .shot img, .js .shot.in img { transform: none; }

/* the small stuff, as a ruled list */
.also { padding: 110px 0; }
.also .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.also .lead { margin-top: 20px; max-width: 30ch; }
.rules > div { position: relative; display: flex; justify-content: space-between; gap: 30px; align-items: baseline; padding: 22px 0; transition: padding .35s var(--out); }
.rules > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; transition: transform 1s var(--out); transition-delay: inherit; }
.rules > div:last-child { border-bottom: 1px solid var(--line); }
.rules > div:hover { padding-left: 14px; }
.rules > div:hover b { color: var(--red); }
.rules b { font-size: 21px; letter-spacing: -0.03em; transition: color .2s; }
.rules span { color: var(--mut); font-size: 16px; text-align: right; }
.js .rules > div:not(.in)::before { transform: scaleX(0); }

/* plans: one boxed table */
.plans { background: var(--bg2); padding: 110px 0; }
.plans .lead { margin-top: 18px; }
.ptable-wrap { margin-top: 56px; border: 1px solid #ffffff2e; border-radius: 10px; overflow-x: auto; background: var(--bg); }
.ptable { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; font-size: 16px; }
.ptable th, .ptable td { padding: 16px 24px; text-align: left; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.ptable tr > :first-child { border-left: 0; width: 27%; }
.ptable thead th, .ptable thead td { border-top: 0; padding: 28px 24px; vertical-align: top; }
.ptable .pn { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.04em; }
.ptable .pn em { font-style: normal; color: var(--red); }
.price { font-weight: 800; font-size: 64px; letter-spacing: -0.06em; line-height: 1; margin: 16px 0 22px; display: block; transition: transform .4s var(--out), color .2s; transform-origin: left bottom; }
.ptable thead th:hover .price { transform: scale(1.06) rotate(-2deg); color: var(--red); }
.price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--mut); margin-left: 8px; }
.ptable tbody th { font-weight: 600; color: var(--ink); }
.ptable tbody td { color: var(--mut); }
.ptable tbody .y { color: var(--ink); font-weight: 700; }
.ptable tbody tr { transition: background .2s; }
.ptable tbody tr:hover { background: #ffffff08; }
.fine { font-size: 14px; margin-top: 18px; }

/* faq */
.faq { padding: 110px 0; }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 21px; letter-spacing: -0.03em; display: flex; justify-content: space-between; gap: 20px; transition: color .2s, padding .35s var(--out); }
summary:hover { color: var(--red); padding-left: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-weight: 500; font-size: 26px; line-height: 1; transition: transform .4s var(--out); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 60px 24px 0; }
details[open] p { animation: rise .5s var(--out); }

/* sign-off */
.end { background: #0a090b; padding: 130px 0 0; position: relative; overflow: hidden; }
.end .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding-bottom: 110px; }
.end h2 { font-size: clamp(48px, 9vw, 132px); }
.end h2 span { display: inline-block; }
.end p { margin-top: 22px; font-size: 20px; }
.end .btn { margin-top: 34px; }
/* she peeks over the footer line here once her art exists */
.peek { width: 240px; height: 200px; }

/* same footer as the other tazldied sites: brand, three link columns, a ruled copyright line */
footer { background: var(--bg2); color: var(--mut); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand .brand { display: inline-flex; color: var(--ink); font-size: 20px; padding: 0; }
.foot-brand p { margin-top: 12px; font-size: 14.5px; max-width: 22em; }
.foot-grid h2 { font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--ink); margin-bottom: 10px; }
.foot-grid div a { display: block; padding: 3px 0; font-size: 14.5px; text-decoration: none; transition: color .13s; }
.foot-grid div a:hover { color: var(--red); }
.foot-meta { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.foot-meta a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ffffff40; }

/* small pages */
.page-head { padding: 96px 0 24px; }
.page-head p { font-size: 20px; margin-top: 22px; max-width: 40ch; }
.lost { padding: 140px 32px 160px; }
.lost h1 { font-size: clamp(120px, 22vw, 280px); color: var(--red); letter-spacing: -0.07em; animation: wobble 4s ease-in-out infinite; transform-origin: 20% 80%; display: inline-block; }
@keyframes wobble { 50% { transform: rotate(-3deg); } }
.lost p { font-size: 22px; margin: 10px 0 34px; }

/* scroll reveals (only when js is running) */
.js [data-rise] { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--out), transform 1s var(--out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-rise].in { opacity: 1; transform: none; }
.js [data-words] span { opacity: 0; transform: translateY(.6em) rotate(4deg); transition: opacity .6s var(--out), transform .9s var(--out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-words].in span { opacity: 1; transform: none; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  :root { --gut: 20px; }
  .wrap { padding: 0 20px; }
  nav .links { display: none; }
  nav .wrap { justify-content: space-between; height: 62px; }
  .hero { height: 820px; --f8: 62vw; --f8-top: 176px; }
  .intro h1 { top: 36px; right: 20px; font-size: 40px; }
  .side { left: 20px; right: 20px; width: auto; top: calc(var(--f8-top) + var(--f8) * .8 + 28px); }
  .side p.sub { font-size: 18px; }
  .hint { margin-top: 24px; }
  .live { display: block; bottom: 90px; }
  .live h1 { font-size: 40px; }
  .live p.sub { font-size: 18px; }
  .press { display: flex; align-items: center; gap: 22px; margin: 30px 0 0; text-align: left; }
  .press span { margin: 0; }
  .key { width: 92px; height: 84px; font-size: 30px; }
  .shade { background: linear-gradient(180deg, #0f0d1100 10%, #0f0d11e6 45%, #0f0d11 80%); }
  .tray { grid-template-columns: repeat(2, 1fr); }
  .under-stage { padding-bottom: 56px; }
  .showcase { padding: 72px 0; text-align: left; }
  .showcase p { margin-left: 0; }
  .does, .also, .plans, .faq { padding: 72px 0; }
  .row, .also .wrap, .faq .wrap { grid-template-columns: 1fr; gap: 36px; }
  .row + .row { margin-top: 64px; padding-top: 64px; }
  .shot { padding: 24px 0 24px 24px; }
  .shot img { width: 260%; }
  .rules > div { display: block; }
  .rules span { display: block; text-align: left; margin-top: 4px; }
  .end { padding-top: 80px; }
  .end .wrap { grid-template-columns: 1fr; padding-bottom: 72px; }
  .peek { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-brand { grid-column: 1 / -1; }
  .ptable { font-size: 14px; }
  .ptable th, .ptable td { padding: 13px 14px; }
  .ptable thead th, .ptable thead td { padding: 20px 14px; }
  .ptable .pn { font-size: 18px; }
  .price { font-size: 44px; }
  .price small { display: block; margin: 6px 0 0; }
  .brand small { font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .js [data-rise], .js [data-words] span, .js .shot img { opacity: 1; transform: none; }
  .js .rules > div:not(.in)::before { transform: none; }
}

/* sign-in and account pages (rendered by src/pages.ts) */
.auth { padding-top: 96px; padding-bottom: 120px; max-width: 760px; min-height: 62vh; }
.auth h1 { margin-bottom: 18px; }
.auth .lead { font-size: 20px; max-width: 560px; margin-bottom: 36px; }
.auth .lead b { color: var(--ink); }
.auth .fine { font-size: 15px; margin-top: 22px; }
.auth-box { display: grid; gap: 22px; max-width: 520px; }
.auth h1 + .auth-box { margin-top: 30px; }
.auth-box .btn { justify-content: center; }
.btn.discord { background: #5865f2; color: #fff; }
.btn.discord:hover { background: #6d78f5; box-shadow: 0 10px 24px -8px #5865f2aa; }
.auth .or { display: flex; align-items: center; gap: 14px; color: var(--mut); font-size: 14px; }
.auth .or::before, .auth .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.auth .row { display: flex; gap: 10px; }
.auth input {
  flex: 1; min-width: 0; width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px;
}
.auth input:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
.auth input::placeholder { color: #a8979f99; }
.note { border-left: 3px solid var(--red); padding: 10px 16px; background: var(--bg2); color: var(--soft); margin-bottom: 28px; font-size: 16px; }
.note.bad { color: var(--ink); }
.facts { border-top: 1px solid var(--line); margin-bottom: 36px; }
.facts > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts dt { color: var(--mut); font-size: 16px; }
.facts dd { margin: 0; font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.facts .arrow { font-size: 15px; color: var(--red); }
.meter { flex-basis: 100%; height: 6px; background: var(--panel); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.meter span { display: block; height: 100%; background: var(--red); min-width: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.btn.ghost { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--mut); }
.btn.bad { background: none; color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.btn.bad:hover { background: var(--red); color: var(--on-red); }
.danger { border-top: 1px solid var(--line); padding-top: 20px; }
.danger summary { cursor: pointer; color: var(--mut); font-weight: 600; font-size: 16px; }
.danger p { margin: 14px 0 16px; font-size: 16px; max-width: 560px; }
.danger .row { max-width: 520px; }
@media (max-width: 640px) {
  .auth { padding-top: 56px; }
  .auth .row { flex-direction: column; align-items: stretch; }
  .auth .row .btn { justify-content: center; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
}

/* share links on the account page */
.auth h2 { font-size: 28px; margin: 0 0 14px; }
.links-list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line); }
.links-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.links-list .t { font-weight: 700; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.links-list .t:hover { color: var(--red); }
.links-list .m { grid-column: 1; color: var(--mut); font-size: 14px; }
.links-list form { grid-column: 2; grid-row: 1 / span 2; }
.btn.sm { padding: 8px 14px; font-size: 14px; }
.btn.sm:hover { transform: none; }

/* hoverk.in/<id> share page */
.share main { padding-top: 40px; padding-bottom: 90px; max-width: 1200px; }
.share .player { width: 100%; max-height: 76vh; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -20px #000c, 0 0 0 1px #ffffff14; display: flex; justify-content: center; }
.share .player video { width: 100%; height: 100%; display: block; background: #000; }
.clip-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 26px; }
.clip-info h1 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -1.2px; line-height: 1.1; margin: 0 0 8px; overflow-wrap: anywhere; }
.clip-info .meta { color: var(--mut); font-size: 16px; margin: 0; }
.clip-actions { display: flex; gap: 10px; flex-shrink: 0; }
.clip-actions .btn { padding: 10px 16px; font-size: 15px; }
@media (max-width: 640px) {
  .share main { padding-top: 20px; }
  .clip-info { flex-direction: column; }
}
