Mudanças entre as edições de "Widget:C.Base"

De Wiki Gla
Ir para navegação Ir para pesquisar
m (fix name3)
m
Linha 1: Linha 1:
<style>
<style>
    /* ===========================BASE STYLES & RESET=========================== */
  /* ===========================BASE STYLES & RESET=========================== */
    img {
  img {
        pointer-events: none;
    pointer-events: none;
        -webkit-user-select: none;
    -webkit-user-select: none;
        user-select: none;
    user-select: none;
     }
  }
 
  video {
    max-height: none;
  }
 
  .mw-body {
    padding: unset !important;
  }
 
  .mw-body-content {
    line-height: 1.5;
  }
 
  .mw-body-content p {
    display: none;
  }
 
  /* ===========================CHARACTER CONTAINER & BACKGROUND=========================== */
  .banner {
    display: none !important;
  }
 
  .character-box {
    color: #000;
    font-family: "Noto Sans", sans-serif;
    width: 100%;
    margin: auto;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
     /* background-image será definido inline pelo Módulo (via |background=Arquivo.ext|) */
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
  }
 
  .character-box p {
    display: unset;
  }
 
  .character-box::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.6));
    z-index: 0;
  }
 
  /* ===========================CHARACTER HEADER & INFO=========================== */
  .character-header {
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 10px;
    flex-direction: column;
    z-index: 1;
  }


     video {
  .character-art {
        max-height: none;
     display: none !important;
     }
    width: 0 !important;
    height: 0 !important;
     overflow: hidden !important;
  }


    .mw-body {
  .character-topbar {
        padding: unset !important;
    display: flex;
     }
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 20px 0;
     z-index: 1;
  }


    .mw-body-content {
  .character-name-box {
        line-height: 1.5;
    display: flex;
     }
    align-items: flex-start;
     gap: 14px;
  }


    .mw-body-content p {
  .topbar-icon {
        display: none;
    margin-top: 0;
     }
    width: 100px;
    height: 100px;
    object-fit: none;
     aspect-ratio: 1 / 1;
    flex-shrink: 0;
  }


     /* ===========================CHARACTER CONTAINER & BACKGROUND=========================== */
  .character-name {
     .banner {
     color: #fff;
        display: none !important;
     font-size: clamp(18px, 3.2vw + 0.5rem, 42px);
     }
    font-family: "Orbitron", sans-serif;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.15;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding-bottom: 0.15em;
    margin-top: 0;
    position: relative;
    z-index: 2;
    flex: 1;
     min-width: 0;
  }


    .character-box {
  .topbar-description {
        color: #000;
    display: none;
        font-family: 'Noto Sans', sans-serif;
  }
        width: 100%;
        margin: auto;
        position: relative;
        -webkit-user-select: none;
        user-select: none;
        /* background-image será definido inline pelo Módulo (via |background=Arquivo.ext|) */
        background-position: center top;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 1;
    }


    .character-box p {
  .class-tags {
        display: unset;
    display: flex;
     }
    gap: 9px;
    flex-wrap: wrap;
     margin-left: 0.28rem;
    margin-top: 0.2em;
    position: relative;
    z-index: 1;
  }


    .character-box::before {
  .class-tag {
        content: "";
    background: #353420;
        position: absolute;
    color: #fff;
        inset: 0;
    outline: 2px solid #000;
        pointer-events: none;
    padding: 1px 6px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, .60));
    border-radius: 4px;
        z-index: 0;
    font-size: 0.9em;
    }
    font-weight: 700;
    box-shadow: 0 0 2px rgb(0 0 0 / 70%);
  }


    /* ===========================CHARACTER HEADER & INFO=========================== */
  .character-info .tier,
    .character-header {
  .character-info .class-tag {
        position: relative;
    font-size: 18px;
        overflow: hidden;
    color: #e0e0e0;
        display: flex;
    /* Melhor contraste: #bbb -> #e0e0e0 (WCAG AA) */
        gap: 10px;
  }
        flex-direction: column;
        z-index: 1;
    }


    .character-art {
  /* ===========================TABS SYSTEM=========================== */
        display: none !important;
  .character-tabs {
        width: 0 !important;
    margin: 4px 0 4px 8px;
        height: 0 !important;
    display: flex;
        overflow: hidden !important;
    gap: 12px;
    }
  }


    .character-topbar {
  .tab-btn {
        display: flex;
    padding: 6px 20px;
        flex-direction: column;
    min-width: 44px;
        align-items: flex-start;
    background: #333;
        padding: 8px 20px 0;
    color: #fff;
        z-index: 1;
    border: 2px solid transparent;
     }
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    font-weight: 600;
    line-height: 1;
    transition: background 0.15s, border-color 0.15s;
    display: inline-flex;
    align-items: center;
     justify-content: center;
  }


    .character-name-box {
  .tab-btn.active {
        display: flex;
    background: #156bc7;
        align-items: flex-start;
    border-color: #156bc7;
        gap: 14px;
  }
    }


    .topbar-icon {
  .tab-content {
        margin-top: 0;
    display: none;
        width: 100px;
    padding: 0 8px 8px;
        height: 100px;
    position: relative;
        object-fit: none;
    z-index: 2;
        aspect-ratio: 1 / 1;
    opacity: 0;
        flex-shrink: 0;
    transform: translateY(12px);
    }
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
  }


    .character-name {
  .tab-content.active {
        color: #fff;
    display: block;
        font-size: clamp(18px, 3.2vw + 0.5rem, 42px);
    opacity: 1;
        font-family: 'Orbitron', sans-serif;
    transform: translateY(0);
        font-weight: 900;
  }
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
        line-height: 1.15;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding-bottom: 0.15em;
        margin-top: 0;
        position: relative;
        z-index: 2;
        flex: 1;
        min-width: 0;
    }


    .topbar-description {
  /* Wrapper para transição de altura das abas */
        display: none;
  .tabs-height-wrapper {
     }
    position: relative;
    overflow: visible;
    will-change: height;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
     -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }


    .class-tags {
  /* Previne scroll e mudanças bruscas durante transição */
        display: flex;
  body.transitioning-tabs {
        gap: 9px;
    overflow-x: hidden !important;
        flex-wrap: wrap;
  }
        margin-left: .28rem;
        margin-top: 0.2em;
        position: relative;
        z-index: 1;
    }


    .class-tag {
  body.transitioning-tabs .character-box {
        background: #353420;
    overflow: hidden;
        color: #fff;
  }
        outline: 2px solid #000;
        padding: 1px 6px;
        border-radius: 4px;
        font-size: .9em;
        font-weight: 700;
        box-shadow: 0 0 2px rgb(0 0 0 / 70%);
    }


    .character-info .tier,
  body.transitioning-tabs .tabs-height-wrapper {
    .character-info .class-tag {
    overflow: hidden;
        font-size: 18px;
  }
        color: #e0e0e0;
        /* Melhor contraste: #bbb -> #e0e0e0 (WCAG AA) */
    }


    /* ===========================TABS SYSTEM=========================== */
  .character-box {
    .character-tabs {
    overflow: visible;
        margin: 4px 0 4px 8px;
  }
        display: flex;
        gap: 12px;
    }


    .tab-btn {
  /* ===========================SKILLS SYSTEM=========================== */
        padding: 6px 20px;
  .skills-container {
        min-width: 44px;
    display: flex;
        background: #333;
    gap: 20px;
        color: #fff;
    align-items: flex-start;
        border: 2px solid transparent;
  }
        border-radius: 8px;
        font-size: 20px;
        cursor: pointer;
        font-weight: 600;
        line-height: 1;
        transition: background .15s, border-color .15s;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }


    .tab-btn.active {
  .skills-details {
        background: #156bc7;
    flex: 1;
        border-color: #156bc7;
    display: flex;
     }
    flex-direction: column;
    gap: 10px;
    width: auto;
     justify-content: center;
  }


    .tab-content {
  /* ===========================SKILL ICONS & BAR=========================== */
        display: none;
  /* Wrapper de scroll para permitir glow sem clipping */
        padding: 0 8px 8px;
  .icon-scroll-x {
        position: relative;
    display: block;
        z-index: 2;
    overflow-x: auto;
        opacity: 0;
    overflow-y: hidden;
        transform: translateY(12px);
    padding-top: 10px;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: 10px;
        will-change: opacity, transform;
    margin-top: -10px;
     }
    margin-bottom: -10px;
    scroll-behavior: smooth;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #ababab transparent;
    position: relative;
     z-index: 4;
  }


    .tab-content.active {
  .icon-scroll-x::-webkit-scrollbar {
        display: block;
    height: 6px;
        opacity: 1;
  }
        transform: translateY(0);
    }


    /* Wrapper para transição de altura das abas */
  .icon-scroll-x::-webkit-scrollbar-track {
    .tabs-height-wrapper {
    background: transparent;
        position: relative;
  }
        overflow: visible;
        will-change: height;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }


    /* Previne scroll e mudanças bruscas durante transição */
  .icon-scroll-x::-webkit-scrollbar-thumb {
     body.transitioning-tabs {
     background: #151515;
        overflow-x: hidden !important;
    border-radius: 3px;
    }
  }


     body.transitioning-tabs .character-box {
  .icon-bar {
        overflow: hidden;
    display: flex;
     }
     flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
     padding: 6px 6px;
    margin-bottom: 6px;
    scroll-behavior: smooth;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #ababab transparent;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 4;
  }


    body.transitioning-tabs .tabs-height-wrapper {
  /* Quando dentro de .top-rail.skills, a .icon-bar não é mais scroll container */
        overflow: hidden;
  .top-rail.skills .icon-bar {
     }
    overflow: visible !important;
    width: max-content;
     max-width: none;
    margin: 0;
    padding: 6px 6px;
  }


    .character-box {
  /* Quando dentro de .top-rail.skills, permite que shadow-box passe do limite */
        overflow: visible;
  .top-rail.skills .icon-scroll-x {
     }
    /* Permite que o shadow-box passe do limite horizontal sem ser cortado */
    overflow-x: visible !important;
     overflow-y: visible !important;
    /* Remove clipping que impede shadow-box de passar */
    clip-path: none !important;
    contain: none !important;
  }


    /* ===========================SKILLS SYSTEM=========================== */
  /* Weapon Toggle Button - Estilos completamente isolados usando .weapon-active */
    .skills-container {
  .icon-bar .skill-icon.weapon-bar-toggle {
        display: flex;
    background: rgba(40, 40, 48, 0.85) !important;
        gap: 20px;
    color: rgba(255, 255, 255, 0.7) !important;
        align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
     }
    overflow: hidden !important;
    transform: none !important;
    box-shadow: none !important;
    padding: 0 !important;
     margin: 0 !important;
  }


    .skills-details {
  .icon-bar .skill-icon.weapon-bar-toggle::before {
        flex: 1;
    display: none !important;
        display: flex;
    opacity: 0 !important;
        flex-direction: column;
    box-shadow: none !important;
        gap: 10px;
  }
        width: auto;
        justify-content: center;
    }


    /* ===========================SKILL ICONS & BAR=========================== */
  .icon-bar .skill-icon.weapon-bar-toggle::after {
    /* Wrapper de scroll para permitir glow sem clipping */
    box-shadow: inset 0 0 0 var(--icon-ring-w) rgba(180, 180, 180, 0.5) !important;
    .icon-scroll-x {
  }
        display: block;
        overflow-x: auto;
        overflow-y: hidden;
        padding-top: 10px;
        padding-bottom: 10px;
        margin-top: -10px;
        margin-bottom: -10px;
        scroll-behavior: smooth;
        /* Firefox */
        scrollbar-width: thin;
        scrollbar-color: #ababab transparent;
        position: relative;
        z-index: 4;
    }


    .icon-scroll-x::-webkit-scrollbar {
  .icon-bar .skill-icon.weapon-bar-toggle:hover {
        height: 6px;
    background: rgba(55, 55, 65, 0.9) !important;
     }
     color: rgba(255, 255, 255, 0.95) !important;
    transform: none !important;
  }


    .icon-scroll-x::-webkit-scrollbar-track {
  .icon-bar .skill-icon.weapon-bar-toggle:hover::after {
        background: transparent;
    box-shadow: inset 0 0 0 var(--icon-ring-w) rgba(220, 220, 220, 0.6) !important;
    }
  }


    .icon-scroll-x::-webkit-scrollbar-thumb {
  /* Estado ativo do toggle usa .weapon-active em vez de .active */
         background: #151515;
  .icon-bar .skill-icon.weapon-bar-toggle.weapon-active {
        border-radius: 3px;
    background: linear-gradient(145deg,
    }
        rgba(200, 60, 40, 0.95),
         rgba(160, 45, 30, 0.95)) !important;
    color: #fff !important;
    transform: scale(1.08) !important;
  }


    .icon-bar {
  .icon-bar .skill-icon.weapon-bar-toggle.weapon-active::before {
        display: flex;
    display: none !important;
        flex-wrap: nowrap;
  }
        gap: 10px;
        width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        padding: 6px 6px;
        margin-bottom: 6px;
        scroll-behavior: smooth;
        /* Firefox */
        scrollbar-width: thin;
        scrollbar-color: #ababab transparent;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        z-index: 4;
    }


    /* Quando dentro de .top-rail.skills, a .icon-bar não é mais scroll container */
  .icon-bar .skill-icon.weapon-bar-toggle.weapon-active::after {
    .top-rail.skills .icon-bar {
    box-shadow: inset 0 0 0 var(--icon-ring-w) #ff5722 !important;
        overflow: visible !important;
    animation: togglePulse 1.8s ease-in-out infinite;
        width: max-content;
  }
        max-width: none;
        margin: 0;
        padding: 6px 6px;
    }


    /* Quando dentro de .top-rail.skills, permite que shadow-box passe do limite */
  @keyframes togglePulse {
    .top-rail.skills .icon-scroll-x {
        /* Permite que o shadow-box passe do limite horizontal sem ser cortado */
        overflow-x: visible !important;
        overflow-y: visible !important;
        /* Remove clipping que impede shadow-box de passar */
        clip-path: none !important;
        contain: none !important;
    }


     /* Weapon Toggle Button - Estilos completamente isolados usando .weapon-active */
     0%,
     .icon-bar .skill-icon.weapon-bar-toggle {
     100% {
        background: rgba(40, 40, 48, 0.85) !important;
      box-shadow: inset 0 0 0 var(--icon-ring-w) rgba(255, 87, 34, 0.9);
        color: rgba(255, 255, 255, 0.7) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        overflow: hidden !important;
        transform: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
     }
     }


     .icon-bar .skill-icon.weapon-bar-toggle::before {
     50% {
         display: none !important;
      box-shadow: inset 0 0 0 var(--icon-ring-w) #ff7043,
        opacity: 0 !important;
         inset 0 0 10px 2px rgba(255, 112, 67, 0.35);
        box-shadow: none !important;
     }
     }
  }


    .icon-bar .skill-icon.weapon-bar-toggle::after {
  .icon-bar .skill-icon.weapon-bar-toggle svg {
        box-shadow: inset 0 0 0 var(--icon-ring-w) rgba(180, 180, 180, 0.5) !important;
    width: 22px;
    }
    height: 22px;
    pointer-events: none;
  }


    .icon-bar .skill-icon.weapon-bar-toggle:hover {
  .icon-bar .skill-icon.weapon-bar-toggle .weapon-toggle-icon {
        background: rgba(55, 55, 65, 0.9) !important;
    display: block;
        color: rgba(255, 255, 255, 0.95) !important;
    width: 100%;
        transform: none !important;
    height: 100%;
     }
    border-radius: inherit;
    -webkit-clip-path: inset(0 round var(--icon-radius));
    clip-path: inset(0 round var(--icon-radius));
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.12s ease;
    pointer-events: none;
     object-fit: cover;
  }


    .icon-bar .skill-icon.weapon-bar-toggle:hover::after {
  .icon-bar .skill-icon.weapon-bar-toggle:focus-visible {
        box-shadow: inset 0 0 0 var(--icon-ring-w) rgba(220, 220, 220, 0.6) !important;
    outline: none;
    }
  }


    /* Estado ativo do toggle usa .weapon-active em vez de .active */
  .icon-bar .skill-icon.weapon-bar-toggle:focus-visible::after {
    .icon-bar .skill-icon.weapon-bar-toggle.weapon-active {
    box-shadow: 0 0 0 3px rgba(220, 80, 80, 0.5) !important;
        background: linear-gradient(145deg, rgba(200, 60, 40, 0.95), rgba(160, 45, 30, 0.95)) !important;
  }
        color: #fff !important;
        transform: scale(1.08) !important;
    }


    .icon-bar .skill-icon.weapon-bar-toggle.weapon-active::before {
  /* Back handle for nested skill bars */
        display: none !important;
  .top-rail.skills {
     }
    position: relative;
    overflow: visible;
    z-index: 10;
     transition: width 0.24s ease, max-width 0.24s ease;
  }


    .icon-bar .skill-icon.weapon-bar-toggle.weapon-active::after {
  .top-rail.skills.weapon-mode-on {
         box-shadow: inset 0 0 0 var(--icon-ring-w) #FF5722 !important;
    background: linear-gradient(135deg,
        animation: togglePulse 1.8s ease-in-out infinite;
         rgba(65, 25, 25, 0.96),
    }
        rgba(50, 18, 18, 0.96));
    border-color: transparent;
    animation: weapon-bar-glow 3.5s ease-in-out infinite;
  }


     @keyframes togglePulse {
  .top-rail.skills.weapon-mode-on::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 80, 80, 0.8) 25%,
        rgba(255, 120, 60, 1) 50%,
        rgba(255, 80, 80, 0.8) 75%,
        transparent 100%);
     background-size: 200% 100%;
    animation: weapon-border-scan 4s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
  }


        0%,
  .top-rail.skills.weapon-mode-on::after {
        100% {
    content: "";
            box-shadow: inset 0 0 0 var(--icon-ring-w) rgba(255, 87, 34, 0.9);
    position: absolute;
        }
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 15px rgba(255, 80, 80, 0.4),
      inset 0 0 20px rgba(255, 80, 80, 0.1);
    animation: weapon-bar-pulse 3s ease-in-out infinite;
    pointer-events: none;
  }


        50% {
  @keyframes weapon-border-scan {
            box-shadow: inset 0 0 0 var(--icon-ring-w) #FF7043, inset 0 0 10px 2px rgba(255, 112, 67, 0.35);
    0% {
        }
      background-position: 200% 0;
     }
     }


     .icon-bar .skill-icon.weapon-bar-toggle svg {
     100% {
        width: 22px;
      background-position: -200% 0;
        height: 22px;
        pointer-events: none;
     }
     }
  }


    .icon-bar .skill-icon.weapon-bar-toggle .weapon-toggle-icon {
  @keyframes weapon-bar-glow {
        display: block;
 
        width: 100%;
    0%,
        height: 100%;
    100% {
        border-radius: inherit;
      filter: brightness(1);
        -webkit-clip-path: inset(0 round var(--icon-radius));
        clip-path: inset(0 round var(--icon-radius));
        will-change: transform;
        backface-visibility: hidden;
        transform: translateZ(0);
        transition: transform .12s ease;
        pointer-events: none;
        object-fit: cover;
     }
     }


     .icon-bar .skill-icon.weapon-bar-toggle:focus-visible {
     50% {
        outline: none;
      filter: brightness(1.1);
     }
     }
  }


    .icon-bar .skill-icon.weapon-bar-toggle:focus-visible::after {
  @keyframes weapon-bar-pulse {
        box-shadow: 0 0 0 3px rgba(220, 80, 80, 0.5) !important;
 
    0%,
    100% {
      opacity: 0.6;
      box-shadow: 0 0 12px rgba(255, 80, 80, 0.3),
        inset 0 0 15px rgba(255, 80, 80, 0.08);
     }
     }


     /* Back handle for nested skill bars */
     50% {
    .top-rail.skills {
      opacity: 1;
        position: relative;
      box-shadow: 0 0 25px rgba(255, 80, 80, 0.5),
        overflow: visible;
         inset 0 0 25px rgba(255, 80, 80, 0.15);
        z-index: 10;
         transition: width .24s ease, max-width .24s ease;
     }
     }
  }


     .top-rail.skills.weapon-mode-on {
  .skills-rail-wrap {
        background: linear-gradient(135deg, rgba(65, 25, 25, 0.96), rgba(50, 18, 18, 0.96));
    position: relative;
        border-color: transparent;
    z-index: 0;
        animation: weapon-bar-glow 3.5s ease-in-out infinite;
    display: block;
    width: 100%;
    text-align: center;
    overflow: visible;
     /* Centraliza o top-rail dentro do wrapper */
  }
 
  .skills-back-wrapper {
    display: none;
    position: absolute;
    left: 0;
    /* Posição será calculada dinamicamente pelo JavaScript */
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 95%;
    z-index: -1;
    pointer-events: none;
  }
 
  .skills-back-wrapper .skills-back {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(-55%);
    width: 70px;
    height: 100%;
    padding: 0;
    border-radius: 12px 0 0 12px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-right: none;
    background: rgba(28, 28, 34, 0.95);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    pointer-events: all;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
    overflow: visible;
  }
 
  .skills-back-wrapper .skills-back:hover {
    transform: translateX(-80%);
    background: rgba(40, 40, 48, 0.95);
    color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35),
      0 0 8px rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.12);
  }
 
  @keyframes backPeekPulse {
 
    0%,
    100% {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
     }
     }


     .top-rail.skills.weapon-mode-on::before {
     50% {
        content: "";
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35),
        position: absolute;
        0 0 8px rgba(255, 255, 255, 0.18);
        inset: -2px;
        border-radius: inherit;
        padding: 2px;
        background: linear-gradient(90deg,
                transparent 0%,
                rgba(255, 80, 80, 0.8) 25%,
                rgba(255, 120, 60, 1) 50%,
                rgba(255, 80, 80, 0.8) 75%,
                transparent 100%);
        background-size: 200% 100%;
        animation: weapon-border-scan 4s linear infinite;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        z-index: -1;
     }
     }
  }


    .top-rail.skills.weapon-mode-on::after {
  .skills-back-wrapper .skills-back.peek {
        content: "";
    animation: backPeekPulse 1.4s ease-in-out infinite;
        position: absolute;
  }
        inset: 0;
        border-radius: inherit;
        box-shadow:
            0 0 15px rgba(255, 80, 80, 0.4),
            inset 0 0 20px rgba(255, 80, 80, 0.1);
        animation: weapon-bar-pulse 3s ease-in-out infinite;
        pointer-events: none;
    }


    @keyframes weapon-border-scan {
  .skills-back-wrapper .skills-back .back-chevron {
        0% {
    display: block;
            background-position: 200% 0;
    width: 90%;
        }
    height: 90%;
  }


        100% {
  .icon-bar::-webkit-scrollbar {
            background-position: -200% 0;
    height: 6px;
        }
  }
    }


    @keyframes weapon-bar-glow {
  .icon-bar::-webkit-scrollbar-track {
    background: transparent;
  }


        0%,
  .icon-bar::-webkit-scrollbar-thumb {
        100% {
    background: #151515;
            filter: brightness(1);
    border-radius: 3px;
        }
  }


        50% {
  /* Icon Variables - Consolidado na seção ICON ENHANCEMENTS */
            filter: brightness(1.1);
        }
    }


    @keyframes weapon-bar-pulse {
  .icon-bar .skill-icon {
    width: var(--icon-size);
    height: var(--icon-size);
    position: relative;
    flex: 0 0 auto;
    border-radius: var(--icon-radius);
    overflow: hidden;
    contain: paint;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    background-clip: padding-box;
    /* Anti-aliasing para bordas suaves */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(15, 15, 23, 0.95);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  }


        0%,
  /* small + badge to indicate nested subs */
        100% {
  .icon-bar .skill-icon .sub-badge {
            opacity: 0.6;
    position: absolute;
            box-shadow:
    right: 2px;
                0 0 12px rgba(255, 80, 80, 0.3),
    bottom: 2px;
                inset 0 0 15px rgba(255, 80, 80, 0.08);
    width: 16px;
        }
    height: 16px;
    border-radius: 50%;
    background: #156bc7;
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 3;
    -webkit-user-select: none;
    user-select: none;
  }


        50% {
  /* back badge (−) to return to previous bar */
            opacity: 1;
  .icon-bar .skill-icon .back-badge {
            box-shadow:
    position: absolute;
                0 0 25px rgba(255, 80, 80, 0.5),
    right: 2px;
                inset 0 0 25px rgba(255, 80, 80, 0.15);
    bottom: 2px;
        }
    width: 16px;
     }
    height: 16px;
    border-radius: 50%;
    background: #c74615;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 3;
     -webkit-user-select: none;
    user-select: none;
  }


    .skills-rail-wrap {
  .icon-bar .skill-icon img {
        position: relative;
    display: block;
        z-index: 0;
    width: 100%;
        display: block;
    height: 100%;
        width: 100%;
    aspect-ratio: 1 / 1;
        text-align: center;
    border-radius: inherit;
        overflow: visible;
    -webkit-clip-path: inset(0 round var(--icon-radius));
        /* Centraliza o top-rail dentro do wrapper */
    clip-path: inset(0 round var(--icon-radius));
    }
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.12s ease;
    object-fit: cover;
  }


    .skills-back-wrapper {
  /* Icon Ring Effects */
        display: none;
  .icon-bar .skill-icon::after {
        position: absolute;
    content: "";
        left: 0;
    position: absolute;
        /* Posição será calculada dinamicamente pelo JavaScript */
    inset: 0;
        top: 50%;
    border-radius: inherit;
        transform: translateY(-50%);
    box-shadow: inset 0 0 0 var(--icon-ring-w) var(--icon-idle);
        width: 70px;
    pointer-events: none;
        height: 95%;
    z-index: 2;
        z-index: -1;
    transition: box-shadow 0.14s ease;
        pointer-events: none;
    /* Anti-aliasing para bordas suaves */
     }
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
     transform: translateZ(0);
  }


    .skills-back-wrapper .skills-back {
  .icon-bar .skill-icon::before {
        display: flex;
    content: "";
        position: absolute;
    position: absolute;
        left: 0;
    inset: 0;
        top: 0;
    border-radius: inherit;
        transform: translateX(-55%);
    pointer-events: none;
        width: 70px;
    z-index: 1;
        height: 100%;
    box-shadow: none;
        padding: 0;
    opacity: 0;
        border-radius: 12px 0 0 12px;
    transition: opacity 0.14s ease, box-shadow 0.14s ease;
        border: 2px solid rgba(255, 255, 255, .08);
  }
        border-right: none;
        background: rgba(28, 28, 34, .95);
        color: rgba(255, 255, 255, 0.8);
        cursor: pointer;
        pointer-events: all;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
        transition: transform .22s ease, background .22s ease, color .22s ease;
        overflow: visible;
    }


    .skills-back-wrapper .skills-back:hover {
  .icon-bar .skill-icon:hover::after {
        transform: translateX(-80%);
    box-shadow: inset 0 0 0 var(--icon-ring-w) #e0e0e0;
        background: rgba(40, 40, 48, .95);
  }
        color: rgba(255, 255, 255, 1.0);
        box-shadow: 0 4px 16px rgba(0, 0, 0, .35), 0 0 8px rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.12);
    }


     @keyframes backPeekPulse {
  .icon-bar .skill-icon.active::after {
     box-shadow: inset 0 0 0 var(--icon-ring-w) var(--icon-active);
  }


        0%,
  .icon-bar .skill-icon.active::before {
        100% {
    box-shadow: 0 0 10px 2px var(--icon-active-glow),
            box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
      0 0 0 4px var(--icon-active-ring);
        }
    opacity: 1;
  }


        50% {
  .icon-bar .skill-icon.active img {
            box-shadow: 0 4px 16px rgba(0, 0, 0, .35), 0 0 8px rgba(255, 255, 255, 0.18);
    transform: scale(1.1);
        }
  }
    }


     .skills-back-wrapper .skills-back.peek {
  @media (prefers-reduced-motion: reduce) {
        animation: backPeekPulse 1.4s ease-in-out infinite;
     .icon-bar .skill-icon {
      transition: none;
     }
     }
  }


    .skills-back-wrapper .skills-back .back-chevron {
  /* ===========================SKILL DESCRIPTION & CONTENT=========================== */
        display: block;
  .skill-title {
        width: 90%;
    margin: 0 0 12px;
        height: 90%;
    display: flex;
    }
    justify-content: center;
    align-items: center;
  }


    .icon-bar::-webkit-scrollbar {
  .skill-title h3 {
        height: 6px;
    margin: 0;
    }
    width: 100%;
    text-align: center;
    font-size: 1.6em;
    color: #fff;
  }


     .icon-bar::-webkit-scrollbar-track {
  .desc-box {
        background: transparent;
    padding: 12px 18px;
     }
    background: transparent;
    border-radius: 6px;
    position: relative;
    box-shadow: none;
     color: #fff;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-shadow: none;
    height: auto;
    min-height: 0;
    font-size: 16px;
    /* Desabilita Font Boosting em mobile */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
     text-size-adjust: 100%;
  }


     .icon-bar::-webkit-scrollbar-thumb {
  .desc-box h3 {
        background: #151515;
     font-size: 2.7em;
        border-radius: 3px;
    margin: 0;
    }
    text-align: center;
    padding-top: 0;
  }


     /* Icon Variables - Consolidado na seção ICON ENHANCEMENTS */
  .desc {
    font-size: 17px !important;
    line-height: 1.75 !important;
    letter-spacing: 0.01em;
    overflow-x: hidden;
     /* iOS smooth scroll */
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    margin-top: 5px;
    padding-right: 8px;
    color: #f5f5f5;
    /* Melhor contraste para legibilidade (WCAG AA) */
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    flex: 0 0 auto !important;
    /* IMPORTANTE: Desabilita o Font Boosting que aumenta texto longo automaticamente */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    max-height: none;
  }


    .icon-bar .skill-icon {
  .desc b,
        width: var(--icon-size);
  .desc strong {
        height: var(--icon-size);
    font-weight: 700;
        position: relative;
    color: #fff;
        flex: 0 0 auto;
  }
        border-radius: var(--icon-radius);
        overflow: hidden;
        contain: paint;
        margin-top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
        background-clip: padding-box;
        /* Anti-aliasing para bordas suaves */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
        border: 1px solid rgba(255, 255, 255, 0.05);
        background-color: rgba(15, 15, 23, 0.95);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    }


    /* small + badge to indicate nested subs */
  .desc::-webkit-scrollbar {
    .icon-bar .skill-icon .sub-badge {
    width: 7px;
        position: absolute;
    height: 7px;
        right: 2px;
  }
        bottom: 2px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #156bc7;
        color: #fff;
        font-weight: 900;
        font-size: 12px;
        line-height: 16px;
        text-align: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
        cursor: pointer;
        z-index: 3;
        -webkit-user-select: none;
        user-select: none;
    }


    /* back badge (−) to return to previous bar */
  .desc::-webkit-scrollbar-thumb {
    .icon-bar .skill-icon .back-badge {
    background: #156bc7;
        position: absolute;
    border-radius: 10px;
        right: 2px;
  }
        bottom: 2px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #c74615;
        color: #fff;
        font-weight: 900;
        font-size: 14px;
        line-height: 16px;
        text-align: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
        cursor: pointer;
        z-index: 3;
        -webkit-user-select: none;
        user-select: none;
    }


    .icon-bar .skill-icon img {
  .desc::-webkit-scrollbar-track {
        display: block;
    background: #151515a8;
        width: 100%;
    border-radius: 10px;
        height: 100%;
  }
        aspect-ratio: 1 / 1;
        border-radius: inherit;
        -webkit-clip-path: inset(0 round var(--icon-radius));
        clip-path: inset(0 round var(--icon-radius));
        will-change: transform;
        backface-visibility: hidden;
        transform: translateZ(0);
        transition: transform .12s ease;
        object-fit: cover;
    }


    /* Icon Ring Effects */
  /* ===========================ATTRIBUTES & STATS=========================== */
    .icon-bar .skill-icon::after {
  .attrs,
        content: "";
  .attr-list {
        position: absolute;
    display: block;
        inset: 0;
  }
        border-radius: inherit;
        box-shadow: inset 0 0 0 var(--icon-ring-w) var(--icon-idle);
        pointer-events: none;
        z-index: 2;
        transition: box-shadow .14s ease;
        /* Anti-aliasing para bordas suaves */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
    }


    .icon-bar .skill-icon::before {
  .desc-box .attrs,
        content: "";
  .desc-box .attr-list,
        position: absolute;
  .desc-box .attrs *,
        inset: 0;
  .desc-box .attr-list * {
        border-radius: inherit;
    text-shadow: none;
        pointer-events: none;
    font-family: "Noto Sans", sans-serif;
        z-index: 1;
  }
        box-shadow: none;
        opacity: 0;
        transition: opacity .14s ease, box-shadow .14s ease;
    }


    .icon-bar .skill-icon:hover::after {
  .attrs__row,
        box-shadow: inset 0 0 0 var(--icon-ring-w) #e0e0e0;
  .attr-row {
    }
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 22px;
    line-height: 1.2;
  }


    .icon-bar .skill-icon.active::after {
  .attrs__row--empty,
        box-shadow: inset 0 0 0 var(--icon-ring-w) var(--icon-active);
  .attr-row.is-empty {
    }
    display: none;
  }


    .icon-bar .skill-icon.active::before {
  .attrs__label,
        box-shadow: 0 0 10px 2px var(--icon-active-glow), 0 0 0 4px var(--icon-active-ring);
  .attr-label {
        opacity: 1;
    font-weight: 700;
    }
    color: #f0c87b;
    font-size: 0.98rem;
    white-space: nowrap;
    margin: 0;
  }


     .icon-bar .skill-icon.active img {
  .attrs__value,
        transform: scale(1.10);
  .attr-value {
     }
    color: #fff;
     font-weight: 800;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
     margin: 0;
  }


     @media (prefers-reduced-motion: reduce) {
  /* ===========================VIDEO CONTAINER=========================== */
        .icon-bar .skill-icon {
  .video-container {
            transition: none;
     position: relative;
        }
    width: 100%;
     }
    max-width: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: none;
    overflow: hidden;
    padding: 0;
     z-index: 2;
  }


     /* ===========================SKILL DESCRIPTION & CONTENT=========================== */
  .video-container>video {
     .skill-title {
     width: 100%;
        margin: 0 0 12px;
     max-width: 100%;
        display: flex;
    height: auto;
        justify-content: center;
    aspect-ratio: 16 / 9;
        align-items: center;
    object-fit: contain;
     }
    object-position: center;
    z-index: 2;
    display: block;
    border-radius: 6px;
     background: #000;
  }


    .skill-title h3 {
  .video-placeholder {
        margin: 0;
    position: absolute;
        width: 100%;
    inset: 0;
        text-align: center;
    z-index: 6;
        font-size: 1.6em;
    display: flex;
        color: #fff;
    align-items: center;
    }
    justify-content: center;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.28s ease;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
  }


    .desc-box {
  .video-placeholder img {
        padding: 12px 18px;
    max-width: 160px;
        background: transparent;
    width: auto;
        border-radius: 6px;
    height: auto;
        position: relative;
    opacity: 0.98;
        box-shadow: none;
    display: block;
        color: #fff;
  }
        transition: all .3s ease;
        z-index: 2;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        text-shadow: none;
        height: auto;
        min-height: 0;
        font-size: 16px;
        /* Desabilita Font Boosting em mobile */
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }


    .desc-box h3 {
  .video-placeholder.fade-out {
        font-size: 2.7em;
    opacity: 0;
        margin: 0;
  }
        text-align: center;
        padding-top: 0;
    }


    .desc {
  /* ===========================LAYOUT COMPONENTS=========================== */
        font-size: 17px !important;
  .top-rail {
        line-height: 1.75 !important;
    display: flex;
        letter-spacing: .01em;
    align-items: center;
        overflow-x: hidden;
    justify-content: center;
        /* iOS smooth scroll */
    width: max-content;
        -webkit-overflow-scrolling: touch;
    max-width: 96vw;
        scrollbar-gutter: stable;
    margin: 0px auto;
        margin-top: 5px;
    padding: 5px 5px;
        padding-right: 8px;
    background: rgba(28, 28, 34, 0.95);
        color: #f5f5f5;
    border: 2px solid rgba(255, 255, 255, 0.08);
        /* Melhor contraste para legibilidade (WCAG AA) */
    border-radius: 12px;
        overflow-wrap: anywhere;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        word-break: break-word;
    -webkit-backdrop-filter: blur(2px);
        white-space: normal;
    backdrop-filter: blur(2px);
        flex: 0 0 auto !important;
  }
        /* IMPORTANTE: Desabilita o Font Boosting que aumenta texto longo automaticamente */
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        text-size-adjust: 100%;
        max-height: none;
    }


    .desc b,
  /* Quando dentro do wrapper, remove o margin auto (o wrapper centraliza) */
    .desc strong {
  .skills-rail-wrap>.top-rail {
        font-weight: 700;
    margin-left: 0 !important;
        color: #fff;
    margin-right: 0 !important;
     }
    display: inline-flex;
     /* Permite centralização via text-align do pai */
  }


    .desc::-webkit-scrollbar {
  .top-rail .rail-title {
        width: 7px;
    display: none;
        height: 7px;
  }
    }


     .desc::-webkit-scrollbar-thumb {
  .top-rail.skins .rail-title {
        background: #156bc7;
     display: block;
        border-radius: 10px;
    font-weight: 800;
    }
    font-size: clamp(20px, 2.2vw, 28px);
    color: #fff;
    margin-right: auto;
  }


    .desc::-webkit-scrollbar-track {
  .top-rail .icon-bar {
        background: #151515a8;
    width: auto;
        border-radius: 10px;
    justify-content: center;
     }
     margin: 0;
    overflow-x: auto;
  }


     /* ===========================ATTRIBUTES & STATS=========================== */
  .content-card {
     .attrs,
    width: min(1600px, 96vw);
     .attr-list {
    max-width: 96vw;
        display: block;
     margin: 10px auto;
     }
     background: rgba(28, 28, 34, 0.95);
    border-radius: 12px;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 18px;
     z-index: 2;
  }


    .desc-box .attrs,
  .content-card.skills-grid {
     .desc-box .attr-list,
    display: grid;
     .desc-box .attrs *,
     grid-template-columns: minmax(320px, 60%) minmax(320px, 45%);
     .desc-box .attr-list * {
    gap: 16px;
        text-shadow: none;
     align-items: start;
        font-family: 'Noto Sans', sans-serif;
     grid-auto-rows: auto;
    }
    margin: 10px auto 0;
  }


    .attrs__row,
  /* ===========================TIER SYSTEM=========================== */
    .attr-row {
  .tier-bronze .topbar-icon,
        display: flex;
  .tier-bronze .tier {
        align-items: center;
    outline: 2px solid #7b4e2f;
        gap: 5px;
  }
        min-height: 22px;
        line-height: 1.2;
    }


    .attrs__row--empty,
  .tier-silver .topbar-icon,
    .attr-row.is-empty {
  .tier-silver .tier {
        display: none;
    outline: 2px solid #d6d2d2;
    }
  }


    .attrs__label,
  .tier-gold .topbar-icon,
    .attr-label {
  .tier-gold .tier {
        font-weight: 700;
    outline: 2px solid #fcd300;
        color: #f0c87b;
  }
        font-size: .98rem;
        white-space: nowrap;
        margin: 0;
    }


    .attrs__value,
  .tier-diamond .topbar-icon,
    .attr-value {
  .tier-diamond .tier {
        color: #fff;
    outline: 2px solid #60dae2;
        font-weight: 800;
  }
        font-size: .98rem;
        letter-spacing: .01em;
        margin: 0;
    }


    /* ===========================VIDEO CONTAINER=========================== */
  /* ===========================RESPONSIVE DESIGN & MOBILE=========================== */
    .video-container {
  @media (max-width: 1100px) {
        position: relative;
    .character-name {
        width: 100%;
      font-size: clamp(20px, 3vw + 0.5rem, 36px);
        max-width: 100%;
      padding-bottom: 0.2em;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        box-shadow: none;
        overflow: hidden;
        padding: 0;
        z-index: 2;
     }
     }


     .video-container>video {
     .top-rail {
        width: 100%;
      flex-direction: column;
        max-width: 100%;
      align-items: stretch;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: contain;
        object-position: center;
        z-index: 2;
        display: block;
        border-radius: 6px;
        background: #000;
     }
     }


     .video-placeholder {
     .top-rail .icon-scroll-x {
        position: absolute;
      order: 2;
        inset: 0;
      width: 100%;
        z-index: 6;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        opacity: 1;
        transition: opacity .28s ease;
        background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0));
     }
     }


     .video-placeholder img {
     .top-rail .icon-bar {
        max-width: 160px;
      order: 2;
        width: auto;
      width: 100%;
        height: auto;
      flex-wrap: wrap;
        opacity: 0.98;
        display: block;
     }
     }


     .video-placeholder.fade-out {
     .content-card.skills-grid {
        opacity: 0;
      grid-template-columns: 1fr;
      gap: 12px;
     }
     }


    /* ===========================LAYOUT COMPONENTS=========================== */
     .video-container {
     .top-rail {
      width: 100%;
        display: flex;
      max-width: 100%;
        align-items: center;
      margin: 0 auto;
        justify-content: center;
      display: flex;
        width: max-content;
      align-items: center;
        max-width: 96vw;
      justify-content: center;
        margin: 0px auto;
        padding: 5px 5px;
        background: rgba(28, 28, 34, .95);
        border: 2px solid rgba(255, 255, 255, .08);
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
     }
     }
  }


    /* Quando dentro do wrapper, remove o margin auto (o wrapper centraliza) */
  @media (max-aspect-ratio: 3/4) {
     .skills-rail-wrap>.top-rail {
     .character-header .character-art {
        margin-left: 0 !important;
      display: none;
        margin-right: 0 !important;
        display: inline-flex;
        /* Permite centralização via text-align do pai */
     }
     }


     .top-rail .rail-title {
     .video-container {
        display: none;
      width: 100%;
      max-width: 100%;
      margin: 2% auto 0;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 3%;
     }
     }
  }


     .top-rail.skins .rail-title {
  @media (max-width: 600px) {
        display: block;
     .character-name {
        font-weight: 800;
      font-size: clamp(16px, 4.5vw + 0.3rem, 28px);
        font-size: clamp(20px, 2.2vw, 28px);
      line-height: 1.2;
        color: #fff;
      padding-bottom: 0.25em;
        margin-right: auto;
     }
     }


     .top-rail .icon-bar {
     .character-name-box {
        width: auto;
      flex-wrap: wrap;
        justify-content: center;
      gap: 8px;
        margin: 0;
        overflow-x: auto;
     }
     }


     .content-card {
     .content-card {
        width: min(1600px, 96vw);
      box-sizing: border-box;
        max-width: 96vw;
      max-width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 16px);
        margin: 10px auto;
      width: 100%;
        background: rgba(28, 28, 34, .95);
      margin: 10px auto;
        border-radius: 12px;
      padding: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .30);
      border-radius: 10px;
        padding: 18px;
      overflow: hidden;
        z-index: 2;
     }
     }


     .content-card.skills-grid {
     .content-card.skills-grid {
        display: grid;
      grid-template-columns: 1fr;
        grid-template-columns: minmax(320px, 60%) minmax(320px, 45%);
      gap: 12px;
        gap: 16px;
        align-items: start;
        grid-auto-rows: auto;
        margin: 10px auto 0;
     }
     }


     /* ===========================TIER SYSTEM=========================== */
     .top-rail {
    .tier-bronze .topbar-icon,
      width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right));
    .tier-bronze .tier {
      max-width: 100%;
        outline: 2px solid #7b4e2f;
      margin: 0 auto 8px;
      padding: 6px 8px;
      border-radius: 0;
      box-sizing: border-box;
      overflow: hidden;
     }
     }


     .tier-silver .topbar-icon,
     .top-rail.skills {
    .tier-silver .tier {
      overflow: visible !important;
        outline: 2px solid #d6d2d2;
     }
     }


     .tier-gold .topbar-icon,
     .top-rail .icon-scroll-x {
    .tier-gold .tier {
      width: 100%;
        outline: 2px solid #fcd300;
      padding-top: 10px;
      padding-bottom: 10px;
      margin-top: -10px;
      margin-bottom: -10px;
      overflow-x: auto;
      /* iOS smooth scroll */
      -webkit-overflow-scrolling: touch;
     }
     }


     .tier-diamond .topbar-icon,
     .top-rail .icon-bar {
    .tier-diamond .tier {
      width: 100%;
        outline: 2px solid #60dae2;
      padding: 0 6px;
      gap: 12px;
      justify-content: flex-start;
      overflow: visible !important;
      /* iOS smooth scroll */
      -webkit-overflow-scrolling: touch;
     }
     }


     /* ===========================RESPONSIVE DESIGN & MOBILE=========================== */
     :root {
    @media (max-width:1100px) {
      --icon-size: 92px;
        .character-name {
    }
            font-size: clamp(20px, 3vw + 0.5rem, 36px);
            padding-bottom: 0.2em;
        }


        .top-rail {
    .icon-bar .skill-icon {
            flex-direction: column;
      width: var(--icon-size);
            align-items: stretch;
      height: var(--icon-size);
        }
      flex: 0 0 auto;
    }


        .top-rail .icon-scroll-x {
    .video-container,
            order: 2;
    .skins-carousel-wrapper,
            width: 100%;
    .skins-carousel {
        }
      max-width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 16px);
 
      box-sizing: border-box;
        .top-rail .icon-bar {
            order: 2;
            width: 100%;
            flex-wrap: wrap;
        }
 
        .content-card.skills-grid {
            grid-template-columns: 1fr;
            gap: 12px;
        }
 
        .video-container {
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }
     }
     }


     @media (max-aspect-ratio: 3/4) {
     .video-container {
        .character-header .character-art {
      width: 100%;
            display: none;
      margin: 0 auto;
        }
      display: flex;
 
      align-items: center;
        .video-container {
      justify-content: center;
            width: 100%;
            max-width: 100%;
            margin: 2% auto 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 3%;
        }
     }
     }


     @media (max-width:600px) {
     .video-container>video,
        .character-name {
    .video-container img,
            font-size: clamp(16px, 4.5vw + 0.3rem, 28px);
    .skins-carousel img {
            line-height: 1.2;
      max-width: 100%;
            padding-bottom: 0.25em;
      width: 100%;
        }
      height: auto;
 
        .character-name-box {
            flex-wrap: wrap;
            gap: 8px;
        }
 
        .content-card {
            box-sizing: border-box;
            max-width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 16px);
            width: 100%;
            margin: 10px auto;
            padding: 12px;
            border-radius: 10px;
            overflow: hidden;
        }
 
        .content-card.skills-grid {
            grid-template-columns: 1fr;
            gap: 12px;
        }
 
        .top-rail {
            width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right));
            max-width: 100%;
            margin: 0 auto 8px;
            padding: 6px 8px;
            border-radius: 0;
            box-sizing: border-box;
            overflow: hidden;
        }
 
        .top-rail.skills {
            overflow: visible !important;
        }
 
        .top-rail .icon-scroll-x {
            width: 100%;
            padding-top: 10px;
            padding-bottom: 10px;
            margin-top: -10px;
            margin-bottom: -10px;
            overflow-x: auto;
            /* iOS smooth scroll */
            -webkit-overflow-scrolling: touch;
        }
 
        .top-rail .icon-bar {
            width: 100%;
            padding: 0 6px;
            gap: 12px;
            justify-content: flex-start;
            overflow: visible !important;
            /* iOS smooth scroll */
            -webkit-overflow-scrolling: touch;
        }
 
        :root {
            --icon-size: 92px;
        }
 
        .icon-bar .skill-icon {
            width: var(--icon-size);
            height: var(--icon-size);
            flex: 0 0 auto;
        }
 
        .video-container,
        .skins-carousel-wrapper,
        .skins-carousel {
            max-width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 16px);
            box-sizing: border-box;
        }
 
        .video-container {
            width: 100%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }
 
        .video-container>video,
        .video-container img,
        .skins-carousel img {
            max-width: 100%;
            width: 100%;
            height: auto;
        }
 
        html,
        body,
        .mw-body,
        .mw-body-content {
            overflow-x: hidden;
        }
 
        /* Base no mobile - desabilita Font Boosting */
        .desc-box {
            font-size: 16px !important;
            -webkit-text-size-adjust: 100% !important;
            -moz-text-size-adjust: 100% !important;
            text-size-adjust: 100% !important;
        }
 
        .desc-box * {
            -webkit-text-size-adjust: 100% !important;
            -moz-text-size-adjust: 100% !important;
            text-size-adjust: 100% !important;
        }
 
        /* Atributos no mobile - tamanho bem legível */
        .attrs__label,
        .attr-label {
            font-size: 20px !important;
        }
 
        .attrs__value,
        .attr-value {
            font-size: 20px !important;
        }
 
        .attr-row {
            margin-bottom: 12px;
        }
 
        #skills .desc-box .skill-level-line .attr-label {
            font-size: 22px !important;
        }
 
        /* Descrição - TAMANHO GRANDE para leitura confortável no mobile */
        .desc {
            font-size: 24px !important;
            line-height: 1.95 !important;
            -webkit-text-size-adjust: 100% !important;
            text-size-adjust: 100% !important;
        }
 
        .desc-box h3 {
            font-size: 32px !important;
        }
     }
     }


    /* ===========================OVERFLOW PROTECTION=========================== */
     html,
     html,
     body,
     body,
     .mw-body,
     .mw-body,
     .mw-body-content {
     .mw-body-content {
        box-sizing: border-box;
      overflow-x: hidden;
        max-width: 100vw;
        overflow-x: hidden;
        /* iOS smooth scroll */
        -webkit-overflow-scrolling: touch;
     }
     }


     .content-card,
     /* Base no mobile - desabilita Font Boosting */
     .top-rail,
     .desc-box {
    .video-container,
      font-size: 16px !important;
    .skins-carousel-wrapper,
      -webkit-text-size-adjust: 100% !important;
    .skins-carousel {
      -moz-text-size-adjust: 100% !important;
        box-sizing: border-box;
      text-size-adjust: 100% !important;
        max-width: 100%;
     }
     }


     .content-card *,
     .desc-box * {
    .top-rail *,
      -webkit-text-size-adjust: 100% !important;
    .video-container * {
      -moz-text-size-adjust: 100% !important;
        max-width: 100%;
      text-size-adjust: 100% !important;
        box-sizing: border-box;
     }
     }


     /* ===========================ICON ENHANCEMENTS & OVERRIDES=========================== */
     /* Atributos no mobile - tamanho bem legível */
     :root {
     .attrs__label,
        --icon-size: 50px;
    .attr-label {
        --icon-radius: 10px;
      font-size: 20px !important;
        --icon-idle: #d0d0d0;
        /* Melhor contraste */
        --icon-active: #FFD95A;
        --icon-active-ring: rgba(255, 217, 90, 0.45);
        --icon-active-glow: rgba(255, 217, 90, 0.30);
        --icon-ring-w: 2px;
     }
     }


     .icon-bar .skill-icon {
     .attrs__value,
        width: var(--icon-size) !important;
    .attr-value {
        height: var(--icon-size) !important;
      font-size: 20px !important;
        position: relative;
        border: none !important;
        outline: none !important;
        overflow: hidden;
        border-radius: var(--icon-radius);
        contain: paint;
        isolation: isolate;
        will-change: transform;
        transform: translateZ(0);
        padding: 0 !important;
        margin: 0 !important;
     }
     }


     /* Garantir que weapon toggle tenha exatamente as mesmas dimensões */
     .attr-row {
    .icon-bar .skill-icon.weapon-bar-toggle {
      margin-bottom: 12px;
        width: var(--icon-size) !important;
        height: var(--icon-size) !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
     }
     }


     .icon-bar .skill-icon img {
     #skills .desc-box .skill-level-line .attr-label {
        display: block;
      font-size: 22px !important;
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1;
        border-radius: inherit;
        -webkit-clip-path: inset(0 round var(--icon-radius));
        clip-path: inset(0 round var(--icon-radius));
        transition: transform .12s ease;
        backface-visibility: hidden;
        transform: translateZ(0);
        object-fit: cover;
     }
     }


     .icon-bar .skill-icon::after {
     /* Descrição - TAMANHO GRANDE para leitura confortável no mobile */
        content: "";
    .desc {
        position: absolute;
      font-size: 24px !important;
        inset: 0;
      line-height: 1.95 !important;
        border-radius: inherit;
      -webkit-text-size-adjust: 100% !important;
        pointer-events: none;
      text-size-adjust: 100% !important;
        z-index: 2;
        box-shadow: inset 0 0 0 var(--icon-ring-w) var(--icon-idle) !important;
        transition: box-shadow .12s ease;
     }
     }


     .icon-bar .skill-icon::before {
     .desc-box h3 {
        content: "";
      font-size: 32px !important;
        position: absolute;
        inset: -2px;
        border-radius: calc(var(--icon-radius) + 2px);
        pointer-events: none;
        z-index: 1;
        box-shadow: none;
        opacity: 0;
        transition: opacity .12s ease, box-shadow .12s ease;
     }
     }
  }


     .icon-bar .skill-icon.active {
  /* ===========================OVERFLOW PROTECTION=========================== */
        transform: scale(1.10) translateZ(0) !important;
  html,
        z-index: 5;
  body,
    }
  .mw-body,
  .mw-body-content {
     box-sizing: border-box;
    max-width: 100vw;
    overflow-x: hidden;
    /* iOS smooth scroll */
    -webkit-overflow-scrolling: touch;
  }
 
  .content-card,
  .top-rail,
  .video-container,
  .skins-carousel-wrapper,
  .skins-carousel {
    box-sizing: border-box;
    max-width: 100%;
  }
 
  .content-card *,
  .top-rail *,
  .video-container * {
    max-width: 100%;
    box-sizing: border-box;
  }
 
  /* ===========================ICON ENHANCEMENTS & OVERRIDES=========================== */
  :root {
    --icon-size: 50px;
    --icon-radius: 10px;
    --icon-idle: #d0d0d0;
    /* Melhor contraste */
    --icon-active: #ffd95a;
    --icon-active-ring: rgba(255, 217, 90, 0.45);
    --icon-active-glow: rgba(255, 217, 90, 0.3);
    --icon-ring-w: 2px;
  }
 
  .icon-bar .skill-icon {
    width: var(--icon-size) !important;
    height: var(--icon-size) !important;
    position: relative;
    border: none !important;
    outline: none !important;
    overflow: hidden;
    border-radius: var(--icon-radius);
    contain: paint;
    isolation: isolate;
    will-change: transform;
    transform: translateZ(0);
    padding: 0 !important;
    margin: 0 !important;
  }
 
  /* Garantir que weapon toggle tenha exatamente as mesmas dimensões */
  .icon-bar .skill-icon.weapon-bar-toggle {
    width: var(--icon-size) !important;
    height: var(--icon-size) !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
 
  .icon-bar .skill-icon img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: inherit;
    -webkit-clip-path: inset(0 round var(--icon-radius));
    clip-path: inset(0 round var(--icon-radius));
    transition: transform 0.12s ease;
    backface-visibility: hidden;
    transform: translateZ(0);
    object-fit: cover;
  }
 
  .icon-bar .skill-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
    box-shadow: inset 0 0 0 var(--icon-ring-w) var(--icon-idle) !important;
    transition: box-shadow 0.12s ease;
  }
 
  .icon-bar .skill-icon::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--icon-radius) + 2px);
    pointer-events: none;
    z-index: 1;
    box-shadow: none;
    opacity: 0;
    transition: opacity 0.12s ease, box-shadow 0.12s ease;
  }
 
  .icon-bar .skill-icon.active {
    transform: scale(1.1) translateZ(0) !important;
    z-index: 5;
  }


    .icon-bar .skill-icon.active::after {
  .icon-bar .skill-icon.active::after {
        box-shadow: inset 0 0 0 var(--icon-ring-w) var(--icon-active) !important;
    box-shadow: inset 0 0 0 var(--icon-ring-w) var(--icon-active) !important;
    }
  }


    .icon-bar .skill-icon.active::before {
  .icon-bar .skill-icon.active::before {
        opacity: 1 !important;
    opacity: 1 !important;
        box-shadow: 0 0 14px 4px var(--icon-active-glow), 0 0 0 calc(var(--icon-ring-w) * 2) var(--icon-active-ring) !important;
    box-shadow: 0 0 14px 4px var(--icon-active-glow),
    }
      0 0 0 calc(var(--icon-ring-w) * 2) var(--icon-active-ring) !important;
  }


    /* OVERRIDE: Skills com weapon têm prioridade sobre estilos base */
  /* OVERRIDE: Skills com weapon têm prioridade sobre estilos base */
    .character-box .top-rail.skills .icon-bar .skill-icon.has-weapon-available.active::after,
  .character-box .top-rail.skills .icon-bar .skill-icon.has-weapon-available.active::after,
    .character-box .top-rail.skills .icon-bar .skill-icon.has-weapon-available.active::before {
  .character-box .top-rail.skills .icon-bar .skill-icon.has-weapon-available.active::before {
        /* Estilos de weapon sobrescrevem estilos base */
    /* Estilos de weapon sobrescrevem estilos base */
    }
  }


    .icon-bar .skill-icon.active img {
  .icon-bar .skill-icon.active img {
        transform: none !important;
    transform: none !important;
    }
  }


    .icon-bar .skill-icon:hover:not(.active)::after {
  .icon-bar .skill-icon:hover:not(.active)::after {
        box-shadow: inset 0 0 0 var(--icon-ring-w) #e6e6e6 !important;
    box-shadow: inset 0 0 0 var(--icon-ring-w) #e6e6e6 !important;
    }
  }


    /* Permitir glow completo para ícones com weapon */
  /* Permitir glow completo para ícones com weapon */
    .top-rail.skills .icon-bar .skill-icon.has-weapon-available:not(.weapon-bar-toggle) {
  .top-rail.skills .icon-bar .skill-icon.has-weapon-available:not(.weapon-bar-toggle) {
        overflow: visible !important;
    overflow: visible !important;
        contain: none !important;
    contain: none !important;
    }
  }


    /* Garantir que transform funcione mesmo quando subskills estão visíveis */
  /* Garantir que transform funcione mesmo quando subskills estão visíveis */
    .top-rail.skills .icon-bar .skill-icon.active {
  .top-rail.skills .icon-bar .skill-icon.active {
        transform: scale(1.10) translateZ(0) !important;
    transform: scale(1.1) translateZ(0) !important;
    }
  }


    .icon-bar .skill-icon,
  .icon-bar .skill-icon,
    .icon-bar .skill-icon img,
  .icon-bar .skill-icon img,
    .icon-bar .skill-icon::after,
  .icon-bar .skill-icon::after,
    .icon-bar .skill-icon::before {
  .icon-bar .skill-icon::before {
        -webkit-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    backface-visibility: hidden;
        transform: translateZ(0);
    transform: translateZ(0);
    }
  }


    /* ===========================TOOLTIP SYSTEM=========================== */
  /* ===========================TOOLTIP SYSTEM=========================== */
    .skill-tooltip {
  .skill-tooltip {
        position: fixed;
    position: fixed;
        z-index: 9999;
    z-index: 9999;
        pointer-events: none;
    pointer-events: none;
        padding: 6px 8px;
    padding: 6px 8px;
        border-radius: 6px;
    border-radius: 6px;
        background: rgba(17, 17, 17, .9);
    background: rgba(17, 17, 17, 0.9);
        color: #fff;
    color: #fff;
        font-size: 14px;
    font-size: 14px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
        opacity: 0;
    opacity: 0;
        transition: opacity .12s ease, transform .08s ease;
    transition: opacity 0.12s ease, transform 0.08s ease;
        white-space: nowrap;
    white-space: nowrap;
    }
  }


    /* ===========================BACKGROUND SYSTEM=========================== */
  /* ===========================BACKGROUND SYSTEM=========================== */
    .mw-body-content .character-box {
  .mw-body-content .character-box {
        background-position: center top;
    background-position: center top;
        background-repeat: no-repeat;
    background-repeat: no-repeat;
        background-size: cover;
    background-size: cover;
        background-attachment: fixed;
    background-attachment: fixed;
        position: relative;
    position: relative;
        z-index: 1;
    z-index: 1;
    }
  }


    .mw-body-content .character-box::before {
  .mw-body-content .character-box::before {
        content: "";
    content: "";
        position: absolute;
    position: absolute;
        inset: 0;
    inset: 0;
        pointer-events: none;
    pointer-events: none;
        background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, .60));
    background: linear-gradient(to bottom,
        z-index: 0;
        rgba(0, 0, 0, 0.45),
    }
        rgba(0, 0, 0, 0.6));
    z-index: 0;
  }


    /* ===========================FINAL ICON OVERRIDES & FIXES=========================== */
  /* ===========================FINAL ICON OVERRIDES & FIXES=========================== */
    /* Consolidado com seção anterior - removidas duplicações */
  /* Consolidado com seção anterior - removidas duplicações */


    /* ===========================FINAL TOOLTIP STYLES=========================== */
  /* ===========================FINAL TOOLTIP STYLES=========================== */
    .skill-tooltip {
  .skill-tooltip {
        position: fixed;
    position: fixed;
        z-index: 10000;
    z-index: 10000;
        pointer-events: none;
    pointer-events: none;
        padding: 8px 10px;
    padding: 8px 10px;
        border-radius: 8px;
    border-radius: 8px;
        background: rgba(28, 28, 34, .95);
    background: rgba(28, 28, 34, 0.95);
        color: #eaeaea;
    color: #eaeaea;
        font-size: 13px;
    font-size: 13px;
        line-height: 1.25;
    line-height: 1.25;
        text-align: center;
    text-align: center;
        max-width: 360px;
    max-width: 360px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5),
        left: -9999px;
      inset 0 0 0 1px rgba(255, 255, 255, 0.06);
        top: -9999px;
    left: -9999px;
        transform: none;
    top: -9999px;
        opacity: 0;
    transform: none;
        transition: opacity .12s ease;
    opacity: 0;
        white-space: normal;
    transition: opacity 0.12s ease;
    }
    white-space: normal;
  }


    /* ===========================SKILL LEVEL STYLING=========================== */
  /* ===========================SKILL LEVEL STYLING=========================== */
    #skills .desc-box .skill-title {
  #skills .desc-box .skill-title {
        margin: 0 0 4px;
    margin: 0 0 4px;
    }
  }


    #skills .desc-box .skill-level-line {
  #skills .desc-box .skill-level-line {
        margin: 0 0 10px;
    margin: 0 0 10px;
        text-align: center;
    text-align: center;
        line-height: 1.15;
    line-height: 1.15;
    }
  }


    #skills .desc-box .skill-level-line .attr-label {
  #skills .desc-box .skill-level-line .attr-label {
        color: #f0c87b;
    color: #f0c87b;
        font-weight: 800;
    font-weight: 800;
        letter-spacing: .2px;
    letter-spacing: 0.2px;
        font-size: .98rem;
    font-size: 0.98rem;
    }
  }


    /* ===========================SKILL FLAGS (CARACTERÍSTICAS)=========================== */
  /* ===========================SKILL FLAGS (CARACTERÍSTICAS)=========================== */
    .video-container {
  .video-container {
        position: relative;
    position: relative;
    }
  }


    .skill-flags {
  .skill-flags {
        position: absolute;
    position: absolute;
        top: 8px;
    top: 8px;
        left: 8px;
    left: 8px;
        display: flex;
    display: flex;
        flex-direction: row;
    flex-direction: row;
        gap: 6px;
    gap: 6px;
        z-index: 10;
    z-index: 10;
        pointer-events: auto;
    pointer-events: auto;
    }
  }


    .skill-flag {
  .skill-flag {
        display: inline-block;
    display: inline-block;
        pointer-events: all;
    pointer-events: all;
        cursor: pointer;
    cursor: pointer;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
        width: 32px;
    width: 32px;
        height: 32px;
    height: 32px;
        aspect-ratio: 1 / 1;
    aspect-ratio: 1 / 1;
        object-fit: contain;
    object-fit: contain;
    }
  }


    /* Tooltip específico para flags (cor cinza para contraste) */
  /* Tooltip específico para flags (cor cinza para contraste) */
    .skill-tooltip.flag-tooltip {
  .skill-tooltip.flag-tooltip {
        background: rgba(80, 80, 85, .98) !important;
    background: rgba(80, 80, 85, 0.98) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .12) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5),
    }
      inset 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
  }
