html, body {
    width: 100%;
    padding: 0px 0px;
    margin: 0px 0px;
    font-family: "Helvetica", "Arial", sans-serif;
    font-size: 12pt;
}

.outer {
    display: grid;
    grid-template-areas:
        'header header'
        'imgs main';
    column-gap: 10px;
    grid-auto-columns: max(200px, 20vw) auto;
    width: 100%;
}

.header {
    grid-area: header;
    height: 100px;
    padding-bottom: 10px;
}

.header > img {
    height: 100%;
}

.kartinki {
    grid-area: imgs;
    margin-left: 10px;
    padding-top: 70px;
    width: 100%;
}

.kartinki > div {
    position: sticky;
    top: 20px;
}

.kartinki > div > .pic {
    position: relative;
    user-select: none;
}

.kartinki > div > .pic > img {
    width: 100%;
    padding-bottom: 30px;
}

.container {
    grid-area: main;
    margin: auto;
    padding-right: 10px;
    padding-left: 10px;
}

.filter {
    padding: 8px 10px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.1);
    margin-bottom: 10px;
    border: 1px solid #e9d5ff;
}

.filter form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.filter label {
    font-weight: 600;
    color: #6d28d9;
    padding-right: 8px;
}

.filter .splitter {
    margin-left: 20pt;
}

.filter input[type="text"],
.filter select {
    border: 2px solid #ddd6fe;
    border-radius: 10px;
    font-size: 13pt;
    transition: all 0.3s ease;
    background: #faf5ff;
}

.filter input[type="text"]:focus, .filter select:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.filter input[type="submit"] {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.filter input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.standings {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
    background: white;
    margin-bottom: 20px;
    text-align: center;
    overflow: hidden;
}

.standings th, .standings td {
    border: none;
    padding: 10px 8px;
    border-bottom: 1px solid #f3e8ff;
}

.standings th {
    background: linear-gradient(135deg, #936bef 0%, #421c84 100%);
    background-attachment: fixed;
    font-weight: bold;
    color: white;
    border: none;
    position: relative;
}

.standings th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d946ef, #a855f7, #d946ef);
    background-attachment: fixed;
    background-size: 200% 100%;
}

.standings tr:last-child td {
    border-bottom: none;
}

.login, .num, .task {
    background-color: #faf5ff;
}

.total {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    font-weight: bold;
    color: #6d28d9;
    position: relative;
}

.login-head, .login, .num-head, .num {
    text-align: left;
}

.total {
    font-weight: bold;
}

.full-head, .full {
    font-size: 10pt;
    background: linear-gradient(90deg, #d946ef, #a855f7, #d946ef);
    background-attachment: fixed;
}

.full {
    color: black;
    border: none;
}

.full-head {
    color: white;
}

.cross {
    display: inline;
    background: #faf5ff;
    border: 2px solid #8b5cf6;
    border-radius: 12pt;
    color: #8b5cf6;
    position: absolute;
    right: 6px;
    top: 6px;
    font-weight: bold;
    text-align: center;
    padding: 0 5pt;
    transition: all 0.3s ease;
}

.cross:hover {
    color: #6e39e7;
    border-color: #6e39e7;
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .outer {
        grid-template-areas:
            'header'
            'imgs'
            'main';
        grid-auto-columns: auto;
    }
    
    .kartinki {
        padding: 10px 10px;
        width: 100%;
    }
    
    .kartinki > div {
        display: grid;
        column-gap: 10px;
        grid-template-columns: auto auto;
        width: 100%;
        position: static;
        padding: 0;
    }
    
    .kartinki > div > .pic {
        width: min(47vw, 95%);
    }
    
    .kartinki > div > .pic > img {
        display: block;
        padding: 0;
    }
}
