/*
Theme Name: PokéBat
Description: Tema clássico do acervo PokéBat.
Version: 1.7.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: pokebat
*/

:root {
    --night:#10002b;
    --ink:#221933;
    --purple:#57329b;
    --light:#f3eff9;
    --line:#ded8e7;
    --canvas:#f6f4f9;
    --surface:#fff;
    --muted:#63576f;
    --art:#eae5f2;
    --placeholder:#e9e1f3;
    --head-size:132px;
    color-scheme:light;
}

* {
    box-sizing:border-box;
}

html {
    scroll-padding-top:calc(var(--head-size) + 44px);
}

body {
    margin:0;
    color:var(--ink);
    background:var(--canvas);
    font:1rem/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;
    overflow-wrap:anywhere;
}

a {
    color:var(--purple);
    text-underline-offset:.2em;
}

a:hover {
    text-decoration:underline;
}

button,input,select,textarea {
    font:inherit;
    color:inherit;
}

button,summary {
    cursor:pointer;
}

button {
    border:1px solid var(--line);
    border-radius:6px;
    background:var(--surface);
    padding:.45rem .8rem;
}

button:hover {
    background:var(--light);
}

:focus-visible {
    outline:3px solid #d17b00;
    outline-offset:3px;
}

img {
    max-width:100%;
    height:auto;
}

h1,h2,h3 {
    line-height:1.16;
    letter-spacing:-.035em;
}

h1 {
    font-size:clamp(1.9rem,4vw,2.8rem);
    margin:.25em 0 .6em;
}

h2 {
    font-size:1.45rem;
}

p {
    margin:.6em 0 1em;
}

.wrap {
    width:min(1180px,94%);
    margin-inline:auto;
}

.screen-reader-text,.skip:not(:focus) {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
}

.skip:focus {
    position:fixed;
    z-index:99999;
    background:var(--surface);
    padding:.75rem;
}

.mast {
    position:fixed;
    top:0;
    inset-inline:0;
    z-index:20;
    background:var(--night);
    color:white;
    box-shadow:0 2px 10px #10002b22;
}

.admin-bar .mast {
    top:32px;
}

.mast-row {
    display:flex;
    align-items:center;
    gap:1.4rem;
    min-height:78px;
    padding-block:8px;
}

.brand {
    display:block;
    flex:none;
    line-height:0;
}

.brand img {
    width:clamp(135px,19vw,224px);
}

.head-search {
    margin-left:auto;
    width:min(300px,34%);
}

.search-box form {
    display:flex;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:7px;
    overflow:hidden;
    color:var(--ink);
}

.search-box label {
    min-width:0;
    flex:1;
}

.search-box input {
    border:0;
    background:transparent;
    width:100%;
    padding:.5rem .7rem;
}

.search-box button {
    border:0;
    border-radius:0;
}

.search-box>a {
    font-size:.8rem;
    color:inherit;
}

.lens {
    display:inline-block;
    border:2px solid currentColor;
    border-radius:100%;
    width:16px;
    height:16px;
    position:relative;
    margin-right:4px;
}

.lens:after {
    content:"";
    width:8px;
    height:2px;
    background:currentColor;
    position:absolute;
    right:-6px;
    bottom:-3px;
    transform:rotate(45deg);
}

.hamb,.search-toggle {
    display:none;
    color:white;
    background:transparent;
    border-color:#ffffff60;
}

.compact .mast-row {
    min-height:54px;
}

.compact .brand img {
    width:150px;
}

.compact .ad-top,.compact .head-search {
    display:none;
}

.compact .search-toggle {
    display:block;
    margin-left:auto;
}

.compact.search-open .head-search {
    display:block;
}

.compact.search-open .search-toggle {
    margin-left:0;
}

.desktop-nav {
    border-top:1px solid #ffffff30;
    background:#251044;
}

.menu,.sub-menu,.mini {
    list-style:none;
    padding:0;
    margin:0;
}

.desktop-nav .menu {
    display:flex;
    flex-wrap:wrap;
}

.menu li {
    position:relative;
}

.menu a,.submenu-toggle {
    display:inline-block;
    font-weight:650;
    color:inherit;
    text-decoration:none;
}

.desktop-nav .menu>li>a,.desktop-nav .menu>li>button {
    padding:.7rem .85rem;
    font-size:.82rem;
}

.submenu-toggle {
    border:0;
    border-radius:0;
    background:transparent;
}

