:root {
  color-scheme: dark;
  --bg: #05050b;
  --panel: #090918;
  --panel-2: #101026;
  --panel-3: #171333;
  --line: rgba(0, 117, 255, 0.38);
  --line-hot: rgba(255, 38, 222, 0.58);
  --text: #f4fbff;
  --muted: #aaa6d6;
  --cyan: #37f7ff;
  --blue: #5aa2ff;
  --pink: #ff26de;
  --red: #ff3b5f;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 38, 222, 0.2), transparent 24rem),
    radial-gradient(circle at 82% 18%, rgba(0, 117, 255, 0.18), transparent 24rem),
    linear-gradient(180deg, #05050b 0%, #090918 46%, #05050b 100%);
  font-family: "Exo 2", Inter, ui-sans-serif, system-ui, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 5, 11, 0.52), rgba(5, 5, 11, 0.92)),
    linear-gradient(90deg, rgba(5, 5, 11, 0.64), transparent 42%, rgba(5, 5, 11, 0.72)),
    var(--banner-image),
    #05050b;
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: min(1600px, 100vw) auto;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 38, 222, 0.18), transparent 22rem),
    radial-gradient(circle at 82% 18%, rgba(0, 117, 255, 0.18), transparent 24rem);
  pointer-events: none;
}

.side-banner {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 0;
  display: grid;
  width: clamp(110px, 12vw, 210px);
  place-items: center;
  background:
    linear-gradient(180deg, rgba(0, 117, 255, 0.16), transparent 28%, rgba(255, 38, 222, 0.16)),
    linear-gradient(90deg, rgba(5, 5, 11, 0.98), rgba(13, 10, 28, 0.76), rgba(5, 5, 11, 0.98)),
    #05050b;
  border-inline: 1px solid rgba(0, 117, 255, 0.32);
  box-shadow:
    inset 0 0 36px rgba(0, 117, 255, 0.16),
    inset 0 0 80px rgba(255, 38, 222, 0.14);
  opacity: 0.9;
  pointer-events: none;
  overflow: hidden;
}

.side-banner::before,
.side-banner::after {
  position: absolute;
  inset-inline: 50%;
  width: 1px;
  content: "";
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(55, 247, 255, 0.55), transparent);
}

.side-banner::before {
  top: 0;
  height: 34%;
}

.side-banner::after {
  bottom: 0;
  height: 34%;
}

.side-banner-left {
  left: 0;
}

.side-banner-right {
  right: 0;
}

.side-banner-art {
  position: absolute;
  width: max(900px, 112vh);
  max-width: none;
  height: clamp(110px, 12vw, 210px);
  opacity: 0.96;
  object-fit: fill;
  filter:
    drop-shadow(0 0 10px rgba(0, 117, 255, 0.7))
    drop-shadow(0 0 24px rgba(255, 38, 222, 0.58));
  transform: rotate(-90deg);
}

.side-banner-right .side-banner-art {
  transform: rotate(90deg);
}

.hero,
.shell {
  position: relative;
  z-index: 1;
}

button,
input {
  font: inherit;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 124px;
  place-items: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.hero img {
  display: none;
}

.hero::after {
  display: none;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(190px, 320px) minmax(360px, 760px) minmax(160px, 220px);
  gap: 16px;
  align-items: start;
  justify-content: space-between;
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: clamp(12px, 1.8vw, 22px);
}

.shell {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 2.4vw, 34px) clamp(16px, 2.4vw, 34px);
}

.title-block,
.status-strip article,
.widget-card,
.service-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(10, 10, 30, 0.84), rgba(5, 6, 18, 0.88));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.title-block {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 76px;
  padding: 10px 12px;
  text-align: center;
}

.hero .eyebrow {
  font-size: 0.68rem;
}

.hero h1 {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 1;
}

.hero h1 span {
  display: block;
}

.hero .subtle {
  font-size: 0.82rem;
}

