.oto-page-intro.gallery-hero-band {
    position: relative;
    padding: 30px 34px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(215, 223, 234, 0.92);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(18, 31, 45, 0.06);
    background:
        radial-gradient(circle at 82% 22%, rgba(239, 157, 226, 0.18), transparent 20%),
        radial-gradient(circle at 18% 0%, rgba(105, 185, 234, 0.18), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
}

.oto-page-intro.gallery-hero-band::after {
    content: "";
    position: absolute;
    right: 34px;
    top: 24px;
    width: 260px;
    height: 120px;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(105, 185, 234, 0.14) 36%, transparent 72%);
    filter: blur(16px);
    opacity: 0.8;
    pointer-events: none;
}

.gallery-hero-copy,
.gallery-hero-actions {
    position: relative;
    z-index: 1;
}

.gallery-hero-copy {
    max-width: 760px;
}

.oto-page-intro.gallery-hero-band .oto-page-title {
    max-width: 10ch;
    color: #171d29;
    font-size: clamp(2.35rem, 4vw, 3.6rem);
    line-height: 1.02;
}

.oto-page-intro.gallery-hero-band .oto-page-copy {
    margin: 0;
    max-width: 58ch;
    font-size: 1rem;
    line-height: 1.65;
    color: #5e6778;
}

.state-panel p {
    margin: 0;
    max-width: 420px;
    font-size: 15px;
    color: #5e6778;
}

.oto-page-kicker,
.sort-label,
.detail-stage-label,
.detail-code-label,
.detail-meta-label,
.detail-kicker {
    color: #8693a8;
}

.browse-toolbar.oto-surface-panel {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(215, 223, 234, 0.92);
    box-shadow: 0 10px 24px rgba(18, 31, 45, 0.04);
}

.oto-surface-panel.oto-surface-panel-light {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(215, 223, 234, 0.92);
    box-shadow: 0 10px 24px rgba(18, 31, 45, 0.04);
    backdrop-filter: none;
}

.state-panel {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 24px;
    text-align: center;
    color: #5e6778;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(215, 223, 234, 0.92);
    border-radius: 22px;
    border-color: rgba(215, 223, 234, 0.92);
}

.state-panel i {
    color: #8792a4;
    font-size: 28px;
}

.state-panel h2,
.detail-name {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

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

.character-card {
    width: 100%;
    display: grid;
    gap: 0;
    color: inherit;
    text-align: left;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(188, 198, 212, 0.78);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(18, 31, 45, 0.045);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.character-card:hover,
.character-card:focus-visible {
    outline: none;
    transform: translateY(-4px);
    border-color: rgba(47, 127, 167, 0.36);
    box-shadow: 0 16px 32px rgba(18, 31, 45, 0.08);
}

.card-media {
    position: relative;
    aspect-ratio: 0.92;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, #edf3f9 100%);
}

.card-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 44px;
    background: linear-gradient(180deg, rgba(244, 246, 250, 0) 0%, rgba(244, 246, 250, 0.96) 100%);
}

.card-image,
.card-image--sprite,
.card-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    background: #ebf1f7;
}

.card-downloads {
    color: #1b2432;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(189, 200, 216, 0.7);
}

.card-body {
    display: grid;
    gap: 8px;
    padding: 13px 13px 14px;
}

.card-head {
    display: grid;
    gap: 3px;
}

.card-name {
    color: #171d29;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.card-code,
.card-footer,
.card-created {
    color: #8792a4;
}

.card-code {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.card-snippet {
    margin: 0;
    color: #5e6778;
    font-size: 14px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

.card-created {
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 1320px) {
    .card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .oto-page-intro.gallery-hero-band {
        padding: 24px 22px;
        border-radius: 20px;
    }

    .oto-page-intro.gallery-hero-band::after {
        right: 18px;
        width: 180px;
        height: 88px;
    }

    .oto-page-intro.gallery-hero-band .oto-page-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .state-panel h2,
    .detail-name {
        font-size: 24px;
    }
}
