:root {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
  background: #0b0f19;
  font-synthesis: none;
  --bg: #0b0f19;
  --panel: #101625;
  --card: #141a29;
  --elev: #1a2235;
  --mint: #10b981;
  --mint-dim: #059669;
  --violet: #5850ec;
  --violet-dim: #4f46e5;
  --sky: #3b82f6;
  --amber: #f59e0b;
  --danger: #ef4444;
  --text: #ffffff;
  --muted: #9ca3af;
  --dim: #6b7280;
  --border: rgba(255, 255, 255, 0.075);
  --sidebar-width: 248px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% -10%, rgba(88, 80, 236, 0.1), transparent 34rem),
    var(--bg);
}

button,
input {
  font: inherit;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

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

svg {
  display: block;
}

.page-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(11, 15, 25, 0.76), rgba(11, 15, 25, 0.92)),
    url("/assets/billone-gamer-bg.webp") center top / cover no-repeat;
  pointer-events: none;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  padding: 24px 18px 18px;
  border-right: 1px solid var(--border);
  background: rgba(16, 22, 37, 0.96);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
}

.brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.13);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-family: "Sora", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-copy span {
  color: var(--mint);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.workspace-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 26px 8px 14px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 9px rgba(16, 185, 129, 0.55);
}

.side-nav {
  display: grid;
  gap: 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.nav-item svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.nav-item.active {
  border-color: rgba(16, 185, 129, 0.15);
  color: #d7fff0;
  background: rgba(16, 185, 129, 0.08);
}

.nav-item.active svg {
  color: var(--mint);
}

.sidebar-note {
  position: relative;
  overflow: hidden;
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(88, 80, 236, 0.16);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(88, 80, 236, 0.11), rgba(16, 185, 129, 0.035));
}

.sidebar-note::after {
  position: absolute;
  right: -25px;
  bottom: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.07);
  filter: blur(10px);
  content: "";
}

.note-mark {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 9px;
  color: var(--mint);
  background: rgba(16, 185, 129, 0.07);
  font-size: 15px;
  font-weight: 800;
}

.sidebar-note p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.sidebar-note strong {
  color: var(--text);
}

.sidebar-note > span:last-child {
  color: var(--dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-shell {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
  padding: 30px clamp(22px, 3vw, 42px) 24px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--mint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

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

h1,
h2,
.stat-card strong,
.brand-copy strong {
  font-family: "Sora", sans-serif;
}

h1 {
  margin: 8px 0 7px;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 650;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 0;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.topbar-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 4px;
}

.version-badge,
.panel-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.install-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.version-badge {
  color: var(--dim);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  min-width: 0;
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(20, 26, 41, 0.96), rgba(16, 22, 37, 0.96));
  transition: border-color 180ms ease, background 180ms ease;
}

.stat-label {
  display: block;
  margin-bottom: 9px;
  color: var(--dim);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  overflow: hidden;
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-card small {
  display: block;
  overflow: hidden;
  color: var(--dim);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.domain-stat {
  border-color: rgba(16, 185, 129, 0.14);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.065), rgba(20, 26, 41, 0.96) 55%);
}

.domain-stat strong {
  color: #d8fff0;
}

.dns-stat.ok {
  border-color: rgba(16, 185, 129, 0.2);
}

.dns-stat.ok strong {
  color: var(--mint);
}

.dns-stat.warning {
  border-color: rgba(245, 158, 11, 0.22);
}

.dns-stat.warning strong {
  color: var(--amber);
}

.dns-stat.error {
  border-color: rgba(239, 68, 68, 0.22);
}

.dns-stat.error strong {
  color: #f87171;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(20, 26, 41, 0.9);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.generator-panel {
  padding: 22px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.panel-heading .section-kicker {
  margin-bottom: 6px;
}

.panel-heading p:not(.section-kicker) {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.panel-badge {
  min-height: 25px;
  color: #b8c0cc;
  font-size: 9px;
}

.generator-form {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(115px, 0.8fr) 92px;
  gap: 11px;
  align-items: end;
}

.field {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.field > span,
.field > label {
  color: #c3c9d3;
  font-size: 10px;
  font-weight: 650;
}

.field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 11px;
  outline: none;
  color: var(--text);
  background: var(--bg);
  font-size: 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input:focus {
  border-color: rgba(88, 80, 236, 0.72);
  box-shadow: 0 0 0 3px rgba(88, 80, 236, 0.13);
}

.field input::placeholder {
  color: var(--dim);
}

.field-count input {
  text-align: center;
}

.field-domain {
  position: relative;
}

.domain-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 7px;
}

.domain-select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 11px;
  outline: none;
  color: var(--text);
  background: var(--bg);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.domain-select:focus {
  border-color: rgba(88, 80, 236, 0.72);
  box-shadow: 0 0 0 3px rgba(88, 80, 236, 0.13);
}

.domain-select option {
  color: var(--text);
  background: var(--panel);
}

.domain-add-button {
  height: 42px;
  border: 1px solid rgba(16, 185, 129, 0.17);
  border-radius: 11px;
  color: var(--mint);
  background: rgba(16, 185, 129, 0.07);
  font-size: 21px;
  line-height: 1;
  transition: border-color 150ms ease, background 150ms ease;
}

.domain-add-button:hover {
  border-color: rgba(16, 185, 129, 0.34);
  background: rgba(16, 185, 129, 0.12);
}

.custom-domain-row {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: var(--elev);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
}

.custom-domain-row[hidden] {
  display: none;
}

.custom-domain-row input {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  outline: none;
  color: var(--text);
  background: var(--bg);
  font-size: 11px;
}

.custom-domain-row input:focus {
  border-color: rgba(88, 80, 236, 0.65);
}

.custom-domain-row .button {
  min-height: 36px;
}

.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 750;
  transition: transform 130ms ease, background 130ms ease, border-color 130ms ease, color 130ms ease;
}

.button:not(:disabled):active {
  transform: translateY(1px);
}

.button-primary {
  color: #04140a;
  background: var(--mint);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
}

.button-primary:hover {
  background: var(--mint-dim);
}

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

.generate-button {
  grid-column: 1 / -1;
  min-height: 42px;
  margin-top: 2px;
  font-size: 11px;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.085);
  color: #d6dbe4;
  background: var(--elev);
}

.button-secondary:hover:not(:disabled) {
  border-color: rgba(16, 185, 129, 0.28);
  color: #fff;
  background: #202b40;
}

.button-quiet {
  color: var(--dim);
  background: transparent;
}

.button-quiet:hover:not(:disabled) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.button-danger {
  border-color: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.055);
}

.button-danger:hover:not(:disabled) {
  border-color: rgba(239, 68, 68, 0.3);
  color: #fecaca;
  background: rgba(239, 68, 68, 0.09);
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 17px 0 12px;
}

.selection-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.check-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c3c9d3;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

.check-control input,
.row-checkbox {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--mint);
  cursor: pointer;
}

