/* =============================================================================
   Zona Pokémon GO — "consola de campo"
   Diseño profesional sobre el tema Psyduck (crema + oro + carbón). Estado por
   franja de color (no píldoras con punto), pestañas tipo control segmentado,
   Poké Ball de fondo como radar. Sin anuncios (lo exige la fuente, LeekDuck).
   Nada de MAYÚSCULAS espaciadas ni "pill + dot": se evita a propósito.
   ========================================================================== */

.pg { --pg-live: #1a9d54; --pg-soon: var(--brand-deep, #e0a800); }

/* --- Cabecera --------------------------------------------------------------- */
.pg-hero { position: relative; margin: 26px 0 6px; padding: 26px 28px; overflow: hidden;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 15%, var(--bg-card)), var(--bg-card));
    border: 1px solid var(--border-color); border-radius: 22px 6px 22px 6px; box-shadow: var(--shadow-sm); }
.pg-ball { position: absolute; right: -46px; top: 50%; transform: translateY(-50%); width: 260px; height: 260px;
    opacity: .12; pointer-events: none; }
.pg-hero > *:not(.pg-ball) { position: relative; z-index: 1; }

.pg-crumb { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 13px;
    font-weight: 600; color: var(--text-muted); margin-bottom: 14px; }
.pg-crumb a { color: var(--text-muted); text-decoration: none; }
.pg-crumb a:hover { color: var(--primary); }
.pg-crumb .sep { color: var(--border-color); }

.pg-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.92rem;
    color: var(--accent-text); margin-bottom: 6px; }
.pg-eyebrow .live { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--pg-live);
    box-shadow: 0 0 0 0 rgba(26,157,84,.5); animation: pgPulse 1.9s infinite; }
@keyframes pgPulse { 0% { box-shadow: 0 0 0 0 rgba(26,157,84,.5); } 70% { box-shadow: 0 0 0 8px rgba(26,157,84,0); } 100% { box-shadow: 0 0 0 0 rgba(26,157,84,0); } }

.pg-h1 { font-family: var(--font-display, sans-serif); font-weight: 800; letter-spacing: -0.02em;
    font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.05; color: var(--text-main); margin: 0 0 12px; max-width: 20ch; text-wrap: balance; }
.pg-intro { font-size: 1.05rem; line-height: 1.55; color: var(--text-muted); max-width: 60ch; margin: 0 0 14px; }
.pg-updated { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; color: var(--text-muted); }
.pg-updated b { color: var(--text-main); font-weight: 700; }
.pg-updated a { color: var(--accent-text); font-weight: 700; text-decoration: none; }
.pg-updated a:hover { text-decoration: underline; }

/* --- Pestañas: control segmentado ------------------------------------------ */
.pg-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0 8px; padding: 5px;
    background: color-mix(in srgb, var(--accent) 10%, var(--bg-card)); border: 1px solid var(--border-color);
    border-radius: 14px 4px 14px 4px; }
.pg-tab { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display, sans-serif);
    font-weight: 700; font-size: 0.9rem; padding: 9px 15px; border-radius: 10px 3px 10px 3px;
    color: var(--text-muted); text-decoration: none; transition: color .14s, background .14s, transform .14s; white-space: nowrap; }
