﻿:root {
  --bg-a: #030710;
  --bg-b: #091526;
  --line: #2d466a;
  --text: #e9f1ff;
  --muted: #98afcf;
  --accent: #5aaeff;
  --danger: #73b8ff;
  --clip-surface: #060b14;
}

/* Baby Blue + Blue + Pink Theme */
:root {
  --bg-a: #060a1f;
  --bg-b: #111b45;
  --line: #6fa3ff;
  --text: #eef4ff;
  --muted: #b4c6f7;
  --accent: #8cd8ff;
  --accent-blue: #5d90ff;
  --accent-pink: #ff88cf;
  --danger: #ff9ed9;
  --clip-surface: rgba(7, 13, 32, 0.9);
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 10% 18%, rgba(141, 217, 255, 0.26), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(111, 149, 255, 0.25), transparent 36%),
    radial-gradient(circle at 56% 95%, rgba(255, 136, 207, 0.2), transparent 38%),
    linear-gradient(165deg, var(--bg-a), var(--bg-b));
}

body::before {
  background-image:
    linear-gradient(rgba(164, 198, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 198, 255, 0.09) 1px, transparent 1px);
  opacity: 0.22;
}

.stream-shell {
  background:
    linear-gradient(180deg, rgba(8, 13, 33, 0.95), rgba(12, 20, 44, 0.8)),
    radial-gradient(circle at 0% 52%, rgba(114, 180, 255, 0.28), transparent 58%);
}

.stream-topbar {
  background: rgba(7, 13, 28, 0.95);
  border-bottom: 1px solid rgba(130, 181, 255, 0.5);
}

.stream-brand-main {
  color: #f4f8ff;
  text-shadow: 0 0 24px rgba(138, 214, 255, 0.22);
}

.stream-nav-item {
  color: #d9e5ff;
  background: linear-gradient(180deg, rgba(26, 46, 92, 0.3), rgba(19, 33, 67, 0.25));
  border-color: rgba(137, 187, 255, 0.15);
}

.stream-nav-item:hover {
  color: #ffffff;
  border-color: rgba(154, 204, 255, 0.52);
  background: linear-gradient(180deg, rgba(48, 82, 152, 0.42), rgba(33, 57, 112, 0.3));
}

.stream-nav-item.is-active {
  color: #f8fbff;
  border-color: rgba(147, 204, 255, 0.7);
  background:
    linear-gradient(120deg, rgba(94, 146, 255, 0.44), rgba(255, 136, 207, 0.33));
  box-shadow: 0 0 22px rgba(152, 177, 255, 0.25);
}

.stream-log {
  color: #edf4ff;
  border-color: rgba(142, 188, 255, 0.42);
  background: linear-gradient(125deg, rgba(66, 116, 219, 0.3), rgba(255, 136, 207, 0.18));
}

.stream-log:hover,
.stream-log.is-active {
  color: #ffffff;
  border-color: rgba(168, 214, 255, 0.74);
  background: linear-gradient(125deg, rgba(81, 138, 255, 0.42), rgba(255, 136, 207, 0.3));
}

.route-card,
.admin-card,
.stream-player-frame,
.stream-chat-frame,
.admin-dashboard-wrap {
  border-color: rgba(125, 169, 242, 0.4);
  background-color: rgba(8, 14, 33, 0.86);
}

.route-badge {
  border-color: rgba(148, 196, 255, 0.9);
  color: #dff0ff;
  background: linear-gradient(120deg, rgba(95, 142, 251, 0.32), rgba(255, 136, 207, 0.26));
}

.stream-chat-title {
  border-bottom-color: rgba(128, 168, 234, 0.33);
  color: #f3f8ff;
}

.btn,
.admin-submit,
.admin-logout {
  border-color: rgba(143, 195, 255, 0.72);
  background: linear-gradient(135deg, rgba(103, 161, 255, 0.76), rgba(255, 136, 207, 0.5));
  color: #f8fbff;
}

.btn:hover,
.admin-submit:hover,
.admin-logout:hover {
  border-color: rgba(180, 220, 255, 0.95);
}

#status,
.subtitle,
.admin-subtitle,
.admin-panel-status {
  color: #bfd0f5;
}

#status.error,
.admin-panel-status.is-error,
.admin-login-status.is-error {
  color: #ffc1e3;
}

.admin-login-status.is-success,
.admin-panel-status.is-success {
  color: #b6e7ff;
}

.clip-card {
  border-color: rgba(118, 163, 233, 0.34);
  background: rgba(7, 12, 28, 0.92);
}

.clip-row {
  background: rgba(7, 12, 26, 0.95);
}

.clip-avatar,
.friend-avatar {
  border-color: rgba(136, 184, 255, 0.58);
}

.clip-menu,
.clip-meta {
  color: #c9d8f4;
}

.clip-title,
.clip-author,
.friends-head,
.friend-name {
  color: #f0f6ff;
}

.clip-actions-menu {
  border-color: rgba(130, 178, 248, 0.46);
  background: rgba(10, 18, 39, 0.98);
}

.clip-action-link:hover,
.clip-action-download:hover {
  background: linear-gradient(120deg, rgba(93, 145, 255, 0.34), rgba(255, 136, 207, 0.24));
}

.friends-icon {
  color: #8ad8ff;
}

.friend-card {
  border-color: rgba(120, 166, 236, 0.34);
  background: linear-gradient(180deg, rgba(10, 16, 34, 0.92), rgba(8, 14, 30, 0.9));
}

.friend-card:hover {
  border-color: rgba(165, 209, 255, 0.66);
  box-shadow: 0 14px 28px rgba(10, 24, 58, 0.42);
}

.admin-input {
  border-color: rgba(121, 170, 244, 0.43);
  background: rgba(8, 14, 30, 0.98);
  color: #eef4ff;
}

.admin-input::placeholder {
  color: #a9bce8;
}

.admin-input:focus {
  border-color: rgba(163, 214, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(143, 194, 255, 0.2);
}

.admin-tab-btn {
  border-color: rgba(120, 168, 238, 0.42);
  color: #dbe9ff;
  background: rgba(18, 31, 66, 0.5);
}

.admin-tab-btn.is-active {
  border-color: rgba(167, 214, 255, 0.78);
  background: linear-gradient(120deg, rgba(99, 153, 255, 0.52), rgba(255, 136, 207, 0.32));
  color: #fff;
}

.admin-tab-panel,
.admin-table-wrap {
  border-color: rgba(120, 169, 238, 0.38);
  background: rgba(8, 14, 33, 0.82);
}

.admin-table th {
  background: linear-gradient(120deg, rgba(92, 146, 255, 0.68), rgba(255, 136, 207, 0.36));
}

.admin-table th,
.admin-table td {
  border-bottom-color: rgba(120, 166, 234, 0.26);
}

.admin-row-btn {
  border-color: rgba(130, 179, 248, 0.56);
  background: rgba(44, 81, 145, 0.35);
}

.admin-row-btn-danger {
  border-color: rgba(255, 150, 216, 0.76);
  background: rgba(204, 86, 160, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 24%, rgba(65, 114, 255, 0.17), transparent 36%),
    radial-gradient(circle at 86% 4%, rgba(73, 156, 255, 0.18), transparent 34%),
    linear-gradient(170deg, var(--bg-a), var(--bg-b));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.15;
}

.stream-shell {
  width: 100%;
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 12, 20, 0.96), rgba(8, 15, 28, 0.74)),
    radial-gradient(circle at 0% 50%, rgba(28, 72, 158, 0.32), transparent 58%);
  border-bottom: 0;
}

