@charset "UTF-8";

/* =====================================================================
   THE KIRA JUSTICE — css.css (redesign)
   Direção: preto profundo + carmesim, com destaques em vermelho vivo
   e branco. Todos os IDs/classes usados por JS e demais páginas
   (chat, agenda, popups, enquete, recuperação de senha) foram mantidos.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------------- */
:root {
    font-family: 'Nunito', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 14px;

    /* superfícies */
    --bg-darker: #000;
    --bg-primary: #0e0e10;
    --bg-elevated: #17171a;
    --bg-secondary: #fff;

    /* carmesim */
    --crimson: #a60829;
    --crimson-bright: #e0143c;
    --crimson-deep: #5c0516;
    --crimson-ink: #2a0309;

    /* Mantido com o nome antigo por compatibilidade (JS/HTML usam var(--orange)).
       Agora é o vermelho-vivo de destaque. */
    --orange: #ff4d6a;

    /* texto */
    --text-primary: #e8e8ea;
    --text-muted: #9a9aa2;

    /* sombras */
    --shade: rgba(0, 0, 0, 0.75);
    --light-shade: rgba(0, 0, 0, 0.35);
    --glow: 0 0 24px rgba(224, 20, 60, 0.55);

    /* geometria */
    --radius: 14px;
    --navwidth: 80vw;
    --navwidth-max: 300px;

    --ease: cubic-bezier(0.16, 0.6, 0.45, 1);
    --font-display: 'Bebas Neue', 'Trebuchet MS', sans-serif;
}

/* ---------------------------------------------------------------------
   2. BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

input {
    font-family: inherit;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--crimson-bright) var(--crimson-ink);
}

body {
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(166, 8, 41, 0.18), transparent 70%),
        radial-gradient(ellipse 60% 30% at 100% 60%, rgba(92, 5, 22, 0.25), transparent 70%),
        var(--bg-primary);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    color: var(--text-primary);
    position: relative;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar { width: 0.5rem; }
body::-webkit-scrollbar-track { background: var(--crimson-ink); }
body::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--crimson-bright), var(--crimson-deep));
    border-radius: 4px;
}

::selection {
    background: var(--crimson-bright);
    color: #fff;
}

/* ---------------------------------------------------------------------
   3. TIPOGRAFIA
   --------------------------------------------------------------------- */
h1.site-head {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 60px);
    color: var(--crimson-bright);
    margin: 0;
    text-align: center;
    position: relative;
    letter-spacing: 4px;
    padding: 0 2rem;
    line-height: 1em;
}

h2.site-head__sub {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1rem, 3vw, 42px);
    color: var(--orange);
    margin: 0;
    text-align: center;
    position: relative;
    letter-spacing: 4px;
    padding: 0 2rem;
}

h1.section-title,
h1.section-titlus {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 8vw, 4.5rem);
    font-weight: 400;
    line-height: 1;
    color: #fff;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    letter-spacing: 6px;
    text-transform: uppercase;
}

/* sublinhado "corte" carmesim */
h1.section-title::after,
h1.section-titlus::after {
    content: "";
    display: block;
    width: 90px;
    height: 5px;
    margin: 0.6rem auto 0;
    background: linear-gradient(90deg, var(--crimson-deep), var(--crimson-bright), var(--crimson-deep));
    transform: skewX(-30deg);
    box-shadow: var(--glow);
}

/* compensa a altura do menu ao saltar para a âncora */
h1.section-title::before {
    display: block;
    content: "";
    margin-top: -3.5rem;
    height: 3.5rem;
    visibility: hidden;
    pointer-events: none;
}

h2 {
    display: inline;
    font-size: 1.55em;
}

img + h2 {
    padding-left: 0.5em;
}

h3 {
    color: var(--bg-secondary);
    margin: 0;
    font-weight: 800;
}

hr {
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--crimson-bright), transparent);
    border: 0;
    margin: 2.5rem 0 1rem;
}

a {
    text-decoration: none;
    color: var(--text-primary);
}

a span.orange-text {
    text-decoration: underline;
}

a.anchor {
    display: block;
    position: relative;
    top: -250px;
    visibility: hidden;
}

p {
    margin: 0;
}

/* texto corrido das seções (Sobre nós / Contrate) */
.container > p {
    line-height: 1.8;
    max-width: 75ch;
    margin-left: auto;
    margin-right: auto;
    color: #d0d0d4;
}

.container > p strong {
    color: #fff;
}

.container > p .orange-text {
    text-decoration: underline;
    text-decoration-color: rgba(255, 77, 106, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 200ms;
}

.container > p .orange-text:hover {
    text-decoration-color: var(--orange);
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.text {
    padding: 1.75rem 1rem;
    line-height: 1.75em;
    margin-bottom: 1rem;
    text-align: justify;
}

.text::before { content: url(../img/first-line-icon.png); }
.text::after { content: url(../img/last-line-icon.png); }

.vl {
    background: var(--crimson);
    width: 1px;
    display: block;
    margin: 0;
}

/* ---------------------------------------------------------------------
   4. LAYOUT
   --------------------------------------------------------------------- */
#info {
    background: linear-gradient(90deg, var(--crimson-deep), var(--crimson-bright) 50%, var(--crimson-deep));
    padding: 0.35rem 0;
    box-shadow: 0 0 30px rgba(224, 20, 60, 0.45);
    position: relative;
    z-index: 2;
}

.infogrid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 1rem;
}

.infogrid div:nth-child(odd) {
    text-align: right;
    font-variant: small-caps;
    color: var(--orange);
}

.infogrid div:nth-child(even) {
    text-align: left;
}

.container {
    display: block;
    width: 92vw;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

.container-fluid {
    display: block;
    width: 100%;
    margin: 0;
    overflow: visible;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.flex-column {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    flex-direction: column;
}

.justify-items {
    justify-content: center;
}

.header {
    display: block;
    height: 100%;
    align-content: center;
}

.left {
    text-align: left !important;
}

.center {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
}

.light { background: var(--text-primary); }
.light-red { background: var(--bg-secondary); }
.black { background: var(--bg-darker); }

/* ---------------------------------------------------------------------
   5. HERO ("OUÇA TKJ" + vídeo de fundo)
   --------------------------------------------------------------------- */
.full-height {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
}

/* funde o vídeo com o resto da página */
.full-height::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
    z-index: 1;
}

.embed-container {
    display: block;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    width: 100%;
    overflow: hidden;
}

/* o hero ocupa a largura toda, com altura própria */
.full-height .embed-container {
    padding-bottom: 0;
    height: clamp(520px, 88vh, 820px);
    max-width: none;
}

/* vinheta carmesim no hero */
.full-height .embed-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.75) 100%),
        linear-gradient(180deg, rgba(92, 5, 22, 0.35), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.full-height .embed-container > div[style*="translate"] {
    z-index: 2;
}

.embed-container iframe,
.live-container iframe,
.live-container div {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.live-container {
    display: block;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
}

.embed {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 85px);
    z-index: 4;
}

.embed-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--bg-darker);
    padding: 1rem 0;
}

.embed-buttons p { margin-bottom: 0.25em; }

.iframe {
    top: 0;
    left: 0;
    width: 100%;
    max-width: 1080px;
    height: 100%;
    position: relative;
}

.live-w-chat {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.5rem;
    width: calc(100% - 1rem);
}

/* botões lado a lado (YouTube | Spotify, Insta | TikTok …) */
.item-sideways {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.7rem 0.5rem;
    box-sizing: border-box;
    flex: 0 0 11rem;
    width: 11rem;
    background: rgba(10, 10, 12, 0.55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(224, 20, 60, 0.45);
    transition:
        background-color 300ms var(--ease),
        box-shadow 300ms ease-out,
        transform 200ms ease-out,
        border-color 300ms;
}

/* <p> vazios gerados pelo HTML (<p><h2>…) entravam no gap do flex e descentralizavam o conteúdo */
.item-sideways p:empty { display: none; }

.item-sideways h2,
.item-sideways h2.p-sides-1,
.item-sideways h2.p-sides-2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.item-sideways h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: 3px;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
}

.item-sideways .img-icos {
    max-height: 1.5rem;
    transition: transform 250ms var(--ease);
}

.item-sideways:hover .img-icos {
    transform: scale(1.2) rotate(-6deg);
}

.item-sideways:first-of-type {
    border-radius: 999px 0 0 999px;
    margin-right: -1px;
}

.item-sideways:last-of-type {
    border-radius: 0 999px 999px 0;
    margin-left: -1px;
}

