/* =============================================================
   Tenshi — partner page theme (views/creators/tenshi.php)

   A futuristic cyberpunk bunny boy: wet neon over a grid city, techwear
   edges, and his name burning as a real sign.

   Every glow on this page is one hue, --tn-h, so the tuner in the hero can
   repaint the lot live — the header included (tenshi.js writes --tn-h on the
   body). Colours below are built from it with hsl(), which is why there are
   almost no raw hexes here:
     --tn-neon   the tube itself       --tn-neon-soft  its haze
     --tn-ink    the wet street        --tn-deep       the sky above it
   Fonts (self-hosted, SIL Open Font License): Chakra Petch for the techwear
   headings, Share Tech Mono for HUD-ish numbers, Nunito to read.

   Motion: rain falling past a grid floor, the sign flickering on, a tilt on
   his portrait, and the clip pull. Loops stop for reduced motion and
   .perf-lite; the tuner, the pull and the viewer still work.
   ============================================================= */

@font-face { font-family: 'Chakra Petch'; src: url('/assets/fonts/chakra-petch-600-latin.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Chakra Petch'; src: url('/assets/fonts/chakra-petch-700-latin.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Share Tech Mono'; src: url('/assets/fonts/share-tech-mono-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }

/* The one number the tuner changes, on the body so the header — which is not
   inside .tn — repaints with the page. Everything else is built from it. */
body.cp-theme-tenshi { --tn-h: 318; background: #07040D; }

.tn {
  --tn-neon: hsl(var(--tn-h) 100% 66%);
  --tn-neon-bright: hsl(var(--tn-h) 100% 78%);
  --tn-neon-deep: hsl(var(--tn-h) 90% 46%);
  --tn-neon-soft: hsl(var(--tn-h) 100% 66% / .22);
  --tn-neon-line: hsl(var(--tn-h) 100% 70% / .34);
  --tn-second: hsl(calc(var(--tn-h) + 128) 92% 64%);

  --tn-deep: #07040D; --tn-sky: #0C0718; --tn-ink: #130B22; --tn-slab: #180F2A;
  --tn-text: #F4EDFF; --tn-soft: #CFC3E6; --tn-dim: #9D92B6;
  --tn-card: hsl(266 40% 8% / .82);

  --tn-display: 'Chakra Petch', 'Nunito', system-ui, sans-serif;
  --tn-mono: 'Share Tech Mono', ui-monospace, monospace;
  --tn-ease: cubic-bezier(.22, 1, .36, 1);
  --tn-spring: cubic-bezier(.34, 1.4, .64, 1);
  /* creator.css tokens, pointed at his palette for the shared join block */
  --pink: var(--tn-neon-deep); --purple: var(--tn-slab); --ink: var(--tn-text); --ink2: var(--tn-soft); --ink3: var(--tn-dim);

  isolation: isolate;
  padding-top: 0;
  color: var(--tn-text);
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--tn-deep);
  transition: --tn-h .45s linear;
}
.tn ::selection { background: var(--tn-neon); color: #10061B; }

/* ---------------- the city ----------------
   A grid floor under falling rain, both drifting with the pointer
   (--ax/--ay, tenshi.js). One fixed layer, nothing per-drop in JS. */
.tn-city {
  --x: calc(var(--ax, 0) * 1px);
  --y: calc(var(--ay, 0) * 1px);
  position: fixed; inset: 0; z-index: -1; pointer-events: none; contain: strict;
  background:
    radial-gradient(60% 50% at calc(72% + var(--x)) calc(12% + var(--y)), hsl(var(--tn-h) 100% 60% / .22), transparent 70%),
    radial-gradient(48% 44% at calc(16% - var(--x)) calc(44% - var(--y)), hsl(calc(var(--tn-h) + 128) 90% 58% / .14), transparent 72%),
    linear-gradient(180deg, var(--tn-sky) 0%, var(--tn-ink) 46%, var(--tn-deep) 100%);
}
/* The floor: perspective grid, its lines in the tuned hue. */
.tn-floor {
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 46vh;
  background-image:
    repeating-linear-gradient(90deg, hsl(var(--tn-h) 100% 70% / .16) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, hsl(var(--tn-h) 100% 70% / .13) 0 1px, transparent 1px 54px);
  transform: perspective(360px) rotateX(64deg) translate3d(calc(var(--x) * .4), 0, 0);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(180deg, transparent, #000 45%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%);
}
/* Rain: two repeating streak layers, sliding at different speeds. */
.tn-rain {
  position: absolute; inset: -20% 0 0;
  background-image:
    repeating-linear-gradient(104deg, hsl(var(--tn-h) 100% 82% / .2) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(100deg, hsl(0 0% 100% / .07) 0 1px, transparent 1px 13px);
  background-size: 180px 260px, 240px 340px;
  opacity: .5;
  animation: tn-rain 1.9s linear infinite;
}
@keyframes tn-rain {
  from { background-position: 0 0, 0 0; }
  to { background-position: -60px 260px, -80px 340px; }
}
.tn-haze {
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 100%, hsl(var(--tn-h) 100% 60% / .16), transparent 70%);
}

/* ---------------- shared bits ---------------- */
.tn-kick { display: flex; align-items: center; gap: 9px; font-family: var(--tn-display); font-weight: 600; font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--tn-neon); }
.tn-title { margin-top: 8px; font-family: var(--tn-display); font-weight: 700; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.04; letter-spacing: .01em; text-transform: uppercase; color: var(--tn-text); }
.tn-title span { color: var(--tn-neon); text-shadow: 0 0 22px var(--tn-neon-soft); }
.tn-panel { position: relative; border: 1px solid var(--tn-neon-line); background: var(--tn-card); box-shadow: 0 30px 60px -44px #000, inset 0 1px 0 hsl(0 0% 100% / .04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* Cut corner, like a HUD panel. */
.tn-panel, .tn-burrow-card, .tn-frame { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
.tn-sec { position: relative; padding-top: 96px; }
.tn-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.tn-note { max-width: 46ch; font-size: 15px; font-weight: 600; color: var(--tn-dim); }
.tn-empty { padding: 28px; border: 1px dashed var(--tn-neon-line); text-align: center; color: var(--tn-dim); }
.tn-warn { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 9px 16px; border: 1px solid var(--tn-neon-line); background: hsl(var(--tn-h) 100% 60% / .1); font-size: 14px; font-weight: 600; color: var(--tn-soft); }
.tn-warn b { font-family: var(--tn-mono); font-size: 15px; letter-spacing: .08em; color: var(--tn-neon); }
.tn-link { padding: 9px 18px; border: 1px solid var(--tn-neon-line); background: hsl(266 40% 8% / .8); font-family: var(--tn-display); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--tn-neon) !important; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--tn-spring); }
.tn-link:hover { background: var(--tn-neon); border-color: var(--tn-neon); color: #10061B !important; transform: translateY(-2px); }
.tn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tn-btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; border: 0; font-family: var(--tn-display); font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; cursor: pointer; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: transform .35s var(--tn-spring), box-shadow .35s var(--tn-ease), background-color .3s, color .3s; }
.tn-btn svg { width: 18px; height: 18px; fill: currentColor; }
.tn-btn:hover { transform: translateY(-3px); }
.tn-btn--neon { background: linear-gradient(135deg, var(--tn-neon-bright), var(--tn-neon) 55%, var(--tn-neon-deep)); color: #10061B !important; box-shadow: 0 14px 34px -14px var(--tn-neon), inset 0 1px 0 hsl(0 0% 100% / .5); }
.tn-btn--neon:hover { box-shadow: 0 20px 40px -14px var(--tn-neon), 0 0 0 3px var(--tn-neon-soft); }
.tn-btn--ghost { background: hsl(0 0% 100% / .05); color: var(--tn-text) !important; box-shadow: inset 0 0 0 1.5px var(--tn-neon-line); }
.tn-btn--ghost:hover { background: var(--tn-neon-soft); box-shadow: inset 0 0 0 1.5px var(--tn-neon); }
.tn-share { display: flex; gap: 8px; }
.tn-share button { width: 48px; height: 48px; border: 0; background: hsl(0 0% 100% / .05); color: var(--tn-neon); font-size: 17px; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--tn-neon-line); transition: transform .35s var(--tn-spring), background-color .3s, color .3s; }
.tn-share button:hover { background: var(--tn-neon); color: #10061B; transform: translateY(-2px); }
.tn-btn:focus-visible, .tn-link:focus-visible, .tn-soc:focus-visible, .tn-share button:focus-visible, .tn-thumb:focus-visible,
.tn-art:focus-visible, .tn-swatch:focus-visible, .tn-pull-btn:focus-visible { outline: 3px solid var(--tn-second); outline-offset: 3px; }

.cp-js .tn [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
.tn [data-reveal] { transition: opacity 1s var(--tn-ease), transform 1s var(--tn-ease); }

/* ---------------- hero ---------------- */
.tn-hero { position: relative; overflow: hidden; min-height: min(100svh, 940px); padding: 132px 0 64px; display: flex; align-items: center; }
.tn-hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 30px 44px; align-items: center; width: 100%; }
.tn-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border: 1px solid var(--tn-neon-line); background: hsl(266 40% 8% / .7); font-family: var(--tn-mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--tn-dim); animation: tn-rise .9s var(--tn-ease) .05s both; }
.tn-kicker span { color: var(--tn-neon); }

/* The sign. Each letter is a lit tube: a bright core, a haze around it, and
   one letter that stutters the way a failing tube does. */
.tn-sign { position: relative; margin: 20px 0 0; line-height: 1; }
.tn-sign-read { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tn-sign-tube { display: flex; gap: clamp(2px, .8vw, 10px); font-family: var(--tn-display); font-weight: 700; font-size: clamp(54px, 11vw, 132px); letter-spacing: .02em; }
.tn-sign-tube i {
  font-style: normal;
  color: hsl(var(--tn-h) 100% 92%);
  text-shadow:
    0 0 6px hsl(var(--tn-h) 100% 80%),
    0 0 18px var(--tn-neon),
    0 0 42px var(--tn-neon),
    0 0 90px var(--tn-neon-deep);
  animation: tn-strike .5s var(--tn-ease) both;
  animation-delay: calc(var(--n) * 90ms);
}
/* One tube never quite settles. */
.tn-sign-tube i:nth-child(4) { animation: tn-strike .5s var(--tn-ease) both, tn-buzz 5.5s steps(1) 1.6s infinite; }
@keyframes tn-strike {
  0% { opacity: 0; text-shadow: none; }
  40% { opacity: 1; text-shadow: 0 0 4px hsl(var(--tn-h) 100% 80%); }
  55% { opacity: .35; }
  100% { opacity: 1; }
}
@keyframes tn-buzz {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: .28; }
  94% { opacity: 1; }
  96% { opacity: .4; }
  97% { opacity: 1; }
}

.tn-tagline { margin-top: 14px; font-family: var(--tn-display); font-weight: 600; font-size: clamp(17px, 2vw, 24px); letter-spacing: .2em; text-transform: uppercase; color: var(--tn-second); animation: tn-rise .9s var(--tn-ease) .5s both; }
.tn-lede { max-width: 52ch; margin-top: 14px; font-size: clamp(16px, 1.5vw, 18px); font-weight: 600; line-height: 1.7; color: var(--tn-soft); animation: tn-rise .9s var(--tn-ease) .6s both; }
.tn-hero .tn-actions { margin-top: 24px; animation: tn-rise .9s var(--tn-ease) .7s both; }
@keyframes tn-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* The tuner. */
.tn-tuner { margin-top: 26px; padding: 14px 16px; border: 1px solid var(--tn-neon-line); background: hsl(266 40% 8% / .6); animation: tn-rise .9s var(--tn-ease) .8s both; }
.tn-tuner-label { font-family: var(--tn-mono); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--tn-dim); }
.tn-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tn-swatch { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 10px; border: 1px solid hsl(0 0% 100% / .12); background: hsl(0 0% 100% / .04); color: var(--tn-soft); font-family: var(--tn-display); font-weight: 600; font-size: 13.5px; letter-spacing: .06em; cursor: pointer; transition: border-color .3s, background-color .3s, transform .3s var(--tn-spring); }
.tn-swatch span { width: 16px; height: 16px; border-radius: 50%; background: hsl(var(--h) 100% 66%); box-shadow: 0 0 12px hsl(var(--h) 100% 66%); }
.tn-swatch:hover { transform: translateY(-2px); border-color: hsl(var(--h) 100% 66%); }
.tn-swatch[aria-pressed="true"] { border-color: hsl(var(--h) 100% 66%); background: hsl(var(--h) 100% 66% / .16); color: var(--tn-text); }

.tn-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; animation: tn-rise .9s var(--tn-ease) .9s both; }
.tn-stat { min-width: 132px; padding: 12px 16px; border: 1px solid var(--tn-neon-line); background: hsl(266 40% 8% / .62); }
.tn-stat b { display: block; font-family: var(--tn-display); font-weight: 700; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--tn-neon); }
.tn-stat span { display: block; margin-top: 5px; font-family: var(--tn-mono); font-size: 13px; letter-spacing: .08em; color: var(--tn-dim); }

.tn-hero-art { position: relative; justify-self: center; width: min(440px, 100%); animation: tn-rise 1.2s var(--tn-ease) .3s both; }
.tn-halo { position: absolute; left: 50%; top: 46%; width: min(130%, 540px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, hsl(var(--tn-h) 100% 62% / .45), transparent 70%); filter: blur(10px); }
.tn-frame { position: relative; z-index: 1; margin: 0; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--tn-neon-line); box-shadow: 0 0 0 6px hsl(266 40% 8% / .85), 0 40px 80px -34px #000, 0 0 60px -20px var(--tn-neon); transition: transform .4s var(--tn-ease); transform-style: preserve-3d; }
.tn-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.tn-frame-tag { position: absolute; left: 0; bottom: 0; padding: 7px 14px; background: var(--tn-neon); color: #10061B; font-family: var(--tn-mono); font-size: 12.5px; letter-spacing: .14em; }
.tn-mark { position: absolute; z-index: 2; right: -6%; bottom: -4%; width: 26%; height: auto; opacity: .85; filter: drop-shadow(0 0 16px var(--tn-neon)); animation: tn-drift 7s ease-in-out infinite; }
@keyframes tn-drift { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }

/* ---------------- band ---------------- */
.tn-band { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid var(--tn-neon-line); border-bottom: 1px solid var(--tn-neon-line); background: linear-gradient(90deg, var(--tn-ink), hsl(var(--tn-h) 70% 16%) 50%, var(--tn-ink)); }
.tn-band-track { display: flex; align-items: center; width: max-content; animation: tn-marquee 38s linear infinite; }
.tn-band span { padding: 12px 14px; font-family: var(--tn-display); font-weight: 600; font-size: 14px; letter-spacing: .22em; color: var(--tn-text); white-space: nowrap; }
.tn-band i { font-style: normal; color: var(--tn-neon); }
@keyframes tn-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ---------------- about ---------------- */
.tn-about { display: grid; grid-template-columns: 1.4fr .85fr; gap: 26px; align-items: start; }
.tn-about-copy { padding: 34px 32px; }
.tn-about-copy .tn-title { margin-bottom: 18px; font-size: clamp(26px, 3.2vw, 40px); }
.tn-about-copy p:not(.tn-kick) { font-size: 16px; font-weight: 600; line-height: 1.8; color: var(--tn-soft); }
.tn-about-copy p.tn-first { font-size: 18px; font-weight: 700; line-height: 1.65; color: var(--tn-text); }
.tn-about-copy p + p { margin-top: 12px; }
.tn-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tn-tag { padding: 6px 13px; background: hsl(var(--tn-h) 100% 66% / .14); box-shadow: inset 0 0 0 1px var(--tn-neon-line); font-family: var(--tn-display); font-weight: 600; font-size: 13.5px; letter-spacing: .08em; color: var(--tn-text); }
.tn-tag:nth-child(3n) { background: hsl(calc(var(--tn-h) + 128) 90% 60% / .14); box-shadow: inset 0 0 0 1px hsl(calc(var(--tn-h) + 128) 90% 64% / .4); }
.tn-socials { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; margin-top: 24px; }
.tn-soc { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--tn-neon-line); background: hsl(0 0% 100% / .03); font-weight: 700; font-size: 14px; color: var(--tn-text) !important; transition: transform .35s var(--tn-spring), background-color .3s, border-color .3s; }
.tn-soc:hover { transform: translateY(-3px); background: var(--tn-neon-soft); border-color: var(--tn-neon); }
.tn-soc .i { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; background: var(--c, var(--tn-slab)); color: var(--tn-text); font-size: 14px; }
.tn-soc .i svg { width: 15px; height: 15px; fill: currentColor; }
.tn-soc.twitch { --c: #7B3FF2; } .tn-soc.x { --c: #2A2340; }
.tn-soc.link { --c: hsl(var(--tn-h) 70% 34%); }
.tn-facts { margin: 0; padding: 16px 24px; }
.tn-fact { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid hsl(0 0% 100% / .07); }
.tn-fact:last-child { border-bottom: 0; }
.tn-fact dt { font-family: var(--tn-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--tn-dim); white-space: nowrap; }
.tn-fact dd { margin: 0; font-weight: 700; font-size: 14.5px; color: var(--tn-text); text-align: right; }

/* ---------------- media ---------------- */
.tn-vods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tn-media { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--tn-card); border: 1px solid var(--tn-neon-line); transition: transform .5s var(--tn-ease), box-shadow .5s var(--tn-ease), border-color .4s; }
.tn-media:hover { transform: translateY(-5px); border-color: var(--tn-neon); box-shadow: 0 30px 50px -32px var(--tn-neon); }
.tn-media.is-pulled { border-color: var(--tn-second); box-shadow: 0 0 0 2px var(--tn-second), 0 30px 60px -30px var(--tn-second); }
.tn-player { position: relative; aspect-ratio: 16 / 9; background: var(--tn-slab); }
.tn-media--tall .tn-player { aspect-ratio: 9 / 16; }
.tn-thumb { position: absolute; inset: 0; display: block; overflow: hidden; }
.tn-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--tn-ease), filter .4s; }
.tn-media:hover .tn-thumb img { transform: scale(1.05); }
.tn-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, hsl(266 60% 4% / .85)); }
/* A scanline sweep, so a still frame still feels like a screen. */
.tn-scan { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(0deg, hsl(0 0% 100% / .05) 0 1px, transparent 1px 4px); opacity: .5; }
.tn-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; display: grid; place-items: center; background: hsl(266 60% 4% / .6); color: var(--tn-text); box-shadow: inset 0 0 0 2px var(--tn-neon); clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%); transition: transform .45s var(--tn-spring), background-color .3s, color .3s; }
.tn-play svg { width: 20px; height: 20px; margin-left: 2px; fill: currentColor; }
.tn-media:hover .tn-play { transform: scale(1.12); background: var(--tn-neon); color: #10061B; }
.tn-len { position: absolute; z-index: 2; right: 10px; bottom: 10px; padding: 3px 9px; background: hsl(266 60% 4% / .85); font-family: var(--tn-mono); font-size: 12.5px; color: var(--tn-text); }
.tn-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tn-thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; color: var(--tn-neon); background: radial-gradient(circle, var(--tn-slab), var(--tn-deep)); }
.tn-media-meta { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.tn-chip { align-self: flex-start; padding: 3px 10px; font-family: var(--tn-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; background: hsl(var(--tn-h) 100% 66% / .18); color: var(--tn-neon); }
.tn-chip.clip { background: hsl(calc(var(--tn-h) + 128) 90% 60% / .18); color: var(--tn-second); }
.tn-media-title { font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 15px; line-height: 1.4; letter-spacing: 0; color: var(--tn-text); text-transform: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tn-media-sub { font-family: var(--tn-mono); font-size: 13px; letter-spacing: .06em; color: var(--tn-dim); }
.tn-sub { margin: 52px 0 18px; font-family: var(--tn-display); font-weight: 700; font-size: 22px; letter-spacing: .1em; text-transform: uppercase; color: var(--tn-text); }
.tn-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 60px) / 4)); gap: 20px; overflow-x: auto; margin: 0 -12px; padding: 8px 12px 26px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--tn-neon-line) transparent; }
.tn-row > * { scroll-snap-align: start; }

