* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    background: #05070d;
    font-family: 'Nunito', sans-serif;
    color: #16202b;
}

::selection {
    background: #7fc8ea;
}

a {
    color: inherit;
    text-decoration: none;
}

.bg {
    position: relative;
    min-height: 100vh;
    background: #05070d;
}

.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.layout {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 56px;
    max-width: 1760px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 56px;
}

/* Sidebar */

.sidebar {
    flex: 0 0 560px;
    width: 560px;
    position: sticky;
    top: 56px;
    max-height: calc(100vh - 112px);
    z-index: 2;
    padding: 40px 40px 40px 0;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
    overflow-y: auto;
    scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.avatar-wrap {
    position: relative;
    width: 170px;
    height: 170px;
}

.avatar {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(30, 60, 90, 0.18);
}

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

.status-dot {
    position: absolute;
    bottom: 6px;
    right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #3ecf6a;
    border: 4px solid #cdeaf9;
}

.name {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 34px;
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.name span {
    font-size: 26px;
}

.sidebar p {
    font-size: 19px;
    line-height: 1.55;
    margin: 18px 0 0;
    max-width: 480px;
}

.sidebar p:first-of-type {
    margin-top: 22px;
}

/* Grid */

.grid {
    position: relative;
    flex: 1;
    min-width: 0;
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 24px;
    z-index: 2;
}

.span-1 {
    grid-column: span 1;
}

.span-2 {
    grid-column: span 2;
}

.span-3 {
    grid-column: span 3;
}

.span-4 {
    grid-column: span 4;
}

.row-2 {
    grid-row: span 2;
}

.card {
    border-radius: 22px;
}

.card.link,
.card.status,
.card.anilist {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.14));
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card.link {
    aspect-ratio: 1;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.card.link:hover {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.22));
    border-color: rgba(255, 255, 255, 0.55);
}

.link-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.steam-card {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 190px;
}

.steam-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.steam-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(10, 14, 20, 0.55), rgba(10, 14, 20, 0.75));
    z-index: 1;
}

.steam-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
}

.steam-cover-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    flex: none;
}

.steam-cover-wrap .steam-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.steam-cover-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steam-status-dot {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: #898989;
}

.steam-status-dot.online {
    background: #57cbde;
}

.steam-status-dot.in-game {
    background: #90ba3c;
}

.steam-meta {
    min-width: 0;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.steam-title {
    font-size: 17px;
    margin-bottom: 3px;
}

.steam-name {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 6px;
}

.steam-status-row {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.steam-game-info {
    position: relative;
    z-index: 2;
    margin-top: 14px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.steam-hero-wrap {
    position: relative;
}

.steam-hero-wrap img {
    display: block;
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.steam-hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 55%);
    pointer-events: none;
}

.steam-playtime-badge {
    position: absolute;
    left: 10px;
    top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #f2d98a;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 0, 0, 0.5);
}

.steam-playtime-icon {
    width: 13px;
    height: 13px;
    flex: none;
    opacity: 0.95;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8));
}

.steam-status-row .online {
    color: #57cbde;
}

.steam-status-row .in-game {
    color: #90ba3c;
}

.bold {
    font-weight: 700;
    font-size: 16px;
}

.handle {
    font-size: 13px;
    opacity: 0.7;
}

.handle.italic {
    font-style: italic;
}

.slot {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1.5px dashed rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 600;
    box-sizing: border-box;
}

.slot-icon {
    width: 28px;
    height: 28px;
    opacity: 0.5;
    flex: none;
}

.slot.mini {
    border-width: 1px;
    gap: 0;
}

.slot.mini .slot-icon {
    width: 16px;
    height: 16px;
}

.avatar.slot {
    border-radius: 50%;
}

/* Banner */

.banner {
    position: relative;
    overflow: hidden;
    height: 280px;
    box-shadow: 0 10px 40px rgba(20, 40, 70, 0.2);
}

.banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 26px;
    left: 30px;
    color: #fff;
    font-family: 'Baloo 2', sans-serif;
    pointer-events: none;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.tagline {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    line-height: 1.25;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.55), 0 10px 24px rgba(0, 0, 0, 0.45);
}

.tagline div:nth-child(1) {
    font-size: 34px;
}

.tagline div:nth-child(2) {
    font-size: 46px;
    margin-top: 4px;
}

.tagline div:nth-child(3) {
    font-size: 58px;
    margin-top: 4px;
}

/* Status card (Audiobookshelf) */

.card.abs-card {
    padding: 14px 20px;
}

.abs-top {
    display: flex;
    align-items: center;
    gap: 18px;
}

.abs-cover-wrap.cd {
    position: relative;
    width: 152px;
    height: 134px;
    flex: none;
}

.abs-vinyl {
    position: absolute;
    top: 22px;
    right: 0;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle at center,
            #2c2c2e 0px, #2c2c2e 2px,
            #131315 2px, #131315 6px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.abs-vinyl-label {
    position: absolute;
    inset: 33%;
    border-radius: 50%;
    background: linear-gradient(160deg, #7d8290, #33363d);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.abs-vinyl-label::after {
    content: '';
    position: absolute;
    inset: 42%;
    border-radius: 50%;
    background: #0e131c;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.abs-cover-wrap.cd.recent .abs-vinyl {
    animation: abs-cd-spin 3s linear infinite;
}

@keyframes abs-cd-spin {
    to {
        transform: rotate(360deg);
    }
}

.abs-sleeve {
    position: absolute;
    left: 0;
    top: 0;
    width: 128px;
    height: 128px;
    border-radius: 0;
    overflow: hidden;
    background: linear-gradient(160deg, #7d8290, #33363d);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 5px 8px 20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.abs-sleeve img,
.abs-sleeve .slot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abs-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.abs-title {
    font-size: 15px;
    margin-bottom: 3px;
}

.abs-author-name {
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 5px;
}

.abs-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.abs-dot {
    display: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3ecf6a;
    flex: none;
}

.abs-dot.idle {
    background: #1a1f2e;
}

.online {
    font-size: 12px;
    color: #3ecf6a;
    font-weight: 600;
}

.online.idle {
    color: #1a1f2e;
}

.abs-progress {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.abs-chapter {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.7;
}

.abs-waveform {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 22px;
}

.abs-wave-bar {
    flex: 1;
    min-width: 2px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

.abs-wave-bar.filled {
    background: #6fb3d9;
}

.abs-progress-times {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.75;
}

.status-text {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
}

/* Status card (Hardcover) */

.card.hardcover-card {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.14));
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    padding: 26px;
    color: #16202b;
    overflow: visible;
    perspective: 700px;
}

.hc-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-right: 200px;
}

.hc-top-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.hc-titles {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.hc-series {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    color: rgba(22, 32, 43, 0.75);
    background: rgba(22, 32, 43, 0.1);
    border-radius: 999px;
    padding: 5px 12px;
    text-decoration: none;
}

.hc-title {
    display: block;
    font-size: 23px;
    font-weight: 700;
    color: #16202b;
    text-decoration: none;
    line-height: 1.3;
    margin-right: 84px;
}

.hc-author {
    font-size: 14px;
    color: rgba(22, 32, 43, 0.75);
    margin-right: 84px;
}

.hc-author a {
    color: #16202b;
    font-weight: 700;
    text-decoration: none;
}

.hc-ring-wrap {
    position: absolute;
    top: 34px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hc-ring {
    position: relative;
    width: 64px;
    height: 64px;
}

.hc-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.hc-ring-bg {
    fill: none;
    stroke: rgba(22, 32, 43, 0.15);
    stroke-width: 3;
}

.hc-ring-fg {
    fill: none;
    stroke: #6fb3d9;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 97.4;
    stroke-dashoffset: 97.4;
    transition: stroke-dashoffset 0.4s ease;
}

.hc-ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.hc-ring-label span {
    font-size: 14px;
    font-weight: 700;
    color: #16202b;
}

.hc-progress {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    max-width: 420px;
}

.hc-progress-bar {
    position: relative;
    height: 5px;
    border-radius: 3px;
    background: rgba(22, 32, 43, 0.15);
}

.hc-progress-fill {
    height: 100%;
    width: 0%;
    background: #6fb3d9;
    border-radius: 3px;
}

.hc-progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0e131c;
    border: 2px solid #6fb3d9;
    transform: translate(-50%, -50%);
}

.hc-progress-marks {
    position: relative;
    height: 14px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(22, 32, 43, 0.65);
}

.hc-mark-current {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
}

.hc-mark-total {
    position: absolute;
    top: 0;
    right: 0;
    white-space: nowrap;
}


.hc-cover-wrap {
    position: absolute;
    top: -12px;
    right: 26px;
    height: 220px;
    min-width: 130px;
    transform: rotateY(-20deg);
    transform-origin: left center;
    box-shadow: 14px 18px 28px rgba(0, 0, 0, 0.55);
    border-radius: 2px 10px 10px 2px;
    overflow: hidden;
}

.hc-cover-wrap .slot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hc-cover-wrap img {
    display: block;
    position: relative;
    height: 100%;
    width: auto;
    max-width: none;
}

.hc-cover-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 10px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
    border-radius: 2px 0 0 2px;
    pointer-events: none;
}

.hc-cover-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 82%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Status card (Letterboxd) */

.card.letterboxd-card {
    position: relative;
    overflow: visible;
    align-self: end;
    justify-content: flex-end;
}

.lb-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
}

.lb-logo {
    width: 22px;
    height: 22px;
    border-radius: 6px;
}

.lb-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-right: 170px;
    text-align: left;
}