.eyebrow,
.label {
  margin: 0;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 6px 0 6px;
  color: var(--text);
  font-size: clamp(3.3rem, 7vw, 6rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow:
    0 0 8px rgba(55, 247, 255, 0.72),
    0 0 22px rgba(255, 38, 222, 0.5);
}

h2 {
  margin-bottom: 0;
  font-size: 1.02rem;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.subtle {
  margin-bottom: 0;
  color: var(--muted);
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-self: center;
  padding: 9px;
  border: 1px solid var(--line-hot);
  border-radius: 8px;
  background: rgba(6, 7, 21, 0.84);
  box-shadow: inset 0 0 28px rgba(255, 38, 222, 0.12);
}

.search-box input {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: rgba(4, 6, 18, 0.92);
}

.search-box input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(55, 247, 255, 0.22);
}

.search-box button,
.filter {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.search-box button {
  min-width: 92px;
  padding: 0 16px;
  color: #041513;
  border-color: transparent;
  background: var(--cyan);
  font-weight: 800;
}

.status-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.status-strip article {
  min-height: 64px;
  padding: 10px;
}

.status-strip strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(0.98rem, 1.45vw, 1.25rem);
  text-shadow: 0 0 16px rgba(55, 247, 255, 0.42);
}

.status-strip strong span,
.status-strip strong small {
  display: block;
}

.status-strip strong small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.hidden {
  display: none !important;
}

.filter {
  padding: 0 14px;
  color: var(--blue);
  background: rgba(8, 8, 26, 0.86);
  white-space: nowrap;
}

.filter.active {
  color: #041513;
  border-color: transparent;
  background: var(--cyan);
  font-weight: 800;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 14px;
}

.featured-card,
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 8, 26, 0.86);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.featured-card:hover,
.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(55, 247, 255, 0.78);
  background: rgba(16, 16, 42, 0.94);
}

.featured-card {
  min-height: 68px;
  padding: 10px;
}

.service-card {
  min-height: 74px;
  padding: 10px;
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: #041513;
  background: transparent;
  font-weight: 900;
}

.service-card .icon {
  width: 40px;
  height: 40px;
}

.icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title,
.card-meta {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-title {
  font-weight: 800;
}

.card-meta {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}

.status-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 255, 213, 0.9);
  animation: status-glow 2.4s ease-in-out infinite;
}

.status-dot.checking {
  background: var(--blue);
  box-shadow: 0 0 10px rgba(158, 184, 255, 0.8);
  animation-name: status-glow-blue;
}

.status-dot.online {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 255, 213, 0.9);
  animation-name: status-glow;
}

.status-dot.offline {
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 59, 95, 0.85);
  animation-name: status-glow-red;
}

@keyframes status-glow {
  0%,
  100% {
    opacity: 0.45;
    box-shadow: 0 0 4px rgba(0, 255, 213, 0.35);
    transform: scale(0.82);
  }

  45% {
    opacity: 1;
    box-shadow:
      0 0 8px rgba(0, 255, 213, 0.95),
      0 0 18px rgba(0, 255, 213, 0.55);
    transform: scale(1.05);
  }

  70% {
    opacity: 0.7;
    box-shadow: 0 0 7px rgba(0, 255, 213, 0.62);
    transform: scale(0.95);
  }
}

@keyframes status-glow-blue {
  0%,
  100% {
    opacity: 0.45;
    box-shadow: 0 0 4px rgba(158, 184, 255, 0.35);
    transform: scale(0.82);
  }

  45% {
    opacity: 1;
    box-shadow:
      0 0 8px rgba(158, 184, 255, 0.95),
      0 0 18px rgba(158, 184, 255, 0.55);
    transform: scale(1.05);
  }

  70% {
    opacity: 0.7;
    box-shadow: 0 0 7px rgba(158, 184, 255, 0.62);
    transform: scale(0.95);
  }
}

@keyframes status-glow-red {
  0%,
  100% {
    opacity: 0.45;
    box-shadow: 0 0 4px rgba(255, 59, 95, 0.35);
    transform: scale(0.82);
  }

  45% {
    opacity: 1;
    box-shadow:
      0 0 8px rgba(255, 59, 95, 0.95),
      0 0 18px rgba(255, 59, 95, 0.55);
    transform: scale(1.05);
  }

  70% {
    opacity: 0.7;
    box-shadow: 0 0 7px rgba(255, 59, 95, 0.62);
    transform: scale(0.95);
  }
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(360px, 1.36fr) minmax(220px, 0.65fr);
  gap: 12px;
  margin-bottom: 14px;
  align-items: start;
}

.widget-column {
  min-width: 0;
}

.section-heading,
.group-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 7px;
}

.section-heading span,
.group-header span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section-heading h2,
.group-header h2 {
  color: var(--cyan);
  text-shadow:
    0 0 6px rgba(55, 247, 255, 0.72),
    0 0 16px rgba(255, 38, 222, 0.34);
}

.widget-stack {
  display: grid;
  gap: 8px;
}

#statsWidgets {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

#statsWidgets .widget-card {
  min-width: 0;
  min-height: 274px;
}

#statsWidgets .widget-card iframe {
  height: 230px;
}