.item-sideways:first-of-type:hover,
.item-sideways:not(:first-of-type):hover {
    background: linear-gradient(135deg, var(--crimson-bright), var(--crimson));
    border-color: var(--crimson-bright);
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

.sideways-active {
    background: var(--crimson);
    pointer-events: none;
}

/* ---------------------------------------------------------------------
   6. IMAGENS / LOGO
   --------------------------------------------------------------------- */
.img-fluid {
    max-height: 100%;
    width: auto;
    padding: 0;
}

.img-icos {
    max-height: 1.1rem;
    display: inline;
}

.logo {
    position: absolute;
    max-width: 75%;
    top: 0;
}

/* ---------------------------------------------------------------------
   7. CAIXAS DE LINKS (Ouça / Siga)
   --------------------------------------------------------------------- */
.lg-box {
    margin: 1rem;
    display: block;
    width: 100%;
    padding: 1.5rem 1.25rem 1.25rem;
    background: linear-gradient(160deg, rgba(166, 8, 41, 0.14), rgba(255, 255, 255, 0.02) 60%);
    border: 1px solid rgba(224, 20, 60, 0.25);
    border-radius: var(--radius);
    transition: border-color 250ms, box-shadow 250ms, transform 250ms var(--ease);
}

.lg-box:hover {
    border-color: rgba(224, 20, 60, 0.7);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(166, 8, 41, 0.35);
    transform: translateY(-3px);
}

.lg-box > h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2rem;
    letter-spacing: 3px;
    color: #fff;
    vertical-align: middle;
}

.lg-box > .img-icos {
    max-height: 1.5rem;
    vertical-align: middle;
}

.offset-box {
    list-style: none;
    overflow: hidden;
    text-align: right;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 1rem 0 0;
    padding: 0;
}

.offset-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: var(--crimson-bright);
}

.offset-box::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(var(--crimson-bright), var(--crimson-deep));
}

.main-item {
    padding: 0.2rem 0;
    margin-left: auto;
    position: relative;
    z-index: 1;
    margin-right: -2px;
    max-width: 100%;
}

.main-item::after {
    content: '';
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background: linear-gradient(90deg, var(--crimson-deep), var(--crimson-bright));
    border-radius: 12px 0 0 12px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms cubic-bezier(0.16, 0.6, 0.45, 1.3);
}

.main-item:first-child::after {
    border-radius: 0 0 0 12px;
    margin-top: -2px;
}

.main-item:hover::after {
    transform: scaleX(1);
    transform-origin: right;
}

.main-item:hover .link-main {
    color: #fff;
}

.link-main {
    display: flex;
    padding: 0.3rem 0.9rem;
    transition: color 150ms;
}

/* ---------------------------------------------------------------------
   8. CARDS (Próximos shows)
   --------------------------------------------------------------------- */
.card-container {
    display: block;
    margin: 1rem;
    width: 250px;
}

.card-container > a,
.card > a {
    display: block;
    color: inherit;
}

.card {
    display: block;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, rgba(166, 8, 41, 0.12), rgba(0, 0, 0, 0.5));
    border: 1px solid rgba(224, 20, 60, 0.5);
    border-radius: 22px 0;
    transition:
        background-color 300ms ease-in-out,
        box-shadow 300ms ease-in-out,
        border-color 300ms ease-in-out,
        transform 300ms var(--ease);
    overflow: hidden;
}

.card-container:hover .card,
.card:hover {
    border-color: var(--crimson-bright);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 22px rgba(224, 20, 60, 0.5);
    transform: translateY(-5px);
}

.card:hover {
    background: linear-gradient(180deg, rgba(224, 20, 60, 0.3), rgba(0, 0, 0, 0.6));
    color: #fff;
}

.card-piece {
    padding: 0.6rem 1rem;
}

.card-piece p {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.card-piece:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
    background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
}

.card-piece:first-child h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: 2px;
}

.card-piece:last-child {
    border-top: 0;
    padding-bottom: 1rem;
}

/* ---------------------------------------------------------------------
   9. RODAPÉ
   --------------------------------------------------------------------- */
.footer {
    height: 30px;
    width: 100%;
    margin: 3rem 0 0;
    background:
        repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.18) 0 10px, transparent 10px 20px),
        linear-gradient(90deg, var(--crimson-deep), var(--crimson-bright) 50%, var(--crimson-deep));
    box-shadow: 0 -4px 24px rgba(224, 20, 60, 0.35);
}

.top {
    height: 30px;
    width: 100%;
    margin: 0;
    background: var(--bg-secondary);
}

.main-bot {
    width: 100%;
    height: auto;
    min-height: 75px;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: relative;
}

/* ---------------------------------------------------------------------
   10. MENU LATERAL (esquerda) E BARRA DO USUÁRIO (direita)
   --------------------------------------------------------------------- */
.bars {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: var(--navwidth);
    max-width: var(--navwidth-max);
    position: fixed;
    background: linear-gradient(180deg, var(--crimson) 0%, var(--crimson-deep) 100%);
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar {
    display: flex;
    flex-direction: column;
    left: 0;
    box-shadow: 3px 0 18px var(--shade);
    transform: translateX(-5%);
    z-index: 11100;
    justify-content: space-between;
}

.logbar {
    right: -2px;
    box-shadow: -3px 0 18px var(--shade);
    transform: translateX(5%);
    z-index: 11110;
    justify-content: flex-start;
}

.scrollable {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-rows: min-content 1fr;
    background: linear-gradient(180deg, var(--crimson) 0%, var(--crimson-deep) 100%);
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollable::-webkit-scrollbar { display: none; }

.navbar__active { animation: slideIn 300ms ease-out forwards; }
.navbar__inactive { animation: slideOut 150ms ease-in forwards; }
.navbar__startinactive { transform: translateX(calc(-100% - 2px)); }

.logbar__active { animation: slideInLogin 300ms ease-out forwards; }
.logbar__inactive { animation: slideOutLogin 150ms ease-in forwards; }
.logbar__startinactive { transform: translateX(calc(100% + 2px)); }
.logbar__startactive { transform: translateX(5%); }

.navbar .button {
    position: relative;
    display: flex;
    padding: calc(calc(var(--vh, 1vh) * 7) - 1em) 0;
    width: var(--navwidth);
    max-width: var(--navwidth-max);
    border: 0;
    background: transparent;
    font-family: var(--font-display);
    font-size: 1.8em;
    letter-spacing: 3px;
    z-index: 105;
    color: #fff;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.navbar .button::after {
    content: '';
    position: absolute;
    background: var(--bg-primary);
    top: 0;
    left: 0;
    width: var(--navwidth);
    max-width: var(--navwidth-max);
    height: 100%;
    z-index: -1;
    box-shadow: none;
    border-left: 0 solid var(--crimson-bright);
    transform: translateX(-100%);
    transition: transform 260ms ease-out;
}

.navbar .button:hover {
    color: var(--crimson-bright);
    transition: color 160ms ease-in-out;
}

.navbar .button:hover::after {
    background: var(--bg-primary);
    height: 100%;
    width: 100%;
    border-left: 5px solid var(--crimson-bright);
    box-shadow: 3px 0 12px rgba(0, 0, 0, 0.6);
    transform: translateX(0);
    transition:
        transform 160ms ease-out,
        box-shadow 160ms ease-out;
}

.hamburger {
    color: #fff;
    position: absolute;
    font-size: 1.25em;
    background: var(--crimson);
    border: 0;
    margin: 0;
    padding: 0.75em 0.5em;
    top: 1rem;
    z-index: -2;
    text-decoration: none;
    font-family: inherit;
}

.navbar .hamburger {
    border-radius: 0 0.5rem 0.5rem 0;
    left: 100%;
    box-shadow: 3px 0 3px var(--shade);
}

.logbar .hamburger {
    border-radius: 0.5rem 0 0 0.5rem;
    right: 100%;
    box-shadow: -3px 0 3px var(--shade);
}

.navbar .hamburger:focus {
    outline: none;
    box-shadow: 3px 0 3px var(--shade), 6px 0 var(--crimson-bright);
}

.logbar .hamburger:focus {
    outline: none;
    box-shadow: -3px 0 3px var(--shade), -6px 0 var(--crimson-bright);
}

/* conteúdo da barra do usuário */
.logbar .barcontent {
    padding: 2rem 2.5rem 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.logbar .barcontent a {
    text-decoration: none;
    color: #fff;
}

.logbar .barcontent a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.logbar div,
#profilebox,
#profilebox *,
.lightview-container,
.lightview-container * {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.logbar div::-webkit-scrollbar,
#profilebox::-webkit-scrollbar,
#profilebox *::-webkit-scrollbar,
.lightview-container::-webkit-scrollbar,
.lightview-container *::-webkit-scrollbar {
    display: none;
}

.logbar form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.logbar div a {
    text-decoration: underline;
    color: var(--orange);
    pointer-events: auto;
}

.logbar div p {
    margin-bottom: 2rem;
    line-height: 1.75em;
}

.logbar input,
.logbar button {
    border-radius: 1rem;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
    direction: ltr;
}

.userbox input,
.userbox button {
    margin-bottom: 2rem;
}

.textfields,
#usertext {
    width: 80%;
    padding: 0.35rem 1rem;
    background: var(--crimson);
}

/* apelido: ocupa ~85% da caixa do topo do menu do usuário */
#apelido {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#apelido #usertext {
    width: 85%;
    max-width: 100%;
    min-width: 0;
    text-overflow: ellipsis;
}

.submit {
    position: relative;
    padding: 0.4rem 1.5rem 0.35rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--crimson);
    cursor: pointer;
}

.textfields:focus,
.submit:focus {
    outline: none !important;
}

.submit:focus {
    background: rgba(255, 255, 255, 0.1) !important;
}

.submit:active {
    background: var(--text-primary);
    color: var(--crimson);
}

.submit span::after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    right: 1.15rem;
    transition: 0.5s;
}

