/*
 * DIOSDEGA — capa visual neón.
 *
 * Se carga después de style.css (base original, intacta) y la sobrescribe.
 * Se activa desde Apariencia → Personalizar → DIOSDEGA — Diseño y navegación.
 */
:root {
    --color-accent:#00d5ff;
    --color-accent-hover:#91edff;
    --color-accent-subtle:rgba(0,213,255,.12);
    --color-border:#243440;
    --color-text-secondary:#a8b9c6;
    --color-text-muted:#9fb0bd;
    --retro-blue:#00d5ff;
    --container-max:1200px;
}

body {
    background:#02080c;
    font-family:'Inter',Arial,sans-serif;
}

.container {
    padding-inline:28px;
}

.site-header {
    background:#050507;
    border-bottom:1px solid #8b702e;
}

.header-inner {
    min-height:74px;
    gap:24px;
}

.site-logo {
    display:flex;
    align-items:center;
    gap:4px;
    color:#f9d34f;
    font-family:Arial,sans-serif;
    font-style:italic;
    font-weight:900;
    font-size:30px;
    letter-spacing:-2px;
    white-space:nowrap;
}

.site-logo .logo-accent {
    color:#f9d34f;
}

.neon-logo-peach {
    font-style:normal;
    font-size:35px;
}

.nav-desktop {
    flex:1;
    justify-content:flex-end;
    gap:22px;
}

.nav-desktop .menu {
    gap:26px;
}

.nav-desktop .menu a {
    text-transform:uppercase;
    font-size:12px;
    color:#fff;
    padding-block:22px;
}

.nav-desktop .menu a:hover {
    color:#f9d34f;
}

.neon-header-search {
    display:flex;
    align-items:center;
    background:#191920;
    border:1px solid #3f3f4b;
    border-radius:28px;
    width:205px;
    padding:6px 12px;
}

.neon-header-search button {
    font-size:28px;
    line-height:1;
}

.neon-header-search input {
    min-width:0;
    width:100%;
    background:none;
    border:0;
    padding:4px 9px;
    font-size:14px;
}

.neon-header-search input::placeholder {
    color:#b8bac6;
}

.nav-desktop .search-toggle {
    display:none;
}

.neon-hero {
    position:relative;
    min-height:360px;
    isolation:isolate;
    overflow:hidden;
    background:#100c18;
    border-bottom:2px solid #f321af;
}

.neon-hero__image {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:72% 38%;
    z-index:-2;
}

.neon-hero::before {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(0,0,0,.95) 0%,rgba(0,0,0,.72) 37%,rgba(0,0,0,.12) 70%);
    z-index:-1;
}

.neon-hero::after {
    content:'';
    position:absolute;
    left:-3%;
    bottom:8px;
    width:64%;
    height:3px;
    background:#ff43c3;
    box-shadow:0 0 8px 4px #ff00b7,0 0 25px #e900a8;
    transform:rotate(5deg);
    z-index:-1;
}

.neon-hero__inner {
    min-height:360px;
    display:flex;
    align-items:center;
}

.neon-hero__copy {
    max-width:620px;
    padding:38px 0;
    text-align:center;
}

.neon-wordmark {
    color:#ffda4e;
    font-family:Arial,sans-serif;
    font-weight:1000;
    font-style:italic;
    font-size:clamp(42px,5.7vw,78px);
    line-height:1;
    letter-spacing:-5px;
    text-shadow:1px 4px 0 #93670c;
    white-space:nowrap;
}

.neon-wordmark span {
    font-style:normal;
    letter-spacing:-8px;
}

.neon-hero__logo img {
    max-width:520px;
    max-height:130px;
    object-fit:contain;
    margin:auto;
}

.neon-hero h1 {
    font-size:clamp(19px,2.7vw,30px);
    line-height:1.2;
    margin:16px 0 8px;
    font-weight:850;
}

.neon-hero__note {
    color:#ff33b0;
    font-size:20px;
    font-weight:800;
}

.neon-hero__actions {
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:24px;
}

.neon-hero__actions a {
    color:#f5f7fa;
    border:1px solid #82919d;
    background:linear-gradient(#172029,#090e15);
    border-radius:12px;
    padding:10px 18px;
    font-size:13px;
    box-shadow:0 2px 0 #000;
}

.neon-home {
    padding-top:10px;
}

.neon-section-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:14px 0;
}

.neon-section-head h2 {
    color:#f5f7fa;
    font-size:clamp(22px,2.7vw,32px);
    line-height:1.2;
    font-weight:850;
}

