/* ===== Tokens =====
  Colors:
    --void:      #0a0713   (near-black background, End-portal void)
    --panel:     #150f24   (card background)
    --panel-2:   #1c1430   (card hover / inset)
    --line:      #33254d   (borders)
    --red:       #ff2d55   (redstone/nether accent)
    --purple:    #9b3bff   (end/portal accent)
    --blue:      #2d8bff   (diamond/prismarine accent)
    --green:     #3ddc84   (online signal)
    --text:      #f1ecff
    --text-dim:  #a89bc9
  Type:
    Display: "Press Start 2P" (pixel, used sparingly — brand + big status word)
    Body: "Space Grotesk"
    Mono/data: "JetBrains Mono"
*/

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #0a0713;
  color: #f1ecff;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Background atmosphere ---------- */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(155,59,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,59,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.bg-glow--a { width: 500px; height: 500px; background: #ff2d55; top: -150px; left: -100px; }
.bg-glow--b { width: 600px; height: 600px; background: #9b3bff; top: 10%; right: -200px; }
.bg-glow--c { width: 500px; height: 500px; background: #2d8bff; bottom: -200px; left: 30%; }

/* ---------- Topbar ---------- */
.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(16px, 4vw, 48px);
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 14px; }

.brand-logo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  animation: logo-float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(155,59,255,0.4));
}

.brand-text h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 15px;
  margin: 0 0 4px;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #ff2d55, #9b3bff 50%, #2d8bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  margin: 0;
  font-size: 12px;
  color: #a89bc9;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.3px;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn--primary {
  background: linear-gradient(90deg, #ff2d55, #9b3bff 55%, #2d8bff);
  color: #fff;
  box-shadow: 0 4px 20px rgba(155, 59, 255, 0.35);
}
.btn--primary:hover { filter: brightness(1.1); box-shadow: 0 6px 26px rgba(155, 59, 255, 0.5); }
.btn--block { width: 100%; justify-content: center; padding: 14px; }
.btn-icon { font-size: 16px; line-height: 1; }