.submit:hover span::after {
    opacity: 1;
    right: 0.85rem;
}

#right form span {
    margin-bottom: 0.5rem;
}

.configheader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0;
    width: 100%;
    padding: 1.25rem 0 0.75rem;
    text-align: center;
    box-shadow: 0 2px 10px var(--light-shade);
    z-index: 1000;
    height: min-content;
}

/* Degradê suave até o preto sobre a cor favorita escolhida.
   A cor vem das classes .darkred, .olive etc. (background-color);
   aqui só se adiciona a camada de degradê por cima, sem trocar a cor. */
.scrollable .configheader {
    background-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.18) 45%,
        rgba(0, 0, 0, 0.6) 100%
    ) !important;
}

.configemail { font-size: 0.75em; opacity: 0.85; padding: 0 1rem; max-width: 100%; overflow-wrap: anywhere; }

.configaccess {
    padding: 0 1rem;
    margin: 0.65rem 0 0;
    font-size: 0.75em;
    font-style: italic;
}

.configheader .header__bottomline {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.configheader .creditos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-shrink: 1;
    font-size: 0.85em;
    margin: 0.5em;
    cursor: pointer;
}

.configheader .creditos img { margin-right: 0.5rem; }

.creditos:empty {
    padding: 0;
    margin: 0;
    display: none;
}

.scrolling-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    overflow-y: scroll;
}

.scrolling-login {
    position: relative;
    height: 100%;
    overflow-y: scroll !important;
}

.user-scrolldown,
.user-scrollup {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 1rem);
    padding: 0.5rem;
    background: var(--crimson);
    cursor: pointer;
    opacity: 0.85;
}

.user-scrolldown img,
.user-scrollup img { opacity: 1; }

.user-scrolldown {
    bottom: 0;
    box-shadow: 0 -5px 5px var(--crimson);
}

.user-scrollup {
    box-shadow: 0 5px 5px var(--crimson);
}

#colorgrid {
    padding: 0.25rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 0.75rem;
}

#colorgrid div {
    cursor: pointer;
    margin: 0;
    padding: 0;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 50%;
    justify-self: center;
    align-self: center;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 2px 2px 2px 2px var(--light-shade);
    transition: transform 150ms var(--ease);
}

#colorgrid div:hover { transform: scale(1.12); }

#achievementgrid { margin: -1rem 0 2.5rem; }

#achievementgrid .row {
    display: grid;
    grid-gap: 0.75rem;
    grid-template-columns: 1fr 6fr;
    margin: 0 0 0.5rem;
    border-radius: 1rem;
    box-shadow: 1px 1px 3px var(--light-shade);
    padding: 0.75rem;
}

#achievementgrid > label:hover input:not(:disabled):not(:checked) ~ .row,
.radio-group > label:hover input:not(:disabled):not(:checked) ~ .optionwrapper {
    background: rgba(255, 255, 255, 0.1) !important;
    cursor: pointer;
}

#achievementgrid > label input:checked ~ .row,
.radio-group > label input:checked ~ .optionwrapper {
    background: var(--orange) !important;
    color: var(--bg-darker);
    animation: bgFadeIn 150ms ease-in-out forwards;
}

#achievementgrid > label input:disabled ~ .row,
.radio-group > label input:disabled ~ .optionwrapper {
    background: rgba(2, 2, 2, 0.1) !important;
}

#achievementgrid .row div {
    justify-self: center;
    align-self: center;
}

#achievementgrid .row div:nth-child(2) {
    align-self: center;
    justify-self: left !important;
    font-size: 0.85em;
}

.badge {
    display: block;
    max-height: 1.5rem;
    width: auto;
    margin: 0;
}

.color__active {
    box-shadow:
        0 0 0 2px #fff,
        2px 2px 2px 2px var(--light-shade),
        -2px -2px 10px 1px rgba(255, 255, 255, 0.55) !important;
    pointer-events: none;
}

/* cores favoritas escolhidas pelo usuário (não alterar nomes) */
.darkred            { background: rgb(146, 0, 0) !important; }
.darkred:focus      { background: rgb(182, 34, 34) !important; }
.darkblue           { background: rgb(28, 67, 157) !important; }
.darkblue:focus     { background: rgb(71, 71, 190) !important; }
.darkgreen          { background: rgb(0, 146, 0) !important; }
.darkgreen:focus    { background: rgb(16, 172, 16) !important; }
.orange             { background: rgb(185, 115, 24) !important; }
.orange:focus       { background: rgb(212, 136, 73) !important; }
.grey               { background: rgb(121, 121, 121) !important; }
.grey:focus         { background: rgb(155, 155, 155) !important; }
.darkgrey           { background: rgb(50, 50, 50) !important; }
.darkgrey:focus     { background: rgb(82, 82, 82) !important; }
.turquoise          { background: rgb(22, 156, 143) !important; }
.turquoise:focus    { background: rgb(32, 173, 159) !important; }
.brown              { background: rgb(107, 57, 37) !important; }
.brown:focus        { background: rgb(141, 72, 32) !important; }
.darkpurple         { background: rgb(84, 39, 126) !important; }
.darkpurple:focus   { background: rgb(128, 66, 185) !important; }
.hotpink            { background: rgb(192, 40, 146) !important; }
.hotpink:focus      { background: rgb(206, 74, 166) !important; }
.olive              { background: rgb(58, 92, 14) !important; }
.olive:focus        { background: rgb(83, 122, 31) !important; }
.darkcrimson        { background: rgb(151, 24, 73) !important; }
.darkcrimson:focus  { background: rgb(179, 42, 72) !important; }

.orange-text { color: var(--orange) !important; }

/* ---------------------------------------------------------------------
   11. BOTÕES (Contrate) + TOOLTIP
   --------------------------------------------------------------------- */
