@layer features {
html {
    background-color: var(--bg-leitura);
}

html.dark-mode {
    background-color: var(--preto-profundo);
}

body {
    background-color: var(--cor-fundo) !important;
}

body.home {
    background-color: transparent !important;
}

html.dark-mode .conteudo-principal-single,
html.dark-mode .single-layout .entry-content {
    background-color: var(--surface-nav); 
    color: #e0e0e0;
}

html.dark-mode .barra-lateral .widget-box,
html.dark-mode .barra-lateral .widget_text,
html.dark-mode .barra-lateral .widget_block {
    background-color: var(--surface-nav);
    border: 1px solid #333;
    color: #ccc;
}

html.dark-mode .widget-title,
html.dark-mode .widget-box h3 {
    color: white;
    border-bottom-color: #444;
}

html.dark-mode input,
html.dark-mode textarea,
html.dark-mode select {
    background-color: rgba(0,0,0,0.3);
    color: white;
    border: 1px solid #444;
}

html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder {
    color: #888;
}

html.dark-mode .categoria-hero {
    border-bottom: 1px solid #333;
}

html.dark-mode .missao-box p {
    color: #f0f0f0 !important;
}

.social-icons.desktop-only {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px; 
    flex-wrap: nowrap;
}

.hud-jogador-logado {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 10px 4px 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 46px; 
    white-space: nowrap; 
    margin-right: 5px;
}

.avatar-frame {
    display: block; line-height: 0; flex-shrink: 0;
}

.avatar-frame img {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid var(--azul-principal);
    display: block; transition: 0.3s; object-fit: cover;
}

.avatar-frame:hover img {
    border-color: var(--azul-neon); box-shadow: 0 0 10px var(--azul-neon);
}

.btn-sair {
    margin-left: 12px; color: #999; font-size: 0.9rem; padding: 5px;
    transition: 0.3s; border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 12px; display: flex; align-items: center; height: 20px;
}

.btn-sair:hover {
    color: #ff4444; transform: translateX(2px);
}

.tools-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
}

.btn-theme-toggle,
.search-trigger.desktop-trigger {
    margin: 0 !important;
}

.social-links-group {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 15px;
    border-left: 1px solid rgba(255,255,255,0.1); 
    height: 30px;
}

.social-links-group a {
    color: rgba(255,255,255,0.6);
    font-size: 1.2rem;
    transition: 0.3s;
    line-height: 1;
    margin: 0 !important;
}

.social-links-group a:hover {
    color: var(--azul-neon); transform: translateY(-2px);
}

.card-usuario-mobile {
    display: flex; align-items: center; gap: 15px;
    background: rgba(255,255,255,0.05); padding: 15px;
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none; transition: 0.3s; margin-bottom: 20px;
}

.card-usuario-mobile:hover {
    background: rgba(255,255,255,0.1); border-color: var(--azul-neon);
}

.avatar-mobile img {
    border-radius: 50%; border: 2px solid var(--azul-neon); display: block;
}

.info-mobile {
    display: flex; flex-direction: column;
}

.info-mobile .ola {
    font-size: 0.8rem; color: #aaa;
}

.info-mobile .nome {
    font-size: 1rem; color: white; font-weight: bold;
}

.btn-mobile-login-action {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--azul-principal); color: white; padding: 12px;
    border-radius: 8px; font-weight: bold; text-transform: uppercase;
    text-decoration: none; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: 0.3s; margin-bottom: 20px;
}

.btn-mobile-login-action:hover {
    background: var(--azul-neon); color: var(--preto-profundo);
}

.coluna-indice-esquerda {
    display: none;
}