.pg-tab:hover { color: var(--text-main); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.pg-tab.is-active { background: var(--accent); color: var(--on-brand); box-shadow: 0 2px 0 var(--brand-deep); font-weight: 800; }
.pg-tab i { font-size: 0.86rem; }

/* --- Secciones -------------------------------------------------------------- */
.pg-sec { margin: 34px 0; }
.pg-sec-head { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.pg-sec-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px 3px 12px 3px; display: inline-flex;
    align-items: center; justify-content: center; font-size: 17px; color: var(--on-brand); background: var(--accent);
    box-shadow: 0 3px 0 var(--brand-deep); }
.pg-sec-ico.is-live { background: var(--pg-live); box-shadow: 0 3px 0 #14713c; color: #fff; }
.pg-sec-head h2 { font-family: var(--font-display, sans-serif); font-weight: 800; font-size: 1.45rem;
    color: var(--text-main); margin: 0; line-height: 1.1; flex: 1; }
.pg-sec-head .pg-count { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* --- Rejilla ---------------------------------------------------------------- */
.pg-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.pg-grid-mon { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }

/* --- Tarjeta de evento (estado por franja izquierda, sin píldoras) ---------- */
.pg-event { position: relative; display: flex; flex-direction: column; background: var(--bg-card);
    border: 1px solid var(--border-color); border-left: 4px solid var(--border-color);
    border-radius: 16px 5px 16px 5px; overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform .16s, box-shadow .16s; }
.pg-event:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pg-event.is-live { border-left-color: var(--pg-live); }
.pg-event.is-soon { border-left-color: var(--pg-soon); }
.pg-event-media { position: relative; aspect-ratio: 16 / 9; background: color-mix(in srgb, var(--accent) 12%, var(--bg-card)); overflow: hidden; }
.pg-event-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-cat { position: absolute; top: 10px; left: 10px; font-size: 0.72rem; font-weight: 700; color: #fff;
    background: rgba(20,18,16,.66); backdrop-filter: blur(3px); padding: 3px 10px; border-radius: 8px 2px 8px 2px; }
.pg-event-body { padding: 12px 15px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pg-event-title { font-family: var(--font-display, sans-serif); font-weight: 800; font-size: 1.01rem;
    line-height: 1.22; color: var(--text-main); margin: 0; }
.pg-when { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; }
.pg-when .d { width: 7px; height: 7px; border-radius: 50%; }
.pg-when.is-live { color: var(--pg-live); } .pg-when.is-live .d { background: var(--pg-live); }
.pg-when.is-soon { color: var(--accent-text); } .pg-when.is-soon .d { background: var(--pg-soon); }
.pg-event-dates { font-size: 0.8rem; color: var(--text-muted); margin-top: auto; }

/* --- Evento destacado (hub) ------------------------------------------------- */
.pg-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0;
    background: var(--bg-card); border: 1px solid var(--border-color); border-left: 5px solid var(--pg-live);
    border-radius: 20px 6px 20px 6px; overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 18px; }
.pg-feature .pg-feature-media { position: relative; min-height: 220px; background: color-mix(in srgb, var(--accent) 12%, var(--bg-card)); }
.pg-feature .pg-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-feature .pg-feature-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.pg-feature h3 { font-family: var(--font-display, sans-serif); font-weight: 800; font-size: 1.5rem;
    line-height: 1.12; color: var(--text-main); margin: 0; }
.pg-feature .pg-event-dates { margin-top: 0; font-size: 0.9rem; }
@media (max-width: 640px) { .pg-feature { grid-template-columns: 1fr; } .pg-feature .pg-feature-media { min-height: 170px; } }

/* --- Tarjeta de Pokémon (borde superior del color de su tipo) --------------- */
.pg-mon { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 6px; background: var(--bg-card); border: 1px solid var(--border-color); border-top: 3px solid var(--pg-c, var(--accent));
    border-radius: 14px 4px 14px 4px; padding: 15px 10px 13px; box-shadow: var(--shadow-sm);
    transition: transform .16s, box-shadow .16s; }
.pg-mon:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pg-mon-img { width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 3px 5px rgba(0,0,0,.12)); }
.pg-mon-name { font-family: var(--font-display, sans-serif); font-weight: 800; font-size: 0.94rem; color: var(--text-main); line-height: 1.1; }
.pg-cp { font-size: 0.77rem; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-cp b { color: var(--text-main); }
.pg-badges { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; font-size: 12px; line-height: 1; }
.pg-badges span { filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)); }

/* Chips de tipo (minúscula, color por --pg-c) */
.pg-types { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.pg-type { font-size: 0.7rem; font-weight: 700; color: #fff; padding: 2px 9px; border-radius: 100px; background: var(--pg-c, #9ca3af); }

/* Clima que potencia */
.pg-weather { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; color: var(--text-muted); }
.pg-weather img { width: 16px; height: 16px; }

/* --- Niveles / grupos ------------------------------------------------------- */
.pg-tier { margin-bottom: 26px; }
.pg-tier-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 13px; padding-bottom: 8px;
    border-bottom: 2px solid color-mix(in srgb, var(--accent) 40%, var(--border-color)); }
.pg-tier-head h3 { font-family: var(--font-display, sans-serif); font-weight: 800; font-size: 1.12rem; color: var(--text-main); margin: 0; }
.pg-tier-head .pg-tier-badge { font-size: 0.76rem; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* --- Tareas de investigación ------------------------------------------------ */
.pg-tasks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.pg-task { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px 4px 14px 4px;
    padding: 15px 16px; box-shadow: var(--shadow-sm); }
.pg-task-text { font-weight: 700; color: var(--text-main); font-size: 0.98rem; line-height: 1.35; margin: 0 0 11px;
    display: flex; gap: 10px; align-items: center; }
.pg-task-ico { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center;
    justify-content: center; background: color-mix(in srgb, var(--accent) 22%, transparent); font-size: 15px; }
.pg-task-rewards { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-task-rewards { align-items: flex-start; }
.pg-reward { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 78px; }
.pg-reward img { width: 48px; height: 48px; object-fit: contain; }
.pg-reward .pg-mon-name { font-size: 0.72rem; line-height: 1.15; }
.pg-reward .pg-cp { font-size: 0.68rem; }
.pg-reward .pg-badges { top: -2px; right: 8px; }

/* --- Crédito (compacto, icono alineado) ------------------------------------- */
.pg-credit { display: flex; align-items: center; gap: 10px; margin: 34px 0 10px; padding: 12px 16px;
    font-size: 0.85rem; line-height: 1.45; color: var(--text-muted);
    background: color-mix(in srgb, var(--accent) 7%, var(--bg-card)); border: 1px solid var(--border-color);
    border-radius: 12px 3px 12px 3px; }
.pg-credit .pg-credit-ico { flex: 0 0 auto; color: var(--accent-text); font-size: 15px; }
.pg-credit a { color: var(--accent-text); font-weight: 700; text-decoration: none; }
.pg-credit a:hover { text-decoration: underline; }

/* --- Accesos del hub -------------------------------------------------------- */
.pg-nav-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-top: 4px; }
.pg-nav-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; text-decoration: none;
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px 5px 16px 5px;
    box-shadow: var(--shadow-sm); transition: transform .16s, border-color .16s, box-shadow .16s; }
.pg-nav-card:hover { transform: translateY(-3px); border-color: var(--brand-deep); box-shadow: var(--shadow-md); }
.pg-nav-card .pg-nav-ico { width: 44px; height: 44px; border-radius: 12px 3px 12px 3px; display: inline-flex;
    align-items: center; justify-content: center; font-size: 19px; color: var(--on-brand); background: var(--accent);
    box-shadow: 0 3px 0 var(--brand-deep); margin-bottom: 4px; }
.pg-nav-card h3 { font-family: var(--font-display, sans-serif); font-weight: 800; font-size: 1.06rem; color: var(--text-main); margin: 0; }
.pg-nav-card p { font-size: 0.86rem; color: var(--text-muted); margin: 0; line-height: 1.4; }

/* --- Estado vacío ----------------------------------------------------------- */
.pg-empty { text-align: center; padding: 40px 20px; color: var(--text-muted);
    border: 2px dashed var(--border-color); border-radius: 16px 5px 16px 5px; }

/* --- Entrada escalonada ----------------------------------------------------- */
.pg-event, .pg-mon, .pg-nav-card, .pg-task, .pg-feature { animation: pgUp .45s ease both; }
@keyframes pgUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .pg-event, .pg-mon, .pg-nav-card, .pg-task, .pg-feature, .pg-eyebrow .live { animation: none; }
    .pg-tab:hover, .pg-event:hover, .pg-mon:hover, .pg-nav-card:hover { transform: none; }
}
@media (max-width: 560px) {
    .pg-hero { padding: 22px 20px; } .pg-ball { width: 190px; right: -60px; }
    .pg-grid-mon { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
    .pg-tasks { grid-template-columns: 1fr; }
}

/* --- Ficha de evento -------------------------------------------------------- */
.pg-event, .pg-feature { text-decoration: none; color: inherit; }

.pg-cover { margin: 6px 0 2px; border-radius: 20px 6px 20px 6px; overflow: hidden;
    border: 1px solid var(--border-color); box-shadow: var(--shadow-md); }
.pg-cover img { width: 100%; height: auto; display: block; max-height: 380px; object-fit: cover; }

.pg-lead { font-size: 1.05rem; line-height: 1.55; color: var(--text-muted); max-width: 65ch; margin: 18px 0 4px; }

.pg-bonuses { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); }
.pg-bonus { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg-card);
    border: 1px solid var(--border-color); border-left: 4px solid var(--accent); border-radius: 12px 3px 12px 3px; box-shadow: var(--shadow-sm); }
