body {
    margin: 0;
    background: #000;
    color: #fff;
    font-family: monospace;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    padding: 12px 16px;

    font-family: monospace;
    font-size: 12px;

    z-index: 99999;

    pointer-events: none;
}

.site-header a {
    pointer-events: auto;
    color: white;
    text-decoration: none;
}

.header-left {
    text-align: left;
}

.header-center {
    text-align: center;
    color: white;
}

.header-right {
    text-align: right;
    color: white;
    pointer-events: auto;
}

.atlas-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #000;
    padding: 12px 16px;
    border-bottom: 1px solid #fff;
}

.breadcrumb {
    font-size: 12px;
    text-transform: lowercase;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 16px;
}

.categoria-item {
    font-size: 12px;
    line-height: 1.3;
    padding: 8px 8px 8px 0;
    min-height: 40px;
    word-break: break-word;
}

.categoria-item span {
    opacity: 0.6;
}

.categoria-item:hover {
    opacity: 0.6;
}

@media (max-width: 900px) {
    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

.grid-img {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
}

#lightbox {
    position: fixed;
    inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#lightbox.active {
    display: flex;
}

#lightbox-img {
    max-height: 90vh;
    max-width: 90vw;
    width: auto;
    height: auto;
    object-fit: contain;
}

#lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.atlas-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #000;
    padding: 0px 0px;
}

.breadcrumb {
    color: #FFF;
    text-decoration: none;
    font-size: 12px;
    font-family: monospace;
    text-transform: lowercase;
}

.breadcrumb:hover {
    opacity: .6;
}