@media (min-width: 1440px) {
    .container-wide {
        max-width: 1400px !important; 
        padding: 0 40px;
    }

    .single-layout {
        display: grid;
        
        grid-template-columns: 220px minmax(650px, 1fr) 300px !important; 
        gap: 40px; 
        align-items: start;
    }

    .coluna-indice-esquerda {
        display: block;
        height: 100%;
    }

    .toc-sticky-wrapper {
        position: sticky;
        top: 120px;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        padding-right: 15px;
        scrollbar-width: thin;
        scrollbar-color: var(--azul-principal) transparent;
        border-right: 1px solid rgba(0,0,0,0.05);
    }

    .toc-header-left {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 0.85rem;
        color: var(--azul-neon);
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 15px;
        display: flex; align-items: center; gap: 8px;
    }

    .toc-desktop ul {
        list-style: none; padding: 0; margin: 0;
    }

    .toc-link {
        display: block; font-size: 0.85rem; color: #666;
        text-decoration: none; padding: 6px 0 6px 10px;
        transition: all 0.2s ease;
        border-left: 2px solid transparent;
    }

    .toc-link:hover,
.toc-link.is-active {
        color: var(--azul-principal); 
        border-left-color: var(--azul-principal);
        background: linear-gradient(90deg, rgba(4,65,245,0.05), transparent);
    }

    html.dark-mode .toc-sticky-wrapper {
        border-right-color: rgba(255,255,255,0.05);
    }

    html.dark-mode .toc-link {
        color: #aaa;
    }

    html.dark-mode .toc-link:hover,
html.dark-mode .toc-link.is-active {
        color: var(--azul-neon); border-left-color: var(--azul-neon);
    }
}

.img-single-hero {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    position: relative !important;
    z-index: 1;
}

.meta-dados {
    display: flex;
    align-items: center;
    gap: 8px; 
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 10px;
    font-weight: 600;
}

.meta-dados span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-dados i {
    color: var(--azul-principal); 
    font-size: 0.85rem;
}

.coluna-indice-esquerda {
    display: none;
}

