.dejsi20-game {
    max-width: 980px;
    margin: 0 auto;
    font-family: inherit;
}

.dejsi20-login,
.dejsi20-profile,
.dejsi20-notice {
    box-sizing: border-box;
}

.dejsi20-login {
    padding: 28px;
    border-radius: 24px;
    background: #f5f5f5;
}

.dejsi20-login h2,
.dejsi20-profile h2 {
    margin-top: 0;
}

.dejsi20-login-form {
    display: grid;
    gap: 10px;
    max-width: 460px;
}

.dejsi20-login-form input {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font: inherit;
}

.dejsi20-login-form button {
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    background: #1f1f1f;
    color: #fff;
}

.dejsi20-notice {
    margin: 0 0 18px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #eef2ff;
    color: #1f2937;
}

.dejsi20-notice.is-success {
    background: #ecfdf3;
}

.dejsi20-notice.is-error {
    background: #fff1f2;
}

.dejsi20-notice.is-info {
    background: #eff6ff;
}

.dejsi20-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.dejsi20-email {
    margin: 4px 0 0;
    opacity: .7;
}

.dejsi20-count {
    display: flex;
    align-items: baseline;
    gap: 3px;
    padding: 14px 18px;
    border-radius: 20px;
    background: #f5f5f5;
}

.dejsi20-count strong {
    font-size: 36px;
    line-height: 1;
}

.dejsi20-progress {
    height: 10px;
    overflow: hidden;
    margin: 0 0 22px;
    border-radius: 999px;
    background: #ececec;
}

.dejsi20-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: #1f1f1f;
    transition: width .25s ease;
}

.dejsi20-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.dejsi20-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 130px;
    padding: 14px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.dejsi20-card.is-locked {
    background: linear-gradient(145deg, #f2f2f2, #e3e3e3);
    color: rgba(0,0,0,.45);
}

.dejsi20-card.is-open {
    background: linear-gradient(145deg, #ffe08a, #ff9f43);
    color: #1f1f1f;
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

.dejsi20-card-number {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.dejsi20-card-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.dejsi20-status-boxes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.dejsi20-status {
    padding: 18px;
    border-radius: 18px;
    background: #f5f5f5;
}

.dejsi20-status.is-ready {
    background: #eff6ff;
}

.dejsi20-status.is-success {
    background: #ecfdf3;
}

@media (max-width: 760px) {
    .dejsi20-profile-header {
        align-items: flex-start;
    }

    .dejsi20-board {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .dejsi20-card {
        min-height: 96px;
        padding: 10px;
        border-radius: 16px;
    }

    .dejsi20-card-number {
        font-size: 22px;
    }

    .dejsi20-card-label {
        font-size: 10px;
    }

    .dejsi20-status-boxes {
        grid-template-columns: 1fr;
    }
}