.stream-topbar {
  width: 100%;
  min-height: 72px;
  padding: 0 clamp(14px, 3vw, 34px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  background: rgba(5, 10, 16, 0.97);
  border-bottom: 1px solid rgba(63, 120, 216, 0.5);
}

.stream-brand {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.stream-brand-main {
  color: #e8e8eb;
}

.stream-brand-accent {
  color: #6db9ff;
}

.stream-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
}

.stream-nav-item {
  text-decoration: none;
  color: #b8bcc7;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.02rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.stream-nav-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.stream-nav-icon.fas,
.stream-nav-icon.fal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

.stream-shell .fal {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.stream-nav-main {
  font-weight: 700;
}

.stream-nav-sub {
  font-size: 0.84rem;
  color: #d4d9e4;
  opacity: 0.86;
}

.stream-nav-item-clips .stream-nav-sub {
  position: relative;
  top: 2px;
}

.stream-nav-item:hover {
  color: #e4e8ef;
  border-color: rgba(126, 134, 154, 0.34);
}

.stream-nav-item.is-active {
  color: #8ac8ff;
  border-color: rgba(55, 117, 210, 0.54);
  background: rgba(21, 48, 86, 0.45);
}

.stream-log {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #d8dce7;
  border: 1px solid rgba(130, 136, 152, 0.4);
  border-radius: 11px;
  padding: 9px 18px;
  font-size: 1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.stream-log:hover {
  color: #ffffff;
  border-color: rgba(112, 159, 229, 0.62);
  background: rgba(31, 65, 112, 0.28);
}

.stream-log.is-active {
  color: #8cc9ff;
  border-color: rgba(55, 117, 210, 0.54);
  background: rgba(21, 48, 86, 0.45);
}

.stream-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  column-gap: 18px;
  row-gap: 8px;
  align-items: stretch;
  width: min(1360px, 92vw);
  margin: 14px auto 0;
  padding-bottom: 18px;
}

.stream-intro {
  grid-column: 1 / -1;
  min-height: 240px;
  border: 1px solid rgba(132, 176, 244, 0.36);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 7% 40%, rgba(112, 172, 255, 0.3), transparent 48%),
    radial-gradient(circle at 82% 10%, rgba(255, 141, 210, 0.2), transparent 48%),
    linear-gradient(130deg, rgba(9, 15, 36, 0.94), rgba(8, 14, 30, 0.88));
  overflow: hidden;
}

.stream-intro-visual {
  position: relative;
  align-self: end;
  justify-self: center;
}

.stream-intro-glow {
  position: absolute;
  inset: auto -18px -18px -18px;
  height: 54%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, rgba(119, 178, 255, 0.5), rgba(255, 141, 210, 0.14) 60%, transparent 100%);
  filter: blur(12px);
}

.stream-intro-avatar {
  width: clamp(170px, 21vw, 290px);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(153, 203, 255, 0.34);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
  position: relative;
  z-index: 1;
}

.stream-intro-content {
  display: grid;
  gap: 10px;
}

.stream-intro-title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: #f6f9ff;
  text-wrap: balance;
}

.stream-intro-title-accent {
  background: linear-gradient(120deg, #7ac4ff, #ff8dd2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stream-intro-subtitle {
  margin: 0;
  color: #bdd1f5;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 500;
}

.stream-intro-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.stream-intro-profile {
  text-decoration: none;
  border: 1px solid rgba(147, 198, 255, 0.58);
  border-radius: 12px;
  min-height: 48px;
  padding: 8px 14px 8px 10px;
  color: #eaf4ff;
  background: linear-gradient(120deg, rgba(64, 117, 202, 0.36), rgba(255, 141, 210, 0.22));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(73, 124, 214, 0.26);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
  background-size: 220% 220%;
  will-change: transform, box-shadow, background-position, filter;
  animation: introProfileFloat 2.8s ease-in-out infinite, introProfilePulse 2.3s ease-in-out infinite, introProfileGlow 1.9s ease-in-out infinite;
}

.stream-intro-profile > * {
  position: relative;
  z-index: 1;
}

.stream-intro-profile::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(185, 224, 255, 0.52);
  pointer-events: none;
  opacity: 0.34;
  z-index: 0;
  animation: introProfileBorderBlink 1.9s ease-in-out infinite;
}

.stream-intro-profile::after {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -60%;
  width: 44%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(214, 236, 255, 0.35), rgba(255, 255, 255, 0.05));
  transform: skewX(-22deg) translateX(-220%);
  z-index: 2;
  animation: introProfileSheen 5.2s ease-in-out infinite;
}

.stream-intro-profile:hover {
  border-color: rgba(174, 219, 255, 0.86);
  background: linear-gradient(120deg, rgba(88, 143, 234, 0.48), rgba(255, 141, 210, 0.3));
  box-shadow: 0 14px 30px rgba(72, 129, 226, 0.34);
  transform: translateY(-2px) scale(1.015);
}

.stream-intro-profile:active {
  transform: translateY(0) scale(0.992);
}

.stream-intro-profile img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(172, 214, 255, 0.52);
  box-shadow: 0 0 10px rgba(152, 203, 255, 0.38);
  transition: transform 0.24s ease, border-color 0.24s ease;
  animation: introProfileAvatarBob 2.4s ease-in-out infinite;
}

.stream-intro-profile span {
  display: inline-block;
  animation: introProfileTextGlow 2.2s ease-in-out infinite;
}

.stream-intro-profile:hover img {
  transform: scale(1.08);
  border-color: rgba(203, 232, 255, 0.88);
}

.stream-intro-live {
  margin: 0;
  border: 1px solid rgba(116, 239, 172, 0.45);
  border-radius: 12px;
  min-height: 48px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 50, 34, 0.55);
  color: #8ef4bc;
  font-weight: 700;
}

.stream-intro-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #42f395;
  box-shadow: 0 0 10px rgba(66, 243, 149, 0.55);
}

.stream-intro-live.is-inactive {
  border-color: rgba(168, 182, 205, 0.38);
  background: rgba(124, 138, 160, 0.12);
  color: rgba(205, 216, 233, 0.95);
}

.stream-intro-live.is-inactive .stream-intro-live-dot {
  background: #98a8bf;
  box-shadow: 0 0 8px rgba(152, 168, 191, 0.35);
  animation: none;
}

@keyframes introProfileFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes introProfileSheen {
  0%,
  58%,
  100% {
    opacity: 0;
    transform: skewX(-22deg) translateX(-220%);
  }
  63% {
    opacity: 0.65;
  }
  83% {
    opacity: 0;
    transform: skewX(-22deg) translateX(520%);
  }
}

@keyframes introProfilePulse {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(73, 124, 214, 0.26);
    border-color: rgba(147, 198, 255, 0.58);
    background-position: 0% 50%;
  }
  50% {
    box-shadow: 0 14px 34px rgba(98, 157, 255, 0.42);
    border-color: rgba(178, 220, 255, 0.88);
    background-position: 100% 50%;
  }
}

