/* PVP Day panel (owner request 2026-12-01, pdp2): full standard width, the panel's life as one timeline, move and info
   side by side. Plugin-page shell (rank-pages.css + plugin-pages.css) plus this file.
   The .pb panels are SVG copies of the in-game panel: 228 x 35 units, colors from the plugin. */
.pdp { --pdp-red: #ff2a3a; --pdp-red-fill: #42141e; --pdp-ground: #0c0f16; --pdp-gold: #ffd964; --pdp-line: #2c3040; --pdp-page: #05070d; }

/* ---------- the panel ---------- */
.pb { display: block; width: 100%; height: auto; overflow: visible; }
.pb-bg { fill: var(--pdp-ground); stroke: var(--pdp-red); stroke-width: 1.6; transition: fill 0.25s ease; }
.pb.is-red .pb-bg { fill: var(--pdp-red-fill); }
.pb use, .pb text { fill: var(--pdp-red); }
.pb [hidden] { display: none; }
.pb-t { font: 700 15.5px "Roboto Condensed", "Arial Narrow", sans-serif; }
.pb-big { font-size: 16px; }
.pb-clock { font: 500 18px "Noto Sans Mono", "Droid Sans Mono", ui-monospace, monospace; letter-spacing: 0.5px; }
.pb-btn { cursor: pointer; }
.pb-btn use { transition: fill 0.08s ease; }
.pb-btn:hover use { fill: var(--pdp-gold); }

/* ---------- hero: text left, the live example right, same container as every page ---------- */
.pdp-hero { padding: 2.2rem 0 1rem; background: radial-gradient(46rem 22rem at 78% 30%, rgba(255, 42, 58, 0.16), transparent 70%), var(--pdp-page); }
.pdp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2.5rem; align-items: center; }
.pdp-hero .rk-title { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: 0.02em; text-shadow: 0 0 40px rgba(255, 42, 58, 0.25); }
.pdp-hero .rk-kicker { color: var(--pdp-red); }
.pdp-tagline { margin: 0.9rem 0 0; font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--text, #eef1f8); max-width: 36rem; }
.pdp-hero-more { margin: 1rem 0 0; color: var(--muted, #b7becf); }
.pdp-hero-more a { color: #ff9aa2; font-weight: 600; }
.pdp-stage-demo { margin: 0; }
/* a slice of game screen, panel parked near its bottom left like in game */
.pdp-screen { position: relative; aspect-ratio: 16 / 7; border-radius: 16px; overflow: hidden; border: 1px solid var(--pdp-line);
  background: radial-gradient(30rem 14rem at 70% 20%, rgba(255, 140, 90, 0.18), transparent 70%), linear-gradient(180deg, #2a2320 0%, #3b2f27 55%, #241c18 100%); }
.pdp-screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 9px); pointer-events: none; }
.pdp-screen .pb { position: absolute; left: 5%; bottom: 9%; width: 72%; z-index: 1; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55)); }
.pdp-stage-demo figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted, #9aa3b8); }

/* ---------- timeline: four stages on one line across the page ---------- */
.pdp-tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; position: relative; }
.pdp-tl::before { content: ""; position: absolute; top: 1.15rem; left: 1.2rem; right: 1.2rem; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #3a4154 0%, #3a4154 28%, var(--pdp-red) 42%, var(--pdp-red) 100%); }
.pdp-tl li { position: relative; min-width: 0; }
.pdp-node { position: relative; z-index: 1; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; font: 800 1.1rem/1 "Cinzel", serif; color: #fff; background: #1a1f29; border: 2px solid #4a5268; }
.pdp-node.is-red { background: var(--pdp-red-fill); border-color: var(--pdp-red); }
.pdp-node.is-on { background: var(--pdp-red); border-color: var(--pdp-red); box-shadow: 0 0 18px rgba(255, 42, 58, 0.6); }
.pdp-when { margin: 0.9rem 0 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ff9aa2; }
.pdp-tl h3 { margin: 0.2rem 0 0.8rem; font: 800 1.3rem/1.2 "Inter", system-ui, sans-serif; color: #fff; }
.pdp-tl p:last-child { margin: 0.75rem 0 0; font-size: 1rem; line-height: 1.5; color: var(--text, #eef1f8); }
.pdp-tl b { color: #fff; }
.pdp-tl .pdp-red, .pdp-red { color: var(--pdp-red); }

/* ---------- the two buttons, side by side ---------- */
.pdp-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.pdp-half { min-width: 0; padding: 1.5rem; border-radius: 18px; background: linear-gradient(180deg, #161a23, #0f1218); border: 1px solid var(--pdp-line); }
.pdp-half h3 { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 1.1rem; font: 800 1.35rem/1.2 "Inter", system-ui, sans-serif; color: #fff; }
.pdp-key { flex: 0 0 auto; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: var(--pdp-ground); border: 1.5px solid var(--pdp-red); transition: border-color 0.08s ease; }
.pdp-key svg { width: 1.35rem; height: 1.35rem; fill: var(--pdp-red); transition: fill 0.08s ease; }
.pdp-half:hover .pdp-key svg { fill: var(--pdp-gold); }
.pdp-half-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1.25rem; align-items: start; }
.pdp-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0.7rem; }
.pdp-steps li { counter-increment: s; position: relative; padding-left: 2.3rem; font-size: 1.05rem; line-height: 1.45; color: var(--text, #eef1f8); }
.pdp-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font: 800 0.9rem/1 "Inter", sans-serif; color: #fff; background: var(--pdp-red); }
.pdp-steps b, .pdp-note b { color: #fff; }
.pdp-shot { position: relative; display: block; border-radius: 12px; }
.pdp-shot img { display: block; width: 100%; height: auto; transition: transform 0.2s ease; }
.pdp-shot:hover img { transform: scale(1.02); }
.pdp-zoom { position: absolute; right: 0.5rem; bottom: 0.5rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(0, 0, 0, 0.7); color: #fff; font-size: 0.78rem; font-weight: 600; }
.pdp-note { margin: 1.1rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--pdp-line); font-size: 0.98rem; color: var(--muted, #b7becf); }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .pdp-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .pdp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .pdp-tl { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .pdp-tl::before { display: none; }
}
@media (max-width: 560px) {
  .pdp-tl { grid-template-columns: minmax(0, 1fr); row-gap: 1.6rem; }
  .pdp-half { padding: 1.2rem 1rem; }
  .pdp-half-body { grid-template-columns: minmax(0, 1fr); }
  .pdp-screen { aspect-ratio: 16 / 9; }
  .pdp-screen .pb { width: 88%; }
}
@media (prefers-reduced-motion: reduce) { .pb-bg, .pb-btn use, .pdp-shot img { transition: none; } .pdp-shot:hover img { transform: none; } }
