        /* ---- Build Guides tab (complete class/stats/skills/gear guides -- distinct from the
           "Presets de Cartas" tab, which only auto-suggests which OWNED cards to equip per
           boss). List column reuses .boss-category-col's flex sizing/scroll pattern. */
        /* Same container treatment as .boss-category-col/.boss-list-col above -- these three
           share the .boss-explorer wrapper (see CLAUDE.md "Build Guides Feature"), so they follow
           the same rule for consistency between the two pages that reuse it. */
        /* Narrowed from 260px -- the guide list only ever needs to fit a build name + a few tags,
           and the extra width was starving the detail column next to it, which is what made the
           skill tree (a real 2D grid, not a flowing list) feel cramped and scroll vertically more
           than it needed to ("não ta cabendo a tabela de skills na vertical"). */
        .build-guides-list {
            flex: 0 0 190px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            max-height: 600px;
            overflow-y: auto;
            background: var(--skin-content-bg);
            backdrop-filter: blur(var(--skin-content-blur)) saturate(150%);
            -webkit-backdrop-filter: blur(var(--skin-content-blur)) saturate(150%);
            border: 1px solid var(--skin-content-border);
            border-radius: 10px;
            padding: 12px;
        }

        .guide-card {
            display: flex;
            align-items: center;
            gap: 10px;
            text-align: left;
            padding: 10px 14px;
            border: none;
            border-radius: 10px;
            background: var(--skin-card-bg);
            color: var(--skin-content-text);
            cursor: pointer;
            transition: opacity 0.15s, transform 0.15s;
        }

        .guide-card:hover { background: var(--skin-card-bg-hover); }
        .guide-card.selected { background: var(--skin-active-2); color: var(--skin-active-text); }

        .guide-card-body { min-width: 0; }
        /* Holds the BUILD's own name (e.g. "Tank Healer"), not the class -- the class name alone
           was indistinguishable from every other guide of the same class ("Gypsy" told you nothing
           once a class has more than one build). Class + author moved to .guide-card-author below. */
        .guide-card-class { font-weight: 700; font-size: 0.95em; }
        /* Replaced the old round class-face portrait -- every guide for a class shared the exact
           same face (the class picker mosaic above already shows it once), which told you nothing
           about which BUILD you were looking at. Class + author together are the real distinguishing
           facts now that the build's own name is the card's primary heading. */
        .guide-card-author { font-size: 0.75em; color: var(--skin-text-muted); margin-top: 2px; }
        .guide-card.selected .guide-card-author { color: inherit; opacity: 0.85; }
        .guide-card-tags { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px; }
        .guide-card-tag {
            font-size: 0.65em;
            font-weight: 700;
            background: color-mix(in srgb, var(--skin-accent-text) 15%, transparent);
            color: var(--skin-accent-text);
            padding: 2px 7px;
            border-radius: 999px;
        }
        .guide-card.selected .guide-card-tag { background: rgba(255,255,255,0.25); color: var(--skin-active-text); }

        .guide-section { margin-bottom: 18px; }
        /* Was a filled gradient pill (linear-gradient(active-1, active-2), border-radius:999px) --
           that's the app's language for a SELECTED/ACTIVE state (nav-link.active, tab-btn.active,
           filter-chip.active), not for a static section heading, which is exactly what made it
           read as "out of pattern". The site's real subtitle language is plain accent-colored text
           with no fill, no border, no pill -- same as .info-page-content h3 on Battle Info. */
        .guide-section-title {
            color: var(--skin-accent-text);
            font-weight: 800;
            font-size: 1em;
            margin-bottom: 10px;
        }

        /* Tiles/icons themselves stay full size here -- shrinking them was the wrong fix for the
           horizontal-scrollbar problem (per explicit correction: "não precisava diminuir o
           tamanho, talvez era só espaçar elas de acordo com o tamanho disponível"). The real fix
           is in .skill-grid itself (see skill-planner.css) -- its columns now stretch to fill
           whatever width is actually available instead of using a fixed pixel width, which is
           what was both overflowing on a wide tree AND leaving a sparse tree clumped in the
           middle with wasted space on the sides. */

        .guide-stat-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-bottom: 8px;
        }
        /* Content-bg, not card-bg -- these sit directly inside .boss-detail-col's own content-bg
           surface with no intermediate container box, so card-bg's "pop lighter" behavior read as
           just plain lighter/wrong rather than a deliberate contrast, per explicit correction
           ("os fundos... ainda estão mais claros, mesmo sendo um layer acima do fundo"). Stacking
           the same content-bg/blur pane again here keeps them one shade deeper instead. */
        .guide-stat-box {
            background: var(--skin-content-bg);
            backdrop-filter: blur(var(--skin-content-blur)) saturate(150%);
            -webkit-backdrop-filter: blur(var(--skin-content-blur)) saturate(150%);
            border: 1px solid var(--skin-content-border);
            border-radius: 8px;
            padding: 8px;
            text-align: center;
        }
        .guide-stat-box .lbl { font-size: 0.7em; color: var(--skin-text-muted); font-weight: 700; }
        .guide-stat-box .val { font-size: 1.1em; color: var(--skin-accent-text); font-weight: 800; }

        .guide-note {
            font-size: 0.82em;
            color: var(--skin-text-muted);
            font-style: italic;
            margin-bottom: 8px;
        }

        /* .guide-skill-tier-title is still used by the "Manual"/"Automático" combo labels below --
           the rest of the old flat-list skill display (.guide-skill-tier/.guide-skill-grid/
           .guide-skill-row/.guide-skill-icon-wrap/.guide-skill-name/.guide-skill-lvl) was replaced
           by renderGuideSkillPanel(), which reuses the real Skill Planner's own tree-grid markup
           (.skill-planner-main/.skill-grid/.skill-tile) instead of a bespoke row list. */
        .guide-skill-tier-title {
            font-size: 0.72em;
            font-weight: 800;
            color: var(--skin-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.04em;
            margin-bottom: 6px;
        }

        .guide-kv-list { display: flex; flex-direction: column; gap: 5px; }
        /* Same content-bg reasoning as .guide-stat-box above -- covers Divine Armament, and (via
           the .guide-equip-row modifier) the merged Enchants section too. */
        .guide-kv-row {
            display: flex;
            gap: 10px;
            background: var(--skin-content-bg);
            backdrop-filter: blur(var(--skin-content-blur)) saturate(150%);
            -webkit-backdrop-filter: blur(var(--skin-content-blur)) saturate(150%);
            border: 1px solid var(--skin-content-border);
            border-radius: 6px;
            padding: 6px 10px;
            font-size: 0.8em;
        }
        .guide-kv-row .k { flex: 0 0 110px; font-weight: 700; color: var(--skin-accent-text); }
        .guide-kv-row .v { flex: 1; color: var(--skin-content-text); }

        /* A grouping box (a note listing several steps), not an atomic leaf -- same "container"
           rule as .tabs/.filter-panel/.rarity-section above. */
        .guide-combo-list {
            background: var(--skin-content-bg);
            backdrop-filter: blur(var(--skin-content-blur)) saturate(150%);
            -webkit-backdrop-filter: blur(var(--skin-content-blur)) saturate(150%);
            border: 1px solid var(--skin-content-border);
            border-radius: 8px;
            padding: 10px 14px;
            margin-bottom: 6px;
        }
        .guide-combo-list ol { margin-left: 18px; font-size: 0.85em; }
        .guide-combo-list li { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
        /* Small icon per combo entry -- distinct from (and smaller than) the tree's own icons in
           the Habilidades section above, since this is a compact list, not the tree. Entries that
           aren't a real skill name (e.g. a setting note) have no icon at all -- see
           guideComboSkillItem(). */
        .guide-combo-icon-wrap {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .guide-combo-icon-wrap img { width: 100%; height: 100%; object-fit: contain; }
        .guide-combo-icon-wrap.error::before { content: attr(data-emoji); font-size: 0.9em; }

        /* Manual/Automático side by side instead of stacked -- same section, two columns. */
        .guide-combo-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        @media (max-width: 700px) {
            .guide-combo-columns { grid-template-columns: 1fr; }
        }

        /* Special Effects + Enchantments merged into one "Equipamentos" section -- one row per
           slot, with up to two lines inside (special effect, then base enchantment) instead of
           listing every slot twice across two separate sections. */
        .guide-equip-row { align-items: flex-start; }
        .guide-equip-lines { display: flex; flex-direction: column; gap: 3px; }
        .guide-equip-line { display: flex; gap: 5px; }
        .guide-equip-line .tag { flex-shrink: 0; opacity: 0.8; }

        /* Pet icons, reusing the real portrait assets already in web/pets/ instead of a plain
           name list -- small round chip matching the same icon-backing convention used everywhere
           else (.skill-tile-icon-wrap etc: white backing, no border, emoji fallback on 404). */
        .guide-pet-list { display: flex; flex-wrap: wrap; gap: 10px; }
        .guide-pet-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; text-align: center; }
        .guide-pet-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: #fff;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .guide-pet-icon img { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; }
        .guide-pet-icon.error::before { content: "🐾"; font-size: 1.4em; }
        .guide-pet-name { font-size: 0.68em; line-height: 1.2; }
        .guide-pet-chip.alt .guide-pet-icon { opacity: 0.75; }
        .guide-pet-chip.alt .guide-pet-name { color: var(--skin-text-muted); }

        /* Recommended cards shown as real card art (reusing cardDatabase, same hover tooltip as
           the main card grid) instead of plain text -- explanation sits below the images per
           explicit request ("a explicação pode ser embaixo das imagens das cartas"). A card name
           that isn't in this app's Weapon/Armor-only database (e.g. an Accessory-slot card) falls
           back to a plain text chip instead of a broken image -- same graceful-degradation
           convention as every other image in this app. */
        .guide-cards-slot { margin-bottom: 14px; }
        .guide-cards-slot-title { font-weight: 700; font-size: 0.85em; color: var(--skin-accent-text); margin-bottom: 6px; }
        .guide-cards-combos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
        .guide-card-combo { display: flex; align-items: center; gap: 4px; }
        .guide-card-plus { font-weight: 800; color: var(--skin-text-muted); font-size: 0.8em; }
        .guide-card-or { font-size: 0.7em; font-weight: 800; text-transform: uppercase; color: var(--skin-text-muted); margin: 0 2px; }
        .guide-card-ref {
            width: 50px;
            height: 66px;
            border-radius: 6px;
            overflow: hidden;
            flex-shrink: 0;
            cursor: default;
        }
        .guide-card-ref img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .guide-card-ref-missing {
            font-size: 0.75em;
            font-weight: 600;
            color: var(--skin-content-text);
            background: var(--skin-card-bg);
            border-radius: 6px;
            padding: 4px 8px;
        }

        .boss-card-stats {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 3;
            display: flex;
            align-items: stretch;
            /* Matches the .card-name-overlay/.card-bottom-fade fade treatment (see below) --
               this bar sits over a boss portrait the same way those sit over card art, so it
               follows the same fade-not-flat-block identity instead of the old navy plate, and
               the same --skin-fade-color tinting so it isn't a fixed neutral black either. */
            background: linear-gradient(0deg, var(--skin-fade-color) 0%, transparent 100%);
            color: #fff;
            text-shadow: -1px -1px 0 var(--skin-fade-color), 1px -1px 0 var(--skin-fade-color), -1px 1px 0 var(--skin-fade-color), 1px 1px 0 var(--skin-fade-color);
            padding: 3px 0;
        }

        .boss-size {
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: calc(1.3em * var(--card-scale));
            font-weight: 800;
            padding: 0 8px;
            border-right: 1px solid rgba(255,255,255,0.4);
        }

        .boss-race-elem {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 4px;
        }

        .boss-race, .boss-elem {
            font-size: calc(0.62em * var(--card-scale));
            font-weight: 700;
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-align: center;
        }

        .set-title {
            display: inline-block;
            background: var(--skin-active-2);
            color: var(--skin-active-text);
            font-size: 0.7em;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 2px 8px;
            border-radius: 10px;
        }

        .boss-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            margin-bottom: 6px;
        }

        .mvp-name {
            font-size: 1.1em;
            font-weight: 700;
            color: var(--skin-content-text);
            margin-bottom: 4px;
        }

        .guide-author {
            font-size: 0.8em;
            color: var(--skin-text-muted);
            margin-bottom: 8px;
        }
        .guide-author strong { color: var(--skin-content-text); }

        .mvp-bonus-line {
            font-size: 0.75em;
            color: var(--skin-accent-text);
            font-weight: 600;
            margin-bottom: 10px;
        }

        .boss-result-layout {
            display: flex;
            gap: 20px;
            align-items: flex-start;
            flex-wrap: wrap;
        }

        .boss-result-main {
            flex: 1 1 260px;
            min-width: 240px;
        }

        /* Same depth fix as .skill-planner-sidebar/.skill-planner-main -- a boxed side panel
           sitting directly in .panel is one glass level deeper, so it reuses .panel's own
           content-bg/blur (stacking the same pane again) instead of --skin-card-bg, which mixes
           toward the (often light-on-dark) content-text color and made nested boxes read lighter
           than their container instead of darker/more frosted. */
        .boss-result-elements {
            flex: 0 0 190px;
            background: var(--skin-content-bg);
            backdrop-filter: blur(var(--skin-content-blur)) saturate(150%);
            -webkit-backdrop-filter: blur(var(--skin-content-blur)) saturate(150%);
            border: 1px solid var(--skin-content-border);
            border-radius: 8px;
            padding: 10px 12px;
        }

