:root {
    --carpet: url(/static/img/carpet3.jpg);
    --bg: #1f2421;
    --bg-panel: #243029;
    --bg-card: #2a3a30;
    --border: #3a4a40;
    --border-glow: #49a078;
    --text: #dce1de;
    --text-muted: #9cc5a1;
    --accent: #ff595e;
    --accent2: #1982c4;
    --accent3: #6a4c93;
    --green: #8ac926;
    --yellow: #ffca3a;
    --nav-main: #8ac926;
    --nav-blog: #ff595e;
    --nav-music: #6a4c93;
    --nav-prog: #1982c4;
    --gloss-top: rgba(255, 255, 255, 0.08);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

body {
    background: var(--bg);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(/static/img/carpet3.jpg);

    background-size: auto;
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
    min-height: 100vh;
}

/* === main container === */
.site-wrap {
    position: relative;
    width: 720px;
    height: fit-content;
    max-width: 100vw;
    filter: drop-shadow(0 0 1px var(--border));
}

/* corner triangles on beveled edges */
.site-wrap::before,
.site-wrap::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    z-index: 10;
    pointer-events: none;
}
.site-wrap::before {
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 16px 16px 0 0;
    border-color: var(--accent) transparent transparent transparent;
}
.site-wrap::after {
    bottom: 0;
    right: 0;
    border-style: solid;
    border-width: 0 0 16px 16px;
    border-color: transparent transparent var(--accent) transparent;
}
.site {
    width: 720px;
    max-width: 100vw;
    background: var(--bg-panel);
    border: 1px solid var(--border);

    border-radius: 0;
    overflow: hidden;
    clip-path: polygon(
        10px 0,
        100% 0,
        100% calc(100% - 10px),
        calc(100% - 10px) 100%,
        0 100%,
        0 10px
    );
    box-shadow: var(--shadow);
}

/* === topbar === */
.topbar {
    background: linear-gradient(180deg, #2a3a30 0%, #1a2420 100%);
    border-bottom: 2px solid var(--accent);
    padding: 0;
    display: flex;
    align-items: stretch;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(255, 107, 53, 0.2);
    height: 80px;
}
.topbar-radial {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
    background: #1a2420;
    position: relative;
    overflow: hidden;
}
.topbar-radial svg {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 125px;
    height: 125px;
    animation: radial-spin 12s linear infinite;
}
.topbar-radial svg text {
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    fill: var(--accent);
    letter-spacing: 4px;
    opacity: 0.7;
}
@keyframes radial-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}
.topbar-globe {
    position: absolute;
    top: 65px;
    left: 65px;
    width: 110px;
    height: 110px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}
.topbar-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.75rem;
}
.topbar .logo {
    font-family: "JetBrains Mono", monospace;
    font-size: 24px;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    letter-spacing: 1px;
}
.topbar .meta {
    font-size: 8px;
    color: var(--text-muted);
    display: flex;
    gap: 0.6rem;
    align-items: center;
    font-family: "JetBrains Mono", monospace;
}
.topbar .meta .online {
    color: var(--green);
    font-family: "JetBrains Mono", monospace;
}

/* === marquee === */
.marquee {
    background: #161e19;
    border-bottom: 1px solid var(--border);
    padding: 0.3rem 0;
    font-size: 8px;
    color: var(--green);
    font-family: "Silkscreen", monospace;
    overflow: hidden;
}
.marquee-inner {
    display: inline-block;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
    padding-left: 100%;
}
@keyframes marquee {
    0% {
        transform: translateX(20%);
    }
    100% {
        transform: translateX(-120%);
    }
}

/* === nav buttons === */
.nav-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--border);
}

.nav-btn {
    position: relative;
    border: none;
    border-right: 1px solid var(--border);
    height: 80px;
    font-family: "Doto", sans-serif;
    font-weight: 600;
    font-size: 52px;
    cursor: pointer;
    letter-spacing: 1px;
    transition:
        color 0.2s,
        background 0.3s;
    color: #5a6a60;
    background: #1e2a24;
    display: flex;
    align-items: flex-end;
    padding: 0 0.5rem 0.1rem;
    z-index: 1;
    text-decoration: none;
}
.nav-btn:last-child {
    border-right: none;
}