#selectedCounter {
  color: var(--dim);
  font-size: 10px;
  white-space: nowrap;
}

.list-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.checkbox-cell {
  width: 38px;
  padding-right: 4px;
}

.row-checkbox {
  display: block;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  text-align: left;
  vertical-align: middle;
}

th {
  color: #737d8e;
  background: rgba(255, 255, 255, 0.018);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

th:last-child,
td:last-child {
  width: 1%;
  text-align: right;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:not(.empty-row):hover {
  background: rgba(255, 255, 255, 0.02);
}

.alias-address {
  color: #edf2f7;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.alias-date {
  color: #778193;
  font-size: 10px;
  white-space: nowrap;
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.row-button {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #b9c1ce;
  background: rgba(255, 255, 255, 0.025);
  font-size: 9px;
  font-weight: 750;
}

.row-button.copy:hover {
  border-color: rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.06);
}

.row-button.delete:hover {
  border-color: rgba(239, 68, 68, 0.28);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.05);
}

.empty-row td {
  padding: 42px 20px;
  color: var(--dim);
  text-align: center;
  font-size: 11px;
}

.privacy-note {
  margin: 13px 0 0;
  color: #687386;
  font-size: 9px;
  line-height: 1.55;
}

.right-column {
  display: grid;
  gap: 18px;
}

.dns-panel,
.setup-panel {
  padding: 20px;
}

.panel-heading.compact {
  align-items: center;
  margin-bottom: 17px;
}

.icon-button {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--muted);
  background: var(--elev);
  transition: color 150ms ease, border-color 150ms ease;
}

.icon-button:hover:not(:disabled) {
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--mint);
}

.icon-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.muted {
  margin-bottom: 0;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.6;
}

.dns-status {
  display: flex;
  gap: 9px;
  margin-bottom: 13px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  font-size: 10px;
  line-height: 1.55;
}

.dns-status::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 4px;
  border-radius: 50%;
  background: #8c94a3;
  content: "";
}

.dns-status strong,
.dns-status div div {
  display: block;
}

.dns-status strong {
  margin-bottom: 2px;
  font-size: 10px;
}