.widget-card {
  overflow: hidden;
}

.widget-card h3 {
  margin: 0;
  padding: 12px 14px;
  color: var(--cyan);
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  text-shadow:
    0 0 6px rgba(55, 247, 255, 0.82),
    0 0 16px rgba(255, 38, 222, 0.4);
}

.widget-card iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #050616;
  overflow: hidden;
}

.qbit-stats,
.smooth-relax-box,
.weather-card {
  min-height: 100px;
  padding: 13px 12px;
  color: #9fffee;
  background: #050616;
  box-shadow: inset 0 0 18px rgba(0, 117, 255, 0.12);
}

#statsWidgets .qbit-stats {
  min-height: 230px;
  padding: 8px 10px;
  background:
    linear-gradient(180deg, rgba(9, 9, 31, 0.94), rgba(5, 6, 18, 0.94));
  box-shadow:
    inset 0 0 18px rgba(255, 38, 222, 0.07),
    inset 0 -70px 80px rgba(0, 117, 255, 0.08);
}

#statsWidgets .qbit-title {
  color: #37f7ff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.05;
  text-shadow:
    0 0 8px rgba(55, 247, 255, 0.9),
    0 0 18px rgba(255, 38, 222, 0.38);
}

#statsWidgets .qbit-empty,
#statsWidgets .qbit-stat-line {
  margin-top: 8px;
  padding: 8px 8px;
  color: #c8fff8;
  border: 1px solid rgba(0, 255, 213, 0.33);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(8, 8, 29, 0.96), rgba(5, 6, 22, 0.96));
  box-shadow: 0 0 18px rgba(0, 117, 255, 0.18);
}

#statsWidgets .qbit-idle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  min-height: 72px;
  align-items: start;
}

.qbit-loading {
  margin: 8px 0 0;
  color: #9fffee;
}

.qbit-stats strong,
.smooth-relax-title strong,
.weather-card strong {
  display: block;
  color: var(--cyan);
  font-size: 1rem;
  text-shadow:
    0 0 6px rgba(55, 247, 255, 0.95),
    0 0 16px rgba(255, 38, 222, 0.55);
}

.qbit-stats > .qbit-stat-line {
  margin-bottom: 8px;
  padding: 8px 12px;
  color: #9fffee;
  border: 1px solid rgba(0, 255, 213, 0.65);
  border-radius: 8px;
  background: rgba(14, 14, 44, 0.58);
}

.qbit-stats ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.qbit-stats li {
  margin-bottom: 0.55rem;
}

.qbit-name {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
}

.qbit-name b {
  color: var(--cyan);
}

.qbit-name em {
  display: inline-block;
  min-width: 100%;
  padding-right: 30px;
  font-style: normal;
  animation: qbit-marquee 11s linear infinite;
}

@keyframes qbit-marquee {
  0%,
  18% {
    transform: translateX(0);
  }

  82%,
  100% {
    transform: translateX(-55%);
  }
}

.qbit-stats small {
  display: block;
  padding-left: 24px;
  color: var(--cyan);
  opacity: 0.9;
}

.qbit-progress {
  height: 5px;
  margin: 4px 0 0 24px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(0, 255, 213, 0.14);
}

.qbit-progress i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 255, 213, 0.9);
}

.qbit-idle-dot,
.smooth-relax-live span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 59, 95, 0.9);
  animation: idle-glow 2.4s ease-in-out infinite;
}

.qbit-idle-dot {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 255, 213, 0.9);
}

@keyframes idle-glow {
  0%,
  100% {
    opacity: 0.45;
    box-shadow: 0 0 4px rgba(0, 255, 213, 0.35);
    transform: scale(0.82);
  }

  45% {
    opacity: 1;
    box-shadow:
      0 0 8px rgba(0, 255, 213, 0.95),
      0 0 18px rgba(0, 255, 213, 0.55);
    transform: scale(1.05);
  }

  70% {
    opacity: 0.7;
    box-shadow: 0 0 7px rgba(0, 255, 213, 0.62);
    transform: scale(0.95);
  }
}

.qbit-idle small,
.qbit-idle span {
  color: #9fffee;
  font-size: 12px;
  font-style: normal;
  line-height: 1.2;
  opacity: 0.85;
  text-align: left;
}

.qbit-idle small {
  color: var(--blue);
  font-size: 0.8rem;
}

.qbit-idle b {
  color: var(--cyan);
  font-size: 14px;
}

