@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #071c16;
    --bg-dark: #04120e;
    --panel: #102b22;
    --gold: #dfb977;
    --gold-light: #f1d8a5;
    --white: #f8f2e9;
    --muted: #b7c2b9;
    --border: rgba(223, 185, 119, 0.28);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(ellipse at 75% 10%,
            #1a3c2d 0%,
            transparent 40%),
        linear-gradient(180deg,
            var(--bg),
            var(--bg-dark));
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

/* HEADER */

.site-header {
    background: rgba(3, 18, 13, 0.9);
    border-bottom: 1px solid var(--border);
}

.header-content {
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 46px;
    letter-spacing: 5px;
    line-height: 1;
}

.logo small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    text-align: center;
    letter-spacing: 4px;
    margin-top: 8px;
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.navigation a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.navigation a:hover,
.navigation .active {
    color: var(--gold);
}

.admin-link {
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 10px 16px;
    font-size: 12px;
}

/* HERO */

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    min-height: 480px;
    gap: 30px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.eyebrow {
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 5px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(65px, 8vw, 115px);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: 3px;
    margin: 24px 0;
}

.hero h1 span {
    display: block;
    color: var(--gold);
}

.gold-line {
    width: 180px;
    height: 1px;
    background: var(--gold);
    margin: 28px 0;
}