@keyframes introProfileGlow {
  0%,
  100% {
    filter: saturate(1) brightness(1);
  }
  50% {
    filter: saturate(1.16) brightness(1.05);
  }
}

@keyframes introProfileBorderBlink {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.72;
  }
}

@keyframes introProfileAvatarBob {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 10px rgba(152, 203, 255, 0.38);
  }
  50% {
    transform: translateY(-1px) scale(1.06);
    box-shadow: 0 0 14px rgba(194, 226, 255, 0.55);
  }
}

@keyframes introProfileTextGlow {
  0%,
  100% {
    color: #eaf4ff;
    text-shadow: 0 0 0 rgba(176, 220, 255, 0);
  }
  50% {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(176, 220, 255, 0.5);
  }
}

.route-panel {
  width: min(1360px, 92vw);
  margin: 14px auto 0;
  padding-bottom: 18px;
}

.route-card {
  min-height: clamp(240px, 38vw, 420px);
  border: 1px solid #1a2533;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(7, 12, 18, 0.96), rgba(3, 8, 14, 0.98)),
    radial-gradient(circle at 50% 10%, rgba(34, 49, 66, 0.2), transparent 55%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.route-glow {
  position: absolute;
  top: 18%;
  width: 86px;
  height: 36px;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.56;
}

.route-glow-red {
  left: 9%;
  background: rgba(58, 134, 255, 0.9);
}

.route-glow-white {
  left: 42%;
  background: rgba(191, 204, 228, 0.75);
}

.route-glow-green {
  right: 17%;
  background: rgba(64, 221, 255, 0.86);
}

.route-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid #2f72ce;
  color: #63b0ff;
  background: rgba(8, 20, 38, 0.48);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: clamp(0.86rem, 1.45vw, 1.05rem);
}

.admin-panel {
  width: min(1360px, 94vw);
  margin: 0 auto;
  padding: 18px 0 24px;
}

.admin-login-wrap {
  min-height: clamp(460px, 72vh, 760px);
  border: 1px solid #16263a;
  border-radius: 14px;
  background:
    radial-gradient(circle at 15% 24%, rgba(39, 84, 172, 0.2), transparent 46%),
    radial-gradient(circle at 88% 12%, rgba(36, 114, 205, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(4, 9, 15, 0.96), rgba(3, 8, 14, 0.98));
  display: grid;
  place-items: center;
  padding: 36px 16px;
  overflow: hidden;
}

.admin-card {
  width: min(450px, 100%);
  border: 1px solid #1f3148;
  border-radius: 12px;
  background: rgba(5, 11, 18, 0.94);
  box-shadow:
    0 28px 44px rgba(0, 0, 0, 0.43),
    inset 0 1px 0 rgba(140, 168, 212, 0.05);
  padding: 32px 30px 24px;
  text-align: center;
}

.admin-lock {
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #95d4ff;
  background: rgba(36, 99, 176, 0.32);
  border: 1px solid rgba(82, 162, 241, 0.44);
}

.admin-title {
  margin: 0;
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.admin-subtitle {
  margin: 10px 0 22px;
  color: #a8bad5;
  font-size: 1.01rem;
}

.admin-form {
  display: grid;
  gap: 13px;
}

.admin-field {
  text-align: left;
}

.admin-field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-input {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid #1d2a3c;
  background: #060b12;
  color: #edf4ff;
  font: inherit;
  font-size: 1.06rem;
  padding: 0 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-input::placeholder {
  color: #98adc8;
}

.admin-input:focus {
  border-color: #57b5ff;
  box-shadow: 0 0 0 3px rgba(64, 150, 238, 0.2);
}

.admin-submit {
  margin-top: 4px;
  height: 46px;
  border: 1px solid #3b93e4;
  border-radius: 10px;
  background: linear-gradient(135deg, #2278cf, #43a8ff);
  color: #f7fbff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.admin-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.admin-submit:active {
  transform: translateY(0);
}

.admin-submit:disabled {
  opacity: 0.82;
  cursor: default;
  filter: saturate(0.9);
  transform: none;
}

.admin-login-divider {
  margin: 2px 0 0;
  color: #9cb4d4;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-discord-submit {
  margin-top: 0;
  border-color: #6f87ff;
  background: linear-gradient(135deg, #4458d8, #7387ff);
}

.admin-discord-submit i {
  font-size: 1.05rem;
}

.admin-discord-submit:hover {
  border-color: #8fa3ff;
}

.admin-discord-status {
  margin-top: 2px;
}

.admin-discord-note {
  margin: 0;
  color: #a9bde0;
  font-size: 0.82rem;
}

.admin-login-status {
  margin: 8px 0 0;
  min-height: 1.2em;
  font-size: 0.93rem;
  color: #87caf9;
}

.admin-login-status.is-error {
  color: #9bc8ff;
}

.admin-login-status.is-success {
  color: #83d4ff;
}

body.route-home,
body.route-soon,
body.route-clips,
body.route-login,
body.route-admin {
  background:
    radial-gradient(circle at 8% 24%, rgba(65, 114, 255, 0.17), transparent 36%),
    radial-gradient(circle at 86% 4%, rgba(73, 156, 255, 0.18), transparent 34%),
    linear-gradient(170deg, var(--bg-a), var(--bg-b));
}

body.route-home::before,
body.route-soon::before,
body.route-clips::before,
body.route-login::before,
body.route-admin::before {
  opacity: 0.15;
}

body.route-home .stream-shell,
body.route-soon .stream-shell,
body.route-clips .stream-shell,
body.route-login .stream-shell,
body.route-admin .stream-shell {
  margin: 0 0 12px;
  background:
    linear-gradient(180deg, rgba(7, 12, 20, 0.96), rgba(8, 15, 28, 0.74)),
    radial-gradient(circle at 0% 50%, rgba(28, 72, 158, 0.32), transparent 58%);
}

.admin-dashboard {
  width: min(1360px, 92vw);
  margin: 14px auto 0;
  padding-bottom: 22px;
}

.admin-dashboard-wrap {
  border: 1px solid #1b2b40;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(7, 12, 20, 0.96), rgba(6, 11, 18, 0.94)),
    radial-gradient(circle at 8% 18%, rgba(41, 90, 173, 0.22), transparent 52%);
  padding: 18px;
}

.admin-dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-dashboard-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.admin-logout {
  border: 1px solid #2f7fcb;
  border-radius: 9px;
  background: rgba(28, 81, 145, 0.28);
  color: #eaf2ff;
  font: inherit;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-tab-btn {
  border: 1px solid #223247;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: #cfdcf4;
  font: inherit;
  font-weight: 700;
  padding: 9px 14px;
  cursor: pointer;
}

.admin-tab-btn.is-active {
  border-color: #3f95e4;
  background: rgba(35, 104, 183, 0.26);
  color: #eaf5ff;
}

.admin-tab-panel {
  border: 1px solid #1a2a3d;
  border-radius: 10px;
  background: rgba(8, 12, 18, 0.82);
  padding: 14px;
}

.admin-tab-panel + .admin-tab-panel {
  margin-top: 12px;
}

.admin-section-title {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.admin-member-form,
.admin-account-form {
  margin-bottom: 14px;
}

.admin-kary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.admin-kary-form {
  border: 1px solid rgba(133, 180, 248, 0.24);
  border-radius: 10px;
  background: rgba(7, 13, 31, 0.64);
  padding: 12px;
}

.admin-kary-title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: #f0f6ff;
}

.admin-kary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-kary-btn {
  border: 1px solid rgba(133, 185, 255, 0.55);
  border-radius: 9px;
  background: rgba(55, 101, 180, 0.35);
  color: #eef5ff;
  font: inherit;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}

.admin-kary-btn-danger {
  border-color: rgba(255, 149, 215, 0.74);
  background: rgba(169, 53, 122, 0.42);
}

.admin-kary-cennik {
  margin-top: 10px;
  border: 1px solid rgba(133, 180, 248, 0.24);
  border-radius: 10px;
  background: rgba(7, 13, 31, 0.64);
  padding: 12px;
}

.admin-kary-cennik .admin-kary-title {
  margin-bottom: 10px;
}

.admin-kary-cennik .admin-kary-form {
  margin-bottom: 12px;
}

.admin-checkbox-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #e6f0ff;
}

.admin-checkbox-line input[type="checkbox"] {
  accent-color: #3e95e6;
}

.admin-login-checkbox {
  justify-self: start;
  margin-top: -2px;
  font-size: 0.95rem;
  color: #b8c9e2;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #20334a;
  border-radius: 10px;
  background: rgba(5, 9, 14, 0.85);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #203247;
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: linear-gradient(180deg, rgba(43, 120, 207, 0.46), rgba(24, 83, 151, 0.52));
  color: #f2f8ff;
  font-size: 0.98rem;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table td a {
  color: #8ecfff;
  text-decoration: none;
}

.admin-table td a:hover {
  text-decoration: underline;
}

.admin-table-empty {
  color: #93abcf;
  text-align: center;
}

.admin-row-btn {
  border: 1px solid #2a4f79;
  border-radius: 8px;
  background: rgba(20, 46, 78, 0.48);
  color: #ecf4ff;
  font: inherit;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
}

.admin-row-btn-danger {
  border-color: #7a2343;
  background: rgba(128, 22, 66, 0.58);
}

.admin-table-accounts td .admin-row-btn + .admin-row-btn {
  margin-left: 8px;
}

.admin-access-checkbox {
  accent-color: #3f97ea;
}

.admin-panel-status {
  margin: 10px 2px 0;
  min-height: 1.2em;
  color: #9ecfff;
  font-size: 0.93rem;
}

.admin-panel-status.is-error {
  color: #8fc4ff;
}

.admin-panel-status.is-success {
  color: #7fd6ff;
}

.stream-player-wrap {
  min-width: 0;
}

.stream-player-frame {
  border: 1px solid #1f3048;
  border-radius: 10px;
  overflow: hidden;
  background: #07090d;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.34);
}

.stream-live-badge {
  margin: 0;
  min-height: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ff5b66;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stream-live-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d57;
  box-shadow: 0 0 10px rgba(255, 77, 87, 0.65);
}

.stream-columns-head {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 330px;
  align-items: center;
  gap: 0;
  margin: 18px 0 -2px;
}

.stream-column-label {
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7f90af;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stream-column-label-site {
  grid-column: 2;
  justify-self: end;
  margin-right: 10px;
}

.stream-column-label-chat {
  grid-column: 3;
  justify-self: start;
  margin-left: 8px;
}

.stream-column-label svg {
  width: 12px;
  height: 12px;
  opacity: 0.9;
}

.stream-player {
  width: 100%;
  display: block;
  border: 0;
  aspect-ratio: 16 / 9;
}

.stream-chat-frame {
  border: 1px solid #213247;
  border-radius: 10px;
  overflow: hidden;
  background: #090d13;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.stream-chat-title {
  margin: 0;
  padding: 12px 14px 11px;
  border-bottom: 1px solid #2a2f3c;
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #edf2fc;
}

.stream-chat {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  flex: 1;
}

.stream-cta-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 6px;
}

.stream-cta-btn {
  min-height: 50px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: clamp(0.86rem, 1.05vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  flex: 0 1 320px;
  max-width: 340px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stream-cta-btn:hover {
  transform: translateY(-1px);
}

.stream-cta-btn-donate {
  border: 1px solid rgba(255, 77, 87, 0.75);
  color: #ff5965;
  background: linear-gradient(110deg, rgba(37, 12, 18, 0.82), rgba(23, 12, 18, 0.72));
  box-shadow: inset 0 0 0 1px rgba(255, 90, 109, 0.1);
}

.stream-cta-btn-donate:hover {
  border-color: rgba(255, 105, 117, 0.95);
  box-shadow: 0 0 20px rgba(255, 90, 109, 0.18);
}

.stream-cta-btn-sub {
  border: 1px solid rgba(116, 236, 92, 0.68);
  color: #7ff56d;
  background: linear-gradient(110deg, rgba(16, 37, 16, 0.8), rgba(13, 29, 13, 0.72));
  box-shadow: inset 0 0 0 1px rgba(114, 236, 90, 0.08);
}

.stream-cta-btn-sub:hover {
  border-color: rgba(141, 255, 112, 0.92);
  box-shadow: 0 0 20px rgba(128, 245, 105, 0.16);
}

.stream-cta-btn-sub img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: cover;
}

.stream-cta-icon {
  width: 16px;
  text-align: center;
}

.stream-active-kary {
  grid-column: 1 / -1;
  border: 1px solid rgba(132, 183, 255, 0.36);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(8, 14, 34, 0.9), rgba(6, 11, 27, 0.86)),
    radial-gradient(circle at 12% 0%, rgba(118, 183, 255, 0.08), transparent 56%);
  margin-top: 8px;
  padding: 16px 18px;
  display: grid;
  gap: 14px;
}

.stream-active-kary-title {
  margin: 0;
  color: #d8e9ff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stream-active-kary-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.stream-active-kary-item {
  border: 1px solid rgba(116, 240, 172, 0.35);
  border-radius: 11px;
  background: linear-gradient(112deg, rgba(14, 34, 24, 0.8), rgba(10, 20, 17, 0.72));
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stream-active-kary-name {
  margin: 0;
  color: #eaf7f0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.stream-active-kary-time {
  padding: 4px 9px;
  border: 1px solid rgba(130, 238, 177, 0.45);
  border-radius: 999px;
  background: rgba(12, 25, 18, 0.74);
  color: #83f5b4;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stream-active-kary-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #a2b4d4;
  font-size: 0.95rem;
}

.stream-active-kary.is-empty {
  border-color: rgba(148, 170, 204, 0.3);
}

.wrap {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 36px 0 54px;
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.btn {
  border: 1px solid rgba(86, 169, 255, 0.52);
  color: var(--text);
  background: linear-gradient(120deg, rgba(55, 130, 233, 0.26), rgba(70, 172, 255, 0.2));
  padding: 10px 14px;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(118, 188, 255, 0.8);
}

#status {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 1.2em;
}

#status.error {
  color: var(--danger);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 16px;
}

.clip-card {
  border: 1px solid #1b2532;
  border-radius: 10px;
  overflow: hidden;
  background: var(--clip-surface);
  box-shadow: 0 14px 28px rgba(2, 8, 18, 0.35);
  transform: translateY(16px);
  opacity: 0;
  animation: reveal 0.52s ease forwards;
}

.clip-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.clip-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.clip-play {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.clip-play.is-hidden {
  display: none;
}

.clip-badge {
  position: absolute;
  left: 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.86);
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.clip-duration {
  top: 8px;
  padding: 5px 8px;
  font-size: 1.4rem;
}

.clip-views {
  bottom: 8px;
  padding: 5px 8px;
  font-size: 1rem;
}

.clip-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  background: #05080e;
}

.clip-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #32465f;
  flex: 0 0 auto;
  margin-top: 2px;
}

.clip-copy {
  min-width: 0;
  flex: 1;
}

.clip-title {
  display: block;
  margin: 0;
  color: #f5f8ff;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clip-title:hover {
  text-decoration: underline;
}

.clip-meta {
  margin: 2px 0;
  color: #bec8d7;
  font-size: 0.99rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clip-author {
  margin: 0;
  color: #f2f6ff;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clip-menu {
  list-style: none;
  color: #d5dce8;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.clip-menu:hover {
  color: #ffffff;
}

.clip-menu::-webkit-details-marker {
  display: none;
}

.clip-menu::marker {
  content: "";
}

.clip-actions {
  position: relative;
  flex: 0 0 auto;
}

.clip-actions[open] .clip-menu {
  color: #ffffff;
}

.clip-actions-menu {
  position: absolute;
  bottom: 22px;
  right: 0;
  min-width: 220px;
  border: 1px solid #293a4f;
  border-radius: 8px;
  background: #08101a;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 15;
}

.clip-action-link,
.clip-action-download {
  width: 100%;
  display: block;
  border: 0;
  margin: 0;
  padding: 10px 12px;
  text-align: left;
  background: transparent;
  color: #e7efff;
  text-decoration: none;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.clip-action-link:hover,
.clip-action-download:hover {
  background: #112338;
}

.clip-action-download[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.friends {
  width: min(1200px, 92vw);
  margin: 10px auto 42px;
  padding: 20px 0 8px;
}

.friends-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f4f7ff;
}

.friends-icon {
  display: inline-flex;
  color: #59aefc;
}

.friends-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.friend-card {
  min-height: 128px;
  border: 1px solid #1c2632;
  border-radius: 10px;
  background: rgba(8, 12, 19, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #f1f6ff;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.friend-card:hover {
  border-color: #2d4157;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(2, 10, 20, 0.32);
}

.friend-avatar-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  margin-bottom: 10px;
}

.friend-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2a3748;
  display: block;
  background: #131a23;
}

.friend-k {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #06090f;
  background: #06090f;
  display: block;
  object-fit: cover;
}

.friend-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: #edf3ff;
}

.friend-live-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 85, 102, 0.45);
  background: rgba(8, 11, 18, 0.92);
  color: #ff5a67;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.friend-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4f5f;
  box-shadow: 0 0 10px rgba(255, 79, 95, 0.65);
}

@keyframes liveDotBlink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.86);
  }
}

.stream-live-badge-dot,
.stream-intro-live-dot,
.friend-live-dot {
  animation: liveDotBlink 1.8s ease-in-out infinite;
}

.friend-card.is-live {
  border-color: rgba(255, 96, 112, 0.42);
}

.kary-panel {
  width: min(1360px, 92vw);
  margin: 14px auto 0;
  padding-bottom: 24px;
}

.timery-panel {
  width: min(1360px, 92vw);
  margin: 14px auto 0;
  padding-bottom: 24px;
}

.liczniki-panel {
  width: min(1360px, 92vw);
  margin: 14px auto 0;
  padding-bottom: 24px;
}

.timery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.timery-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  color: #f1f7ff;
}

