/* Pósters editados del Sensei: tres propuestas (D, E, F) */
.poster {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 4 / 5; width: 100%;
  isolation: isolate;
  container-type: inline-size;
  font-family: "Archivo", sans-serif;
  color: #fff;
}
.poster > * { position: absolute; margin: 0; }
.poster img { display: block; }

.p-grain {
  inset: 0; z-index: 30; pointer-events: none;
  opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.4 1.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- D · Grunge rojo (ref. Mylena) ---------- */
.poster-d { background: radial-gradient(75% 60% at 50% 38%, #ef6a45 0%, #c23a22 45%, #6a160c 100%); }
.pd-dots {
  inset: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: radial-gradient(#5a1006 34%, transparent 37%);
  background-size: 1.5cqw 1.5cqw;
  -webkit-mask-image: radial-gradient(60% 50% at 50% 42%, transparent 25%, #000 85%);
          mask-image: radial-gradient(60% 50% at 50% 42%, transparent 25%, #000 85%);
}
.pd-names {
  top: 1%; left: -3%; width: 106%;
  font: 900 23.5cqw/.84 "Big Shoulders Display", sans-serif; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: .3cqw rgba(255, 196, 176, .55);
}
.pd-names span { display: block; }
.pd-names span:first-child { -webkit-text-stroke-color: rgba(255, 226, 214, .95); }
.pd-sun {
  left: 50%; top: 21%; width: 70cqw; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 58%, rgba(255,255,255,.75) 66%, rgba(255,255,255,0) 71%);
  box-shadow: 0 0 9cqw rgba(255, 240, 230, .5);
}
.pd-kanji {
  right: 4%; top: 2.5%; z-index: 6;
  writing-mode: vertical-rl;
  font: 200 14.5cqw/1 "Noto Serif JP", serif;
  color: #f2ffff;
  text-shadow: 0 0 .6cqw #bff, 0 0 2.4cqw #29d3dc, 0 0 6cqw rgba(41, 211, 220, .6);
}
.pd-kanji-sm {
  left: 4%; top: 46%; z-index: 1;
  writing-mode: vertical-rl;
  font: 200 7cqw/1 "Noto Serif JP", serif;
  color: rgba(190, 255, 255, .55); text-shadow: 0 0 2cqw rgba(41, 211, 220, .7);
}
.pd-fig, .pd-fig-ghost, .pd-fig-tint { left: 50%; bottom: 4%; height: 86%; width: auto; transform: translateX(-50%); }
.pd-fig { z-index: 3; filter: contrast(1.18) saturate(.7) drop-shadow(0 2cqw 4cqw rgba(60, 0, 0, .45)); }
.pd-fig-ghost { z-index: 2; transform: translateX(calc(-50% + 1.6cqw)); opacity: .5; filter: grayscale(1) brightness(1.6) sepia(1) hue-rotate(140deg) saturate(3); mix-blend-mode: screen; }
.pd-fig-tint {
  z-index: 4; aspect-ratio: 814 / 1500; mix-blend-mode: multiply; opacity: .55;
  background: linear-gradient(180deg, #ffd9c8 0 12%, #7fdde6 30%, #a8e8ee 70%, #e9a090 100%);
  -webkit-mask: url("img/cut-guardia.webp") center / 100% 100% no-repeat;
          mask: url("img/cut-guardia.webp") center / 100% 100% no-repeat;
}
.pd-torn-back {
  left: -4%; right: -4%; bottom: 0; height: 38%; z-index: 2;
  background: #f1ece6;
  clip-path: polygon(0 34%, 7% 30%, 11% 44%, 18% 38%, 21% 62%, 28% 55%, 33% 70%, 67% 70%, 72% 48%, 78% 54%, 82% 36%, 88% 42%, 93% 22%, 100% 28%, 100% 100%, 0 100%);
}
.pd-torn-front {
  left: -4%; right: -4%; bottom: 0; height: 17%; z-index: 7;
  background: #f1ece6;
  clip-path: polygon(0 30%, 6% 52%, 12% 22%, 19% 46%, 25% 30%, 31% 58%, 37% 36%, 44% 64%, 50% 40%, 56% 60%, 62% 30%, 69% 52%, 75% 26%, 82% 48%, 88% 20%, 94% 42%, 100% 24%, 100% 100%, 0 100%);
}
.pd-torn-front::after {
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply;
  background: radial-gradient(#b9a99a 30%, transparent 34%) 0 0 / 1cqw 1cqw;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%);
          mask-image: linear-gradient(180deg, #000, transparent 60%);
}
.pd-scratch {
  inset: 0; z-index: 5; pointer-events: none; opacity: .5;
  background:
    linear-gradient(104deg, transparent 49.6%, rgba(20,0,0,.7) 50%, transparent 50.4%) 0 0 / 100% 100%,
    linear-gradient(77deg, transparent 49.8%, rgba(255,255,255,.6) 50%, transparent 50.2%) 30% 0 / 60% 70% no-repeat;
}
.pd-logo { left: 5%; top: 23%; z-index: 6; width: 14cqw; height: auto; filter: drop-shadow(0 .5cqw 1cqw rgba(0,0,0,.5)); }
.pd-title { left: 6%; bottom: 3.6%; z-index: 8; color: #1a0b08; }
.pd-title b { display: block; font: 900 5.6cqw/.9 "Archivo", sans-serif; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.03em; }
.pd-title span { display: block; margin-top: 1cqw; font-size: 2.3cqw; font-weight: 700; color: #b0291a; }

/* ---------- E · Granate y oro (ref. Alan Silva) ---------- */
.poster-e { background: radial-gradient(70% 55% at 52% 52%, #b8141e 0%, #7a0b12 42%, #2c0306 100%); }
.pe-floor {
  left: -10%; right: -10%; bottom: -8%; height: 46%;
  background: radial-gradient(50% 55% at 50% 30%, rgba(225, 50, 50, .55), transparent 70%);
}
.pe-badge { left: 7%; top: 9%; width: 36cqw; aspect-ratio: 1; z-index: 1; }
.pe-badge::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2.6cqw solid #f0a62a;
  -webkit-mask: conic-gradient(from 20deg, transparent 0 48deg, #000 48deg 360deg);
          mask: conic-gradient(from 20deg, transparent 0 48deg, #000 48deg 360deg);
}
.pe-badge i {
  position: absolute; inset: 15%; border-radius: 50%; background: #fff;
  display: grid; place-items: center;
}
.pe-badge svg { width: 48%; color: #b8141e; }
.pe-year { left: 9%; top: 40%; z-index: 1; font: 900 6cqw/1 "Archivo", sans-serif; color: #f0a62a; letter-spacing: -.02em; }
.pe-head { left: 46%; top: 8.5%; z-index: 1; text-transform: uppercase; }
.pe-head b { display: block; font: 900 11.2cqw/.88 "Archivo", sans-serif; letter-spacing: -.04em; }
.pe-head .g { color: #f0a62a; }
.pe-head .s { font-size: 6.6cqw; letter-spacing: -.02em; }
.pe-sub {
  left: 7%; right: 4%; top: 49%; z-index: 1;
  font: 800 3.6cqw/1 "Archivo", sans-serif; letter-spacing: .32em; text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.pe-back {
  left: 0; right: 0; bottom: 21%; z-index: 2; text-align: center;
  font: 900 26cqw/.8 "Big Shoulders Display", sans-serif; text-transform: uppercase; font-style: italic;
  color: #f0a62a; opacity: .92; transform: skewX(-10deg);
}
.pe-fig {
  left: 50%; bottom: 3%; height: 82%; width: auto; transform: translateX(-52%); z-index: 3;
  filter: contrast(1.06) drop-shadow(0 0 3cqw rgba(255, 70, 70, .35));
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 97%);
          mask-image: linear-gradient(180deg, #000 78%, transparent 97%);
}
.pe-front {
  left: -2%; right: -2%; bottom: 7%; z-index: 4; text-align: center;
  font: 900 33cqw/.8 "Big Shoulders Display", sans-serif; text-transform: uppercase; font-style: italic;
  transform: skewX(-10deg);
  background: linear-gradient(180deg, #ffc24a 0%, #f0a62a 55%, #c27b12 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1.2cqw 1.6cqw rgba(30, 0, 0, .55));
}
.pe-foot {
  left: 0; right: 0; bottom: 2.4%; z-index: 5; padding: 0 5%;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 3cqw;
}
.pe-foot p { margin: 0; text-align: center; font-size: 1.75cqw; line-height: 1.35; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pe-brand { display: flex; align-items: center; gap: 1cqw; font: 900 2.6cqw/1 "Archivo", sans-serif; font-stretch: 125%; color: #f0a62a; text-transform: uppercase; }
.pe-brand svg { width: 3.6cqw; }
.pe-stamp { border: .3cqw solid #fff; padding: .6cqw 1cqw; font: 900 1.7cqw/1.05 "Archivo", sans-serif; text-transform: uppercase; text-align: center; }

/* ---------- F · Noche (ref. UFC 158) ---------- */
.poster-f { background: #04070b; }
.pf-clouds {
  left: 0; right: 0; top: 0; height: 58%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='420'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .016' numOctaves='5' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .32 0 0 0 0 .4 0 0 0 2.6 -1.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
  background-size: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.pf-pillar {
  left: 53%; top: 0; width: 23cqw; height: 60%; z-index: 1;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.9) 70%, transparent 100%);
}
.pf-word {
  left: 54.5%; top: 3%; z-index: 4;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 900 10cqw/.92 "Archivo", sans-serif; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.03em;
  background: linear-gradient(0deg, #8a5f0c 0%, #e7b53c 45%, #ffe29a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 2.2cqw rgba(231, 181, 60, .35));
}
.pf-meta {
  left: 78%; top: 3%; z-index: 4;
  writing-mode: vertical-rl;
  font: 600 2.1cqw/1.5 "Archivo", sans-serif; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
.pf-meta b { font-weight: 800; color: #fff; }
.pf-name {
  left: 48%; top: 6%; z-index: 4;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 500 2.6cqw/1 "Archivo", sans-serif; letter-spacing: .28em; text-transform: uppercase; color: #fff;
}
.pf-name b { color: #e7b53c; font-weight: 800; }
.pf-ghost {
  left: 14%; top: 12%; width: 40cqw; height: auto; z-index: 2;
  filter: grayscale(1) brightness(.95) contrast(1.25) sepia(.6) hue-rotate(170deg); opacity: .62;
  -webkit-mask-image: radial-gradient(50% 50% at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(50% 50% at 50% 40%, #000 30%, transparent 75%);
}
.pf-spot {
  left: 6%; width: 60cqw; bottom: 10%; height: 20cqw; z-index: 2;
  background: radial-gradient(50% 50% at 50% 50%, rgba(231, 181, 60, .45), transparent 70%);
}
.pf-fig {
  left: 14%; bottom: 13%; height: 52%; width: auto; z-index: 3;
  filter: grayscale(1) contrast(1.25) brightness(.95) drop-shadow(0 0 2.5cqw rgba(231, 181, 60, .25));
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.pf-wisps { left: 36%; top: 54%; width: 46cqw; z-index: 3; fill: none; stroke: #e7b53c; stroke-width: .5; stroke-linecap: round; opacity: .75; }
.pf-foot { left: 0; right: 0; bottom: 3%; z-index: 5; text-align: center; }
.pf-brand { display: inline-flex; align-items: center; gap: 1.2cqw; font: 900 3.4cqw/1 "Archivo", sans-serif; font-stretch: 125%; text-transform: uppercase; color: #e7b53c; }
.pf-brand svg { width: 4cqw; }
.pf-row {
  margin: 2.2cqw 8% 0; padding: 1.4cqw 0; border-top: .2cqw solid rgba(255,255,255,.25);
  display: flex; justify-content: space-between;
  font: 700 1.6cqw/1 "Archivo", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.pf-row i { font-style: normal; color: #e7b53c; }
.pf-dates { margin: .4cqw 0 0; font: 600 1.45cqw/1 "Archivo", sans-serif; letter-spacing: .36em; text-transform: uppercase; color: rgba(255,255,255,.6); }