/* ---------------- the pull ---------------- */
.tn-pull { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 22px; padding: 18px 22px; border: 1px solid var(--tn-neon-line); background: linear-gradient(120deg, hsl(var(--tn-h) 100% 60% / .12), transparent 60%), var(--tn-card); }
.tn-pull-btn { position: relative; overflow: hidden; padding: 14px 28px; border: 0; background: linear-gradient(135deg, var(--tn-neon-bright), var(--tn-neon) 55%, var(--tn-neon-deep)); color: #10061B; cursor: pointer; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: transform .35s var(--tn-spring); }
.tn-pull-btn b { display: block; font-family: var(--tn-display); font-weight: 700; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; }
.tn-pull-btn em { display: block; margin-top: 2px; font-family: var(--tn-mono); font-style: normal; font-size: 12.5px; letter-spacing: .14em; }
.tn-pull-btn:hover { transform: translateY(-3px); }
.tn-pull-btn.is-rolling { animation: tn-shake .5s ease-in-out; }
@keyframes tn-shake {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  20% { transform: translate(-4px, -2px) rotate(-1.5deg); }
  45% { transform: translate(5px, -3px) rotate(1.5deg); }
  70% { transform: translate(-3px, 2px) rotate(-1deg); }
}
/* The sweep that runs across the button as a pull resolves. */
.tn-pull-glow { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, hsl(0 0% 100% / .75) 50%, transparent 65%); background-size: 260% 100%; background-position: 200% 0; }
.tn-pull-btn.is-rolling .tn-pull-glow { animation: tn-sweep .55s linear; }
@keyframes tn-sweep { to { background-position: -60% 0; } }
.tn-pull-out { font-family: var(--tn-display); font-weight: 600; font-size: 15.5px; letter-spacing: .06em; color: var(--tn-soft); }
.tn-pull-out b { color: var(--tn-second); }

