html {
    color-scheme: dark;
}

html, body {
    margin: 0;
    height: 100%;
    font-family: Segoe UI, Arial, sans-serif;
    background: #1b1b1f;
    color: #f2f2f2;
}

/* Inputs and buttons don't inherit page color/background by default -
   browsers style them with system colors, which can look wrong or even
   unreadable (e.g. light text on light background) especially if the
   OS/browser has a forced dark mode fighting with our own dark theme. */
input[type="date"],
button {
    font-family: inherit;
    color: #f2f2f2;
    background: #3a3a42;
    border: 1px solid #55555f;
    border-radius: 4px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

button:not(:disabled):hover {
    background: #4a4a54;
    cursor: pointer;
}

.hot100-viewer {
    display: flex;
    height: 100vh;
}

.logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.controls-pane {
    width: 320px;
    flex-shrink: 0;
    padding: 24px;
    box-sizing: border-box;
    background: #26262b;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.controls-pane label {
    font-weight: 600;
}

.controls-pane input[type="date"] {
    font-size: 1rem;
    padding: 6px;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #a0a0a8;
}

.info-value {
    font-size: 1.15rem;
    font-weight: 600;
    min-height: 1.4em;
}

.nav-buttons {
    display: flex;
    gap: 8px;
}

.nav-buttons button {
    flex: 1;
    padding: 10px 6px;
    font-size: 0.9rem;
    cursor: pointer;
}

.nav-buttons button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.notice {
    color: #ffcf6b;
    font-size: 0.9rem;
}

.date-pending-hint {
    color: #a0a0a8;
    font-size: 0.85rem;
    font-style: italic;
    margin-left: 8px;
}

.report-button {
    margin-top: auto;
}

.video-pane {
    flex: 1;
    background: #000;
}

#yt-player-container {
    width: 100%;
    height: 100%;
}

#yt-player {
    width: 100%;
    height: 100%;
}

#yt-player-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}
