/* countdown shared styles */

@import url("/assets/fonts/fonts.css");

:root {
    --colour-background: #df9c8d;
    --colour-border: #724e6e;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: "JetbrainsMono";
    background-color: var(--colour-background);
    display: flex;
    flex-direction: column;
    padding: 6px 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a {
    color: inherit;
}

.back-link {
    font-size: 13px;
    flex-shrink: 0;
}

.desc {
    font-size: 12px;
    margin: 2px 0 4px;
    flex-shrink: 0;
    opacity: 0.7;
}

#main-layout {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 0;
}

/* ── hub ── */
.round-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 420px;
}

.round-card {
    display: block;
    border: 1px solid var(--colour-border);
    border-radius: 8px;
    padding: 16px 20px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
}

.round-card:hover {
    background: rgba(0, 0, 0, 0.08);
}

.round-name {
    font-size: 18px;
}

.round-note {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 4px;
}

/* ── sub pages ── */
.placeholder {
    font-size: 14px;
    opacity: 0.7;
    text-align: center;
}

@media (max-width: 600px) {
    body {
        padding: 6px 8px;
    }
}
