body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    margin: 0;
    height: 100vh;
    background: #000;
    color: white;
    font-family: "Doto", sans-serif;
	text-align: center;
	font-variation-settings:"ROND" 50;
	font-weight: 900;
}

.tile {
    background: #111;
    padding: 10px;
    overflow-y: auto;
}

.title {
    font-size: 35px;
    margin-bottom: 8px;
	font-family: monospace;
}

table {
    width: 100%;
    border-collapse: collapse;
    color: #ffcc00;
    font-size: 30px;
    table-layout: fixed; 
}

th, td {
    padding: 4px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis; 
    white-space: nowrap; 
}

th:nth-child(1), td:nth-child(1) { width: 20%; }  
th:nth-child(2), td:nth-child(2) { width: 50%; } 
th:nth-child(3), td:nth-child(3) { width: 30%; } 

.soon {
    color: red;
    font-weight: bold;
    animation: blink 1.5s infinite;
}

.footer {
    grid-column: 1 / -1;
    background: #111;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer.alert-active {
    justify-content: center;
}

.suspension-bar {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    font-size: 35px;
    font-weight: bold;
    color: #ffcc00;
    padding: 15px 0;
    position: relative;
}

.suspension-bar span {
    display: inline-block;
    padding-left: 100%;
    animation: scrollText 15s linear infinite;
}

.footer-clock {
    font-weight: bold;
    font-family: monospace;
    font-size: 30px;
    color: #ffcc00;
    display: flex;
    gap: 12px;
    align-items: center;
}

.error {
	color: red;
	font-weight: bold;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#footer-content {
    flex: 1;
}

a {
	color: white;
	text-decoration-line: none;
}

a:hover {
	color: #ffcc00;
	text-decoration-line: none;
}

@keyframes blink {
    0%,50%,100% { opacity: 1; }
    25%,75% { opacity: 0; }
}

@keyframes scrollText {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 900px) {
    body {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .title {
        font-size: 22px;
    }
    table {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    body {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .title {
        font-size: 20px;
    }
    table {
        font-size: 16px;
    }
    .tile {
        padding: 8px;
    }
}