/* Creator page: richer project/modpack cards */
.author-explore .mode-listng-row > .row {
    row-gap: 24px;
}

.author-material-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(75,255,139,.16);
    border-radius: 24px;
    background: linear-gradient(165deg, rgba(12,22,17,.98), rgba(5,10,7,.98));
    box-shadow: 0 18px 55px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.035);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.author-material-card:hover {
    transform: translateY(-5px);
    border-color: rgba(57,255,136,.34);
    box-shadow: 0 25px 70px rgba(0,0,0,.44), 0 0 30px rgba(57,255,136,.07);
}

.author-material-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(57,255,136,.12), rgba(53,182,255,.13));
}

.author-material-cover:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(2,7,4,.82));
    pointer-events: none;
}

.author-material-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.001);
    transition: transform .4s cubic-bezier(.2,.8,.2,1), filter .25s ease;
}

.author-material-card:hover .author-material-cover img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

.author-material-type,
.author-material-access {
    position: absolute;
    z-index: 2;
    top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 29px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.author-material-type {
    left: 14px;
    color: #07110b;
    background: rgba(57,255,136,.9);
    border: 1px solid rgba(255,255,255,.3);
}

.author-material-access {
    right: 14px;
    color: #e9fff2;
    background: rgba(6,14,10,.82);
    border: 1px solid rgba(255,255,255,.13);
    text-transform: none;
    letter-spacing: 0;
}

.author-material-access.access-subscribers {
    color: #bce7ff;
    border-color: rgba(53,182,255,.35);
}

.author-material-access.access-premium {
    color: #ffe39b;
    border-color: rgba(255,194,69,.4);
}

.author-material-body {
    padding: 19px 19px 17px;
}

.author-material-title {
    display: block;
    min-height: 52px;
    text-decoration: none !important;
}

.author-material-title h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #f6fff9;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.25px;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.author-material-release {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 13px;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}

.author-material-release > span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 11px;
    color: #55ff99;
    background: rgba(57,255,136,.1);
}

.author-material-release div {
    min-width: 0;
}

.author-material-release small,
.author-material-release strong {
    display: block;
}

.author-material-release small {
    margin-bottom: 2px;
    color: #849a8d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.author-material-release strong {
    overflow: hidden;
    color: #e9f8ee;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.author-material-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-top: 13px;
}

.author-material-metrics > span {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    align-items: center;
    column-gap: 5px;
    min-width: 0;
    padding: 9px 7px;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}

.author-material-metrics i {
    grid-row: 1 / 3;
    color: #39ff88;
    font-size: 11px;
}

.author-material-metrics strong,
.author-material-metrics small {
    display: block;
    min-width: 0;
}

.author-material-metrics strong {
    color: #fff;
    font-size: 12px;
    line-height: 1.05;
}

.author-material-metrics small {
    overflow: hidden;
    color: #82958a;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.author-material-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.author-material-footer > span {
    color: #8da095;
    font-size: 10px;
    font-weight: 700;
}

.author-material-footer > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #72ffa9 !important;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none !important;
}

.author-material-footer > a i {
    transition: transform .18s ease;
}

.author-material-footer > a:hover i {
    transform: translateX(3px);
}

.author-material-skeleton {
    min-height: 420px;
    background: linear-gradient(90deg, rgba(255,255,255,.035) 25%, rgba(255,255,255,.075) 40%, rgba(255,255,255,.035) 55%);
    background-size: 300% 100%;
    animation: authorMaterialSkeleton 1.25s ease-in-out infinite;
}

@keyframes authorMaterialSkeleton {
    to { background-position: -150% 0; }
}

.light-mode .author-material-card {
    border-color: rgba(20,75,46,.1);
    background: linear-gradient(165deg, #fff, #f5f8f6);
    box-shadow: 0 18px 45px rgba(18,54,35,.1);
}

.light-mode .author-material-card:hover {
    border-color: rgba(31,178,97,.28);
    box-shadow: 0 24px 55px rgba(18,54,35,.15);
}

.light-mode .author-material-cover:after {
    background: linear-gradient(180deg, transparent 55%, rgba(12,30,20,.42));
}

.light-mode .author-material-access {
    color: #183426;
    background: rgba(255,255,255,.88);
    border-color: rgba(12,40,25,.12);
}

.light-mode .author-material-access.access-subscribers { color: #176ca9; }
.light-mode .author-material-access.access-premium { color: #8a5d00; }
.light-mode .author-material-title h3 { color: #102018; }
.light-mode .author-material-release,
.light-mode .author-material-metrics > span { background: rgba(20,75,46,.035); border-color: rgba(20,75,46,.08); }
.light-mode .author-material-release strong,
.light-mode .author-material-metrics strong { color: #183126; }
.light-mode .author-material-release small,
.light-mode .author-material-metrics small,
.light-mode .author-material-footer > span { color: #718078; }
.light-mode .author-material-footer { border-color: rgba(20,75,46,.09); }

@media (max-width: 1199px) {
    .author-material-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767px) {
    .author-material-card { border-radius: 20px; }
    .author-material-body { padding: 16px; }
    .author-material-title { min-height: auto; }
    .author-material-title h3 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .author-material-card,
    .author-material-cover img,
    .author-material-footer > a i { transition: none !important; }
    .author-material-skeleton { animation: none !important; }
}