.liczniki-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.liczniki-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  color: #f1f7ff;
}

.timery-config-btn {
  border: 1px solid rgba(132, 176, 244, 0.5);
  border-radius: 12px;
  padding: 10px 16px;
  background: rgba(8, 14, 33, 0.82);
  color: #f4f8ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.timery-config-btn:hover {
  border-color: rgba(176, 220, 255, 0.82);
  background: linear-gradient(130deg, rgba(87, 140, 245, 0.36), rgba(255, 141, 210, 0.28));
  transform: translateY(-1px);
}

.timery-config-panel {
  border: 1px solid rgba(132, 176, 244, 0.35);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(8, 14, 35, 0.86), rgba(6, 11, 28, 0.82)),
    radial-gradient(circle at 12% 0%, rgba(120, 183, 255, 0.09), transparent 50%);
  padding: 16px 18px;
  margin-bottom: 14px;
}

.timery-config-grid {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(180px, 260px) minmax(190px, 1fr);
  gap: 12px 16px;
  align-items: start;
}

.timery-config-field {
  margin: 0;
  border: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.timery-config-field > span,
.timery-config-field legend {
  color: #c7d9f7;
  font-size: 0.95rem;
}

.timery-config-input {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(126, 174, 245, 0.45);
  background: rgba(6, 11, 26, 0.95);
  color: #eef4ff;
  font: inherit;
  font-size: 1rem;
  padding: 0 12px;
  outline: none;
}

.timery-config-input:focus {
  border-color: rgba(177, 222, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(145, 199, 255, 0.16);
}

.timery-config-color {
  width: 100%;
  padding: 4px;
  cursor: pointer;
}

.timery-config-elements {
  gap: 6px;
}

.timery-config-elements legend {
  padding: 0;
  margin-bottom: 2px;
}

.timery-config-elements label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f1f7ff;
  font-size: 1.02rem;
}

.timery-config-elements input[type="checkbox"] {
  accent-color: #6da8ff;
}

.timery-list {
  display: grid;
  gap: 12px;
}

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

.liczniki-card {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}

.liczniki-card h3 {
  margin: 0;
  color: #f4f8ff;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  line-height: 1.1;
}

.liczniki-card .kary-counter-pill {
  min-width: 60px;
  min-height: 48px;
  font-size: 1.95rem;
  margin-top: auto;
}

.liczniki-panel {
  --liczniki-card-bg: #101420;
}

.liczniki-panel .liczniki-card {
  background:
    linear-gradient(180deg, rgba(8, 14, 35, 0.78), rgba(6, 11, 28, 0.74)),
    radial-gradient(circle at 8% 0%, rgba(117, 183, 255, 0.13), transparent 56%);
  background-color: var(--liczniki-card-bg);
}

.liczniki-panel.liczniki-layout-list .liczniki-grid {
  grid-template-columns: 1fr;
}

.liczniki-panel.liczniki-layout-grid .liczniki-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.liczniki-panel.liczniki-layout-compact .liczniki-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.liczniki-panel.liczniki-layout-compact .liczniki-card {
  min-height: 112px;
  padding: 12px 14px;
  gap: 6px;
}

.liczniki-panel.liczniki-layout-compact .liczniki-card h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.liczniki-panel.liczniki-layout-compact .liczniki-card .kary-counter-pill {
  min-width: 50px;
  min-height: 40px;
  font-size: 1.35rem;
}

.liczniki-panel.liczniki-hide-title .liczniki-card h3 {
  display: none;
}

.liczniki-panel.liczniki-hide-status .liczniki-card .kary-card-state {
  display: none;
}

.liczniki-panel.liczniki-hide-value .liczniki-card .kary-counter-pill {
  display: none;
}

.timery-panel {
  --timery-card-bg: #101420;
}

.timery-panel .timery-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "left time"
    "progress progress";
  align-items: center;
  column-gap: 16px;
  row-gap: 12px;
  min-height: 88px;
  padding: 14px 18px;
  background:
    linear-gradient(180deg, rgba(8, 14, 35, 0.78), rgba(6, 11, 28, 0.74)),
    radial-gradient(circle at 8% 0%, rgba(117, 183, 255, 0.13), transparent 56%);
  background-color: var(--timery-card-bg);
}

