:root {
    --card-0: #121418;
    --card-1: #0f1116;
    --text: #e7ebf2;
    --text-dim: #c2c9d6;
    --accent: #27d07d;
    --accent-2: #1fb56b;
    --bg: radial-gradient(60% 60% at 50% 10%, #0b0f12 0%, #07090b 60%, #050608 100%);
    --border: rgba(255, 255, 255, 0.06);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.32);
    --radius: 1.25rem;
}

@property --card-bg-a {
    syntax: '<number>';
    inherits: true;
    initial-value: 1;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: auto;
}

#loader {
    position: fixed;
    inset: 0;
    background: #0b0f12;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease;
}

.loader-bar {
    width: 60%;
    max-width: 420px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.loader-bar-progress {
    width: 0%;
    height: 100%;
    background: var(--accent);
    transition: width 0.2s ease;
}

.bg {
    position: fixed;
    inset: 0;
    transition: opacity 0.5s ease;
}

.bg::before,
.bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.bg::after {
    background:
        radial-gradient(60% 50% at 50% 20%, rgba(0,0,0,0.0) 0, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.88) 100%),
        linear-gradient(#00000044, #000000aa);
}
.bg::before {
    background:
        radial-gradient(40% 40% at 85% 10%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.75) 100%);
}

.center {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 24px;
}

.card {
    --card-bg-a: 1;
    width: min(480px, 92vw);
    background-color: rgba(16, 18, 28, 0.55);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    transform: translateY(6px) scale(0.98);
    opacity: 0;
    animation: pop 320ms cubic-bezier(0.2, 0.8, 0.25, 1) forwards;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-lg);
}

@keyframes pop {
    to {
        transform: none;
        opacity: 1;
    }
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.35) 35%, rgba(0,0,0,0.5));
    transition: opacity 160ms ease;
    pointer-events: none;
}

.avatar-wrap {
    width: 96px;
    height: 96px;
    margin: 12px auto 12px;
    position: relative;
    z-index: 2;
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    background: #111;
}

.ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    padding: 2px;
    background: conic-gradient(from 180deg,
            var(--accent),
            var(--accent-2),
            #2fb3ff,
            var(--accent));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 0);
    opacity: 0.9;
    transition: opacity 1s ease, filter 1s ease;
}

.avatar-wrap:hover .ring {
    opacity: 1;
    filter: brightness(2);
}

.title {
    margin: 8px 0 2px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff, #b9ffd7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.35);
}

.subtitle {
    margin: 0 0 6px;
    text-align: center;
    color: var(--text-dim);
    font-size: 14px;
}

.accent {
    color: #b9ffd7;
}

.bio {
    margin: 6px auto 14px;
    max-width: 40ch;
    text-align: center;
    color: #c9d1e5;
}

.quote {
    margin: 12px auto 14px;
    max-width: 44ch;
    text-align: center;
    color: #dbe7f6;
    font-size: 14.5px;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    position: relative;
}

.quote::before {
    content: "“";
    position: absolute;
    left: 12px;
    top: 6px;
    font-size: 24px;
    line-height: 1;
    color: color-mix(in srgb, var(--text) 50%, transparent);
    pointer-events: none;
}
.quote .attribution {
    display: block;
    margin-top: 6px;
    color: var(--text-dim);
    font-size: 12px;
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 12px 0 18px;
    padding: 0;
}

.fact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    color: #dff5e8;
    font-weight: 500;
    font-size: 13.5px;
    line-height: 1.2;
    white-space: nowrap;
    transition: all 1s ease;
}

.fact:hover {
    border-color: color-mix(in srgb, var(--accent) 60%, transparent);
    background: color-mix(in srgb, var(--accent) 18%, transparent);
    filter: saturate(1.1);
}

.fact .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 60% 40%, #b9ffd7, var(--accent));
    box-shadow: 0 0 4px rgba(39, 208, 125, 0.6);
    flex: 0 0 6px;
    transition: background 0.5s ease, border 0.5s ease;
}

.fact:hover .dot {
    background: radial-gradient(circle at 60% 40%, #eafff3, var(--accent));
    border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
    box-shadow: 0 0 6px rgba(39, 208, 125, 0.7);
}

.actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    appearance: none;
    cursor: pointer;
    user-select: none;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid transparent;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: var(--text);
    transition:
        transform 120ms,
        filter 120ms,
        box-shadow 120ms,
        background 120ms,
        border-color 120ms;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 8px;
}

