/* ============================================
   Page transitions — cross-document View Transitions API.
   Both the outgoing and incoming page need to opt in via this
   @view-transition rule; since every page shares this one stylesheet,
   adding it once here covers the whole site. Browsers without support
   simply navigate normally — nothing breaks.
   ============================================ */
@view-transition {
    navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.35s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Default (also used as "forward", i.e. moving right in the nav bar,
   and as the fallback for browsers without pageswap/pagereveal support):
   old page exits left, new page enters from the right. */
::view-transition-old(root) {
    animation-name: daotw-slide-out-left;
}

::view-transition-new(root) {
    animation-name: daotw-slide-in-from-right;
}

/* "Back" — moving left in the nav bar: reverse it. */
html[data-transition-direction="back"]::view-transition-old(root) {
    animation-name: daotw-slide-out-right;
}

html[data-transition-direction="back"]::view-transition-new(root) {
    animation-name: daotw-slide-in-from-left;
}

@keyframes daotw-slide-out-left {
    to {
        transform: translateX(-100%);
    }
}

@keyframes daotw-slide-in-from-right {
    from {
        transform: translateX(100%);
    }
}

@keyframes daotw-slide-out-right {
    to {
        transform: translateX(100%);
    }
}

@keyframes daotw-slide-in-from-left {
    from {
        transform: translateX(-100%);
    }
}

/* The bottom nav has its own view-transition-name (set on .bottom-nav),
   which pulls it out of the sliding "root" group entirely, so it stays
   fixed in place while the content slides. */
::view-transition-group(bottom-nav) {
    animation: none !important;
}

::view-transition-old(bottom-nav),
::view-transition-new(bottom-nav) {
    animation: none !important;
    mix-blend-mode: normal;
    opacity: 1;
}

/* ============================================
   DAOTW — tokens
   ============================================ */
:root {
    --bg: #121011;
    --surface: #1c1819;
    --surface-raised: #241f20;
    --border: #2c2627;

    --accent: #e5dfda;
    --accent-soft: #383233;

    --text: #f2edea;
    --text-muted: #9c9391;
    --text-faint: #6b6363;

    --radius: 14px;
    --radius-sm: 9px;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* old Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, new Edge */
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
}

/* ============================================
   Page shell
   ============================================ */
.page {
    max-width: 480px;
    margin: 0 auto;
    padding: calc(8px + env(safe-area-inset-top)) 16px calc(88px + env(safe-area-inset-bottom));
    min-height: 100vh;
}

.page-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.01em;
    margin: 4px 0 20px;
}

.reviews-page-title {
    text-align: right;
}

/* ============================================
   Home page — hero card for the current album
   ============================================ */
.site-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(17px, 8.5vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
    white-space: nowrap;
    margin: 4px 0 20px;
    perspective: 800px;
}

.site-heading-text {
    display: inline-block;
    transform-style: preserve-3d;
    animation: daotw-heading-spin 6s linear infinite;
}

