:root {
    --naranja: #e87832;
    --fondo: #f3f0e7;
    --texto: #1c1b18;
    --muted: #6a655c;
    --linea: #e3dccf;
    --barra: #2d332c;
    --barra-texto: #f3f0e7;
    --barra-muted: #b5b2a6;
    --barra-h: 56px;
    --nav-h: 63px;
}

* { box-sizing: border-box; }

.app-body {
    margin: 0;
    background: var(--fondo);
    color: var(--texto);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    padding-bottom: 96px;
}

.container-app {
    width: min(640px, calc(100% - 24px));
    margin: 0 auto;
}

.app-top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--barra);
    border-bottom: 3px solid var(--naranja);
    padding: 10px 0;
}
.app-top-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 14px;
    gap: 8px;
}

.top-izq {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    flex: 0 1 auto;
}
.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.brand img {
    height: 26px;
    width: auto;
    display: block;
}
.btn-atras {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: -6px 0 -6px -8px;
    color: var(--barra-texto);
    text-decoration: none;
    border-radius: 50%;
    flex-shrink: 0;
}
.btn-atras i { font-size: 1.35rem; }
.top-titulo {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--barra-texto);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-actions { display: flex; gap: 4px; align-items: center; flex-shrink: 0; position: relative; }
.top-user { position: relative; }
.top-user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    color: var(--barra-texto);
}
.top-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    padding: 2px 4px;
    color: var(--barra-texto);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
}
.top-user-btn i,
.top-lang-btn i {
    color: var(--barra-muted);
    font-size: 1.05rem;
    line-height: 1;
}
.top-user-btn:hover,
.top-lang-btn:hover {
    color: #fff;
}
.top-user-btn:hover i,
.top-lang-btn:hover i {
    color: #fff;
}
.top-lang { position: relative; }
.top-mas { position: relative; }
.top-lang-btn {
    width: 36px;
    height: 36px;
    justify-content: center;
    padding: 0;
    font-weight: 400;
}
.top-lang-btn i { font-size: 1.25rem; }
#top-mas-btn i { transition: transform .15s ease; }
#top-mas-btn[aria-expanded="true"] i { transform: rotate(45deg); }
.avatar-top {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
    border: 1px solid rgba(255, 255, 255, .25);
    display: block;
}
.avatar-letra {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    background: var(--naranja);
    color: #fff;
    user-select: none;
}
.avatar-top.avatar-letra {
    font-size: .95rem;
    background: var(--naranja);
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
}
#top-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-top .link-muted { color: var(--barra-muted); }
.app-top .link-muted:hover { color: #fff; }
.top-entrar {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 8px;
    color: var(--barra-muted);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
}
.top-entrar i {
    font-size: 1.2rem;
    line-height: 1;
}
.top-entrar:hover { color: #fff; }
.top-registro {
    border-radius: 999px;
    padding-left: 14px;
    padding-right: 14px;
}
.top-menu,
.top-mas-menu,
.top-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(28, 28, 28, .08);
    padding: 6px;
    z-index: 30;
}
.top-mas-menu { min-width: 260px; }
.top-menu a,
.top-mas-menu button,
.top-lang-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    color: var(--texto);
    background: none;
    border: 0;
    text-decoration: none;
    text-align: left;
    border-radius: 8px;
    min-height: 44px;
    font-size: .95rem;
    cursor: pointer;
}
.top-menu a:hover,
.top-mas-menu button:hover,
.top-lang-menu button:hover { background: var(--fondo); }
.top-menu i,
.top-mas-menu i { color: var(--muted); font-size: 1.15rem; }
.top-mas-etiq {
    margin: 0;
    padding: 8px 12px 4px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.top-mas-idiomas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 0 4px 6px;
}
.top-mas-idiomas button {
    min-height: 40px;
    padding: 8px 10px;
    font-size: .88rem;
}
.top-mas-sep {
    height: 1px;
    margin: 6px 8px;
    background: var(--linea);
}
.top-lang-menu button.activo,
.top-mas-idiomas button.activo {
    color: var(--naranja);
    font-weight: 600;
}

.feed-herramientas.oculto { display: none; }
.feed-herramientas.fijo {
    position: sticky;
    top: var(--barra-h);
    z-index: 18;
    background: #f4dcbb;
    margin: 0 0 10px;
    padding: 10px 12px 12px;
    border: 1px solid rgba(45, 51, 44, .12);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 18px rgba(28, 28, 28, .06);
}
.feed-peek-caja {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: var(--nav-h);
    z-index: 19;
    display: block;
    width: min(640px, calc(100% - 24px));
    margin: 0;
    pointer-events: none;
}
.feed-peek-caja[hidden] { display: none !important; }
.feed-peek {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border: 0;
    border-radius: 12px;
    margin-bottom: 6px;
    background: var(--naranja);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    box-shadow: 0 -4px 12px rgba(255, 138, 0, .28);
    cursor: pointer;
    pointer-events: auto;
}
.feed-peek .bi-search,
.feed-peek .bi-chevron-up {
    color: #fff;
    font-size: 1.05rem;
}
.feed-mas {
    text-align: center;
    color: var(--muted);
    font-size: .8rem;
    padding: 8px 0 4px;
}
.feed-mas[hidden] { display: none; }