.lb-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
}

.lb-titles {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
}

.lb-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
}

.lb-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    opacity: 0.75;
}

.lb-stars {
    color: #6fb3d9;
    letter-spacing: 1px;
    opacity: 1;
}

.lb-rewatch {
    font-size: 12px;
    font-weight: 600;
    background: rgba(22, 32, 43, 0.1);
    border-radius: 999px;
    padding: 3px 10px;
}

.lb-review {
    font-size: 14px;
    font-style: italic;
    opacity: 0.85;
    line-height: 1.5;
    max-width: 420px;
}

.lb-cover-wrap {
    position: absolute;
    bottom: 10px;
    right: 46px;
    width: 190px;
    height: 185px;
}

.lb-case {
    position: absolute;
    right: 0;
    top: 0;
    width: 128px;
    height: 180px;
    z-index: 1;
    overflow: hidden;
    border-radius: 2px;
    background: linear-gradient(160deg, #7d8290, #33363d);
    box-shadow: 6px 10px 22px rgba(0, 0, 0, 0.5);
}

.lb-case img,
.lb-case .slot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lb-case-spine {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background: linear-gradient(to right, #050506, #1c1c1e);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08);
    z-index: 3;
}

.lb-disc {
    position: absolute;
    left: 30px;
    top: 60px;
    width: 120px;
    height: 120px;
    z-index: 2;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(160deg, #7d8290, #33363d);
    box-shadow: 4px 8px 18px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.lb-disc img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lb-disc::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, transparent 0 17%, rgba(255, 255, 255, 0.22) 17% 18.5%, transparent 18.5% 100%);
    pointer-events: none;
}

.lb-disc-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #0e131c;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.15);
}

/* Art / photo tiles */

.art,
.photo {
    position: relative;
    overflow: hidden;
}

.card.photo {
    aspect-ratio: 1;
}

.art img,
.photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* AniList */

.anilist-header {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.anilist-header .link-icon {
    flex: none;
}

.anilist-activities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.anilist-activity {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    color: inherit;
}

.aa-cover-wrap {
    position: relative;
}

.aa-obi {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    z-index: 3;
    overflow: hidden;
    background: linear-gradient(180deg, #ecdfb9, #d9c793);
    box-shadow: 1px 0 3px rgba(0, 0, 0, 0.35), inset -1px 0 0 rgba(0, 0, 0, 0.15);
}

.aa-obi span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    text-align: center;
    font-family: 'Caveat', cursive;
    font-size: 15px;
    font-weight: 600;
    color: #3a2410;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translate(-50%, -50%) rotate(-90deg);
    transform-origin: center;
}

.aa-cover-wrap.manga .aa-obi {
    background: linear-gradient(180deg, #7a2a2a, #551d1d);
}

.aa-cover-wrap.manga .aa-obi span {
    color: #f3e6d3;
}

.aa-badge {
    position: absolute;
    right: 6px;
    bottom: 6px;
    z-index: 4;
    background: linear-gradient(180deg, #f3ead0, #e2d3a8);
    border: 1px solid rgba(60, 40, 20, 0.55);
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.45);
    font-weight: 800;
    color: #3a2410;
    white-space: nowrap;
}

.aa-cover-time {
    position: absolute;
    left: 28px;
    bottom: 6px;
    right: 84px;
    z-index: 4;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 0, 0, 0.6);
}

.aa-cover-time:empty {
    display: none;
}

.aa-badge:empty {
    display: none;
}

.aa-badge.tag {
    padding: 2px 7px;
    border-radius: 3px;
    transform: rotate(-4deg);
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.aa-badge.circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-6deg);
    font-size: 12px;
}

.aa-badge.chapter {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-6deg);
    font-size: 12px;
}