.dns-status.ok {
  border-color: rgba(16, 185, 129, 0.16);
  color: #b8f3d8;
  background: rgba(16, 185, 129, 0.045);
}

.dns-status.ok::before {
  background: var(--mint);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.45);
}

.dns-status.warning {
  border-color: rgba(245, 158, 11, 0.16);
  color: #efdbad;
  background: rgba(245, 158, 11, 0.04);
}

.dns-status.warning::before {
  background: var(--amber);
}

.dns-status.error {
  border-color: rgba(239, 68, 68, 0.16);
  color: #fecaca;
  background: rgba(239, 68, 68, 0.04);
}

.dns-status.error::before {
  background: var(--danger);
}

.dns-details {
  display: grid;
  gap: 9px;
}

.dns-detail {
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.dns-detail span {
  display: block;
  margin-bottom: 5px;
  color: #687386;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dns-detail code {
  display: block;
  color: #aeb7c5;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.setup-panel .section-kicker {
  margin-bottom: 6px;
}

.setup-intro {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.steps {
  display: grid;
  gap: 11px;
  margin: 17px 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 26px;
  padding-left: 35px;
  color: #aab2c0;
  font-size: 10px;
  line-height: 1.6;
  counter-increment: steps;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(88, 80, 236, 0.2);
  border-radius: 8px;
  color: #aaa5ff;
  background: rgba(88, 80, 236, 0.07);
  font-size: 9px;
  font-weight: 800;
  content: counter(steps);
}

.steps strong {
  color: #e8edf4;
}

.install-help {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(88, 80, 236, 0.18);
  border-radius: 10px;
  background: rgba(88, 80, 236, 0.06);
}

.install-help[hidden] {
  display: none;
}

.install-help strong {
  color: #d7d4ff;
  font-size: 10px;
}

.install-help p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  color: #515d70;
  font-size: 9px;
}

footer span:last-child {
  text-align: right;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  max-width: min(380px, calc(100vw - 44px));
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  background: rgba(26, 34, 53, 0.98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(9px);
  transition: opacity 170ms ease, transform 170ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.28);
  color: #fecaca;
}

.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;
}

@media (max-width: 1100px) {
  :root {
    --sidebar-width: 220px;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .main-shell {
    padding-inline: 22px;
  }

  .generator-form {
    grid-template-columns: 1fr 1fr;
  }

  .field-count,
  .generate-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --sidebar-width: 76px;
  }

  .sidebar {
    align-items: center;
    padding-inline: 12px;
  }

  .brand {
    padding: 0;
  }

  .brand-copy,
  .workspace-label,
  .nav-item:not(.active)::after,
  .sidebar-note,
  .sidebar-footer {
    display: none;
  }

  .nav-item {
    width: 46px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .nav-item svg {
    width: 18px;
    height: 18px;
  }

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

  .right-column {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --sidebar-width: 0px;
  }

  .sidebar {
    position: static;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    padding: 13px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .brand-copy {
    display: grid;
  }

  .brand img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .side-nav {
    display: flex;
    gap: 5px;
  }

  .nav-item {
    width: 38px;
    min-height: 38px;
  }

  .main-shell {
    margin-left: 0;
    padding: 22px 16px;
  }

  .topbar {
    display: block;
  }

  .topbar-actions {
    flex-wrap: wrap;
    margin-top: 15px;
  }

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

  .domain-stat {
    grid-column: 1 / -1;
  }

  .right-column {
    grid-template-columns: 1fr;
  }

  .generator-form {
    grid-template-columns: 1fr 1fr;
  }

  .field-domain,
  .generate-button {
    grid-column: 1 / -1;
  }

  .field-count {
    grid-column: auto;
  }

  .list-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .list-actions {
    justify-content: flex-start;
  }

  th:nth-child(3),
  td:nth-child(3) {
    display: none;
  }

  footer {
    display: block;
  }

  footer span {
    display: block;
  }

  footer span:last-child {
    margin-top: 5px;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .brand-copy {
    display: none;
  }

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

  .domain-stat {
    grid-column: auto;
  }

  .generator-panel,
  .dns-panel,
  .setup-panel {
    padding: 17px;
  }

  .generator-form {
    grid-template-columns: 1fr;
  }

  .custom-domain-row {
    grid-template-columns: 1fr 1fr;
  }

  .custom-domain-row input {
    grid-column: 1 / -1;
  }

  .field-domain,
  .field-count,
  .generate-button {
    grid-column: auto;
  }

  .list-toolbar {
    display: flex;
  }

  .selection-summary {
    flex-wrap: wrap;
  }

  .row-button {
    padding-inline: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
