/* ============================================================
   Avatar Cartoon Studio — Global Design System
   Mobile-first (375px base). Tokens per BUILD_SPEC §1.
   ============================================================ */

:root {
  --c-primary: #FF5A3C;
  --c-primary-dark: #E03E1F;
  --c-ink: #1F2430;
  --c-sub: #5B6472;
  --c-bg: #FFFBF7;
  --c-card: #FFFFFF;
  --c-gold: #FFB020;
  --c-green: #16A34A;
  --c-line: #EDE7DE;
  --c-cat-avatar: #FFE9E2;
  --c-cat-effects: #E5F6EF;
  --c-cat-utils: #FFF3D6;
  --c-cat-avatar-ink: #C2410C;
  --c-cat-effects-ink: #047857;
  --c-cat-utils-ink: #B45309;

  --radius-card: 18px;
  --radius-ctrl: 12px;
  --radius-pill: 999px;

  --shadow-card: 0 8px 30px rgba(31,36,48,.08);
  --shadow-card-hover: 0 14px 40px rgba(31,36,48,.14);

  --container: 1200px;
  --header-h: 64px;

  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-bg);
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 16px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.container {
  max-width: var(--container);
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 16px; line-height: 1.2;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn-primary {
  background: var(--c-primary); color: #fff;
  box-shadow: 0 6px 20px rgba(255,90,60,.35);
}
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: var(--c-card); color: var(--c-ink);
  border: 1.5px solid var(--c-line);
}
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,251,247,.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex; align-items: center; gap: 12px;
  height: var(--header-h);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 17px; color: var(--c-ink);
  min-height: 44px; flex-shrink: 1; min-width: 0;
  overflow: hidden;
}
.logo:hover { color: var(--c-ink); }
.logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.logo-text {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 15px;
}
.header-actions {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.nav-desktop { display: none; }

.lang-switch {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--c-line); border-radius: var(--radius-pill);
  overflow: hidden; min-height: 40px; flex-shrink: 0;
  background: var(--c-card);
}
.lang-switch button {
  padding: 6px 10px; font-size: 13px; font-weight: 600;
  color: var(--c-sub); min-height: 40px; white-space: nowrap;
}
.lang-switch button.active {
  background: var(--c-primary); color: #fff;
}
.header-contact { display: none; }
.btn-gopro {
  display: none;
  align-items: center; gap: 6px;
  min-height: 40px; padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #FFB020, #FF5A3C);
  color: #fff; font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.hamburger {
  width: 44px; height: 44px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-ink); flex-shrink: 0;
}
.hamburger:hover { background: var(--c-cat-avatar); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--c-line);
  background: var(--c-bg);
  padding: 8px 20px 16px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: flex; align-items: center; min-height: 48px;
  padding: 12px 4px; font-weight: 600; color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.active { color: var(--c-primary); }

@media (min-width: 768px) {
  .nav-desktop {
    display: flex; align-items: center; gap: 4px;
    margin-left: 16px;
  }
  .nav-desktop a {
    display: inline-flex; align-items: center; min-height: 44px;
    padding: 0 12px; font-weight: 600; font-size: 15px;
    color: var(--c-sub); border-radius: 8px;
  }
  .nav-desktop a:hover { color: var(--c-primary); background: var(--c-cat-avatar); }
  .nav-desktop a.active { color: var(--c-primary); }
  .header-contact { display: inline-flex; }
  .btn-gopro { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  border-radius: 0 0 28px 28px;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255,251,247,.72) 0%, rgba(255,251,247,.92) 70%, var(--c-bg) 100%);
}
.hero-inner {
  padding: 64px 0 56px;
  text-align: center;
}
.hero h1 { max-width: 18ch; margin: 0 auto .35em; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--c-sub);
  max-width: 620px; margin: 0 auto 28px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-badges {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}

/* ---------- Badges / chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; line-height: 1.4;
}
.chip-local { background: #E5F6EF; color: var(--c-cat-effects-ink); }
.chip-free { background: var(--c-cat-avatar); color: var(--c-cat-avatar-ink); }
.chip-2k { background: var(--c-cat-utils); color: var(--c-cat-utils-ink); }
.chip-cat-avatar { background: var(--c-cat-avatar); color: var(--c-cat-avatar-ink); }
.chip-cat-effects { background: var(--c-cat-effects); color: var(--c-cat-effects-ink); }
.chip-cat-utils { background: var(--c-cat-utils); color: var(--c-cat-utils-ink); }
.chip-outline {
  background: var(--c-card); color: var(--c-sub);
  border: 1px solid var(--c-line);
}

/* ---------- Sections ---------- */
.section { padding-block: 48px; }
.section-head { margin-bottom: 28px; }
.section-head h2 { margin-bottom: 6px; }
.section-head p { color: var(--c-sub); margin: 0; max-width: 640px; }