.feed-search {
    position: relative;
    width: 100%;
    margin: 0 0 12px;
}
.feed-search-caja {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--linea);
    border-radius: 999px;
    background: #fff;
    cursor: text;
}
.feed-search-caja:focus-within { border-color: var(--naranja); }
.feed-search-caja > .bi-search {
    color: var(--naranja);
    font-size: 1.1rem;
    flex-shrink: 0;
    line-height: 1;
}
.feed-search-caja .form-control {
    border: 0;
    box-shadow: none;
    background: transparent;
    min-height: 42px;
    padding: 0;
    font-size: .9rem;
}
.feed-search-caja .form-control:focus {
    box-shadow: none;
    outline: 0;
}
.feed-search-caja .form-control::placeholder {
    color: var(--naranja);
    opacity: 1;
}
.feed-search-caja .form-control::-webkit-search-decoration,
.feed-search-caja .form-control::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
.feed-search-clear {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-right: -6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--fondo);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.feed-search-clear i {
    font-size: .85rem;
    line-height: 1;
}
.feed-search-clear:hover {
    color: var(--texto);
    background: var(--linea);
}
.feed-search-clear[hidden] { display: none !important; }

.search-drop {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 12px;
    padding: 10px;
    max-height: min(70vh, 420px);
    overflow: auto;
    z-index: 30;
}

