:root {
  --font-display: "Unbounded", "Outfit", system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ink: #172128;
  --ink-soft: #35434c;
  --muted: #52616b;
  --steel: #71818b;
  --accent: #bb2733;
  --accent-bright: #e34a53;
  --line: rgba(67, 83, 93, .18);
  --glass: linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(239, 243, 245, .62));
  --card: linear-gradient(140deg, rgba(255, 255, 255, .84), rgba(235, 240, 242, .68));
  --shadow: 0 16px 38px -18px rgba(25, 39, 48, .25), inset 0 1px rgba(255, 255, 255, .95);
  --focus: #ae1f2e;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edf2f3;
  --ink-soft: #d4dfe3;
  --muted: #a9bac2;
  --steel: #8196a1;
  --accent: #f0717a;
  --accent-bright: #ff9299;
  --line: rgba(171, 194, 204, .18);
  --glass: linear-gradient(135deg, rgba(36, 51, 61, .86), rgba(19, 31, 39, .80));
  --card: linear-gradient(140deg, rgba(39, 55, 65, .91), rgba(25, 38, 47, .91));
  --shadow: 0 18px 36px -16px rgba(0, 0, 0, .55), inset 0 1px rgba(218, 235, 242, .11);
  --focus: #ff9ca3;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: #e8edef;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 74% 13%, rgba(255, 255, 255, .94), transparent 28%),
    radial-gradient(circle at 13% 43%, rgba(143, 158, 168, .23), transparent 38%),
    radial-gradient(circle at 75% 79%, rgba(149, 163, 170, .20), transparent 42%),
    linear-gradient(158deg, #d7e0e4 0%, #f3f5f5 46%, #cbd5d9 100%);
}

body::before {
  position: fixed;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42vh;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(77, 92, 101, .05) 45%, rgba(35, 48, 57, .13));
  content: "";
}

button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; background: none; border: 0; }
svg { display: block; }

/* Fog, distant streetlight, and the restrained red of the tail lamps. */
.liquid-canvas,
.ambient,
.stardust,
.light-trails {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.liquid-canvas { z-index: 0; width: 100vw; height: 100vh; opacity: .54; }
.ambient { z-index: 1; overflow: hidden; }
.stardust { z-index: 2; overflow: hidden; }
.light-trails { z-index: 2; overflow: hidden; }

.glow {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(105px);
  animation: float 12s ease-in-out infinite;
}

.glow--one {
  top: -220px;
  right: 2%;
  width: 610px;
  height: 610px;
  background: rgba(255, 255, 255, .88);
}

.glow--two {
  top: 24%;
  left: -260px;
  width: 640px;
  height: 640px;
  background: rgba(109, 130, 142, .21);
  animation-delay: -4s;
}

.glow--three {
  right: -160px;
  bottom: -300px;
  width: 650px;
  height: 560px;
  background: rgba(184, 34, 45, .13);
  animation-delay: -7s;
}

.dust {
  position: absolute;
  top: -10px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 0 8px rgba(255, 255, 255, .62);
  animation: dust-fall var(--duration) linear var(--delay) infinite;
}

.light-trails span {
  position: absolute;
  left: -10%;
  bottom: 16%;
  width: 48%;
  height: 3px;
  border-radius: 100%;
  background: linear-gradient(90deg, transparent, rgba(190, 31, 44, .53), rgba(239, 72, 80, .10), transparent);
  filter: blur(4px);
  transform: rotate(-8deg);
}

.light-trails span + span {
  bottom: 12%;
  left: -5%;
  width: 38%;
  height: 2px;
  opacity: .62;
}

/* Main glass surface */
.site-shell {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.page-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px 28px 14px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1040px);
  margin-bottom: 18px;
  animation: chrome-arrive 600ms var(--ease-out) both;
}

.glass-pill {
  border: 1px solid rgba(255, 255, 255, .84);
  background: var(--glass);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
}

