body {
    font-family: "Spline Sans Mono", monospace;
    background: #eee;
    cursor: default;
}

main {
    font-size: 0.9rem;
    line-height: 1.4em;
    padding: 2rem;
    max-width: 50rem;
}

a {
    color: #1a6b6b;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

/* Audio Player */

.player {
    margin-top: 2rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.scrub-bar {
    width: 150px;
    height: 20px;
    position: relative;
}

.scrub-bar,
.scrub-bar * {
    cursor: pointer;
}

.scrub-bar::before,
.scrub-bar::after {
    cursor: pointer;
}

.scrub-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #999;
    transform: translateY(-50%);
    pointer-events: none;
}

.scrub-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 7px;
    transform: translateY(-50%);
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    box-sizing: border-box;
    pointer-events: none;
}

.scrub-hover {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 3px;
    background: #aaa;
    width: 0%;
    pointer-events: none;
    z-index: 1;
}

.scrub-progress {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 3px;
    background: #000;
    width: 0%;
    pointer-events: none;
    z-index: 2;
}

.player-btn {
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #000;
    transition: opacity 0.15s ease;
}

.player-btn:hover:not(:disabled) {
    opacity: 0.6;
}

.player-btn:disabled {
    opacity: 0.2;
}

.player-btn svg {
    width: 100%;
    height: 100%;
    display: block;
}

.player-track {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #555;
    display: none;
}

.player-track.visible {
    display: block;
}

.player-time {
    font-size: 0.8rem;
    color: #555;
    display: none;
}

.player-time.visible {
    display: inline;
}