:root {
  --bg: #04060c;
  --panel: rgba(10, 14, 24, 0.78);
  --panel-strong: rgba(12, 17, 28, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #edf2ff;
  --muted: #a9b4cc;
  --cyan: #74ecff;
  --pink: #ff4fd8;
  --lime: #8effb6;
  --gold: #f4cf6d;
  --danger: #ff646e;
  --warn: #ffbf60;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 79, 216, 0.16), transparent 24%),
    radial-gradient(circle at 86% 24%, rgba(116, 236, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #03050a, #08101b 48%, #03050a 100%);
  overflow-x: hidden;
}

a,
button,
input {
  font: inherit;
}

button {
  border: 0;
}

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

.chrome {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.chrome__glow,
.chrome__grid,
.chrome__noise {
  position: absolute;
  inset: 0;
}

.chrome__glow--pink {
  background: radial-gradient(circle at 18% 30%, rgba(255, 79, 216, 0.16), transparent 20%);
}

.chrome__glow--cyan {
  background: radial-gradient(circle at 78% 40%, rgba(116, 236, 255, 0.14), transparent 24%);
}

.chrome__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.18;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
}

.chrome__noise {
  background-image:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px);
  background-size: 18px 18px, 29px 29px;
  mix-blend-mode: soft-light;
  opacity: 0.18;
}

.page-title h1,
.results__header h2 {
  font-family: "Oxanium", "Segoe UI", sans-serif;
}

.console__modes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-title {
  padding: 34px 0 30px;
  text-align: center;
  display: grid;
  justify-items: center;
}

.page-title h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  background:
    linear-gradient(90deg, #f7fbff 0%, #dde8ff 34%, #98ecff 64%, #efb7ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow:
    0 0 28px rgba(116, 236, 255, 0.12),
    0 0 38px rgba(255, 79, 216, 0.08);
}

.button,
.mode-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible,
.mode-chip:hover,
.mode-chip:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.button--primary {
  background: linear-gradient(135deg, rgba(255, 79, 216, 0.24), rgba(116, 236, 255, 0.16));
  border-color: rgba(116, 236, 255, 0.35);
}

main {
  width: min(calc(100% - 40px), 1180px);
  margin-inline: auto;
  padding: 42px 0 36px;
}

.dashboard {
  display: block;
}

.dashboard-panel {
  position: relative;
  padding: 22px;
  overflow: hidden;
}

.dashboard-panel__scan {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(116, 236, 255, 0.1), transparent 26%),
    radial-gradient(circle at 76% 14%, rgba(255, 79, 216, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 26%);
  pointer-events: none;
}

.dashboard-panel__topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  color: rgba(237, 242, 255, 0.72);
  font-size: 0.95rem;
}

.glass {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.04), transparent 68%);
  pointer-events: none;
}

.console,
.results {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.results {
  margin-top: 18px;
}

.console__toolbar {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 54px;
  gap: 14px;
  align-items: center;
}

.console__logo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(20, 31, 51, 0.94), rgba(10, 18, 31, 0.94)),
    rgba(9, 15, 24, 0.9);
  border: 1px solid rgba(116, 236, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(116, 236, 255, 0.06),
    0 0 28px rgba(116, 236, 255, 0.1);
}

