:root {
  --ink: #0f2a4a;
  --muted: #4b6580;
  --blue: #0ea5e9;
  --blue-dark: #0284c7;
  --blue-deep: #0369a1;
  --line: rgba(255, 255, 255, 0.9);
  --glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 249, 255, 0.56));
  --soft-shadow: 0 14px 34px -12px rgba(2, 132, 199, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 18%, rgba(125, 211, 252, 0.52), transparent 34%),
    radial-gradient(circle at 88% 48%, rgba(186, 230, 253, 0.56), transparent 38%),
    linear-gradient(135deg, #e0f2fe 0%, #f5fbff 48%, #dbeafe 100%);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

svg {
  display: block;
}

.ambient,
.stardust {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient {
  z-index: 0;
}

.stardust {
  z-index: 1;
}

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

.glow--one {
  top: -220px;
  left: -170px;
  width: 650px;
  height: 650px;
  background: rgba(56, 189, 248, 0.42);
}

.glow--two {
  top: 22%;
  right: -240px;
  width: 720px;
  height: 720px;
  background: rgba(125, 211, 252, 0.44);
  animation-delay: -3s;
}

.glow--three {
  bottom: -270px;
  left: 25%;
  width: 650px;
  height: 550px;
  background: rgba(147, 197, 253, 0.34);
  animation-delay: -5s;
}

.sparkle {
  position: absolute;
  color: rgba(14, 165, 233, 0.28);
  font: 600 46px/1 "Outfit", sans-serif;
}

.sparkle--one { top: 7%; left: 6%; }
.sparkle--two { top: 51%; right: 5%; font-size: 58px; }
.sparkle--three { bottom: 7%; left: 4%; font-size: 38px; }

.dust {
  position: absolute;
  top: -12px;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 9px rgba(125, 211, 252, 0.8);
  animation: dust-fall var(--duration) linear var(--delay) infinite;
}

.site-shell {
  position: relative;
  z-index: 2;
  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: 22px 32px 12px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1080px);
  margin-bottom: 18px;
}

.glass-pill,
.glass-card {
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--soft-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  backdrop-filter: blur(22px) saturate(175%);
}

.status-pill,
.edition-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
}

.status-pill {
  gap: 10px;
  padding: 9px 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.85);
}

.status-dot::after {
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: rgba(52, 211, 153, 0.38);
  content: "";
  animation: pulse-dot 2s ease-out infinite;
}

.status-star {
  color: var(--blue);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.edition-pill {
  gap: 8px;
  padding: 9px 18px;
  color: var(--blue-deep);
}

.share-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  place-items: center;
  transition: transform 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.share-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.share-button:hover {
  color: var(--blue-deep);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 28px -10px rgba(2, 132, 199, 0.38), 0 0 18px rgba(56, 189, 248, 0.22);
}

.portal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(480px, 1.18fr);
  grid-template-rows: auto auto;
  gap: 20px 46px;
  width: min(100%, 1080px);
  padding: 38px 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.79), rgba(240, 249, 255, 0.51));
  box-shadow: 0 30px 70px -24px rgba(15, 42, 74, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
  backdrop-filter: blur(30px) saturate(165%);
}

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

.profile-panel {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.avatar-wrap {
  position: relative;
  margin: 2px 0 24px;
}

.avatar-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #38bdf8, #a5f3fc 50%, #0ea5e9);
  filter: blur(10px);
  opacity: 0.72;
  animation: avatar-breathe 3.8s ease-in-out infinite alternate;
}

.avatar-frame {
  position: relative;
  width: 158px;
  height: 158px;
  padding: 6px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, rgba(186, 230, 253, 0.74), rgba(56, 189, 248, 0.84));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.88), 0 0 36px rgba(56, 189, 248, 0.46);
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.avatar-wrap:hover .avatar-frame img {
  transform: scale(1.045);
}

.creator-badge {
  position: absolute;
  right: -10px;
  bottom: -8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 14px rgba(15, 42, 74, 0.16);
  font-size: 11px;
  font-weight: 700;
}