.hero-description {
    font-family: 'Cormorant Garamond', serif;
    font-size: 29px;
    line-height: 1.3;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 14px 23px;
    border: 1px solid var(--gold);
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, background 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-gold {
    background: linear-gradient(120deg,
            #f2d59b,
            #c9a268);
    color: #10251b;
}

.button-outline {
    background: transparent;
    color: var(--white);
}

.button-outline:hover {
    background: rgba(223, 185, 119, 0.1);
}

/* SOCHA GALLERY LOUNGE */

.hero-decoration {
    position: relative;
    min-height: 480px;
    overflow: hidden;
}

.hero-statue {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(90deg,
            #071c16 0%,
            rgba(7, 28, 22, 0.08) 55%,
            rgba(7, 28, 22, 0.2) 100%),
        url("https://www.gallery-lounge.cz/wp-content/uploads/2025/02/hlava_tmava_seda-scaled.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.8;

    -webkit-mask-image: radial-gradient(ellipse at center,
            black 30%,
            transparent 76%);

    mask-image: radial-gradient(ellipse at center,
            black 30%,
            transparent 76%);
}

/* DASHBOARD */

.dashboard {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 17px;
}

.panel {
    background: linear-gradient(145deg,
            #173a2d,
            #071c16);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 27px 23px;
    min-width: 0;
}

.panel-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.panel-icon {
    font-size: 30px;
    color: var(--gold);
}

.panel h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    line-height: 1.1;
    margin: 0;
}

.panel h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    line-height: 1.2;
    margin: 15px 0;
}

.muted {
    color: var(--muted);
    font-size: 13px;
}

.gold-text {
    color: var(--gold);
}

.panel-link {
    display: inline-block;
    margin-top: 22px;
    color: var(--gold-light);
    font-size: 12px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
}

/* LEADERBOARD */

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

th,
td {
    padding: 11px 9px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

th {
    color: var(--gold-light);
    font-size: 11px;
    text-transform: uppercase;
}

th:nth-child(3),
th:nth-child(4),
td:nth-child(3),
td:nth-child(4) {
    text-align: center;
}

.rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
}

.rank-1 {
    background: #e8c45c;
    color: #261d08;
}

.rank-2 {
    background: #bdc4c7;
    color: #172126;
}

.rank-3 {
    background: #be8961;
    color: #261609;
}

.empty-state {
    text-align: center;
    color: var(--muted);
    padding: 30px 10px;
}

/* REGISTRATION */

.check-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.check-list li {
    position: relative;
    padding-left: 27px;
    margin-bottom: 14px;
    font-size: 13px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.full-width {
    display: flex;
    width: 100%;
}

/* PRIZES */

.prizes {
    text-align: center;
    padding-top: 90px;
    padding-bottom: 90px;
}

.prizes h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(43px, 5vw, 65px);
    font-weight: 600;
    line-height: 1;
    margin: 14px 0;
}

.prize-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.prize-card {
    background: linear-gradient(150deg,
            #173a2d,
            #071c16);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px 24px;
}

.prize-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 43px;
    color: var(--gold);
}

.prize-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    margin: 5px 0;
}

.prize-card p {
    color: var(--muted);
    font-size: 13px;
}

.bonus-prize {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.bonus-prize span {
    font-size: 28px;
    color: var(--gold);
}

.bonus-prize p {
    font-size: 13px;
}

/* FOOTER */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 25px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: var(--muted);
    font-size: 12px;
}

.footer-content a {
    color: var(--gold);
}

/* TABLET */

@media (max-width: 1050px) {
    .header-content {
        flex-wrap: wrap;
        padding: 20px 0;
    }

    .navigation {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .dashboard {
        grid-template-columns: 1fr 1fr;
    }

    .leaderboard {
        grid-column: span 2;
        grid-row: 2;
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .container {
        width: calc(100% - 28px);
    }

    .logo {
        font-size: 35px;
    }

    .navigation {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 18px;
    }

    .navigation a {
        white-space: nowrap;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 60px 0 45px;
    }

    .hero h1 {
        font-size: clamp(55px, 13vw, 82px);
    }

    .hero-description {
        font-size: 25px;
    }

    .hero-decoration {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .dashboard,
    .prize-grid {
        grid-template-columns: 1fr;
    }

    .leaderboard {
        grid-column: auto;
        grid-row: auto;
    }

    .prizes {
        padding: 65px 0;
    }

    .footer-content {
        flex-direction: column;
    }
}


/* ==============================
   REGISTRACE TÝMU
============================== */

.registration-page {
    min-height: 75vh;
    padding-bottom: 100px;
}

.registration-intro {
    text-align: center;
    padding-top: 65px;
    padding-bottom: 55px;
}

.registration-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(55px, 7vw, 95px);
    font-weight: 600;
    line-height: 1;
    margin: 15px 0;
}

.registration-intro h1 span {
    color: var(--gold);
}

.registration-intro>p:last-child {
    color: var(--muted);
    max-width: 550px;
    margin: 20px auto 0;
    font-size: 15px;
}

.registration-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: start;
}

.registration-card {
    padding: 40px;
    background: linear-gradient(145deg,
            #173a2d,
            #071c16);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.form-heading {
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-heading h2,
.registration-info h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
}

.form-symbol {
    color: var(--gold);
    font-size: 35px;
}

.team-form {
    display: flex;
    flex-direction: column;
    margin-top: 35px;
}

.team-form label {
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-form input[type="text"] {
    width: 100%;
    padding: 17px 18px;
    background: #071c16;
    color: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.team-form input[type="text"]:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(223, 185, 119, 0.12);
}

.team-form input::placeholder {
    color: #7d9186;
}

.field-hint {
    color: var(--muted);
    font-size: 12px;
    margin: 10px 0 25px;
}

.team-form button {
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.form-message {
    padding: 18px;
    border-radius: 7px;
    margin-top: 25px;
    font-size: 14px;
}

.form-message p {
    margin: 7px 0;
}

.form-message a {
    color: var(--gold-light);
    text-decoration: underline;
}

.success-message {
    background: rgba(56, 140, 91, 0.15);
    border: 1px solid #569c71;
}

.error-message {
    background: rgba(170, 65, 65, 0.14);
    border: 1px solid #b76666;
}

.registration-info {
    padding: 20px 15px;
}

.registration-info h2 {
    margin: 15px 0 35px;
}

.info-step {
    display: flex;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--border);
}

.info-step>span {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 32px;
    line-height: 1;
    min-width: 45px;
}

.info-step h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    font-weight: 600;
    margin: 0 0 5px;
}

.info-step p {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.registration-info .panel-link {
    margin-top: 35px;
}

/* TABLET */

@media (max-width: 850px) {
    .registration-layout {
        grid-template-columns: 1fr;
    }

    .registration-info {
        padding: 25px 10px;
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .registration-intro {
        padding-top: 50px;
        padding-bottom: 35px;
    }

    .registration-card {
        padding: 25px 20px;
    }

    .form-heading h2,
    .registration-info h2 {
        font-size: 34px;
    }

    .registration-page {
        padding-bottom: 60px;
    }
}

/* ==============================
   PŘEHLED TÝMŮ
============================== */

.teams-page {
    min-height: 75vh;
    padding-bottom: 90px;
}

.teams-intro {
    text-align: center;
    padding-top: 65px;
    padding-bottom: 50px;
}

.teams-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(55px, 7vw, 95px);
    font-weight: 600;
    line-height: 1;
    margin: 15px 0;
}

.teams-intro h1 span {
    color: var(--gold);
}

.teams-intro>p:last-child {
    color: var(--muted);
    max-width: 550px;
    margin: 20px auto 0;
    font-size: 15px;
}

.teams-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
}

.teams-count {
    display: flex;
    align-items: center;
    gap: 20px;
}

.teams-count-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 70px;
    line-height: 1;
    color: var(--gold);
}

.teams-count strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    font-weight: 600;
}

.teams-count p {
    color: var(--muted);
    font-size: 12px;
    margin: 0;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 17px;
    position: relative;
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: linear-gradient(145deg,
            #173a2d,
            #071c16);
    transition:
        transform 0.2s,
        border-color 0.2s;
}

.team-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
}

.team-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 33px;
    background: rgba(223, 185, 119, 0.08);
}