.container-wide {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

@media (min-width: 1400px) {
    .container-wide {
        max-width: 1600px !important; 
        padding: 0 40px;
    }

    .single-layout {
        display: grid;
        
        grid-template-columns: 240px minmax(700px, 1fr) 320px !important; 
        gap: 60px;
        align-items: stretch;
    }

    .coluna-indice-esquerda {
        display: block;
        height: 100%;
    }

    .toc-sticky-wrapper {
        position: -webkit-sticky; 
            position: sticky;
            top: 140px; 
            max-height: calc(100vh - 160px);
            overflow-y: auto;
            padding-right: 15px;
            scrollbar-width: thin;
            scrollbar-color: var(--azul-principal) transparent;
    }

    .toc-header-left {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 0.85rem;
        color: var(--azul-neon);
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        display: flex; align-items: center; gap: 10px;
    }

    .toc-desktop ul {
        list-style: none; padding: 0; margin: 0;
        border-left: 2px solid rgba(0,0,0,0.05);
    }

    .toc-link {
        display: block; font-size: 0.9rem; color: var(--cor-texto-suave);
        text-decoration: none; padding: 8px 0 8px 18px;
        line-height: 1.5; transition: all 0.2s ease;
        border-left: 2px solid transparent; margin-left: -2px;
    }

    .toc-subitem .toc-link {
        padding-left: 30px; font-size: 0.85rem; opacity: 0.85;
    }

    .toc-link:hover {
        color: var(--azul-principal); transform: translateX(3px);
    }

    .toc-link.is-active {
        color: var(--azul-principal); font-weight: 700;
        border-left-color: var(--azul-principal);
        background: linear-gradient(90deg, rgba(4,65,245,0.04), transparent);
    }

    html.dark-mode .toc-header-left {
        border-bottom-color: rgba(255,255,255,0.1);
    }

    html.dark-mode .toc-desktop ul {
        border-left-color: rgba(255,255,255,0.1);
    }

    html.dark-mode .toc-link {
        color: #aaa;
    }

    html.dark-mode .toc-link:hover {
        color: var(--azul-neon);
    }

    html.dark-mode .toc-link.is-active {
        color: var(--azul-neon); border-left-color: var(--azul-neon);
    }
}

.img-single-hero {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    position: relative !important; 
    z-index: 1;
}

.rank-common {
    color: #ccc;
}

.rank-uncommon {
    color: #1eff00; text-shadow: 0 0 5px rgba(30,255,0,0.4);
}

.rank-rare {
    color: #0070dd; text-shadow: 0 0 5px rgba(0,112,221,0.4);
}

.rank-epic {
    color: #a335ee; text-shadow: 0 0 5px rgba(163,53,238,0.4);
}

.rank-legendary {
    color: #ff8000; text-shadow: 0 0 8px rgba(255,128,0,0.5);
}

.rank-god {
    background: linear-gradient(90deg, #ff00cc, #3333ff); 
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.profile-hero-card {
    background: var(--surface-nav);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 40px; margin-top: -80px; position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    display: flex; gap: 40px; align-items: center; z-index: 10;
}

.profile-avatar-wrapper {
    position: relative; flex-shrink: 0;
}

.profile-avatar-wrapper img {
    width: 140px; height: 140px; border-radius: 50%; object-fit: cover;
    border: 4px solid var(--azul-principal); box-shadow: 0 0 20px rgba(4,65,245,0.3);
}

.level-badge {
    position: absolute; bottom: 0; right: 5px;
    background: var(--preto-profundo); border: 2px solid var(--azul-neon);
    color: white; width: 35px; height: 35px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-family: 'Poppins', sans-serif;
}

.profile-stats-area {
    flex: 1;
}

.profile-stats-area h1 {
    font-family: 'Poppins', sans-serif; font-size: 2.2rem; margin: 0; line-height: 1.1;
}

.rank-display {
    font-size: 0.9rem; text-transform: uppercase; font-weight: 700; letter-spacing: 2px; margin-bottom: 15px; display: block;
}

.xp-bar-container {
    background: rgba(0,0,0,0.1); border-radius: 50px; height: 12px; width: 100%;
    overflow: hidden; margin-bottom: 8px; border: 1px solid rgba(0,0,0,0.1);
}

.xp-bar-fill {
    height: 100%; background: linear-gradient(90deg, var(--azul-principal), var(--azul-neon));
    border-radius: 50px; transition: width 1s ease;
}

.xp-text {
    font-size: 0.8rem; color: #888; display: flex; justify-content: space-between;
}

.grid-select-systems {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.grid-select-systems input[type="checkbox"] {
    display: none;
}

.system-select-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05); border: 2px solid transparent;
    border-radius: 12px; padding: 15px; cursor: pointer;
    transition: all 0.2s ease; position: relative; overflow: hidden;
    height: 140px; text-align: center;
}

.system-select-card img {
    width: 60px; height: 60px; object-fit: contain; margin-bottom: 10px;
    filter: grayscale(100%); opacity: 0.7; transition: 0.3s;
}

.system-select-card span {
    font-size: 0.8rem; font-weight: bold; line-height: 1.2;
}

.grid-select-systems input:checked + .system-select-card {
    border-color: var(--azul-neon);
    background: rgba(89, 196, 249, 0.1);
    box-shadow: 0 0 15px rgba(89, 196, 249, 0.2);
}

.grid-select-systems input:checked + .system-select-card img {
    filter: grayscale(0%); opacity: 1; transform: scale(1.1);
}

.check-indicator {
    position: absolute; top: 8px; right: 8px;
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(0,0,0,0.3); border: 1px solid #fff;
    color: transparent; display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
}

.grid-select-systems input:checked + .system-select-card .check-indicator {
    background: var(--azul-neon); border-color: var(--azul-neon); color: #000;
}

html.dark-mode .system-select-card {
    background: rgba(0,0,0,0.2); border-color: #333;
}

html.dark-mode .system-select-card span {
    color: #ccc;
}

html.dark-mode .grid-select-systems input:checked + .system-select-card span {
    color: white;
}

@media (max-width: 992px) {
    .profile-hero-card {
        flex-direction: column; text-align: center; margin-top: 0;
    }

    .grid-select-systems {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-select-systems {
        grid-template-columns: repeat(2, 1fr);
    }
}

.wrapper-taverna {
    margin-top: 50px;
    max-width: 800px; 
    margin-left: auto; margin-right: auto;
}

.lista-comentarios-rpg,
.children {
    list-style: none; padding: 0; margin: 0;
}

.rpg-comment-item {
    margin-bottom: 20px;
    position: relative;
}

.rpg-comment-card {
    display: grid;
    grid-template-columns: 50px 1fr; 
    gap: 15px;
    position: relative;
}

.comment-sidebar {
    display: flex; flex-direction: column; align-items: center;
    height: 100%;
    position: relative;
}

.avatar-wrapper img {
    width: 50px; height: 50px; 
    border-radius: 12px; 
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.level-pill {
    position: absolute; bottom: -5px; right: -5px;
    background: #000; color: var(--azul-neon);
    font-size: 0.6rem; font-weight: bold; padding: 1px 5px;
    border-radius: 4px; border: 1px solid var(--azul-neon);
}

.thread-line {
    width: 2px;
    background: rgba(0,0,0,0.05);
    flex-grow: 1;
    margin-top: 10px;
    margin-bottom: -20px;
}

.rpg-comment-item:last-child > .rpg-comment-card .thread-line {
    display: none;
}

.comment-main {
    background: var(--surface-nav, #fff);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 0 12px 12px 12px; 
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    position: relative;
}

.comment-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 8px;
}

.author-name {
    font-size: 0.95rem; color: var(--cor-texto); display: flex; align-items: center; gap: 8px;
}

.badge-mestre {
    background: var(--azul-principal); color: white; font-size: 0.6rem; padding: 2px 6px; border-radius: 4px; text-transform: uppercase;
}

.meta-row {
    font-size: 0.75rem; color: #999;
}

.admin-tools a {
    color: #ccc; font-size: 0.8rem;
}

.admin-tools a:hover {
    color: var(--azul-principal);
}

.comment-body p {
    font-size: 0.95rem; line-height: 1.5; color: var(--cor-texto); margin-bottom: 10px;
}

.comment-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 10px;
}

.comment-reply-link {
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
    color: #888; display: inline-flex; align-items: center; gap: 5px;
    transition: 0.2s;
}

.comment-reply-link:hover {
    color: var(--azul-principal); transform: translateX(3px);
}

.children {
    margin-left: 25px; 
    
    border-left: 2px solid rgba(0,0,0,0.05);
}

.children .rpg-comment-item {
    padding-left: 15px; margin-top: 15px;
}

.children .rpg-comment-item::before {
    content: ''; position: absolute; 
    top: 25px; left: 0;
    width: 15px; height: 2px;
    background: rgba(0,0,0,0.05);
}

#respond {
    background: var(--surface-nav, #fff);
    padding: 25px; border-radius: 12px; margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.comment-reply-title {
    font-size: 1.2rem; margin-bottom: 20px; display: block; font-family: 'Poppins', sans-serif;
}

.comment-form {
    display: grid; gap: 15px;
}

.comment-form label {
    display: none;
}

.comment-form-comment textarea {
    width: 100%; padding: 15px; 
    border: 2px solid #f0f0f0; border-radius: 10px;
    background: #f9f9f9; font-family: 'Roboto', sans-serif;
    font-size: 1rem; transition: 0.3s;
    min-height: 100px;
}

.comment-form-comment textarea:focus {
    background: white; border-color: var(--azul-neon);
    outline: none; box-shadow: 0 0 0 4px rgba(89, 196, 249, 0.1);
}

.btn-submit-rpg {
    justify-self: end;
    background: var(--preto-profundo); color: white;
    padding: 10px 25px; border-radius: 50px; border: none;
    font-weight: 800; text-transform: uppercase; cursor: pointer;
    transition: 0.3s; display: flex; align-items: center; gap: 8px;
}

.btn-submit-rpg:hover {
    background: var(--azul-principal); transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 65, 245, 0.3);
}

html.dark-mode .comment-main,
html.dark-mode #respond {
    background: #1a1b26; border-color: #333;
}

html.dark-mode .comment-form-comment textarea {
    background: #242636; border-color: #444; color: white;
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(90px + env(safe-area-inset-bottom)) !important;
    }

    #btn-topo {
        bottom: calc(90px + env(safe-area-inset-bottom)) !important;
    }
}