@keyframes daotw-heading-spin {
    0% {
        transform: rotateY(0deg);
        text-shadow:
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 14px color-mix(in srgb, var(--album-accent, #a63446) 60%, transparent);
    }
    12.5% {
        transform: rotateY(45deg);
        text-shadow:
            -1.1px 0px 0 var(--album-accent, #a63446),
            -2.1px 0px 0 var(--album-accent, #a63446),
            -3.2px 0px 0 var(--album-accent, #a63446),
            -4.3px 0px 0 var(--album-accent, #a63446),
            -5.3px 0px 0 var(--album-accent, #a63446),
            -6.4px 0px 12px color-mix(in srgb, var(--album-accent, #a63446) 60%, transparent);
    }
    25% {
        transform: rotateY(90deg);
        text-shadow:
            -1.2px 0px 0 var(--album-accent, #a63446),
            -2.4px 0px 0 var(--album-accent, #a63446),
            -3.6px 0px 0 var(--album-accent, #a63446),
            -4.8px 0px 0 var(--album-accent, #a63446),
            -6px 0px 0 var(--album-accent, #a63446),
            -7.2px 0px 10px color-mix(in srgb, var(--album-accent, #a63446) 60%, transparent);
    }
    37.5% {
        transform: rotateY(135deg);
        text-shadow:
            -1.1px 0px 0 var(--album-accent, #a63446),
            -2.1px 0px 0 var(--album-accent, #a63446),
            -3.2px 0px 0 var(--album-accent, #a63446),
            -4.3px 0px 0 var(--album-accent, #a63446),
            -5.3px 0px 0 var(--album-accent, #a63446),
            -6.4px 0px 12px color-mix(in srgb, var(--album-accent, #a63446) 60%, transparent);
    }
    50% {
        transform: rotateY(180deg);
        text-shadow:
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 14px color-mix(in srgb, var(--album-accent, #a63446) 60%, transparent);
    }
    62.5% {
        transform: rotateY(225deg);
        text-shadow:
            1.1px 0px 0 var(--album-accent, #a63446),
            2.1px 0px 0 var(--album-accent, #a63446),
            3.2px 0px 0 var(--album-accent, #a63446),
            4.3px 0px 0 var(--album-accent, #a63446),
            5.3px 0px 0 var(--album-accent, #a63446),
            6.4px 0px 12px color-mix(in srgb, var(--album-accent, #a63446) 60%, transparent);
    }
    75% {
        transform: rotateY(270deg);
        text-shadow:
            1.2px 0px 0 var(--album-accent, #a63446),
            2.4px 0px 0 var(--album-accent, #a63446),
            3.6px 0px 0 var(--album-accent, #a63446),
            4.8px 0px 0 var(--album-accent, #a63446),
            6px 0px 0 var(--album-accent, #a63446),
            7.2px 0px 10px color-mix(in srgb, var(--album-accent, #a63446) 60%, transparent);
    }
    87.5% {
        transform: rotateY(315deg);
        text-shadow:
            1.1px 0px 0 var(--album-accent, #a63446),
            2.1px 0px 0 var(--album-accent, #a63446),
            3.2px 0px 0 var(--album-accent, #a63446),
            4.3px 0px 0 var(--album-accent, #a63446),
            5.3px 0px 0 var(--album-accent, #a63446),
            6.4px 0px 12px color-mix(in srgb, var(--album-accent, #a63446) 60%, transparent);
    }
    100% {
        transform: rotateY(360deg);
        text-shadow:
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 0 var(--album-accent, #a63446),
            0px 0px 14px color-mix(in srgb, var(--album-accent, #a63446) 60%, transparent);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-heading-text {
        animation: none;
    }
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 4px 0 14px;
}

.hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px 32px;
    border-radius: 24px;
    background: var(--album-accent, var(--accent-soft));
}

.hero-cover-link {
    display: block;
}

.hero-cover {
    width: 75vw;
    max-width: 340px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    background: var(--surface-raised);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.hero-name {
    margin-top: 24px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.25;
    text-align: center;
    color: var(--text);
}

.hero-artist {
    margin-top: 6px;
    font-size: 19px;
    text-align: center;
    color: #dcd7d3;
}

/* Auto-scrolling ticker of reviewed albums — overflow is clipped, not
   scrollable, so there's nothing for the user to manually drag; motion
   comes entirely from the CSS animation below. */
.ticker-wrapper {
    overflow: hidden;
    margin: 0 -16px;
}

.ticker-title {
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin: 32px 0 10px;
}

.ticker-track {
    display: flex;
    width: max-content;
    gap: 14px;
    padding: 0 16px;
    animation-name: ticker-scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }
}

.ticker-item {
    flex-shrink: 0;
    width: 170px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 12px 14px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--album-accent, var(--accent-soft)) 74%, var(--surface));
}

.ticker-cover {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    background: var(--surface-raised);
}

.ticker-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
}

.ticker-name {
    flex: 1;
    min-width: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ticker-badge {
    font-size: 15px;
    flex-shrink: 0;
}

.delta-badge {
    letter-spacing: 2.5px;
}

/* ============================================
   Fun stats section
   ============================================ */
.stats-section {
    margin-top: 8px;
}

.stat-block {
    margin-top: 28px;
}

.stat-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 6px;
}

.stat-desc {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin: 0;
}

.mini-song-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.mini-song-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 76px;
    text-align: center;
}

.mini-song-cover {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--surface-raised);
}

.mini-song-name {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-song-name-secret {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: var(--text);
}

.mini-song-card .score-badge {
    margin-top: 4px;
    font-size: 13px;
}

.stat-album-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--album-accent, var(--accent-soft)) 74%, var(--surface));
}

.stat-album-cover {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--surface-raised);
    flex-shrink: 0;
}

.stat-album-name {
    flex: 1;
    min-width: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
}

/* ============================================
   Score badge — the recurring signature element.
   Signed integers, monospace, explicit +/- sign.
   ============================================ */
.score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    background: transparent;
    color: var(--text);
    border: none;
}

.score-badge.positive {
    font-weight: 800;
}

.score-badge.negative {
    opacity: 0.85;
}

.score-badge.empty {
    opacity: 0.35;
    font-weight: 500;
}

.score-badge.large {
    font-size: 26px;
}

.score-badge.xl {
    font-size: 32px;
}

/* ============================================
   Reviews page — album accordion list
   ============================================ */
.album-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.album-row {
    background: color-mix(in srgb, var(--album-accent, var(--accent-soft)) 74%, var(--surface));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.album-row.expanded {
    border-color: var(--accent-soft);
}

.album-row-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    width: 100%;
    text-align: left;
}

.album-row-cover {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--surface-raised);
}

.album-row-info {
    flex: 1;
    min-width: 0;
}

.album-row-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-row-sub {
    font-size: 12px;
    color: #dcd7d3;
    margin-top: 2px;
}

.chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #c9c4c0;
    transition: transform 0.2s ease;
}

.album-row.expanded .chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.album-row-body {
    height: 0;
    overflow: hidden;
}

.album-row-body-inner {
    padding: 4px 12px 16px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.album-detail-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

.album-detail-cover {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    object-fit: cover;
    background: var(--surface-raised);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.album-detail-name {
    margin-top: 14px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    text-align: center;
    max-width: 280px;
}

/* Rater picker */
.rater-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
    padding: 12px 0 4px;
}

.rater-pill {
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--surface-raised);
    border: 1px solid #3a3435;
    font-size: 13px;
    font-weight: 500;
    color: #d4cfcb;
    text-align: center;
}

.rater-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

/* Album-level rating row */
.album-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    margin-top: 4px;
    border-bottom: 1px solid var(--border);
}

.album-rating-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
}

.stepper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stepper-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--surface-raised);
    border: 1px solid #423b3c;
    font-family: var(--font-mono);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.stepper-btn:active {
    background: var(--accent-soft);
    border-color: var(--accent);
}

/* Track list toggle */
.tracklist-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 2px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.tracklist-toggle .chevron {
    width: 16px;
    height: 16px;
}

.tracklist-toggle.open {
    color: var(--text);
}

.tracklist-toggle.open .chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.track-list-wrapper {
    height: 0;
    overflow: hidden;
}

/* Track list */
.track-list {
    margin-top: 6px;
    padding: 4px 10px;
}

.track-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.track-row:last-child { border-bottom: none; }

.track-number {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #c9c4c0;
    width: 18px;
    flex-shrink: 0;
}

.track-name {
    flex: 1;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-stepper {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.track-stepper .stepper-btn {
    width: 26px;
    height: 26px;
    font-size: 14px;
}

.pick-a-rater-hint {
    font-size: 12px;
    color: var(--text-faint);
    padding: 12px 0;
    text-align: center;
}

/* ============================================
   Comments section
   ============================================ */
.comments-section {
    margin-top: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
}

.comments-wrapper {
    height: 0;
    overflow: hidden;
}

.comments-wrapper-inner {
    padding-bottom: 12px;
}

.comments-secret-hint {
    font-size: 12px;
    color: var(--text-faint);
    margin: 0 0 12px;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-item {
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--surface-raised);
}

.comment-item.own-comment {
    position: relative;
    padding-right: 54px;
    background: color-mix(in srgb, var(--album-accent, var(--accent-soft)) 30%, var(--surface-raised));
}

.comment-author {
    font-size: 12px;
    font-weight: 600;
    color: #d4cfcb;
    margin-bottom: 4px;
}

.comment-edit-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.comment-edit-btn svg {
    width: 26px;
    height: 26px;
}

.comment-edit-btn:active {
    color: var(--text);
}

.comment-text {
    font-size: 14px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

.add-comment-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    margin-top: 10px;
    border-radius: 12px;
    background: var(--surface-raised);
    color: #d4cfcb;
    font-size: 14px;
    font-weight: 500;
}

.add-comment-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--text);
}

.comment-editor-wrapper {
    margin-top: 10px;
}

.comment-textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--surface-raised);
    border: 1px solid #3a3435;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.4;
    resize: vertical;
}

.comment-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.comment-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

.comment-cancel-btn,
.comment-save-btn {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.comment-cancel-btn {
    background: var(--surface-raised);
    color: #d4cfcb;
}

.comment-save-btn {
    background: #f2edea;
    color: var(--bg);
}

.loading-hint, .empty-hint {
    font-size: 13px;
    color: var(--text-faint);
    text-align: center;
    padding: 24px 0;
}

/* ============================================
   Admin page
   ============================================ */
.admin-msg {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 12px;
}

.admin-msg-success {
    background: color-mix(in srgb, #4caf6a 20%, var(--surface-raised));
    color: #b7e6c6;
}

.admin-msg-error {
    background: color-mix(in srgb, #d9534f 20%, var(--surface-raised));
    color: #f2c1bf;
}

.admin-log {
    margin: 0 0 20px;
    background: var(--surface-raised);
    border-radius: 12px;
    padding: 10px 14px;
}

.admin-log summary {
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.admin-log pre {
    margin: 10px 0 0;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-muted);
    white-space: pre-wrap;
    word-break: break-word;
}

.admin-section {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.admin-section:first-of-type {
    margin-top: 8px;
    padding-top: 0;
    border-top: none;
}

.admin-section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    margin: 0 0 6px;
}

.admin-section-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 14px;
    line-height: 1.4;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--surface-raised);
    border: 1px solid #3a3435;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
}

.admin-input:focus {
    outline: none;
    border-color: var(--accent);
}

select.admin-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c9391' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.admin-btn {
    padding: 12px 18px;
    border-radius: 999px;
    background: #f2edea;
    color: var(--bg);
    font-weight: 700;
    font-size: 14px;
}

.admin-btn:active {
    background: #cfc9c5;
}

.admin-color-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-color-wheel {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: none;
    cursor: pointer;
}

.admin-color-wheel::-webkit-color-swatch-wrapper {
    padding: 0;
}

.admin-color-wheel::-webkit-color-swatch {
    border: 1px solid #3a3435;
    border-radius: 12px;
}

.admin-color-hex {
    flex: 1;
    font-family: var(--font-mono);
}

.admin-album-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-album-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--surface-raised);
}

.admin-album-swatch {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-album-name {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-album-status {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
}

.admin-album-status-current {
    background: color-mix(in srgb, var(--accent) 25%, var(--surface));
    color: var(--accent);
}

.admin-album-status-reviewed {
    background: var(--surface);
    color: var(--text-faint);
}

/* ============================================
   Bottom navigation
   ============================================ */
.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 10;
    view-transition-name: bottom-nav;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: var(--text-faint);
    font-weight: 500;
}

.nav-icon {
    width: 22px;
    height: 22px;
}

.nav-item.active {
    color: var(--accent);
}