.team-details {
    min-width: 0;
}

.team-label {
    color: var(--gold);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

.team-details h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.1;
    margin: 7px 0 0;
    overflow-wrap: anywhere;
}

.team-card-decoration {
    margin-left: auto;
    color: rgba(223, 185, 119, 0.45);
    font-size: 18px;
}

.teams-empty {
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 70px 20px;
    background: linear-gradient(145deg,
            #173a2d,
            #071c16);
}

.empty-icon {
    font-size: 60px;
    color: var(--gold);
}

.teams-empty h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 45px;
    margin: 10px 0;
}

.teams-empty p {
    color: var(--muted);
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto 30px;
}

.teams-bottom {
    margin-top: 45px;
}

.teams-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(223, 185, 119, 0.04);
}

.teams-banner h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.1;
}

.teams-banner p:not(.eyebrow) {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

/* TABLET */

@media (max-width: 950px) {
    .teams-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .teams-intro {
        padding-top: 50px;
        padding-bottom: 35px;
    }

    .teams-grid {
        grid-template-columns: 1fr;
    }

    .teams-toolbar {
        align-items: stretch;
    }

    .teams-toolbar>.button {
        width: 100%;
    }

    .team-card {
        padding: 20px;
    }

    .teams-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 25px 20px;
    }

    .teams-banner .button {
        width: 100%;
    }
}


/* ==============================
   VÝSLEDKY TURNAJE
============================== */

.results-page {
    min-height: 75vh;
    padding-bottom: 90px;
}

.results-intro {
    text-align: center;
    padding-top: 65px;
    padding-bottom: 50px;
}

.results-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(55px, 7vw, 95px);
    font-weight: 600;
    line-height: 1;
    margin: 15px 0;
}

.results-intro h1 span {
    color: var(--gold);
}

.results-intro>p:last-child {
    color: var(--muted);
    font-size: 15px;
    max-width: 550px;
    margin: 20px auto 0;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}

.result-stat {
    text-align: center;
    padding: 28px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: linear-gradient(145deg, #173a2d, #071c16);
}

.result-stat>span {
    display: block;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 58px;
    line-height: 1;
}

.result-stat p {
    color: var(--muted);
    font-size: 12px;
    margin: 10px 0 0;
}

.leader-highlight {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px 35px;
    margin-bottom: 25px;
    border: 1px solid var(--gold);
    border-radius: 10px;
    background: linear-gradient(100deg,
            rgba(223, 185, 119, 0.16),
            rgba(16, 43, 34, 0.8));
}

.leader-crown {
    font-size: 70px;
    color: var(--gold);
    line-height: 1;
}

.leader-highlight h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 43px;
    margin: 0;
    overflow-wrap: anywhere;
}