.ai-summary-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(137, 196, 244, 0.2);
    background: rgba(255, 255, 255, 0.4);
}

.ai-icon-area {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--azul-neon) 0%, var(--azul-principal) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(89, 196, 249, 0.3);
    flex-shrink: 0;
}

.ai-title-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ai-label h2 {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem; 
    line-height: 1.2;
    color: #3364F6;
    letter-spacing: 0.5px;
}

.ai-summary-content {
    padding: 20px 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #2c3e50;
    font-weight: 500;
}

html.dark-mode .ai-summary-box {
    background: linear-gradient(145deg, #10141a 0%, #05070a 100%);
    border-color: rgba(89, 196, 249, 0.25);
    border-left-color: var(--azul-neon);
    box-shadow: 
        0 15px 40px -10px rgba(0, 0, 0, 0.8),
        inset 0 0 0 1px rgba(89, 196, 249, 0.05);
}

html.dark-mode .ai-summary-header {
    background: rgba(89, 196, 249, 0.03);
    border-bottom-color: rgba(89, 196, 249, 0.1);
}

html.dark-mode .ai-label h2 {
    color: #e0f7ff;
    text-shadow: 0 0 10px rgba(89, 196, 249, 0.3);
}

html.dark-mode .ai-summary-content {
    color: #cddbe3;
}

.ai-summary-box:hover {
    transform: translateY(-2px);
}

.ai-summary-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(137, 196, 244, 0.2);
    background: rgba(255, 255, 255, 0.4);
}