</style>
</style>

Edição das 14h17min de 22 de janeiro de 2026

<style>

 /* ===========================BASE STYLES & RESET=========================== */
 img {
   pointer-events: none;
   -webkit-user-select: none;
   user-select: none;
 }
 video {
   max-height: none;
 }
 .mw-body {
   padding: unset !important;
 }
 .mw-body-content {
   line-height: 1.5;
 }
 .mw-body-content p {
   display: none;
 }
 /* ===========================CHARACTER CONTAINER & BACKGROUND=========================== */
 .banner {
   display: none !important;
 }
 .character-box {
   color: #000;
   font-family: "Noto Sans", sans-serif;
   width: 100%;
   margin: auto;
   position: relative;
   -webkit-user-select: none;
   user-select: none;
   /* background-image será definido inline pelo Módulo (via |background=Arquivo.ext|) */
   background-position: center top;
   background-repeat: no-repeat;
   background-size: cover;
   z-index: 1;
 }
 .character-box p {
   display: unset;
 }
 .character-box::before {
   content: "";
   position: absolute;
   inset: 0;
   pointer-events: none;
   background: linear-gradient(to bottom,
       rgba(0, 0, 0, 0.45),
       rgba(0, 0, 0, 0.6));
   z-index: 0;
 }
 /* ===========================CHARACTER HEADER & INFO=========================== */
 .character-header {
   position: relative;
   overflow: hidden;
   display: flex;
   gap: 10px;
   flex-direction: column;
   z-index: 1;
 }
 .character-art {
   display: none !important;
   width: 0 !important;
   height: 0 !important;
   overflow: hidden !important;
 }
 .character-topbar {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   padding: 8px 20px 0;
   z-index: 1;
 }
 .character-name-box {
   display: flex;
   align-items: flex-start;
   gap: 14px;
 }
 .topbar-icon {
   margin-top: 0;
   width: 100px;
   height: 100px;
   object-fit: none;
   aspect-ratio: 1 / 1;
   flex-shrink: 0;
 }
 .character-name {
   color: #fff;
   font-size: clamp(18px, 3.2vw + 0.5rem, 42px);
   font-family: "Orbitron", sans-serif;
   font-weight: 900;
   text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
   line-height: 1.15;
   word-break: break-word;
   overflow-wrap: break-word;
   hyphens: auto;
   padding-bottom: 0.15em;
   margin-top: 0;
   position: relative;
   z-index: 2;
   flex: 1;
   min-width: 0;
 }
 .topbar-description {
   display: none;
 }
 .class-tags {
   display: flex;
   gap: 9px;
   flex-wrap: wrap;
   margin-left: 0.28rem;
   margin-top: 0.2em;
   position: relative;
   z-index: 1;
 }
 .class-tag {
   background: #353420;
   color: #fff;
   outline: 2px solid #000;
   padding: 1px 6px;
   border-radius: 4px;
   font-size: 0.9em;
   font-weight: 700;
   box-shadow: 0 0 2px rgb(0 0 0 / 70%);
 }
 .character-info .tier,
 .character-info .class-tag {
   font-size: 18px;
   color: #e0e0e0;
   /* Melhor contraste: #bbb -> #e0e0e0 (WCAG AA) */
 }
 /* ===========================TABS SYSTEM=========================== */
 .character-tabs {
   margin: 4px 0 4px 8px;
   display: flex;
   gap: 12px;
 }
 .tab-btn {
   padding: 6px 20px;
   min-width: 44px;
   background: #333;
   color: #fff;
   border: 2px solid transparent;
   border-radius: 8px;
   font-size: 20px;
   cursor: pointer;
   font-weight: 600;
   line-height: 1;
   transition: background 0.15s, border-color 0.15s;
   display: inline-flex;
   align-items: center;
   justify-content: center;
 }
 .tab-btn.active {
   background: #156bc7;
   border-color: #156bc7;
 }
 .tab-content {
   display: none;
   padding: 0 8px 8px;
   position: relative;
   z-index: 2;
   opacity: 0;
   transform: translateY(12px);
   transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
     transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   will-change: opacity, transform;
 }
 .tab-content.active {
   display: block;
   opacity: 1;
   transform: translateY(0);
 }
 /* Wrapper para transição de altura das abas */
 .tabs-height-wrapper {
   position: relative;
   overflow: visible;
   will-change: height;
   -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
   -webkit-transform: translateZ(0);
   transform: translateZ(0);
 }
 /* Previne scroll e mudanças bruscas durante transição */
 body.transitioning-tabs {
   overflow-x: hidden !important;
 }
 body.transitioning-tabs .character-box {
   overflow: hidden;
 }
 body.transitioning-tabs .tabs-height-wrapper {
   overflow: hidden;
 }
 .character-box {
   overflow: visible;
 }
 /* ===========================SKILLS SYSTEM=========================== */
 .skills-container {
   display: flex;
   gap: 20px;
   align-items: flex-start;
 }
 .skills-details {
   flex: 1;
   display: flex;
   flex-direction: column;
   gap: 10px;
   width: auto;
   justify-content: center;
 }
 /* ===========================SKILL ICONS & BAR=========================== */
 /* Wrapper de scroll para permitir glow sem clipping */
 .icon-scroll-x {
   display: block;
   overflow-x: auto;
   overflow-y: hidden;
   padding-top: 10px;
   padding-bottom: 10px;
   margin-top: -10px;
   margin-bottom: -10px;
   scroll-behavior: smooth;
   /* Firefox */
   scrollbar-width: thin;
   scrollbar-color: #ababab transparent;
   position: relative;
   z-index: 4;
 }
 .icon-scroll-x::-webkit-scrollbar {
   height: 6px;
 }
 .icon-scroll-x::-webkit-scrollbar-track {
   background: transparent;
 }
 .icon-scroll-x::-webkit-scrollbar-thumb {
   background: #151515;
   border-radius: 3px;
 }
 .icon-bar {
   display: flex;
   flex-wrap: nowrap;
   gap: 10px;
   width: 100%;
   overflow-x: auto;
   overflow-y: visible;
   padding: 6px 6px;
   margin-bottom: 6px;
   scroll-behavior: smooth;
   /* Firefox */
   scrollbar-width: thin;
   scrollbar-color: #ababab transparent;
   justify-content: flex-start;
   align-items: center;
   position: relative;
   z-index: 4;
 }
 /* Quando dentro de .top-rail.skills, a .icon-bar não é mais scroll container */
 .top-rail.skills .icon-bar {
   overflow: visible !important;
   width: max-content;
   max-width: none;
   margin: 0;
   padding: 6px 6px;
 }
 /* Quando dentro de .top-rail.skills, permite que shadow-box passe do limite */
 .top-rail.skills .icon-scroll-x {
   /* Permite que o shadow-box passe do limite horizontal sem ser cortado */
   overflow-x: visible !important;
   overflow-y: visible !important;
   /* Remove clipping que impede shadow-box de passar */
   clip-path: none !important;
   contain: none !important;
 }
 /* Weapon Toggle Button - Estilos completamente isolados usando .weapon-active */
 .icon-bar .skill-icon.weapon-bar-toggle {
   background: rgba(40, 40, 48, 0.85) !important;
   color: rgba(255, 255, 255, 0.7) !important;
   border: 1px solid rgba(255, 255, 255, 0.08) !important;
   overflow: hidden !important;
   transform: none !important;
   box-shadow: none !important;
   padding: 0 !important;
   margin: 0 !important;
 }
 .icon-bar .skill-icon.weapon-bar-toggle::before {
   display: none !important;
   opacity: 0 !important;
   box-shadow: none !important;
 }
 .icon-bar .skill-icon.weapon-bar-toggle::after {
   box-shadow: inset 0 0 0 var(--icon-ring-w) rgba(180, 180, 180, 0.5) !important;
 }
 .icon-bar .skill-icon.weapon-bar-toggle:hover {
   background: rgba(55, 55, 65, 0.9) !important;
   color: rgba(255, 255, 255, 0.95) !important;
   transform: none !important;
 }
 .icon-bar .skill-icon.weapon-bar-toggle:hover::after {
   box-shadow: inset 0 0 0 var(--icon-ring-w) rgba(220, 220, 220, 0.6) !important;
 }
 /* Estado ativo do toggle usa .weapon-active em vez de .active */
 .icon-bar .skill-icon.weapon-bar-toggle.weapon-active {
   background: linear-gradient(145deg,
       rgba(200, 60, 40, 0.95),
       rgba(160, 45, 30, 0.95)) !important;
   color: #fff !important;
   transform: scale(1.08) !important;
 }
 .icon-bar .skill-icon.weapon-bar-toggle.weapon-active::before {
   display: none !important;
 }
 .icon-bar .skill-icon.weapon-bar-toggle.weapon-active::after {
   box-shadow: inset 0 0 0 var(--icon-ring-w) #ff5722 !important;
   animation: togglePulse 1.8s ease-in-out infinite;
 }
 @keyframes togglePulse {
   0%,
   100% {
     box-shadow: inset 0 0 0 var(--icon-ring-w) rgba(255, 87, 34, 0.9);
   }
   50% {
     box-shadow: inset 0 0 0 var(--icon-ring-w) #ff7043,
       inset 0 0 10px 2px rgba(255, 112, 67, 0.35);
   }
 }
 .icon-bar .skill-icon.weapon-bar-toggle svg {
   width: 22px;
   height: 22px;
   pointer-events: none;
 }
 .icon-bar .skill-icon.weapon-bar-toggle .weapon-toggle-icon {
   display: block;
   width: 100%;
   height: 100%;
   border-radius: inherit;
   -webkit-clip-path: inset(0 round var(--icon-radius));
   clip-path: inset(0 round var(--icon-radius));
   will-change: transform;
   backface-visibility: hidden;
   transform: translateZ(0);
   transition: transform 0.12s ease;
   pointer-events: none;
   object-fit: cover;
 }
 .icon-bar .skill-icon.weapon-bar-toggle:focus-visible {
   outline: none;
 }
 .icon-bar .skill-icon.weapon-bar-toggle:focus-visible::after {
   box-shadow: 0 0 0 3px rgba(220, 80, 80, 0.5) !important;
 }
 /* Back handle for nested skill bars */
 .top-rail.skills {
   position: relative;
   overflow: visible;
   z-index: 10;
   transition: width 0.24s ease, max-width 0.24s ease;
 }
 .top-rail.skills.weapon-mode-on {
   background: linear-gradient(135deg,
       rgba(65, 25, 25, 0.96),
       rgba(50, 18, 18, 0.96));
   border-color: transparent;
   animation: weapon-bar-glow 3.5s ease-in-out infinite;
 }
 .top-rail.skills.weapon-mode-on::before {
   content: "";
   position: absolute;
   inset: -2px;
   border-radius: inherit;
   padding: 2px;
   background: linear-gradient(90deg,
       transparent 0%,
       rgba(255, 80, 80, 0.8) 25%,
       rgba(255, 120, 60, 1) 50%,
       rgba(255, 80, 80, 0.8) 75%,
       transparent 100%);
   background-size: 200% 100%;
   animation: weapon-border-scan 4s linear infinite;
   -webkit-mask: linear-gradient(#fff 0 0) content-box,
     linear-gradient(#fff 0 0);
   mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
   -webkit-mask-composite: xor;
   mask-composite: exclude;
   pointer-events: none;
   z-index: -1;
 }
 .top-rail.skills.weapon-mode-on::after {
   content: "";
   position: absolute;
   inset: 0;
   border-radius: inherit;
   box-shadow: 0 0 15px rgba(255, 80, 80, 0.4),
     inset 0 0 20px rgba(255, 80, 80, 0.1);
   animation: weapon-bar-pulse 3s ease-in-out infinite;
   pointer-events: none;
 }
 @keyframes weapon-border-scan {
   0% {
     background-position: 200% 0;
   }
   100% {
     background-position: -200% 0;
   }
 }
 @keyframes weapon-bar-glow {
   0%,
   100% {
     filter: brightness(1);
   }
   50% {
     filter: brightness(1.1);
   }
 }
 @keyframes weapon-bar-pulse {
   0%,
   100% {
     opacity: 0.6;
     box-shadow: 0 0 12px rgba(255, 80, 80, 0.3),
       inset 0 0 15px rgba(255, 80, 80, 0.08);
   }
   50% {
     opacity: 1;
     box-shadow: 0 0 25px rgba(255, 80, 80, 0.5),
       inset 0 0 25px rgba(255, 80, 80, 0.15);
   }
 }
 .skills-rail-wrap {
   position: relative;
   z-index: 0;
   display: block;
   width: 100%;
   text-align: center;
   overflow: visible;
   /* Centraliza o top-rail dentro do wrapper */
 }
 .skills-back-wrapper {
   display: none;
   position: absolute;
   left: 0;
   /* Posição será calculada dinamicamente pelo JavaScript */
   top: 50%;
   transform: translateY(-50%);
   width: 70px;
   height: 95%;
   z-index: -1;
   pointer-events: none;
 }
 .skills-back-wrapper .skills-back {
   display: flex;
   position: absolute;
   left: 0;
   top: 0;
   transform: translateX(-55%);
   width: 70px;
   height: 100%;
   padding: 0;
   border-radius: 12px 0 0 12px;
   border: 2px solid rgba(255, 255, 255, 0.08);
   border-right: none;
   background: rgba(28, 28, 34, 0.95);
   color: rgba(255, 255, 255, 0.8);
   cursor: pointer;
   pointer-events: all;
   align-items: center;
   justify-content: center;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
   -webkit-backdrop-filter: blur(2px);
   backdrop-filter: blur(2px);
   transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
   overflow: visible;
 }
 .skills-back-wrapper .skills-back:hover {
   transform: translateX(-80%);
   background: rgba(40, 40, 48, 0.95);
   color: rgba(255, 255, 255, 1);
   box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35),
     0 0 8px rgba(255, 255, 255, 0.12);
   border-color: rgba(255, 255, 255, 0.12);
 }
 @keyframes backPeekPulse {
   0%,
   100% {
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
   }
   50% {
     box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35),
       0 0 8px rgba(255, 255, 255, 0.18);
   }
 }
 .skills-back-wrapper .skills-back.peek {
   animation: backPeekPulse 1.4s ease-in-out infinite;
 }
 .skills-back-wrapper .skills-back .back-chevron {
   display: block;
   width: 90%;
   height: 90%;
 }
 .icon-bar::-webkit-scrollbar {
   height: 6px;
 }
 .icon-bar::-webkit-scrollbar-track {
   background: transparent;
 }
 .icon-bar::-webkit-scrollbar-thumb {
   background: #151515;
   border-radius: 3px;
 }
 /* Icon Variables - Consolidado na seção ICON ENHANCEMENTS */
 .icon-bar .skill-icon {
   width: var(--icon-size);
   height: var(--icon-size);
   position: relative;
   flex: 0 0 auto;
   border-radius: var(--icon-radius);
   overflow: hidden;
   contain: paint;
   margin-top: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   -webkit-tap-highlight-color: transparent;
   background-clip: padding-box;
   /* Anti-aliasing para bordas suaves */
   -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
   transform: translateZ(0);
   border: 1px solid rgba(255, 255, 255, 0.05);
   background-color: rgba(15, 15, 23, 0.95);
   box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
 }
 /* small + badge to indicate nested subs */
 .icon-bar .skill-icon .sub-badge {
   position: absolute;
   right: 2px;
   bottom: 2px;
   width: 16px;
   height: 16px;
   border-radius: 50%;
   background: #156bc7;
   color: #fff;
   font-weight: 900;
   font-size: 12px;
   line-height: 16px;
   text-align: center;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
   cursor: pointer;
   z-index: 3;
   -webkit-user-select: none;
   user-select: none;
 }
 /* back badge (−) to return to previous bar */
 .icon-bar .skill-icon .back-badge {
   position: absolute;
   right: 2px;
   bottom: 2px;
   width: 16px;
   height: 16px;
   border-radius: 50%;
   background: #c74615;
   color: #fff;
   font-weight: 900;
   font-size: 14px;
   line-height: 16px;
   text-align: center;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
   cursor: pointer;
   z-index: 3;
   -webkit-user-select: none;
   user-select: none;
 }
 .icon-bar .skill-icon img {
   display: block;
   width: 100%;
   height: 100%;
   aspect-ratio: 1 / 1;
   border-radius: inherit;
   -webkit-clip-path: inset(0 round var(--icon-radius));
   clip-path: inset(0 round var(--icon-radius));
   will-change: transform;
   backface-visibility: hidden;
   transform: translateZ(0);
   transition: transform 0.12s ease;
   object-fit: cover;
 }
 /* Icon Ring Effects */
 .icon-bar .skill-icon::after {
   content: "";
   position: absolute;
   inset: 0;
   border-radius: inherit;
   box-shadow: inset 0 0 0 var(--icon-ring-w) var(--icon-idle);
   pointer-events: none;
   z-index: 2;
   transition: box-shadow 0.14s ease;
   /* Anti-aliasing para bordas suaves */
   -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
   transform: translateZ(0);
 }
 .icon-bar .skill-icon::before {
   content: "";
   position: absolute;
   inset: 0;
   border-radius: inherit;
   pointer-events: none;
   z-index: 1;
   box-shadow: none;
   opacity: 0;
   transition: opacity 0.14s ease, box-shadow 0.14s ease;
 }
 .icon-bar .skill-icon:hover::after {
   box-shadow: inset 0 0 0 var(--icon-ring-w) #e0e0e0;
 }
 .icon-bar .skill-icon.active::after {
   box-shadow: inset 0 0 0 var(--icon-ring-w) var(--icon-active);
 }
 .icon-bar .skill-icon.active::before {
   box-shadow: 0 0 10px 2px var(--icon-active-glow),
     0 0 0 4px var(--icon-active-ring);
   opacity: 1;
 }
 .icon-bar .skill-icon.active img {
   transform: scale(1.1);
 }
 @media (prefers-reduced-motion: reduce) {
   .icon-bar .skill-icon {
     transition: none;
   }
 }
 /* ===========================SKILL DESCRIPTION & CONTENT=========================== */
 .skill-title {
   margin: 0 0 12px;
   display: flex;
   justify-content: center;
   align-items: center;
 }
 .skill-title h3 {
   margin: 0;
   width: 100%;
   text-align: center;
   font-size: 1.6em;
   color: #fff;
 }
 .desc-box {
   padding: 12px 18px;
   background: transparent;
   border-radius: 6px;
   position: relative;
   box-shadow: none;
   color: #fff;
   transition: all 0.3s ease;
   z-index: 2;
   display: flex;
   flex-direction: column;
   overflow: hidden;
   text-shadow: none;
   height: auto;
   min-height: 0;
   font-size: 16px;
   /* Desabilita Font Boosting em mobile */
   -webkit-text-size-adjust: 100%;
   -moz-text-size-adjust: 100%;
   text-size-adjust: 100%;
 }
 .desc-box h3 {
   font-size: 2.7em;
   margin: 0;
   text-align: center;
   padding-top: 0;
 }
 .desc {
   font-size: 17px !important;
   line-height: 1.75 !important;
   letter-spacing: 0.01em;
   overflow-x: hidden;
   /* iOS smooth scroll */
   -webkit-overflow-scrolling: touch;
   scrollbar-gutter: stable;
   margin-top: 5px;
   padding-right: 8px;
   color: #f5f5f5;
   /* Melhor contraste para legibilidade (WCAG AA) */
   overflow-wrap: anywhere;
   word-break: break-word;
   white-space: normal;
   flex: 0 0 auto !important;
   /* IMPORTANTE: Desabilita o Font Boosting que aumenta texto longo automaticamente */
   -webkit-text-size-adjust: 100%;
   -moz-text-size-adjust: 100%;
   text-size-adjust: 100%;
   max-height: none;
 }
 .desc b,
 .desc strong {
   font-weight: 700;
   color: #fff;
 }
 .desc::-webkit-scrollbar {
   width: 7px;
   height: 7px;
 }
 .desc::-webkit-scrollbar-thumb {
   background: #156bc7;
   border-radius: 10px;
 }
 .desc::-webkit-scrollbar-track {
   background: #151515a8;
   border-radius: 10px;
 }
 /* ===========================ATTRIBUTES & STATS=========================== */
 .attrs,
 .attr-list {
   display: block;
 }
 .desc-box .attrs,
 .desc-box .attr-list,
 .desc-box .attrs *,
 .desc-box .attr-list * {
   text-shadow: none;
   font-family: "Noto Sans", sans-serif;
 }
 .attrs__row,
 .attr-row {
   display: flex;
   align-items: center;
   gap: 5px;
   min-height: 22px;
   line-height: 1.2;
 }
 .attrs__row--empty,
 .attr-row.is-empty {
   display: none;
 }
 .attrs__label,
 .attr-label {
   font-weight: 700;
   color: #f0c87b;
   font-size: 0.98rem;
   white-space: nowrap;
   margin: 0;
 }
 .attrs__value,
 .attr-value {
   color: #fff;
   font-weight: 800;
   font-size: 0.98rem;
   letter-spacing: 0.01em;
   margin: 0;
 }
 /* ===========================VIDEO CONTAINER=========================== */
 .video-container {
   position: relative;
   width: 100%;
   max-width: 100%;
   background: transparent;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 10px;
   box-shadow: none;
   overflow: hidden;
   padding: 0;
   z-index: 2;
 }
 .video-container>video {
   width: 100%;
   max-width: 100%;
   height: auto;
   aspect-ratio: 16 / 9;
   object-fit: contain;
   object-position: center;
   z-index: 2;
   display: block;
   border-radius: 6px;
   background: #000;
 }
 .video-placeholder {
   position: absolute;
   inset: 0;
   z-index: 6;
   display: flex;
   align-items: center;
   justify-content: center;
   pointer-events: none;
   opacity: 1;
   transition: opacity 0.28s ease;
   background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
 }
 .video-placeholder img {
   max-width: 160px;
   width: auto;
   height: auto;
   opacity: 0.98;
   display: block;
 }
 .video-placeholder.fade-out {
   opacity: 0;
 }
 /* ===========================LAYOUT COMPONENTS=========================== */
 .top-rail {
   display: flex;
   align-items: center;
   justify-content: center;
   width: max-content;
   max-width: 96vw;
   margin: 0px auto;
   padding: 5px 5px;
   background: rgba(28, 28, 34, 0.95);
   border: 2px solid rgba(255, 255, 255, 0.08);
   border-radius: 12px;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
   -webkit-backdrop-filter: blur(2px);
   backdrop-filter: blur(2px);
 }
 /* Quando dentro do wrapper, remove o margin auto (o wrapper centraliza) */
 .skills-rail-wrap>.top-rail {
   margin-left: 0 !important;
   margin-right: 0 !important;
   display: inline-flex;
   /* Permite centralização via text-align do pai */
 }
 .top-rail .rail-title {
   display: none;
 }
 .top-rail.skins .rail-title {
   display: block;
   font-weight: 800;
   font-size: clamp(20px, 2.2vw, 28px);
   color: #fff;
   margin-right: auto;
 }
 .top-rail .icon-bar {
   width: auto;
   justify-content: center;
   margin: 0;
   overflow-x: auto;
 }
 .content-card {
   width: min(1600px, 96vw);
   max-width: 96vw;
   margin: 10px auto;
   background: rgba(28, 28, 34, 0.95);
   border-radius: 12px;
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
   padding: 18px;
   z-index: 2;
 }
 .content-card.skills-grid {
   display: grid;
   grid-template-columns: minmax(320px, 60%) minmax(320px, 45%);
   gap: 16px;
   align-items: start;
   grid-auto-rows: auto;
   margin: 10px auto 0;
 }
 /* ===========================TIER SYSTEM=========================== */
 .tier-bronze .topbar-icon,
 .tier-bronze .tier {
   outline: 2px solid #7b4e2f;
 }
 .tier-silver .topbar-icon,
 .tier-silver .tier {
   outline: 2px solid #d6d2d2;
 }
 .tier-gold .topbar-icon,
 .tier-gold .tier {
   outline: 2px solid #fcd300;
 }
 .tier-diamond .topbar-icon,
 .tier-diamond .tier {
   outline: 2px solid #60dae2;
 }
 /* ===========================RESPONSIVE DESIGN & MOBILE=========================== */
 @media (max-width: 1100px) {
   .character-name {
     font-size: clamp(20px, 3vw + 0.5rem, 36px);
     padding-bottom: 0.2em;
   }
   .top-rail {
     flex-direction: column;
     align-items: stretch;
   }
   .top-rail .icon-scroll-x {
     order: 2;
     width: 100%;
   }
   .top-rail .icon-bar {
     order: 2;
     width: 100%;
     flex-wrap: wrap;
   }
   .content-card.skills-grid {
     grid-template-columns: 1fr;
     gap: 12px;
   }
   .video-container {
     width: 100%;
     max-width: 100%;
     margin: 0 auto;
     display: flex;
     align-items: center;
     justify-content: center;
   }
 }
 @media (max-aspect-ratio: 3/4) {
   .character-header .character-art {
     display: none;
   }
   .video-container {
     width: 100%;
     max-width: 100%;
     margin: 2% auto 0;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 3%;
   }
 }
 @media (max-width: 600px) {
   .character-name {
     font-size: clamp(16px, 4.5vw + 0.3rem, 28px);
     line-height: 1.2;
     padding-bottom: 0.25em;
   }
   .character-name-box {
     flex-wrap: wrap;
     gap: 8px;
   }
   .content-card {
     box-sizing: border-box;
     max-width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 16px);
     width: 100%;
     margin: 10px auto;
     padding: 12px;
     border-radius: 10px;
     overflow: hidden;
   }
   .content-card.skills-grid {
     grid-template-columns: 1fr;
     gap: 12px;
   }
   .top-rail {
     width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right));
     max-width: 100%;
     margin: 0 auto 8px;
     padding: 6px 8px;
     border-radius: 0;
     box-sizing: border-box;
     overflow: hidden;
   }
   .top-rail.skills {
     overflow: visible !important;
   }
   .top-rail .icon-scroll-x {
     width: 100%;
     padding-top: 10px;
     padding-bottom: 10px;
     margin-top: -10px;
     margin-bottom: -10px;
     overflow-x: auto;
     /* iOS smooth scroll */
     -webkit-overflow-scrolling: touch;
   }
   .top-rail .icon-bar {
     width: 100%;
     padding: 0 6px;
     gap: 12px;
     justify-content: flex-start;
     overflow: visible !important;
     /* iOS smooth scroll */
     -webkit-overflow-scrolling: touch;
   }
   :root {
     --icon-size: 92px;
   }
   .icon-bar .skill-icon {
     width: var(--icon-size);
     height: var(--icon-size);
     flex: 0 0 auto;
   }
   .video-container,
   .skins-carousel-wrapper,
   .skins-carousel {
     max-width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 16px);
     box-sizing: border-box;
   }
   .video-container {
     width: 100%;
     margin: 0 auto;
     display: flex;
     align-items: center;
     justify-content: center;
   }
   .video-container>video,
   .video-container img,
   .skins-carousel img {
     max-width: 100%;
     width: 100%;
     height: auto;
   }
   html,
   body,
   .mw-body,
   .mw-body-content {
     overflow-x: hidden;
   }
   /* Base no mobile - desabilita Font Boosting */
   .desc-box {
     font-size: 16px !important;
     -webkit-text-size-adjust: 100% !important;
     -moz-text-size-adjust: 100% !important;
     text-size-adjust: 100% !important;
   }
   .desc-box * {
     -webkit-text-size-adjust: 100% !important;
     -moz-text-size-adjust: 100% !important;
     text-size-adjust: 100% !important;
   }
   /* Atributos no mobile - tamanho bem legível */
   .attrs__label,
   .attr-label {
     font-size: 20px !important;
   }
   .attrs__value,
   .attr-value {
     font-size: 20px !important;
   }
   .attr-row {
     margin-bottom: 12px;
   }
   #skills .desc-box .skill-level-line .attr-label {
     font-size: 22px !important;
   }
   /* Descrição - TAMANHO GRANDE para leitura confortável no mobile */
   .desc {
     font-size: 24px !important;
     line-height: 1.95 !important;
     -webkit-text-size-adjust: 100% !important;
     text-size-adjust: 100% !important;
   }
   .desc-box h3 {
     font-size: 32px !important;
   }
 }
 /* ===========================OVERFLOW PROTECTION=========================== */
 html,
 body,
 .mw-body,
 .mw-body-content {
   box-sizing: border-box;
   max-width: 100vw;
   overflow-x: hidden;
   /* iOS smooth scroll */
   -webkit-overflow-scrolling: touch;
 }
 .content-card,
 .top-rail,
 .video-container,
 .skins-carousel-wrapper,
 .skins-carousel {
   box-sizing: border-box;
   max-width: 100%;
 }
 .content-card *,
 .top-rail *,
 .video-container * {
   max-width: 100%;
   box-sizing: border-box;
 }
 /* ===========================ICON ENHANCEMENTS & OVERRIDES=========================== */
 :root {
   --icon-size: 50px;
   --icon-radius: 10px;
   --icon-idle: #d0d0d0;
   /* Melhor contraste */
   --icon-active: #ffd95a;
   --icon-active-ring: rgba(255, 217, 90, 0.45);
   --icon-active-glow: rgba(255, 217, 90, 0.3);
   --icon-ring-w: 2px;
 }
 .icon-bar .skill-icon {
   width: var(--icon-size) !important;
   height: var(--icon-size) !important;
   position: relative;
   border: none !important;
   outline: none !important;
   overflow: hidden;
   border-radius: var(--icon-radius);
   contain: paint;
   isolation: isolate;
   will-change: transform;
   transform: translateZ(0);
   padding: 0 !important;
   margin: 0 !important;
 }
 /* Garantir que weapon toggle tenha exatamente as mesmas dimensões */
 .icon-bar .skill-icon.weapon-bar-toggle {
   width: var(--icon-size) !important;
   height: var(--icon-size) !important;
   padding: 0 !important;
   margin: 0 !important;
   box-sizing: border-box !important;
 }
 .icon-bar .skill-icon img {
   display: block;
   width: 100%;
   height: 100%;
   aspect-ratio: 1 / 1;
   border-radius: inherit;
   -webkit-clip-path: inset(0 round var(--icon-radius));
   clip-path: inset(0 round var(--icon-radius));
   transition: transform 0.12s ease;
   backface-visibility: hidden;
   transform: translateZ(0);
   object-fit: cover;
 }
 .icon-bar .skill-icon::after {
   content: "";
   position: absolute;
   inset: 0;
   border-radius: inherit;
   pointer-events: none;
   z-index: 2;
   box-shadow: inset 0 0 0 var(--icon-ring-w) var(--icon-idle) !important;
   transition: box-shadow 0.12s ease;
 }
 .icon-bar .skill-icon::before {
   content: "";
   position: absolute;
   inset: -2px;
   border-radius: calc(var(--icon-radius) + 2px);
   pointer-events: none;
   z-index: 1;
   box-shadow: none;
   opacity: 0;
   transition: opacity 0.12s ease, box-shadow 0.12s ease;
 }
 .icon-bar .skill-icon.active {
   transform: scale(1.1) translateZ(0) !important;
   z-index: 5;
 }
 .icon-bar .skill-icon.active::after {
   box-shadow: inset 0 0 0 var(--icon-ring-w) var(--icon-active) !important;
 }
 .icon-bar .skill-icon.active::before {
   opacity: 1 !important;
   box-shadow: 0 0 14px 4px var(--icon-active-glow),
     0 0 0 calc(var(--icon-ring-w) * 2) var(--icon-active-ring) !important;
 }
 /* OVERRIDE: Skills com weapon têm prioridade sobre estilos base */
 .character-box .top-rail.skills .icon-bar .skill-icon.has-weapon-available.active::after,
 .character-box .top-rail.skills .icon-bar .skill-icon.has-weapon-available.active::before {
   /* Estilos de weapon sobrescrevem estilos base */
 }
 .icon-bar .skill-icon.active img {
   transform: none !important;
 }
 .icon-bar .skill-icon:hover:not(.active)::after {
   box-shadow: inset 0 0 0 var(--icon-ring-w) #e6e6e6 !important;
 }
 /* Permitir glow completo para ícones com weapon */
 .top-rail.skills .icon-bar .skill-icon.has-weapon-available:not(.weapon-bar-toggle) {
   overflow: visible !important;
   contain: none !important;
 }
 /* Garantir que transform funcione mesmo quando subskills estão visíveis */
 .top-rail.skills .icon-bar .skill-icon.active {
   transform: scale(1.1) translateZ(0) !important;
 }
 .icon-bar .skill-icon,
 .icon-bar .skill-icon img,
 .icon-bar .skill-icon::after,
 .icon-bar .skill-icon::before {
   -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
   transform: translateZ(0);
 }
 /* ===========================TOOLTIP SYSTEM=========================== */
 .skill-tooltip {
   position: fixed;
   z-index: 9999;
   pointer-events: none;
   padding: 6px 8px;
   border-radius: 6px;
   background: rgba(17, 17, 17, 0.9);
   color: #fff;
   font-size: 14px;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
   opacity: 0;
   transition: opacity 0.12s ease, transform 0.08s ease;
   white-space: nowrap;
 }
 /* ===========================BACKGROUND SYSTEM=========================== */
 .mw-body-content .character-box {
   background-position: center top;
   background-repeat: no-repeat;
   background-size: cover;
   background-attachment: fixed;
   position: relative;
   z-index: 1;
 }
 .mw-body-content .character-box::before {
   content: "";
   position: absolute;
   inset: 0;
   pointer-events: none;
   background: linear-gradient(to bottom,
       rgba(0, 0, 0, 0.45),
       rgba(0, 0, 0, 0.6));
   z-index: 0;
 }
 /* ===========================FINAL ICON OVERRIDES & FIXES=========================== */
 /* Consolidado com seção anterior - removidas duplicações */
 /* ===========================FINAL TOOLTIP STYLES=========================== */
 .skill-tooltip {
   position: fixed;
   z-index: 10000;
   pointer-events: none;
   padding: 8px 10px;
   border-radius: 8px;
   background: rgba(28, 28, 34, 0.95);
   color: #eaeaea;
   font-size: 13px;
   line-height: 1.25;
   text-align: center;
   max-width: 360px;
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5),
     inset 0 0 0 1px rgba(255, 255, 255, 0.06);
   left: -9999px;
   top: -9999px;
   transform: none;
   opacity: 0;
   transition: opacity 0.12s ease;
   white-space: normal;
 }
 /* ===========================SKILL LEVEL STYLING=========================== */
 #skills .desc-box .skill-title {
   margin: 0 0 4px;
 }
 #skills .desc-box .skill-level-line {
   margin: 0 0 10px;
   text-align: center;
   line-height: 1.15;
 }
 #skills .desc-box .skill-level-line .attr-label {
   color: #f0c87b;
   font-weight: 800;
   letter-spacing: 0.2px;
   font-size: 0.98rem;
 }
 /* ===========================SKILL FLAGS (CARACTERÍSTICAS)=========================== */
 .video-container {
   position: relative;
 }
 .skill-flags {
   position: absolute;
   top: 8px;
   left: 8px;
   display: flex;
   flex-direction: row;
   gap: 6px;
   z-index: 10;
   pointer-events: auto;
 }
 .skill-flag {
   display: inline-block;
   pointer-events: all;
   cursor: pointer;
   filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
   width: 32px;
   height: 32px;
   aspect-ratio: 1 / 1;
   object-fit: contain;
 }
 /* Tooltip específico para flags (cor cinza para contraste) */
 .skill-tooltip.flag-tooltip {
   background: rgba(80, 80, 85, 0.98) !important;
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5),
     inset 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
 }

</style>