.busca-filtros {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin-bottom: 10px;
    border: 1px solid var(--linea);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.busca-filtros button {
    flex: 1 1 0;
    min-width: 0;
    border: 0;
    border-right: 1px solid var(--linea);
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    padding: 8px 4px;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.2;
}

.busca-filtros button:last-child {
    border-right: 0;
}

.busca-filtros button.activo {
    background: var(--naranja);
    border-color: transparent;
    color: #fff;
}

.tipo-ico {
    color: var(--naranja);
    font-size: .95rem;
    margin-left: 4px;
    vertical-align: -1px;
}
.link-muted { color: var(--muted); text-decoration: none; font-size: .9rem; }

.btn,
.btn-infopob {
    border-radius: 999px;
}
.btn-group {
    gap: 8px;
}
.btn-group > .btn,
.btn-group > .btn-check + .btn,
.btn-group > .btn:first-child,
.btn-group > .btn:last-child,
.btn-group > .btn:not(:first-child),
.btn-group > .btn:not(:last-child),
.btn-group > .btn-check:first-child + .btn,
.btn-group > .btn-check:not(:first-child) + .btn {
    border-radius: 999px;
    margin-left: 0;
}
.btn-infopob,
.btn-infopob:hover {
    background: var(--naranja);
    border-color: var(--naranja);
    color: #fff;
}
.btn-infopob:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.app-main { padding: 16px 0 24px; }

.app-lado { display: none; }

@media (min-width: 1100px) {
    .app-shell {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 24px;
        width: min(988px, calc(100% - 40px));
        margin: 0 auto;
    }
    .app-shell > .app-main.container-app {
        width: 640px;
        max-width: 640px;
        margin: 0;
        flex: 0 0 640px;
    }
    .app-lado {
        display: block;
        width: 300px;
        flex: 0 0 300px;
        position: sticky;
        top: 72px;
        padding: 16px 0 24px;
        max-height: calc(100vh - 88px);
        overflow: auto;
    }
}

.lado-bloque {
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 12px;
    padding: 14px 14px 10px;
    margin-bottom: 14px;
}
.lado-tit {
    margin: 0 0 8px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.lado-tit a {
    color: inherit;
    text-decoration: none;
}
.lado-tit a:hover { color: var(--naranja); }
.lado-lista {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lado-lista:not(.lado-rota) li + li .lado-item {
    border-top: 1px solid var(--linea);
}
.lado-rota > li {
    display: none;
}
.lado-rota > li.es-visible {
    display: block;
    animation: lado-in .45s ease;
}
@keyframes lado-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .lado-rota > li.es-visible { animation: none; }
}
.lado-item {
    display: block;
    padding: 9px 0;
    text-decoration: none;
    color: var(--texto);
}
.lado-item-tit {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.35;
}
.lado-item-meta {
    display: block;
    margin-top: 2px;
    font-size: .75rem;
    color: var(--muted);
    line-height: 1.35;
}
.lado-mas {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 6px 0;
    color: var(--naranja);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
}
.lado-mas:hover { color: var(--texto); }
.lado-nivel {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: 1px;
    background: var(--muted);
}
.lado-nivel.amarillo { background: #e6c200; }
.lado-nivel.naranja { background: #e67e22; }
.lado-nivel.rojo { background: #c0392b; }

.feed-cabecera {
    margin: 0 0 14px;
    border-radius: 12px;
    overflow: hidden;
}
.feed-cabecera-tabs {
    background: #fff;
    border: 1px solid var(--linea);
}
.feed-banner {
    position: relative;
    min-height: 148px;
    height: auto;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #3a2a18 url('../img/banner-feed.jpg') center 42%/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 16px 16px 18px;
}
.feed-cabecera-tabs .feed-banner {
    border-radius: 12px 12px 0 0;
}
.feed-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 28, 28, .08) 25%, rgba(28, 28, 28, .72) 100%);
}
.feed-banner-slogan {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: -.02em;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
}
.feed-banner-slogan strong { font-weight: 700; }
.feed-banner-slogan span {
    display: block;
    margin-top: 4px;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
}
.feed-banner-pob {
    min-height: 148px;
    padding: 16px 16px 18px;
}
.feed-banner-in {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}
.feed-banner-pob .feed-banner-slogan,
.feed-banner .feed-banner-slogan {
    flex: 1;
    min-width: 0;
}
.feed-banner-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
.feed-banner-tiempo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: right;
}
button.feed-banner-tiempo-wrap { cursor: pointer; }
button.feed-banner-tiempo-wrap:hover .feed-banner-tiempo { filter: brightness(1.08); }
.feed-banner-tiempo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    background: rgba(28, 28, 28, .48);
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
    backdrop-filter: blur(8px);
}
.feed-banner-tiempo i { font-size: 1.25rem; }
.feed-banner-estado {
    margin: 0;
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.feed-banner-btns {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}
.feed-banner-btns form { margin: 0; }
.feed-banner-maps,
.feed-banner-fav {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 700;
    background: var(--naranja);
    border: 0;
    border-radius: 999px;
    padding: 7px 12px;
    min-height: 36px;
    cursor: pointer;
    line-height: 1;
}
.feed-banner-fav:not(.on) {
    background: rgba(28, 28, 28, .48);
    backdrop-filter: blur(8px);
}
.feed-banner-maps:hover,
.feed-banner-fav:hover { color: #fff; filter: brightness(1.05); }
.btn-pob-fav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--muted);
    border-radius: 50%;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.25rem;
    padding: 0;
}
.btn-pob-fav:hover,
.btn-pob-fav.on { color: var(--naranja); }