.status-pill,
.edition-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .055em;
}

.status-pill { gap: 10px; padding: 9px 17px; text-transform: uppercase; }
.status-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(187, 39, 51, .55);
}
.status-dot::after {
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: rgba(187, 39, 51, .18);
  content: "";
  animation: pulse-dot 2.6s ease-out infinite;
}

.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-actions .glass-pill {
  box-shadow: 0 10px 22px -12px rgba(27, 38, 47, .29),
              0 4px 9px -5px rgba(27, 38, 47, .13),
              inset 0 1px rgba(255, 255, 255, .95);
}
.edition-pill { gap: 8px; padding: 9px 17px; }
.edition-pill span:first-child { color: var(--accent); font-size: 14px; }

.theme-toggle,
.share-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  place-items: center;
  transition: transform 180ms var(--ease-out), box-shadow 220ms ease, color 220ms ease;
}
.theme-toggle:hover,
.share-button:hover {
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(101, 39, 45, .34);
}
.theme-toggle:active,
.share-button:active { transform: scale(.94); }
.theme-toggle svg,
.share-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.theme-toggle .theme-icon--moon { fill: currentColor; stroke: none; }
.theme-icon--sun { display: none; }
[data-theme="dark"] .theme-icon--moon { display: none; }
[data-theme="dark"] .theme-icon--sun { display: block; }

.portal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .88fr) minmax(370px, 1.12fr);
  align-items: center;
  gap: 40px;
  width: min(100%, 1040px);
  padding: 38px 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(250, 252, 252, .79), rgba(226, 234, 237, .70));
  box-shadow: 0 30px 70px -24px rgba(29, 45, 55, .28), 0 0 0 1px rgba(71, 88, 99, .07), inset 0 2px 2px rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(32px) saturate(135%);
  backdrop-filter: blur(32px) saturate(135%);
  isolation: isolate;
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--portal-tilt-x, 0deg)) rotateY(var(--portal-tilt-y, 0deg));
  will-change: transform;
  animation: portal-arrive 750ms var(--ease-out) both;
}

.portal-aurora {
  position: absolute;
  inset: -22%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 62% 16%, rgba(255, 255, 255, .73), transparent 46%), radial-gradient(circle at 2% 96%, rgba(185, 42, 52, .075), transparent 42%);
  filter: blur(32px);
  animation: aurora-shift 14s ease-in-out infinite alternate;
}

.portal::before {
  position: absolute;
  top: 0;
  right: 62px;
  left: 62px;
  height: 2px;
  background: linear-gradient(90deg, transparent, white, transparent);
  content: "";
}

.portal::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .36) 51%, transparent 64%);
  content: "";
  transform: translateX(-120%);
  animation: portal-glint 13s linear 2s infinite;
}

/* Profile: the night photograph anchors the otherwise light page. */
.profile-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  text-align: center;
  transform-style: preserve-3d;
}

