:root {
    --nav-accent: #03738a;
    --nav-brand: #7fd8e8;
    --nav-glow: rgba(3,115,138,0.4);
    --nav-brand-glow: rgba(127,216,232,0.7);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 60px;
}

.breadcrumb {
    font-family: 'Press Start 2P', monospace;
    font-size: 7px;
    color: var(--dim);
    letter-spacing: 0.1em;
    margin-top: -8px;
    margin-bottom: 16px;
    align-self: flex-start;
}
.breadcrumb a { color: var(--dim); text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--mintteal); }
.breadcrumb .sep { margin: 0 8px; color: var(--mintteal); opacity: 0.7; }
.breadcrumb .current { color: var(--mintteal); }

.page-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 16px;
    color: var(--mintteal);
    text-shadow: 0 0 16px rgba(0,229,179,0.6);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.page-subtitle {
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    color: var(--dim);
    letter-spacing: 0.12em;
    margin-bottom: 40px;
}

.intro {
    width: min(700px, 95vw);
    font-family: 'Courier Prime', monospace;
    font-size: 14px;
    color: var(--white);
    line-height: 1.75;
    text-align: center;
    margin-bottom: 48px;
}

.intro a {
    color: var(--mintteal);
    text-decoration: underline;
    text-decoration-color: rgba(0,229,179,0.35);
}
.intro a:hover {
    color: #e5b300;
    text-decoration-color: #e5b300;
}

.browse-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.browse-card {
    width: 200px;
    padding: 24px 20px;
    border: 2px solid var(--dim);
    background: var(--deep);
    text-decoration: none;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.browse-card:hover {
    transform: translateY(-3px);
}

.browse-card.by-artist:hover {
    border-color: #dd6f4e;
    box-shadow: 0 0 20px rgba(221,111,78,0.3);
}

.browse-card-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.by-artist .browse-card-title { color: #dd6f4e; }
.by-place .browse-card-title { color: #dd4ec0; }

.browse-card.by-place:hover {
    border-color: #dd4ec0;
    box-shadow: 0 0 20px rgba(221,78,192,0.3);
}

.browse-card.by-contributor:hover {
    border-color: #7fd8e8;
    box-shadow: 0 0 20px rgba(127,216,232,0.3);
}

.by-contributor .browse-card-title { color: #7fd8e8; }

.browse-card.by-label:hover {
    border-color: #9D4EDD;
    box-shadow: 0 0 20px rgba(157,78,221,0.3);
}

.by-label .browse-card-title { color: #9D4EDD; }

.ticker { color: #e5b300; }

footer span { color: var(--mintteal); }

.browse-card-desc {
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    color: var(--dim);
    line-height: 1.4;
}

.note {
    width: min(700px, 95vw);
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    color: var(--dim);
    line-height: 1.6;
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #1e1e2e;
}

.note a {
    color: var(--cyan);
    text-decoration: underline;
}

/* ── EMERAC COMPONENT ── */
#mini-emerac {
    width: min(600px, 95vw);
    margin-bottom: 40px;
    border: 2px solid var(--dim);
    background: var(--deep);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

.emerac-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed var(--dim);
    padding-bottom: 12px;
}

.mini-tape {
    width: 32px;
    height: 32px;
    border: 2px solid var(--dim);
    border-radius: 50%;
    background: #111;
    position: relative;
    animation: tape-spin 3s linear infinite;
}

.mini-tape.reverse-spin {
    animation-direction: reverse;
    animation-duration: 4s;
}

.mini-tape-spokes {
    position: absolute;
    top: 10%; left: 10%;
    width: 80%; height: 80%;
    background-image:
        linear-gradient(0deg, transparent 40%, var(--dim) 40%, var(--dim) 60%, transparent 60%),
        linear-gradient(90deg, transparent 40%, var(--dim) 40%, var(--dim) 60%, transparent 60%);
    border-radius: 50%;
}

@keyframes tape-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.emerac-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    color: var(--mintteal);
    letter-spacing: 0.1em;
    text-align: center;
}

.emerac-bottom {
    display: flex;
    gap: 16px;
    height: 90px;
}

#emerac-crt {
    flex: 1;
    background: #0a0a10;
    border: 2px solid #e5b300;
    padding: 8px;
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    color: var(--mintteal);
    text-shadow: 0 0 5px rgba(0,229,179,0.4);
    overflow: hidden;
    position: relative;
    line-height: 1.6;
}

#emerac-status {
    position: absolute;
    bottom: 8px;
    left: 8px;
}

#emerac-leds {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 4px;
    background: #0a0a10;
    border: 2px solid var(--dim);
    padding: 6px;
}

.mini-led {
    background: #222;
    border-radius: 2px;
    transition: background-color 0.05s ease;
}

.mini-led.on-red {
    background: #e54100;
    box-shadow: 0 0 6px rgba(229,65,0,0.5);
}
.mini-led.on-gold {
    background: #e5b300;
    box-shadow: 0 0 6px rgba(229,179,0,0.5);
}