.aa-image {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 0 8px 8px 0;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.15);
    background-size: cover;
    background-position: center;
    box-shadow: 3px 8px 16px rgba(0, 0, 0, 0.45);
    filter: saturate(0.9) contrast(1.05) brightness(0.97) sepia(0.06);
}

.aa-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.2) 41%, rgba(255, 255, 255, 0.06) 47%, transparent 62%);
    pointer-events: none;
    z-index: 2;
}

.aa-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to left, rgba(0, 0, 0, 0.4), transparent 5%),
        linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 6%);
    pointer-events: none;
    z-index: 2;
}

.aa-status {
    font-size: 12px;
    font-weight: 700;
    color: #7fe89a;
}

.aa-title {
    font-size: 14px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


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

/* Status card (Zenless Zone Zero) */

.card.zzz-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: linear-gradient(160deg, #171d29, #0e131c);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 26px;
    color: #fff;
}

.zzz-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.zzz-icon {
    color: #1a1200;
    font-family: 'Baloo 2', sans-serif;
}

.zzz-account {
    min-width: 0;
}

.zzz-nickname {
    font-size: 17px;
    margin-bottom: 3px;
}

.zzz-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.zzz-agents {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 14px;
    padding-top: 145px;
}

.zzz-agent {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.zzz-agent-icon-wrap {
    position: relative;
    width: 100%;
    height: 80px;
    border-radius: 10px;
    background: radial-gradient(ellipse at 50% 85%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 60%, transparent 80%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.zzz-agent-icon-wrap img {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: auto;
    height: 230px;
    max-width: none;
    transform: translateX(-50%);
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5));
}

.zzz-agent-rank {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #1a1200;
    border: 2px solid #14161b;
}

.zzz-agent-rank.rank-s {
    background: #f2c94c;
}

.zzz-agent-rank.rank-a {
    background: #b98aff;
}

.zzz-agent-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.zzz-agent-level {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.zzz-agent-mindscape {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Quote */

.quote {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12));
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    padding: 22px 28px;
    font-size: 17px;
    font-style: italic;
}

/* Responsive */

@media (max-width: 1200px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        flex: 1 1 auto;
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
        overflow: visible;
    }

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

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

    .grid>* {
        grid-column: span 1;
        grid-row: auto;
    }

    .hc-top-row {
        flex-wrap: wrap;
    }

    .hc-info {
        margin-right: 116px;
    }

    .hc-cover-wrap {
        width: 100px;
        top: -20px;
        right: 34px;
        bottom: 20px;
    }

    .layout {
        padding: 32px 20px 60px;
        gap: 32px;
    }

}