.live-buttons {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap-reverse;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.live-button {
    display: inline-flex;
    flex-direction: row;
    font-family: inherit;
    font-size: 0.72rem;
    line-height: 1.2;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem 1rem;
    color: #fff;
    position: relative;
    margin: 0 0 0.5rem 0.5rem;
    z-index: 1020;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
    transition: box-shadow 200ms, transform 150ms;
}

.live-button:hover {
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

.live-custom-button-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.live-custom-button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    flex-direction: row;
    font-size: 0.8rem;
    border-radius: 1.5rem;
    border: 0;
    padding: 0.4rem 2rem;
    color: var(--bg-primary);
    margin: 0.5rem;
    z-index: 1020;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
    white-space: nowrap;
    cursor: pointer;
    background: rgb(188, 224, 238);
    box-shadow: 0 0 10px rgb(121, 218, 255);
    animation: glow 5000ms linear infinite;
}

.live-custom-button--flat { animation: none; box-shadow: none; }
.live-custom-button--done { animation: none; box-shadow: none; }

.live-custom-button--done::after {
    content: '';
    position: absolute;
    background: var(--bg-primary);
    inset: 0;
    opacity: 0.5;
}

.live-button:last-of-type { margin-right: 0.5rem; }

.live-custom-button::before { background: rgb(222, 245, 255); }

.live-button-standard { background: linear-gradient(135deg, var(--crimson), var(--crimson-deep)); }
.live-button-standard::before,
.button-tooltip-standard[data-tool-tip]::after { background: var(--crimson-bright); }

.live-button-padrinho { background: #816404; }
.live-button-padrinho::before,
.button-tooltip-padrinho[data-tool-tip]::after { background: #a37e06; white-space: pre-wrap; }

.live-button-faded { color: #999; background: #3a3435; opacity: 0.5; }
.live-button-faded::before,
.button-tooltip-faded[data-tool-tip]::after { background: #202020; white-space: pre-wrap; opacity: 1; }

.live-custom-button::before,
.live-button-standard::before,
.live-button-faded::before,
.live-button-padrinho::before {
    content: '';
    border-radius: 999px;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform ease-out 150ms;
}

.live-custom-button:hover::before,
.live-button-standard:hover::before,
.live-button-padrinho:hover::before {
    transform: translateX(0);
}

.live-custom-button:active,
.live-button:active,
.live-button-standard:active::before,
.live-button-faded:active::before,
.live-button-padrinho:active::before {
    color: var(--bg-primary);
    background: var(--text-primary) !important;
    outline: none;
}

.live-button:focus,
.live-custom-button:focus { outline: none; }

.button-tooltip {
    position: relative;
    cursor: pointer;
}

.button-tooltip-standard[data-tool-tip]::after,
.button-tooltip-padrinho[data-tool-tip]::after,
.button-tooltip-faded[data-tool-tip]::after {
    content: attr(data-tool-tip);
    position: absolute;
    left: 0.5rem;
    top: calc(100% - 5px);
    color: #fff;
    font-size: 0.75rem;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    transform: scale(0);
    transition: transform 150ms ease-in-out;
    transform-origin: top left;
    box-shadow: 5px 5px 12px var(--light-shade);
    pointer-events: none;
    z-index: 1050;
}

.button-tooltip-standard[data-tool-tip]:hover::after,
.button-tooltip-padrinho[data-tool-tip]:hover::after,
.button-tooltip-faded[data-tool-tip]:hover::after {
    transform: scale(1);
}

.button-tooltip-standard[data-tool-tip]:hover .live-button-standard::before,
.button-tooltip-standard[data-tool-tip]:hover .live-button-padrinho::before,
.button-tooltip-standard[data-tool-tip]:hover .live-button-faded::before,
.button-tooltip-padrinho[data-tool-tip]:hover .live-button-standard::before,
.button-tooltip-padrinho[data-tool-tip]:hover .live-button-padrinho::before,
.button-tooltip-padrinho[data-tool-tip]:hover .live-button-faded::before,
.button-tooltip-faded[data-tool-tip]:hover .live-button-standard::before,
.button-tooltip-faded[data-tool-tip]:hover .live-button-padrinho::before,
.button-tooltip-faded[data-tool-tip]:hover .live-button-faded::before {
    transform: translateX(0);
}

.live-button img { margin: 0 0.25rem 0 0.5rem; }

/* ---------------------------------------------------------------------
   12. ENQUETE / DOCS / CHAT
   --------------------------------------------------------------------- */
.poll-container {
    border-radius: 1rem;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.poll-container iframe {
    border: 0;
    margin: -15px 0 0 -15px;
    width: calc(100% + 40px);
    height: calc(100% + 80px);
    scrollbar-width: none;
    overflow-y: scroll;
}

.docs-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.docs-container .document {
    border: 0;
    margin: 0;
    padding: 1rem;
    color: var(--text-primary) !important;
}

.docs-container .document * {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.3rem;
}

.docs-container .document ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: inside url("../img/list-arrow.png") !important;
}

.docs-container .document ol {
    list-style: none;
    counter-reset: lista;
    margin: 0 !important;
    padding: 0 !important;
}

.docs-container .document ol li { counter-increment: lista; }

.docs-container .document ol li::before {
    margin-right: 0.5em;
    font-size: 0.8rem;
    content: counter(lista) ".";
    color: var(--orange);
}

.chat-container {
    display: grid;
    grid-template-rows: 1fr min-content;
    grid-gap: 0.5rem;
    margin-right: 0.2rem;
    height: 100%;
    position: relative;
}

.chat-container-lightview {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.chat-box {
    margin: 0;
    padding: 0 0.5rem 0 0;
    border: 0;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    width: 100%;
    scrollbar-width: none;
}

.chat-box::-webkit-scrollbar { width: 0; }
.chat-box::-webkit-scrollbar-track { background: var(--crimson-ink); }
.chat-box::-webkit-scrollbar-thumb { background: var(--crimson); }

.chat-entry,
.chat-empty {
    text-indent: -0.25rem;
    background: var(--bg-elevated);
    margin-bottom: 0.25rem;
    border-radius: 0.5rem;
    padding: 0.3rem 0.3rem 0.3rem 0.5rem;
    line-height: 1.25em;
    position: relative;
    width: 100%;
}

.chat-entry-container {
    margin: 0;
    padding: 0;
    position: relative;
    background: transparent;
    width: 100%;
}

.smol {
    color: var(--text-primary);
    border-radius: 0.3rem;
    margin: 0.1rem 0 0;
    background: var(--light-shade);
    padding: 0.1rem 1rem;
    opacity: 0.8;
    overflow-wrap: break-word;
    font-style: italic;
    font-size: 0.6rem;
}

.noreply {
    color: var(--text-primary);
    background: var(--light-shade);
    opacity: 0.8;
}

.chat-extra {
    color: var(--text-primary);
    border-radius: 0.3rem;
    margin: 0.3rem 0 0;
    background: var(--light-shade);
    padding: 0.2rem 1rem;
    font-style: italic;
    opacity: 0.8;
    overflow-wrap: break-word;
}

.chat-menu {
    border-radius: 0.25rem;
    font-size: 0.8rem;
    left: calc(100% - 13rem);
    height: fit-content;
    width: 10rem;
    background: rgb(40, 40, 44);
    z-index: 1000;
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 0.15rem;
    box-shadow: -1px -1px 12px var(--shade);
    color: var(--text-primary);
    text-align: center;
    overflow-wrap: break-word;
}

.chat-menu-standard {
    top: 50%;
    animation: dropDownMenu 120ms ease-in-out forwards;
    transform-origin: top;
}

.chat-menu-backwards {
    bottom: 50%;
    animation: dropDownMenu 120ms ease-in-out forwards;
    transform-origin: bottom;
}

.chat-menu-content {
    margin: 0;
    opacity: 0;
    animation: createLogin 120ms 90ms ease-in-out forwards;
}

.chat-menu-button {
    background: rgb(62, 62, 68);
    border: 0;
    width: 100%;
    margin-top: 0.15rem;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem;
    position: relative;
    z-index: 1010;
    overflow: hidden;
    cursor: pointer;
}

.chat-menu-button:first-of-type {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.chat-menu-button:last-of-type {
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.chat-menu-button:focus,
.chat-menu-button:active { outline: none; }

.chat-menu-button::before {
    content: '';
    background: var(--crimson);
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 100ms ease-in-out;
}

.chat-menu-button:hover::before { transform: scaleX(1); }

.chat-badge {
    margin: 0 0.5rem 0 0;
    height: 1.25em;
    float: right;
}

.chat-user {
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    padding: 0 0.5rem;
    font-weight: 700;
    z-index: 100;
}

.chat-message {
    display: inline;
    margin: 0;
    padding: 0;
    z-index: 90;
    overflow-wrap: break-word;
}

.chat-deleted {
    display: inline;
    margin: 0;
    padding-left: 0.5rem;
    z-index: 90;
    overflow-wrap: break-word;
    color: #707070;
    font-style: italic;
}

.chat-messenger {
    position: relative;
    padding: 0;
    height: min-content;
}

.chat-present {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -50px;
    right: 10px;
    width: 45px;
    height: 45px;
    background: var(--crimson);
    border-radius: 50%;
    z-index: 1000;
    transition: transform 200ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: bottom center;
    box-shadow: 2px 2px 5px var(--light-shade);
    animation: imgGlow 3000ms ease-in-out infinite;
}

.chat-present:empty { transform: scale(0); }
.credits-gift:empty { pointer-events: none; }

.chat-field {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-radius: 0.5rem;
    border: 0;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 2px 8px var(--light-shade);
}

.chat-field-wrapper {
    width: 100%;
    padding: 0.5rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.chat-field-wrapper div {
    display: flex;
    align-items: center;
    flex-shrink: 1;
}

.chat-field-wrapper div:last-of-type { margin-left: auto; }

.chat-user-wrapper {
    text-align: center;
    width: 100%;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 0.5rem 0.5rem 0 0;
}

.chat-input-wrapper {
    width: 100%;
    display: flex;
    height: 2.5rem;
    align-items: center;
}

.chat-input {
    background: var(--bg-elevated);
    display: block;
    color: var(--text-primary) !important;
    border: 0 !important;
    height: 100%;
    padding: 0 0.5rem;
    box-shadow: none !important;
}

.chat-input:focus {
    outline: none;
    background: #232327;
    box-shadow: none !important;
}

#chat-button {
    border-radius: 0 0 0.5rem 0.5rem;
    display: flex;
    justify-content: center;
}

.chat-scroll-button {
    position: absolute;
    z-index: 100;
    background: var(--crimson);
    width: 40px;
    height: 40px;
    bottom: calc(5% + 7rem);
    left: calc(50% - 20px);
    border-radius: 50%;
    border: 0;
    box-shadow: 2px 2px 9px var(--light-shade);
    transform: translateY(150%) scale(0);
    opacity: 0;
    transition: all 150ms ease-in-out;
    cursor: pointer;
}

.chat-scroll-button--on {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.chat-scroll-button:focus,
.chat-scroll-button:active { outline: none; }

.chat-scroll-button::before {
    content: '';
    position: absolute;
    inset: 15%;
    background: url(../img/autoscroll-on-button.png);
    background-position: center;
    background-size: cover;
}

.emojionearea-editor { color: var(--text-primary) !important; }

#emoji-trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: 0;
    padding: 0 0.5rem;
    margin: 0;
    height: 100%;
}

.transparent-button {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    color: var(--text-primary);
    font-family: inherit;
    font-weight: 700;
    font-size: 1em;
    padding: 0.5rem;
    background: transparent;
    cursor: pointer;
}

.transparent-button:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1) !important;
}

.transparent-button:active {
    outline: none;
    background: rgba(255, 255, 255, 0.25) !important;
}

.chat-notlogged {
    width: calc(100% - 1rem);
    border-radius: 0.5rem;
    background: var(--crimson);
    padding: 0.5rem;
    text-align: center;
}

.chat-entry-active { position: relative; }

.chat-entry-active::after {
    position: absolute;
    inset: 0;
    content: '';
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.15) !important;
    outline: none;
}

.lightview-container {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    margin: 0 auto;
    overflow-y: scroll;
    height: 100vh;
}

.lightview-container .chat-entry {
    padding: 0.1rem !important;
    position: relative;
}

.lightview-container .chat-entry::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -3px;
    left: 0;
    background: #333;
}

.lightview-autoscroll-container { box-shadow: 2px 2px 5px var(--light-shade); }

.lightview-autoscroll {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 20px;
    height: 20px;
    top: 0.25rem;
    right: 0.25rem;
    z-index: 10000;
    background: #580a1b;
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: -2px 2px 2px var(--light-shade);
    cursor: pointer;
    transition:
        transform 75ms cubic-bezier(.7, .49, .65, 3.25),
        opacity 50ms ease-in-out;
    opacity: 0.75;
    transform: scale(0.5);
}

.lightview-autoscroll::before {
    display: flex;
    justify-content: center;
    align-items: center;
    content: 'desativar rolagem';
    position: absolute;
    background: #580a1b;
    font-size: 0.75rem;
    border-radius: 0.5rem 0 0 0.5rem;
    padding: 5px 1rem 9px;
    color: var(--text-primary);
    bottom: 0;
    right: calc(100% - 1px);
    width: fit-content;
    height: 20px;
    white-space: nowrap;
    transform: scaleX(0);
    opacity: 0;
    transition: transform 75ms 25ms ease-in-out, opacity 100ms ease-in-out;
    transform-origin: right;
    letter-spacing: 2px;
    font-variant: small-caps;
    box-shadow: -2px 2px 2px var(--light-shade);
}

.lightview-autoscroll:hover::before { transform: scaleX(1); opacity: 1; }

.lightview-autoscroll:hover {
    border-radius: 0 0.5rem 0.5rem 0;
    transform: scale(1);
    opacity: 1;
}

.autoscroll {
    border: 0;
    outline: none;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    width: 40px;
    background: url('../img/autoscroll-on.png') center center / 70% 70% no-repeat;
    cursor: pointer;
}

.autoscroll--off::after {
    content: 'X';
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--crimson-bright);
    inset: 0;
}

.autoscroll::before {
    content: 'desativar rolagem';
    position: absolute;
    background: #4a4a50;
    font-size: 0.75em;
    border-radius: 0.5rem;
    padding: 0.2rem 0.5rem;
    color: var(--text-primary);
    bottom: 0.55rem;
    left: 100%;
    width: fit-content;
    white-space: nowrap;
    transform: scaleX(0);
    opacity: 0;
    transition: transform 100ms ease-in-out, opacity 100ms ease-in-out;
    transform-origin: left;
    pointer-events: none;
    letter-spacing: 2px;
    font-variant: small-caps;
}

.autoscroll--off::before { content: 'ativar rolagem'; }
.autoscroll:hover::before { transform: scaleX(1); opacity: 1; }

.youtube-chat iframe {
    background: var(--bg-elevated);
    display: block;
    width: calc(100vw - 2rem);
    border: 0;
    margin-top: 1rem;
    height: 20rem;
}

/* ---------------------------------------------------------------------
   13. SNACKBAR, ERROS, PHANTOMBOX, ESTADOS
   --------------------------------------------------------------------- */
#snackbar {
    visibility: hidden;
    width: 96%;
    left: 2%;
    background: radial-gradient(at 1rem 1rem, var(--crimson-bright) 8%, var(--crimson) 100%);
    color: #fff;
    text-align: center;
    border-radius: 0.5rem;
    font-size: 1em;
    padding: 2rem !important;
    position: fixed;
    z-index: 1500000000;
    bottom: 2rem;
    outline: 1px solid rgba(255, 255, 255, 0.7);
    outline-offset: -1rem;
    box-shadow: 3px 3px 20px var(--shade), var(--glow);
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s forwards;
    animation: fadein 0.5s forwards;
}

#snackbar.hide {
    visibility: visible;
    -webkit-animation: fadeout 0.5s forwards;
    animation: fadeout 0.5s forwards;
}

.erro {
    color: var(--orange);
    font-size: 0.75em;
    display: block;
    text-align: center;
}

#sidesignin,
#sidelogin {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

#phantombox {
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    top: 0 !important;
    left: 0 !important;
    z-index: -1000 !important;
    overflow: hidden !important;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.high-z { z-index: 2147483100 !important; }

.invis {
    display: none !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    z-index: -100;
}

.createloginitems { animation: createLogin 350ms ease-in-out forwards; }
.unmake { animation: unmakeLogin 350ms ease-in-out forwards; }

.--shake { transform: rotate(0); animation: shake 150ms linear infinite; }
.--shake2 { transform: rotate(0); animation: shake 150ms linear 6; }
.letsglow { box-shadow: 2px 2px 2px 2px rgba(255, 255, 255, 0.5); }

.nobubbling,
.scroller,
.cursorpointer,
#comprar-creditos,
#chat-send,
#resgatar-creditos {
    cursor: pointer;
}

