/* =========================================================
   Oir Ahora — estilos del sitio público
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --bg-soft: #fafafa;
    --bg-tint: #f5f6f8;
    --text: #14171a;
    --text-2: #4b5563;
    --muted: #7b8494;
    --line: #e6e8ec;
    --line-soft: #f0f1f4;
    --accent: #c1121f;
    --accent-soft: #fdf1f2;
    --radius: 14px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 6px 18px rgba(16, 24, 40, 0.07);
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin: 0;
}

/* =========================== Header =========================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 70px;
    padding: 0 32px;
}

.brand {
    font-size: 23px;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--text);
    white-space: nowrap;
}

.brand-strong {
    font-weight: 800;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 9px 13px;
    border-radius: 9px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-2);
    transition: background 0.16s ease, color 0.16s ease;
}

.nav-link:hover {
    background: var(--bg-tint);
    color: var(--text);
}

.nav-link.is-active {
    color: var(--text);
    font-weight: 700;
}

.btn-add {
    margin-left: 10px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-sm), 0 6px 16px rgba(16, 24, 40, 0.05);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.btn-add:hover {
    box-shadow: 0 2px 4px rgba(16, 24, 40, 0.06), 0 10px 22px rgba(16, 24, 40, 0.08);
    transform: translateY(-1px);
}

.btn-add.is-active {
    background: var(--bg-tint);
}

/* =========================== Layout =========================== */

.layout {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 40px;
    width: 100%;
    padding: 34px 32px 58px;
    align-items: start;
}

/* =========================== Sidebar =========================== */

.sidebar {
    position: sticky;
    top: 104px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-self: start;
    max-height: calc(100vh - 124px);
    padding-right: 4px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c2c8d0 transparent;
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c2c8d0;
}

/* En pantallas bajas, el menú lateral deja de ser fijo para que se vean
   todas las provincias (incluida Limón) sin tener que hacer scroll interno. */
@media (max-height: 840px) {
    .sidebar {
        position: static;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

.menu {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
}

.menu-title {
    padding: 15px 18px 9px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 18px;
    font-size: 14px;
    color: var(--text-2);
    border-top: 1px solid var(--line-soft);
    transition: background 0.15s ease, color 0.15s ease;
}

.menu a:hover {
    background: var(--bg-soft);
    color: var(--text);
}

.menu a.is-active {
    background: var(--bg-tint);
    color: var(--text);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--accent);
}

.menu .count {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

/* Provincias en dos columnas para que todas (incluida Limón) quepan sin scroll. */
.prov-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.prov-grid a {
    border-top: 1px solid var(--line-soft);
}

.prov-grid a:nth-child(odd) {
    border-right: 1px solid var(--line-soft);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0 18px 16px;
}

.chip {
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-2);
    background: #fff;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.chip:hover {
    border-color: #cfd4db;
    color: var(--text);
}

.chip.is-active {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
}

/* =========================== Contacto / agregar =========================== */

.contact-card {
    max-width: 780px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg-soft);
}

.contact-card h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-text {
    margin-top: 8px;
    font-size: 14.5px;
    color: var(--muted);
}

