:root {
    --suskai-ink: #17202a;
    --suskai-blue: #1769e0;
    --suskai-green: #138a64;
    --suskai-soft: #f4f7fb;
    --suskai-line: #dfe6ef;
}

body {
    color: var(--suskai-ink);
    background: #fff;
}

.navbar-brand {
    letter-spacing: 0;
}

.hero-band,
.page-band {
    background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}

.section-kicker {
    color: var(--suskai-green);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.status-panel,
.admin-panel,
.video-card,
.release-item,
.empty-state,
.auth-card,
.dashboard-tile {
    border: 1px solid var(--suskai-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 32, 42, .06);
}

.status-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
}

.metric {
    display: block;
    color: var(--suskai-blue);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.release-list {
    display: grid;
    gap: 1rem;
}

.release-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem;
}

.release-content {
    min-width: 0;
    width: 100%;
}

.release-notes {
    max-height: 280px;
    overflow: auto;
    margin-bottom: .75rem;
    padding: .85rem 1rem;
    border-left: 3px solid var(--suskai-green);
    border-radius: 6px;
    background: #f8fafc;
    color: #334155;
    white-space: normal;
}

.download-count-badge {
    min-width: 3rem;
    padding: .45rem .65rem;
    font-size: .95rem;
}

.release-badge-test {
    background: #f59e0b;
    color: #111827;
}

.release-badge-stable {
    background: #16a34a;
    color: #fff;
}

.server-table {
    width: 100% !important;
}

.server-table td:last-child,
.server-table th:last-child {
    white-space: nowrap;
}

.license-log-summary {
    min-width: 190px;
    font-size: .86rem;
    line-height: 1.35;
}

.video-frame {
    background: #111827;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.external-video {
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state {
    padding: 2rem;
    text-align: center;
}

.site-footer {
    border-top: 1px solid var(--suskai-line);
    background: #fbfcfe;
}

.admin-body {
    background: var(--suskai-soft);
}

.admin-nav {
    background: #17202a;
}

.admin-panel {
    padding: 1.25rem;
}

.narrow-panel {
    max-width: 560px;
}

.dashboard-tile {
    display: block;
    min-height: 150px;
    padding: 1.25rem;
    color: inherit;
    text-decoration: none;
}

.dashboard-tile:hover {
    border-color: var(--suskai-blue);
}

.project-admin-list {
    display: grid;
    gap: 1rem;
}

.project-admin-item {
    padding: 1rem;
    border: 1px solid var(--suskai-line);
    border-radius: 8px;
    background: #fbfcfe;
}

.project-filter {
    min-width: min(100%, 360px);
}

.auth-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #eef6ff 0%, #f8fafc 50%, #eef8f4 100%);
}

.auth-shell {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.auth-card {
    width: min(100%, 420px);
    padding: 1.5rem;
}

.brand-mark {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: var(--suskai-blue);
    color: #fff;
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .release-item {
        align-items: stretch;
        flex-direction: column;
    }
}