/* ---------------------------------------------------------------------
   14. PROFILEBOX (janela modal: agenda, herói, perfil, recarga…)
   --------------------------------------------------------------------- */
#profilebox {
    display: flex;
    flex-direction: column;
    border-radius: 0.75rem;
    /* mesmo estilo escuro das .lg-box: fundo quase preto com um toque carmesim */
    background:
        radial-gradient(ellipse 90% 60% at 0% 0%, rgba(166, 8, 41, 0.28), transparent 70%),
        linear-gradient(160deg, rgba(166, 8, 41, 0.12), rgba(255, 255, 255, 0.02) 60%),
        #101012;
    border: 1px solid rgba(224, 20, 60, 0.45);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 36px rgba(166, 8, 41, 0.35);
    opacity: 0;
    color: var(--text-primary);
    padding: 2rem;
    overflow-wrap: break-word;
}

#profilebox.placed-box {
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1030;
}

#profilebox.body-box {
    position: fixed;
    margin: 5rem 4vw 5rem;
    top: 0;
    left: 0;
    height: calc(100vh - 10rem);
    width: calc(100% - 8vw);
    z-index: 2030;
}

#profilebox.poll-box {
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    right: 1rem;
    max-width: 600px;
    z-index: 1030;
    background: #fed655 !important;
}

#profilebox.poll-body-box {
    position: fixed;
    margin: 5rem 4vw 5rem;
    top: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 12rem);
    width: 92vw;
    max-width: 400px;
    z-index: 2030;
    background: #fed655 !important;
}

#profilebox-content {
    overflow-y: scroll;
    scrollbar-width: none;
    height: 100%;
}

#profilebox::-webkit-scrollbar { width: 0; }

#profilebox.in {
    transform: translateX(-20%);
    transform-origin: left;
    animation: profileIn 300ms ease-in-out forwards;
}

#profilebox.out {
    transform: translateX(0);
    animation: profileOut 300ms ease-in-out forwards;
}

#profilebox .user-level { color: #ff8da0; font-style: italic; }