.contact-form {
    margin-top: 22px;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-card > .alert {
    margin-bottom: 22px;
}

.contact-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-email {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
    word-break: break-word;
    border-bottom: 2px solid rgba(193, 18, 31, 0.25);
    transition: border-color 0.15s ease;
}

.contact-email:hover {
    border-color: var(--accent);
}

.contact-data {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.contact-data h3 {
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-data ul {
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--text-2);
    font-size: 14.5px;
}

.contact-data li {
    margin: 5px 0;
}

/* =========================== Contenido =========================== */

.content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 46px;
}

.page-intro h1 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.page-intro p {
    max-width: 68ch;
    margin-top: 9px;
    font-size: 14.5px;
    color: var(--muted);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-head .section-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section + .section {
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.section-head .sub {
    margin-top: 3px;
    font-size: 13px;
    color: var(--muted);
}

.link-all {
    padding-bottom: 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    transition: border-color 0.15s ease;
}

.link-all:hover {
    border-color: var(--text);
}

/* =========================== Fichas =========================== */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover {
    border-color: #d9dde3;
    box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
    transform: translateY(-1px);
}

.card-logo {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: var(--bg-soft);
}

.card-logo img {
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
}

.initials {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #8a93a2;
}

.card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-title {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 12.5px;
    color: var(--muted);
}

.card-meta .freq {
    font-weight: 600;
    color: var(--text-2);
    font-variant-numeric: tabular-nums;
}

.card-links {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 7px;
}

.card-links a {
    font-size: 12.8px;
    font-weight: 600;
}

.card-links .listen {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
}

.card-links .listen::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid currentColor;
}

.card-links .read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent);
}

.card-links .read::after {
    content: "\2192";
    font-size: 13px;
    line-height: 1;
}

.card-links .web {
    font-weight: 500;
    color: var(--muted);
}

.card-links .web:hover {
    color: var(--text);
}

/* =========================== Reproductor modal =========================== */

.player-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.player-modal[hidden] {
    display: none;
}

.player-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 16, 0.62);
    backdrop-filter: blur(3px);
}

.player-dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    animation: player-in 0.18s ease-out;
}

@keyframes player-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.player-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--bg-tint);
    color: var(--text-2);
    font-family: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.player-close:hover {
    background: #eceef1;
    color: var(--text);
}

.player-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 38px;
}

.player-logo {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-tint);
}

.player-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.player-logo .initials {
    color: var(--text-2);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.player-title {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.player-sub {
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
}

.player-stage {
    margin-top: 20px;
}

.player-stage .player-audio {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-soft);
}

.player-stage audio {
    display: block;
    width: 100%;
}

.player-stage video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    background: #000;
}

.player-error {
    margin-top: 14px;
    padding: 11px 13px;
    border: 1px solid #f3cfcf;
    border-radius: 10px;
    background: #fdf2f2;
    color: #9b1c1c;
    font-size: 13px;
    line-height: 1.45;
}

.player-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 12.5px;
}

.player-note a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.player-open {
    overflow: hidden;
}

/* =========================== Estados y avisos =========================== */