.leer-mas {
    display: inline;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    color: var(--naranja);
    font-weight: 600;
    font-size: inherit;
    cursor: pointer;
}
.campo-tope {
    float: right;
    color: var(--muted);
    font-weight: 400;
    font-size: .85rem;
}
.campo-obl { color: var(--naranja); font-weight: 700; }
.nick-estado,
.pob-estado {
    margin: 6px 0 0;
    font-size: .85rem;
    color: var(--muted);
    min-height: 1.2em;
}
.nick-estado.ok { color: #2a7a3a; font-weight: 600; }
.nick-estado.no { color: #a33; font-weight: 600; }
.nick-estado.espera { color: var(--muted); font-weight: 500; }
#pob_label.is-ok,
#oficio.is-ok { border-color: #c6d9c4; }

.vista-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.feed-cabecera .vista-tabs {
    width: 100%;
    margin: 0;
    padding: 10px;
    gap: 6px;
    background: #fff;
    border: 0;
}

.vista-tabs a {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 8px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    text-decoration: none;
    font-size: .85rem;
    border: 1px solid var(--linea);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vista-tabs a.activo {
    background: var(--naranja);
    color: #fff;
    border-color: var(--naranja);
}

.post-card {
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}
.post-abrir-feed {
    margin: 0 0 12px;
}
.post-abrir-feed a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--linea);
    color: var(--texto);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
}
.post-abrir-feed a:hover {
    border-color: var(--naranja);
    color: var(--naranja);
}

.post-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}
.post-head-info { flex: 1; min-width: 0; }
.post-head-seguir { flex-shrink: 0; padding-top: 1px; }
.post-head-seguir form { margin: 0; }
.post-head-seguir .btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #eee; }
.avatar-lg { width: 96px; height: 96px; }
.avatar-edit { text-align: center; margin-bottom: 1.1rem; }
.avatar-edit-btn {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-bottom: 8px;
}
.avatar-edit-ico {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--naranja);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    font-size: .95rem;
}
.post-name { font-weight: 600; color: var(--texto); text-decoration: none; }
.post-meta { font-size: .8rem; color: var(--muted); }
.post-meta a { color: var(--muted); }
.post-meta .tipo { color: var(--naranja); }
.post-titular { font-weight: 700; margin: 0 0 6px; }
.post-text { margin: 0 0 8px; white-space: pre-wrap; }
.post-extra { font-size: .9rem; color: var(--muted); margin: 0 0 8px; }
.post-img-wrap {
    display: block;
    margin: 0 0 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #ece8e2;
    max-height: min(70vh, 520px);
}
.post-img {
    width: 100%;
    height: auto;
    max-height: min(70vh, 520px);
    object-fit: contain;
    object-position: center;
    display: block;
}
.post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.post-actions form { margin: 0; }
.acciones-izq,
.acciones-der {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.action {
    background: none;
    border: 0;
    color: var(--muted);
    font-size: .8rem;
    min-height: 44px;
    padding: 0 7px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.action-txt { font-size: .75rem; line-height: 1; }
.action i { font-size: 1.2rem; }
.action.on { color: var(--naranja); font-weight: 600; }
button.action { cursor: pointer; }

.result-card-row { justify-content: space-between; }
.result-card-row form { margin: 0; flex-shrink: 0; }
.result-card-row .result-card-main { flex: 1; }
.fav-pub { align-items: flex-start; }
.fav-pub .result-card-main { align-items: flex-start; flex: 1; }
.fav-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #eee;
}
.fav-excerpt {
    font-size: .9rem;
    margin: 2px 0 4px;
    color: var(--texto);
}
.fav-pub .tipo {
    color: var(--naranja);
    font-size: .8rem;
    font-weight: 600;
    margin-left: 6px;
}
.result-card-main {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}
.perfil-acciones {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.perfil-acciones form { margin: 0; }
.perfil-nick { color: inherit; text-decoration: none; }
.perfil-nick:hover { color: var(--naranja); }
.perfil-url {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--naranja);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
}
.perfil-url.on { opacity: .7; }
.perfil-url-edit {
    margin: 0;
    font-size: .95rem;
}
.perfil-url-edit a {
    color: var(--naranja);
    font-weight: 600;
    text-decoration: none;
}
.perfil-url-edit a:hover { text-decoration: underline; }

.filtro-atajos {
    margin: 0 0 8px;
}
.filtro-atajos a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.filtro-atajos a.activo {
    padding-right: 10px;
}
.filtro-atajos a.activo .bi-x-lg {
    font-size: .72rem;
    line-height: 1;
    opacity: .95;
}
.filtro-tipos {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: -4px 0 12px;
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 999px;
    padding: 0 6px 0 14px;
    min-height: 44px;
}
.filtro-tipos.es-filtro {
    border-color: var(--naranja);
}
.filtro-tipos-lbl {
    flex: 0 0 auto;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.filtro-tipos.es-filtro .filtro-tipos-lbl {
    color: var(--naranja);
}
.filtro-tipos-btn {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 8px 0 10px;
    font-size: .9rem;
    color: var(--texto);
    cursor: pointer;
    text-align: left;
}
.filtro-tipos-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.filtro-tipos-btn i {
    color: var(--muted);
    flex-shrink: 0;
    font-size: .85rem;
}
.filtro-tipos.es-filtro .filtro-tipos-btn {
    color: var(--naranja);
    font-weight: 600;
}
.modal-tipos-ayuda {
    font-size: .85rem;
    color: var(--muted);
    margin: 0 0 10px;
}
.modal-tipos-lista {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 4px 0 8px;
    padding-bottom: 72px;
}
.modal-tipos-grupo {
    margin: 6px 0 2px;
    padding: 8px 0 0;
    border-top: 1px solid var(--linea);
}
.modal-tipos-grupo.es-simple .modal-tipos-check:not(.es-grupo) {
    display: none;
}
.modal-tipos-grupo.es-simple .modal-tipos-check.es-grupo {
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--texto);
}
.modal-tipos-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
    margin: 0;
    font-size: .92rem;
    cursor: pointer;
}
.modal-tipos-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--naranja);
    flex-shrink: 0;
}
.modal-tipos-check.es-grupo {
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.modal-tipos-todas {
    font-weight: 700;
}
.modal-tipos-pie {
    position: sticky;
    bottom: -20px;
    background: linear-gradient(to top, #fff 72%, rgba(255, 255, 255, 0));
    padding: 18px 0 4px;
    margin-top: -64px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
}
.chips a,
.chips button {
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--linea);
    color: var(--muted);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}
.chips a.activo,
.chips button.activo {
    background: var(--naranja);
    color: #fff;
    border-color: var(--naranja);
}
.pub-ayuda {
    font-size: .85rem;
    color: var(--muted);
    margin: -4px 0 10px;
}
.pub-paso {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--naranja);
    margin: 2px 0 8px;
}
.pub-paso.listo { color: var(--muted); }
.chips.pendiente {
    outline: 2px dashed var(--naranja);
    outline-offset: 4px;
    border-radius: 14px;
    padding: 8px;
    background: rgba(255, 138, 0, .08);
    animation: pub-paso-pulso 1.4s ease-in-out 2;
}
.extra-cabeza {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.extra-cabeza .form-label { margin-bottom: 0; flex: 1 1 12rem; }
.extra-modos { margin: 0; }
.extra-modos button { min-width: 5.2rem; }
.extra-fecha-fila {
    display: flex;
    gap: 8px;
}
.extra-fecha-fila .form-control {
    border-radius: 999px;
    min-height: 44px;
}
.post-extra i {
    color: var(--naranja);
    margin-right: 2px;
}
@keyframes pub-paso-pulso {
    0%, 100% { background: rgba(255, 138, 0, .08); }
    50% { background: rgba(255, 138, 0, .2); }
}

body.modal-abierto { overflow: hidden; }

.modal-capa {
    position: fixed;
    inset: 0;
    background: rgba(28, 28, 28, .45);
    z-index: 40;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px 12px 88px;
}

.modal-caja {
    background: #fff;
    border-radius: 16px 16px 12px 12px;
    width: min(640px, 100%);
    max-height: 75vh;
    overflow: auto;
    padding: 16px 16px 20px;
    position: relative;
}

.modal-cerrar {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    background: var(--fondo);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--texto);
    cursor: pointer;
}

