/* Site 019 refresh, 2026-05-06 */
body.site-19 {
  --cp19-width: 1400px;
  --cp19-ink: #191716;
  --cp19-muted: #625a52;
  --cp19-paper: #fffdf8;
  --cp19-dark: #27211c;
  --cp19-wood: #9a5c24;
  --cp19-green: #486a45;
  --cp19-line: #d7c7b6;
  --site-primary: var(--cp19-dark);
  --site-accent: var(--cp19-green);
  --site-background: #f7f2ea;
  color: var(--cp19-ink);
  background:
    linear-gradient(90deg, rgba(39, 33, 28, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(154, 92, 36, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #f7f2ea 0%, #f4f7f1 48%, #fffdf8 100%) !important;
  background-size: 34px 34px, 34px 34px, auto;
}

body.site-19 .site-header,
body.site-19 [class*="site-header"],
body.site-19 header[role="banner"] {
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(39, 33, 28, 0.16);
  box-shadow: 0 8px 24px rgba(39, 33, 28, 0.08);
}

body.site-19 .site-header .container {
  max-width: var(--cp19-width);
  width: min(calc(100% - 32px), var(--cp19-width));
}

body.site-19 .site-header .logo {
  min-width: 0;
}

body.site-19 .site-header .site-name {
  max-width: 48vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp19-home,
.cp19-list,
.cp19-detail {
  box-sizing: border-box;
  width: min(calc(100% - 32px), var(--cp19-width));
  max-width: var(--cp19-width);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 54px) 0 64px;
  color: var(--cp19-ink);
}

.cp19-hero,
.cp19-page-header {
  box-sizing: border-box;
  border: 1px solid rgba(39, 33, 28, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 253, 248, 0.96), rgba(244, 247, 241, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 33px, rgba(39, 33, 28, 0.06) 33px 34px);
  box-shadow: 0 18px 44px rgba(39, 33, 28, 0.13);
}

.cp19-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: 520px;
  padding: clamp(28px, 5vw, 72px);
}

.cp19-hero-copy {
  min-width: 0;
}

.cp19-kicker {
  margin: 0 0 12px;
  color: var(--cp19-wood);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp19-hero h1,
.cp19-page-header h1 {
  max-width: 820px;
  margin: 0;
  color: var(--cp19-ink);
  font-size: clamp(2.45rem, 6vw, 5.65rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.cp19-page-header {
  padding: clamp(26px, 5vw, 58px);
  margin-bottom: 24px;
}

.cp19-page-header h1 {
  font-size: clamp(2.1rem, 5vw, 4.25rem);
}

.cp19-lede {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--cp19-muted);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.cp19-actions,
.cp19-set-grid,
.cp19-set-switcher .set-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cp19-actions {
  margin-top: 30px;
}

.cp19-btn,
.cp19-fast-grid a,
.cp19-set-grid a,
.cp19-set-switcher .set-btn {
  min-height: 44px;
  border-radius: 8px;
  text-decoration: none;
}

.cp19-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--cp19-dark);
  font-weight: 850;
}

.cp19-btn-primary {
  background: var(--cp19-dark);
  color: #fff;
}

.cp19-btn-secondary {
  background: var(--cp19-paper);
  color: var(--cp19-dark);
}

.cp19-board {
  box-sizing: border-box;
  justify-self: end;
  width: min(100%, 500px);
  border: 1px solid rgba(39, 33, 28, 0.22);
  border-radius: 8px;
  background: #fff;
  padding: clamp(14px, 3vw, 26px);
  box-shadow: 0 22px 50px rgba(39, 33, 28, 0.14);
}

.cp19-rank {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.cp19-rank span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: #f3dfc1;
  color: var(--cp19-dark);
  font-size: clamp(1.15rem, 3vw, 2.2rem);
  font-weight: 850;
}

.cp19-rank .dark {
  background: #6b4c2f;
  color: #fff8e8;
}

.cp19-board-note {
  margin-top: 14px;
  color: var(--cp19-muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.cp19-fast-grid,
.cp19-card-grid,
.cp19-list-grid,
.cp19-seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.cp19-fast-grid a,
.cp19-card-grid > a,
.cp19-list-grid > li > a,
.cp19-seo-grid > *,
.cp19-copy-band,
.cp19-section,
.cp19-stage,
.cp19-set-switcher {
  border: 1px solid rgba(39, 33, 28, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 12px 30px rgba(39, 33, 28, 0.08);
}

.cp19-fast-grid a {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: var(--cp19-ink);
}

.cp19-fast-grid span {
  color: var(--cp19-green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cp19-fast-grid small,
.cp19-list-grid .description,
.cp19-copy-band {
  color: var(--cp19-muted);
}

.cp19-section,
.cp19-copy-band,
.cp19-stage,
.cp19-set-switcher {
  margin: 24px 0;
  padding: clamp(20px, 3vw, 34px);
}

.cp19-section h2,
.cp19-section-header h2 {
  margin-top: 0;
  color: var(--cp19-ink);
}

.cp19-card-grid,
.cp19-list-grid,
.cp19-set-grid {
  padding: 0;
  list-style: none;
}

.cp19-card-grid > a,
.cp19-list-grid > li > a {
  display: block;
  height: 100%;
  padding: 18px;
  color: var(--cp19-ink);
  text-decoration: none;
}

.cp19-list-grid .name {
  display: block;
  font-weight: 850;
}

.cp19-list-grid .description {
  display: block;
  margin-top: 8px;
  line-height: 1.45;
}

.cp19-set-grid a,
.cp19-set-switcher .set-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 10px 14px;
  border: 1px solid rgba(39, 33, 28, 0.22);
  background: #fff;
  color: var(--cp19-dark);
  font-weight: 850;
}

.cp19-set-switcher .set-btn.active {
  background: var(--cp19-dark);
  color: #fff;
}

.cp19-stage {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(244, 247, 241, 0.96)),
    linear-gradient(90deg, rgba(39, 33, 28, 0.055) 1px, transparent 1px);
  background-size: auto, 32px 32px;
  overflow: hidden;
}

.cp19-stage #detail-atom-mount {
  min-height: 420px;
}

.cp19-atom-skeleton {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.cp19-atom-skeleton span {
  min-height: 86px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(39, 33, 28, 0.09), rgba(72, 106, 69, 0.12));
}

.cp19-breadcrumb {
  margin-bottom: 18px;
}

.cp19-breadcrumb ol {
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .cp19-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cp19-board {
    justify-self: stretch;
  }

  .cp19-fast-grid,
  .cp19-card-grid,
  .cp19-list-grid,
  .cp19-seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.site-19 .site-header .site-name {
    display: none !important;
  }

  .cp19-home,
  .cp19-list,
  .cp19-detail {
    width: min(calc(100% - 24px), var(--cp19-width));
    padding-top: 18px;
  }

  .cp19-hero,
  .cp19-page-header,
  .cp19-section,
  .cp19-copy-band,
  .cp19-stage,
  .cp19-set-switcher {
    padding: 18px;
  }

  .cp19-hero {
    display: block !important;
    min-height: 0;
    overflow: hidden;
  }

  .cp19-hero-copy {
    display: block !important;
  }

  .cp19-kicker,
  .cp19-lede,
  .cp19-hero h1 {
    max-width: 100% !important;
    text-align: left;
  }

  .cp19-lede {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .cp19-hero h1,
  .cp19-page-header h1 {
    font-size: clamp(2.05rem, 11vw, 2.9rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .cp19-actions {
    margin-top: 18px;
  }

  .cp19-actions .cp19-btn {
    width: 100%;
  }

  .cp19-board {
    width: 100%;
    margin-top: 18px;
    padding: 12px;
  }

  .cp19-rank span {
    font-size: clamp(0.88rem, 6vw, 1.45rem);
  }

  .cp19-fast-grid,
  .cp19-card-grid,
  .cp19-list-grid,
  .cp19-seo-grid,
  .cp19-atom-skeleton {
    grid-template-columns: 1fr;
  }
}
