/* Bírói pontozó — tabletre optimalizált, nagy érintőfelületek, offline-barát. */
.judge-scoring {
    max-width: 640px;
    margin: 0 auto;
    padding: 16px;
    font-family: system-ui, sans-serif;
}

.judge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.judge-header h1 {
    font-size: 1.4rem;
    margin: 0;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .9rem;
    padding: 4px 10px;
    border-radius: 999px;
}

.status .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status.online {
    background: #e7f6ec;
    color: #1a7f37;
}

.status.online .dot {
    background: #1a7f37;
}

.status.offline {
    background: #fdeaea;
    color: #b42318;
}

.status.offline .dot {
    background: #b42318;
}

.status .pending {
    opacity: .8;
}

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

.entry-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid #e6e0e6;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 1rem;
}

.entry-list li.scored .entry-row {
    background: #f4faf5;
    border-color: #cbe8d4;
}

.start-num {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ff3f80;
}

.entry-title {
    font-weight: 600;
}

.entry-meta {
    color: #6b6270;
    font-size: .85rem;
    grid-column: 2;
}

.check {
    color: #1a7f37;
    font-weight: 700;
}

.score-form-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.back {
    background: none;
    border: 1px solid #e6e0e6;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

.score-cat {
    display: grid;
    grid-template-columns: 120px 1fr 48px;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0eaf0;
}

.cat-name {
    font-weight: 600;
}

.score-cat input[type=range] {
    width: 100%;
    height: 32px;
}

.cat-value {
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.submit {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: #ff3f80;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.submit:disabled {
    opacity: .6;
}

.muted {
    color: #6b6270;
}

.error {
    color: #b42318;
}