.modal-tiempo {
    width: min(380px, 100%);
    max-height: 70vh;
    padding-right: 48px;
}
.modal-capa.es-centro {
    align-items: center;
    padding: 16px;
}
.modal-info {
    width: min(480px, 100%);
    max-height: 78vh;
    padding: 16px 48px 0 16px;
    display: flex;
    flex-direction: column;
}
.modal-bienvenida {
    width: min(480px, 100%);
    max-height: min(88vh, 720px);
    padding: 24px 22px 18px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 48px rgba(28, 28, 28, .18);
}
.modal-bienvenida h2 {
    padding-right: 36px;
}
.modal-bienvenida p {
    font-size: .98rem;
    line-height: 1.5;
    color: var(--texto);
    margin: 0 0 16px;
}
.bienvenida-busca {
    margin: 0 0 12px;
    flex: 1 1 auto;
    min-height: 0;
}
.modal-bienvenida .search-drop {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 8px;
    max-height: min(40vh, 280px);
    z-index: 1;
}
.modal-bienvenida .search-drop .vacio {
    padding: 12px 8px;
    margin: 0;
    border: 0;
    background: transparent;
}
.bienvenida-registro {
    margin: 4px 0 0 !important;
    font-size: .9rem !important;
    color: var(--muted) !important;
    text-align: center;
}
.bienvenida-registro a {
    color: var(--naranja);
    font-weight: 600;
    text-decoration: none;
}
.bienvenida-registro a:hover { text-decoration: underline; }
.modal-info p,
.modal-info li {
    font-size: .95rem;
    line-height: 1.45;
    color: var(--texto);
}
.modal-info p { margin: 0 0 12px; }
.modal-denuncia {
    width: min(420px, 100%);
    padding-right: 48px;
}
.modal-denuncia p {
    font-size: .95rem;
    line-height: 1.45;
    margin: 0 0 12px;
}
.modal-denuncia .form-label {
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.modal-denuncia textarea {
    margin-bottom: 12px;
}
.modal-denuncia .btn { margin-top: 4px; }
.modal-pwa {
    width: min(400px, 100%);
}
.modal-compartir {
    width: min(420px, 100%);
    padding: 20px 48px 18px 20px;
    border-radius: 16px;
}
.compartir-redes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 0 0 14px;
}
.compartir-red {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 4px;
    border-radius: 12px;
    color: var(--texto);
    text-decoration: none;
    font-size: .72rem;
    font-weight: 600;
}
.compartir-red:hover {
    background: var(--fondo);
    color: var(--texto);
}
.compartir-red i {
    font-size: 1.35rem;
    color: var(--naranja);
}
.compartir-copia {
    display: flex;
    gap: 8px;
}
.compartir-copia .form-control {
    font-size: .82rem;
}
.compartir-copia .btn {
    flex-shrink: 0;
}
html.pwa-instalada .js-pwa-ui {
    display: none !important;
}
.login-extra-txt {
    font-size: .9rem;
    color: var(--muted);
    margin: 0 0 10px;
}
.info-h {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--naranja);
    margin: 14px 0 8px;
}
.info-lista {
    margin: 0 0 8px;
    padding-left: 1.15rem;
}
.info-lista li { margin: 0 0 6px; }
.info-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: auto;
    padding: 14px 0 16px;
    border-top: 1px solid var(--linea);
    background: #fff;
    position: sticky;
    bottom: 0;
}
.info-legal a,
.legal-card a:not(.btn) {
    color: var(--naranja);
    text-decoration: none;
    font-weight: 600;
}
.info-legal a:hover,
.legal-card a:not(.btn):hover {
    color: var(--naranja);
    text-decoration: none;
}
.legal-card h1 { margin-top: 8px; }
.legal-h {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.4rem 0 .5rem;
    scroll-margin-top: 88px;
}
.legal-volver {
    display: inline-flex;
    width: auto;
    padding: 8px 18px;
}
.legal-volver-fin { margin-top: 18px; }
.tiempo-lista {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tiempo-lista li {
    display: grid;
    grid-template-columns: 6.2rem 1.4rem 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--linea);
    font-size: .9rem;
}
.tiempo-lista li:last-child { border-bottom: 0; }
.tiempo-dia { font-weight: 600; }
.tiempo-lista i { color: var(--naranja); font-size: 1.15rem; text-align: center; }
.tiempo-txt { color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tiempo-temp { font-weight: 700; white-space: nowrap; }
#modal-tiempo a.tiempo-fuente,
#modal-tiempo a.tiempo-fuente:link,
#modal-tiempo a.tiempo-fuente:visited,
#modal-tiempo a.tiempo-fuente:hover,
#modal-tiempo a.tiempo-fuente:focus,
#modal-tiempo a.tiempo-fuente:active {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--naranja);
    color: #1c1c1c;
    font-weight: 700;
    text-decoration: none;
    font-size: .9rem;
}
#modal-tiempo a.tiempo-fuente i {
    color: inherit;
}
#modal-tiempo a.tiempo-fuente:hover { filter: brightness(1.06); }

