:root {
  --bg: #18181b;
  --bg-elev: #1f1f23;
  --surface: #27272a;
  --surface-2: #2c2c30;
  --surface-3: #323232;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --text-secondary: #d4d4d8;
  --muted: #a1a1aa;
  --accent: #cc1c39;
  --accent-hi: #e23b55;
  --accent-hover: #a51935;
  --accent-glow: #5f0625;
  --accent-lo: rgba(204, 28, 57, 0.16);
  --ok: #34d399;
  --ok-lo: rgba(52, 211, 153, 0.14);
  --cpu: #818cf8;
  --cpu-lo: rgba(129, 140, 248, 0.16);
  --ram: #38bdf8;
  --ram-lo: rgba(56, 189, 248, 0.16);
  --disk: #fbbf24;
  --disk-lo: rgba(251, 191, 36, 0.16);
  --net: #34d399;
  --net-lo: rgba(52, 211, 153, 0.16);
  --danger: #fb7185;
  --shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  --radius: 18px;
  --radius-sm: 12px;
  --sidebar: 268px;
  --mobile-bar: 58px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --card-bg: linear-gradient(160deg, #2c2c30 0%, #27272a 55%, #232326 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { appearance: none; }
strong { font-weight: 600; }
svg { fill: currentColor; display: block; flex-shrink: 0; }
img, canvas { max-width: 100%; }

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}

.content-wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* soft bibrik-like glow */
.content-wrap::before {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  top: -140px;
  left: 180px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(110px);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  padding: 20px 14px;
  border-right: 1px solid var(--border);
  background: rgba(24, 24, 27, 0.96);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 40;
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sidebar-close { display: none; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 4px 6px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(145deg, #e23b55, #a51935);
  color: #fff;
  box-shadow: 0 8px 22px rgba(204, 28, 57, 0.35);
}

.brand-mark.sm {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 10px;
}

.brand-mark svg { width: 20px; height: 20px; }
.brand-mark.sm svg { width: 15px; height: 15px; }

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand-top {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}

.brand-text strong {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-item svg { width: 18px; height: 18px; flex: none; }
.nav-item:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.nav-item.active {
  background: var(--accent-lo);
  color: #fca5a5;
  box-shadow: inset 0 0 0 1px rgba(204, 28, 57, 0.28);
}

.side-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(204, 28, 57, 0.18);
  color: #fca5a5;
  font-weight: 700;
  flex: none;
}

.user-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.user-meta strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logout {
  font-size: 12px;
  color: #f87171;
  width: fit-content;
}

.logout:hover { text-decoration: underline; }

.mobile-bar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--mobile-bar);
  padding: 0 12px;
  padding-left: max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  background: rgba(24, 24, 27, 0.92);
  backdrop-filter: blur(14px);
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mobile-brand strong {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-secondary);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  flex: none;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover {
  color: var(--text);
  background: var(--surface-3);
  border-color: var(--border-strong);
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 35;
}

.main {
  min-width: 0;
  padding: 28px 32px 48px;
  padding-bottom: max(48px, env(safe-area-inset-bottom));
  position: relative;
  z-index: 1;
}

.page { max-width: 1400px; }

.page-head { margin-bottom: 22px; }

.dash-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  word-break: break-word;
}

.sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 54ch;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pill.online {
  background: var(--ok-lo);
  border-color: rgba(52, 211, 153, 0.28);
  color: var(--ok);
  font-weight: 700;
}

.pill.offline {
  background: var(--accent-lo);
  border-color: rgba(204, 28, 57, 0.35);
  color: #fca5a5;
  font-weight: 700;
}

.head-meta {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) minmax(160px, 1.2fr);
  gap: 10px;
  align-items: stretch;
  margin-left: auto;
  max-width: 560px;
  width: 100%;
}

.head-back {
  height: 100%;
  min-height: 64px;
  white-space: nowrap;
  padding-inline: 16px;
}

.meta-chip {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
}

.meta-chip span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.meta-chip strong {
  font-size: 14px;
  word-break: break-all;
  line-height: 1.25;
}

.offline-banner {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--accent-lo);
  border: 1px solid rgba(204, 28, 57, 0.3);
  color: #fecdd3;
  font-size: 13px;
}

.metric-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.metric-card,
.chart-card,
.info-card,
.server-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 16px;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

.metric-card:hover {
  border-color: rgba(204, 28, 57, 0.28);
  transform: translateY(-2px);
}

.metric-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.metric-top > div:last-child {
  min-width: 0;
  flex: 1;
}

.metric-ico {
  width: 40px;
  height: 40px;
  min-width: 40px;
  max-width: 40px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 1px solid transparent;
}

.metric-ico svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
}

.metric-ico.cpu {
  color: var(--cpu);
  background: var(--cpu-lo);
  border-color: rgba(129, 140, 248, 0.22);
}

.metric-ico.ram {
  color: var(--ram);
  background: var(--ram-lo);
  border-color: rgba(56, 189, 248, 0.22);
}

.metric-ico.disk {
  color: var(--disk);
  background: var(--disk-lo);
  border-color: rgba(251, 191, 36, 0.22);
}