/* ---------- Card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1440px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Tool card (photo background) ---------- */
.tool-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius-card); overflow: hidden;
  background: var(--c-card);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 240px;
  text-decoration: none; color: #fff;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); color: #fff; }
.tool-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.tool-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,22,28,0) 20%, rgba(20,22,28,.55) 60%, rgba(20,22,28,.88) 100%);
}
.tool-card-body {
  position: relative; z-index: 2;
  margin-top: auto; padding: 16px;
}
.tool-card-cat { margin-bottom: 8px; }
.tool-card-title {
  font-size: 1.1rem; font-weight: 800; margin: 0 0 4px;
  color: #fff; overflow-wrap: break-word;
}
.tool-card-desc {
  font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.88);
  margin: 0; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s ease;
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn svg { width: 22px; height: 22px; }
.fav-btn.is-fav svg { fill: var(--c-gold); stroke: var(--c-gold); }

/* Category card */
.cat-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-card); min-height: 200px;
  box-shadow: var(--shadow-card); text-decoration: none; color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); color: #fff; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,22,28,.05) 0%, rgba(20,22,28,.72) 100%);
}
.cat-card-body { position: relative; z-index: 2; padding: 20px; margin-top: auto; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.cat-card-body h3 { color: #fff; margin: 0 0 4px; }
.cat-card-body p { color: rgba(255,255,255,.88); font-size: 14px; margin: 0; }

/* Article card */
.article-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius-card); overflow: hidden;
  background: var(--c-card); box-shadow: var(--shadow-card);
  text-decoration: none; color: var(--c-ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); color: var(--c-ink); }
.article-card-img { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 16px; }
.article-card-meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 12px; color: var(--c-sub); margin-bottom: 8px;
}
.article-card-title {
  font-size: 1.05rem; font-weight: 800; margin: 0 0 6px;
  line-height: 1.35; overflow-wrap: break-word;
}

/* ---------- Feature strip ---------- */
.feature-strip {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  background: var(--c-card); border-radius: var(--radius-card);
  padding: 20px; box-shadow: var(--shadow-card);
}
@media (min-width: 640px) { .feature-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-strip { grid-template-columns: repeat(4, 1fr); } }
.feature-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 8px;
}
.feature-item svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--c-primary); }
.feature-item strong { display: block; font-size: 15px; }
.feature-item span { font-size: 13px; color: var(--c-sub); line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--c-card); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 18px 20px; margin-bottom: 12px;
}
.faq-item h3 { font-size: 1.05rem; margin: 0 0 8px; }
.faq-item p { margin: 0; color: var(--c-sub); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 48px; padding: 40px 0 24px;
  background: #1F2430; color: #C9CFDA;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  margin-bottom: 28px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer a { color: #C9CFDA; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { display: inline-block; padding: 4px 0; }
.footer-badges { display: flex; flex-direction: column; gap: 10px; }
.footer-badge { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.footer-badge svg { width: 20px; height: 20px; color: var(--c-gold); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px;
  font-size: 13px; color: #8B93A3; text-align: center;
}

/* ---------- Cookie bar ---------- */
.cookie-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 200;
  background: var(--c-card); border-radius: var(--radius-card);
  box-shadow: 0 12px 40px rgba(31,36,48,.2);
  padding: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  border: 1px solid var(--c-line);
}
@media (min-width: 768px) { .cookie-bar { left: 24px; right: auto; max-width: 520px; } }
.cookie-bar p { margin: 0; flex: 1 1 220px; font-size: 14px; color: var(--c-sub); }
.cookie-bar .cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 16px 0 0; font-size: 14px; color: var(--c-sub);
}
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--c-line); }
.breadcrumb a { color: var(--c-sub); }
.breadcrumb a:hover { color: var(--c-primary); }

/* ---------- Tool page layout ---------- */
.tool-head { padding: 24px 0 8px; }
.tool-head h1 { margin-bottom: 8px; }
.tool-head p.tool-desc { color: var(--c-sub); max-width: 680px; margin: 0 0 14px; }
.tool-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }

.tool-layout {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  padding: 20px 0 40px;
}
@media (min-width: 1024px) {
  .tool-layout { grid-template-columns: 360px 1fr; align-items: start; }
}
.tool-controls {
  background: var(--c-card); border-radius: var(--radius-card);
  padding: 20px; box-shadow: var(--shadow-card);
}
.tool-preview {
  background: var(--c-card); border-radius: var(--radius-card);
  padding: 20px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 16px;
}
.upload-zone {
  border: 2px dashed var(--c-line); border-radius: var(--radius-card);
  padding: 28px 16px; text-align: center; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  background: var(--c-bg);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--c-primary); background: var(--c-cat-avatar);
}
.upload-zone svg { width: 40px; height: 40px; margin: 0 auto 8px; color: var(--c-primary); }
.upload-zone p { margin: 4px 0; color: var(--c-sub); font-size: 14px; }
.upload-zone .btn { margin-top: 8px; }