#profilebox .user-badge-container {
    height: 3rem;
    width: 3rem;
    margin-right: 1rem;
}

#profilebox .container-fullheight { height: 100%; }

#profilebox h2,
#profilebox h1 {
    font-variant: small-caps;
    display: block;
    margin: 0.5rem 0 1rem;
    position: relative;
    line-height: 1.1em;
}

#profilebox h1 {
    margin: 0 0 0.25rem;
    padding: 0;
    font-size: 2em;
    color: #fff;
    text-align: left;
    letter-spacing: normal;
    text-transform: none;
    font-family: inherit;
    overflow-x: visible;
}

/* h1 dentro da profilebox não usa o sublinhado de seção */
#profilebox h1.section-title::after { display: none; }

#profilebox .redeem-header,
#profilebox .redeem-header::after,
#profilebox .redeem-reset::after,
#profilebox .redeem-reset::before {
    all: unset;
}

#profilebox .redeem-header {
    position: relative;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

#profilebox .redeem-gift {
    background: url(../img/gift.png) center / contain no-repeat;
    display: block;
    width: 100%;
    height: 20vmax;
    max-height: 150px;
    margin-bottom: 1rem;
}

#profilebox h2::before {
    content: '';
    position: absolute;
    bottom: -5px;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, var(--crimson-bright), transparent);
    opacity: 0.7;
}

#profilebox h3 {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    margin: 1rem 0 0.15rem;
    color: #ff8da0; /* cor secundária: contraste alto sobre o fundo escuro */
}

#profilebox .row {
    display: grid;
    grid-template-columns: 1fr 10fr;
    grid-gap: 0.125rem;
    margin: 0 0 0.5rem;
    border-radius: 0.125rem;
    padding: 0;
}

#profilebox .row div:first-of-type { justify-self: center; align-self: center; }
#profilebox .row div:last-of-type { align-self: center; }

#profilebox .user-header {
    display: grid;
    grid-template-columns: 1fr 15fr;
    grid-gap: 0.25rem;
}

#profilebox .user-header div { align-self: center; }

#profilebox .user-hidden-data {
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-row-gap: 0.25rem;
    grid-column-gap: 0.75rem;
    line-height: 1.5em;
}

#profilebox .user-hidden-data div:nth-of-type(odd) {
    justify-self: right;
    align-self: start;
    color: #ff8da0;
}

#profilebox .user-hidden-data div:nth-of-type(even) {
    justify-self: left;
    align-self: start;
}

#profilebox p {
    line-height: 1.5em;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

#profilebox .user-quote::before {
    content: open-quote;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    margin-right: 0.25em;
}

#profilebox .user-quote::after {
    content: close-quote;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 0.25em;
}

#box-close {
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    width: fit-content;
    height: fit-content;
    cursor: pointer;
    z-index: 1100;
}

.box-scroll {
    position: fixed;
    display: grid;
    grid-template-rows: min-content 1fr min-content;
    right: 0.5rem;
    bottom: 0.5rem;
    width: 25px;
    height: fit-content;
    max-height: 80px;
    z-index: 1100;
    animation: dropDownMenu 100ms ease-in-out forwards;
}

#profilebox .user-content-container {
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
}

#profilebox .user-content-container:last-of-type { margin-bottom: 0; }

#profilebox .profile-input {
    background: rgba(255, 255, 255, 0.05);
    border: 0;
    border-bottom: 1px solid rgba(224, 20, 60, 0.7);
    border-radius: 0.25rem 0.25rem 0 0;
    color: #fff;
    display: block;
    padding: 0.3rem;
    width: 100%;
    margin-bottom: 0;
    margin-top: -0.75rem;
}

.profile-input::placeholder {
    color: #fff;
    opacity: 0.5;
}

.profile-input:focus,
.profile-input:hover {
    border-bottom-color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    outline: none !important;
}

#profilebox .profile-button {
    background: linear-gradient(135deg, var(--crimson), var(--crimson-deep));
    border: 1px solid rgba(224, 20, 60, 0.8);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 0.85em;
    color: #fff;
    border-radius: 999px;
    display: flex;
    padding: 0.5rem 1.8rem;
    width: fit-content;
    position: relative;
    margin-right: auto;
    margin-left: auto;
    cursor: pointer;
    transition: background-color 150ms, color 150ms;
}

#profilebox .profile-button:hover {
    background: #fff;
    color: var(--crimson);
}

.profile-button span::after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    right: 0.75rem;
    transition: 0.5s;
}

.profile-button:hover span::after,
.profile-button:focus span::after,
.profile-button:active span::after {
    opacity: 1;
    right: 0.5rem;
}

.profile-button:active,
.profile-button:focus { outline: none; }

#profilebox .profile-checkbox,
#profilebox .profile-radio,
.login-checkbox {
    display: grid;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    align-items: center;
    margin: 0;
    grid-template-columns: min-content 1fr;
    grid-template-rows: min-content;
    grid-gap: 0.3rem;
    overflow: visible;
}

#profilebox .profile-checkbox div,
#profilebox .profile-radio div,
.login-checkbox div {
    align-self: center;
    align-items: center;
    padding: 0.25rem;
    margin: 0;
}

#profilebox .checkbox-group,
.login-checkbox-group {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#profilebox .profile-radio:last-of-type,
.login-checkbox-group:last-of-type { margin-bottom: 1rem; }

#profilebox .profile-checkbox input,
#profilebox .profile-radio input,
#achievementgrid input,
.login-checkbox div input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.login-checkbox div { align-self: center; }

#profilebox .profile-checkmark,
#profilebox .radio-checkmark,
.login-checkmark {
    position: relative;
    display: block;
    height: 1.25em;
    width: 1.25em;
    margin: 0 !important;
    background: var(--text-primary);
    box-shadow: -2px 2px 3px var(--light-shade);
    overflow: visible;
}

#profilebox .profile-checkmark,
.login-checkmark { border-radius: 0.25rem; }

#profilebox .radio-checkmark { border-radius: 50%; }

.profile-checkbox:hover input ~ .profile-checkmark,
.profile-radio:hover input ~ .radio-checkmark,
.login-checkbox:hover input ~ .login-checkmark {
    background: #bbb !important;
}

.profile-checkbox input:checked ~ .profile-checkmark,
.profile-radio input:checked ~ .radio-checkmark,
.login-checkbox input:checked ~ .login-checkmark {
    background-color: var(--bg-darker) !important;
}

/* dentro da janela escura, o "marcado" precisa ser vermelho para aparecer */
#profilebox .profile-checkbox input:checked ~ .profile-checkmark,
#profilebox .profile-radio input:checked ~ .radio-checkmark {
    background-color: var(--crimson-bright) !important;
}

.profile-checkmark:after,
.radio-checkmark:after,
.login-checkmark:after {
    content: "";
    position: absolute;
    display: block;
    transform: scale(0);
    transition: transform 100ms cubic-bezier(.7, .49, .65, 2.25);
}

.profile-checkbox input:checked ~ .profile-checkmark:after,
.profile-radio input:checked ~ .radio-checkmark:after,
.login-checkbox input:checked ~ .login-checkmark:after {
    display: block;
    transform: scale(1) rotate(45deg);
    -ms-transform: scale(1) rotate(45deg);
    -webkit-transform: scale(1) rotate(45deg);
}

.profile-checkbox .profile-checkmark:after,
.login-checkbox .login-checkmark:after {
    left: 35%;
    top: 20%;
    width: 0.25em;
    height: 0.5em;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: scale(0);
    box-shadow: 0 1px 0 var(--light-shade);
}

.profile-radio .radio-checkmark:after {
    top: calc(50% - 0.25rem);
    left: calc(50% - 0.25rem);
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 0 var(--light-shade);
}

.recarga-value-wrapper {
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.recarga-value-content {
    width: min-content;
    white-space: nowrap;
    margin: 0.5rem auto 1rem;
    font-size: 2rem;
}

.recarga-value-wrapper input {
    background: transparent;
    border: 0;
    width: 2.5em;
    color: #fff;
    text-align: right;
    font-family: inherit;
    font-size: 2rem;
}

.recarga-value-wrapper input::placeholder {
    color: #fff;
    opacity: 0.3;
}

.recarga-value-wrapper input:focus { outline: none; }

/* janela "acústico" */
#docs-acustico { position: relative; }

#docs-acustico-janela {
    position: absolute;
    right: 5%;
    left: 40%;
    top: 10%;
    bottom: 10%;
    border-radius: 0.5rem;
    background: radial-gradient(at 1rem 1rem, rgba(45, 45, 45, 1) 8%, rgba(14, 14, 16, 1) 100%);
    border: 1px solid rgba(224, 20, 60, 0.3);
    overflow-y: scroll;
    z-index: 9000;
    padding: 5%;
    box-shadow: -2px 2px 20px var(--shade);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.docs-acustico-janela--in {
    transform: scale(0) translateX(-10%) translateY(20%);
    transform-origin: left;
    animation: windowSlideIn 150ms ease-in-out forwards, windowGrowIn 150ms ease-in-out forwards;
}

.docs-acustico-janela--out {
    transform-origin: left;
    opacity: 1;
    transform: scale(1) translateX(0) translateY(0);
    animation: windowSlideOut 150ms ease-in-out forwards, windowShrinkOut 150ms ease-in-out forwards;
}

#docs-acustico-janela h2,
#docs-acustico-janela h3,
#docs-acustico-janela ul,
#docs-acustico-janela li {
    margin: 0;
    padding: 0;
}