.timery-panel.timery-layout-grid .timery-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timery-panel.timery-layout-compact .timery-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.timery-panel.timery-layout-compact .timery-card {
  min-height: 70px;
  padding: 10px 12px;
  column-gap: 10px;
  row-gap: 8px;
}

.timery-panel.timery-layout-compact .timery-left {
  gap: 10px;
}

.timery-panel.timery-layout-compact .timery-card .kary-card-state {
  font-size: 0.74rem;
}

.timery-panel.timery-layout-compact .timery-card h3 {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.timery-panel.timery-layout-compact .timery-card .kary-time-pill {
  min-width: 84px;
  min-height: 38px;
  font-size: 1.2rem;
  border-radius: 12px;
}

.timery-panel.timery-layout-compact .timery-progress-line {
  height: 5px;
}

.timery-left {
  grid-area: left;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.timery-card .kary-card-state {
  margin: 0;
  min-width: 38px;
}

.timery-panel .timery-card h3 {
  margin: 0;
  color: #f4f8ff;
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  line-height: 1.1;
}

.timery-panel .timery-card .kary-time-pill {
  grid-area: time;
  min-width: 112px;
  min-height: 48px;
  font-size: 1.95rem;
}

.timery-progress-line {
  grid-area: progress;
  height: 7px;
  width: 100%;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  background: rgba(104, 137, 199, 0.25);
  box-shadow: inset 0 0 0 1px rgba(134, 176, 245, 0.16);
  opacity: 0.85;
}

.timery-panel.timery-hide-title .timery-card h3 {
  display: none;
}

.timery-panel.timery-hide-progress .timery-progress-line {
  display: none;
}

.timery-panel.timery-hide-status .timery-card .kary-card-state {
  display: none;
}

.timery-panel.timery-hide-status .timery-left {
  gap: 0;
}

.kary-block {
  margin-bottom: 34px;
}

.kary-quick-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 2px 0 14px;
}

.kary-quick-btn {
  border: 1px solid rgba(130, 177, 248, 0.45);
  border-radius: 12px;
  padding: 10px 18px;
  background: rgba(8, 14, 33, 0.82);
  color: #f2f7ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.kary-quick-btn:hover {
  border-color: rgba(178, 222, 255, 0.82);
  background: linear-gradient(130deg, rgba(87, 140, 245, 0.36), rgba(255, 141, 210, 0.28));
  transform: translateY(-1px);
}

.kary-section-title {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: 0.01em;
  color: #eff6ff;
}

.kary-caption {
  margin: 0 0 3px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a8bfe8;
}

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

.kary-timer-card,
.kary-counter-card,
.kary-price-col,
.kary-pricing {
  border: 1px solid rgba(132, 176, 244, 0.4);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(8, 14, 35, 0.92), rgba(6, 11, 28, 0.88)),
    radial-gradient(circle at 12% 0%, rgba(120, 183, 255, 0.12), transparent 50%);
}