.pg-bonus img { width: 34px; height: 34px; object-fit: contain; flex: 0 0 auto; }
.pg-bonus span { font-weight: 700; color: var(--text-main); font-size: 0.92rem; line-height: 1.25; }
.pg-disc { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; font-style: italic; }

.pg-spot { display: flex; align-items: center; gap: 18px; padding: 16px 18px; background: var(--bg-card);
    border: 1px solid var(--border-color); border-left: 4px solid var(--accent); border-radius: 16px 5px 16px 5px; box-shadow: var(--shadow-sm); }
.pg-spot img { width: 88px; height: 88px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 3px 5px rgba(0,0,0,.12)); }
.pg-spot .pg-spot-name { font-family: var(--font-display,sans-serif); font-weight: 800; font-size: 1.3rem; color: var(--text-main); line-height: 1.1; }
.pg-spot .pg-spot-bonus { color: var(--accent-text); font-weight: 700; margin-top: 3px; }

.pg-steps { display: grid; gap: 14px; }
.pg-step { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px 4px 14px 4px; padding: 15px 18px; box-shadow: var(--shadow-sm); }
.pg-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pg-step-num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-brand);
    font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.pg-step-head h4 { font-family: var(--font-display,sans-serif); font-weight: 800; font-size: 1.02rem; color: var(--text-main); margin: 0; }