.submenu-toggle:after {
    content:'⌄';
    padding-left:.4em;
}

.desktop-nav a:hover,.desktop-nav button:hover {
    background:#ffffff20;
}

.desktop-nav .sub-menu {
    position:absolute;
    top:100%;
    left:0;
    min-width:12rem;
    background:var(--surface);
    color:var(--ink);
    border-radius:0 0 .5rem .5rem;
    box-shadow:0 8px 24px #1a083b33;
}

.desktop-nav .sub-menu .sub-menu {
    top:0;
    left:100%;
}

.sub-menu a {
    padding:.55rem .9rem;
}

.desktop-nav .sub-menu a:hover {
    background:var(--light);
}

.menu li:not(:hover):not(:focus-within)>.sub-menu:not([id]) {
    display:none;
}

.layout {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(220px,29%);
    gap:clamp(20px,3vw,42px);
    padding-block:calc(var(--head-size) + 32px) 3rem;
    align-items:start;
}

.main-col,.sidebar {
    min-width:0;
}

.section-title {
    border-bottom:2px solid var(--night);
    margin-bottom:1.2rem;
}

.grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1.2rem;
}

.card,.widget,.paper,.filters {
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:12px;
}

.card {
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

.art {
    position:relative;
}

.cover {
    display:grid;
    place-items:center;
    background:var(--art);
    aspect-ratio:16/9;
    overflow:hidden;
}

.square-covers .cover {
    aspect-ratio:1;
}

.cover>img,.cover>.placeholder {
    width:100%;
    height:100%;
    object-fit:contain;
    min-height:0;
}

.placeholder {
    display:grid;
    place-items:center;
    background:var(--placeholder);
}

.placeholder img {
    width:28%;
    max-height:80%;
    object-fit:contain;
}

.chips {
    display:flex;
    gap:.35rem;
    flex-wrap:wrap;
}

.art .chips {
    position:absolute;
    top:.65rem;
    left:.65rem;
    right:.65rem;
    pointer-events:none;
    flex-wrap:nowrap;
}

.chips a {
    pointer-events:auto;
    max-width:100%;
    background:#371959;
    color:white;
    border:1px solid #371959;
    border-radius:.35rem;
    padding:.18rem .5rem;
    font-weight:650;
    font-size:.75rem;
    text-decoration:none;
}

.art .chips a {
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.chips a:hover,.chips a:focus-visible {
    background:var(--surface);
    color:#371959;
}

.card-body {
    padding:1rem 1.2rem 1.2rem;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    flex:1;
}

.card h2 {
    margin:0 0 .6rem;
}

.card h2 a,.mini a {
    color:inherit;
    text-decoration:none;
}

.card h2 a:hover,.mini a:hover {
    text-decoration:none;
}

.meta {
    display:flex;
    flex-wrap:wrap;
    gap:.25rem .7rem;
    color:var(--muted);
    font-size:.8rem;
    margin:.6rem 0 1rem;
}

.meta a {
    color:inherit;
}

.cta {
    display:inline-block;
    background:var(--purple);
    border:0;
    color:white;
    text-decoration:none;
    border-radius:6px;
    padding:.48rem .95rem;
    font-weight:650;
}

.cta:hover {
    background:#392069;
    color:white;
}

.card .cta {
    margin-top:auto;
}

.widget,.paper,.filters {
    padding:clamp(1rem,2.5vw,2rem);
    margin-bottom:1rem;
}

.widget h2,.paper h1:first-child {
    margin-top:0;
}

.widget h2 {
    font-size:1.18rem;
    border-bottom:2px solid var(--light);
    padding-bottom:.65rem;
}

.mini li+li {
    border-top:1px solid var(--line);
}

.mini a {
    display:flex;
    align-items:center;
    gap:.8rem;
    padding:.55rem 0;
    font-weight:600;
}

.mini a>img,.mini .placeholder {
    width:56px;
    height:48px;
    object-fit:contain;
    flex:none;
    background:var(--light);
}

.trail {
    font-size:.85rem;
    margin-bottom:1rem;
}

.hero {
    background:var(--light);
    text-align:center;
    border-radius:8px;
}

.hero img {
    max-height:55vh;
    object-fit:contain;
}

.hero figure,.hero p,.hero div {
    margin:0;
    max-width:100%;
}

.entry {
    line-height:1.75;
}

.entry iframe,.entry video,.entry figure {
    max-width:100%;
}

.entry pre,.entry table {
    display:block;
    overflow:auto;
}

.entry .aligncenter {
    display:block;
    margin-inline:auto;
}

.entry .alignleft {
    float:left;
    margin-right:1rem;
}

.entry .alignright {
    float:right;
    margin-left:1rem;
}

.share {
    clear:both;
}

.share a {
    display:inline-block;
    margin-right:.65rem;
}

.spoiler,.filters fieldset {
    margin:.8rem 0;
    padding:.7rem 1rem;
    border:1px solid var(--line);
    border-radius:6px;
}

.filters label {
    display:inline-block;
    margin:.2rem .75rem .2rem 0;
}

.filters input[type=search] {
    max-width:100%;
}

.nav-links,.actions,.social {
    display:flex;
    gap:.5rem;
    flex-wrap:wrap;
}

.navigation {
    margin-block:1.2rem;
}

.page-numbers {
    background:var(--surface);
    padding:.3rem .65rem;
    border-radius:4px;
}

.page-numbers.current {
    background:var(--night);
    color:white;
}

.comment-list {
    padding-left:1.3rem;
}

.comment-form textarea,.comment-form input:not([type=checkbox]) {
    max-width:100%;
}

.foot {
    background:var(--night);
    color:white;
    padding:2rem 0;
}

.foot-inner {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:1rem 2rem;
}

.foot a {
    color:inherit;
}

.foot button {
    color:var(--ink);
}

.foot .brand img {
    width:140px;
}

.ad img {
    display:block;
    max-height:110px;
    object-fit:contain;
}

.ad-top img {
    max-height:50px;
}

.ad small {
    display:block;
    font-size:.65rem;
}

.consent,dialog {
    color:var(--ink);
    background:var(--surface);
    padding:1.25rem;
    border:1px solid var(--line);
    border-radius:12px;
    box-shadow:0 12px 48px #10002b30;
}

.consent {
    position:fixed;
    bottom:.9rem;
    left:.9rem;
    width:min(465px,calc(100% - 1.8rem));
    z-index:30;
}

.consent p {
    font-size:.9rem;
}

.actions button {
    font-size:.87rem;
}

.actions button:hover {
    border-color:var(--purple);
}

dialog {
    max-width:min(465px,92vw);
}

dialog::backdrop {
    background:#10002b88;
}

#mobile-menu {
    margin:0;
    height:100dvh;
    max-height:100dvh;
    width:min(350px,88vw);
    border-radius:0;
    overflow:auto;
}

.drawer-top {
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:var(--night);
    padding:.8rem;
    gap:1rem;
    margin:-1.25rem -1.25rem 1rem;
}

.drawer-top .brand img {
    width:150px;
}

.close {
    font-size:1.4rem;
}

.social:empty {
    display:none;
}

#mobile-menu .menu {
    margin-top:1rem;
}