.kary-timer-card,
.kary-counter-card {
  padding: 18px 20px;
}

.kary-card-state {
  margin: 0 0 6px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #b4c7ec;
}

.kary-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kary-card-head h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  color: #f4f8ff;
}

.kary-time-pill,
.kary-counter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(139, 188, 255, 0.34);
  background: rgba(5, 10, 26, 0.75);
  color: #ffffff;
  font-weight: 700;
}

.kary-time-pill {
  min-width: 80px;
  font-size: 1.05rem;
}

@keyframes timerTickPulse {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.06);
    filter: brightness(1.18);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.kary-time-pill.time-tick,
.stream-active-kary-time.time-tick {
  animation: timerTickPulse 0.32s ease-out;
}

.kary-counter-pill {
  min-width: 42px;
  padding: 0 10px;
  font-size: 2rem;
}

.kary-progress-line {
  height: 7px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  background: rgba(104, 137, 199, 0.25);
  box-shadow: inset 0 0 0 1px rgba(134, 176, 245, 0.16);
  margin-top: 16px;
  opacity: 0.85;
}

.kary-timer-card,
.timery-card {
  --timer-progress: 0%;
}

.kary-progress-line::before,
.timery-progress-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--timer-progress, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(118, 174, 255, 0.94), rgba(255, 141, 210, 0.82));
  box-shadow: 0 0 10px rgba(118, 174, 255, 0.3);
  transition: width 0.35s linear;
}

.kary-timer-card.is-active .kary-card-state {
  color: #4cff8f;
}

.kary-timer-card.is-active .kary-time-pill {
  border-color: rgba(164, 211, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(124, 190, 255, 0.35);
}

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

.kary-pricing {
  padding: 16px;
}

.kary-pricing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.kary-pricing-head .kary-section-title {
  margin: 0;
}

.kary-currency-switch {
  display: inline-flex;
  border: 1px solid rgba(132, 176, 244, 0.45);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 10, 24, 0.6);
}

.kary-currency-switch button {
  border: 0;
  margin: 0;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #b6c8ee;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.kary-currency-switch button:hover {
  color: #eaf4ff;
}

.kary-currency-switch button.is-active {
  color: #f6fbff;
  background: linear-gradient(135deg, rgba(98, 154, 255, 0.75), rgba(255, 141, 210, 0.42));
}

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

.kary-price-col {
  padding: 12px;
}

.kary-price-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.kary-price-col-head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.kary-pill {
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 9px;
}

.kary-pill.chill {
  color: #d6f0ff;
  border: 1px solid rgba(129, 209, 255, 0.5);
  background: rgba(32, 119, 168, 0.34);
}

.kary-pill.hard {
  color: #ffd7e9;
  border: 1px solid rgba(255, 141, 210, 0.5);
  background: rgba(143, 46, 102, 0.34);
}

.kary-price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.kary-price-list li {
  border: 1px solid rgba(128, 174, 241, 0.25);
  border-radius: 12px;
  padding: 10px 11px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
}

.kary-price-col.chill .kary-price-list li {
  background: linear-gradient(180deg, rgba(8, 30, 49, 0.7), rgba(4, 18, 31, 0.62));
}

.kary-price-col.hard .kary-price-list li {
  background: linear-gradient(180deg, rgba(56, 12, 35, 0.58), rgba(34, 8, 23, 0.52));
}

.kary-price-list strong {
  font-size: 0.98rem;
  color: #f4f8ff;
}

.kary-price-list span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f4f8ff;
}

.kary-price-list small {
  grid-column: 1 / -1;
  color: #b6c7e7;
  font-size: 0.76rem;
}

