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

body {
    font-family: "Lucida Grande", "Tahoma", sans-serif;
    background-color: white;
    font-size: 10pt;
}

a:link {
    color: #0000FF;
    text-decoration: none;
}

a:visited {
    color: #800080;
    text-decoration: none;
}

a:active {
    color: #CC0000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 15px;
}

.header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.command-banner {
    background-color: #000;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    padding: 8px 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.title-section {
    flex-grow: 1;
}

.main-title {
    font-family: "Georgia", "Times", "Times New Roman", serif;
    font-size: 17pt;
    line-height: 40px;
    height: 40px;
    text-align: center;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

@media (max-width: 700px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .command-banner {
        width: 100%;
    }

    .title-section {
        width: 100%;
    }

    .main-title {
        font-size: 16pt;
        line-height: 1.3;
        height: auto;
        text-align: center;
        margin-top: 4px;
        margin-bottom: 4px;
    }

    .nav-links {
        justify-content: center;
    }
}

.divider {
    border-top: 1px dotted #999;
    margin: 10px 0;
}

.news-section {
    margin: 0;
    background-color: #e8e8e8;
    padding: 12px;
    border: 1px dotted #999;
    flex: 1;
}

.news-title {
    text-align: center;
    margin: 8px 0;
}

.news-wrapper {
    display: flex;
    gap: 15px;
    align-items: stretch;
    margin: 15px 0;
}

.news-content-wrapper {
    margin: 12px 0;
}

.news-image {
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    width: 100px;
    min-height: 100px;
}

.quote-section {
    margin: 0;
    background-color: #e8e8e8;
    padding: 8px;
    border: 1px dotted #999;
}

.dialogue {
    line-height: 1.39;
    white-space: pre-wrap;
}

.quote-header {
    margin-bottom: 4px;
    padding: 0;
}

.quote-container {
    margin: 15px 0;
}

.pagination {
    margin: 20px 0;
    text-align: center;
}

.pagination a {
    margin: 0 5px;
}

.back-link {
    margin: 20px 0;
}

/* Listening page styles */
.page-title {
    font-size: 14pt;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spotify-icon {
    width: 24px;
    height: 24px;
}

.track-list {
    list-style: none;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-bottom: 1px dotted #ccc;
}

.track-item:hover {
    background-color: #f5f5f5;
}

.album-art {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background-color: #ddd;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-info {
    flex-grow: 1;
    min-width: 0;
}

.track-name {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-album {
    color: #999;
    font-size: 9pt;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-time {
    color: #999;
    font-size: 9pt;
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
}

.empty-state {
    padding: 40px;
    text-align: center;
    color: #666;
}