.verified-badge {
  display: none;
}

.identity {
  margin-bottom: 15px;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.name-row h1 {
  margin: 0;
  color: #071426;
  font-family: "Outfit", sans-serif;
  font-size: clamp(38px, 3.2vw, 46px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.desktop-check {
  display: grid;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 5px 12px rgba(14, 165, 233, 0.3);
  place-items: center;
  transform: translateY(3px);
}

.desktop-check svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.handle {
  margin: 9px 0 0;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
}

.bio-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 38px;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 14px;
  color: #273d56;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.bio-pill span {
  color: var(--blue);
}

.description {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.channels-panel {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  flex-direction: column;
  align-self: center;
  gap: 18px;
  min-width: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  display: flex;
  min-width: 0;
  min-height: 106px;
  padding: 17px 10px 14px;
  border-radius: 22px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease, border-color 300ms ease;
}

.stat-card:hover,
.channel-card:hover {
  border-color: rgba(125, 211, 252, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -16px rgba(2, 132, 199, 0.3), 0 0 22px rgba(56, 189, 248, 0.16), inset 0 1px 1px #fff;
}

.stat-card strong {
  color: var(--blue-deep);
  font-family: "Outfit", sans-serif;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.stat-card:nth-child(2) strong {
  color: #071426;
}

.stat-card span {
  margin-top: 9px;
  color: var(--blue-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.stat-card small {
  margin-top: 4px;
  color: #7990a8;
  font-size: 10px;
  font-weight: 500;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.channel-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 16px;
  min-height: 126px;
  padding: 20px 18px;
  overflow: hidden;
  border-radius: 26px;
  transition: transform 340ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease, border-color 300ms ease;
}

.channel-card::before {
  position: absolute;
  top: 0;
  right: 40px;
  left: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, white, transparent);
  content: "";
}

.channel-icon {
  display: grid;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  color: #fff;
  place-items: center;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.channel-card:hover .channel-icon {
  transform: rotate(3deg) scale(1.08);
}

.channel-icon svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.tiktok-logo {
  display: block;
  object-fit: contain;
}

.channel-icon .tiktok-logo {
  width: 27px;
  height: 31px;
}

.channel-icon--telegram {
  background: linear-gradient(145deg, #38bdf8, #0284c7);
  box-shadow: 0 10px 22px rgba(2, 132, 199, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.channel-icon--tiktok {
  background: linear-gradient(145deg, #0f172a, #075985);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.26), inset 0 1px 1px rgba(255, 255, 255, 0.28);
}

.channel-copy {
  display: block;
  min-width: 0;
}

.channel-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.channel-title-row strong {
  color: #08172b;
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.tag {
  padding: 4px 9px;
  border: 1px solid rgba(125, 211, 252, 0.62);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(224, 242, 254, 0.78);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tag--dark {
  border-color: rgba(203, 213, 225, 0.88);
  color: #334155;
  background: rgba(241, 245, 249, 0.82);
}

.channel-description {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: #49637e;
  font-size: 12px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.channel-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: #465d74;
  font-size: 11px;
  font-weight: 700;
}

.channel-meta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
}

.channel-meta--blue {
  color: var(--blue-deep);
}

.channel-meta--blue i {
  background: var(--blue);
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.45);
}

.channel-meta b {
  font-weight: 700;
}

.arrow {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  color: #5f7184;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 12px rgba(15, 42, 74, 0.08);
  place-items: center;
  transition: color 250ms ease, background 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.arrow svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.channel-card:hover .arrow {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.46);
  transform: translateX(3px);
}

.quick-actions {
  display: flex;
  grid-column: 1;
  grid-row: 2;
  flex-direction: column;
  gap: 10px;
  align-self: start;
  width: 100%;
}

.cta {
  position: relative;
  display: flex;
  min-height: 50px;
  padding: 12px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 15px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.005em;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease;
}

.cta .cta-brand-icon {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.cta .tiktok-logo {
  width: 17px;
  height: 19px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(10%) sepia(24%) saturate(1792%) hue-rotate(171deg) brightness(92%) contrast(97%);
}

.cta > span:last-child {
  position: relative;
  z-index: 1;
}

.cta:hover {
  transform: translateY(-2px) scale(1.015);
}

.cta:active,
.channel-card:active,
.stat-card:active,
.share-button:active {
  transform: scale(0.975);
}

.cta--primary {
  color: #fff;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  box-shadow: 0 10px 24px -8px rgba(2, 132, 199, 0.52), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.cta--secondary {
  color: #0f172a;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.91), rgba(240, 249, 255, 0.64));
  box-shadow: 0 9px 22px -10px rgba(15, 42, 74, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.light-sweep {
  position: absolute;
  top: 0;
  left: -150%;
  width: 75%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.56), transparent);
  pointer-events: none;
  transform: skewX(-24deg);
  animation: sweep 4s ease-in-out infinite;
}

.light-sweep--delayed {
  animation-delay: 1.7s;
}

.page-footer {
  display: flex;
  width: min(calc(100% - 64px), 1080px);
  margin: 0 auto;
  padding: 13px 0 18px;
  border-top: 1px solid rgba(125, 211, 252, 0.34);
  color: rgba(3, 105, 161, 0.73);
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
}

.toast {
  position: fixed;
  z-index: 10;
  bottom: 24px;
  left: 50%;
  padding: 10px 16px;
  border: 1px solid rgba(125, 211, 252, 0.38);
  border-radius: 14px;
  color: white;
  background: rgba(7, 32, 58, 0.9);
  box-shadow: 0 16px 36px rgba(15, 42, 74, 0.24);
  opacity: 0;
  pointer-events: none;
  font-size: 12px;
  transform: translate(-50%, 12px);
  transition: opacity 220ms ease, transform 220ms ease;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

:focus-visible {
  outline: 3px solid rgba(2, 132, 199, 0.6);
  outline-offset: 4px;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -18px, 0); }
}

@keyframes pulse-dot {
  0% { opacity: 0.8; transform: scale(0.4); }
  80%, 100% { opacity: 0; transform: scale(1.5); }
}

@keyframes avatar-breathe {
  from { opacity: 0.62; transform: scale(0.98); }
  to { opacity: 0.86; transform: scale(1.05); }
}

@keyframes dust-fall {
  0% { opacity: 0; transform: translate3d(0, -20px, 0); }
  12% { opacity: 0.78; }
  52% { transform: translate3d(var(--drift), 52vh, 0); }
  88% { opacity: 0.62; }
  100% { opacity: 0; transform: translate3d(calc(var(--drift) * -0.45), calc(100vh + 20px), 0); }
}

@keyframes sweep {
  0%, 42% { left: -150%; }
  72%, 100% { left: 180%; }
}

@media (max-width: 899px) {
  body {
    background:
      radial-gradient(circle at 18% 12%, rgba(165, 243, 252, 0.68), transparent 40%),
      radial-gradient(circle at 86% 50%, rgba(186, 230, 253, 0.58), transparent 43%),
      linear-gradient(160deg, #dff8ff 0%, #effaff 55%, #f8fcff 100%);
  }

  .site-shell {
    width: min(100%, 500px);
    margin: 0 auto;
    border-right: 1px solid rgba(255, 255, 255, 0.62);
    border-left: 1px solid rgba(255, 255, 255, 0.62);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(224, 242, 254, 0.16));
    box-shadow: 0 0 50px rgba(2, 132, 199, 0.12);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .page-main {
    display: block;
    padding: 0;
  }

  .topbar {
    width: 100%;
    margin: 0;
    padding: 26px 20px 12px;
  }

  .status-pill {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 11px;
    letter-spacing: 0.025em;
    text-transform: none;
  }

  .edition-pill {
    display: none;
  }

  .share-button {
    width: 44px;
    height: 44px;
  }

  .portal {
    display: flex;
    width: 100%;
    padding: 20px 20px 30px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    flex-direction: column;
    gap: 28px;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .portal::before {
    display: none;
  }

  .profile-panel {
    align-items: center;
    text-align: center;
  }

  .avatar-wrap {
    margin: 10px 0 28px;
  }

  .avatar-glow {
    inset: -14px;
  }

  .avatar-frame {
    width: 152px;
    height: 152px;
  }

  .creator-badge,
  .desktop-check {
    display: none;
  }

  .verified-badge {
    position: absolute;
    right: -3px;
    bottom: 1px;
    display: grid;
    width: 42px;
    height: 42px;
    border: 3px solid white;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #38bdf8, #0284c7);
    box-shadow: 0 7px 16px rgba(2, 132, 199, 0.32);
    place-items: center;
  }

  .verified-badge svg {
    width: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
  }

  .identity {
    margin-bottom: 17px;
  }

  .name-row {
    justify-content: center;
  }

  .name-row h1 {
    font-size: 42px;
  }

  .handle {
    margin-top: 8px;
    color: var(--blue);
    font-size: 15px;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }

  .bio-pill {
    justify-content: center;
    margin-bottom: 0;
    padding: 11px 17px;
    border-radius: 999px;
    font-size: 12px;
  }

  .bio-pill > span {
    display: none;
  }

  .description {
    display: none;
  }

  .channels-panel {
    width: 100%;
    min-width: 0;
    align-self: stretch;
    gap: 22px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .stat-card {
    min-height: 102px;
    border-radius: 24px;
  }

  .stat-card--likes {
    display: none;
  }

  .stat-card strong {
    font-size: 26px;
  }

  .stat-card span {
    font-size: 10px;
  }

  .stat-card small {
    display: none;
  }

  .channel-list {
    gap: 16px;
  }

  .channel-card {
    grid-template-columns: 58px minmax(0, 1fr) 39px;
    min-height: 142px;
    padding: 20px 14px;
    border-radius: 28px;
    gap: 13px;
  }

  .channel-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .channel-title-row {
    min-width: 0;
    flex-wrap: nowrap;
    gap: 7px;
  }

  .channel-title-row strong {
    min-width: 0;
    white-space: nowrap;
    font-size: 17px;
  }

  .tag {
    flex: 0 1 auto;
    max-width: 118px;
    padding: 4px 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .channel-description {
    display: block;
    margin-top: 7px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .channel-meta {
    margin-top: 8px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 10px;
    text-overflow: ellipsis;
  }

  .arrow {
    width: 39px;
    height: 48px;
    border-radius: 15px;
  }

  .quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .cta {
    min-height: 50px;
    padding: 12px 10px;
    border-radius: 18px;
    font-size: 14px;
  }

  .page-footer {
    display: flex;
    width: calc(100% - 40px);
    margin-top: 6px;
    padding: 25px 0 30px;
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .channel-card {
    min-height: 148px;
  }

  .channel-copy {
    overflow: hidden;
  }

  .channel-title-row {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .channel-title-row strong {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .topbar {
    padding-right: 14px;
    padding-left: 14px;
  }

  .portal {
    padding-right: 14px;
    padding-left: 14px;
  }

  .status-pill {
    padding-right: 13px;
    padding-left: 13px;
    font-size: 10px;
  }

  .status-star {
    display: none;
  }

  .channel-card {
    grid-template-columns: 52px minmax(0, 1fr) 34px;
    padding-right: 10px;
    padding-left: 10px;
    gap: 10px;
  }

  .channel-icon {
    width: 52px;
    height: 52px;
  }

  .channel-title-row strong {
    font-size: 15px;
  }

  .tag {
    max-width: 92px;
    font-size: 8px;
  }

  .arrow {
    width: 34px;
  }
}

@media (min-width: 900px) and (max-height: 760px) {
  .page-main {
    padding-top: 14px;
  }

  .topbar {
    margin-bottom: 12px;
  }

  .portal {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .avatar-frame {
    width: 142px;
    height: 142px;
  }

  .channel-card {
    min-height: 112px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .stat-card {
    min-height: 94px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .stardust {
    display: none;
  }
}