.com-item { display: flex; gap: 10px; margin: 0 0 12px; font-size: .95rem; }
.com-item .avatar { width: 32px; height: 32px; flex-shrink: 0; }
.com-item-cuerpo { min-width: 0; }

.vacio {
    background: #fff;
    border: 1px dashed var(--linea);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: var(--muted);
    margin-bottom: 16px;
}
.vacio a {
    color: var(--naranja);
    text-decoration: none;
    font-weight: 600;
}
.vacio a:hover {
    color: var(--naranja);
    text-decoration: none;
}
.vacio-feed {
    padding: 16px 16px 18px;
}
.vacio-feed p {
    margin: 12px 0 0;
    color: var(--texto);
    font-size: .95rem;
    line-height: 1.4;
}
.vacio-feed p:first-child { margin-top: 0; }
.vacio-feed .vacio-acciones + p { margin-top: 12px; }
.vacio-feed p + .vacio-acciones { margin-top: 12px; }
.vacio-acciones {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    scroll-margin-bottom: 110px;
}
.vacio-acciones .btn {
    text-decoration: none;
    min-width: 8.5rem;
}
.vacio-acciones .btn-infopob,
.vacio-acciones .btn-infopob:hover {
    color: #fff;
}
.vacio-acciones .btn-outline-secondary,
.vacio-acciones .btn-outline-secondary:hover {
    color: var(--texto);
}