.smooth-relax-title {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.smooth-relax-title img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.smooth-relax-title span {
  color: var(--blue);
  font-size: 0.85rem;
}

.smooth-relax-live {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.55rem;
  color: var(--cyan);
  font-weight: 800;
}

.smooth-relax-live span {
  animation: smooth-live-blink 1.3s ease-in-out infinite;
}

@keyframes smooth-live-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

.smooth-relax-box audio {
  width: 100%;
}

.service-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 12px;
  align-items: start;
}

.service-group {
  min-width: 0;
  padding: 12px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.empty {
  padding: 24px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

@media (max-width: 1180px) {
  .side-banner {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero img {
    display: none;
  }

  .hero-overlay,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  #statsWidgets {
    grid-template-columns: 1fr;
  }

  .hero-overlay {
    width: 100%;
    align-content: start;
    max-width: 540px;
    margin: 0;
  }

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

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

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

@media (max-width: 720px) {
  .hero {
    min-height: auto;
  }

  .hero img {
    display: none;
  }

  .shell {
    padding: 16px;
  }

  .status-strip,
  .featured-grid,
  .service-board,
  .service-grid,
  .search-box {
    grid-template-columns: 1fr;
  }

  .title-block,
  .status-strip article {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 13vw, 3.2rem);
  }

  body::before {
    background-size: 900px auto;
    background-position: center top;
  }
}

.hero-system-stats {
  position: absolute;
  left: 26px;
  top: 124px;
  width: 320px;
  height: 106px;
  border: 0;
  background: transparent;
}

/* Brighter online status dots */
.status-dot.online {
  background: #39ff14;
  box-shadow:
    0 0 8px rgba(57, 255, 20, 0.95),
    0 0 18px rgba(57, 255, 20, 0.7),
    0 0 30px rgba(57, 255, 20, 0.45);
}

@keyframes status-glow {
  0%, 100% {
    background: #39ff14;
    box-shadow:
      0 0 6px rgba(57, 255, 20, 0.65),
      0 0 16px rgba(57, 255, 20, 0.45);
  }
  45% {
    background: #8dff6a;
    box-shadow:
      0 0 10px rgba(141, 255, 106, 1),
      0 0 24px rgba(57, 255, 20, 0.85),
      0 0 38px rgba(57, 255, 20, 0.55);
  }
}

.mini-stats-card {
  margin-top: 12px;
  padding: 10px 11px;
  color: #9fffee;
  border: 1px solid rgba(0, 117, 255, 0.7);
  border-radius: 8px;
  background: rgba(5, 6, 18, 0.88);
  box-shadow:
    inset 0 0 20px rgba(0, 117, 255, 0.12),
    0 0 18px rgba(0, 117, 255, 0.16);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.mini-stat-head,
.mini-stat-row,
.mini-stat-load {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 17px;
}

.mini-stat-head {
  grid-template-columns: 1fr auto;
  margin-bottom: 4px;
  color: #c8fff8;
  font-weight: 800;
}

.mini-stat-row b,
.mini-stat-load b {
  color: #c8fff8;
}

.mini-stat-row em,
.mini-stat-load span,
.mini-stat-head span {
  color: #5fa8ff;
  font-style: normal;
}

.mini-stat-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
}

.mini-stat-bars i {
  height: 4px;
  border-radius: 2px;
  background: rgba(95, 168, 255, 0.22);
}

.mini-stat-bars i.on {
  background: #6aff83;
  box-shadow: 0 0 6px rgba(106, 255, 131, 0.65);
}

.mini-stat-row.primary .mini-stat-bars i.on {
  background: #37f7ff;
  box-shadow: 0 0 6px rgba(55, 247, 255, 0.75);
}

.mini-stat-load {
  grid-template-columns: 70px 1fr;
  margin-top: 4px;
}

/* Wider btop-style server pulse card */
.mini-stats-card {
  width: 250px;
  max-width: 100%;
  padding: 9px 11px;
  font-size: 10px;
}

.mini-stat-head,
.mini-stat-row,
.mini-stat-load {
  grid-template-columns: 34px 1fr 32px;
  gap: 6px;
  min-height: 14px;
}

.mini-stat-head {
  grid-template-columns: 1fr auto;
}

.mini-stat-bars {
  grid-template-columns: repeat(14, 1fr);
}

.mini-stat-bars i {
  height: 3px;
}

.mini-stat-load {
  grid-template-columns: 62px 1fr;
}

/* Remove frame around date/server pulse block */
.title-block {
  border: 0;
  box-shadow: none;
  background: transparent;
}

/* Bigger text inside the server pulse card */
.mini-stats-card {
  font-size: 11.5px !important;
  line-height: 1.35 !important;
}

.mini-stat-head {
  font-size: 11.5px !important;
}

.mini-stat-row,
.mini-stat-load {
  min-height: 16px !important;
}

.mini-stat-row > span:first-child,
.mini-stat-load > span:first-child {
  font-size: 11.5px !important;
  font-weight: 800 !important;
}

.mini-stat-row > span:last-child,
.mini-stat-load > span:last-child {
  font-size: 11.5px !important;
}

/* Weather card is tight, hide the duplicate title */
.weather-card > strong:first-child {
  display: none !important;
}

.weather-card {
  padding-top: 10px !important;
}

.media-weather-title {
  float: right;
  max-width: 62%;
  overflow: hidden;
  color: #d9fffb;
  font-size: 0.78rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(55, 247, 255, 0.65);
}

.media-weather-title {
  float: right;
  max-width: 62%;
  overflow: hidden;
  color: #d9fffb;
  font-size: 0.78rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(55, 247, 255, 0.65);
}

/* Give weather forecast room */
.widget-card iframe[src*="weather"],
.widget-card iframe[src*="5057"] {
  height: 172px !important;
}

#mediaWidgets .widget-card:first-child iframe {
  height: 172px !important;
}

#mediaWidgets .widget-card:first-child iframe {
  height: 185px !important;
}