.pg-step-task { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--border-color); }
.pg-step-task .t { font-weight: 700; color: var(--text-main); font-size: 0.92rem; }
.pg-step-task .r { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted); white-space: nowrap; }
.pg-step-task .r img { width: 30px; height: 30px; object-fit: contain; }
.pg-step-rewards { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border-color); }

.pg-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 26px 0 6px; padding: 16px 18px;
    background: color-mix(in srgb, var(--accent) 10%, var(--bg-card)); border: 1px solid var(--brand-deep); border-radius: 16px 4px 16px 4px; }
.pg-cta p { margin: 0; flex: 1 1 240px; color: var(--text-muted); font-size: 0.9rem; }
.pg-cta .pg-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display,sans-serif); font-weight: 800;
    padding: 11px 20px; border-radius: 12px 4px 12px 4px; background: var(--accent); color: var(--on-brand); text-decoration: none;
    box-shadow: 0 4px 0 var(--brand-deep); transition: transform .15s, box-shadow .15s; }
.pg-cta .pg-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--brand-deep); }

.pg-back { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 0.9rem; color: var(--accent-text);
    text-decoration: none; margin-top: 8px; }
.pg-back:hover { text-decoration: underline; }

/* --- Hero de ficha de evento (imagen + info en tarjeta) --------------------- */
.pg-crumb-top { margin: 26px 0 12px; }
.pg-ev-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; margin: 0 0 6px;
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 22px 6px 22px 6px;
    overflow: hidden; box-shadow: var(--shadow-md); }
