/* Ethan Ridgely — ERIDG. Per-boss art layer (BUILD-PLAN C6).
   Oil Black ground with a felt-green undertone, a cuban-link border on one edge, seven chips along the base.
   No labels, no cash, no gambling claims: the chips are season markers, nothing more.
   Motifs: ethan-ridgely/chain.svg, ethan-ridgely/chips.svg (hand-authored, no text, no faces). */

body[data-manager-slug="ethan-ridgely"] {
  --team-field: #15130F;
  --team-band: #1E6B47;
  --team-accent: #C98A2E;
  --team-accent-2: #E8DCC3;
  --team-light: #E8DCC3;
  --team-ink: #0A0806;
  --boss-ground: radial-gradient(120% 90% at 30% 0%, rgba(30, 107, 71, .34) 0%, rgba(21, 19, 15, .6) 48%, rgba(12, 13, 16, 0) 76%);
  --boss-motif: url("ethan-ridgely/chips.svg");
  --boss-motif-edge: url("ethan-ridgely/chain.svg");
  --boss-rule: rgba(201, 138, 46, .55);
}

/* ---------- hero ground: oil black over felt green, chain on the left edge, chips at the base ---------- */
body[data-manager-slug="ethan-ridgely"] .pt-b-hero { position: relative; isolation: isolate; }
body[data-manager-slug="ethan-ridgely"] .pt-b-hero::before {
  content: "";
  position: absolute;
  inset: -32px -24px -24px -24px;
  z-index: -1;
  border-radius: 28px;
  background: var(--boss-motif) center bottom 8px / 980px auto no-repeat, var(--boss-ground);
  pointer-events: none;
}
body[data-manager-slug="ethan-ridgely"] .pt-b-hero::after {
  content: "";
  position: absolute;
  top: -32px;
  left: -38px;
  bottom: -24px;
  width: 32px;
  z-index: -1;
  background: var(--boss-motif-edge) center / 32px auto repeat-y;
  opacity: .85;
  pointer-events: none;
}

/* ---------- portrait rim: amber on oil black ---------- */
body[data-manager-slug="ethan-ridgely"] .pt-b-portrait {
  border-color: rgba(201, 138, 46, .5);
  box-shadow: 0 0 0 1px rgba(201, 138, 46, .2), 0 30px 60px -30px rgba(30, 107, 71, .9);
}

/* ---------- numerals in Cognac Amber; secondary labels in Felt Cream ---------- */
body[data-manager-slug="ethan-ridgely"] .pt-b-c-n,
body[data-manager-slug="ethan-ridgely"] .pt-b-now-card-n,
body[data-manager-slug="ethan-ridgely"] .pt-b-fact-n,
body[data-manager-slug="ethan-ridgely"] .pt-b-numeral,
body[data-manager-slug="ethan-ridgely"] .pt-b-ch-fig-n { color: var(--team-accent); }
body[data-manager-slug="ethan-ridgely"] .pt-eb-ac { color: var(--team-accent); }
body[data-manager-slug="ethan-ridgely"] .pt-b-badge-ac { background: var(--team-accent); color: var(--team-ink); }
body[data-manager-slug="ethan-ridgely"] .pt-b-ch-eyebrow,
body[data-manager-slug="ethan-ridgely"] .pt-b-ch-stamp { color: var(--team-accent-2); }

/* ---------- chapter rules: amber hairline per chapter head, green-edged ledgers ---------- */
body[data-manager-slug="ethan-ridgely"] .pt-sec-head,
body[data-manager-slug="ethan-ridgely"] .pt-b-ch-head { border-top: 1px solid var(--boss-rule); }
body[data-manager-slug="ethan-ridgely"] .pt-b-ch[data-layout="ledger"] tbody tr,
body[data-manager-slug="ethan-ridgely"] .pt-b-ch[data-layout="timeline"] tbody tr { border-color: rgba(47, 138, 94, .3); }
body[data-manager-slug="ethan-ridgely"] .pt-b-ch .pt-card { border-color: rgba(201, 138, 46, .2); }
body[data-manager-slug="ethan-ridgely"] .pt-b-ch .pt-win { color: var(--team-accent); }

/* ---------- motion: the chain settles, the chips fade up; static under reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  body[data-manager-slug="ethan-ridgely"] .pt-b-hero::after { animation: er-chain 900ms cubic-bezier(.16, 1, .3, 1) both; }
  body[data-manager-slug="ethan-ridgely"] .pt-b-hero::before { animation: er-chips 1200ms 120ms cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes er-chain { from { opacity: 0; transform: translateY(-10px); } to { opacity: .85; transform: none; } }
  @keyframes er-chips { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 767px) {
  body[data-manager-slug="ethan-ridgely"] .pt-b-hero::before { inset: -20px -16px -16px -16px; border-radius: 20px; background-size: 560px auto, auto; }
}
/* The chain hangs in the page gutter, clear of the text column (verify, 2026-10-24: it ran under the
   first letter of the breadcrumb, eyebrow, name and team at 390 and 1440 px). */
@media (max-width: 640px) {
  body[data-manager-slug="ethan-ridgely"] .pt-b-hero::after { left: -17px; width: 14px; background-size: 14px auto; }
}