#docs-acustico-janela h2 { font-size: 0.9rem; margin-bottom: 0.8rem; }
#docs-acustico-janela h3 { font-size: 0.8rem; margin-bottom: 0.5rem; }
#docs-acustico-janela ul { margin-bottom: 0.75rem; }
#docs-acustico-janela ul:last-of-type { margin-bottom: 0; }
#docs-acustico-janela li { font-size: 0.7rem; list-style-type: none; }

/* spinners */
#loader {
    position: absolute;
    top: calc(50% - 60px);
    left: calc(50% - 60px);
    border: 16px solid var(--text-primary);
    border-top: 16px solid var(--orange);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.guia__list {
    list-style-type: none;
    margin-left: 3rem;
    padding: 0;
}

.guia__item {
    margin-bottom: 0.5rem;
}

.sideline { border-left: 2px solid var(--orange); }

.infogrid .subtitle {
    color: #ff8da0;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

/* ---------------------------------------------------------------------
   15. RECUPERAÇÃO DE SENHA
   --------------------------------------------------------------------- */
.recovery-form__container {
    margin-left: 1rem;
    padding: 3rem 1rem 1rem;
    background: #fff;
    color: var(--shade);
    font-weight: 600;
    width: 90%;
    min-height: 100vh;
}

.recovery-form {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.recovery-form--out { animation: recovery--out 100ms ease-in-out forwards; }
.recovery-form--in { animation: recovery--in 100ms ease-in-out forwards; }

.recovery-form__title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--crimson);
    margin-top: 0;
    text-align: left;
    position: relative;
    letter-spacing: 3px;
    line-height: 1em;
    margin-bottom: 1em;
}

.recovery-form__text {
    margin-bottom: 3rem;
    line-height: 1.5em;
}

.recovery-form a {
    color: var(--crimson-bright);
    text-decoration: underline;
}

.recovery-form__label {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.recovery-form__field {
    padding: 0.75rem 1rem;
    border-radius: 0 1rem 1rem 0;
    border: 0;
    border-left: 3px solid var(--crimson);
    margin-bottom: 1rem;
    background: #f1f1f3;
    color: #111;
    box-shadow: 1px 1px 5px var(--light-shade);
    transition: background-color 75ms ease-in-out, box-shadow 150ms ease-in-out;
}

.recovery-form__field--error { box-shadow: 0 0 10px lightcoral; }
.recovery-form__field:hover { background: #e8e8ec; }

.recovery-form__field:focus,
.recovery-form__field:active {
    background: #fff;
    outline: none;
    box-shadow: 0 0 10px var(--crimson-bright);
}

.recovery-form__message {
    color: var(--crimson);
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.recovery-form__button {
    width: fit-content;
    padding: 0.5rem 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    background: var(--crimson);
    color: #fff;
    border: 2px solid var(--crimson);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 1px 1px 5px var(--light-shade);
    transition: background-color 75ms ease-in-out, box-shadow 150ms ease-in-out, color 75ms;
}

.recovery-form__button:hover {
    border: 2px solid var(--crimson);
    background: #fff;
    color: var(--crimson);
}

.recovery-form__button:active,
.recovery-form__button:focus {
    box-shadow: 0 0 10px var(--crimson-bright);
    outline: none;
}

.recovery-form__steps-indicator {
    width: fit-content;
    position: relative;
    list-style: none;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    align-items: center;
    z-index: 1;
}

.recovery-form__steps-indicator::after {
    box-sizing: border-box;
    content: "";
    position: absolute;
    left: 2px;
    right: calc(0.65rem + 2px);
    top: calc(50% - 1px);
    height: 1px;
    border-bottom: 2px dotted var(--crimson);
    background: transparent;
    z-index: -1;
}

.recovery-form__steps-indicator li {
    color: #fff;
    display: flex;
    font-size: 0.6rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--crimson);
    justify-content: center;
    align-items: center;
    margin-right: 0.65rem;
    transition: all 100ms ease-in-out;
}

.recovery-form__steps-indicator li.selected {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--crimson);
    background: #fff;
    color: var(--crimson);
    font-size: 0.75rem;
    font-weight: 900;
}

/* ---------------------------------------------------------------------
   16. ENQUETE E PADRINHOS (mantêm identidade âmbar própria)
   --------------------------------------------------------------------- */
.poll__option { font-size: 1rem; }
.poll__optionwrapper { margin-bottom: 0.75rem; }

.poll__button {
    background: #f29a2e;
    border: 0;
    border-radius: 1.5rem;
    padding: 0.25em 1em;
    width: max-content;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 2px 2px 5px var(--light-shade);
    position: relative;
    transition: all 100ms ease-in-out;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.poll__button:hover,
.poll__button:active,
.poll__button:focus {
    outline: none;
    box-shadow: 0 0 8px #f29a2e;
    background: rgb(238, 189, 54);
}

.votes {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.votes div {
    padding: 0.2rem 0;
    margin-bottom: 0.2rem;
    font-size: 1rem;
    position: relative;
}

.darktext { color: var(--bg-primary) !important; }

.radiowrapper {
    box-shadow: 0 2px 5px -2px var(--light-shade);
    position: relative;
}

.radiowrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(255, 204, 175);
    opacity: 0.1;
    z-index: -1;
}

.radio-group .optionwrapper {
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    box-shadow: 1px 1px 3px var(--light-shade);
}

.optionwrapper__header {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.radio-group input:checked ~ .optionwrapper .optionwrapper__header,
.radio-group input:checked ~ .optionwrapper li::before {
    color: var(--bg-primary) !important;
}

.optionwrapper__description { font-size: 1rem; padding: 0; }
.optionwrapper__p { padding: 0 !important; font-size: 1rem !important; }

.optionwrapper ul {
    margin: 0.5rem 0;
    padding-left: 2rem;
    list-style-type: none;
    counter-reset: counterPadrinho;
}

.optionwrapper li {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    position: relative;
    counter-increment: counterPadrinho;
}

.optionwrapper li::before {
    content: counter(counterPadrinho);
    position: absolute;
    left: -0.75rem;
    top: 0.1rem;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: var(--orange);
    font-size: 0.7rem;
}

.radio-group .radiowrapper {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0 0 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(224, 20, 60, 0.3);
}

.radio-group input {
    display: none;
    opacity: 0;
}

.radiowrapper:hover {
    cursor: pointer;
    transform: translateY(2px);
}

.radiowrapper:active { transform: translateY(4px); }

.padrinho__button {
    border: 0;
    padding: 0.5em 1em;
    margin-bottom: 1rem;
    background: #fff;
    color: var(--crimson);
    cursor: pointer;
    border-radius: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 2px 8px var(--light-shade);
}

.padrinho__button:focus,
.padrinho__button:active {
    background: #ffe3e8;
    outline: none;
}

.padrinho__button:active { transform: translateY(1px); }

/* ---------------------------------------------------------------------
   17. UTILITÁRIOS
   --------------------------------------------------------------------- */
.mg-t-n2 { margin-top: -2rem !important; }
.mg-t-n1 { margin-top: -1rem !important; }
.mg-t-0 { margin-top: 0 !important; }
.mg-t-1 { margin-top: 1rem !important; }
.mg-t-2 { margin-top: 2rem !important; }
.mg-t-3 { margin-top: 3rem !important; }
.mg-t-5 { margin-top: 5rem !important; }
.mg-t-7 { margin-top: 7rem !important; }
.mg-t-8 { margin-top: 8rem !important; }
.mg-t-10 { margin-top: 10rem !important; }

.mg-h1 {
    margin-top: 3rem !important;
    text-shadow: 0 2px 0 #000, 0 0 28px rgba(166, 8, 41, 0.65);
}

.mg-b-0 { margin-bottom: 0 !important; }
.mg-b-1 { margin-bottom: 1rem !important; }
.mg-b-2 { margin-bottom: 2rem !important; }
.mg-r-1 { margin-right: 1rem !important; }
.mg-l-1 { margin-left: 1rem !important; }
.mg-r-05 { margin-right: 0.5rem !important; }
.mg-r-025 { margin-right: 0.25rem !important; }
.mg-l-05 { margin-left: 0.5rem !important; }
.mg-l-025 { margin-left: 0.25rem !important; }
.mg-r-auto { margin-right: auto !important; }
.mg-l-auto { margin-left: auto !important; }
.mg-r-z { margin-right: 0 !important; }
.mg-l-z { margin-left: 0 !important; }
.p-l-1 { padding-left: 1rem !important; }
.p-r-1 { padding-right: 1rem !important; }
.p-sides-1 { padding-left: 1rem !important; padding-right: 1rem !important; }
.p-sides-2 { padding-left: 2rem !important; padding-right: 2rem !important; }
.p-reset { padding: 0 !important; }
.p-t-0 { padding-top: 0 !important; }
.p-b-0 { padding-bottom: 0 !important; }
.font-85 { font-size: 0.85em !important; }
.darktext { color: var(--bg-primary) !important; }

/* =====================================================================
   18. RESPONSIVO
   ===================================================================== */

/* ---- ≥ 720px ---- */
@media only screen and (min-width: 720px) {
    :root { font-size: 16px; }

    .container { width: 88%; }

    .recovery-form__container {
        width: 85%;
        margin-left: 3rem;
        max-width: 1000px;
        padding: 3rem 5rem 1rem;
    }

    .lg-box { width: 300px; flex: 0 1 300px; }

    .navbar .hamburger::after,
    .logbar .hamburger::before {
        font-size: 0.5em;
        display: inline;
        margin: 0 0.85rem;
        font-weight: bold;
    }

    .navbar .menu::after { content: 'MENU'; }
    .logbar .login::before { content: 'LOGIN'; }
    .logbar .config::before { content: 'CONFIGURAÇÕES'; }

    .navbar .hamburger,
    .logbar .login,
    .logbar .config {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    #snackbar {
        width: 400px;
        margin-left: -200px;
        font-size: 1.25em;
        padding: 1.5rem;
        left: 50%;
    }

    #profilebox.body-box {
        margin: 5rem 10vw;
        height: calc(100vh - 10rem);
        width: calc(100% - 20vw);
    }

    /* chat em linha */
    .chat-field { flex-direction: row; flex-wrap: nowrap; }
    .chat-field-wrapper { height: fit-content; }
    .chat-user-wrapper { text-align: right; width: max-content; border-radius: 0.5rem 0 0 0.5rem; }
    .chat-input-wrapper { flex-wrap: nowrap; height: unset; }
    #chat-button { border-radius: 0 0.5rem 0.5rem 0; }
    .chat-scroll-button { bottom: calc(5% + 2rem); }

    .poll__option, .poll__button { font-size: 1.5rem; }
}

/* ---- ≥ 900px ---- */
@media only screen and (min-width: 900px) {
    .recovery-form__container { padding: 5rem 8rem 1rem; }

    .live-w-chat { grid-template-columns: 7fr 4fr; }
    .live-w-chat div:nth-child(odd) { justify-content: right; }

    #docs-acustico-janela {
        right: 2%;
        top: 2%;
        bottom: 2%;
        left: 25%;
    }

    #profilebox.body-box {
        margin: 5rem 15vw;
        height: calc(100vh - 10rem);
        width: calc(100% - 30vw);
    }

    /* chat em coluna */
    .chat-field { flex-direction: column; }
    .chat-user-wrapper { text-align: center; width: 100%; border-radius: 0.5rem 0.5rem 0 0; }
    .chat-input-wrapper { height: 2.5rem; }
    #chat-button { border-radius: 0 0 0.5rem 0.5rem; display: flex; justify-content: center; }
    .chat-scroll-button { bottom: calc(5% + 7rem); }

    .poll__option, .poll__button { font-size: 1rem; }
}