.kary-empty {
  margin: 0;
  padding: 12px 10px 8px;
  color: #c2d2ee;
  font-size: 0.95rem;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .stream-shell {
    margin-top: 0;
  }

  .stream-topbar {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
    padding: 12px 14px;
  }

  .stream-nav {
    justify-self: start;
  }

  .stream-log {
    justify-self: start;
  }

  .stream-layout {
    width: min(1360px, 94vw);
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .stream-intro {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .stream-intro-visual {
    align-self: center;
  }

  .stream-intro-content {
    text-align: center;
    justify-items: center;
  }

  .stream-intro-actions {
    justify-content: center;
  }

  .stream-cta-row {
    justify-content: center;
  }

  .stream-active-kary-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stream-columns-head {
    display: none;
  }

  .route-panel {
    width: min(1360px, 94vw);
    margin-top: 12px;
  }

  .admin-panel {
    width: min(1360px, 94vw);
    padding-top: 12px;
  }

  .admin-dashboard {
    width: min(1360px, 94vw);
    margin-top: 12px;
  }

  .kary-panel {
    width: min(1360px, 94vw);
    margin-top: 12px;
  }

  .timery-panel {
    width: min(1360px, 94vw);
    margin-top: 12px;
  }

  .liczniki-panel {
    width: min(1360px, 94vw);
    margin-top: 12px;
  }

  .admin-dashboard-wrap {
    padding: 14px;
  }

  .admin-table {
    min-width: 560px;
  }

  .stream-chat-frame {
    min-height: 540px;
  }

  .kary-timers-grid,
  .kary-counters-grid,
  .kary-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .liczniki-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .liczniki-panel.liczniki-layout-grid .liczniki-grid,
  .liczniki-panel.liczniki-layout-compact .liczniki-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timery-config-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timery-config-elements {
    grid-column: 1 / -1;
  }

  .timery-panel.timery-layout-grid .timery-list {
    grid-template-columns: 1fr;
  }

  .timery-panel.timery-layout-compact .timery-list {
    grid-template-columns: 1fr;
  }

  .timery-panel .timery-card h3 {
    font-size: 1.85rem;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 600px) {
  .stream-brand {
    font-size: 1.18rem;
  }

  .stream-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .stream-nav-item {
    text-align: center;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.92rem;
  }

  .stream-nav-sub {
    display: none;
  }

  .stream-log {
    padding: 8px 14px;
    font-size: 0.92rem;
  }

  .stream-chat-title {
    font-size: 1.08rem;
    padding: 10px 12px;
  }

  .stream-live-badge {
    margin: 0;
    min-height: 0;
    padding: 0;
    font-size: 0.74rem;
    letter-spacing: 0.09em;
  }

  .stream-cta-btn {
    flex: 1 1 100%;
    max-width: none;
    min-height: 46px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
  }

  .stream-active-kary {
    padding: 10px 12px;
    gap: 8px;
  }

  .stream-active-kary-list {
    grid-template-columns: 1fr;
  }

  .stream-active-kary-item {
    min-width: 0;
  }

  .stream-active-kary-name {
    font-size: 0.9rem;
  }

  .stream-active-kary-time {
    font-size: 0.78rem;
  }

  .stream-chat-frame {
    min-height: 360px;
  }

  .stream-intro {
    padding: 14px;
  }

  .stream-intro-avatar {
    width: clamp(132px, 44vw, 188px);
    border-radius: 18px;
  }

  .stream-intro-title {
    font-size: clamp(1.62rem, 8vw, 2.4rem);
  }

  .stream-intro-subtitle {
    font-size: 0.97rem;
  }

  .stream-intro-profile,
  .stream-intro-live {
    width: 100%;
    justify-content: center;
  }

  .kary-timers-grid,
  .kary-counters-grid,
  .kary-pricing-grid {
    grid-template-columns: 1fr;
  }

  .kary-quick-actions {
    justify-content: stretch;
  }

  .kary-quick-btn {
    flex: 1 1 auto;
    padding: 9px 12px;
  }

  .kary-card-head h3 {
    font-size: 1.45rem;
  }

  .timery-head {
    align-items: flex-start;
    gap: 10px;
  }

  .liczniki-head {
    align-items: flex-start;
    gap: 10px;
  }

  .timery-config-btn {
    padding: 8px 12px;
  }

  .timery-config-panel {
    padding: 12px;
  }

  .timery-config-grid {
    grid-template-columns: 1fr;
  }

  .timery-config-elements {
    grid-column: auto;
  }

  .timery-panel.timery-layout-grid .timery-list {
    grid-template-columns: 1fr;
  }

  .timery-panel.timery-layout-compact .timery-list {
    grid-template-columns: 1fr;
  }

  .timery-panel .timery-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "time"
      "progress";
    gap: 10px;
  }

  .timery-left {
    justify-content: flex-start;
    gap: 10px;
  }

  .timery-panel .timery-card h3 {
    font-size: 1.42rem;
  }

  .timery-panel .timery-card .kary-time-pill {
    justify-self: end;
    min-width: 100px;
    min-height: 42px;
    font-size: 1.15rem;
  }

  .liczniki-grid {
    grid-template-columns: 1fr;
  }

  .liczniki-panel.liczniki-layout-grid .liczniki-grid,
  .liczniki-panel.liczniki-layout-compact .liczniki-grid {
    grid-template-columns: 1fr;
  }

  .liczniki-card h3 {
    font-size: 1.42rem;
  }

  .route-card {
    min-height: 220px;
  }

  .admin-card {
    padding: 24px 16px 18px;
  }

  .admin-login-wrap {
    min-height: clamp(380px, 70vh, 620px);
    padding: 18px 10px;
  }

  .admin-title {
    font-size: 1.52rem;
  }

  .admin-subtitle {
    font-size: 0.96rem;
    margin-bottom: 18px;
  }

  .admin-dashboard-wrap {
    padding: 10px;
  }

  .admin-dashboard-head h2 {
    font-size: 1.25rem;
  }

  .admin-logout {
    padding: 7px 10px;
    font-size: 0.92rem;
  }

  .admin-tab-btn {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
    padding: 8px 10px;
    font-size: 0.92rem;
  }

  .admin-tab-panel {
    padding: 10px;
  }

  .admin-section-title {
    font-size: 1.18rem;
  }

  .admin-table {
    min-width: 520px;
  }

  .admin-kary-grid {
    grid-template-columns: 1fr;
  }

  .wrap {
    width: min(1200px, 94vw);
    padding-top: 28px;
  }

  .grid {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .clip-duration {
    font-size: 1.15rem;
  }

  .clip-views {
    font-size: 0.9rem;
  }

  .clip-row {
    gap: 9px;
    padding: 9px;
  }

  .clip-avatar {
    width: 36px;
    height: 36px;
  }

  .clip-title {
    font-size: 1rem;
  }

  .clip-meta,
  .clip-author {
    font-size: 0.9rem;
  }

  .friends {
    width: min(1200px, 94vw);
    margin-bottom: 28px;
  }

  .friends-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .friend-card {
    min-height: 116px;
  }
}

/* Final Theme Override: Baby Blue / Blue / Pink */
body.route-home,
body.route-soon,
body.route-clips,
body.route-login,
body.route-admin {
  background:
    radial-gradient(circle at 9% 20%, rgba(149, 221, 255, 0.25), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(107, 149, 255, 0.25), transparent 35%),
    radial-gradient(circle at 56% 92%, rgba(255, 141, 210, 0.2), transparent 38%),
    linear-gradient(165deg, #060a1f, #121f4f);
}

body.route-kary {
  background:
    radial-gradient(circle at 9% 20%, rgba(149, 221, 255, 0.25), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(107, 149, 255, 0.25), transparent 35%),
    radial-gradient(circle at 56% 92%, rgba(255, 141, 210, 0.2), transparent 38%),
    linear-gradient(165deg, #060a1f, #121f4f);
}

body.route-timery {
  background:
    radial-gradient(circle at 9% 20%, rgba(149, 221, 255, 0.25), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(107, 149, 255, 0.25), transparent 35%),
    radial-gradient(circle at 56% 92%, rgba(255, 141, 210, 0.2), transparent 38%),
    linear-gradient(165deg, #060a1f, #121f4f);
}

body.route-liczniki {
  background:
    radial-gradient(circle at 9% 20%, rgba(149, 221, 255, 0.25), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(107, 149, 255, 0.25), transparent 35%),
    radial-gradient(circle at 56% 92%, rgba(255, 141, 210, 0.2), transparent 38%),
    linear-gradient(165deg, #060a1f, #121f4f);
}

body.route-home::before,
body.route-soon::before,
body.route-clips::before,
body.route-login::before,
body.route-admin::before {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(173, 202, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 202, 255, 0.08) 1px, transparent 1px);
}

body.route-kary::before {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(173, 202, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 202, 255, 0.08) 1px, transparent 1px);
}

body.route-timery::before {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(173, 202, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 202, 255, 0.08) 1px, transparent 1px);
}

body.route-liczniki::before {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(173, 202, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 202, 255, 0.08) 1px, transparent 1px);
}

body.route-timery .stream-topbar {
  display: none;
}

body.route-timery .stream-shell {
  padding-top: 8px;
}

body.route-liczniki .stream-topbar {
  display: none;
}

body.route-liczniki .stream-shell {
  padding-top: 8px;
}

body .stream-shell {
  background:
    linear-gradient(180deg, rgba(7, 13, 31, 0.95), rgba(11, 20, 46, 0.8)),
    radial-gradient(circle at 0% 52%, rgba(131, 191, 255, 0.26), transparent 58%);
}

body .stream-topbar {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(8, 14, 31, 0.95);
  border-bottom: 1px solid rgba(141, 188, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body .stream-brand-main {
  color: #f4f8ff;
  text-shadow: 0 0 22px rgba(149, 217, 255, 0.25);
}

body .stream-nav-item {
  color: #dce8ff;
  border-color: rgba(151, 198, 255, 0.2);
  background: linear-gradient(180deg, rgba(30, 53, 108, 0.28), rgba(20, 37, 78, 0.24));
}

body .stream-nav-item:hover {
  color: #ffffff;
  border-color: rgba(175, 218, 255, 0.6);
  background: linear-gradient(180deg, rgba(67, 107, 194, 0.4), rgba(48, 75, 143, 0.28));
}

body .stream-nav-item.is-active {
  color: #f8fbff;
  border-color: rgba(170, 220, 255, 0.78);
  background: linear-gradient(120deg, rgba(95, 151, 255, 0.5), rgba(255, 141, 210, 0.34));
  box-shadow: 0 0 24px rgba(153, 186, 255, 0.25);
}

body .stream-log {
  color: #f0f5ff;
  border-color: rgba(150, 198, 255, 0.55);
  background: linear-gradient(130deg, rgba(80, 132, 237, 0.36), rgba(255, 141, 210, 0.24));
}

body .stream-log:hover,
body .stream-log.is-active {
  color: #ffffff;
  border-color: rgba(178, 222, 255, 0.85);
  background: linear-gradient(130deg, rgba(90, 152, 255, 0.5), rgba(255, 141, 210, 0.36));
}

body .route-card,
body .stream-player-frame,
body .stream-chat-frame,
body .clip-card,
body .friend-card,
body .admin-card,
body .admin-dashboard-wrap,
body .admin-tab-panel,
body .admin-table-wrap {
  border-color: rgba(132, 176, 244, 0.43);
  background-color: rgba(8, 14, 35, 0.86);
}

body .route-badge,
body .btn,
body .admin-submit,
body .admin-logout {
  border-color: rgba(165, 212, 255, 0.72);
  color: #f8fbff;
  background: linear-gradient(135deg, rgba(100, 160, 255, 0.76), rgba(255, 141, 210, 0.52));
}

body .btn:hover,
body .admin-submit:hover,
body .admin-logout:hover {
  border-color: rgba(193, 230, 255, 0.95);
}

body .admin-discord-submit {
  border-color: rgba(164, 180, 255, 0.78);
  background: linear-gradient(135deg, rgba(95, 122, 255, 0.78), rgba(164, 180, 255, 0.58));
}

body .admin-discord-submit:hover {
  border-color: rgba(196, 210, 255, 0.95);
}

body .subtitle,
body #status,
body .admin-subtitle,
body .admin-panel-status {
  color: #bfd1f8;
}

body #status.error,
body .admin-login-status.is-error,
body .admin-panel-status.is-error {
  color: #ffc2e5;
}

body .admin-login-status.is-success,
body .admin-panel-status.is-success {
  color: #b8e9ff;
}

body .admin-input {
  border-color: rgba(130, 177, 248, 0.45);
  background: rgba(8, 14, 31, 0.97);
  color: #eef5ff;
}

body .admin-input::placeholder {
  color: #aebfe8;
}

body .admin-input:focus {
  border-color: rgba(175, 223, 255, 0.94);
  box-shadow: 0 0 0 3px rgba(149, 201, 255, 0.2);
}

body .admin-tab-btn {
  border-color: rgba(135, 182, 250, 0.45);
  background: rgba(20, 35, 71, 0.55);
  color: #dceaff;
}

body .admin-tab-btn.is-active {
  border-color: rgba(178, 223, 255, 0.8);
  background: linear-gradient(120deg, rgba(94, 151, 255, 0.55), rgba(255, 141, 210, 0.34));
  color: #ffffff;
}

body .admin-table th {
  background: linear-gradient(120deg, rgba(95, 150, 255, 0.68), rgba(255, 141, 210, 0.38));
}

body .admin-table th,
body .admin-table td {
  border-bottom-color: rgba(128, 171, 238, 0.28);
}

body .admin-row-btn {
  border-color: rgba(140, 188, 253, 0.56);
  background: rgba(48, 86, 153, 0.38);
}

body .admin-row-btn-danger {
  border-color: rgba(255, 158, 219, 0.76);
  background: rgba(198, 80, 151, 0.46);
}

body .admin-table thead {
  background: linear-gradient(110deg, rgba(95, 150, 255, 0.74), rgba(255, 141, 210, 0.38));
}

body .admin-table thead th {
  background: transparent !important;
  color: #f5faff;
  border-bottom-color: rgba(156, 205, 255, 0.4);
  box-shadow: inset -1px 0 0 rgba(176, 220, 255, 0.2);
}

body .admin-table thead th:last-child {
  box-shadow: none;
}

/* Single Surface Fix */
body .stream-shell,
body.route-home .stream-shell,
body.route-soon .stream-shell,
body.route-clips .stream-shell,
body.route-login .stream-shell,
body.route-admin .stream-shell {
  background: transparent;
}
