:root {
  --bg: #f3eadc;
  --paper: #fff8ee;
  --ink: #261c14;
  --muted: #746557;
  --brick: #8f3d24;
  --leaf: #3a4d40;
  --line: #e2d3bf;
  --shadow: 0 10px 28px rgba(38, 28, 20, 0.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, #fff7ea 0%, transparent 55%),
    var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
a { color: var(--leaf); }
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.6rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 238, 0.92);
  backdrop-filter: blur(8px);
}
.logo {
  color: var(--ink);
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 650;
}
.logo span { color: var(--brick); }
nav { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
nav a {
  color: var(--leaf);
  text-decoration: none;
  padding: .35rem .65rem;
  border-radius: 999px;
}
nav a:hover { background: #f0e6d6; }
.nav-album {
  background: var(--leaf);
  color: #fff8ee !important;
}
main { max-width: 1120px; margin: 0 auto; padding: 1.8rem 1.4rem 3rem; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 650; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0 0 .6rem; }
h2 { margin: 2.2rem 0 .9rem; font-size: 1.45rem; }
.lede { font-size: 1.15rem; max-width: 40rem; color: var(--muted); margin-bottom: 1.4rem; }
.muted { color: var(--muted); }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.2rem 0 2rem; }
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.highlight, .card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: block;
  transition: transform .15s ease, box-shadow .15s ease;
}
.highlight { padding: .85rem .9rem 1.1rem; }
.highlight:hover, .card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(38,28,20,.1); }
.highlight img, .card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f4eadb;
}
.highlight img { margin: .55rem 0 .7rem; border-radius: 10px; }
.card { padding: .75rem; }
.card strong, .highlight strong { display: block; margin-top: .35rem; }
.badge {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--leaf);
  color: #fff8ee;
  padding: .2rem .5rem;
  border-radius: 999px;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 1rem; }
.scarcity { font-size: .9rem; color: var(--brick); margin-top: .2rem; }
.fig-hero {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.6rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}
.fig-hero > img {
  width: 100%;
  border-radius: 12px;
  background: #f4eadb;
}
.fig-copy { grid-column: 1 / -1; }
.stats { display: flex; gap: .8rem; flex-wrap: wrap; }
.stat {
  background: #f7efe3;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem 1rem;
  min-width: 7.5rem;
}
.stat strong { font-family: Fraunces, Georgia, serif; font-size: 1.4rem; }
.serie-form .fig-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: .9rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .65rem .8rem;
  margin-bottom: .55rem;
}
.serie-form img { width: 84px; height: 84px; object-fit: contain; background: #f4eadb; border-radius: 10px; }
.checks { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.checks label { font-size: .95rem; }
.album-box {
  margin-top: 1rem;
  padding: 1rem;
  background: #f7efe3;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.album-box .checks { margin: .6rem 0 .8rem; }
.sticky-save {
  position: sticky;
  bottom: .8rem;
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}
button, .btn {
  background: var(--leaf);
  color: #fff8ee;
  border: 0;
  border-radius: 999px;
  padding: .7rem 1.2rem;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn.ghost {
  background: transparent;
  color: var(--leaf);
  border: 1px solid var(--leaf);
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
  margin: 1rem 0 1.4rem;
}
.panel h2 { margin-top: 0; }
.share-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.share-row input[type=text], .panel input[type=text], .panel textarea {
  flex: 1;
  min-width: 12rem;
  font: inherit;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf8;
}
.panel textarea { width: 100%; min-height: 4.5rem; margin-top: .5rem; }
.meta-form { display: grid; gap: .55rem; max-width: 36rem; }
table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
footer {
  padding: 2rem 1.4rem;
  color: var(--muted);
  font-size: .88rem;
  border-top: 1px solid var(--line);
}
.empty { color: var(--muted); padding: .4rem 0 1rem; }
@media (max-width: 800px) {
  .highlights { grid-template-columns: 1fr; }
  .fig-hero { grid-template-columns: 1fr; }
  .serie-form .fig-row { grid-template-columns: 70px 1fr; }
}