.btn:active {
    transform: translateY(1px);
}



.btn svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: -2px;
    opacity: 0.95;
}

.btn-primary {
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    color: #0b0f12;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(39, 208, 125, 0.25);
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-ghost {
    background: transparent;
    border-color: var(--border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
}

.rule {
    height: 1px;
    margin: 18px 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.08),
            transparent);
}

.meta {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 12px;
}

.blink {
    position: fixed;
    inset: 0;
    background: #000;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.blink.visible {
    opacity: 1;
}

body {
    overflow: auto;
}

main.center.layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    height: auto;
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

main.center.layout .card {
    width: 100%;
}

.left-rail {
    display: grid;
    gap: 20px;
    align-content: start;
}

main.center.layout .notes-center {
    padding: 0;
}

@media (min-width: 1080px) {
    main.center.layout {
        grid-template-columns: 360px minmax(0, 1fr);
        gap: 28px;
    }
}

.notes-center {
    padding: 0;
    height: auto;
    display: grid;
    place-items: initial;
}

.projects-center {
    padding: 0;
    height: auto;
    display: grid;
    place-items: initial;
}

.projects-card .section-title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.005em;
}

.projects-card .section-subtitle {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--text-dim);
    text-align: left;
}

.projects {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    padding: 0;
    margin: 0;
    list-style: none;
}

.project {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
    will-change: transform;
}

.project:hover,
.project:focus-within {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.14);
}

.project .thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.project .thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project .meta {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project .name {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0;
}

.project .desc {
    font-size: 13px;
    color: var(--text-dim);
    margin: 0;
}

.notes-card .section-title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.005em;
}

.notes-card .section-subtitle {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--text-dim);
    text-align: left;
}

.books-center {
    padding: 0;
    height: auto;
    display: grid;
    place-items: initial;
}

.books-card .section-title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.005em;
}

.books-card .section-subtitle {
    margin: 0 0 20px;
    font-size: 13px;
    color: var(--text-dim);
    text-align: left;
}

.books-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    padding: 0;
    margin: 0;
}

.book-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 160ms ease, filter 160ms ease;
    cursor: pointer;
}

.book-item:hover {
    transform: translateY(-4px);
}

.book-item:hover .book-cover-wrap {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.book-item:hover .book-title {
    color: var(--accent);
}

.book-cover-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    transition: box-shadow 160ms ease, border-color 160ms ease;
}

.book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-title {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0;
    text-align: center;
    line-height: 1.3;
    transition: color 160ms ease;
}

.book-platform {
    font-size: 11px;
    color: var(--text-dim);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

@media (min-width: 560px) {
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (min-width: 900px) {
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

.media-card .section-title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.media-card .section-subtitle {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--text-dim);
    text-align: left;
}

#profile { order: 0; position: static; top: auto; align-self: start; }
.notes-center { order: 1; }
.books-center { order: 2; }
.projects-center { order: 3; }
.media-card {
    grid-column: 1 / -1;
    order: 4;
    position: static;
    bottom: auto;
    z-index: 1;
    margin: 0;
}

.notes {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.note {
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
    will-change: transform;
}

.note:hover,
.note:focus-within {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.14);
}

.note-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--text-dim);
    font-size: 12px;
    margin-bottom: 6px;
}

.note-text {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}

.note a {
    color: var(--accent);
    text-decoration: none;
}

.note a:hover {
    text-decoration: underline;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 6px;
}

.tag {
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    user-select: none;
}

.tag:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.tag[data-active="true"] {
    color: #0b0f12;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 14px rgba(39, 208, 125, 0.25);
}

.mono {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.media-card .now {
    display: flex;
    gap: 14px;
    align-items: center;
}

.media-card .cover-wrap {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    flex: 0 0 48px;
}

.media-card .cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-card .pulse {
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 35%, transparent);
    animation: pulse 2s infinite;
    pointer-events: none;
    opacity: 0.9;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 35%, transparent); }
    70% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 0%, transparent); }
    100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
}

.media-card .track {
    min-width: 0;
    flex: 1;
}

