/* ========================================
   NOSIGNAL STUDIOS
   Overrides do cs16.css para o painel de redes sociais
   ======================================== */


/* ----------------------------------------
   THEME VARIABLES
   ---------------------------------------- */

:root {
    /* tamanho máximo dos botões de social */
    --btn-max-width: 72px;
    --btn-max-height: 24px;

    /* tamanho da fonte de tudo no painel */
    --font-size: 16px;

}


/* ----------------------------------------
   PAGE
   ---------------------------------------- */

html,
body {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    overflow: hidden;

    /* imagem de fundo — troque "background.jpg" pelo nome do seu arquivo */
    background-image: url("background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* ----------------------------------------
   CENTER PANEL
   ---------------------------------------- */

.page {
    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* ----------------------------------------
   SOCIAL PANEL
   (a lib deixa o .cs-dialog como position:fixed
   ancorado no canto — aqui a gente solta ele pra
   flutuar centralizado dentro da .page)
   ---------------------------------------- */

.social-panel {
    position: relative;

    width: 256px;
    min-width: 0;
    max-width: calc(100vw - 30px);

    top: auto;
    right: auto;
}


/* ----------------------------------------
   HEADING TEXT
   (centraliza o título "NOSIGNAL STUDIOS"
   e aplica a variável de font-size)
   ---------------------------------------- */

.social-panel .heading {
    justify-content: center;
}

.social-panel .heading .wrapper {
    justify-content: center;
}

.social-panel .heading .text {
    font-size: var(--font-size);
    line-height: calc(var(--font-size) - 1px);
}


/* ----------------------------------------
   TITLE
   ---------------------------------------- */

.social-title {
    margin: 0 0 12px;
    text-align: center;

    font-size: var(--font-size);
}


/* ----------------------------------------
   BUTTON CONTAINER
   ---------------------------------------- */

.social-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}


/* ----------------------------------------
   SOCIAL BUTTONS
   (centraliza o texto dentro de cada cs-btn,
   que por padrão é text-align: left, e limita
   o tamanho do botão respeitando as variáveis)
   ---------------------------------------- */

.social-buttons .cs-btn {
    width: 100%;
    max-width: var(--btn-max-width);
    max-height: var(--btn-max-height);

    margin: 0 auto;

    font-size: var(--font-size);
    line-height: calc(var(--font-size) - 1px);

    text-align: center;
}


/* ----------------------------------------
   MOBILE
   ---------------------------------------- */

@media (max-width: 400px) {
    .social-panel {
        width: calc(100vw - 30px);
    }
}