/* per-button color */
.nav-btn[data-tab="main"] {
    --btn-color: var(--nav-main);
}
.nav-btn[data-tab="blog"] {
    --btn-color: var(--nav-blog);
}
.nav-btn[data-tab="music"] {
    --btn-color: var(--nav-music);
}
.nav-btn[data-tab="prog"] {
    --btn-color: var(--nav-prog);
}

/* stripe overlay — only on active */
.nav-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: -1;
    /* 45deg stripes — large, smooth, seamless repeat */
    background: repeating-linear-gradient(
        45deg,
        transparent 0px,
        transparent 6px,
        var(--btn-color) 6px,
        var(--btn-color) 12px
    );
}
.nav-btn.active::before {
    opacity: 1;
}

/* dark idle stripes for inactive — no animation, no moire */
.nav-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent 0px,
        transparent 6px,
        rgba(30, 42, 36, 0.7) 6px,
        rgba(26, 36, 32, 0.7) 12px
    );
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s;
}
.nav-btn.active::after {
    opacity: 0;
}

/* scrolling stripes on active */
.nav-btn.active::before {
    background-size: 17px 17px;
    animation: stripe-scroll 2s linear infinite;
}
@keyframes stripe-scroll {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 34px 0;
    }
}

/* active text glow + tinted background */
.nav-btn.active {
    color: #fff;
    text-shadow:
        1px 1px 0 rgba(0, 0, 0, 1),
        0 0 4px rgba(0, 0, 0, 1),
        0 0 8px rgba(0, 0, 0, 1);
}
.nav-btn[data-tab="main"].active {
    background: #3a6a1a;
}
.nav-btn[data-tab="blog"].active {
    background: #8a2a2c;
}
.nav-btn[data-tab="music"].active {
    background: #4a3468;
}
.nav-btn[data-tab="prog"].active {
    background: #125a8a;
}

/* gradient overlay on active — darkens bottom for text legibility */
.nav-btn.active .nav-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        transparent 70%
    );
    z-index: 1;
    pointer-events: none;
}

/* hover on inactive */
.nav-btn:hover:not(.active) {
    color: #7a8a80;
}

/* bottom glow bar */
.nav-btn.active .nav-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--btn-color);
    box-shadow: 0 0 8px var(--btn-color);
}

/* === sections === */
.section {
    border-bottom: 1px solid var(--border);
}
.section:last-child {
    border-bottom: none;
}
.section-header {
    background: linear-gradient(90deg, var(--accent), var(--accent3));
    padding: 0.4rem 0.75rem;
    font-size: 12px;
    font-weight: 100;
    text-transform: lowercase;
    letter-spacing: 3px;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    font-family: "JetBrains Mono", monospace;
    position: relative;
}
.section-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 62px;
    background: url("/static/img/emote-grid.svg") right center / 62px auto no-repeat;
}
/* === hit counter === */
.hit-counter {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    margin-left: 1rem;
}
.hit-counter span {
    width: 12px;
    height: 15px;
    display: inline-block;
    background: url("/static/img/hc_dots.jpg") no-repeat;
    background-size: auto 100%;
    image-rendering: pixelated;
}
.section-header.blue {
    background: linear-gradient(90deg, var(--accent2), #1060a0);
}
.section-header.green {
    background: linear-gradient(90deg, var(--green), #5a8a18);
    color: #000;
}
.section-body {
    padding: 0.6rem 0.75rem;
}

/* === who am i === */
.about-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}
.about-text strong {
    color: var(--text);
}
.about-tags {
    margin-top: 0.4rem;
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}
.about-tags span {
    font-size: 10px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent2);
    padding: 0.15rem 0.4rem;
    border-radius: 0;
    font-family: "Jetbrains Mono", monospace;
}