.leader-highlight p:last-child {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.leader-highlight strong {
    color: var(--gold-light);
}

.standings-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(145deg, #143528, #071c16);
    overflow: hidden;
}

.standings-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 30px;
    border-bottom: 1px solid var(--border);
}

.standings-heading h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    margin: 5px 0 0;
}

.standings-season {
    color: var(--gold);
    font-size: 12px;
    white-space: nowrap;
}

.standings-table-wrapper {
    overflow-x: auto;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.standings-table th {
    background: rgba(0, 0, 0, 0.15);
    color: var(--gold-light);
    font-size: 11px;
    padding: 18px 15px;
}

.standings-table td {
    padding: 17px 15px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.standings-table th:first-child,
.standings-table td:first-child {
    text-align: center;
}

.standings-table th:nth-child(n+3),
.standings-table td:nth-child(n+3) {
    text-align: center;
}

.standings-table tbody tr:hover {
    background: rgba(223, 185, 119, 0.06);
}

.standings-table .position-1 {
    background: rgba(223, 185, 119, 0.10);
}

.standings-table .position-2 {
    background: rgba(190, 199, 201, 0.05);
}

.standings-table .position-3 {
    background: rgba(190, 137, 97, 0.05);
}

.position-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.position-1 .position-badge {
    background: #e8c45c;
    color: #261d08;
    font-weight: 700;
}

.position-2 .position-badge {
    background: #bdc4c7;
    color: #172126;
    font-weight: 700;
}

.position-3 .position-badge {
    background: #be8961;
    color: #261609;
    font-weight: 700;
}

.standings-team-name {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.standings-points {
    color: var(--gold-light);
    font-weight: 700;
    font-size: 17px !important;
}

.leader-tag {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 7px;
    color: #17251a;
    background: var(--gold);
    border-radius: 3px;
    font-size: 9px;
    letter-spacing: 1px;
}

.standings-empty {
    text-align: center;
    padding: 65px 20px;
}

.standings-empty h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    margin: 10px 0;
}

.standings-empty p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.scoring-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.scoring-info h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 33px;
    font-weight: 600;
    margin: 5px 0;
}

.scoring-badges {
    display: flex;
    gap: 30px;
}

.scoring-badges>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.scoring-badges span {
    font-size: 28px;
}

.scoring-badges strong {
    color: var(--gold-light);
    font-size: 13px;
}

.scoring-badges small {
    color: var(--muted);
    font-size: 11px;
}

@media (max-width: 850px) {
    .scoring-info {
        flex-direction: column;
        align-items: stretch;
    }

    .scoring-badges {
        justify-content: space-around;
    }
}

@media (max-width: 650px) {
    .results-intro {
        padding-top: 50px;
        padding-bottom: 35px;
    }

    .results-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .result-stat {
        padding: 20px 10px;
    }

    .result-stat>span {
        font-size: 43px;
    }

    .result-stat:last-child {
        grid-column: span 2;
    }

    .leader-highlight {
        padding: 20px;
        gap: 15px;
    }

    .leader-crown {
        font-size: 43px;
    }

    .leader-highlight h2 {
        font-size: 32px;
    }

    .standings-heading {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 20px;
    }

    .scoring-info {
        padding: 25px 15px;
    }

    .scoring-badges {
        gap: 10px;
    }
}


/* ==============================
   HISTORIE KVÍZŮ
============================== */

.quiz-history-page {
    min-height: 75vh;
    padding-bottom: 90px;
}

.quiz-history-intro {
    text-align: center;
    padding-top: 65px;
    padding-bottom: 50px;
}

.quiz-history-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(55px, 7vw, 95px);
    font-weight: 600;
    line-height: 1;
    margin: 15px 0;
}

.quiz-history-intro h1 span {
    color: var(--gold);
}

.quiz-history-intro>p:last-child {
    color: var(--muted);
    font-size: 15px;
    max-width: 550px;
    margin: 20px auto 0;
}

/* STATISTIKY */

.quiz-history-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.quiz-history-stat {
    text-align: center;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: linear-gradient(145deg, #173a2d, #071c16);
}

.quiz-history-stat>span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 58px;
    line-height: 1;
    color: var(--gold);
}