.pg-ev-hero.no-media { grid-template-columns: 1fr; }
.pg-ev-hero .media { position: relative; min-height: 250px; background: color-mix(in srgb, var(--accent) 12%, var(--bg-card)); }
.pg-ev-hero .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-ev-hero .body { position: relative; overflow: hidden; padding: 26px 28px; display: flex; flex-direction: column;
    justify-content: center; gap: 12px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--bg-card)), var(--bg-card)); }
.pg-ev-hero .body > *:not(.pg-ball) { position: relative; z-index: 1; }
.pg-ev-hero .body .pg-ball { position: absolute; right: -42px; top: -32px; width: 170px; height: 170px; opacity: .1; transform: none; }
.pg-ev-hero .body .pg-h1 { margin: 0; max-width: none; }
@media (max-width: 720px) {
    .pg-ev-hero { grid-template-columns: 1fr; }
    .pg-ev-hero .media { min-height: 190px; }
    .pg-ev-hero .body { padding: 22px 20px; }
}

/* --- Recompensas del pase (GO Pass) ---------------------------------------- */
.pg-pass { border: 1px solid var(--border-color); border-radius: 14px 4px 14px 4px; overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-sm); }
.pg-pass-row { display: grid; grid-template-columns: 62px 1fr 1fr; border-top: 1px solid var(--border-color); }
.pg-pass-row:first-child { border-top: 0; }
.pg-pass-head { background: color-mix(in srgb, var(--accent) 16%, var(--bg-card)); }
.pg-pass-head .pg-pass-rank, .pg-pass-head .pg-pass-track { color: var(--text-main); font-weight: 800; background: transparent; }
.pg-pass-rank { display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-display,sans-serif);
    color: var(--on-brand); background: color-mix(in srgb, var(--accent) 30%, var(--bg-card)); font-variant-numeric: tabular-nums; }
.pg-pass-track { padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-left: 1px solid var(--border-color); min-height: 46px; }
.pg-rw { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--text-main);
    background: color-mix(in srgb, var(--accent) 8%, var(--bg-card)); border: 1px solid var(--border-color); border-radius: 8px 2px 8px 2px; padding: 4px 9px; }
.pg-rw img { width: 22px; height: 22px; object-fit: contain; }
.pg-rw-none { color: var(--text-muted); }
.pg-pass-lbl { font-weight: 800; }
@media (max-width: 620px) { .pg-pass-row { grid-template-columns: 42px 1fr 1fr; } .pg-rw { font-size: 0.76rem; padding: 3px 7px; } .pg-pass-track { padding: 8px; } }

/* --- Cuerpo completo del evento (secciones en tarjetas) -------------------- */
.pg-ev-body { display: grid; gap: 20px; margin: 8px 0 4px; }

/* Intro / descripción del evento */
.pg-ev-intro { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
    background: color-mix(in srgb, var(--accent) 12%, var(--bg-card)); border: 1px solid var(--brand-deep);
    border-left: 5px solid var(--brand-deep); border-radius: 14px 4px 14px 4px; }
.pg-ev-intro-ico { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center;
    justify-content: center; background: var(--accent); color: var(--on-brand); font-size: 1rem; box-shadow: 0 2px 0 var(--brand-deep); }
.pg-ev-intro-body > .pg-art-p { margin: 0 0 8px; color: var(--text-main); }
.pg-ev-intro-body > .pg-art-p:last-child { margin-bottom: 0; }
.pg-ev-intro-body > .pg-art-p.is-lead { font-weight: 600; }

/* Panel de sección: cabecera con color por tipo + cuerpo en tarjeta */
.pg-ev-panel { --pg-accent: var(--accent); --pg-accent-deep: var(--brand-deep);
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px 5px 18px 5px;
    overflow: hidden; box-shadow: var(--shadow-sm); }
.pg-ev-panel-head { display: flex; align-items: center; gap: 12px; padding: 13px 18px;
    background: linear-gradient(100deg, color-mix(in srgb, var(--pg-accent) 22%, var(--bg-card)), color-mix(in srgb, var(--pg-accent) 6%, var(--bg-card)));
    border-bottom: 1px solid var(--border-color); border-left: 5px solid var(--pg-accent); }