/* ---------------- shop ---------------- */
.tn .tn-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tn .tn-gal .gl-card { min-width: 0; }
.tn .tn-gal .gl-media img { width: 100%; height: 100%; object-fit: cover; }
.tn .gal-glass::before { background: radial-gradient(38% 30% at 18% 22%, hsl(var(--tn-h) 100% 62% / .3), transparent 70%), radial-gradient(34% 28% at 82% 48%, hsl(calc(var(--tn-h) + 128) 90% 60% / .16), transparent 70%); }
.tn .gl-card::before { background: linear-gradient(140deg, var(--tn-neon), var(--tn-second) 45%, var(--tn-neon-deep) 80%, var(--tn-neon)); }
.tn .gl-name { font-family: var(--tn-display); font-weight: 700; letter-spacing: .04em; }
.tn .gl-price { font-family: var(--tn-mono); font-size: 1.05em; }
.tn .gal-glass .gl-by { color: var(--tn-neon); }
.tn .gal-glass .gl-buy { background: linear-gradient(135deg, var(--tn-neon-bright), var(--tn-neon-deep)); color: #10061B; font-family: var(--tn-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tn .gal-glass .gl-buy:hover { background: var(--tn-second); color: #10061B; }
.tn .gl-chip i { background: var(--tn-neon); color: #10061B; }

/* ---------------- art ---------------- */
.tn-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 20px; align-items: stretch; }
.tn-art { position: relative; overflow: hidden; padding: 0; border: 1px solid var(--tn-neon-line); background: var(--tn-slab); cursor: zoom-in; aspect-ratio: 4 / 5; }
.tn-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.1s var(--tn-ease); }
.tn-art:hover img { transform: scale(1.05); }
.tn-art:hover { border-color: var(--tn-neon); box-shadow: 0 24px 50px -24px var(--tn-neon); }
.tn-art-note { display: flex; flex-direction: column; gap: 12px; justify-content: center; padding: 28px 26px; }
.tn-art-note p:not(.tn-kick) { font-size: 15.5px; font-weight: 600; line-height: 1.75; color: var(--tn-soft); }
.tn-art-note .tn-link { align-self: flex-start; }