.metric-ico.net {
  color: var(--net);
  background: var(--net-lo);
  border-color: rgba(52, 211, 153, 0.22);
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.metric-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #8b8b96;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.metric-value {
  margin: auto 0 12px;
  padding-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.metric-value strong {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text);
  letter-spacing: -0.02em;
}

.metric-value.net-pair {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
}

.metric-value.net-pair strong { font-size: 17px; }

.mono {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
}

.bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.bar.tall { height: 8px; }

.bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width 0.35s var(--ease);
}

.bar-cpu i { background: linear-gradient(90deg, #6366f1, #818cf8); }
.bar-ram i { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.bar-disk i { background: linear-gradient(90deg, #d97706, #fbbf24); }
.bar-accent i { background: linear-gradient(90deg, #a51935, #cc1c39); }

.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.chart-card {
  padding: 16px;
  min-width: 0;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

.chart-card:hover {
  border-color: rgba(204, 28, 57, 0.28);
}

.chart-card.wide { grid-column: 1 / -1; }

.chart-head h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.chart-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chart-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  margin-top: 10px;
}

.chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.info-rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-card { padding: 16px; }

.info-card h3 {
  margin: 0 0 12px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-card > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.4;
  word-break: break-word;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  margin-top: 8px;
  color: var(--muted);
}

.info-row strong {
  color: var(--text);
  text-align: right;
  word-break: break-word;
  max-width: 62%;
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 14px;
}

.server-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  transition: border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.server-card:hover {
  transform: translateY(-4px);
  border-color: rgba(204, 28, 57, 0.38);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(204, 28, 57, 0.12);
}

.server-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.server-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.server-title > div { min-width: 0; }

.server-ico {
  width: 42px;
  height: 42px;
  min-width: 42px;
  max-width: 42px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-lo);
  color: #fca5a5;
  border: 1px solid rgba(204, 28, 57, 0.22);
  flex: none;
}

.server-ico svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
}

.server-title h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-host {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.empty-hint {
  color: var(--muted);
  padding: 28px 4px;
  grid-column: 1 / -1;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mini-metric {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  min-width: 0;
}

.mini-metric span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.mini-metric strong {
  font-size: 13px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  min-height: 42px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  transition: transform 0.15s var(--ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.07); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-ico { width: 16px; height: 16px; }

.btn-primary {
  background: rgba(204, 28, 57, 0.22);
  border: 1px solid rgba(204, 28, 57, 0.4);
  color: #fff;
}

.btn-primary:hover {
  background: #cc1c39;
  border-color: #cc1c39;
  box-shadow: 0 10px 24px rgba(204, 28, 57, 0.28);
}

.btn-ghost { background: transparent; }
.btn-danger-soft {
  background: rgba(204, 28, 57, 0.12);
  border-color: rgba(204, 28, 57, 0.28);
  color: #fecdd3;
}

.btn-block { width: 100%; }
.btn-small {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 10px;
}

.modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 24px);
  margin: auto;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.modal-card {
  width: min(460px, 100%);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 12px;
  color: var(--text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.modal-card h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.form-error {
  margin: 0;
  color: #fecdd3;
  font-size: 13px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.field input {
  border: 1px solid var(--border);
  background: #1f1f23;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  width: 100%;
  min-height: 44px;
  font-weight: 500;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus {
  border-color: rgba(204, 28, 57, 0.55);
  box-shadow: 0 0 0 3px rgba(204, 28, 57, 0.15);
}

.field input::placeholder { color: #71717a; }

.login-body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
}

.login-card {
  width: min(400px, 100%);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  display: grid;
  gap: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -80px;
  right: -60px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(70px);
  opacity: 0.22;
  pointer-events: none;
}

.brand-login { padding: 0; position: relative; z-index: 1; }

.login-hint,
.login-error,
.field,
.login-card .btn {
  position: relative;
  z-index: 1;
}

.login-hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.login-error {
  background: var(--accent-lo);
  color: #fecdd3;
  border: 1px solid rgba(204, 28, 57, 0.3);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  color: transparent !important;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1200px) {
  .metric-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
  .info-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  .app-shell { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  .content-wrap::before { left: -40px; opacity: 0.12; }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(86vw, 300px);
    height: 100dvh;
    transform: translateX(-105%);
    transition: transform 0.24s var(--ease);
    border-right: 1px solid var(--border);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.35);
  }

  .sidebar-close { display: inline-grid; }
  .app-shell.nav-open .sidebar { transform: translateX(0); }
  .app-shell.nav-open .sidebar-backdrop { display: block; }

  .main {
    padding: 18px 16px 36px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .charts-grid { grid-template-columns: 1fr; }
  .chart-card.wide { grid-column: auto; }
  .chart-wrap { height: 160px; }
  .field-row { grid-template-columns: 1fr; }
  .info-rail { grid-template-columns: 1fr; }
  .dash-head { align-items: stretch; }
  .head-meta {
    margin-left: 0;
    max-width: none;
    grid-template-columns: 1fr 1fr;
  }
  .head-back {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 560px) {
  .metric-cards { grid-template-columns: 1fr; }
  .metric-card { min-height: 0; }
  .mini-metrics { grid-template-columns: 1fr; }
  .server-actions .btn { flex: 1 1 auto; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; }
  .head-meta { grid-template-columns: 1fr; }
}