.quiz-history-stat p {
    color: var(--muted);
    font-size: 12px;
    margin: 10px 0 0;
}

/* KARTY KVÍZŮ */

.quiz-history-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.quiz-history-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(145deg, #173a2d, #071c16);
    transition:
        transform 0.2s,
        border-color 0.2s;
}

.quiz-history-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
}

.quiz-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.quiz-card-number {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.quiz-card-status {
    padding: 6px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
}

.quiz-card-status.completed {
    border-color: rgba(223, 185, 119, 0.4);
    color: var(--gold);
}

.quiz-card-date {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 10px;
}

.quiz-history-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.1;
    margin: 5px 0 15px;
    overflow-wrap: anywhere;
}

.quiz-card-description {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.quiz-card-divider {
    height: 1px;
    background: var(--border);
    margin: 25px 0;
    margin-top: auto;
}

.quiz-card-results-heading {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.quiz-card-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-result-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.12);
}

.quiz-result-medal {
    font-size: 20px;
    flex-shrink: 0;
}

.quiz-result-name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.quiz-result-score {
    color: var(--gold-light);
    font-size: 12px;
    white-space: nowrap;
}

.quiz-no-results {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 1px dashed var(--border);
    border-radius: 8px;
}

.quiz-no-results>span {
    color: var(--gold);
    font-size: 28px;
}

.quiz-no-results p {
    color: var(--muted);
    font-size: 12px;
    margin: 0;
}

/* PRÁZDNÁ HISTORIE */

.quiz-history-empty {
    text-align: center;
    padding: 70px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(145deg, #173a2d, #071c16);
}

.quiz-history-empty h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 45px;
    margin: 10px 0;
}

.quiz-history-empty p {
    color: var(--muted);
    font-size: 14px;
    max-width: 450px;
    margin: 0 auto 25px;
}

/* SPODNÍ BANNER */

.quiz-history-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 35px;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(223, 185, 119, 0.04);
}

.quiz-history-bottom h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    margin: 8px 0;
}

.quiz-history-bottom p:not(.eyebrow) {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

/* TABLET */

@media (max-width: 850px) {
    .quiz-history-grid {
        grid-template-columns: 1fr;
    }
}

/* MOBIL */

@media (max-width: 650px) {
    .quiz-history-intro {
        padding-top: 50px;
        padding-bottom: 35px;
    }

    .quiz-history-stats {
        gap: 10px;
    }

    .quiz-history-stat {
        padding: 20px 10px;
    }

    .quiz-history-stat>span {
        font-size: 43px;
    }

    .quiz-history-card {
        padding: 22px;
    }

    .quiz-history-card h2 {
        font-size: 32px;
    }

    .quiz-history-bottom {
        flex-direction: column;
        align-items: stretch;
        padding: 25px 20px;
    }

    .quiz-history-bottom .button {
        width: 100%;
    }
}


/* ==============================
   ADMINISTRACE – PŘIHLÁŠENÍ
============================== */

.admin-login-body {
    min-height: 100vh;
}

.admin-login-page {
    min-height: 75vh;
    display: flex;
    justify-content: center;
    padding: 65px 20px 90px;
}

.admin-login-container {
    width: 100%;
    max-width: 480px;
}

.admin-login-intro {
    text-align: center;
    margin-bottom: 35px;
}

.admin-login-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(55px, 7vw, 75px);
    font-weight: 600;
    line-height: 1;
    margin: 12px 0;
}

.admin-login-intro>p:last-child {
    color: var(--muted);
    font-size: 13px;
    margin-top: 15px;
}

.admin-login-card {
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(145deg,
            #173a2d,
            #071c16);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.admin-login-icon {
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 38px;
    background: rgba(223, 185, 119, 0.06);
}

.admin-login-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 10px;
}

.admin-login-subtitle {
    color: var(--muted);
    text-align: center;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 30px;
}