.empty {
    padding: 40px 24px;
    border: 1px dashed #dadde3;
    border-radius: var(--radius);
    background: var(--bg-soft);
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

.alert {
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.45;
}

.alert-success {
    background: #f2fbf4;
    border-color: #cdebd5;
    color: #1f6b36;
}

.alert-error {
    background: #fdf2f2;
    border-color: #f3cfcf;
    color: #9b1c1c;
}

.alert-info {
    background: #f5f8fd;
    border-color: #d8e3f5;
    color: #294f8a;
}

/* =========================== Botones =========================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.btn-dark {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
}

.btn-dark:hover {
    background: #000;
}

.btn-light {
    background: #fff;
    border-color: var(--line);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    box-shadow: var(--shadow-md);
}

.btn-block {
    width: 100%;
}

/* =========================== Formularios =========================== */

.form-card {
    max-width: 920px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #b9bfc9;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}

.field .hint {
    font-size: 12px;
    color: var(--muted);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.radio-option:hover {
    border-color: #cfd4db;
}

.radio-option:has(input:checked) {
    background: var(--bg-tint);
    border-color: var(--text);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.form-errors {
    margin: 0 0 18px;
    padding: 13px 16px 13px 34px;
    border: 1px solid #f3cfcf;
    border-radius: 12px;
    background: #fdf2f2;
    color: #9b1c1c;
    font-size: 13.5px;
}

.form-errors li {
    margin: 3px 0;
}

/* =========================== Footer =========================== */

.site-footer {
    width: 100%;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 22px 32px;
    font-size: 13px;
    color: var(--muted);
}

.footer-inner a {
    font-weight: 600;
    color: var(--text-2);
}

.footer-inner a:hover {
    color: var(--text);
}

/* =========================== Menú móvil =========================== */

.menu-toggle {
    display: none;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.menu-toggle:hover {
    background: var(--bg-soft);
}

.menu-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(15, 18, 22, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 100dvh;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 48px rgba(16, 24, 40, 0.14);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.26s ease, visibility 0.26s ease;
}

body.drawer-open {
    overflow: hidden;
}

body.drawer-open .drawer {
    visibility: visible;
    transform: translateX(0);
}

body.drawer-open .drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}

.drawer-brand {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.drawer-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--text-2);
    font-family: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.drawer-close:hover {
    background: var(--bg-soft);
    color: var(--text);
}

.drawer-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 18px 18px 26px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #c2c8d0 transparent;
}

.drawer-body::-webkit-scrollbar {
    width: 8px;
}

.drawer-body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c2c8d0;
}

.drawer-body > * {
    flex: 0 0 auto;
}

.drawer-foot {
    padding: 14px 18px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.drawer-cta.is-active {
    opacity: 0.9;
}

/* =========================== Responsive =========================== */

@media (max-width: 1080px) {
    .layout {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 26px;
        padding: 26px 24px 46px;
    }

    .header-inner {
        padding: 0 24px;
    }
}

@media (max-width: 900px) {
    .header-inner {
        min-height: 62px;
        padding: 0 18px;
    }

    .top-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .layout {
        grid-template-columns: 1fr;
        padding: 22px 18px 40px;
    }

    .sidebar {
        display: none;
    }
}

@media (max-width: 560px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .page-intro h1 {
        font-size: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 20px;
    }

    .footer-inner {
        padding: 18px;
    }

    .player-modal {
        padding: 12px;
    }

    .player-dialog {
        padding: 20px 18px;
    }

    .player-logo {
        width: 48px;
        height: 48px;
    }

    .player-title {
        font-size: 17px;
    }
}

/* =========================== Reacciones y reportes =========================== */

.card-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px solid var(--line-soft);
}

.reaction-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.reaction-btn:hover {
    background: var(--bg-tint);
    color: var(--text);
}

.reaction-btn.is-active {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

.reaction-btn--down.is-active {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.reaction-count {
    font-variant-numeric: tabular-nums;
}

.report-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px;
    border: 0;
    background: none;
    color: var(--muted);
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease;
}

.report-link:hover {
    color: #b91c1c;
}

body.report-open {
    overflow: hidden;
}

.report-dialog {
    width: min(520px, 100%);
}

.report-head {
    padding-right: 34px;
    margin-bottom: 18px;
}

.report-form .field {
    margin-bottom: 14px;
}

.report-status {
    margin: 0 0 12px;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
}

.report-status.is-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

.report-status.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.player-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}

.player-actions[hidden] {
    display: none;
}

.player-actions .reaction-btn {
    padding: 5px 10px;
    font-size: 12.5px;
}

.player-actions .report-link {
    font-size: 12.5px;
}

body.periodico-open {
    overflow: hidden;
}

.periodico-cta {
    margin-top: 16px;
}

.periodico-cta .btn {
    width: 100%;
}

/* =========================== Compartir =========================== */

.sidebar .share-box {
    margin-top: auto;
}

.share-box {
    padding-bottom: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.share-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 2px 18px 0;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #fff;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.share-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
    color: #fff;
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-facebook {
    background: #1877f2;
}

.share-x {
    background: #111111;
}

.share-whatsapp {
    background: #25d366;
}

.share-telegram {
    background: #229ed9;
}

.player-start {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: var(--text);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.player-start[hidden] {
    display: none;
}

.player-start:hover {
    background: #000;
}

.player-audio-video {
    display: block;
    width: 100%;
    height: 64px;
    border-radius: 14px;
    background: #000;
    object-fit: contain;
}