/* === post cards === */
.post-card {
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
}
.post-card:last-child {
    border-bottom: none;
}
.post-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.post-title a {
    color: var(--accent2);
    text-decoration: none;
}
.post-title a:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}
.post-meta {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    display: flex;
    gap: 0.6rem;
    align-items: center;
}
.post-meta .tag {
    background: rgba(255, 107, 53, 0.15);
    color: var(--accent);
    padding: 0.1rem 0.35rem;
    border-radius: 0;
    font-weight: 600;
}
.post-excerpt {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}
.post-comment-count {
    font-size: 10px;
    color: var(--green);
}

/* === post body (markdown rendered) === */
.post-body {
    font-size: 13px;
    color: var(--text);
    line-height: 1.7;
}
.post-body p {
    margin-bottom: 0.6rem;
}
.post-body a {
    color: var(--accent2);
}
.post-body code {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    background: var(--bg-card);
    padding: 0.1rem 0.3rem;
    border-radius: 0;
}
.post-body pre {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 0.6rem;
    overflow-x: auto;
    margin-bottom: 0.6rem;
}
.post-body pre code {
    background: none;
    padding: 0;
}
.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    border: 1px solid var(--border);
}
.post-body ul,
.post-body ol {
    margin: 0.4rem 0;
    padding-left: 1.2rem;
}
.post-body li {
    margin-bottom: 0.2rem;
}
.post-body blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 0.6rem;
    margin: 0.6rem 0;
    color: var(--text-muted);
    font-style: italic;
}
.post-body h1,
.post-body h2,
.post-body h3 {
    color: var(--text);
    margin: 0.8rem 0 0.4rem;
}
.post-body h1 {
    font-size: 18px;
}
.post-body h2 {
    font-size: 15px;
}
.post-body h3 {
    font-size: 13px;
}
.post-body img.emote {
    width: 15px;
    height: 15px;
    vertical-align: middle;
    display: inline;
    border: none;
    background: none;
}
.post-body table {
    border-collapse: collapse;
    margin: 0.6rem 0;
    font-size: 12px;
    width: 100%;
}
.post-body th,
.post-body td {
    border: 1px solid var(--border);
    padding: 0.3rem 0.5rem;
    text-align: left;
}
.post-body th {
    background: var(--bg-card);
    color: var(--accent2);
    font-weight: 600;
    font-size: 11px;
    text-transform: lowercase;
    letter-spacing: 1px;
}
.post-body td {
    color: var(--text-muted);
}
.post-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0.8rem 0;
}

/* === comments === */
.comment {
    display: flex;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border);
}
.comment:last-child {
    border-bottom: none;
}
.comment-avatar {
    width: 26px;
    height: 26px;
    border-radius: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
}
.comment-body {
    flex: 1;
    min-width: 0;
}
.comment-author {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent2);
}
.comment-date {
    font-size: 9px;
    color: var(--text-muted);
    margin-left: 0.3rem;
}
.comment-text {
    font-size: 12px;
    margin-top: 0.15rem;
    color: var(--text-muted);
}
.comment-text img.emote {
    width: 15px;
    height: 15px;
    vertical-align: middle;
    border: none;
    background: none;
}

/* === comment form === */
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.comment-input {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 0.4rem 0.5rem;
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s;
}
.comment-input:focus {
    border-color: var(--accent2);
}
.comment-textarea {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 0.4rem 0.5rem;
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
}
.comment-textarea:focus {
    border-color: var(--accent2);
}
.comment-form-actions {
    display: flex;
    justify-content: flex-end;
}
.comment-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 0.35rem 0.8rem;
    font-family: "Jetbrains Mono", sans-serif;
    font-weight: 200;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.comment-submit:hover {
    opacity: 0.85;
}

/* === projects === */
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.project-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.15);
}
.project-card h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.2rem;
}
.project-card p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* === links list === */
.link-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.link-list li {
    font-size: 12px;
}
.link-list a {
    display: inline-block;
    color: var(--accent2);
    text-decoration: none;
    background: rgba(25, 130, 196, 0.15);
    border: 1px solid rgba(25, 130, 196, 0.3);
    padding: 0.25rem 0.6rem;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    text-transform: lowercase;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 1px;
    transition: all 0.2s;
}
.link-list a:hover {
    background: rgba(25, 130, 196, 0.3);
    border-color: var(--accent2);
    color: #fff;
}

