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

body {
    background: #0a0a0a;
    color: #c8c8a0;
    font-family: "Courier New", Courier, monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 12px;
}

#container {
    width: 100%;
    max-width: 560px;
    border: 1px solid #4a7a4a;
    padding: 16px;
}

#header {
    text-align: center;
    border-bottom: 1px solid #4a7a4a;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

#logo {
    font-size: 2.2em;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #c8c8a0;
}

#frequency {
    font-size: 1em;
    color: #4a7a4a;
    letter-spacing: 0.2em;
    margin-top: 4px;
}

#description {
    font-size: 0.85em;
    line-height: 1.5;
    padding: 12px 4px;
    border-bottom: 1px dashed #4a7a4a;
    margin-bottom: 16px;
}

#player {
    padding: 8px 4px;
}

#vu-meters {
    display: flex;
    gap: 6px;
    height: 60px;
    align-items: flex-end;
    border: 1px solid #4a7a4a;
    padding: 4px;
    margin-bottom: 16px;
}

.vu-bar {
    flex: 1;
    background: #4a7a4a;
    height: 20%;
}

#now-playing {
    text-align: center;
    margin-bottom: 16px;
    min-height: 60px;
}

#now-playing-label {
    font-size: 0.7em;
    letter-spacing: 0.3em;
    color: #4a7a4a;
}

#segment-title {
    font-size: 1.1em;
    margin-top: 6px;
}

#segment-type {
    font-size: 0.75em;
    color: #4a7a4a;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 4px;
}

#controls {
    text-align: center;
    margin-bottom: 12px;
}

#play-btn {
    background: #0a0a0a;
    color: #c8c8a0;
    border: 1px solid #c8c8a0;
    font-family: inherit;
    font-size: 1em;
    padding: 10px 24px;
    cursor: pointer;
    letter-spacing: 0.1em;
}

#play-btn:hover {
    background: #4a7a4a;
    border-color: #4a7a4a;
    color: #0a0a0a;
}

#status-bar {
    text-align: center;
    font-size: 0.75em;
    color: #4a7a4a;
    border-top: 1px dashed #4a7a4a;
    padding-top: 8px;
}

#transcript {
    width: 100%;
    max-width: 560px;
    border: 1px solid #4a7a4a;
    padding: 16px;
    margin-top: 16px;
}

#transcript-label {
    font-size: 0.7em;
    letter-spacing: 0.3em;
    color: #4a7a4a;
    margin-bottom: 10px;
}

#transcript-viewport {
    height: 5.6em;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

#transcript-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: transform 0.4s linear;
    font-size: 0.85em;
    line-height: 1.4em;
    padding: 0 2px;
    white-space: normal;
    word-wrap: break-word;
}

#paused-banner {
    text-align: center;
    color: #ff3b3b;
    border: 1px solid #ff3b3b;
    padding: 10px;
    margin-top: 16px;
    font-weight: bold;
    letter-spacing: 0.2em;
    animation: pause-blink 1.6s ease-in-out infinite;
}

@keyframes pause-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

#footer {
    text-align: center;
    font-size: 0.7em;
    color: #4a7a4a;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #4a7a4a;
}
