/* Lychee Shop — base tokens & elements.
   Editorial art-market skeleton: flat surfaces, hairlines, restrained radius. */
:root {
  --base: #FAFAF7; --surface: #FFFFFF; --ink: #111111; --muted: #6B6B66;
  --lychee-red: #E8475F; --ink-blue: #12324A; --toxic-cyan: #00B8C8; --poster-yellow: #F5C542;
  --hairline: rgba(17,17,17,.12);
  --hairline-strong: rgba(17,17,17,.28);
  --series-accent: var(--toxic-cyan);
  --radius: 6px; --radius-sm: 4px;
  --shadow-card: 0 1px 2px rgba(17,17,17,.05);
  --shadow-lift: 0 10px 28px rgba(17,17,17,.10);
  --container: 1280px; --gutter: 24px;
  --bp-sm: 640px; --bp-md: 768px; --bp-lg: 1024px; --bp-xl: 1280px;
  --font-display: Fraunces, Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--base); color: var(--ink);
  font-family: var(--font-body); font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--wp--preset--font-size--xx-large, clamp(2.5rem,1.8rem + 3vw,4.5rem)); }
h2 { font-size: var(--wp--preset--font-size--x-large, clamp(2rem,1.5rem + 2vw,3rem)); }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--lychee-red); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--lychee-red); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--radius-sm); }

.ly-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ly-eyebrow {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .16em;
  font-weight: 600; color: var(--muted); margin: 0 0 .75rem;
}
.ly-btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  font: inherit; font-weight: 600; cursor: pointer; padding: .8rem 1.6rem;
  border-radius: var(--radius); border: 1px solid var(--ink); background: var(--ink); color: var(--surface);
  text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.ly-btn:hover { background: var(--lychee-red); border-color: var(--lychee-red); color: #fff; transform: translateY(-1px); }
.ly-btn--ghost { background: transparent; color: var(--ink); }
.ly-btn--ghost:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* Lightweight card / UI badges */
.ly-badge {
  display: inline-block; font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; line-height: 1;
  padding: .35rem .55rem; border-radius: var(--radius-sm);
}
.ly-badge--new { background: var(--poster-yellow); color: var(--ink); }
.ly-badge--mto { background: rgba(255,255,255,.92); color: var(--muted); border: 1px solid var(--hairline); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ly-woo-main { padding-block: 2.5rem 4.5rem; }
.ly-archive-header { margin-bottom: 2.25rem; }
.ly-archive-title { margin: 0; }
.ly-archive-intro { color: var(--muted); max-width: 60ch; margin: .5rem 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