.neon-section-head h2 span {
    color:#18dcf0;
    margin-right:10px;
}

.neon-section-head>a {
    color:#fff;
    font-size:12px;
    white-space:nowrap;
}

.neon-model-strip {
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(0,1fr);
    gap:12px;
}

.neon-model {
    position:relative;
    overflow:hidden;
    height:235px;
    border:1px solid #2c9aac;
    border-radius:14px;
    background:#10171d;
}

.neon-model:nth-child(2n) {
    border-color:#ac5a65;
}

.neon-model:nth-child(3n) {
    border-color:#8a639e;
}

.neon-model img {
    width:100%;
    height:100%;
    object-fit:cover;
}

.neon-model span {
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    padding:28px 10px 10px;
    background:linear-gradient(transparent,#000);
    font-size:14px;
    font-weight:750;
    text-align:center;
    color:#fff;
}

.neon-categories {
    margin:24px 0;
    padding-bottom:22px;
    border-bottom:1px solid #1c2932;
}

.neon-category-strip {
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding:5px 2px 8px;
}

.neon-category-strip a {
    flex-shrink:0;
    color:#fff;
    border:1px solid #3b4b59;
    border-radius:12px;
    background:linear-gradient(#0d171e,#071016);
    padding:12px 20px;
    font-size:14px;
}

.neon-category-strip a.is-selected {
    color:#04d7f8;
    border-color:#00d5ff;
    box-shadow:0 0 12px #007d9d,inset 0 0 8px #007d9d;
}

.neon-sort {
    display:flex;
    border-radius:11px;
    background:#0b171e;
}

.neon-sort a {
    padding:7px 18px;
    border:1px solid #334651;
    border-radius:10px;
    color:#86ddf5;
    font-size:13px;
}

.neon-sort a[aria-current] {
    border-color:#00d5ff;
    box-shadow:0 0 10px #00a1cc,inset 0 0 8px #004d65;
    font-weight:700;
}

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

.post-card {
    border:1px solid #1f7182;
    border-radius:15px;
    background:linear-gradient(135deg,#0b1c27,#050d14);
    overflow:hidden;
}

.post-card__image-link {
    aspect-ratio:2.1 / 1;
}

.post-card__image {
    width:100%;
    height:100%;
    object-fit:cover;
}

.post-card__image-link--collage {
    display:grid;
    grid-template-columns:1fr 1.25fr;
    grid-template-rows:1fr 1fr;
    gap:4px;
    background:#03090e;
}

.post-card__image-link--collage img {
    min-height:0;
}

.post-card__image-link--collage img:first-child {
    grid-row:1 / 3;
}

.post-card__image-link--collage img:last-child:nth-child(2) {
    grid-row:1 / 3;
}

.post-card__body {
    position:static;
    pointer-events:auto;
    padding:12px 10px 8px;
    background:none;
    gap:6px;
}

.post-card__title {
    font-family:inherit;
    font-size:17px;
    line-height:1.3;
    color:#fff;
    text-shadow:none;
    overflow-wrap:anywhere;
}

.post-card__title a:hover {
    color:#00d5ff;
}

.neon-card-description {
    font-size:14px;
    color:#d0d9df;
}

.neon-card-tags {
    font-size:13px;
    color:#64c7e8;
}

.post-card__date {
    color:#9eb2bf;
    font-size:12px;
    margin:3px 0;
}

.neon-card-options,.neon-card-secondary {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;
}

.neon-card-options:empty {
    display:none;
}

.neon-card-options a,.neon-card-secondary a {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:9px 8px;
    border-radius:10px;
    font-size:14px;
    font-weight:750;
    line-height:1.25;
    color:#fff;
    text-align:center;
    overflow-wrap:anywhere;
    text-transform:uppercase;
}

.neon-card-options a {
    background:linear-gradient(#087ba4,#12607c);
    border:1px solid #009cca;
}

.neon-card-category {
    background:linear-gradient(#227b20,#0d4a0b);
    border:1px solid #3dba29;
}

.neon-card-tutorial {
    background:linear-gradient(#21333f,#15212a);
    border:1px solid #3e5567;
}

.neon-card-options a:hover,.neon-card-secondary a:hover {
    filter:brightness(1.2);
}

.reference-link {
    background:linear-gradient(#087ba4,#12607c);
    box-shadow:0 3px 14px #001c2b;
}

.reference-link:hover {
    box-shadow:0 4px 18px #006280;
}

.reference-link__label {
    white-space:normal;
    overflow-wrap:anywhere;
}

.reference-link::after,.reference-link__icon svg {
    animation:none;
}

.retro-actions {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    max-width:var(--container-narrow);
    margin:0 auto 24px;
}

.retro-actions a {
    padding:10px 16px;
    border:1px solid #3f677b;
    border-radius:8px;
}

.retro-directory {
    padding-top:24px;
}

a:focus-visible,button:focus-visible,input:focus-visible {
    outline:2px solid #00d5ff;
    outline-offset:4px;
}

@media(min-width:768px) {
    .nav-desktop {
        display:flex;
    }
}

@media(max-width:1024px) and (min-width:768px) {
    .header-inner {
        gap:14px;
    }
    .site-logo {
        font-size:25px;
    }
    .nav-desktop {
        gap:14px;
    }
    .nav-desktop .menu {
        gap:16px;
    }
    .neon-header-search {
        width:150px;
    }
    .neon-model {
        height:200px;
    }
}

@media(max-width:767.98px) {
    .container {
        padding-inline:16px;
    }
    .header-inner {
        min-height:64px;
    }
    .site-logo {
        font-size:27px;
    }
    .menu-toggle {
        top:10px;
        right:16px;
        bottom:auto;
        width:44px;
        height:44px;
        border-radius:8px;
        background:#0d161e;
        border:1px solid #45535f;
        z-index:1200;
    }
    .nav-mobile {
        top:68px;
        right:16px;
        bottom:auto;
    }
    .neon-hero,.neon-hero__inner {
        min-height:300px;
    }
    .neon-hero__copy {
        max-width:100%;
        padding:32px 0;
    }
    .neon-hero::before {
        background:linear-gradient(90deg,rgba(0,0,0,.9),rgba(0,0,0,.3));
    }
    .neon-wordmark {
        font-size:clamp(36px,8.8vw,65px);
        letter-spacing:-3px;
    }
    .neon-hero h1 {
        margin-top:18px;
    }
    .neon-hero__actions {
        gap:6px;
    }
    .neon-hero__actions a {
        padding:9px 10px;
        font-size:11px;
    }
    .neon-section-head {
        margin:16px 0 12px;
    }
    .neon-model-strip {
        grid-auto-columns:145px;
        overflow-x:auto;
        padding-bottom:8px;
    }
    .neon-model {
        height:188px;
    }
    .neon-model span {
        font-size:12px;
    }
    .neon-content-head {
        flex-wrap:wrap;
    }
    .neon-card-options a,.neon-card-secondary a {
        font-size:12px;
    }
    .reference-link {
        min-width:0;
    }
}

@media(max-width:640.98px) {
    .posts-grid {
        grid-template-columns:1fr;
    }
    .neon-hero__logo img {
        max-width:100%;
    }
    .neon-section-head h2 {
        font-size:23px;
    }
}

@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after {
        animation:none!important;
        transition:none!important;
    }
}

.neon-content-card {
    display:flex;
    flex-direction:column;
}

.neon-content-card .post-card__body {
    display:flex;
    flex-direction:column;
    flex:1;
}

.neon-card-description {
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.neon-card-options {
    margin-top:auto;
    padding-top:6px;
}

.neon-card-options strong {
    display:block;
    font-size:14px;
}

.neon-card-options small {
    display:block;
    font-size:10px;
    font-weight:500;
}

.neon-unavailable {
    display:flex;
    justify-content:center;
    align-items:center;
    padding:9px 8px;
    border:1px solid #344754;
    border-radius:10px;
    color:#96a6b2;
    background:#111e27;
    font-size:14px;
    font-weight:650;
    text-transform:uppercase;
    cursor:default;
}

.neon-model-strip,.neon-category-strip {
    scrollbar-width:thin;
    scrollbar-color:#265066 #071017;
}

/* Mobile reference: centered brand, horizontal cards and floating bottom menu. */
.neon-header-search-button,.neon-mobile-bar {
    display:none;
}

.neon-hero__actions a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
}

.neon-hero__actions svg {
    width:22px;
    height:22px;
    flex-shrink:0;
}

@media(max-width:767.98px) {
    html {
        scroll-padding-top:82px;
        scroll-padding-bottom:110px;
    }
    body:has(.neon-mobile-bar) {
        padding-bottom:calc(96px + env(safe-area-inset-bottom,0px));
    }
    .header-inner {
        justify-content:center;
        min-height:66px;
        padding-inline:48px;
    }
    .site-logo {
        font-size:23px;
        gap:2px;
        letter-spacing:-1.5px;
    }
    .site-logo img {
        max-width:195px;
        width:100%;
        height:auto;
        max-height:52px;
        object-fit:contain;
    }
    .neon-logo-peach {
        font-size:27px;
    }
    .menu-toggle {
        left:12px;
        right:auto;
        top:11px;
        background:transparent;
        border:0;
        box-shadow:none;
    }
    .neon-header-search-button {
        display:grid;
        place-items:center;
        position:absolute;
        right:12px;
        top:11px;
        width:44px;
        height:44px;
        border:1px solid #37434c;
        border-radius:12px;
    }
    .neon-header-search-button svg {
        width:25px;
        height:25px;
    }
    .nav-mobile {
        top:70px;
        left:12px;
        right:auto;
        max-width:calc(100vw - 24px);
    }
    .neon-hero,.neon-hero__inner {
        min-height:210px;
    }
    .neon-hero__copy {
        width:74%;
        padding:22px 0 26px;
    }
    .neon-hero__logo img {
        width:100%;
        max-height:76px;
    }
    .neon-hero__image {
        object-position:70% 35%;
    }
    .neon-hero::before {
        background:linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.6) 55%,rgba(0,0,0,.05));
    }
    .neon-wordmark {
        font-size:clamp(26px,6.8vw,50px);
        letter-spacing:-2px;
    }
    .neon-wordmark span {
        letter-spacing:-5px;
    }
    .neon-hero h1 {
        font-size:clamp(13px,3.5vw,23px);
        margin:10px 0 4px;
    }
    .neon-hero__note {
        font-size:clamp(12px,3vw,19px);
    }
    .neon-hero__actions {
        flex-wrap:nowrap;
        gap:5px;
        margin-top:14px;
    }
    .neon-hero__actions a {
        min-height:44px;
        padding:5px 7px;
        font-size:9px;
        gap:4px;
    }
    .neon-hero__actions svg {
        width:18px;
        height:18px;
    }
    .neon-model-strip {
        grid-auto-columns:112px;
        gap:9px;
    }
    .neon-model {
        height:148px;
        border-radius:10px;
    }
    .neon-model span {
        font-size:11px;
        line-height:1.25;
        padding:22px 5px 7px;
    }
    .neon-section-head h2 {
        font-size:21px;
    }
    .neon-section-head h2 span {
        margin-right:4px;
    }
    .neon-category-strip {
        flex-wrap:wrap;
        gap:7px;
        overflow:visible;
    }
    .neon-category-strip a {
        min-height:44px;
        padding:10px 13px;
        font-size:12px;
        border-radius:10px;
    }
    .neon-categories {
        margin:16px 0;
        padding-bottom:14px;
    }
    .neon-content-head {
        gap:9px;
    }
    .neon-sort {
        margin-left:auto;
    }
    .neon-sort a {
        font-size:11px;
        padding:9px 13px;
        min-height:38px;
    }
    .posts-grid {
        grid-template-columns:1fr;
        gap:12px;
    }
    .neon-content-card {
        flex-direction:row;
        align-items:stretch;
        min-height:220px;
        border-radius:13px;
    }
    .neon-content-card .post-card__image-link {
        flex:0 0 45%;
        width:45%;
        aspect-ratio:auto;
        min-width:0;
    }
    .neon-content-card .post-card__image-link:not(.post-card__image-link--collage) .post-card__image {
        position:absolute;
        inset:0;
        object-fit:cover;
    }
    .neon-content-card .post-card__body {
        flex:1;
        min-width:0;
        padding:10px 7px 7px;
        gap:6px;
    }
    .neon-content-card .post-card__title {
        font-size:13px;
        line-height:1.3;
    }
    .neon-card-description {
        font-size:11px;
        line-height:1.35;
    }
    .neon-card-tags {
        font-size:11px;
        overflow-wrap:anywhere;
    }
    .neon-content-card .post-card__date {
        font-size:10px;
    }
    .neon-card-options,.neon-card-secondary {
        gap:4px;
    }
    .neon-card-options a,.neon-card-secondary a,.neon-unavailable {
        min-height:44px;
        padding:5px 3px;
        font-size:10px;
        gap:3px;
        border-radius:7px;
    }
    .neon-card-options strong {
        font-size:10px;
    }
    .neon-card-options small {
        font-size:9px;
    }
    .neon-mobile-bar {
        position:fixed;
        display:grid;
        grid-template-columns:repeat(5,minmax(0,1fr));
        left:10px;
        right:10px;
        bottom:calc(10px + env(safe-area-inset-bottom,0px));
        z-index:1050;
        padding:7px 4px 4px;
        background:rgba(0,4,7,.95);
        border:1px solid #225465;
        border-radius:18px;
        box-shadow:0 8px 30px #000,0 0 15px #003346;
        backdrop-filter:blur(16px);
        -webkit-backdrop-filter:blur(16px);
    }
    .neon-mobile-bar a,.neon-mobile-bar button {
        position:relative;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:4px;
        color:#dce6eb;
        min-width:0;
        min-height:60px;
        font-size:10px;
        line-height:1.3;
        padding:4px 0 7px;
        border-radius:10px;
    }
    .neon-mobile-bar svg {
        width:24px;
        height:24px;
    }
    .neon-mobile-bar [aria-current] {
        color:#ffda4e;
        text-shadow:0 0 12px #9a6b00;
    }
    .neon-mobile-bar [aria-current] svg {
        filter:drop-shadow(0 0 5px #a57700);
    }
    .neon-mobile-bar [aria-current]::after {
        content:'';
        position:absolute;
        height:3px;
        width:60%;
        bottom:0;
        border-radius:4px;
        background:#ffda4e;
        box-shadow:0 0 7px #cf9400;
    }
    .neon-mobile-bar a:focus-visible,.neon-mobile-bar button:focus-visible {
        outline-offset:0;
    }
    body:has(.search-overlay.is-active) .neon-mobile-bar,body:has(.nav-mobile.is-active) .neon-mobile-bar {
        visibility:hidden;
    }
}

@media(max-width:359px) {
    .site-logo img {
        max-width:155px;
    }
    .neon-hero__copy {
        width:90%;
    }
    .neon-content-card {
        flex-direction:column;
    }
    .neon-content-card .post-card__image-link {
        flex:auto;
        width:100%;
        aspect-ratio:1.8 / 1;
    }
    .neon-content-card .post-card__title {
        font-size:15px;
    }
    .neon-card-options strong,.neon-card-secondary a,.neon-unavailable {
        font-size:12px;
    }
}

@media(min-width:768px) {
    .neon-header-search-button,.neon-mobile-bar {
        display:none;
    }
}

/* Full horizontal content compositions: 1525 × 1031, without cropping. */
.neon-content-card .post-card__image-link {
    aspect-ratio:1525 / 1031;
    background:#03090e;
}

.neon-content-card .post-card__image {
    object-fit:contain;
}

.neon-content-card:hover .post-card__image {
    transform:none;
}

.single-hero__image-wrapper {
    aspect-ratio:1525 / 1031;
}

.single-hero__image {
    object-fit:contain;
}

@media(max-width:767.98px) {
    .menu-toggle,.nav-mobile,.mobile-overlay,.neon-header-search-button {
        display:none!important;
    }
    .header-inner {
        padding-inline:0;
    }
    .neon-content-card .post-card__image-link {
        flex:0 0 48%;
        width:48%;
        aspect-ratio:1525 / 1031;
        align-self:center;
    }
    .neon-content-card .post-card__image-link:not(.post-card__image-link--collage) .post-card__image {
        position:absolute;
        inset:0;
        object-fit:contain;
    }
}

@media(max-width:359px) {
    .neon-content-card .post-card__image-link {
        flex:auto;
        width:100%;
        aspect-ratio:1525 / 1031;
    }
}

/* On narrow phones, give the complete horizontal image the full card width. */
@media(max-width:599px) {
    .neon-content-card {
        flex-direction:column;
        min-height:0;
    }
    .neon-content-card .post-card__image-link {
        flex:auto;
        width:100%;
        aspect-ratio:1525 / 1031;
        align-self:stretch;
    }
    .neon-content-card .post-card__body {
        padding:12px 10px 10px;
        gap:8px;
    }
    .neon-content-card .post-card__title {
        font-size:16px;
    }
    .neon-card-description {
        font-size:13px;
    }
    .neon-content-card .post-card__date,.neon-card-tags {
        font-size:12px;
    }
    .neon-card-options a,.neon-card-secondary a,.neon-unavailable {
        font-size:12px;
        padding:8px;
    }
    .neon-card-options strong {
        font-size:13px;
    }
    .neon-card-options small {
        font-size:10px;
    }
}

/* One primary download per publication. */
.neon-card-options {
    grid-template-columns:1fr;
}

/* Featured publication replaces the duplicate brand banner. */
.neon-hero.neon-hero--publication {
    min-height:0;
    background:#02080c;
    border-bottom:1px solid #194353;
}

.neon-hero--publication::before,.neon-hero--publication::after {
    display:none;
}

.neon-hero__publication {
    display:block;
    max-width:920px;
    margin-inline:auto;
    aspect-ratio:1525 / 1031;
    background:#02080c;
}

.neon-hero__publication-image {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}

.neon-category-strip a {
    display:inline-flex;
    align-items:center;
    gap:7px;
}

.neon-category-strip a span {
    font-size:1.3em;
    line-height:1;
}

.neon-card-options a {
    min-height:44px;
    padding:11px 16px;
}

@media(min-width:600px) and (max-width:767.98px) {
    .neon-content-card {
        min-height:0;
    }
    .neon-content-card .post-card__body {
        padding:12px;
    }
    .neon-content-card .post-card__title {
        font-size:16px;
    }
    .neon-card-description {
        font-size:13px;
    }
    .neon-card-options {
        margin-top:12px;
    }
    .neon-card-options strong {
        font-size:13px;
    }
}

/* Clean, completely clickable cards: image and scene/model only. */
.neon-content-card {
    display:block;
    min-height:0;
}

.neon-card-link {
    display:block;
    color:#fff;
    height:100%;
}

.neon-content-card .post-card__image-link {
    width:100%;
    flex:none;
    align-self:auto;
    aspect-ratio:1525 / 1031;
}

.neon-content-card .post-card__body {
    display:block;
    padding:12px 10px;
}

.neon-content-card .post-card__title {
    display:flex;
    flex-direction:column;
    gap:5px;
    font-size:15px;
    line-height:1.4;
    min-width:0;
}

.neon-card-scene {
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    flex:1;
}

.neon-card-model {
    flex-shrink:0;
    white-space:normal;
    color:#ffda4e;
    max-width:100%;
    font-size:.9em;
    overflow-wrap:anywhere;
}

.neon-card-link:hover {
    color:#8ae8ff;
}

.neon-card-link:focus-visible {
    outline-offset:-3px;
}

.neon-hero__publication {
    aspect-ratio:auto;
    border-bottom:1px solid #236575;
}

.neon-hero__publication-image {
    height:auto;
    aspect-ratio:1525 / 1031;
}

.neon-hero__caption {
    display:flex;
    align-items:center;
    gap:14px;
    padding:15px 24px;
    background:linear-gradient(100deg,#031922,#050b11);
    border-top:1px solid #165465;
}

.neon-hero__badge {
    flex-shrink:0;
    color:#63e6ff;
    padding:5px 7px;
    font-size:10px;
    font-weight:700;
    letter-spacing:.08em;
    border:1px solid #16758a;
    border-radius:5px;
}

.neon-hero__caption-text {
    min-width:0;
    flex:1;
    display:flex;
    flex-direction:column;
    gap:4px;
}

.neon-hero__scene {
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
    color:#fff;
    font-size:15px;
    font-weight:750;
}

.neon-hero__model {
    color:#ffda4e;
    font-size:12px;
    font-weight:700;
}

.neon-hero__arrow {
    color:#7ce9ff;
    font-size:30px;
}

.footer-links .menu {
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    justify-content:center;
}

.footer-links a {
    display:inline-flex;
    align-items:center;
    min-height:44px;
}

.legal-draft-note {
    padding:16px;
    margin-bottom:24px;
    border:1px solid #716034;
    border-radius:8px;
    background:#18140b;
    color:#eee0b2;
}

@media(max-width:767.98px) {
    .neon-hero__caption {
        padding:12px 16px;
        gap:10px;
    }
    .neon-hero__badge {
        font-size:9px;
    }
    .neon-hero__scene {
        font-size:13px;
    }
    .neon-content-card .post-card__title {
        font-size:14px;
    }
}

/* Compact archive and post layout; prominent primary download. */
.archive-header {
    padding:20px 0 16px;
    margin:0 0 18px;
    text-align:left;
}

.archive-header__label {
    margin:0 0 6px;
    font-size:11px;
}

.archive-header__title {
    font-size:28px;
    line-height:1.2;
    margin:0;
}

.archive-header__desc {
    margin-top:10px;
}

.single-hero {
    margin-top:16px;
    margin-bottom:20px;
}

.single-header {
    padding-top:0;
    margin-bottom:18px;
}

.single-header__title {
    margin-bottom:0;
}

.single-header__meta:empty {
    display:none;
}

.single-header__meta:not(:has(span)) {
    display:none;
}

.reference-links {
    margin-top:18px;
    margin-bottom:24px;
}

.reference-link {
    min-height:68px;
    padding:12px 22px;
    border:1px solid #64e8ff;
    border-bottom:4px solid #086279;
    border-radius:34px;
    background:linear-gradient(135deg,#009bcb,#00749c);
    box-shadow:0 5px 0 #00384b,0 10px 24px #002632;
    gap:12px;
    justify-content:center;
}

.reference-link:hover {
    background:linear-gradient(135deg,#00b3de,#008ab4);
    border-color:#b2f5ff;
    box-shadow:0 5px 0 #00384b,0 12px 30px #004457;
    transform:translateY(-2px);
}

.reference-link:active {
    transform:translateY(3px);
    box-shadow:0 2px 0 #00384b;
}

.reference-link__text {
    flex:0 1 auto;
    text-align:center;
}

.reference-link__title {
    font-size:19px;
    font-weight:850;
    letter-spacing:.03em;
}

.reference-link__label {
    font-size:12px;
    margin-top:3px;
}

.reference-link__icon {
    width:36px;
    height:36px;
    background:transparent;
    border:0;
    border-radius:0;
    flex-shrink:0;
}

.reference-link__icon svg {
    width:28px;
    height:28px;
}

.reference-link__arrow {
    display:none;
}

.related-posts {
    padding:24px 0;
    margin-top:0;
    border-top:1px solid #153c49;
    background:#030b10;
}

.related-posts__title {
    font-size:24px;
    margin-bottom:16px;
}

.recommended-grid {
    padding-bottom:0;
}

.recommended-empty {
    color:#a8b9c6;
    font-size:14px;
    margin:0;
}

@media(max-width:767.98px) {
    .archive-header {
        padding:16px 0 12px;
        margin-bottom:14px;
    }
    .archive-header__title {
        font-size:24px;
    }
    .single-header__title {
        font-size:24px;
        line-height:1.25;
    }
    .reference-link {
        flex:1 1 100%;
        width:100%;
        min-width:0;
    }
    .related-posts__title {
        font-size:22px;
    }
}

.model-profile-header {
    display:flex;
    align-items:center;
    gap:18px;
}

.model-profile-portrait {
    width:82px;
    height:112px;
    object-fit:cover;
    border:1px solid #2b7686;
    border-radius:10px;
}

.scene-model-links {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
}

.scene-model-links a {
    display:inline-flex;
    align-items:center;
    min-height:40px;
    padding:7px 12px;
    border:1px solid #296274;
    border-radius:8px;
    color:#ffda4e;
    font-size:12px;
}

/* Responsive refinements: same visual system and existing components. */
:root {
    --mobile-bar-height:64px;
    --mobile-bar-clearance:calc(var(--mobile-bar-height) + 24px + env(safe-area-inset-bottom,0px));
}

.neon-model-strip {
    grid-auto-columns:clamp(155px,15vw,195px);
    overflow-x:auto;
    gap:12px;
    padding-block:5px 10px;
    scroll-snap-type:x proximity;
    scroll-padding-inline:3px;
    overscroll-behavior-inline:contain;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
}

.neon-model {
    height:auto;
    aspect-ratio:2 / 3;
    min-width:0;
    border-width:2px;
    box-shadow:0 0 7px rgba(0,190,220,.16),inset 0 0 0 1px rgba(255,255,255,.08);
    scroll-snap-align:start;
    transition:border-color .2s ease,box-shadow .2s ease;
}

.neon-model img {
    object-fit:contain;
    object-position:center;
    display:block;
}

.neon-model span {
    padding:26px 8px 9px;
    background:linear-gradient(transparent,rgba(0,0,0,.78) 35%,rgba(0,0,0,.95));
    font-size:12px;
    line-height:1.3;
    text-shadow:0 1px 3px #000;
}

.neon-model:hover,.neon-model:focus-visible {
    border-color:#48d9f2;
    box-shadow:0 0 10px rgba(0,180,220,.2);
}

.neon-model-strip:focus-visible {
    outline:2px solid #00d5ff;
    outline-offset:3px;
    border-radius:10px;
}

@media(max-width:767.98px) {
    body.has-neon-mobile-bar,body:has(.neon-mobile-bar) {
        padding-bottom:var(--mobile-bar-clearance);
    }
    html {
        scroll-padding-top:82px;
        scroll-padding-bottom:var(--mobile-bar-clearance);
    }
    .neon-mobile-bar {
        left:50%;
        right:auto;
        transform:translateX(-50%);
        width:calc(100% - 20px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));
        max-width:560px;
        bottom:calc(8px + env(safe-area-inset-bottom,0px));
        padding:4px;
        border-radius:16px;
        box-shadow:0 6px 24px #000,0 0 12px rgba(0,90,115,.28);
    }
    .neon-mobile-bar a,.neon-mobile-bar button {
        min-height:52px;
        padding:4px 1px 6px;
        gap:3px;
        font-size:10.5px;
        transition:color .2s ease,background-color .2s ease;
    }
    .neon-mobile-bar svg {
        width:22px;
        height:22px;
    }
    .neon-mobile-bar span {
        max-width:100%;
        white-space:nowrap;
    }
    .neon-mobile-bar [aria-current] {
        background:rgba(255,218,78,.045);
        text-shadow:0 0 8px rgba(180,130,0,.45);
    }
    .neon-mobile-bar [aria-current]::after {
        height:2px;
        width:50%;
    }
    .neon-model-strip {
        grid-auto-columns:clamp(122px,34vw,190px);
        gap:10px;
        padding-bottom:8px;
    }
    .neon-model {
        aspect-ratio:2 / 3;
        border-radius:11px;
    }
    .neon-model span {
        font-size:12px;
        padding:24px 7px 8px;
    }
    .search-overlay {
        overflow-y:auto;
        padding-top:max(24px,env(safe-area-inset-top,0px));
        padding-bottom:calc(24px + env(safe-area-inset-bottom,0px));
    }
}

@media(prefers-reduced-motion:reduce) {
    .neon-model-strip {
        scroll-behavior:auto;
    }
}

@media(max-width:767.98px) {
    .single-post > .container > .single-hero {
        margin-inline:-16px;
        margin-top:0;
    }
    .single-post .single-hero__image-wrapper {
        border-radius:0;
    }
}

@media(max-width:767.98px) {
    .nav-desktop {
        display:none;
    }
}

/* Carrusel de categorías: una sola fila en todos los tamaños. */
.neon-categories { min-width: 0; }
.neon-categories .neon-section-head { gap: 12px; }
.neon-categories .neon-category-strip {
    display: flex; flex-wrap: nowrap; gap: 10px;
    overflow-x: auto; overflow-y: hidden; max-width: 100%;
    padding: 8px 3px 14px; scroll-snap-type: x proximity;
    overscroll-behavior-x: contain; scrollbar-width: thin;
    scrollbar-color: #00a6c8 #0b1820;
}
.neon-categories .neon-category-strip a {
    flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start;
    min-height: 48px; padding: 12px 18px; border-radius: 14px;
    transition: border-color .2s, background .2s;
}
.neon-categories .neon-category-strip a:hover {
    border-color: #00d5ff; background: #0c2632; color: #fff;
}
.category-controls { display: flex; flex: 0 0 auto; gap: 6px; margin-left: auto; }
.category-controls[hidden] { display: none; }
.category-controls button {
    display: grid; place-items: center; width: 44px; height: 44px;
    padding: 0; border: 1px solid #315360; border-radius: 50%;
    background: linear-gradient(145deg,#102631,#071017);
    color: #80e8ff; font: 28px/1 sans-serif; cursor: pointer;
}
.category-controls button:hover:not(:disabled) { border-color: #00d5ff; background: #123747; }
.category-controls button:disabled { opacity: .3; cursor: default; }
.category-controls button:focus-visible,
.neon-category-strip:focus-visible,
.neon-category-strip a:focus-visible { outline: 2px solid #ffe348; outline-offset: 3px; }
@media(max-width:480px) {
    .neon-categories .neon-section-head h2 { font-size: clamp(17px,5vw,23px); }
    .category-controls { gap: 4px; }
    .neon-categories .neon-category-strip a { padding: 11px 15px; font-size: 12px; }
}
@media(prefers-reduced-motion:reduce) {
    .neon-categories .neon-category-strip { scroll-behavior: auto; }
    .neon-categories .neon-category-strip a { transition: none; }
}

/* Retratos a sangre: el marco se llena sin bandas por object-fit:contain. */
.neon-model-strip .neon-model {
    height: auto;
    aspect-ratio: 2 / 3;
    align-self: start;
    isolation: isolate;
}
.neon-model-strip .neon-model > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
}
.neon-model-strip .neon-model > span {
    padding: 22px 7px 9px;
    background: linear-gradient(transparent, rgba(0,0,0,.42) 55%, rgba(0,0,0,.78));
}