.ai-icon-area {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--azul-neon) 0%, var(--azul-principal) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(89, 196, 249, 0.3);
    flex-shrink: 0;
}

.ai-title-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ai-summary-header h2,
.ai-label h2 {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem !important; 
    line-height: 1.2;
    color: #3364F6;
    letter-spacing: 0.5px;
    border: none;
}

.ai-summary-header h3 {
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    font-size: 0.75rem !important; 
    font-weight: 500;
    line-height: 1.3;
    color: #5a7d9a;
    font-family: 'Roboto', sans-serif;
    text-transform: none;
    letter-spacing: normal;
}

.ai-summary-content {
    padding: 20px 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #2c3e50;
    font-weight: 500;
}

html.dark-mode .ai-summary-box {
    background: linear-gradient(145deg, #10141a 0%, #05070a 100%);
    border-color: rgba(89, 196, 249, 0.25);
    border-left-color: var(--azul-neon);
    box-shadow: 
        0 15px 40px -10px rgba(0, 0, 0, 0.8),
        inset 0 0 0 1px rgba(89, 196, 249, 0.05);
}

html.dark-mode .ai-summary-header {
    background: rgba(89, 196, 249, 0.03);
    border-bottom-color: rgba(89, 196, 249, 0.1);
}

html.dark-mode .ai-summary-header h2,
html.dark-mode .ai-label h2 {
    color: #fff8e1; 
    text-shadow: 0 0 10px rgba(89, 196, 249, 0.3);
}

html.dark-mode .ai-summary-header h3 {
    color: #8ab0c2;
}

html.dark-mode .ai-summary-content {
    color: #cddbe3;
}

.ai-summary-box:hover {
    transform: translateY(-2px);
}

html.dark-mode .geo-prompt-box {
    background: linear-gradient(135deg, #1a1b26 0%, #050505 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.rpg-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #15161b; 
    color: #e0e0e0;
    padding: 12px 20px;
    border-left: 4px solid #00d084; 
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 12px;
    
    
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rpg-toast i {
    color: #00d084;
    font-size: 1.1rem;
}

.rpg-toast.warning {
    border-color: #ffaa00;
}

.rpg-toast.warning i {
    color: #ffaa00;
}

.rpg-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 600px) {
    .rpg-toast {
        bottom: 80px; 
        right: 15px;
        left: 15px;
        justify-content: center;
    }
}

.toast-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
    display: flex;
    flex-direction: column; 
    gap: 10px; 
    pointer-events: none;
}

.rpg-toast {
    position: relative; 
    background: #15161b;
    color: #e0e0e0;
    padding: 15px 20px;
    border-left: 4px solid #00d084;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto; 
    
    
    opacity: 0;
    transform: translateX(50px); 
    transition: all 0.4s ease;
    max-width: 350px;
}

.rpg-toast i {
    color: #00d084;
    font-size: 1.2rem;
}

.rpg-toast.warning {
    border-color: #ffaa00;
    border-left-width: 6px;
}

.rpg-toast.warning i {
    color: #ffaa00;
}

.rpg-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.btn-toast-action {
    background: #ffaa00;
    color: #000;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 4px;
    margin-left: auto; 
    white-space: nowrap;
    transition: 0.2s;
    text-transform: uppercase;
}

.btn-toast-action:hover {
    background: #ffc107;
    color: #000;
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .toast-container {
        bottom: 80px;
        right: 15px;
        left: 15px;
    }

    .rpg-toast {
        width: 100%;
        max-width: none;
    }
}

.short-card iframe,
.short-card .wp-block-embed__wrapper {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

.short-card .short-poster,
.short-card img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
}

.hud-jogador-logado {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 180px; 
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    border-radius: 30px;
}

.avatar-frame img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto; 
    align-items: center;
    gap: 20px;
}

.social-icons.desktop-only {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hud-jogador-logado {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 160px;
}

.hud-jogador-logado .avatar-frame img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50%;
    display: block;
}

.hud-jogador-logado .btn-sair {
    color: #ff4d4d;
    font-size: 0.7rem;
    opacity: 0.7;
    transition: 0.3s;
    margin-left: 2px;
}

.hud-jogador-logado .btn-sair:hover {
    opacity: 1;
    transform: scale(1.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons.desktop-only {
    display: flex;
    align-items: center;
    gap: 10px;
}
}