.avatar-wrap {
  position: relative;
  margin: 0 0 25px;
  transform: translateZ(30px);
}
.avatar-glow {
  position: absolute;
  inset: -9px;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(111, 130, 141, .35) 55%, rgba(207, 42, 54, .41));
  filter: blur(15px);
  opacity: .80;
  animation: avatar-breathe 5s ease-in-out infinite alternate;
}
.avatar-frame {
  position: relative;
  width: 186px;
  height: 186px;
  padding: 5px;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(145deg, white, #b8c3c8 63%, #687984);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .76), 0 16px 30px rgba(19, 31, 38, .23);
}
.avatar-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 29px;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.avatar-wrap:hover .avatar-frame img { transform: scale(1.045); }
.creator-badge {
  position: absolute;
  right: -12px;
  bottom: -10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(249, 251, 251, .91);
  box-shadow: 0 6px 18px rgba(20, 31, 39, .18);
  font-size: 10px;
  font-weight: 800;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.creator-badge span { color: var(--accent); }

.identity { margin-bottom: 15px; transform: translateZ(22px); }
.name-row { display: flex; align-items: center; justify-content: center; }
.name-row h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(37px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.08;
}
.handle {
  margin: 9px 0 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .015em;
}
.bio-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 8px 13px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  transform: translateZ(16px);
}
.bio-pill span { color: var(--accent); }

/* Counts sit with the identity; the channel column is reserved for links. */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
  margin-top: 24px;
  transform-style: preserve-3d;
}
.stat-card-wrap { min-width: 0; transform: translateZ(20px); }
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 102px;
  height: 100%;
  padding: 14px 6px 12px;
  border-radius: 19px;
  text-align: center;
}
.stat-card * { pointer-events: none; }
.stat-card strong {
  position: relative;
  z-index: 2;
  max-width: 100%;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.12;
  white-space: nowrap;
  transform: translateZ(20px);
}
.stat-card--likes strong { color: var(--accent); }
.stat-card span {
  position: relative;
  z-index: 2;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  transform: translateZ(14px);
}
.stat-card small {
  position: relative;
  z-index: 2;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  transform: translateZ(10px);
}

/* Shared liquid glass behavior for all five links. */
.glass-liquid {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .94);
  background: var(--card);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(26px) saturate(130%);
  backdrop-filter: blur(26px) saturate(130%);
  transform-style: preserve-3d;
  transform: perspective(850px) rotateX(var(--card-tilt-x, 0deg)) rotateY(var(--card-tilt-y, 0deg));
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: border-color 230ms ease, box-shadow 230ms var(--ease-out);
  will-change: transform;
}
.glass-liquid:hover {
  border-color: rgba(192, 54, 65, .48);
  box-shadow: 0 19px 36px -14px rgba(29, 39, 46, .29), 0 0 21px rgba(192, 54, 65, .10), inset 0 1px rgba(255, 255, 255, .98);
}
.glass-liquid:active {
  transform: perspective(850px) rotateX(var(--card-tilt-x, 0deg)) rotateY(var(--card-tilt-y, 0deg)) scale(.978);
}
.liquid-sheen {
  position: absolute;
  inset: -120%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .08) 46%, rgba(255, 255, 255, .46) 51%, rgba(171, 183, 189, .10) 56%, transparent 63%);
  transform: translate(-80%, -80%) rotate(25deg);
  animation: liquid-sheen-sweep 11s ease-in-out infinite;
}
.liquid-glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, .78), rgba(255, 255, 255, .12) 37%, transparent 70%);
  opacity: 0;
  transition: opacity 180ms ease;
}
.glass-liquid:hover .liquid-glare { opacity: 1; }
.liquid-deepglow {
  position: absolute;
  inset: -20px;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  filter: blur(28px);
  opacity: 0;
  transition: opacity 220ms ease;
}
.glass-liquid:hover .liquid-deepglow { opacity: 1; }
.liquid-deepglow--spotify { background: radial-gradient(circle, rgba(62, 78, 84, .27), transparent 75%); }
.liquid-deepglow--telegram { background: radial-gradient(circle, rgba(73, 105, 119, .24), transparent 75%); }
.liquid-deepglow--tiktok { background: radial-gradient(circle, rgba(180, 44, 56, .16), transparent 75%); }
.liquid-deepglow--email { background: radial-gradient(circle, rgba(205, 61, 73, .16), transparent 75%); }