.pg-ev-panel-ico { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px 3px 11px 3px; display: inline-flex;
    align-items: center; justify-content: center; background: var(--pg-accent); color: #fff; font-size: 1.05rem;
    box-shadow: 0 3px 0 var(--pg-accent-deep); }
.pg-ev-panel-head h2 { font-family: var(--font-display, sans-serif); font-weight: 800; font-size: 1.28rem; margin: 0; color: var(--text-main); }
.pg-ev-panel-body { padding: 18px; display: grid; gap: 4px; }

/* Colores por tipo de sección (dentro del tema psyduck) */
.pg-k-bonuses  { --pg-accent: #f5c518; --pg-accent-deep: #c99a00; }
.pg-k-features { --pg-accent: #e8973a; --pg-accent-deep: #b96c17; }
.pg-k-spawns   { --pg-accent: #4caf50; --pg-accent-deep: #357a38; }
.pg-k-research { --pg-accent: #3b82f6; --pg-accent-deep: #1d5fd1; }
.pg-k-shiny    { --pg-accent: #d354a3; --pg-accent-deep: #a33079; }
.pg-k-sales    { --pg-accent: #c03634; --pg-accent-deep: #8f2523; }
.pg-k-graphic  { --pg-accent: #7a8b52; --pg-accent-deep: #566237; }
.pg-k-raids    { --pg-accent: #7c5cff; --pg-accent-deep: #573bcc; }

/* Tipografía de contenido dentro de los paneles */
.pg-art-h3 { font-family: var(--font-display, sans-serif); font-weight: 800; font-size: 1.1rem; color: var(--text-main); margin: 14px 0 6px; }
.pg-art-h3:first-child, .pg-art-h4:first-child { margin-top: 0; }
.pg-art-h4 { font-weight: 800; font-size: 0.98rem; color: var(--text-main); margin: 12px 0 5px; }
.pg-art-sub { display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
    color: var(--pg-accent-deep, var(--accent-text)); background: color-mix(in srgb, var(--pg-accent, var(--accent)) 14%, var(--bg-card));
    padding: 3px 9px; border-radius: 7px 2px 7px 2px; margin: 0 0 8px; }
.pg-art-p { font-size: 1rem; line-height: 1.65; color: var(--text-main); max-width: 68ch; margin: 0 0 12px; }
.pg-art-p:last-child { margin-bottom: 0; }
.pg-art-p.is-lead { font-size: 1.05rem; }
.pg-art-list { max-width: 68ch; margin: 4px 0 12px; padding-left: 1.2em; }
.pg-art-list li { line-height: 1.6; margin: 5px 0; color: var(--text-main); }
.pg-art-list li::marker { color: var(--pg-accent-deep, var(--accent-text)); }
.pg-art-fig { margin: 4px 0 0; }
.pg-art-fig img { width: 100%; height: auto; border-radius: 14px 4px 14px 4px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.pg-art-hr { border: 0; border-top: 1px dashed var(--border-color); margin: 14px 0; }
.pg-ev-panel-body > .pg-grid-mon, .pg-ev-panel-body > .pg-bonuses,
.pg-ev-panel-body > .pg-steps, .pg-ev-panel-body > .pg-fr { margin: 4px 0; }

/* Investigación de campo (tarea + posibles recompensas) */
.pg-fr { display: grid; gap: 12px; }
.pg-fr-task { background: color-mix(in srgb, var(--pg-accent, var(--accent)) 6%, var(--bg-card)); border: 1px solid var(--border-color);
    border-left: 4px solid var(--pg-accent, var(--accent)); border-radius: 12px 3px 12px 3px; padding: 13px 16px; }
.pg-fr-task .q { display: block; font-weight: 800; color: var(--text-main); font-size: 0.96rem; margin-bottom: 9px; }
.pg-fr-rewards { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 620px) {
    .pg-ev-panel-head { padding: 11px 14px; }
    .pg-ev-panel-head h2 { font-size: 1.12rem; }
    .pg-ev-panel-body { padding: 14px; }
}