/* ---- ≥ 1200px ---- */
@media only screen and (min-width: 1200px) {
    :root { font-size: 18px; }

    .container { width: 70%; }

    #docs-acustico-janela {
        top: 7%;
        right: 7%;
        bottom: 7%;
        left: 35%;
        padding: 1rem 2rem;
    }

    #profilebox.body-box {
        margin: 5rem 25vw;
        height: calc(100vh - 10rem);
        width: calc(100% - 50vw);
    }

    /* chat em linha */
    .chat-field { flex-direction: row; flex-wrap: nowrap; }
    .chat-user-wrapper { text-align: right; width: max-content; border-radius: 0.5rem 0 0 0.5rem; }
    .chat-input-wrapper { height: unset; }
    #chat-button { border-radius: 0 0.5rem 0.5rem 0; }
    .chat-scroll-button { bottom: calc(5% + 2rem); }

    .poll__option, .poll__button { font-size: 1.5rem; }
}

/* ---- telas bem pequenas ---- */
@media only screen and (max-width: 480px) {
    .item-sideways {
        flex-basis: 9.5rem;
        width: 9.5rem;
        padding: 0.6rem 0.4rem;
    }

    .item-sideways h2 { font-size: 1.35rem; }

    .card-container { width: 100%; max-width: 320px; }
}

/* ---- preferências de acessibilidade ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =====================================================================
   19. KEYFRAMES
   ===================================================================== */
@keyframes slideIn {
    0% { transform: translateX(calc(-100% - 2px)); }
    70% { transform: translateX(0%); }
    100% { transform: translateX(-5%); }
}

@keyframes slideOut {
    0% { transform: translateX(-5%); }
    30% { transform: translateX(0%); }
    100% { transform: translateX(calc(-100% - 2px)); }
}

@keyframes slideInLogin {
    0% { transform: translateX(calc(100% + 2px)); }
    70% { transform: translateX(0%); }
    100% { transform: translateX(5%); }
}

@keyframes slideOutLogin {
    0% { transform: translateX(5%); }
    30% { transform: translateX(0%); }
    100% { transform: translateX(calc(100% + 2px)); }
}

@keyframes createLogin {
    0% { transform: translateX(-5%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; display: flex !important; }
}

@keyframes unmakeLogin {
    0% { transform: translateX(0%); opacity: 1; }
    100% { transform: translateX(-5%); opacity: 0; }
}

@keyframes shrinkUp {
    0% { transform: scaleY(1); transform-origin: top; }
    100% { transform: scaleY(0); }
}

@keyframes bgFadeIn {
    0% { background: transparent; }
    100% { background: var(--orange); }
}

@-webkit-keyframes fadein {
    from { transform: translateY(3rem); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadein {
    from { transform: translateY(3rem); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@-webkit-keyframes fadeout {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(3rem); opacity: 0; }
}

@keyframes fadeout {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(3rem); opacity: 0; }
}

@keyframes dropDownMenu {
    from { transform: scaleY(0); opacity: 0; }
    to { transform: scaleY(1); opacity: 1; }
}

@keyframes profileIn {
    0% { transform: translateX(-20%); opacity: 0; }
    50% { transform: translateX(2%); opacity: 0.75; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes profileOut {
    0% { transform: translateX(0%); opacity: 1; }
    100% { transform: translateX(30%); opacity: 0; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgb(121, 218, 255); }
    50% { box-shadow: 0 0 20px rgb(121, 218, 255); }
    100% { box-shadow: 0 0 5px rgb(121, 218, 255); }
}

@keyframes imgGlow {
    0% { filter: drop-shadow(0 0 1px rgba(121, 217, 255, 0)); }
    50% { filter: drop-shadow(0 0 5px rgba(121, 217, 255, 0.75)); }
    100% { filter: drop-shadow(0 0 1px rgba(121, 217, 255, 0)); }
}

@keyframes windowSlideIn {
    0% { opacity: 0; transform: translateX(-10%); }
    40% { opacity: 0.4; transform: translateX(1%); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes windowGrowIn {
    0% { transform: scale(0); }
    40% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes windowShrinkOut {
    0% { transform: scale(1); }
    60% { transform: scale(1.05); }
    100% { transform: scale(0); }
}

@keyframes windowSlideOut {
    0% { opacity: 1; transform: translateX(0); }
    60% { opacity: 0.4; transform: translateX(1%); }
    100% { opacity: 0; transform: translateX(-10%); }
}

@keyframes shake {
    0% { transform: rotate(0); }
    25% { transform: rotate(2deg); }
    50% { transform: rotate(0); }
    75% { transform: rotate(-2deg); }
    100% { transform: rotate(0); }
}

@keyframes recovery--out {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-10%); opacity: 0; }
}

@keyframes recovery--in {
    0% { transform: translateX(10%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}