.icon-btn {
  background: transparent;
  border: 1px solid #33254d;
  color: #a89bc9;
  width: 32px; height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s ease;
}
.icon-btn:hover { color: #f1ecff; border-color: #9b3bff; background: rgba(155,59,255,0.1); }

/* ---------- Layout ---------- */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px clamp(16px, 4vw, 48px) 60px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #a89bc9;
}
.empty-state.hidden { display: none; }
.empty-block {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,45,85,0.25), rgba(155,59,255,0.25), rgba(45,139,255,0.25));
  border: 2px dashed #33254d;
}
.empty-state h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  color: #f1ecff;
  margin: 0 0 8px;
}
.empty-state p { margin: 0 0 24px; font-size: 14px; }
.empty-state code { background: #1c1430; padding: 2px 6px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 12px; }

/* ---------- Server Card ---------- */
.card {
  position: relative;
  background: #150f24;
  border: 1px solid #33254d;
  border-radius: 14px;
  padding: 18px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
  animation: card-in 0.4s ease backwards;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.card:hover { border-color: #55407d; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(20,10,40,0.45); }
.card.is-online:hover { box-shadow: 0 12px 32px rgba(20,10,40,0.45), 0 0 0 1px rgba(61,220,132,0.15); }

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff2d55, #9b3bff, #2d8bff);
  opacity: 0.7;
}
.card.is-offline::before { background: #3a2f52; opacity: 0.4; }

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.server-icon {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: #0a0713;
  border: 1px solid #33254d;
  image-rendering: pixelated;
  flex-shrink: 0;
  object-fit: cover;
}
.server-icon--fallback {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 16px;
  background: linear-gradient(135deg, #ff2d55, #9b3bff, #2d8bff);
  color: #0a0713;
}

.card-title-wrap { flex: 1; min-width: 0; }
.card-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-addr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #a89bc9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-remove {
  background: transparent;
  border: none;
  color: #55476f;
  cursor: pointer;
  font-size: 16px;
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: color 0.15s ease, background 0.15s ease;
}
.card-remove:hover { color: #ff2d55; background: rgba(255,45,85,0.1); }

/* status row */
.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
}
.pulse-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
}
.card:not(.is-offline):not(.is-loading) .pulse-dot::after {
  animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring {
  0% { opacity: 0.6; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.8); }
}
.is-online .pulse-dot { background: #3ddc84; color: #3ddc84; }
.is-online .status-text { color: #3ddc84; }
.is-offline .pulse-dot { background: #ff2d55; color: #ff2d55; }
.is-offline .status-text { color: #ff6b8f; }
.is-loading .pulse-dot { background: #a89bc9; }
.is-loading .status-text { color: #a89bc9; }

/* players */
.players-block { margin-bottom: 12px; }
.players-bar-label {
  display: flex; justify-content: space-between;
  font-size: 12px; color: #a89bc9;
  margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.players-bar-label strong { color: #f1ecff; }
.players-bar-track {
  height: 6px;
  border-radius: 4px;
  background: #0a0713;
  border: 1px solid #33254d;
  overflow: hidden;
}
.players-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2d8bff, #9b3bff, #ff2d55);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.player-list {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 10px;
}
.player-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: #1c1430;
  border: 1px solid #33254d;
  padding: 3px 8px;
  border-radius: 6px;
  color: #d6cdf0;
}

/* meta */
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 11.5px;
  color: #7a6d99;
  font-family: 'JetBrains Mono', monospace;
  padding-top: 10px;
  border-top: 1px solid #241b3c;
}
.card-meta span strong { color: #a89bc9; }

.card-motd {
  font-size: 12px;
  color: #c8bfe6;
  font-style: italic;
  margin: 0 0 12px;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* skeleton loading shimmer */
.skel {
  background: linear-gradient(90deg, #1c1430 25%, #26193f 50%, #1c1430 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 4px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(6, 4, 14, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}
.modal-overlay.hidden { display: none; }

.modal {
  background: #150f24;
  border: 1px solid #33254d;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(155,59,255,0.1);
  animation: modal-in 0.25s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.96) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 0;
}
.modal-head h2 { font-size: 17px; margin: 0; }

.modal-body { padding: 20px; }

.field { display: block; margin-bottom: 16px; }
.field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: #d6cdf0; }
.optional { font-weight: 400; color: #7a6d99; }
.field-input {
  width: 100%;
  background: #0a0713;
  border: 1px solid #33254d;
  border-radius: 9px;
  padding: 12px 14px;
  color: #f1ecff;
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field-input:focus {
  border-color: #9b3bff;
  box-shadow: 0 0 0 3px rgba(155,59,255,0.15);
}
.field-input::placeholder { color: #4a3d6b; }
.field-hint { display: block; font-size: 11.5px; color: #7a6d99; margin-top: 6px; }
.field-hint code { color: #a89bc9; }

.form-error {
  background: rgba(255,45,85,0.1);
  border: 1px solid rgba(255,45,85,0.3);
  color: #ff8fa8;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.form-error.hidden { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: #1c1430;
  border: 1px solid #33254d;
  color: #f1ecff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  animation: toast-in 0.25s ease;
}
.toast.hidden { display: none; }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---------- Footer ---------- */
.foot {
  position: relative; z-index: 1;
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: #55476f;
  font-family: 'JetBrains Mono', monospace;
}
.foot a { color: #9b8fc7; }

/* ---------- Lock Screen ---------- */
.lock-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05030b;
  overflow: hidden;
  padding: 20px;
}
.lock-screen.hidden { display: none; }

.lock-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(155,59,255,0.04) 0px,
    rgba(155,59,255,0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 2;
}

.lock-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  pointer-events: none;
}
.lock-bg-glow--a { width: 520px; height: 520px; background: #ff2d55; top: -180px; left: -160px; animation: drift-a 12s ease-in-out infinite; }
.lock-bg-glow--b { width: 520px; height: 520px; background: #2d8bff; bottom: -180px; right: -160px; animation: drift-b 14s ease-in-out infinite; }
@keyframes drift-a { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(40px, 30px); } }
@keyframes drift-b { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-40px, -30px); } }

.lock-card {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 360px;
  text-align: center;
  animation: modal-in 0.35s cubic-bezier(.2,.9,.3,1.2);
}

.lock-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: block;
  animation: logo-float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(155,59,255,0.55));
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(3deg); }
}

.lock-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 18px;
  margin: 0 0 8px;
  background: linear-gradient(90deg, #ff2d55, #9b3bff 50%, #2d8bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: title-shine 3.5s linear infinite;
}
@keyframes title-shine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.lock-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7a6d99;
  margin: 0 0 30px;
}

.pin-dots {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-bottom: 22px;
}
.pin-dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #150f24;
  border: 1px solid #33254d;
  transition: all 0.2s cubic-bezier(.3,1.5,.5,1);
}
.pin-dot.filled {
  background: linear-gradient(135deg, #ff2d55, #9b3bff, #2d8bff);
  border-color: transparent;
  box-shadow: 0 0 14px rgba(155,59,255,0.7);
  transform: scale(1.15);
}

.lock-error {
  color: #ff6b8f;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  margin: -10px 0 18px;
  animation: shake 0.4s ease;
}
.lock-error.hidden { visibility: hidden; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  max-width: 270px;
  margin: 0 auto;
}
.key {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  background: linear-gradient(160deg, #180f2a, #120a1f);
  border: 1px solid #33254d;
  color: #f1ecff;
  font-size: 19px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.key::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(155,59,255,0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.key:hover { border-color: #9b3bff; box-shadow: 0 0 16px rgba(155,59,255,0.25); }
.key:hover::after { opacity: 1; }
.key:active { transform: scale(0.9); }
.key--ghost { color: #7a6d99; font-size: 14px; }

/* ---------- Toolbar ---------- */
.toolbar {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.toolbar.hidden { display: none; }
.filter-input {
  flex: 1;
  min-width: 180px;
  background: #150f24;
  border: 1px solid #33254d;
  border-radius: 10px;
  padding: 10px 14px;
  color: #f1ecff;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  transition: border-color 0.15s ease;
}
.filter-input:focus { border-color: #9b3bff; }
.filter-input::placeholder { color: #4a3d6b; }
.sort-select {
  background: #150f24;
  border: 1px solid #33254d;
  border-radius: 10px;
  padding: 10px 14px;
  color: #d6cdf0;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  cursor: pointer;
}
.sort-select:focus { border-color: #9b3bff; }
.no-match {
  text-align: center;
  color: #7a6d99;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  padding: 40px 20px;
  grid-column: 1 / -1;
}

/* ---------- Card menu (⋯) ---------- */
.card-menu-wrap { position: relative; flex-shrink: 0; }
.card-menu-trigger { font-size: 18px; line-height: 1; padding-bottom: 6px; }
.card-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 170px;
  background: #1c1430;
  border: 1px solid #33254d;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  padding: 6px;
  z-index: 10;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.card-menu.open { display: flex; animation: menu-in 0.15s ease; }
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.card-menu-item {
  background: transparent;
  border: none;
  color: #d6cdf0;
  font-size: 13px;
  font-family: 'Space Grotesk', sans-serif;
  text-align: left;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s ease;
}
.card-menu-item:hover { background: rgba(155,59,255,0.15); }
.card-menu-item--danger { color: #ff6b8f; }
.card-menu-item--danger:hover { background: rgba(255,45,85,0.12); }

/* ---------- Player heads ---------- */
.player-heads {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.player-head {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  overflow: hidden;
  background: #0a0713;
  border: 1px solid #33254d;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.player-head img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  display: block;
}
.player-head:hover { border-color: #9b3bff; transform: translateY(-1px); }
.player-head.active { border-color: #ff2d55; box-shadow: 0 0 0 2px rgba(255,45,85,0.3); }
.player-head::after {
  content: attr(data-player-name);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: #0a0713;
  border: 1px solid #33254d;
  color: #f1ecff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 20;
}
.player-head.active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.player-head--more {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #a89bc9;
  cursor: default;
}

/* ---------- Uptime ---------- */
.uptime-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #7a6d99;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #241b3c;
  flex-wrap: wrap;
}
.uptime-label { color: #7a6d99; }
.uptime-value { font-weight: 700; font-size: 13px; }
.uptime-value--pending { font-weight: 400; font-style: italic; color: #5a4d79; font-size: 11.5px; }
.uptime-great { color: #3ddc84; }
.uptime-ok { color: #ffb84d; }
.uptime-bad { color: #ff6b8f; }
.uptime-tracked { color: #55476f; font-size: 11px; margin-left: auto; }
.uptime-graph {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
  margin-top: 8px;
}
.uptime-bar {
  flex: 1;
  min-width: 2px;
  height: 100%;
  border-radius: 1px;
  background: #241b3c;
}
.uptime-bar.up { background: linear-gradient(180deg, #3ddc84, #2d8bff); }
.uptime-bar.down { background: #ff2d55; opacity: 0.7; }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .topbar { padding: 18px 16px; }
  .brand-text h1 { font-size: 12px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .btn { padding: 11px 16px; font-size: 13px; }
  .toolbar { flex-direction: column; }
  .filter-input, .sort-select { width: 100%; }
}