.channels-panel { min-width: 0; width: 100%; transform-style: preserve-3d; }
.channel-list { display: flex; flex-direction: column; gap: 13px; }
.channel-card-wrap { width: 100%; transform: translateZ(33px); }
.channel-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 15px;
  width: 100%;
  min-height: 116px;
  padding: 17px;
  border-radius: 24px;
}
.channel-card * { pointer-events: none; }
.channel-card--email { min-height: 94px; cursor: pointer; text-align: left; }
.channel-card::before {
  position: absolute;
  top: 0;
  right: 35px;
  left: 35px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
  content: "";
}
.channel-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: white;
  place-items: center;
  transform: translateZ(26px);
  transition: transform 220ms var(--ease-out);
}
.channel-card:hover .channel-icon { transform: translateZ(35px) rotate(3deg) scale(1.05); }
.channel-icon svg { width: 29px; height: 29px; fill: currentColor; }
.channel-icon--spotify {
  color: #1ed760;
  background: linear-gradient(145deg, #202b31, #11191e);
  box-shadow: 0 9px 22px rgba(23, 33, 40, .29), inset 0 1px rgba(255, 255, 255, .18);
}
.channel-icon--spotify svg { width: 31px; height: 31px; }
.channel-icon--telegram {
  background: linear-gradient(145deg, #718b99, #415d6c);
  box-shadow: 0 9px 22px rgba(56, 82, 96, .30), inset 0 1px rgba(255, 255, 255, .36);
}
.channel-icon--tiktok {
  background: linear-gradient(145deg, #343f46, #151d22);
  box-shadow: 0 9px 22px rgba(22, 31, 37, .28), inset 0 1px rgba(255, 255, 255, .24);
}
.channel-icon--gmail {
  background: linear-gradient(145deg, #fff, #e3eaed);
  box-shadow: 0 9px 22px rgba(35, 48, 56, .20), inset 0 1px rgba(255, 255, 255, .9);
}
.channel-icon--gmail svg { width: 32px; height: 24px; }
.tiktok-logo { display: block; width: 25px; height: 29px; object-fit: contain; }
.channel-copy { position: relative; z-index: 2; display: block; min-width: 0; transform: translateZ(16px); }
.channel-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.channel-title-row strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.tag {
  padding: 4px 8px;
  border: 1px solid rgba(168, 178, 183, .53);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(230, 235, 237, .8);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
}
.tag--dark { background: rgba(222, 228, 231, .84); }
.channel-description {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.channel-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
}
.channel-meta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8b989e;
  flex-shrink: 0;
}
.channel-meta--accent i { background: var(--accent); box-shadow: 0 0 8px rgba(187, 39, 51, .30); }
.channel-meta b { font-weight: 700; }
.arrow {
  position: relative;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(174, 186, 191, .55);
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .78);
  place-items: center;
  transform: translateZ(27px);
  transition: color 200ms ease, background 200ms ease, transform 200ms var(--ease-out), box-shadow 200ms ease;
}
.arrow svg { width: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; }
.channel-card:hover .arrow {
  color: white;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(187, 39, 51, .34);
  transform: translateZ(38px) translateX(3px);
}

.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 56px), 1040px);
  margin: 0 auto;
  padding: 13px 0 18px;
  border-top: 1px solid rgba(82, 99, 109, .23);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  animation: footer-arrive 600ms var(--ease-out) 200ms both;
}
.toast {
  position: fixed;
  z-index: 10;
  bottom: 24px;
  left: 50%;
  padding: 10px 18px;
  border: 1px solid rgba(206, 81, 89, .40);
  border-radius: 13px;
  color: white;
  background: rgba(22, 32, 40, .94);
  box-shadow: 0 15px 33px rgba(23, 33, 40, .25);
  opacity: 0;
  pointer-events: none;
  font-size: 12px;
  transform: translate(-50%, 12px);
  transition: opacity 220ms ease, transform 220ms var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

/* Night palette follows the car photograph: graphite, streetlight, tail lamps. */
[data-theme="dark"] { background: #0b1117; }
[data-theme="dark"] body {
  background:
    radial-gradient(circle at 75% 12%, rgba(139, 159, 169, .17), transparent 29%),
    radial-gradient(circle at 9% 56%, rgba(68, 88, 99, .20), transparent 41%),
    radial-gradient(circle at 83% 84%, rgba(135, 32, 43, .10), transparent 35%),
    linear-gradient(155deg, #0b1117, #17242d 49%, #0c141b);
}
[data-theme="dark"] body::before {
  background: linear-gradient(180deg, transparent, rgba(2, 6, 10, .08) 40%, rgba(2, 6, 10, .30));
}
[data-theme="dark"] .liquid-canvas { opacity: .72; }
[data-theme="dark"] .glow--one { background: rgba(161, 182, 193, .16); }
[data-theme="dark"] .glow--two { background: rgba(83, 107, 119, .14); }
[data-theme="dark"] .glow--three { background: rgba(202, 44, 56, .10); }
[data-theme="dark"] .dust { background: rgba(224, 238, 242, .48); box-shadow: 0 0 8px rgba(224, 238, 242, .38); }
[data-theme="dark"] .light-trails span { background: linear-gradient(90deg, transparent, rgba(242, 76, 87, .45), rgba(242, 76, 87, .08), transparent); }
[data-theme="dark"] .glass-pill { border-color: rgba(194, 215, 224, .19); }
[data-theme="dark"] .topbar-actions .glass-pill {
  box-shadow: 0 11px 26px -10px rgba(0, 0, 0, .65), 0 0 0 1px rgba(181, 206, 217, .07), inset 0 1px rgba(222, 238, 244, .12);
}
[data-theme="dark"] .status-dot { box-shadow: 0 0 12px rgba(240, 113, 122, .43); }
[data-theme="dark"] .status-dot::after { background: rgba(240, 113, 122, .17); }
[data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .share-button:hover { box-shadow: 0 12px 25px -7px rgba(0, 0, 0, .69), 0 0 16px rgba(240, 113, 122, .12); }
[data-theme="dark"] .portal {
  border-color: rgba(190, 213, 223, .21);
  background: linear-gradient(135deg, rgba(29, 43, 52, .91), rgba(18, 29, 37, .94));
  box-shadow: 0 30px 75px -18px rgba(0, 0, 0, .58), 0 0 0 1px rgba(151, 181, 194, .07), inset 0 1px rgba(224, 239, 245, .13);
}
[data-theme="dark"] .portal-aurora {
  background: radial-gradient(circle at 63% 14%, rgba(176, 197, 205, .13), transparent 45%), radial-gradient(circle at 3% 96%, rgba(232, 64, 76, .07), transparent 39%);
}
[data-theme="dark"] .portal::before { background: linear-gradient(90deg, transparent, rgba(222, 238, 244, .39), transparent); }
[data-theme="dark"] .portal::after { background: linear-gradient(112deg, transparent 38%, rgba(228, 241, 246, .07) 51%, transparent 64%); }
[data-theme="dark"] .avatar-glow { background: linear-gradient(135deg, rgba(190, 211, 222, .40), rgba(75, 99, 112, .26) 55%, rgba(235, 68, 79, .36)); }
[data-theme="dark"] .avatar-frame {
  background: linear-gradient(145deg, #b5c7ce, #526976 60%, #1d2c36);
  box-shadow: 0 0 0 4px rgba(172, 196, 206, .21), 0 19px 35px rgba(0, 0, 0, .44);
}
[data-theme="dark"] .creator-badge { border-color: rgba(197, 219, 228, .22); background: rgba(29, 43, 52, .93); box-shadow: 0 9px 22px rgba(0, 0, 0, .39); }
[data-theme="dark"] .glass-liquid { border-color: rgba(186, 211, 222, .19); }
[data-theme="dark"] .glass-liquid:hover {
  border-color: rgba(240, 113, 122, .47);
  box-shadow: 0 22px 39px -13px rgba(0, 0, 0, .58), 0 0 20px rgba(240, 113, 122, .09), inset 0 1px rgba(231, 242, 247, .14);
}
[data-theme="dark"] .liquid-sheen { background: linear-gradient(115deg, transparent 40%, rgba(221, 238, 245, .03) 46%, rgba(221, 238, 245, .13) 51%, rgba(171, 194, 204, .04) 56%, transparent 63%); }
[data-theme="dark"] .liquid-glare { background: radial-gradient(520px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(210, 232, 241, .16), rgba(210, 232, 241, .03) 38%, transparent 70%); }
[data-theme="dark"] .channel-card::before { background: linear-gradient(90deg, transparent, rgba(213, 232, 239, .24), transparent); }
[data-theme="dark"] .tag,
[data-theme="dark"] .tag--dark { border-color: rgba(168, 195, 206, .27); background: rgba(111, 139, 152, .16); }
[data-theme="dark"] .channel-meta i { background: #8da5af; }
[data-theme="dark"] .channel-meta--accent i { background: var(--accent); box-shadow: 0 0 8px rgba(240, 113, 122, .38); }
[data-theme="dark"] .arrow { border-color: rgba(176, 202, 212, .25); background: rgba(68, 91, 103, .32); }
[data-theme="dark"] .channel-card:hover .arrow { color: #101920; background: var(--accent); box-shadow: 0 0 17px rgba(240, 113, 122, .29); }
[data-theme="dark"] .page-footer { border-top-color: rgba(172, 195, 205, .20); }
[data-theme="dark"] .toast { border-color: rgba(240, 113, 122, .45); background: rgba(32, 45, 53, .96); box-shadow: 0 15px 35px rgba(0, 0, 0, .36); }

body, .glass-pill, .portal, .glass-liquid, .creator-badge, .tag, .arrow {
  transition-property: color, background, border-color, box-shadow;
  transition-duration: 240ms;
  transition-timing-function: ease;
}
.arrow { transition-property: color, background, border-color, box-shadow, transform; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes pulse-dot { 0% { opacity: .8; transform: scale(.35); } 85%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes avatar-breathe { from { opacity: .55; transform: scale(.99); } to { opacity: .83; transform: scale(1.04); } }
@keyframes dust-fall {
  0% { opacity: 0; transform: translate3d(0, -20px, 0); }
  12% { opacity: .56; }
  52% { transform: translate3d(var(--drift), 52vh, 0); }
  88% { opacity: .44; }
  100% { opacity: 0; transform: translate3d(calc(var(--drift) * -.45), calc(100vh + 20px), 0); }
}
@keyframes aurora-shift { from { transform: translateX(-2%) scale(1); } to { transform: translateX(2%) scale(1.07); } }
@keyframes portal-arrive { from { opacity: .01; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes chrome-arrive { from { opacity: .01; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes footer-arrive { from { opacity: .01; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes portal-glint { 0%, 67% { transform: translateX(-120%); } 90%, 100% { transform: translateX(120%); } }
@keyframes liquid-sheen-sweep {
  0% { transform: translate(-80%, -80%) rotate(25deg); opacity: 0; }
  15% { opacity: .60; }
  38%, 100% { transform: translate(80%, 80%) rotate(25deg); opacity: 0; }
}

@media (hover: none) or (pointer: coarse) {
  .liquid-deepglow { opacity: .18; }
  .glass-liquid .liquid-glare { opacity: .20; }
}

@media (max-width: 899px) {
  .site-shell {
    width: min(100%, 480px);
    margin: 0 auto;
    border-right: 1px solid rgba(255, 255, 255, .38);
    border-left: 1px solid rgba(255, 255, 255, .38);
  }
  .page-main { display: block; padding: 0 17px; }
  .topbar { width: 100%; margin: 0; padding: 15px 0 10px; }
  .status-pill { min-height: 38px; padding: 7px 13px; font-size: 9.5px; }
  .edition-pill { display: none; }
  .theme-toggle, .share-button { width: 38px; height: 38px; }
  .portal {
    display: flex;
    flex-direction: column;
    gap: 19px;
    width: 100%;
    padding: 22px 19px 23px;
    overflow: visible;
    border-radius: 27px;
    transform: none !important;
  }
  .portal-aurora, .portal::after { display: none; }
  .profile-panel { align-items: center; text-align: center; }
  .avatar-wrap { margin: 1px 0 21px; }
  .avatar-frame { width: 171px; height: 171px; border-radius: 31px; }
  .avatar-frame img { border-radius: 26px; }
  .creator-badge { right: -9px; bottom: -8px; }
  .identity { margin-bottom: 12px; }
  .name-row h1 { font-size: 37px; }
  .handle { margin-top: 5px; font-size: 13px; }
  .bio-pill { justify-content: center; min-height: 34px; padding: 7px 12px; font-size: 10.5px; }
  .stats { margin-top: 17px; gap: 8px; }
  .stat-card { min-height: 81px; padding: 9px 4px; border-radius: 16px; }
  .stat-card strong { font-size: 17px; }
  .stat-card span { margin-top: 5px; font-size: 7.5px; }
  .stat-card small { margin-top: 2px; font-size: 8px; }
  .channel-list { gap: 10px; }
  .channel-card { grid-template-columns: 48px minmax(0, 1fr) 34px; min-height: 103px; padding: 13px 12px; border-radius: 20px; gap: 11px; }
  .channel-card--email { min-height: 88px; }
  .channel-icon { width: 48px; height: 48px; border-radius: 14px; }
  .channel-icon svg { width: 26px; height: 26px; }
  .channel-icon--spotify svg { width: 29px; height: 29px; }
  .channel-icon--gmail svg { width: 29px; height: 22px; }
  .tiktok-logo { width: 23px; height: 27px; }
  .channel-title-row strong { font-size: 12.5px; }
  .tag { padding: 3px 6px; font-size: 8px; }
  .channel-description { margin-top: 4px; font-size: 10.5px; }
  .channel-meta { margin-top: 5px; font-size: 9px; flex-wrap: wrap; }
  .arrow { width: 34px; height: 34px; }
  .page-footer { width: calc(100% - 38px); flex-direction: column; gap: 5px; margin-top: 6px; padding: 15px 0 24px; text-align: center; font-size: 9.5px; }
  .glass-liquid, .stat-card-wrap, .channel-card-wrap, .avatar-wrap, .identity, .bio-pill { transform: none !important; }
  .light-trails { opacity: .55; }
  [data-theme="dark"] .site-shell { border-color: rgba(165, 194, 206, .11); }
}

@media (max-width: 380px) {
  .page-main { padding: 0 12px; }
  .portal { padding: 18px 12px 20px; }
  .status-pill { padding: 7px 10px; font-size: 8.5px; }
  .avatar-frame { width: 154px; height: 154px; }
  .stat-card strong { font-size: 15px; }
  .stat-card span { font-size: 7px; }
  .channel-card { grid-template-columns: 42px minmax(0, 1fr) 30px; padding: 11px 9px; gap: 8px; }
  .channel-icon { width: 42px; height: 42px; border-radius: 12px; }
  .channel-icon svg { width: 23px; height: 23px; }
  .channel-icon--gmail svg { width: 26px; height: 20px; }
  .tiktok-logo { width: 21px; height: 24px; }
  .channel-title-row strong { font-size: 11.5px; }
  .tag { font-size: 7px; }
  .channel-description { font-size: 10px; }
  .channel-meta { font-size: 8.5px; }
  .arrow { width: 30px; height: 30px; }
}

@media (min-width: 900px) and (max-height: 760px) {
  .page-main { padding-top: 14px; }
  .topbar { margin-bottom: 12px; }
  .portal { padding-top: 27px; padding-bottom: 27px; }
  .avatar-frame { width: 166px; height: 166px; }
  .channel-card { min-height: 106px; }
  .stat-card { min-height: 91px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .liquid-canvas, .ambient, .stardust, .light-trails { display: none !important; }
  .portal, .glass-liquid { transform: none !important; }
}