.admin-login-error {
    padding: 13px 15px;
    margin-bottom: 22px;
    border: 1px solid rgba(235, 125, 125, 0.4);
    border-radius: 6px;
    background: rgba(235, 125, 125, 0.09);
    color: #ffb4b4;
    font-size: 12px;
    line-height: 1.6;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.admin-login-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.admin-login-field label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.admin-login-field input {
    width: 100%;
    padding: 15px 17px;
    border: 1px solid var(--border);
    border-radius: 6px;
    outline: none;
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.admin-login-field input::placeholder {
    color: #82978a;
}

.admin-login-field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(223, 185, 119, 0.1);
}

.admin-login-button {
    width: 100%;
    margin-top: 7px;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
}

.admin-login-back {
    margin-top: 28px;
    padding-top: 23px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.admin-login-back a {
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.admin-login-back a:hover {
    color: var(--gold);
}

.admin-login-note {
    text-align: center;
    margin-top: 28px;
    color: var(--muted);
    font-size: 11px;
}

.admin-login-note span {
    color: var(--gold);
    margin-right: 5px;
}

@media (max-width: 650px) {
    .admin-login-page {
        padding: 50px 15px 70px;
    }

    .admin-login-card {
        padding: 28px 22px;
    }

    .admin-login-intro {
        margin-bottom: 28px;
    }

    .admin-login-card h2 {
        font-size: 35px;
    }
}


/* ==============================
   ADMIN DASHBOARD
============================== */

.admin-dashboard {
    padding-top: 55px;
    padding-bottom: 90px;
}

.admin-dashboard-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.admin-dashboard-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 600;
    line-height: 1;
    margin: 12px 0;
}

.admin-dashboard-intro h1 span {
    color: var(--gold);
}

.admin-dashboard-intro>div:first-child>p:last-child {
    color: var(--muted);
    font-size: 14px;
}

.admin-session {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 190px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #123024;
}

.admin-session>span {
    font-size: 11px;
    color: var(--muted);
}

.admin-session strong {
    overflow-wrap: anywhere;
}

.admin-logout-button {
    background: transparent;
    border: 0;
    color: var(--gold);
    cursor: pointer;
    padding: 5px 0;
    text-align: left;
    font: inherit;
    font-size: 12px;
}

.admin-logout-button:hover {
    text-decoration: underline;
}

/* ZPRÁVY */

.admin-notice {
    padding: 15px 18px;
    border-radius: 7px;
    margin-bottom: 22px;
    font-size: 13px;
}

.admin-notice-success {
    color: #ccebd6;
    border: 1px solid #49785a;
    background: #173a29;
}

.admin-notice-error {
    color: #ffc6c6;
    border: 1px solid #9c5555;
    background: #3b2020;
}

/* STATISTIKY */

.admin-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.admin-overview-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: linear-gradient(145deg,
            #173a2d,
            #071c16);
}

.admin-overview-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 58px;
    line-height: 1;
    color: var(--gold);
}

.admin-overview-card>span:last-child {
    font-size: 12px;
    color: var(--muted);
}

/* HLAVNÍ FORMULÁŘE */

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.admin-work-card,
.admin-recent-card {
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(145deg,
            #173a2d,
            #071c16);
}

.admin-work-heading {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-work-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 29px;
}

.admin-work-heading h2,
.admin-recent-heading h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.1;
    margin: 5px 0;
}

.admin-work-description {
    min-height: 60px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
    margin: 20px 0 25px;
}

.admin-work-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-form-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.admin-form-field label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.admin-form-field input,
.admin-form-field textarea,
.admin-form-field select {
    width: 100%;
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #0b211a;
    color: #f5eee0;
    font: inherit;
    font-size: 14px;
    color-scheme: dark;
}

.admin-form-field textarea {
    resize: vertical;
    min-height: 125px;
}

.admin-form-field input:focus,
.admin-form-field textarea:focus,
.admin-form-field select:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
}

.admin-form-field input::placeholder,
.admin-form-field textarea::placeholder {
    color: #82978a;
}

.admin-submit-button {
    width: 100%;
    margin-top: 4px;
    cursor: pointer;
}

.admin-submit-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.admin-form-help {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

/* POSLEDNÍ VÝSLEDKY */

.admin-recent-card {
    margin-top: 25px;
}

.admin-recent-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.admin-text-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 12px;
}