.aviso-ok {
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 12px 0 0;
    color: #1a7a3a;
    font-weight: 600;
}
.form-card {
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 12px;
    padding: 20px;
}
.form-card form { position: relative; }
.form-card a:not(.btn) {
    color: var(--naranja);
    text-decoration: none;
    font-weight: 600;
}
.form-card a:not(.btn):hover {
    color: var(--naranja);
    text-decoration: none;
}
.campo-trampa {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.modal-caja a:not(.btn):not(.tiempo-fuente) {
    color: var(--naranja);
    text-decoration: none;
    font-weight: 600;
}
.modal-caja a:not(.btn):not(.tiempo-fuente):hover {
    color: var(--naranja);
    text-decoration: none;
}

.perfil-head {
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    text-align: center;
}

.perfil-card {
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}
.perfil-banner {
    position: relative;
    z-index: 0;
    height: 148px;
    background: #d8cfc4;
    display: block;
    cursor: default;
}
.perfil-card-edit .perfil-banner,
label.perfil-banner { cursor: pointer; }
.perfil-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.perfil-banner img.d-none {
    display: none !important;
}
.perfil-banner-vacio {
    background: linear-gradient(135deg, #d9c49a 0%, var(--naranja) 100%);
}
.perfil-banner-edit,
.perfil-banner .avatar-edit-ico {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--naranja);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    text-decoration: none;
}
.perfil-cuerpo {
    position: relative;
    z-index: 1;
    padding: 0 16px 18px;
}
.perfil-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: -44px;
    margin-bottom: 10px;
}
.perfil-card .avatar {
    position: relative;
    z-index: 2;
    width: 88px;
    height: 88px;
    border: 3px solid #fff;
    box-shadow: 0 1px 6px rgba(28, 28, 28, .12);
    background: #eee;
}
.perfil-nombre {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 4px;
}
.perfil-oficial {
    display: inline-block;
    margin-left: 6px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
    background: var(--naranja);
    border-radius: 999px;
    padding: 2px 8px;
    vertical-align: middle;
}
.perfil-meta {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: .95rem;
}
.perfil-nick,
.perfil-pob {
    color: inherit;
    text-decoration: none;
}
.perfil-pob { color: var(--naranja); font-weight: 600; }
.perfil-cuerpo a:not(.btn) {
    color: var(--naranja);
    text-decoration: none;
    font-weight: 600;
}
.perfil-cuerpo a:not(.btn):hover { text-decoration: none; color: var(--naranja); }
.perfil-cuerpo a.perfil-nick {
    color: var(--muted);
    font-weight: 600;
}
.perfil-cuerpo a.perfil-nick:hover { color: var(--naranja); }
.perfil-bio {
    margin: 10px 0 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.perfil-claves {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}
.perfil-claves li,
.result-claves span {
    background: #fff3e6;
    color: var(--naranja);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .78rem;
    font-weight: 600;
}
.result-claves {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.perfil-hint { font-size: .8rem; color: var(--muted); }
.form-check-label { cursor: pointer; }
.login-recordar .perfil-hint { margin-top: 4px; }
.cuenta-seg-ops {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}
.cuenta-seg-ops .btn {
    flex: 1 1 140px;
}
.perfil-claves-aviso {
    background: #fff3e6;
    border: 1px solid #f0c9a0;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 0 0 10px;
    font-size: .88rem;
    line-height: 1.45;
    color: var(--texto);
}
.perfil-claves-aviso strong {
    display: block;
    color: var(--naranja);
    margin-bottom: 2px;
}
.perfil-claves-aviso a {
    font-weight: 600;
    display: inline-block;
    margin-top: 6px;
}
.perfil-sec {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    margin: 8px 0 12px;
}
.perfil-extra {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: .92rem;
}
.perfil-extra li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.35;
}
.perfil-extra i {
    color: var(--naranja);
    width: 1.1em;
    text-align: center;
    margin-top: 2px;
    flex: 0 0 auto;
}
.perfil-extra a { font-weight: 600; }
.perfil-tels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin: 0 0 10px;
}
.perfil-tel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    overflow-wrap: anywhere;
    max-width: 100%;
}
.perfil-tel i {
    font-size: 1.05rem;
}
.perfil-contacto {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 20px;
    margin-top: 4px;
}
.perfil-contacto-izq {
    flex: 1 1 auto;
    min-width: 0;
}
.perfil-horario {
    flex: 0 1 11.5rem;
    margin-left: auto;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .92rem;
    line-height: 1.4;
    color: var(--texto);
}
.perfil-horario i {
    color: var(--naranja);
    margin-top: 2px;
    flex: 0 0 auto;
}
.perfil-redes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2px 0 14px;
}
.perfil-redes a {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--linea);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--naranja);
    font-size: 1.25rem;
    text-decoration: none;
    background: #fff;
    font-weight: 400;
}
.perfil-cuerpo .perfil-redes a { font-weight: 400; }
.perfil-redes a:hover {
    background: var(--naranja);
    color: #fff;
    border-color: var(--naranja);
    text-decoration: none;
}
.perfil-qr {
    margin-top: 22px;
    padding-top: 8px;
}
.perfil-qr-caja {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.perfil-qr-img {
    width: 180px;
    height: 180px;
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 18px;
    padding: 8px;
    flex: 0 0 auto;
}
.perfil-qr-txt {
    flex: 1 1 12rem;
    min-width: 0;
}
.perfil-qr-txt .btn { border-radius: 999px; }
.alert-infopob { color: #a33; font-size: .9rem; }

.app-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--barra);
    border-top: 3px solid var(--naranja);
    display: flex;
    justify-content: space-around;
    padding: 10px 8px max(12px, env(safe-area-inset-bottom));
    z-index: 20;
}