#mobile-menu .menu a,#mobile-menu .menu button {
    padding:.6rem;
}

#mobile-menu .sub-menu {
    padding-left:1rem;
}

[hidden] {
    display:none!important;
}

@media(max-width:800px) {
    .admin-bar .mast {
        top:46px;
    }
    .desktop-nav,.ad-top,.head-search {
        display:none;
    }
    .mast-row,.compact .mast-row {
        position:relative;
        min-height:60px;
        justify-content:space-between;
    }
    .hamb,.search-toggle,.compact .search-toggle {
        display:block;
        margin:0;
    }
    .mast-row>.brand img,.compact .mast-row>.brand img {
        width:145px;
    }
    .search-open .head-search,.compact.search-open .head-search {
        display:block;
        position:absolute;
        right:0;
        left:0;
        top:100%;
        background:var(--night);
        width:100%;
        padding:.7rem;
    }
    .layout {
        grid-template-columns:minmax(0,1fr);
        padding-top:calc(var(--head-size) + 22px);
    }
    .sidebar {
        width:100%;
    }
    .foot-inner {
        align-items:flex-start;
    }
    .paper {
        border-radius:8px;
    }
}

@media(min-width:783px) and (max-width:800px) {
    .admin-bar .mast {
        top:32px;
    }
}

@media(max-width:540px) {
    .grid {
        grid-template-columns:minmax(0,1fr);
    }
    .wrap {
        width:92%;
    }
    .card h2 {
        font-size:1.35rem;
    }
    .consent {
        padding:.9rem;
    }
    .entry figure {
        margin-inline:0;
    }
}


