/* sir.gg redirect splash (2026-11 design: the glowing logo turns, your link, "Taking you to …", a loading line).
   Self-contained: no ui.css needed. The same look plays in the tablet film on the home page. */
:root {
  color-scheme: dark;
  --canvas: #000; --raised: #0c0c0d; --raised-2: #141416; --fg: #f5f5f4; --body: #b9b9bd; --muted: #9b9b9b; --faint: #6f6f76;
  --line: #222225; --line-2: #323238;
  --display: 'Funnel Display', 'Helvetica Neue', Arial, sans-serif; --sans: 'Funnel Sans', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-block-size: 100dvh; background: var(--canvas); }
body { font-family: var(--sans); color: var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }

.sp { position: relative; min-block-size: 100dvh; display: grid; place-items: center; padding: 6rem 1rem 8rem; isolation: isolate; text-align: center; }
.sp-wrap { display: grid; justify-items: center; gap: 1rem; max-inline-size: 100%; }

/* the mark: turns once while the page loads, with a soft white glow */
.sp-logo { inline-size: clamp(3.4rem, 8vw, 4.4rem); block-size: auto; margin-block-end: 1.1rem;
  filter: drop-shadow(0 0 14px rgb(255 255 255 / .45)) drop-shadow(0 0 34px rgb(255 255 255 / .18)); }

.sp-slug { max-inline-size: 100%; color: var(--fg); font: 700 clamp(1.7rem, 1.2rem + 2.4vw, 2.5rem)/1.15 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.sp-to { color: var(--muted); font-size: clamp(1rem, .95rem + .3vw, 1.12rem); max-inline-size: min(34rem, 100%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-to b { color: var(--fg); font-weight: 600; }

/* the loading line */
.sp-bar { margin-block-start: .9rem; inline-size: min(15rem, 70vw); block-size: 2px; border-radius: 2px; background: #222; overflow: hidden; }
.sp-bar i { display: block; inline-size: 100%; block-size: 100%; background: var(--fg); transform-origin: left; transform: scaleX(0); }

.sp-skip { position: fixed; inset-inline-end: max(1rem, env(safe-area-inset-right)); inset-block-end: max(1rem, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: .4rem; min-block-size: 2.5rem; padding-inline: 1rem; border: 1px solid var(--line-2); border-radius: 10px; color: var(--fg); font-size: .9rem; font-weight: 600; text-decoration: none; background: rgb(12 12 13 / .8); transition: background-color .18s, border-color .18s; }
.sp-skip:hover { background: var(--raised-2); border-color: #46464e; }
.sp-skip svg { inline-size: .9rem; block-size: .9rem; }
.sp-fine { position: absolute; inset-inline: 1rem; inset-block-end: max(1.4rem, env(safe-area-inset-bottom)); text-align: center; font-size: .78rem; line-height: 1.5; color: var(--faint); }
.sp-fine a { color: var(--muted); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }

/* the whole page closes to black and moves on */
.sp-curtain { position: fixed; inset: 0; z-index: 50; background: #000; opacity: 0; pointer-events: none; }

@media (width < 680px) { .sp-skip { inset-block-end: max(4.6rem, env(safe-area-inset-bottom)); } }

/* verified check after the link */
.vbadge { position: relative; display: inline-grid; place-items: center; inline-size: .62em; block-size: .62em; vertical-align: .08em; margin-inline-start: .3em; cursor: help; }
.vbadge svg { inline-size: 100%; block-size: 100%; filter: drop-shadow(0 0 4px rgb(255 255 255 / .35)); }
.vbadge::after { content: attr(data-tip); position: absolute; inset-block-end: calc(100% + 10px); inset-inline-start: 50%; translate: -50% 4px; padding: .38rem .62rem; border-radius: 8px; background: #f5f5f4; color: #000; font: 500 .76rem/1.25 var(--sans); letter-spacing: 0; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .14s, translate .14s; z-index: 10; }
.vbadge:hover::after, .vbadge:focus-visible::after { opacity: 1; translate: -50% 0; }