.app-nav a {
    color: var(--barra-muted);
    text-decoration: none;
    font-size: .65rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.app-nav a i { font-size: 1.25rem; line-height: 1; }
.app-nav a span {
    text-align: center;
    line-height: 1.2;
    padding: 0 2px;
}

.app-nav a.activo,
.app-nav a.nav-pub { color: var(--naranja); font-weight: 600; }

.result-list { display: flex; flex-direction: column; gap: 8px; }

.result-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: var(--texto);
}

.result-card:hover { border-color: var(--naranja); }

.result-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff3e6;
    color: var(--naranja);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.result-meta { font-size: .8rem; color: var(--muted); }

.suggest-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 8px;
    max-height: 220px;
    overflow: auto;
}

.suggest-list button {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: none;
    padding: 8px 12px;
}

.suggest-list button:hover { background: var(--fondo); }

.prensa-filtros { margin-bottom: 12px; }
.prensa-filtro-lbl {
    margin: 0 0 6px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.prensa-busca { margin-bottom: 12px; }
.prensa-medios {
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 4px;
}
.prensa-medios a {
    flex: 0 1 auto;
    padding: 6px 12px;
    font-size: .8rem;
}
.prensa-cat { font-weight: 500; }

.prensa-aviso {
    font-size: .8rem;
    color: var(--muted);
    margin: -4px 0 12px;
    line-height: 1.45;
}
.prensa-aviso p { margin: 0 0 .65em; }
.prensa-aviso p:last-child { margin-bottom: 0; }
.prensa-card {
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}
.prensa-meta {
    margin: 0 0 6px;
    font-size: .8rem;
    color: var(--muted);
}
.prensa-fuente { font-weight: 700; color: var(--texto); }
.prensa-tit {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}
.prensa-extracto {
    margin: 0 0 10px;
    color: var(--texto);
    font-size: .95rem;
}
.prensa-leer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--naranja);
    font-weight: 600;
    text-decoration: none;
    min-height: 44px;
}
.prensa-leer:hover { color: var(--texto); }

.es-admin .container-app {
    width: min(920px, calc(100% - 24px));
}
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}
.admin-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--linea);
    background: #fff;
    color: var(--texto);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
}
.admin-tabs a.activo,
.admin-tabs a:hover {
    border-color: var(--naranja);
    color: var(--naranja);
}
.admin-nums {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
@media (min-width: 640px) {
    .admin-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.admin-nums div {
    background: var(--fondo);
    border-radius: 12px;
    padding: 12px;
}
.admin-nums strong a { color: inherit; text-decoration: none; }
.admin-nums strong a:hover { color: var(--naranja); }
.admin-nums span {
    font-size: .8rem;
    color: var(--muted);
}
.admin-tabla-wrap { overflow-x: auto; }
.admin-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}
.admin-tabla th,
.admin-tabla td {
    text-align: left;
    padding: 8px 6px;
    border-bottom: 1px solid var(--linea);
    vertical-align: top;
}
.admin-meta { font-size: .8rem; color: var(--muted); }
.admin-busca {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
}
@media (min-width: 640px) {
    .admin-busca { grid-template-columns: 1fr 160px auto; }
}
.admin-datos {
    padding-left: 1.1rem;
    margin: 0 0 16px;
}
.admin-pags { display: flex; gap: 12px; align-items: center; }
.top-notif { position: relative; text-decoration: none; }
.top-notif-n {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--naranja);
    color: #fff;
    font-size: .65rem;
    line-height: 16px;
    text-align: center;
    font-weight: 700;
}
.post-head-mio {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}
.post-oculta {
    display: inline-block;
    margin-left: 6px;
    font-size: .75rem;
    color: var(--muted);
    font-weight: 600;
}
.notif-lista { display: flex; flex-direction: column; gap: 8px; }
.notif-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--linea);
}
.notif-item.es-nueva { background: #faf6ef; }
.notif-item:hover { background: var(--fondo); }
.admin-badge {
    display: inline-block;
    min-width: 1.2em;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--naranja);
    color: #fff;
    font-size: .75rem;
    line-height: 1.4;
}
.admin-denuncia {
    border-top: 1px solid var(--linea);
    padding: 16px 0;
}
.admin-denuncia:first-of-type { border-top: 0; padding-top: 0; }
.admin-denuncia-cab { font-size: .9rem; margin-bottom: 6px; }
.admin-denuncia-txt { display: flex; gap: 10px; align-items: flex-start; }
.admin-denuncia-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.admin-denuncia-motivos {
    margin: 0 0 8px;
    padding-left: 1.1rem;
    font-size: .9rem;
}
.admin-denuncia-acc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.admin-denuncia-acc form { margin: 0; }
.admin-tabs a { display: inline-flex; align-items: center; gap: 6px; }