#mediaWidgets .widget-card:first-child iframe {
  height: 190px !important;
}

#mediaWidgets .widget-card:first-child iframe {
  height: 200px !important;
}

/* Hide featured service shortcut row */
.featured-grid {
  display: none !important;
}

.service-board {
  margin-top: 34px !important;
}

.service-card,
.widget-card,
.featured-card {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card:hover,
.widget-card:hover {
  transform: translateY(-2px);
  border-color: rgba(55, 247, 255, 0.75);
  box-shadow: 0 0 22px rgba(0, 117, 255, 0.22);
}

.service-board {
  margin-top: 18px !important;
}

.search-box {
  background: rgba(7, 8, 24, 0.62) !important;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.search-box:focus-within {
  background: rgba(7, 8, 24, 0.92) !important;
  box-shadow: 0 0 24px rgba(55, 247, 255, 0.18);
}

/* Tighten the space before service groups */
.service-board {
  margin-top: 18px !important;
}

/* Match search bar border to the rest of the dashboard */
.search-box {
  border-color: rgba(0, 117, 255, 0.72) !important;
  box-shadow:
    0 0 18px rgba(0, 117, 255, 0.18),
    inset 0 0 18px rgba(0, 117, 255, 0.08) !important;
}

.search-box:focus-within {
  border-color: rgba(55, 247, 255, 0.8) !important;
  box-shadow:
    0 0 22px rgba(55, 247, 255, 0.22),
    inset 0 0 18px rgba(0, 117, 255, 0.1) !important;
}

.service-card,
.widget-card,
.status-strip article {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.widget-card::before,
.status-strip article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.10), transparent 32%, transparent 70%, rgba(55,247,255,0.04));
  opacity: 0.32;
}

.group-header h2,
.widget-column > h2 {
  position: relative;
  display: inline-block;
}

.group-header h2::after,
.widget-column > h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 4px;
  background: linear-gradient(90deg, #37f7ff, rgba(55,247,255,0));
  box-shadow: 0 0 10px rgba(55,247,255,0.8);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(55,247,255,0.12), transparent 34%);
  animation: hero-pulse 6s ease-in-out infinite;
}

@keyframes hero-pulse {
  0%, 100% { opacity: 0.18; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.04); }
}

/* Extra depth pass for dashboard panels */
.service-card,
.widget-card,
.status-strip article {
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(0, 117, 255, 0.14),
    inset 0 1px 0 rgba(120, 245, 255, 0.12),
    inset 0 0 22px rgba(0, 117, 255, 0.08) !important;
}

.service-group,
.widget-column {
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
}

/* Darken busy banner tests so the UI stays readable */
.hero::after {
  background:
    linear-gradient(180deg, rgba(2, 3, 12, 0.42), rgba(2, 3, 12, 0.62)),
    radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42)) !important;
  backdrop-filter: blur(1px);
}

/* Remove side banner seam/edge lines */
.side-banner,
.side-banner-art {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.side-banner::before,
.side-banner::after {
  display: none !important;
}

/* Remove side banner seam/edge lines */
.side-banner,
.side-banner-art {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.side-banner::before,
.side-banner::after {
  display: none !important;
}