/* Interações e navegação */
.card:is(:hover,:focus-within) h2 a, .mini a:is(:hover,:focus-visible) span,
.related a:is(:hover,:focus-visible) strong { color: #9D4EDD; }
.card, .related li > a {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.related li > a { border: 1px solid var(--line); }
.card:is(:hover,:focus-within), .related li > a:is(:hover,:focus-visible) {
    transform: translateY(-4px);
    border-color: #9d4edd;
    box-shadow: 0 6px 16px #32164924;
}
.cover img, .related a img, .social-link img { transition: transform .18s ease; }
.card:is(:hover,:focus-within) .cover img, .related a:is(:hover,:focus-visible) img { transform: scale(1.03); }
.social-link:is(:hover,:focus-visible) img { transform: scale(1.08); }
.meta .post-edit-link, .meta .post-edit-link:is(:hover,:focus-visible) { color: var(--purple); font-weight: 700; text-decoration: underline; }
.meta a:is(:hover,:focus-visible) { color: #143fa8; }
.desktop-nav .menu li:is(:hover,:focus-within) > :is(a,button) {
    background: #63309a;
    color: white;
    box-shadow: inset 0 -3px #c585ff;
}
.desktop-nav .sub-menu a { display: block; }
.widget h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .55rem .8rem;
    color: white;
    border: 0;
    border-inline-start: 5px solid #9D4EDD;
    border-radius: 0;
    background: #33164e;
    font-size: 1rem;
    text-transform: uppercase;
}
.widget h2::after { content: ''; width: .45em; height: .45em; border: solid #dab7ff; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.social-link { display: inline-flex; vertical-align: middle; align-items: center; margin: .15rem; }
.social-link img { display: block; width: 36px; height: 36px; object-fit: contain; }
#mobile-menu { color: white; background: #1e0936; border: 0; }
#mobile-menu .drawer-top { background: transparent; }
#mobile-menu .close { color: white; background: #392053; }
#mobile-menu .social { margin: .5rem 0 1.4rem; }
#mobile-menu .menu li { border-bottom: 1px solid #ffffff29; }
#mobile-menu .menu a, #mobile-menu .submenu-toggle { text-align: start; }
#mobile-menu .menu > li > :only-child, #mobile-menu .submenu-toggle:first-child { width: 100%; }
#mobile-menu .menu a:hover, #mobile-menu .submenu-toggle:is(:hover,[aria-expanded=true]) { color: white; background: #593083; }

/* Final dos artigos */
.share h2, .related h2, #comments > h2 {
    padding: .55rem 1rem;
    color: white;
    background: #36174f;
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(1.12rem,3vw,1.55rem);
}
.share-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.share-actions a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    padding: .55rem .85rem;
    background: #57329b;
    color: white;
    font-weight: 650;
    text-decoration: none;
    border-radius: 4px;
}
.share-actions .share-facebook { background: #1869cf; }
.share-actions .share-whatsapp { background: #107d42; }
.share-actions .share-twitter { background: #101010; }
.share-actions .share-telegram { background: #11769d; }
.share-actions .share-message { background: #bc392d; }
.share-actions a:is(:hover,:focus-visible) { filter: brightness(1.1); }
.share-actions img { width: 1.3rem; height: 1.3rem; }
.comment-author .avatar { border-radius: 50%; vertical-align: middle; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.post-navigation a { display: block; padding: .7rem; background: var(--light); border-inline-start: 3px solid #9D4EDD; text-decoration: none; }
.post-navigation .nav-next { grid-column: 2; text-align: end; }
.related ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; padding: 0; list-style: none; }
.related a { position: relative; display: grid; align-content: end; min-height: 10rem; aspect-ratio: 16/10; overflow: hidden; background: var(--night); color: white; text-decoration: none; }
.related a > img, .related a > .placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.related a > span:last-child { position: relative; padding: 1.4rem .75rem .65rem; background: linear-gradient(transparent,#10002bf2 35%); }
.related small { display: block; margin-top: .25rem; }
.comment-body { padding-block: .85rem; border-bottom: 1px solid var(--line); }

.trail + .chips { margin: -.35rem 0 1rem; }
.head-search .search-box form { background: #9d4edd; color: white; border-color: #bc84e9; }
.head-search input, .head-search button { background: transparent; color: white; }
.head-search input::placeholder { color: white; opacity: 1; }
.comment-list, .comment-list .children { list-style: none; }
.comment-list { padding-inline-start: 0; }
.sidebar :is(ul:has(> .cat-item), .wp-block-categories-list) { list-style: none; padding-inline-start: 0; margin: 0; }
.sidebar .cat-item > ul { margin-inline-start: 1rem; }
.sidebar .cat-item > a {
    display: block;
    border-bottom: 1px solid #c4a7dc;
    padding: .45rem .65rem;
    color: var(--purple);
    text-decoration: none;
}
.sidebar .cat-item > a::before { content: '›'; margin-inline-end: .65rem; }
.sidebar .cat-item > a:is(:hover,:focus-visible) { color: white; background: #63309a; box-shadow: inset 0 -3px #c585ff; }
.foot .to-top {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: #7436a6;
    color: white;
    text-decoration: none;
    font-size: 1.45rem;
}
@media (max-width:800px) {
    .foot-inner { position: relative; flex-direction: column; align-items: center; text-align: center; gap: .95rem; }
    .foot .brand img { width: min(65vw,250px); }
    .foot .menu { display: flex; justify-content: center; flex-wrap: wrap; }
    .foot .menu > li { padding-inline: .7rem; }
    .foot .menu > li + li { border-inline-start: 1px solid #85699d; }
    .foot p { margin: 0; }
    .foot .to-top { align-self: flex-end; }
}
@media (prefers-reduced-motion:reduce) {
    .card, .related li > a, .cover img, .related a img, .social-link img { transition: none; }
    .card:is(:hover,:focus-within), .related li > a:is(:hover,:focus-visible),
    .card:is(:hover,:focus-within) .cover img, .related a:is(:hover,:focus-visible) img,
    .social-link:is(:hover,:focus-visible) img { transform: none; }
}

.foot { position: relative; }
.foot .to-top { position: absolute; right: .875rem; bottom: .875rem; }
.foot .menu { display: flex; align-items: center; flex-wrap: wrap; row-gap: .45rem; }
.foot .menu > li { padding-inline: .8rem; }
.foot .menu > li + li { border-inline-start: 1px solid #85699d; }
.foot-info p { margin: 1rem 0 0; }
@media (min-width:801px) {
    .foot-inner { width: 100%; padding-inline: 1.25rem 5rem; gap: 1rem clamp(1rem,3vw,3rem); flex-wrap: nowrap; }
    .foot .brand img { width: clamp(145px,14vw,220px); }
    .foot-info { flex: 1; min-width: 0; }
    .foot .menu > li:first-child { padding-inline-start: 0; }
    .foot .social { flex-shrink: 0; }
}
@media (max-width:800px) {
    .foot-inner { position: static; }
    .foot .social { max-width: calc(100% - 6rem); justify-content: center; }
    .share-actions a[class] { background: transparent; border-radius: 50%; padding: 4px; justify-content: center; min-width: 44px; min-height: 44px; }
    .share-actions img { width: 34px; height: 34px; object-fit: contain; }
    .share-actions .share-label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
}
#cookie-banner { background: #21182c; border-color: #58456b; color: white; }
#cookie-banner strong { font-size: 1.12rem; }
#cookie-banner p { color: #e3dbea; }
#cookie-banner .actions button { background: #372940; color: white; border-color: #705f80; }
#cookie-banner .actions [data-choice="all"] { background: #c99df0; color: #21142e; border-color: #c99df0; }

@media (max-width: 800px) {
    .related li { min-width: 0; }
    .related li > a {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
        aspect-ratio: auto;
    }
    .related a > img, .related a > .placeholder {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        object-fit: contain;
        flex: none;
        background: var(--light);
    }
    .related a > span:last-child {
        background: var(--night);
        padding: .65rem;
        overflow-wrap: anywhere;
    }
    .related a:is(:hover,:focus-visible) img { transform: none; }
}

.entry-arial { font-family: Arial, sans-serif; font-size: 12pt; }
.pagination .nav-links { justify-content: center; align-items: center; gap: .4rem; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.5rem; min-height: 2.5rem; padding: .3rem .65rem; border: 1px solid transparent; border-radius: .4rem; background: white; color: #302258; }
.pagination a.page-numbers { text-decoration: underline; }
.pagination .current { background: var(--night); color: white; }
.pagination a:is(:hover,:focus-visible) { border-color: #ac8ac7; }
.category-toggle { width: 100%; text-align: start; color: inherit; background: transparent; border: 0; padding: 0; text-transform: inherit; }
.category-toggle:hover { background: transparent; }
/* Draw a chevron at a consistent size across mobile fonts. */
.category-toggle::after {
    content: '';
    display: inline-block;
    width: .75rem;
    height: .75rem;
    margin: 0 .45rem .18rem 1rem;
    border: solid currentColor;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.category-toggle { display: flex; align-items: center; justify-content: space-between; min-height: 2rem; }
.category-panel > div { min-height: 0; }
@media (max-width:800px) {
    .category-panel { display: grid; grid-template-rows: 0fr; }
    .category-panel.is-open { grid-template-rows: 1fr; }
    .category-panel > div { overflow: hidden; }
}
@media (max-width:800px) and (prefers-reduced-motion:no-preference) {
    .category-panel { transition: grid-template-rows 180ms ease-out; }
    .category-toggle::after { transition: transform 180ms ease-out; }
}
.category-toggle[aria-expanded=true]::after { transform: rotate(225deg); }
@media (max-width:800px) {
    .widget .category-heading::after { display: none; }
}

.home-mark { width: 1.1em; height: 1.1em; vertical-align: -.13em; }
.community-buttons { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; }
.community-button { display: inline-flex; align-items: center; gap: .45rem; border-radius: 5px; padding: .4rem .65rem; color: white; font-size: .8rem; font-weight: 700; text-decoration: none; }
.community-button.facebook { background: linear-gradient(#196bca,#0d56ae); }
.community-button.discord { background: linear-gradient(#5965da,#4854bd); }
.community-button .icone { width: 18px; height: 18px; fill: currentColor; }
.community-button .seta { width: 14px; height: 14px; }
.community-button[aria-disabled] { opacity: .75; }
@media(max-width:800px) { .community-buttons { justify-content: center; } }

.community-button.send-rom { background: linear-gradient(180deg,#e3350d,#b21100); }

/* Aparência do site público */
:root[data-appearance="dark"] {
    color-scheme: dark;
    --canvas: #131018;
    --surface: #211b29;
    --ink: #f3edf9;
    --muted: #c4b7cd;
    --purple: #d4a6ff;
    --light: #302638;
    --line: #52435e;
    --art: #28212e;
    --placeholder: #34293f;
}
.mast-row.wrap {
    position: relative;
    width: 100%;
    padding-inline: max(3%,calc((100% - 1180px)/2)) max(60px,calc((100% - 1180px)/2));
}
.appearance-toggle {
    position: absolute;
    inset-inline-end: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
    color: white;
}
.appearance-toggle:hover { background: #39204e; }
.appearance-toggle svg { width: 23px; height: 23px; fill: currentColor; }
.appearance-toggle .pb-sun, [data-appearance="dark"] .pb-moon { display: none; }
[data-appearance="dark"] .pb-sun { display: block; }
[data-appearance="dark"] .section-title { border-color: var(--line); }
[data-appearance="dark"] .cta { background: #7142ab; }
[data-appearance="dark"] .cta:hover { background: #824dbc; }
[data-appearance="dark"] .chips a:is(:hover,:focus-visible) { background: #e5caf9; color: #331448; }
[data-appearance="dark"] .pagination .page-numbers { background: var(--surface); color: var(--ink); }
[data-appearance="dark"] .pagination .current { background: #7445a6; color: white; }
[data-appearance="dark"] .meta a:not(.post-edit-link):is(:hover,:focus-visible) { color: #95baff; }
[data-appearance="dark"] .card:is(:hover,:focus-within) h2 a,
[data-appearance="dark"] .mini a:is(:hover,:focus-visible) span,
[data-appearance="dark"] .related a:is(:hover,:focus-visible) strong { color: #d8abff; }
[data-appearance="dark"] :is(.entry,.comment-body) :is(pre,code,th,td) { border-color: var(--line); }
[data-appearance="dark"] .entry pre { background: var(--light); color: var(--ink); }
[data-appearance="dark"] .pbyt { color: var(--ink); }
@media (max-width:800px) {
    .mast-row.wrap { justify-content: center; padding-inline: 0; }
    .mast-row > .hamb { position: absolute; left: 6px; }
    .mast-row > .search-toggle { position: absolute; right: 52px; }
    .mast-row > .brand { max-width: calc(100% - 194px); }
    .mast-row > .brand img { max-width: 100%; }
}