.page-pill-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(17, 28, 45, 0.96), rgba(9, 17, 29, 0.96)),
    rgba(10, 18, 30, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(116, 236, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 20px rgba(0, 0, 0, 0.22);
}

.page-pill-icon--cmd::before,
.page-pill-icon--cmd::after {
  content: "";
  position: absolute;
  display: block;
}

.page-pill-icon--cmd::before {
  width: 17px;
  height: 12px;
  left: 11px;
  top: 14px;
  border-right: 2.5px solid var(--lime);
  border-bottom: 2.5px solid var(--lime);
  transform: rotate(-45deg);
  filter: drop-shadow(0 0 7px rgba(142, 255, 182, 0.5));
}

.page-pill-icon--cmd::after {
  width: 12px;
  height: 2.5px;
  left: 24px;
  top: 28px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 7px rgba(142, 255, 182, 0.5);
}

.console__target input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(6, 10, 16, 0.7);
  color: var(--text);
  font-size: 1.2rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.console__target input:focus {
  border-color: rgba(116, 236, 255, 0.44);
  box-shadow: 0 0 0 3px rgba(116, 236, 255, 0.08);
}

.console__clear {
  min-height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(237, 242, 255, 0.8);
  font-size: 1.8rem;
  cursor: pointer;
}

.console__modes {
  margin-top: 18px;
}

.mode-chip {
  min-height: 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.mode-chip.is-active {
  background: linear-gradient(135deg, rgba(116, 236, 255, 0.14), rgba(255, 79, 216, 0.1));
  border-color: rgba(116, 236, 255, 0.34);
  color: var(--text);
}

.results__header,
.results__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.results__header h2 {
  margin: 6px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.results__meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.results__table-wrap {
  margin-top: 18px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 22%),
    rgba(6, 10, 16, 0.72);
}

.results__table-wrap[hidden],
.monitoring-panel[hidden],
.monitoring-modal[hidden] {
  display: none !important;
}

.results__table {
  width: 100%;
  border-collapse: collapse;
}

.results__table th,
.results__table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.results__table th {
  background: rgba(255, 255, 255, 0.03);
  font-family: "Oxanium", "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: rgba(237, 242, 255, 0.7);
}

.results__table td {
  color: rgba(237, 242, 255, 0.88);
}

.results__table tbody tr {
  transition: background 140ms ease;
}

.results__table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.monitoring-panel {
  margin-top: 18px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 22%),
    rgba(6, 10, 16, 0.72);
}

.monitoring-panel__header,
.monitoring-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.monitoring-panel__header {
  grid-template-columns: minmax(0, 1fr) auto;
}

.monitoring-panel__header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.monitoring-panel__label {
  font-family: "Oxanium", "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: rgba(237, 242, 255, 0.7);
}

.monitoring-panel__hint {
  color: rgba(237, 242, 255, 0.52);
  font-size: 0.82rem;
}

.monitoring-panel__empty {
  padding: 18px;
  color: var(--muted);
}

.monitoring-list {
  display: grid;
}

.monitoring-entry {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(90deg, rgba(116, 236, 255, 0.02), transparent 20%),
    rgba(5, 10, 18, 0.36);
}

.monitoring-entry:last-child {
  border-bottom: 0;
}

.monitoring-entry__main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.monitoring-entry__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.monitoring-entry__headline {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.monitoring-entry__name {
  min-width: 0;
  font-size: 1.04rem;
  font-weight: 800;
  color: rgba(244, 247, 255, 0.94);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitoring-entry__meta {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.monitoring-entry__chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  max-width: 100%;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.74rem;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.monitoring-entry__chip--meta {
  color: rgba(237, 242, 255, 0.62);
  background: rgba(255, 255, 255, 0.03);
}

.monitoring-entry__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  font-family: "Oxanium", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.monitoring-entry__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.monitoring-entry__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.monitoring-entry__dot--online {
  background: var(--lime);
  box-shadow: 0 0 14px rgba(142, 255, 182, 0.65);
}

.monitoring-entry__dot--degraded {
  background: var(--warn);
  box-shadow: 0 0 14px rgba(255, 191, 96, 0.58);
}

.monitoring-entry__dot--offline {
  background: var(--danger);
  box-shadow: 0 0 14px rgba(255, 100, 110, 0.58);
}

.monitoring-entry__status--online {
  color: var(--lime);
}

.monitoring-entry__status--online .monitoring-entry__dot {
  background: var(--lime);
  box-shadow: 0 0 14px rgba(142, 255, 182, 0.65);
}

.monitoring-entry__status--degraded {
  color: #ffd88d;
}

.monitoring-entry__status--degraded .monitoring-entry__dot {
  background: var(--warn);
  box-shadow: 0 0 14px rgba(255, 191, 96, 0.58);
}

.monitoring-entry__status--offline {
  color: #ffb4ba;
}

.monitoring-entry__status--offline .monitoring-entry__dot {
  background: var(--danger);
  box-shadow: 0 0 14px rgba(255, 100, 110, 0.58);
}

.monitoring-entry__remove {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(237, 242, 255, 0.7);
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, color 140ms ease;
}

.monitoring-entry__remove:hover,
.monitoring-entry__remove:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(255, 100, 110, 0.28);
}

@media (max-width: 760px) {
  .monitoring-panel__header,
  .monitoring-entry {
    grid-template-columns: minmax(0, 1fr);
  }

  .monitoring-panel__hint {
    justify-self: start;
  }

  .monitoring-entry__topline {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .monitoring-entry__actions {
    width: 100%;
    justify-content: space-between;
  }
}

.monitoring-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
}

.monitoring-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 10, 0.72);
  backdrop-filter: blur(8px);
}

.monitoring-modal__card {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 22%),
    rgba(8, 12, 20, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.monitoring-modal__header,
.monitoring-modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.monitoring-modal__header h3 {
  margin: 0;
  font-family: "Oxanium", "Segoe UI", sans-serif;
  font-size: 1.4rem;
}

.monitoring-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(237, 242, 255, 0.8);
  cursor: pointer;
}

.monitoring-modal__grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.monitoring-modal__field {
  display: grid;
  gap: 8px;
}

.monitoring-modal__field:first-child,
.monitoring-modal__field:nth-child(2) {
  grid-column: 1 / -1;
}

.monitoring-modal__field span {
  color: rgba(237, 242, 255, 0.66);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.monitoring-modal__field input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 8, 14, 0.82);
  color: var(--text);
  outline: none;
}

