/* ============================================================
 * SmallJimmy Cloud · 设计系统
 * ============================================================ */
:root {
  --bg: #f7f9fd;
  --bg-grad-1: #eef4ff;
  --bg-grad-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f8fe;
  --surface-glass: rgba(255, 255, 255, .72);
  --border: #e4ebf6;
  --border-strong: #cfdcf0;
  --text: #0f1b2d;
  --text-2: #46586f;
  --text-3: #8595a9;
  --primary: #1f6feb;
  --primary-2: #4d97ff;
  --primary-soft: #e8f1ff;
  --primary-glow: rgba(31, 111, 235, .16);
  --ok: #12a06a;
  --ok-soft: #e4f7ee;
  --warn: #d98315;
  --warn-soft: #fdf1dd;
  --danger: #d93b3b;
  --danger-soft: #fdeaea;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 35, 68, .05), 0 4px 14px rgba(16, 35, 68, .045);
  --shadow-md: 0 2px 6px rgba(16, 35, 68, .06), 0 14px 34px rgba(16, 35, 68, .085);
  --shadow-lg: 0 8px 20px rgba(16, 35, 68, .09), 0 28px 64px rgba(16, 35, 68, .13);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

[data-theme="dark"] {
  --bg: #070d18;
  --bg-grad-1: #0b1424;
  --bg-grad-2: #060b14;
  --surface: #0f1a2b;
  --surface-2: #0c1522;
  --surface-glass: rgba(15, 26, 43, .68);
  --border: #1c2b42;
  --border-strong: #2a3d59;
  --text: #e8f0fb;
  --text-2: #a7bad2;
  --text-3: #6d829c;
  --primary: #58a6ff;
  --primary-2: #8cc4ff;
  --primary-soft: rgba(88, 166, 255, .13);
  --primary-glow: rgba(88, 166, 255, .22);
  --ok: #3ddc97;
  --ok-soft: rgba(61, 220, 151, .13);
  --warn: #f0b350;
  --warn-soft: rgba(240, 179, 80, .14);
  --danger: #ff6b6b;
  --danger-soft: rgba(255, 107, 107, .14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .28);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, .34), 0 16px 40px rgba(0, 0, 0, .4);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, .42), 0 30px 70px rgba(0, 0, 0, .5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .35s var(--ease), color .35s var(--ease);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 620px at 12% -8%, var(--primary-glow), transparent 62%),
    radial-gradient(900px 520px at 92% 4%, rgba(120, 190, 255, .16), transparent 60%),
    linear-gradient(180deg, var(--bg-grad-1) 0%, var(--bg-grad-2) 52%, var(--bg) 100%);
  transition: opacity .4s var(--ease);
}
[data-theme="dark"] body::before {
  background:
    radial-gradient(1100px 600px at 10% -10%, rgba(88, 166, 255, .15), transparent 60%),
    radial-gradient(900px 500px at 92% 0%, rgba(72, 128, 220, .13), transparent 58%),
    linear-gradient(180deg, var(--bg-grad-1) 0%, var(--bg-grad-2) 60%, var(--bg) 100%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; }
::selection { background: var(--primary-soft); color: var(--primary); }

.wrap { width: min(1220px, calc(100% - 44px)); margin: 0 auto; }

/* ----------------------------- 顶栏 ----------------------------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 66px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: var(--surface-glass);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--border);
}
.topbar .wrap { display: flex; align-items: center; gap: 22px; }

.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.02em;
  box-shadow: 0 6px 16px var(--primary-glow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-size: 14px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.brand-text span { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 3px; margin-left: 14px; }
.nav-links a {
  padding: 7px 13px; border-radius: 9px;
  font-size: 12.5px; font-weight: 550; color: var(--text-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--primary); background: var(--primary-soft); }

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 9px; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  transition: .2s var(--ease);
}
.icon-btn:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); transform: translateY(-1px); }
.icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.admin-link {
  height: 36px; padding: 0 15px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600;
  color: #fff;
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-2) 100%);
  box-shadow: 0 6px 18px var(--primary-glow);
  transition: .22s var(--ease);
}
.admin-link:hover { transform: translateY(-1px); box-shadow: 0 10px 24px var(--primary-glow); }
.admin-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ----------------------------- Hero ----------------------------- */
.hero { padding: 132px 0 40px; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 10.5px; font-weight: 600; color: var(--text-2);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 3px var(--ok-soft);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero h1 {
  font-size: clamp(30px, 5.2vw, 54px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(105deg, var(--primary) 0%, var(--primary-2) 55%, #7cc6ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: clamp(13px, 1.6vw, 15.5px);
  color: var(--text-2);
  max-width: 620px; margin: 0 auto;
  line-height: 1.8;
}

.hero-stats { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.hero-stat {
  display: flex; align-items: baseline; gap: 7px;
  padding: 9px 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.hero-stat b { font-size: 17px; font-weight: 750; letter-spacing: -.02em; color: var(--primary); }
.hero-stat span { font-size: 10.5px; color: var(--text-3); font-weight: 550; }

/* ----------------------------- 工具条 ----------------------------- */
.toolbar { margin-top: 42px; }
.toolbar-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.search-box {
  position: relative; flex: 1; min-width: 240px;
}
.search-box svg {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; fill: none; stroke: var(--text-3); stroke-width: 2;
  stroke-linecap: round; pointer-events: none; transition: stroke .2s;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { -webkit-appearance: none; appearance: none; display: none; }
.search-box input {
  width: 100%; height: 46px;
  padding: 0 44px 0 43px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px; color: var(--text);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: .22s var(--ease);
}
.search-box input::placeholder { color: var(--text-3); }
.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft), var(--shadow-sm);
}
.search-box:focus-within svg { stroke: var(--primary); }
.search-clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 7px;
  display: none; place-items: center; color: var(--text-3);
}
.search-clear.show { display: grid; }
.search-clear:hover { color: var(--text); background: var(--surface-2); }
.search-clear svg { position: static; transform: none; width: 13px; height: 13px; stroke: currentColor; }

.view-tabs {
  display: inline-flex; gap: 3px; padding: 4px;
  border-radius: 12px; background: var(--surface-2);
  border: 1px solid var(--border);
}
.view-tabs button {
  width: 38px; height: 36px; border-radius: 9px;
  display: grid; place-items: center; color: var(--text-3);
  transition: .2s var(--ease);
}
.view-tabs button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.view-tabs button.active { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.view-tabs button:hover:not(.active) { color: var(--text-2); }

.filters { margin-top: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 7px 15px; border-radius: 999px;
  font-size: 12px; font-weight: 550; color: var(--text-2);
  border: 1px solid var(--border); background: var(--surface);
  transition: .2s var(--ease); white-space: nowrap;
}
.chip:hover { border-color: var(--border-strong); color: var(--text); transform: translateY(-1px); }
.chip.active {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 6px 16px var(--primary-glow);
}
.chip .cnt { opacity: .6; font-size: 10px; margin-left: 3px; font-weight: 600; }
.chip.active .cnt { opacity: .8; }

/* ----------------------------- 卡片网格 ----------------------------- */
.grid-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin: 34px 0 16px; flex-wrap: wrap;
}
.grid-head h2 { font-size: 15px; font-weight: 700; letter-spacing: -.015em; display: flex; align-items: center; gap: 8px; }
.grid-head h2 .bar { width: 3px; height: 15px; border-radius: 2px; background: linear-gradient(180deg, var(--primary), var(--primary-2)); }
.result-meta { font-size: 11.5px; color: var(--text-3); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  gap: 16px;
  padding-bottom: 70px;
}
.grid.list-view { grid-template-columns: 1fr; gap: 10px; }

.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface-glass);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(150deg, var(--primary-glow) 0%, transparent 46%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.card::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
  opacity: .55;
}
[data-theme="dark"] .card::after { background: linear-gradient(90deg, transparent, rgba(140, 196, 255, .3), transparent); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card:hover::before { opacity: 1; }

.card-top { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 14px; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
  transition: transform .3s var(--ease);
}
.card:hover .card-icon { transform: scale(1.06) rotate(-3deg); }
.card-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card-title-wrap { flex: 1; min-width: 0; }
.card-title { font-size: 14.5px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 3px; display: flex; align-items: center; gap: 8px; }
.card-title span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-cat { font-size: 10px; color: var(--text-3); font-weight: 550; letter-spacing: .02em; }

.status {
  flex: none;
  display: inline-flex; align-items: center; gap: 4px;
  height: 20px; padding: 0 8px; border-radius: 999px;
  margin-top: 1px;
  font-size: 9.5px; font-weight: 650; white-space: nowrap;
  border: 1px solid transparent;
}
.status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.status.online { color: var(--ok); background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 22%, transparent); }
.status.maintenance { color: var(--warn); background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 22%, transparent); }
.status.offline { color: var(--danger); background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 22%, transparent); }
.status.online i { animation: pulse 2.4s var(--ease) infinite; }

.card-desc {
  font-size: 12px; color: var(--text-2); line-height: 1.72;
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
  min-height: 41px;
}

.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tag {
  font-size: 9.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px;
  background: var(--surface-2); color: var(--text-3);
  border: 1px solid var(--border);
}

.card-foot {
  display: flex; align-items: center; gap: 8px;
  padding-top: 13px; border-top: 1px solid var(--border);
}
.card-url {
  flex: 1; min-width: 0;
  font-family: var(--mono); font-size: 10.5px; color: var(--text-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card-go {
  flex: none;
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 8px;
  color: var(--primary); background: var(--primary-soft);
  transition: .22s var(--ease);
}
.card-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .22s var(--ease); }
.card:hover .card-go { background: var(--primary); color: #fff; }
.card:hover .card-go svg { transform: translate(2px, -2px); }

.card.is-offline { opacity: .62; }
.card.is-offline:hover { opacity: .88; }

/* 列表模式 */
.list-view .card { flex-direction: row; align-items: center; gap: 16px; padding: 15px 18px; }
.list-view .card-top { margin: 0; flex: 1; min-width: 0; align-items: center; }
.list-view .card-desc { display: none; }
.list-view .card-tags { display: none; }
.list-view .card-foot { border: 0; padding: 0; flex: none; gap: 12px; }
.list-view .card-url { display: none; }

/* 骨架 / 空态 */
.skeleton { height: 190px; border-radius: var(--radius); background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface) 50%, var(--surface-2) 70%); background-size: 220% 100%; animation: shimmer 1.4s infinite linear; border: 1px solid var(--border); }
@keyframes shimmer { 0% { background-position: 140% 0; } 100% { background-position: -40% 0; } }

.empty {
  grid-column: 1 / -1;
  padding: 76px 20px; text-align: center;
}
.empty-ico {
  width: 62px; height: 62px; border-radius: 18px; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-3);
}
.empty-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.empty h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.empty p { font-size: 12px; color: var(--text-3); }