/* === blog listing === */
.blog-search {
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}
.blog-search-input {
    width: 100%;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 0.4rem 0.5rem;
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s;
}
.blog-search-input:focus {
    border-color: var(--accent2);
}
.blog-search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}
.blog-empty {
    padding: 1rem 0;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
}
.pagination-btn {
    color: var(--accent2);
    text-decoration: none;
    font-family: "Silkscreen", monospace;
    font-size: 10px;
    padding: 0.2rem 0.4rem;
    border: 1px solid var(--border);
    border-radius: 0;
    transition:
        border-color 0.2s,
        color 0.2s;
}
.pagination-btn:hover {
    border-color: var(--accent2);
    color: var(--text);
}
.pagination-info {
    color: var(--text-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
}

/* === music section === */
.album-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.album-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.album-card:hover {
    border-color: var(--accent3);
    box-shadow: 0 0 10px rgba(106, 76, 147, 0.2);
}
.album-art {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.album-art-placeholder {
    font-size: 32px;
    color: var(--text-muted);
    opacity: 0.4;
}
.album-art-placeholder.large {
    font-size: 64px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.album-info {
    padding: 0.4rem;
}
.album-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.album-artist {
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.1rem;
}

/* === album detail === */
.album-detail {
    display: flex;
    gap: 1rem;
    padding: 1rem 0.75rem;
}
.album-detail-art {
    flex: 1;
    min-width: 0;
    max-width: 50%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.album-detail-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.album-detail-tracklist {
    flex: 1;
    min-width: 0;
    max-height: 320px;
    overflow-y: auto;
}
.tracklist-header {
    font-size: 12px;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 2px;
    color: var(--accent2);
    background: rgba(25, 130, 196, 0.15);
    padding: 0.3rem 0.5rem;
    margin-bottom: 0.4rem;
    font-family: "JetBrains Mono", monospace;
}
.track-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(58, 74, 64, 0.4);
    font-size: 12px;
}
.track-row:last-child {
    border-bottom: none;
}
.track-number {
    color: var(--text-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    min-width: 1.2rem;
}
.track-title {
    flex: 1;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-duration {
    color: var(--text-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    flex-shrink: 0;
}

/* === webring === */
.webring {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.webring-label {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    font-family: "Silkscreen", monospace;
}
.webring-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
}
.webring-badge {
    width: 88px;
    height: 31px;
    border: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
    display: block;
    transition: border-color 0.2s;
}
.webring-badge:hover {
    border-color: var(--accent);
}
.webring-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.webring-badge-text {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
}

/* === footer === */
.footer {
    padding: 0.6rem 0.75rem;
    text-align: center;
    font-size: 10px;
    color: var(--text-muted);
    font-family: "JetBrains Mono", monospace;
    border-top: 1px solid var(--border);
}
.footer a {
    color: var(--accent);
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

/* === content transitions (HTMX) === */
#content {
    transition:
        opacity 0.2s ease-out,
        transform 0.2s ease-out;
}
#content.htmx-swapping {
    opacity: 0;
    transform: translateY(4px);
}
.fade-in {
    animation: fadeIn 0.25s ease-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === scrollbar styling === */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
*::-webkit-scrollbar {
    width: 6px;
}
*::-webkit-scrollbar-track {
    background: transparent;
}
*::-webkit-scrollbar-thumb {
    background: var(--border);
}
*::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* === responsive adjustments === */
@media (max-width: 740px) {
    body {
        padding: 0;
    }
    .site {
        width: 100%;
        border: none;
    }
    .album-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .album-detail {
        flex-direction: column;
    }
    .album-detail-art {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .nav-btn {
        font-size: 36px;
    }
    .topbar .logo {
        font-size: 18px;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    .album-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .album-detail {
        padding: 0.4rem 0.5rem;
    }
    .album-detail-art {
        width: 140px;
        height: 140px;
    }
    .section-header {
        font-size: 10px;
        letter-spacing: 2px;
    }
    .link-list {
        gap: 0.2rem;
    }
}
