/* Raide Gigamax — sous la carte ville */
#gigamax-banner-wrap {
    width: 100%;
    box-sizing: border-box;
}

#ggx-app {
    width: 686px;
    max-width: 100%;
    margin: 0 auto 20px;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
#ggx-app * { box-sizing: border-box; }

/* === Shell identique à Laboratoire / Expert fossile (bannière + bloc blanc) === */
.ggx-shell {
    width: 100%;
}
.ggx-shell-banner {
    border: 2px solid var(--neon);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    line-height: 0;
    background: #0a0a12;
}
.ggx-shell-body {
    background: #fff;
    border: 2px solid var(--neon);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 0 20px rgba(var(--neon-rgb), 0.15);
}
.ggx-shell-inner {
    padding: 18px 20px 22px;
}
.ggx-chargement {
    text-align: center;
    color: var(--neon);
    padding: 22px 16px;
    font-weight: 700;
    font-size: 13px;
}
.ggx-msg-erreur {
    color: #c0392b;
    text-align: center;
    margin: 12px 0;
    font-size: 13px;
    line-height: 1.5;
}
.ggx-ligne-retour {
    text-align: center;
    margin: 0 0 8px;
}
.ggx-pied-lien {
    text-align: center;
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(var(--neon-rgb), 0.18);
}
.ggx-pied-lien a {
    color: var(--neon);
    font-weight: 800;
    text-decoration: underline;
    font-size: 13px;
}
.ggx-pied-lien a:hover {
    color: var(--neon-deep, #2d0060);
}
.ggx-detail-entete {
    text-align: center;
    margin-bottom: 4px;
}
.ggx-detail-entete .ggx-detail-retour {
    display: inline-block;
    margin-bottom: 10px;
}
.ggx-detail-entete .ggx-titre-principal {
    margin-top: 0;
    margin-bottom: 12px;
}
.ggx-section {
    margin-top: 18px;
}
.ggx-liste-vide {
    padding: 14px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

/* Image bannière dans le cadre néon (pas de double bordure) */
.ggx-page-header-img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.ggx-titre-principal {
    text-align: center;
    font-size: 22px;
    font-weight: 900;
    color: var(--neon-deep, #1a2744);
    letter-spacing: 2px;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.ggx-liste-box {
    background: #fafafa;
    border: 2px solid rgba(var(--neon-rgb), 0.22);
    border-radius: 12px;
    padding: 6px 0;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ggx-ligne-raid {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(90,122,168,0.25);
    transition: background 0.15s;
}
.ggx-ligne-raid:last-child { border-bottom: none; }
.ggx-ligne-raid:hover { background: rgba(var(--neon-rgb), 0.08); }
.ggx-ligne-raid-ended {
    border-left: 4px solid #e74c3c;
    background: rgba(231, 76, 60, 0.06);
}
.ggx-ligne-raid-ended .ggx-nom-raid {
    color: #a93226;
}

.ggx-fleche {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 10px;
    border-color: transparent transparent transparent #3d6ea8;
    flex-shrink: 0;
}

.ggx-nom-raid {
    font-weight: 800;
    font-size: 15px;
    color: #1a2744;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ggx-actions-haut {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
    margin-top: 4px;
}
.ggx-actions-detail {
    margin-top: 12px;
    margin-bottom: 6px;
}

.ggx-btn {
    padding: 8px 16px;
    border: 2px solid var(--neon, #9b4dff);
    border-radius: 20px;
    background: transparent;
    color: var(--neon, #9b4dff);
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px rgba(155,77,255,0.3);
    transition: all 0.2s;
}
.ggx-btn:hover {
    background: var(--neon, #9b4dff);
    color: var(--on-neon, #000);
}

.ggx-btn-test {
    border-color: #e67e22;
    color: #c0392b;
    box-shadow: 0 0 6px rgba(230,126,34,0.4);
}
.ggx-btn-test:hover {
    background: #e67e22;
    color: #fff;
}

.ggx-detail-retour {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--neon, #9b4dff);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.ggx-bloc-details {
    background: linear-gradient(180deg, #faf9fc 0%, #f5f3fa 100%);
    border: 2px solid rgba(var(--neon-rgb), 0.22);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #333;
}
.ggx-bloc-details h3 {
    margin: 0 0 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--neon);
    font-weight: 900;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(var(--neon-rgb), 0.15);
}
.ggx-legend {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(var(--neon-rgb), 0.2);
    font-size: 12px;
    color: #555;
}
.ggx-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
.ggx-dot-gris { background: #9e9e9e; }
.ggx-dot-vert { background: #27ae60; }
.ggx-dot-rouge { background: #e74c3c; }

.ggx-corps {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: stretch;
    justify-content: space-between;
}

.ggx-col-sprite {
    flex: 1 1 280px;
    text-align: center;
    min-width: 0;
    min-height: 0;
    padding: 16px 14px;
    background: #fafafa;
    border: 2px solid rgba(var(--neon-rgb), 0.18);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ggx-sprite-nom {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--neon-deep, #1a2744);
    text-align: center;
    margin: 0 0 12px;
    line-height: 1.25;
    padding: 0 4px;
}
.ggx-sprite-geant {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

.ggx-boss-sprite-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ggx-boss-sprite-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}

/* Grand sprite boss : étoiles shiny + aura baron (global.css = 70×70px, trop petit ici) */
.ggx-boss-sprite-wrap .star-container {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: none;
    z-index: 6;
}
.ggx-boss-sprite-wrap .star {
    width: clamp(18px, 6vmin, 34px);
    height: clamp(18px, 6vmin, 34px);
}
.ggx-boss-sprite-wrap .star::before {
    font-size: clamp(22px, 7.5vmin, 42px);
    text-shadow:
        0 0 10px #f5b305,
        0 0 20px #ffaa00,
        0 0 32px rgba(245, 179, 5, 0.65);
}
/* Conserver l’ombre du sprite + halo baron plus large sur grande image */
.ggx-boss-sprite-wrap .ggx-sprite-geant.aura-rouge {
    filter:
        drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15))
        drop-shadow(0 0 12px rgba(255, 51, 51, 0.9))
        drop-shadow(0 0 26px #cc0000)
        drop-shadow(0 0 44px rgba(204, 0, 0, 0.5));
}

.ggx-boss-badges {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    align-items: center;
}
.ggx-boss-badges img {
    vertical-align: middle;
}

.ggx-etat-raid {
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.45;
    box-sizing: border-box;
}
.ggx-etat-signup {
    background: #e8f4fc;
    color: #1a5276;
}

/* Colonne gauche : même largeur pour encart + liste + bouton inscription */
.ggx-col-sprite .ggx-boss-sprite-row + .ggx-etat-raid {
    margin-top: 12px;
}
.ggx-col-sprite .ggx-etat-raid,
.ggx-col-sprite .ggx-inscription-bloc {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.ggx-inscription-bloc {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 12px;
    box-sizing: border-box;
}
.ggx-inscrire-label {
    font-weight: 800;
    font-size: 12px;
    text-align: center;
    color: #333;
}
.ggx-sel-pkm {
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 2px solid var(--neon);
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    background: #fff;
    color: #222;
    box-sizing: border-box;
    cursor: pointer;
}
.ggx-btn.ggx-btn-block,
#ggx-btn-inscrire.ggx-btn-block {
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 10px;
}

.ggx-col-liste {
    flex: 1 1 260px;
    min-width: 200px;
    min-height: 0;
    align-self: stretch;
    overflow: visible;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(var(--neon-rgb), 0.25);
    border-radius: 12px;
    background: #fafafa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ggx-liste-head {
    padding: 10px 12px;
    background: var(--neon, #9b4dff);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    border-radius: 10px 10px 0 0;
}

.ggx-liste-scroll {
    flex: 1 1 auto;
    min-height: 120px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 6px;
    position: relative;
    z-index: 0;
    border-radius: 0 0 10px 10px;
}

.ggx-part-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
}
.ggx-part-row:nth-child(odd) { background: rgba(155,77,255,0.04); }

.ggx-pseudo-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    font-weight: 700;
    color: #2c3e50;
    cursor: default;
}

/* Sous le pseudo : évite la coupure par overflow-y du scroll et par le bandeau PARTICIPANTS */
.ggx-tooltip {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    bottom: auto;
    z-index: 200;
    min-width: 180px;
    max-width: 260px;
    padding: 10px 12px;
    background: #fff;
    border: 2px solid var(--neon, #9b4dff);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 6px;
    margin-bottom: 0;
}
.ggx-pseudo-wrap:hover .ggx-tooltip { display: block; }

.ggx-capture-msg {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: #555;
}

.ggx-capture-zone {
    margin-top: 16px;
    padding: 14px;
    border: 2px dashed var(--neon, #9b4dff);
    border-radius: 12px;
    text-align: center;
    background: rgba(155,77,255,0.05);
}

.ggx-ball-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 20px;
    border: 2px solid var(--neon, #9b4dff);
    border-radius: 24px;
    background: #fff;
    cursor: pointer;
    font-weight: 800;
    font-size: 13px;
}
.ggx-ball-btn img { width: 36px; height: 36px; object-fit: contain; }
.ggx-ball-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Bannière raid Gigamax — sous zone-aventure-neon, fond clair + teinte thème */
#gigamax-global-banner {
    display: none;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 686px;
    margin: 0 auto;
    padding: 10px 14px;
    text-align: left;
    background: #f5f5f5;
    background: linear-gradient(105deg, rgba(var(--neon-rgb), 0.16) 0%, #ffffff 50%, #fafafa 100%);
    border: 2px solid var(--neon, #9b4dff);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(var(--neon-rgb), 0.22);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    cursor: pointer;
    text-transform: uppercase;
    box-sizing: border-box;
}
/* Bannière sous la carte : vignette fixe 80×80 (même ordre que .arene-combat-sprite) */
#gigamax-global-banner .ggx-banner-icon,
#gigamax-global-banner > img.ggx-banner-icon {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: contain !important;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1px solid rgba(var(--neon-rgb), 0.35);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.ggx-banner-text {
    flex: 1 1 180px;
    min-width: 0;
    line-height: 1.4;
    color: #222;
}
#gigamax-global-banner:hover {
    background: linear-gradient(105deg, rgba(var(--neon-rgb), 0.24) 0%, #ffffff 55%, #f5f5f5 100%);
    box-shadow: 0 2px 14px rgba(var(--neon-rgb), 0.35);
}

@media (max-width: 700px) {
    #ggx-app { width: 100%; padding: 0 8px; }
    .ggx-shell-inner { padding: 14px 12px 18px; }
    .ggx-sprite-geant { max-height: 220px; }
    #gigamax-global-banner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 10px 12px;
    }
    #gigamax-global-banner .ggx-banner-icon {
        width: 72px !important;
        height: 72px !important;
        max-width: 72px !important;
        max-height: 72px !important;
    }
    .ggx-banner-text { text-align: center; flex: 1 1 100%; }
}

/* PokéPédia — spoiler par ville (<details>) */
details.pokepedia-ville-spoiler > summary.pokepedia-ville-summary {
    list-style: none;
}
details.pokepedia-ville-spoiler > summary.pokepedia-ville-summary::-webkit-details-marker {
    display: none;
}
details.pokepedia-ville-spoiler:not([open]) .pokepedia-hint-masquer {
    display: none !important;
}
details.pokepedia-ville-spoiler[open] .pokepedia-hint-afficher {
    display: none !important;
}