/* The wide piece: covered until asked for, because his channels are 18+. */
.tn-wide { grid-column: 1 / -1; margin: 20px 0 0; border: 1px solid var(--tn-neon-line); background: var(--tn-slab); }
.tn-wide-frame { position: relative; overflow: hidden; }
.tn-wide img { display: block; width: 100%; height: auto; transition: filter .5s var(--tn-ease), transform 1.1s var(--tn-ease); }
.tn-wide.is-locked img { filter: blur(34px) saturate(.55) brightness(.7); transform: scale(1.08); }
.tn-wide-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; border: 0; background: radial-gradient(70% 70% at 50% 50%, hsl(var(--tn-h) 70% 10% / .5), hsl(266 60% 4% / .82)); color: var(--tn-text); text-align: center; cursor: pointer; }
.tn-wide-badge { padding: 5px 12px; border: 1px solid var(--tn-neon); font-family: var(--tn-mono); font-size: 14px; letter-spacing: .2em; color: var(--tn-neon); text-shadow: 0 0 14px var(--tn-neon); }
.tn-wide-copy { max-width: 42ch; font-size: 15px; font-weight: 600; line-height: 1.7; color: var(--tn-soft); }
.tn-wide-go { padding: 11px 22px; border: 1px solid var(--tn-neon); background: hsl(var(--tn-h) 100% 66% / .12); font-family: var(--tn-display); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--tn-text); }
.tn-wide-lock:hover .tn-wide-go { background: var(--tn-neon); color: #10061B; }
.tn-wide-lock:focus-visible, .tn-wide-open:focus-visible { outline: 3px solid var(--tn-second); outline-offset: -6px; }
.tn-wide-open { position: absolute; right: 14px; bottom: 14px; padding: 10px 18px; border: 1px solid var(--tn-neon-line); background: hsl(266 60% 4% / .74); font-family: var(--tn-mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tn-text); cursor: zoom-in; }
.tn-wide-open:hover { border-color: var(--tn-neon); box-shadow: 0 0 22px -6px var(--tn-neon); }
.tn-wide.is-locked .tn-wide-open { display: none; }
.tn-wide:not(.is-locked) .tn-wide-lock { display: none; }
.tn-wide figcaption { max-width: none; padding: 12px 16px; border-top: 1px solid var(--tn-neon-line); }
.tn-viewer { position: fixed; inset: 0; margin: auto; width: fit-content; height: fit-content; max-width: min(1000px, 94vw); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.tn-viewer::backdrop { background: hsl(266 60% 3% / .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tn-viewer[open] { animation: tn-zoom .45s var(--tn-spring); }
@keyframes tn-zoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.tn-viewer img { display: block; max-width: min(1000px, 94vw); max-height: 88vh; width: auto; height: auto; border: 1px solid var(--tn-neon-line); }
.tn-viewer-close { position: absolute; right: -10px; top: -14px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--tn-neon); color: #10061B; font-size: 18px; cursor: pointer; }

/* ---------------- burrow ---------------- */
.tn-burrow { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: stretch; }
.tn-burrow-card { position: relative; overflow: hidden; padding: 44px 40px 36px; border: 1px solid var(--tn-neon-line); background: radial-gradient(70% 70% at 100% 0%, hsl(var(--tn-h) 100% 60% / .2), transparent 62%), linear-gradient(150deg, var(--tn-slab), var(--tn-ink) 60%, var(--tn-deep)); }
.tn-burrow-card h2 { margin: 8px 0 12px; max-width: 14ch; font-family: var(--tn-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; color: var(--tn-text); }
.tn-burrow-text { max-width: 46ch; font-size: 16px; font-weight: 600; line-height: 1.75; color: var(--tn-soft); }
.tn-burrow-card .tn-actions { margin-top: 22px; }
.tn-rules-title { margin: 28px 0 10px; font-family: var(--tn-mono); font-size: 13.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--tn-dim); }
.tn-rules { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tn-rules li { padding: 7px 13px; border: 1px solid var(--tn-neon-line); background: hsl(0 0% 100% / .04); font-size: 13.5px; font-weight: 700; color: var(--tn-text); }
.tn-rules li::before { content: '✦ '; color: var(--tn-neon); }
.tn-credits { padding: 28px 26px; }
.tn-credits h3 { font-family: var(--tn-display); font-weight: 700; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; color: var(--tn-text); }
.tn-credits .lead { margin: 6px 0 14px; font-size: 14.5px; font-weight: 600; color: var(--tn-dim); }
.tn-credit { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 14px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid hsl(0 0% 100% / .07); }
.tn-credit > span:first-child { font-family: var(--tn-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--tn-dim); }
.tn-credit-names { display: flex; flex-wrap: wrap; gap: 6px; }
.tn-credit-names a, .tn-credit-names b { font-weight: 800; font-size: 14px; color: var(--tn-neon) !important; }
.tn-credit-names a:hover { color: var(--tn-second) !important; }

/* ---------------- join DRXP (shared markup, his colours) ---------------- */
.tn .cp-join { margin-top: 96px; }
.tn .cp-join-card { background: linear-gradient(135deg, hsl(var(--tn-h) 70% 18%), var(--tn-ink) 60%, var(--tn-deep)); box-shadow: inset 0 0 0 1px var(--tn-neon-line), 0 30px 70px -30px var(--tn-neon); }
.tn .cp-join-card::before { content: '✦'; color: hsl(var(--tn-h) 100% 70% / .14); }
.tn .cp-join-card h2 { font-family: var(--tn-display); font-weight: 700; letter-spacing: .02em; }
.tn .cp-kick { font-family: var(--tn-mono); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--tn-neon); }
.tn .cp-btn { font-family: var(--tn-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tn .cp-btn-white { background: linear-gradient(135deg, var(--tn-neon-bright), var(--tn-neon)); color: #10061B; }
.tn .cp-num b { font-family: var(--tn-display); color: var(--tn-neon); }

.tn-toast { position: fixed; z-index: 95; left: 50%; bottom: 28px; padding: 12px 22px; background: linear-gradient(135deg, var(--tn-neon-bright), var(--tn-neon-deep)); color: #10061B; font-family: 'Chakra Petch', system-ui, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 18px 40px -14px hsl(266 60% 3% / .9); opacity: 0; transform: translate(-50%, 20px); transition: opacity .35s cubic-bezier(.22, 1, .36, 1), transform .5s cubic-bezier(.34, 1.4, .64, 1); pointer-events: none; }
.tn-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- header: neon glass ---------------- */
body.cp-theme-tenshi .cpnav { font-family: 'Chakra Petch', 'Nunito', system-ui, sans-serif; }
body.cp-theme-tenshi .cpnav-in { background: hsl(266 60% 4% / .68); border-color: hsl(var(--tn-h) 100% 70% / .28); box-shadow: 0 14px 34px -20px hsl(var(--tn-h) 100% 60% / .6), inset 0 1px 0 hsl(0 0% 100% / .05); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { body.cp-theme-tenshi .cpnav-in { background: hsl(266 60% 4% / .96); } }
.perf-lite body.cp-theme-tenshi .cpnav-in { background: hsl(266 60% 4% / .96); }
body.cp-theme-tenshi .cpnav-who { color: #F4EDFF; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-left-color: hsl(var(--tn-h) 100% 70% / .3); }
body.cp-theme-tenshi .cpnav-av { border-color: hsl(var(--tn-h) 100% 66%); box-shadow: 0 0 14px -4px hsl(var(--tn-h) 100% 66%); }
body.cp-theme-tenshi .cpnav-links a { color: #CFC3E6; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
body.cp-theme-tenshi .cpnav-links a:hover { color: hsl(var(--tn-h) 100% 70%); background: hsl(0 0% 100% / .05); }
body.cp-theme-tenshi .cpnav-links a[aria-current="true"] { background: linear-gradient(135deg, hsl(var(--tn-h) 100% 74%), hsl(var(--tn-h) 90% 46%)); color: #10061B; box-shadow: 0 6px 16px -8px hsl(var(--tn-h) 100% 66%); }
body.cp-theme-tenshi .cpnav-cart { background: linear-gradient(135deg, hsl(var(--tn-h) 100% 74%), hsl(var(--tn-h) 90% 46%)); color: #10061B; box-shadow: 0 8px 18px -10px hsl(var(--tn-h) 100% 66%); }
body.cp-theme-tenshi .cpnav-cart:hover { background: hsl(calc(var(--tn-h) + 128) 92% 64%); color: #10061B; }
body.cp-theme-tenshi .cpnav-account { background: hsl(0 0% 100% / .06); color: hsl(var(--tn-h) 100% 70%); }
body.cp-theme-tenshi .cpnav-account:hover { background: hsl(var(--tn-h) 100% 66%); color: #10061B; }
body.cp-theme-tenshi .cpnav-burger { background: hsl(0 0% 100% / .06); }
body.cp-theme-tenshi .cpnav-burger span { background: hsl(var(--tn-h) 100% 66%); }
body.cp-theme-tenshi .srch { --srch-acc: hsl(var(--tn-h) 100% 66%); --srch-acc-soft: hsl(var(--tn-h) 100% 62% / .16); --srch-bg: hsl(266 60% 5% / .95); }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .tn-about { grid-template-columns: 1fr; }
  .tn-row { grid-auto-columns: minmax(280px, calc((100% - 40px) / 3)); }
  .tn-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .tn-hero-grid { grid-template-columns: 1fr 1fr; }
  .tn-burrow { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .tn .tn-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .tn-hero { min-height: 0; padding: 150px 0 52px; }
  .tn-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .tn-hero-art { width: min(330px, 82%); }
  .tn-sec { padding-top: 76px; }
  .tn-vods { grid-template-columns: 1fr; }
  .tn-burrow-card { padding: 34px 22px 30px; }
  .tn-art { aspect-ratio: 3 / 4; }
}
@media (max-width: 560px) {
  .tn .tn-gal { grid-template-columns: 1fr; }
  .tn-about-copy, .tn-credits, .tn-art-note { padding: 24px 20px; }
  .tn-wide-copy { font-size: 14px; }
  .tn-wide-open { right: 10px; bottom: 10px; }
  .tn-actions .tn-btn { flex: 1 1 auto; justify-content: center; }
  .tn-stat { flex: 1 1 42%; min-width: 0; }
  .tn-row { grid-auto-columns: 84%; }
  .tn-pull { flex-direction: column; align-items: stretch; text-align: center; }
  .tn-swatch em { display: none; }
  .tn-swatch { padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .tn-rain, .tn-band-track, .tn-mark, .tn-sign-tube i, .tn-pull-btn, .tn-pull-glow, .tn-hero * { animation: none !important; transition: none !important; }
  .cp-js .tn [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
}
.perf-lite .tn-rain, .perf-lite .tn-band-track, .perf-lite .tn-mark, .perf-lite .tn-sign-tube i { animation: none; }
.perf-lite .tn-panel { -webkit-backdrop-filter: none; backdrop-filter: none; }
.perf-lite .tn-halo { filter: none; }

/* The page's scrollbars in this palette (site.css reads --scroll-acc off
   <html>, which only the literal colour can reach from here). */
html:has(> body.cp-theme-tenshi) { --scroll-acc: hsl(318 100% 66%); }