/* ----------------------------- 关于 / 页脚 ----------------------------- */
.about {
  margin: 20px 0 60px;
  padding: 40px;
  border-radius: 22px;
  background: var(--surface-glass);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: center;
}
.about h2 { font-size: 21px; font-weight: 750; letter-spacing: -.025em; margin-bottom: 12px; }
.about p { font-size: 12.5px; color: var(--text-2); line-height: 1.85; }
.about p + p { margin-top: 10px; }
.about-list { display: flex; flex-direction: column; gap: 10px; }
.about-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px; border-radius: 13px;
  background: var(--surface); border: 1px solid var(--border);
  transition: .22s var(--ease);
}
.about-item:hover { transform: translateX(3px); border-color: var(--border-strong); }
.about-item-ico {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary);
}
.about-item-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.about-item strong { display: block; font-size: 12.5px; font-weight: 650; }
.about-item span { display: block; font-size: 10.5px; color: var(--text-3); margin-top: 1px; }

.footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 40px;
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 26px; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand .brand-mark { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
.footer-brand strong { font-size: 13px; font-weight: 700; }
.footer-brand span { display: block; font-size: 10px; color: var(--text-3); margin-top: 2px; }
.footer-cols { display: flex; gap: 46px; flex-wrap: wrap; }
.footer-col h4 { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 11px; }
.footer-col a, .footer-col li { display: block; font-size: 12px; color: var(--text-2); line-height: 2; transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-col ul { list-style: none; }
.footer-bottom {
  padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11px; color: var(--text-3);
}
.footer-bottom .tech { display: flex; gap: 7px; flex-wrap: wrap; }
.footer-bottom .tech span {
  padding: 3px 9px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 10px; font-family: var(--mono);
}

/* 回到顶部 */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); color: var(--text-2);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--primary); border-color: var(--primary); }
.to-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }

/* ----------------------------- 响应式 ----------------------------- */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 26px; padding: 30px 24px; }
  .hero { padding: 112px 0 26px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 30px); }
  .nav-links { display: none; }
  .topbar { height: 60px; }
  .brand-text strong { font-size: 13px; }
  .brand-text span { font-size: 8px; }
  .hero { padding: 96px 0 20px; }
  .hero-stats { gap: 8px; }
  .hero-stat { padding: 7px 12px; }
  .hero-stat b { font-size: 15px; }
  .grid { grid-template-columns: 1fr; gap: 12px; padding-bottom: 50px; }
  .card { padding: 17px; }
  .grid-head { margin: 26px 0 14px; }
  .filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .footer { padding: 26px 0 30px; }
  .footer-cols { gap: 28px; }
  .footer-bottom { font-size: 10.5px; }
  .about { padding: 24px 18px; margin-bottom: 44px; }
  .about h2 { font-size: 18px; }
  .to-top { right: 14px; bottom: 14px; }
  .search-box input { height: 44px; font-size: 16px; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 26px; }
  .admin-link { padding: 0 11px; font-size: 11px; }
  .admin-link span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