.monitoring-modal__field input:focus {
  border-color: rgba(116, 236, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(116, 236, 255, 0.08);
}

.monitoring-modal__actions {
  margin-top: 18px;
  justify-content: flex-end;
}

.target-cell {
  color: var(--cyan);
}

.flag {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  vertical-align: middle;
}

/* success */
.flag--ok {
  background: var(--lime);
  box-shadow: 0 0 12px rgba(142, 255, 182, 0.5);
  animation: probePulseGreen 2s infinite;
}

/* warning */
.flag--warn {
  background: var(--warn);
  box-shadow: 0 0 12px rgba(255, 191, 96, 0.45);
  animation: probePulseWarn 2s infinite;
}

/* failure */
.flag--bad {
  background: var(--danger);
  box-shadow: 0 0 12px rgba(255, 100, 110, 0.45);
  animation: probePulseBad 2s infinite;
}

/* animations */

@keyframes probePulseGreen {
  0% { box-shadow: 0 0 4px rgba(142,255,182,0.4); }
  50% { box-shadow: 0 0 16px rgba(142,255,182,0.9); }
  100% { box-shadow: 0 0 4px rgba(142,255,182,0.4); }
}

@keyframes probePulseWarn {
  0% { box-shadow: 0 0 4px rgba(255,191,96,0.35); }
  50% { box-shadow: 0 0 16px rgba(255,191,96,0.8); }
  100% { box-shadow: 0 0 4px rgba(255,191,96,0.35); }
}

@keyframes probePulseBad {
  0% { box-shadow: 0 0 4px rgba(255,100,110,0.35); }
  50% { box-shadow: 0 0 16px rgba(255,100,110,0.85); }
  100% { box-shadow: 0 0 4px rgba(255,100,110,0.35); }
}

.site-footer {
  margin-top: 18px;
  padding: 0;
  color: rgba(237, 242, 255, 0.72);
}

.footer__banner {
  position: relative;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(142, 255, 182, 0.06), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(255, 79, 216, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%),
    rgba(8, 14, 24, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 44px rgba(0, 0, 0, 0.28);
  padding: 20px 22px 18px;
}

.footer__banner::before {
  content: "";
  position: absolute;
  inset: 0 16% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(116, 236, 255, 0.28), rgba(255, 79, 216, 0.22), transparent);
  opacity: 0.8;
}

.footer__inner {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #fff;
  text-decoration: none;
  font-family: "Oxanium", "Segoe UI", sans-serif;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.social-link[data-brand="facebook"] {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
}

.social-link[data-brand="instagram"] {
  background: linear-gradient(135deg, #f59e0b, #ec4899 54%, #8b5cf6);
}

.social-link[data-brand="tiktok"] {
  background: #050505;
}

.footer__made,
.footer__copy {
  margin: 0;
}

.footer__made {
  font-family: "Oxanium", "Segoe UI", sans-serif;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  color: rgba(244, 247, 255, 0.9);
}

.footer__heart {
  color: #ff7ac8;
  display: inline-block;
  transform-origin: center;
  animation: heartBeat 1s ease-in-out infinite;
}

.footer__copy {
  color: rgba(237, 242, 255, 0.78);
  font-size: 0.92rem;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }

  18% {
    transform: scale(1.16);
  }

  36% {
    transform: scale(0.96);
  }

  54% {
    transform: scale(1.12);
  }

  72% {
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .console__toolbar {
    grid-template-columns: 1fr;
  }

  .console__logo {
    width: 72px;
  }

  .dashboard-panel__topline {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at 22% 10%, rgba(255, 79, 216, 0.16), transparent 24%),
      radial-gradient(circle at 80% 24%, rgba(116, 236, 255, 0.12), transparent 22%),
      linear-gradient(180deg, #03050a, #08101b 48%, #03050a 100%);
  }

  main {
    width: min(calc(100% - 20px), 1180px);
  }

  main {
    padding-top: 18px;
  }

  .page-title {
    padding: 10px 0 18px;
  }

  .page-title h1 {
    font-size: clamp(2.85rem, 15vw, 4.2rem);
  }

  .dashboard-panel {
    padding: 14px;
    border-radius: 24px;
  }

  .console,
  .results {
    padding: 16px;
  }

  .dashboard-panel__topline {
    margin-bottom: 14px;
  }

  .console__toolbar {
    grid-template-columns: 60px minmax(0, 1fr) 48px;
    gap: 10px;
    align-items: center;
  }

  .console__logo {
    width: 60px;
    border-radius: 18px;
  }

  .page-pill-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .page-pill-icon--cmd::before {
    width: 15px;
    height: 10px;
    left: 10px;
    top: 12px;
  }

  .page-pill-icon--cmd::after {
    width: 10px;
    left: 21px;
    top: 25px;
  }

  .console__target input {
    min-height: 48px;
    padding: 0 14px;
    font-size: 1rem;
  }

  .console__clear {
    width: 48px;
    min-height: 48px;
    border-radius: 14px;
    font-size: 1.55rem;
  }

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

  .mode-chip {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
  }

  .results__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .results__table {
    min-width: 580px;
  }

  .results__table th,
  .results__table td {
    padding: 12px 14px;
  }

  .monitoring-panel__header {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 14px 16px;
  }

  .monitoring-panel__hint {
    justify-self: start;
  }

  .monitoring-list {
    gap: 10px;
    padding: 12px;
  }

  .monitoring-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    border-bottom: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%),
      linear-gradient(90deg, rgba(116, 236, 255, 0.03), transparent 28%),
      rgba(5, 10, 18, 0.42);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      0 10px 24px rgba(0, 0, 0, 0.16);
  }

  .monitoring-entry__topline {
    gap: 10px;
  }

  .monitoring-entry__headline {
    gap: 10px;
  }

  .monitoring-entry__name {
    font-size: 0.98rem;
  }

  .monitoring-entry__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 8px;
    align-items: start;
  }

  .monitoring-entry__chip {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.7rem;
  }

  .monitoring-entry__meta .monitoring-entry__chip:last-child {
    grid-column: 1 / -1;
  }

  .monitoring-entry__actions {
    gap: 8px;
  }

  .monitoring-entry__status {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .monitoring-entry__remove {
    width: 30px;
    height: 30px;
  }

  .monitoring-modal {
    padding: 16px;
  }

  .monitoring-modal__card {
    padding: 18px;
    border-radius: 20px;
  }

  .monitoring-modal__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .monitoring-modal__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .monitoring-modal__actions .mode-chip,
  .monitoring-modal__actions .button {
    width: 100%;
  }

  .site-footer {
    margin-top: 14px;
  }

  .footer__banner {
    padding: 16px 14px 14px;
    border-radius: 22px;
  }

  .footer__inner {
    gap: 8px;
  }

  .social-links {
    gap: 8px 10px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .footer__made,
  .footer__copy {
    font-size: 0.88rem;
  }
}

@media (max-width: 420px) {

  main {
    width: min(calc(100% - 16px), 1180px);
  }

  .dashboard-panel {
    padding: 12px;
  }

  .console,
  .results {
    padding: 14px;
  }

  .page-title h1 {
    font-size: clamp(2.55rem, 15vw, 3.65rem);
  }

  .console__toolbar {
    grid-template-columns: 56px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .console__logo {
    width: 56px;
    border-radius: 16px;
  }

  .page-pill-icon {
    width: 36px;
    height: 36px;
  }

  .page-pill-icon--cmd::before {
    width: 14px;
    height: 9px;
    left: 9px;
    top: 11px;
  }

  .page-pill-icon--cmd::after {
    left: 20px;
    top: 23px;
  }

  .console__target input,
  .console__clear {
    min-height: 44px;
  }

  .console__target input {
    font-size: 0.95rem;
    border-radius: 14px;
  }

  .console__clear {
    font-size: 1.4rem;
  }

  .results__header h2 {
    font-size: 1.72rem;
  }

  .monitoring-panel__empty {
    padding: 16px;
    font-size: 0.95rem;
  }

  .monitoring-entry__chip {
    font-size: 0.68rem;
  }

  .monitoring-entry__meta {
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 7px;
  }

}

/* ================================================= */
/* Probe status system                               */
/* ================================================= */

.probe-row {
  animation: probeFade 0.35s ease;
}

.probe-row td {
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

/* success rows */

.probe-row:has(.flag--ok) {
  background: linear-gradient(
    90deg,
    rgba(142,255,182,0.05),
    rgba(142,255,182,0.02) 18%,
    transparent 40%
  );
}

/* warning rows */

.probe-row:has(.flag--warn) {
  background: linear-gradient(
    90deg,
    rgba(255,191,96,0.08),
    rgba(255,191,96,0.04) 18%,
    transparent 40%
  );
}

.probe-row:has(.flag--warn) td {
  color: rgba(255,220,170,0.95);
}

/* failure rows */

.probe-row:has(.flag--bad) {
  background: linear-gradient(
    90deg,
    rgba(255,100,110,0.12),
    rgba(255,100,110,0.06) 18%,
    transparent 40%
  );
}

.probe-row:has(.flag--bad) td {
  color: rgba(255,170,175,0.95);
}

/* hover effect */

.probe-row:hover {
  background:
    linear-gradient(
      90deg,
      rgba(116,236,255,0.08),
      transparent 50%
    );
}

/* ================================================= */
/* probe dots                                        */
/* ================================================= */

.flag {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  vertical-align: middle;
}

.flag--ok {
  background: var(--lime);
  box-shadow: 0 0 12px rgba(142,255,182,0.5);
  animation: probePulseGreen 2s infinite;
}

.flag--warn {
  background: var(--warn);
  box-shadow: 0 0 12px rgba(255,191,96,0.45);
  animation: probePulseWarn 2s infinite;
}

.flag--bad {
  background: var(--danger);
  box-shadow: 0 0 14px rgba(255,100,110,0.6);
  animation: probePulseBad 2s infinite;
}

/* ================================================= */
/* animations                                        */
/* ================================================= */

@keyframes probeFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes probePulseGreen {
  0% { box-shadow: 0 0 4px rgba(142,255,182,0.4); }
  50% { box-shadow: 0 0 16px rgba(142,255,182,0.9); }
  100% { box-shadow: 0 0 4px rgba(142,255,182,0.4); }
}

@keyframes probePulseWarn {
  0% { box-shadow: 0 0 4px rgba(255,191,96,0.35); }
  50% { box-shadow: 0 0 16px rgba(255,191,96,0.8); }
  100% { box-shadow: 0 0 4px rgba(255,191,96,0.35); }
}

@keyframes probePulseBad {
  0% { box-shadow: 0 0 4px rgba(255,100,110,0.4); }
  50% { box-shadow: 0 0 18px rgba(255,100,110,0.95); }
  100% { box-shadow: 0 0 4px rgba(255,100,110,0.4); }
}