.media-card .title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.media-card .np-title {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-card .np-title:hover {
    text-decoration: underline;
}

.media-card .badge {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0b0f12;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 14px rgba(39, 208, 125, 0.25);
}

.media-card[data-state="paused"] .badge {
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border);
    box-shadow: none;
}

.media-card .artist,
.media-card .album {
    color: var(--text-dim);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-card .progress {
    margin-top: 8px;
}

.media-card .progress .bar {
    position: relative;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
    border: 1px solid var(--border);
}

.media-card .progress .fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.media-card .progress .times {
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 11px;
    margin-top: 6px;
}

.media-card .recent {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

.media-card .recent li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
}

.media-card .recent li:hover {
    background: rgba(255, 255, 255, 0.05);
}

.media-card .recent .thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid var(--border);
    object-fit: cover;
}

.media-card .recent .meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.media-card .recent .name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-card .recent .byline {
    font-size: 12px;
    color: var(--text-dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-card .recent .played {
    font-size: 11px;
    color: var(--text-dim);
}

@media (min-width: 560px) {
    .media-card .recent {
        grid-template-columns: 1fr 1fr;
    }
}

.media-card[data-state="paused"] .pulse,
.media-card[data-state="offline"] .pulse {
    display: none;
}

.media-card[data-state="offline"] .np-title {
    color: var(--text-dim);
}

.media-card[data-state="offline"] .progress .fill {
    background: rgba(255, 255, 255, 0.2);
}

@media (min-width: 900px) {
    main.center.layout {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 24px;
    }
    .left-rail {
        position: sticky;
        top: 24px;
        align-self: flex-start;
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 360px;
        flex: 0 0 360px;
    }
    .right-rail {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
        min-width: 0;
    }
    .media-card {
        margin-top: 0;
        position: static;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }
    .media-card .now {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .media-card .cover-wrap {
        width: 140px;
        height: 140px;
        flex: 0 0 auto;
    }
    .media-card .title-row { justify-content: center; }
    .media-card .track {
        width: 100%;
    }
    .media-card .artist,
    .media-card .album {
        text-align: center;
    }
}
.notes { gap: 14px; }
.note { padding: 14px 16px; }
.projects {
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.media-card {
    position: static;
    z-index: auto;
    padding: 12px 16px;
}
.media-card .np-title { font-size: 16px; }
.media-card .badge { font-size: 10px; padding: 3px 8px; }
.media-card .progress .bar { height: 4px; }

.media-card .section-subtitle { display: none; }
.media-card .np-title { font-size: 15px; }
.media-card .artist, .media-card .album { font-size: 12px; }
.media-card .times { display: none; }
.media-card .badge { font-size: 10px; padding: 3px 8px; }

.projects-card .toggle-wrap {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}
.projects-toggle {
    appearance: none;
    cursor: pointer;
    user-select: none;
    border-radius: 12px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}
.projects-toggle:hover { background: rgba(255,255,255,0.06); }
.projects-card[data-collapsed="true"] .projects > li:nth-child(n+5) { display: none; }
.project .meta { padding: 10px 12px; }


.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms ease, visibility 0s linear 0s;
}

.lightbox .lb-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox .lb-stage {
  position: relative;
  max-width: 96vw;
  max-height: 94vh;
  display: grid;
  align-items: center;
  justify-items: center;
}

.lightbox .lb-img {
  max-width: 96vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translate3d(0, 8px, 0) scale(0.985);
  transition: opacity 220ms ease, transform 220ms ease;
}
.lightbox.open .lb-img {
  opacity: 1;
  transform: none;
}

.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  transition: background 160ms ease, opacity 160ms ease;
}
.lightbox .lb-close:hover,
.lightbox .lb-prev:hover,
.lightbox .lb-next:hover {
  background: rgba(255,255,255,0.18);
}


.lightbox .lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
}

.lightbox .lb-prev,
.lightbox .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox .lb-prev { left: 16px; }
.lightbox .lb-next { right: 16px; }

.lightbox .lb-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translate(-50%, 4px);
  color: #d0d6e0;
  font-size: 13px;
  background: rgba(0,0,0,0.35);
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  opacity: 0.85;
  transition: opacity 220ms ease, transform 220ms ease;
}
.lightbox.open .lb-caption {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lightbox .icon {
  width: 20px;
  height: 20px;
  color: #fff;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  vector-effect: non-scaling-stroke;
}

.project { cursor: zoom-in; }