body {
    margin: 0;
    padding: 2rem 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #111;
    color: #eee;
}

.hidden {
    display: none !important;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

h1 {
    margin-bottom: 0.25rem;
}

h3 {
    margin-top: 0;
    font-weight: normal;
    color: #aaa;
}

.image-wrapper {
    margin: 2rem 0;
}

.image-wrapper img {
    max-width: 1024px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
}

form {
    margin: 2rem 0;
}

input[type="text"] {
    width: 100%;
    max-width: 600px;
    padding: 0.75rem;
    font-size: 1rem;
}

button {
    margin-top: 0.75rem;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
}

.captions {
    margin-top: 3rem;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.caption {
    padding: 0.75rem 0;
    border-bottom: 1px solid #333;
}

.submit-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.75rem;
}

.submit-row input[type="text"] {
    flex: 1;
    max-width: 300px;
}

.vote-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.vote-link:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.caption small {
    display: inline-block;
    margin-bottom: 0.25rem;
}

.featured-caption {
    margin: 0.75rem auto 2rem;
    max-width: 700px;
    text-align: center;
    color: #eee;
}

.featured-caption h5 {
    margin: 0;
    font-weight: normal;
    font-style: italic;
}

.featured-caption small {
    display: block;
    margin-top: 0.25rem;
    color: #aaa;
}

.previous-days {
    margin: 3rem auto 0;
    max-width: 700px;
    text-align: left;
}

.previous-days h4 {
    margin-bottom: 0.5rem;
    font-weight: normal;
    color: #aaa;
}

.previous-day-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.previous-day-list li {
    margin: 0.25rem 0;
}

.previous-day-list a {
    color: #eee;
    text-decoration: none;
}

.previous-day-list a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.subscribe-link {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.subscribe-link a {
    color: #aaa;
    text-decoration: none;
}

.subscribe-link a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* Modal */

.modal.hidden {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

.modal-content {
    position: relative;
    background: #111;
    border: 1px solid #333;
    max-width: 420px;
    margin: 10vh auto;
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
}

.modal-content input {
    width: 100%;
    margin-top: 0.75rem;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.status-banner {
  background: #1c1c1c;
  border-bottom: 1px solid #333;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.95rem;
}
