.adventure-browser {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.adventure-grid {
    display: grid;
    grid-template-columns: minmax(0, 960px);
    align-content: start;
    justify-content: start;
    gap: 14px;
    padding: 4px;
    overflow: visible;
}

.adventure-card.stage-card {
    position: relative;
    width: 100%;
    height: 176px;
    min-height: 176px;
    padding: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(210px, 270px) minmax(0, 1fr) 88px;
    align-items: stretch;
    color: #f7f4fb;
    font-family: 'Exo 2', sans-serif;
    text-align: left;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
        rgba(8, 11, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transform: translateX(0);
    transition:
        transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.adventure-card.stage-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    z-index: 4;
    background: #c9b2f5;
    opacity: 0;
    transform: scaleY(0.45);
    transition: opacity 180ms ease, transform 180ms ease;
}

.adventure-card.stage-card:hover,
.adventure-card.stage-card:focus-visible {
    transform: translateX(6px);
    border-color: rgba(214, 197, 246, 0.4);
    background:
        linear-gradient(90deg, rgba(200, 176, 242, 0.09), rgba(255, 255, 255, 0.025)),
        rgba(9, 12, 20, 0.96);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), 0 0 24px rgba(151, 113, 216, 0.09);
}

.adventure-card.stage-card:hover::before,
.adventure-card.stage-card:focus-visible::before {
    opacity: 1;
    transform: scaleY(1);
}

.adventure-card.stage-card:focus-visible {
    outline: 2px solid rgba(232, 221, 255, 0.9);
    outline-offset: 3px;
}

.adventure-card .adventure-card-art {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 176px;
    overflow: hidden;
    background: #11131a;
}

.adventure-card .adventure-card-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: saturate(0.84) contrast(1.03) brightness(0.82);
    transform: scale(1.01);
    transition: filter 220ms ease, transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.adventure-card .adventure-card-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 64%, rgba(8, 11, 18, 0.96) 100%);
    pointer-events: none;
}

.adventure-card:hover .adventure-card-art img,
.adventure-card:focus-visible .adventure-card-art img {
    filter: saturate(0.98) contrast(1.05) brightness(0.92);
    transform: scale(1.045);
}

.adventure-card .adventure-card-info {
    min-width: 0;
    padding: 22px 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.adventure-card-meta-row {
    width: 100%;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(220, 207, 244, 0.68);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.adventure-card-type {
    color: #cbb6ef;
    white-space: nowrap;
}

.adventure-card-chapters {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.adventure-card .stage-name {
    color: #fff;
    font-family: 'Orbitron', 'Exo 2', sans-serif;
    font-size: 1.16rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.adventure-card-subtitle {
    color: #c8b2ee;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
}

.adventure-card .stage-desc {
    max-width: 620px;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.75rem;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.adventure-card-action {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.018);
}

.adventure-card-action-label {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.adventure-card-action-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #e5d9f8;
    border: 1px solid rgba(220, 203, 248, 0.32);
    border-radius: 50%;
    background: rgba(203, 179, 241, 0.07);
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.adventure-card-action-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.adventure-card:hover .adventure-card-action-icon,
.adventure-card:focus-visible .adventure-card-action-icon {
    color: #fff;
    border-color: rgba(225, 210, 250, 0.62);
    background: rgba(197, 167, 240, 0.16);
    transform: translateX(3px);
}

.adventure-empty-state {
    min-height: 240px;
    display: grid;
    place-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

@media (max-width: 760px) {
    .adventure-card.stage-card {
        height: 132px;
        min-height: 132px;
        grid-template-columns: 108px minmax(0, 1fr) 52px;
    }

    .adventure-card .adventure-card-art { min-height: 132px; }
    .adventure-card .adventure-card-art::after { background: linear-gradient(90deg, transparent 52%, rgba(8, 11, 18, 0.94) 100%); }
    .adventure-card .adventure-card-info { padding: 15px 14px; gap: 3px; }
    .adventure-card-meta-row { margin-bottom: 3px; font-size: 0.5rem; letter-spacing: 0.08em; }
    .adventure-card .stage-name { font-size: 0.9rem; }
    .adventure-card-subtitle { font-size: 0.68rem; }
    .adventure-card .stage-desc { margin-top: 5px; font-size: 0.63rem; -webkit-line-clamp: 2; line-clamp: 2; }
    .adventure-card-action { gap: 0; }
    .adventure-card-action-label { display: none; }
    .adventure-card-action-icon { width: 32px; height: 32px; }
    .adventure-card-action-icon svg { width: 15px; height: 15px; }
}

@media (max-width: 520px) {
    .adventure-card-type { display: none; }
    .adventure-card-chapters { margin-left: 0; }
    .adventure-card .stage-desc { -webkit-line-clamp: 1; line-clamp: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .adventure-card.stage-card,
    .adventure-card.stage-card::before,
    .adventure-card .adventure-card-art img,
    .adventure-card-action-icon {
        transition-duration: 0.01ms !important;
    }
}