.admin-text-link:hover {
    text-decoration: underline;
}

.admin-recent-list {
    display: flex;
    flex-direction: column;
}

.admin-recent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.admin-recent-row:last-child {
    border-bottom: 0;
}

.admin-recent-row>div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.admin-recent-row strong {
    font-size: 14px;
    overflow-wrap: anywhere;
}

.admin-recent-row>div>span {
    color: var(--muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.admin-recent-score {
    flex-shrink: 0;
    color: var(--gold);
    font-weight: 700;
}

.admin-recent-empty {
    padding: 25px 0 0;
    color: var(--muted);
    font-size: 13px;
}

/* TABLET */

@media (max-width: 900px) {
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-work-description {
        min-height: 0;
    }
}

/* MOBIL */

@media (max-width: 650px) {
    .admin-dashboard {
        padding-top: 35px;
    }

    .admin-dashboard-intro {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-session {
        min-width: 0;
    }

    .admin-overview {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .admin-overview-card {
        padding: 18px;
    }

    .admin-overview-card:last-child {
        grid-column: span 2;
    }

    .admin-overview-number {
        font-size: 45px;
    }

    .admin-work-card,
    .admin-recent-card {
        padding: 22px;
    }

    .admin-recent-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ======================================
   SPRÁVA TÝMŮ – ADMIN
====================================== */

.admin-teams-page {
    padding-top: 55px;
    padding-bottom: 90px;
}

.admin-teams-intro {
    margin-bottom: 35px;
}

.admin-back-link {
    display: inline-block;
    color: var(--gold);
    text-decoration: none;
    font-size: 13px;
}

.admin-back-link:hover {
    text-decoration: underline;
}

.admin-teams-intro .eyebrow {
    margin-top: 35px;
}

.admin-teams-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 600;
    line-height: 1;
    margin: 12px 0;
}

.admin-teams-intro h1 span {
    color: var(--gold);
}

.admin-teams-intro>p:last-child {
    color: var(--muted);
    font-size: 14px;
}

.admin-teams-panel {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(145deg,
            #173a2d,
            #071c16);
}

.admin-teams-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.admin-teams-panel-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    margin: 8px 0 0;
}

.admin-teams-panel-header h2 span {
    color: var(--gold);
    font-size: 25px;
}

.admin-team-list {
    display: flex;
    flex-direction: column;
}

.admin-team-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 23px 0;
    border-bottom: 1px solid var(--border);
}

.admin-team-item:last-child {
    border-bottom: 0;
}

.admin-team-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.admin-team-number {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    min-width: 48px;
    height: 48px;
    padding: 0 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--gold);
    font-size: 13px;
}

.admin-team-meta>div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.admin-team-meta strong {
    font-size: 15px;
    overflow-wrap: anywhere;
}

.admin-team-meta>div>span {
    color: var(--muted);
    font-size: 12px;
}

.admin-team-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-team-edit-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-team-edit-form input {
    width: 200px;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #0b211a;
    color: #f5eee0;
    font: inherit;
    font-size: 13px;
}

.admin-team-edit-form input:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
}

.admin-team-save,
.admin-team-delete {
    padding: 11px 15px;
    border-radius: 6px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.admin-team-save {
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #071c16;
}

.admin-team-save:hover {
    filter: brightness(1.1);
}

.admin-team-delete {
    border: 1px solid #a65b5b;
    background: transparent;
    color: #ffb8b8;
}

.admin-team-delete:hover {
    background: #452424;
}

.admin-teams-empty {
    padding: 45px 0 15px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.admin-teams-warning {
    margin-top: 20px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

/* Přístupný skrytý popisek */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* TABLET */

@media (max-width: 1050px) {
    .admin-team-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-team-actions {
        width: 100%;
    }

    .admin-team-edit-form {
        flex: 1;
    }

    .admin-team-edit-form input {
        width: 100%;
    }
}

/* MOBIL */

@media (max-width: 650px) {
    .admin-teams-page {
        padding-top: 35px;
    }

    .admin-teams-panel {
        padding: 20px;
    }

    .admin-teams-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-team-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-team-edit-form {
        width: 100%;
    }

    .admin-team-delete-form {
        width: 100%;
    }

    .admin-team-delete {
        width: 100%;
    }
}

/* ======================================
   SPRÁVA KVÍZŮ – ADMIN
====================================== */

.admin-quizzes-page {
    padding-top: 55px;
    padding-bottom: 90px;
}

.admin-quizzes-intro {
    margin-bottom: 35px;
}

.admin-quizzes-intro .eyebrow {
    margin-top: 35px;
}

.admin-quizzes-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 600;
    line-height: 1;
    margin: 12px 0;
}

.admin-quizzes-intro h1 span {
    color: var(--gold);
}

.admin-quizzes-intro>p:last-child {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.admin-quizzes-panel {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(145deg,
            #173a2d,
            #071c16);
}

.admin-quizzes-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.admin-quizzes-panel-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    margin: 8px 0 0;
}

.admin-quizzes-panel-header h2 span {
    color: var(--gold);
    font-size: 25px;
}

.admin-quiz-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding-top: 25px;
}

.admin-quiz-item {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #0b211a;
}

.admin-quiz-item-header {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.admin-quiz-id {
    display: inline-block;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.admin-quiz-item-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 29px;
    font-weight: 600;
    margin: 8px 0;
    overflow-wrap: anywhere;
}

.admin-quiz-item-header p {
    color: var(--muted);
    font-size: 12px;
}

.admin-quiz-edit-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-quiz-description textarea {
    min-height: 110px;
}

.admin-quiz-form-actions {
    margin-top: 5px;
}

.admin-quiz-save {
    width: 100%;
    padding: 13px 18px;
    border: 1px solid var(--gold);
    border-radius: 6px;
    background: var(--gold);
    color: #071c16;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.admin-quiz-save:hover {
    filter: brightness(1.1);
}

.admin-quiz-delete-form {
    margin-top: 14px;
}

.admin-quiz-delete {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #a65b5b;
    border-radius: 6px;
    background: transparent;
    color: #ffb8b8;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.admin-quiz-delete:hover {
    background: #452424;
}

.admin-quizzes-empty {
    padding: 45px 0 15px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.admin-quizzes-warning {
    margin-top: 20px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

/* TABLET */

@media (max-width: 950px) {
    .admin-quiz-list {
        grid-template-columns: 1fr;
    }
}

/* MOBIL */

@media (max-width: 650px) {
    .admin-quizzes-page {
        padding-top: 35px;
    }

    .admin-quizzes-panel {
        padding: 20px;
    }

    .admin-quizzes-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-quiz-item {
        padding: 18px;
    }
}


/* ======================================
   ADMIN – RYCHLÁ SPRÁVA
====================================== */

.admin-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.admin-quick-link {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: linear-gradient(145deg, #173a2d, #071c16);
    color: #f5eee0;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.admin-quick-link:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.admin-quick-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 25px;
}

.admin-quick-link>div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.admin-quick-link strong {
    font-size: 15px;
}

.admin-quick-link>div>span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.admin-quick-arrow {
    margin-left: auto;
    color: var(--gold);
    font-size: 22px;
}

@media (max-width: 700px) {
    .admin-quick-links {
        grid-template-columns: 1fr;
    }

    .admin-quick-link {
        padding: 18px;
    }
}


/* SPRÁVA TÝMŮ – KAPITÁNI */

.admin-team-meta>div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-team-fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    flex: 1;
}

.admin-team-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1 1 180px;
    min-width: 0;
}

.admin-team-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.admin-team-edit-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.admin-team-field input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .admin-team-fields {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .admin-team-field {
        flex: none;
        width: 100%;
    }

    .admin-team-edit-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
}


/* ========================================
   KAPITÁNI TÝMŮ – VEŘEJNÝ SEZNAM
   ======================================== */

.team-captain {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 14px;
    line-height: 1.5;
}

.team-captain-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.team-captain strong {
    color: #DCC28C;
    font-size: 15px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.team-details {
    min-width: 0;
}

.team-details h2 {
    overflow-wrap: anywhere;
}