.ctrl-row { margin-bottom: 16px; }
.ctrl-row label {
  display: flex; justify-content: space-between;
  font-size: 14px; font-weight: 600; margin-bottom: 6px;
}
.ctrl-row input[type="range"] { width: 100%; accent-color: var(--c-primary); min-height: 32px; }
.ctrl-row select, .ctrl-row input[type="text"] {
  width: 100%; padding: 10px 12px; border-radius: var(--radius-ctrl);
  border: 1.5px solid var(--c-line); background: var(--c-bg);
}
.ctrl-row input[type="color"] {
  width: 100%; height: 44px; border-radius: var(--radius-ctrl);
  border: 1.5px solid var(--c-line); padding: 4px; background: var(--c-bg);
}
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; }
.preset-btn {
  padding: 8px 14px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-line); background: var(--c-bg);
  font-size: 14px; font-weight: 600; color: var(--c-sub); min-height: 40px;
}
.preset-btn.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

.canvas-wrap {
  position: relative; width: 100%; background:
    repeating-conic-gradient(#f1ece4 0% 25%, #fbf7f1 0% 50%) 0 0 / 20px 20px;
  border-radius: var(--radius-ctrl); overflow: hidden;
  min-height: 240px; display: flex; align-items: center; justify-content: center;
}
.canvas-wrap canvas, .canvas-wrap img { max-width: 100%; max-height: 60vh; }
.canvas-empty {
  padding: 40px 16px; color: var(--c-sub); text-align: center; font-size: 14px;
}

.export-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.export-row select {
  padding: 10px 12px; border-radius: var(--radius-ctrl);
  border: 1.5px solid var(--c-line); background: var(--c-bg); min-height: 48px;
}

/* Compare slider */
.compare-wrap { position: relative; overflow: hidden; border-radius: var(--radius-ctrl); }
.compare-wrap img, .compare-wrap canvas { width: 100%; display: block; }

/* ---------- Article page ---------- */
.article-hero {
  position: relative; border-radius: var(--radius-card); overflow: hidden;
  margin: 20px 0; box-shadow: var(--shadow-card);
}
.article-hero img { width: 100%; height: 320px; object-fit: cover; }
.article-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,28,0) 40%, rgba(20,22,28,.6) 100%);
}
.article-hero-inner {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 20px; color: #fff;
}
.article-hero-inner h1 { color: #fff; margin: 0 0 8px; font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.9);
}
.article-body {
  max-width: 780px; margin: 0 auto; padding: 24px 0;
  font-size: 17px; line-height: 1.8;
}
.article-body h2 { margin-top: 1.6em; }
.article-body h3 { margin-top: 1.3em; }
.article-body img { border-radius: var(--radius-card); margin: 1.2em 0; box-shadow: var(--shadow-card); }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body li { margin-bottom: .4em; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.article-body th, .article-body td { border: 1px solid var(--c-line); padding: 10px; text-align: left; }
.article-body th { background: var(--c-bg); }

/* ---------- Pro modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,22,28,.55);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--c-card); border-radius: var(--radius-card);
  max-width: 440px; width: 100%; padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.modal h3 { margin-top: 0; }
.modal p { color: var(--c-sub); }
.modal .modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

/* ---------- Search box ---------- */
.search-box {
  position: relative; margin-bottom: 24px;
}
.search-box input {
  width: 100%; padding: 14px 16px 14px 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-line); background: var(--c-card);
  box-shadow: var(--shadow-card); font-size: 16px; min-height: 52px;
}
.search-box svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--c-sub);
}

/* ---------- Page header (sub pages) ---------- */
.page-head { padding: 32px 0 8px; }
.page-head h1 { margin-bottom: 8px; }
.page-head p { color: var(--c-sub); max-width: 680px; margin: 0; }

/* ---------- Legal / about content ---------- */
.prose { max-width: 780px; margin: 0 auto; padding: 24px 0; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.2em; }
.prose ul { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 620px; margin: 24px auto;
  background: var(--c-card); border-radius: var(--radius-card);
  padding: 24px; box-shadow: var(--shadow-card);
}
.contact-form .ctrl-row input,
.contact-form .ctrl-row textarea {
  width: 100%; padding: 12px; border-radius: var(--radius-ctrl);
  border: 1.5px solid var(--c-line); background: var(--c-bg);
}
.contact-form .ctrl-row textarea { min-height: 140px; resize: vertical; }

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center; padding: 60px 20px;
  background: var(--c-card); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.empty-state svg { width: 56px; height: 56px; margin: 0 auto 12px; color: var(--c-line); }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--c-sub); margin-bottom: 16px; }

/* ---------- Misc ---------- */
.text-sub { color: var(--c-sub); }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.hidden { display: none !important; }

/* ---------- 4K / large screens ---------- */
@media (min-width: 1920px) {
  :root { --container: 1280px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
