* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 154, 49, 0.25) #070c0f;
}

/* Webkit posuvníky (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #070c0f;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 154, 49, 0.25);
    border: 2px solid #070c0f;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d49a31;
}

body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background: #070c0f;
    /* Tmavé břidlicové pozadí dle specifikace */
    color: #ece9e3;
    /* Tlumená krémově bílá */
}


.container {
    width: min(1400px, 94%);
    margin: 0 auto;
}

/* Hlavičková sekce */
.topbar-section {
    background: rgba(7, 16, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s, border-color 0.3s;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.brand-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.08) rotate(-3deg);
    filter: drop-shadow(0 0 8px rgba(212, 154, 49, 0.4));
}

.brand-text {
    display: grid;
    font-weight: 800;
    line-height: 1;
}

.brand-text span:last-child {
    color: #d49a31;
}

.menu {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Badge pro upozornění v navigaci (skupiny, žádosti) */
.nav-badge {
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 10px;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 15px;
    min-width: 15px;
    box-sizing: border-box;
    vertical-align: middle;
}

.menu a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.menu a.active {
    color: #e5a93b;
    background: rgba(212, 154, 49, 0.12);
    border-color: rgba(212, 154, 49, 0.25);
    text-shadow: 0 0 8px rgba(212, 154, 49, 0.2);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.link-login {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.link-login:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

@keyframes beer-bubble-rise {
    0% {
        background-position: 0px 0px, 0px 0px, 0 0;
    }

    100% {
        background-position: 0px -40px, 15px -60px, 0 0;
    }
}

.btn-add-beer {
    background: linear-gradient(135deg, #c68a24 0%, #d49a31 50%, #e5a93b 100%);
    border: 1px solid rgba(212, 154, 49, 0.5);
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 800;
    color: #111417;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(212, 154, 49, 0.15);
}

.btn-add-beer:hover {
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.2) 10%, transparent 11%),
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 15%, transparent 16%),
        linear-gradient(135deg, #e5a93b 0%, #f59e0b 100%);
    background-size: 20px 20px, 30px 30px, 100% 100%;
    animation: beer-bubble-rise 1.2s infinite linear;
    border-color: #f59e0b;
    color: #000;
    transform: translateY(-2.5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(212, 154, 49, 0.35), 0 0 12px rgba(212, 154, 49, 0.2);
}

.btn-add-beer:active {
    transform: translateY(-0.5px) scale(0.99);
}

.profile {
    border-left: 1px solid rgba(255, 255, 255, .25);
    padding-left: 12px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
}

/* Dropdown pro profil */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: #11161a;
    min-width: 160px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.35);
    z-index: 50;
    margin-top: 8px;
}

.dropdown-content a {
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.dropdown-content a.admin-link {
    color: #d49a31;
    font-weight: bold;
}

.dropdown-content a.logout-link {
    color: #f87171;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-dropdown:hover .dropdown-content {
    display: block;
}

/* Mobilní hamburger */
.hamburger-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* Mobilní menu dropdown */
.mobile-menu-dropdown {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: #0f181c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    margin-top: 10px;
    margin-bottom: 16px;
}

.mobile-menu-dropdown.open {
    display: flex;
}

.mobile-menu-dropdown a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-dropdown a:last-child {
    border-bottom: none;
}

.mobile-menu-dropdown a.active {
    color: #d49a31;
    font-weight: bold;
}

.mobile-add-beer {
    color: #d49a31 !important;
    font-weight: bold;
}

.mobile-admin-link {
    color: #e5a93b !important;
    font-weight: bold;
}

.mobile-logout-link {
    color: #f87171 !important;
}

/* Hero sekce */
.hero {
    background:
        radial-gradient(900px 400px at 58% 18%, rgba(212, 154, 49, 0.12), transparent 70%),
        linear-gradient(180deg, #070c0f 0%, #0b1216 100%);
    color: #fff;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    padding: 40px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 36px;
    align-items: center;
}

.hero-copy h1 {
    margin: 0;
    font-size: 76px;
    line-height: .95;
    font-weight: 800;
}

.hero-copy h1 span {
    color: #d49a31;
}

.hero-copy p {
    color: rgba(255, 255, 255, .9);
    line-height: 1.55;
    margin: 26px 0;
    max-width: 350px;
    font-size: 20px;
    /* Upraveno z 29px na čitelnější velikost */
}

.hero-buttons {
    display: flex;
    gap: 14px;
}

.btn {
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, .25);
    padding: 12px 18px;
    font-weight: 700;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #c68a24 0%, #d49a31 50%, #e5a93b 100%);
    border-color: rgba(212, 154, 49, 0.5);
    color: #111417;
    box-shadow: 0 4px 12px rgba(212, 154, 49, 0.15);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.2) 10%, transparent 11%),
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 15%, transparent 16%),
        linear-gradient(135deg, #e5a93b 0%, #f59e0b 100%);
    background-size: 20px 20px, 30px 30px, 100% 100%;
    animation: beer-bubble-rise 1.2s infinite linear;
    border-color: #f59e0b;
    color: #000;
    transform: translateY(-2.5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(212, 154, 49, 0.35), 0 0 12px rgba(212, 154, 49, 0.2);
}

.btn-primary:active {
    transform: translateY(-0.5px) scale(0.99);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    border-color: #d49a31;
    color: #d49a31;
    background: rgba(212, 154, 49, 0.05);
    box-shadow: 0 0 15px rgba(212, 154, 49, 0.15);
    transform: translateY(-1.5px);
}

.map-wrap {
    position: relative;
    min-height: 430px;
}

.map-shape {
    position: absolute;
    inset: 35px 90px 40px 20px;
    background:
        radial-gradient(700px 300px at 50% 20%, rgba(212, 154, 49, 0.08), transparent 80%),
        radial-gradient(500px 220px at 50% 60%, rgba(28, 40, 48, 0.6), rgba(15, 23, 28, 0.95));
    border-radius: 41% 49% 46% 42% / 52% 45% 55% 48%;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), 0 0 55px rgba(0, 0, 0, .35);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px 20px;
    padding: 56px 44px;
    align-content: center;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #dcd9d0;
    justify-self: center;
}

.dot.gold {
    background: #d49a31;
}

.dot.hollow {
    border: 2px solid #e6e1d7;
    background: transparent;
}

.zoom-panel {
    position: absolute;
    right: 18px;
    top: 88px;
    width: 46px;
    background: rgba(15, 23, 27, .92);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    padding: 10px 8px;
    display: grid;
    gap: 10px;
}

.zoom-panel button {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, .9);
    font-size: 20px;
    cursor: pointer;
}

.legend {
    position: absolute;
    right: 10px;
    bottom: 26px;
    width: 218px;
    background: rgba(19, 28, 33, .92);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    padding: 16px;
    font-size: 16px;
    display: grid;
    gap: 10px;
}

.legend>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 10px;
}

.legend-dot.gold {
    background: #d49a31;
}

.legend-dot.hollow {
    border: 2px solid #e5ddd0;
}

.legend-dot.star,
.legend-dot.beer {
    border-radius: 0;
    width: auto;
    height: auto;
}

/* Statistiky */
.stats-strip {
    margin-top: -8px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    background: #11161a;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 14px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.stats-grid article {
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid article:last-child {
    border-right: none;
}

.stats-grid strong {
    display: block;
    font-size: 44px;
    line-height: 1;
    color: #fff;
    font-weight: 800;
}

.stats-grid span {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* Obsahová část */
.content {
    margin-top: 16px;
    display: grid;
    gap: 14px;
}

.cards-row {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 14px;
}

.card {
    background: #11161a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
}

.card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card h2 {
    margin: 0;
    font-size: 24px;
    color: #fff;
}

.card a {
    color: #d49a31;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.2s;
}

.card a:hover {
    color: #e5a93b;
}

.place-item {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 12px;
    align-items: center;
}

.place-item img {
    width: 92px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
}

.place-item h3 {
    margin: 0 0 4px;
    font-size: 24px;
    color: #fff;
}

.place-item p,
.place-item small,
.place-item time {
    color: rgba(255, 255, 255, 0.7);
}

.timeline {
    background:
        radial-gradient(600px 180px at 55% 50%, rgba(212, 154, 49, 0.1), transparent 70%),
        linear-gradient(180deg, #11161a, #0b0f12);
    color: #fff;
}

.timeline a,
.timeline h2 {
    color: #fff;
}

.timeline .line {
    margin-top: 52px;
    border-top: 2px dashed rgba(255, 255, 255, .55);
}

.steps {
    margin-top: -26px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.step {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .75);
    display: grid;
    place-items: center;
    background: #1e262c;
    margin-bottom: 12px;
}

.step.active {
    background: #d49a31;
    border-color: #d49a31;
    color: #1d1b16;
}

.steps small {
    color: rgba(255, 255, 255, .95);
    font-size: 18px;
    line-height: 1.35;
}

.community-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.community-grid:not(.premium) div {
    display: grid;
    gap: 4px;
}

.community-grid:not(.premium) span,
.community-grid:not(.premium) small {
    color: rgba(255, 255, 255, 0.6);
}

/* Newsletter */
.newsletter {
    margin-top: 16px;
    background:
        radial-gradient(700px 220px at 30% 40%, rgba(212, 154, 49, 0.1), transparent 75%),
        linear-gradient(180deg, #11161a, #0b0f12);
    color: #fff;
    padding: 24px 0;
}

.newsletter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.newsletter h3,
.newsletter p {
    margin: 0;
}

.newsletter p {
    margin-top: 6px;
    color: rgba(255, 255, 255, .84);
}

.newsletter form {
    display: flex;
    gap: 12px;
}

.newsletter input {
    width: 340px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    padding: 14px 14px;
}

.newsletter button {
    border: 1px solid rgba(212, 154, 49, 0.5);
    border-radius: 8px;
    background: linear-gradient(135deg, #c68a24 0%, #d49a31 50%, #e5a93b 100%);
    color: #111417;
    font-weight: 800;
    padding: 0 26px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(212, 154, 49, 0.15);
}

.newsletter button:hover {
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.2) 10%, transparent 11%),
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 15%, transparent 16%),
        linear-gradient(135deg, #e5a93b 0%, #f59e0b 100%);
    background-size: 20px 20px, 30px 30px, 100% 100%;
    animation: beer-bubble-rise 1.2s infinite linear;
    border-color: #f59e0b;
    color: #000;
    transform: translateY(-2.5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(212, 154, 49, 0.35), 0 0 12px rgba(212, 154, 49, 0.2);
}

.newsletter button:active {
    transform: translateY(-0.5px) scale(0.99);
}

/* Patička */
.footer {
    background: linear-gradient(180deg, #0b0f12, #070a0c);
    color: #ece9e3;
    padding: 56px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.footer-brand-column {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.25s ease;
}

.footer-socials a:hover {
    color: #d49a31;
    border-color: #d49a31;
    background: rgba(212, 154, 49, 0.08);
    transform: translateY(-2px);
}

.footer-links {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-links h4 {
    margin: 0 0 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: #d49a31;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #d49a31;
    transform: translateX(4px);
}

.footer-links a.footer-link-highlight {
    color: #d49a31;
    font-weight: 600;
}

.footer-links a.footer-link-highlight:hover {
    color: #e5a93b;
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

a.footer-contact-item:hover {
    color: #d49a31;
    transform: translateX(4px);
}

.footer-contact-item .contact-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.footer-mountains {
    flex: 1.3;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    min-width: 220px;
    height: 120px;
    opacity: 0.8;
}

.footer-mountains-svg {
    width: 100%;
    max-width: 260px;
    height: auto;
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #d49a31;
}

/* Responzivní design */
@media (max-width: 1200px) {
    .menu {
        display: none;
    }

    .hamburger-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .cards-row {
        grid-template-columns: 1fr;
    }

    .community-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        flex-direction: column;
        gap: 36px;
    }

    .footer-mountains {
        align-self: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .map-wrap {
        display: none;
    }

    .topbar {
        flex-wrap: nowrap;
        gap: 16px;
    }

    .top-actions .btn-add-beer,
    .top-actions .profile-dropdown,
    .top-actions .link-login,
    .top-actions .btn-primary {
        display: none !important;
    }

    .hero-copy h1 {
        font-size: 44px;
    }

    .hero-copy p {
        font-size: 18px;
    }

    .hero-buttons,
    .newsletter-row,
    .newsletter form {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .hero-buttons a,
    .newsletter form input,
    .newsletter form button {
        width: 100% !important;
    }

    .community-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 32px 0 16px !important;
    }

    .footer-main {
        gap: 20px !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-brand-column {
        gap: 8px !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .footer-mountains {
        display: none !important;
    }

    .footer-links {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100%;
        text-align: center !important;
    }

    .footer-col-quick,
    .footer-col-user {
        display: none !important;
    }

    .footer-links h4 {
        margin: 0 0 12px !important;
        display: inline-block !important;
    }

    .footer-links h4::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .footer-links a {
        margin-bottom: 6px !important;
    }

    .footer-contact-item {
        justify-content: center !important;
    }

    .footer-bottom {
        margin-top: 24px !important;
        padding-top: 16px !important;
        flex-direction: column;
        gap: 12px;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-legal {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .footer-bottom a {
        margin: 0 !important;
    }

    .stats-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 16px 8px !important;
        padding: 16px 12px !important;
        border-radius: 16px !important;
    }

    .stats-grid article {
        flex: 0 1 calc(33.333% - 8px) !important;
        min-width: 90px !important;
        border-right: none !important;
        border-bottom: none !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .stats-grid article div {
        height: 28px !important;
        margin-bottom: 2px !important;
    }

    .stats-grid article svg {
        width: 24px !important;
        height: 24px !important;
    }

    .stats-grid strong {
        font-size: 22px !important;
        margin-top: 2px !important;
    }

    .stats-grid span {
        font-size: 10px !important;
        line-height: 1.15 !important;
        margin-top: 2px !important;
    }

    /* Komunitní aktivita - mobilní swipeable pás */
    .card.community {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .community-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 14px !important;
        padding-bottom: 8px !important;
        grid-template-columns: none !important;
        scrollbar-width: none;
        width: 100% !important;
        max-width: 100% !important;
    }

    .community-grid::-webkit-scrollbar {
        display: none;
    }

    .community-card {
        flex: 0 0 270px !important;
        scroll-snap-align: start !important;
    }

    .community-card-img-wrap {
        height: 120px !important;
    }

    .community-card-content {
        padding: 12px !important;
        gap: 10px !important;
    }

    .community-place-title {
        font-size: 17px !important;
    }
}

@media (max-width: 576px) {
    .auth-card {
        padding: 24px 20px !important;
    }
}

@media (max-width: 480px) {
    .hero-copy h1 {
        font-size: 34px !important;
    }

    .hero-copy p {
        font-size: 15px !important;
    }
}

/* Pomocná třída pro scrollovatelné tabulky na mobilu */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}


/* Leaflet Mapa ČR a Dark Mode Filtr */
#mapa-cr {
    width: 100%;
    height: 430px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), 0 0 35px rgba(0, 0, 0, .4);
    z-index: 10;
}

.map-wrap {
    position: relative;
    width: 100%;
    max-width: 820px;
    /* Zvětšeno z 780px na 820px */
    aspect-ratio: 800 / 456;
    /* Přesný poměr stran pro nový viewBox 800x456 */
    margin: 0 auto;
    overflow: visible;
}

.map-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.7));
}

/* Úprava barev a ohraničení obrysu krajů ČR */
.map-wrap svg>path {
    fill: #131a1e;
    /* Tmavá břidlicově šedá */
    stroke: #232f35;
    /* Hranice krajů z mockupu */
    stroke-width: 1.5px;
    /* Hranice krajů upravené pro nový viewBox 800x456 */
    stroke-linejoin: round;
    transition: fill 0.25s, stroke 0.25s;
    cursor: pointer;
}

/* Zvýraznění kraje na hover */
.map-wrap svg path:hover,
.map-wrap svg path.hover-highlight,
.map-wrap svg use {
    fill: #1c2830 !important;
    stroke: #d49a31 !important;
    /* Hranice na hover jantarová */
    stroke-width: 2px !important;
    stroke-linejoin: round;
    cursor: pointer !important;
}

/* Stylizované pivní piny na mapě */
.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 20;
    user-select: none;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
}

.map-pin.beer-pin {
    font-size: 26px;
    /* Velikost pivního emoji */
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
    animation: markerBounce 0.3s ease-out;
}

.map-pin.beer-pin:hover {
    transform: translate(-50%, -50%) scale(1.3);
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(212, 154, 49, 0.8));
}

.leaflet-container {
    background: #0b0f12 !important;
    font-family: inherit !important;
}

.dark-tiles .leaflet-tile-container {
    filter: invert(100%) hue-rotate(180deg) brightness(85%) contrast(95%);
}

.leaflet-bar {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.leaflet-bar a {
    background-color: #11161a !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: background 0.2s;
}

.leaflet-bar a:hover {
    background-color: #1c2329 !important;
}

.leaflet-popup-content-wrapper {
    background: #11161a !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

.leaflet-popup-tip {
    background: #11161a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Custom ikony pro špendlíky na mapě */
.marker-beer-mug {
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    animation: markerBounce 0.3s ease-out;
}

.marker-tourist-green {
    font-size: 16px;
    color: #82be6c;
    text-shadow: 0 0 3px #000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: markerBounce 0.3s ease-out;
}

@keyframes markerBounce {
    0% {
        transform: translateY(-10px) scale(0.8);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Auth sekce (Registrace / Přihlášení) */
.auth-section {
    min-height: calc(100vh - 250px);
    display: grid;
    place-items: center;
    padding: 60px 0;
    background: radial-gradient(800px 400px at 50% 50%, rgba(212, 154, 49, 0.05), transparent 85%);
}

.auth-container {
    width: min(1000px, 94%);
}

.auth-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
}

.auth-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-visual-content {
    max-width: 480px;
}

.auth-visual-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 12px rgba(212, 154, 49, 0.25));
}

.auth-visual h1 {
    font-size: 44px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.5px;
}

.auth-visual h1 span {
    color: #d49a31;
}

.auth-visual-tagline {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 36px;
}

.auth-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.auth-features li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 24px;
    background: rgba(212, 154, 49, 0.1);
    border: 1px solid rgba(212, 154, 49, 0.2);
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.auth-features li strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.auth-features li p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

@media (max-width: 960px) {
    .auth-container {
        width: min(450px, 92%);
    }

    .auth-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-visual {
        display: none;
    }
}

.auth-card {
    background: rgba(17, 22, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 154, 49, 0.05);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo-wrap {
    margin-bottom: 16px;
}

.auth-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 154, 49, 0.25));
}

.auth-header h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.auth-header p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

.auth-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 16px;
    pointer-events: none;
    user-select: none;
}

.input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px 12px 42px;
    font-size: 15px;
    color: #fff;
    font-family: inherit;
    transition: all 0.25s ease;
}

.input-wrapper input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: #d49a31;
    box-shadow: 0 0 10px rgba(212, 154, 49, 0.15);
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-group-checkbox input[type="checkbox"] {
    accent-color: #d49a31;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.form-group-checkbox label {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    user-select: none;
}

.form-group-checkbox label a {
    color: #d49a31;
    text-decoration: none;
    font-weight: 600;
}

.form-group-checkbox label a:hover {
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 800;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(212, 154, 49, 0.2);
}

.btn-auth:hover {
    transform: translateY(-2.5px) scale(1.02) !important;
    box-shadow: 0 8px 20px rgba(212, 154, 49, 0.35), 0 0 12px rgba(212, 154, 49, 0.2) !important;
}

.auth-card-footer {
    margin-top: 28px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}

.auth-card-footer p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.auth-card-footer p a {
    color: #d49a31;
    text-decoration: none;
    font-weight: 600;
}

.auth-card-footer p a:hover {
    text-decoration: underline;
}

/* Auth chybové hlášky */
.auth-errors {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.auth-errors ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.auth-errors li {
    font-size: 13px;
    font-weight: 500;
    color: #fca5a5;
    line-height: 1.4;
}

/* Dokončení registrace přes Google – sdílí základní auth formuláře. */
.google-registration .auth-card { min-width: 0; }
.google-registration-illustration { width: 100%; max-width: 440px; height: auto; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.08); }
.google-registration-account { display: flex; gap: 12px; align-items: center; padding: 14px; margin-bottom: 24px; border: 1px solid rgba(52, 211, 153, 0.2); border-radius: 12px; background: rgba(52, 211, 153, 0.06); }
.google-registration-check { flex: 0 0 32px; height: 32px; display: grid; place-items: center; color: #6ee7b7; background: rgba(52, 211, 153, 0.12); border-radius: 50%; }
.google-registration-account > div { min-width: 0; }
.google-registration-account strong { display: block; font-size: 13px; color: #6ee7b7; margin-bottom: 4px; }
.google-registration-account div > span { display: block; color: #cbd5e1; font-size: 13px; overflow-wrap: anywhere; }
.google-registration-hint { margin: 0; color: #94a3b8; font-size: 12px; line-height: 1.5; }
.google-registration-captcha { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 2px 0 4px; }
.google-registration-captcha img { display: block; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; }
.google-registration-refresh { min-height: 44px; padding: 8px 10px; border: 1px solid rgba(212, 154, 49, 0.3); border-radius: 8px; background: rgba(212, 154, 49, 0.08); color: #e5b85d; font: inherit; font-size: 13px; cursor: pointer; }
.google-registration-refresh:hover { background: rgba(212, 154, 49, 0.16); }
.google-registration-refresh:focus-visible { outline: 2px solid #d49a31; outline-offset: 3px; }
.google-registration #google-captcha { text-transform: uppercase; letter-spacing: 2px; }
.google-registration #google-captcha::placeholder { text-transform: none; letter-spacing: normal; }
.google-registration .form-group-checkbox input { flex-shrink: 0; }
@media (max-width: 600px) {
    .google-registration { padding: 28px 0; }
    .google-registration .auth-card { padding: 28px 22px; }
}

/* Alternativní přihlášení: samostatné Google tlačítko pod hlavním formulářem. */
.auth-alternative-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0 18px;
    color: #94a3b8;
    font-size: 12px;
}
.auth-alternative-divider::before, .auth-alternative-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
}
.google-auth-form { margin: 0; }
.google-auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 50px;
    padding: 10px 16px;
    border: 1px solid #8e918f;
    border-radius: 10px;
    background: #131314;
    color: #e3e3e3;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.google-auth-button:hover { background: #202124; border-color: #c4c7c5; }
.google-auth-button:focus-visible { outline: 2px solid #d49a31; outline-offset: 4px; }
.google-auth-logo { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.google-auth-logo img { display: block; width: 20px; height: 20px; }

/* Profilová fotka: náhled, zdroje a oddělené akce. */
.avatar-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
}
.avatar-card .auth-header { margin-bottom: 24px; }
.avatar-preview-wrap { display: flex; justify-content: center; margin-bottom: 28px; }
.avatar-preview {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    padding: 3px;
    border: 1px solid rgba(212, 154, 49, 0.7);
    border-radius: 50%;
    background: #11191e;
    box-shadow: 0 0 0 7px rgba(212, 154, 49, 0.05);
    color: #e5b85d;
    font: inherit;
    font-size: 36px;
    font-weight: 700;
    cursor: pointer;
}
.avatar-preview img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar-sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.avatar-source-form { min-width: 0; margin: 0; }
.avatar-source {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    height: 124px;
    padding: 16px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    color: #ece9e3;
    font: inherit;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.avatar-source:hover { background: rgba(255, 255, 255, 0.055); border-color: rgba(255, 255, 255, 0.3); }
.avatar-source-upload { border-color: rgba(212, 154, 49, 0.38); background: rgba(212, 154, 49, 0.045); }
.avatar-source-upload:hover { background: rgba(212, 154, 49, 0.1); border-color: #d49a31; }
.avatar-source-icon { display: grid; place-items: center; width: 30px; height: 30px; color: #e5b85d; margin-bottom: 3px; }
.avatar-source-icon svg { width: 25px; height: 25px; }
.avatar-source-icon-google { border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; color: #fff; font-size: 20px; font-weight: 700; }
.avatar-source-title { font-size: 14px; font-weight: 650; line-height: 1.3; }
.avatar-source-description { font-size: 12px; font-weight: 400; color: #94a3b8; line-height: 1.4; }
.avatar-format-hint { text-align: center; margin: 14px 0 0; font-size: 12px; color: #94a3b8; }
.avatar-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; margin-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.avatar-actions form { margin: 0; }
.avatar-action { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: #cbd5e1; font: inherit; font-size: 13px; cursor: pointer; }
.avatar-action svg { width: 17px; height: 17px; flex-shrink: 0; }
.avatar-action:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.avatar-action-delete { color: #f29292; }
.avatar-action-delete:hover { background: rgba(239, 68, 68, 0.08); color: #fca5a5; }
.avatar-source:focus-visible, .avatar-preview:focus-visible, .avatar-action:focus-visible { outline: 2px solid #d49a31; outline-offset: 4px; }

/* Profilový dropdown v záhlaví (topbar) */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-dropdown .profile {
    color: #cbd5e1;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    background-color: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(51, 65, 85, 0.4);
    transition: all 0.2s ease;
    user-select: none;
}

.profile-dropdown .profile:hover {
    color: #d49a31;
    border-color: #d49a31;
    background-color: rgba(30, 41, 59, 0.8);
}

.profile-dropdown .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background-color: #11161a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    min-width: 170px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: hidden;
}

.profile-dropdown .dropdown-content a {
    color: rgba(255, 255, 255, 0.75);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-dropdown .dropdown-content a:last-child {
    border-bottom: none;
}

.profile-dropdown .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #d49a31;
}

.profile-dropdown:hover .dropdown-content {
    display: block;
}

/* Bridge the 8px hover gap to keep the dropdown open when moving cursor down */
.profile-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    display: none;
    z-index: 999;
}

.profile-dropdown:hover::after {
    display: block;
}

/* Styly pro detail místa (samostatná stránka a modal na mapě) */
.detail-page-container {
    padding: 50px 0;
    background: radial-gradient(800px 400px at 50% 0%, rgba(212, 154, 49, 0.08), transparent 85%), #0d1013;
    min-height: calc(100vh - 80px);
}

.detail-card {
    background: rgba(23, 27, 31, 0.7);
    border: 1px solid rgba(212, 154, 49, 0.15);
    /* Svítící jantarový okraj */
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 45px rgba(212, 154, 49, 0.05);
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    position: relative;
}

.detail-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(17, 22, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.detail-modal-close:hover {
    background: #d49a31;
    color: #11161a;
    border-color: #d49a31;
    transform: scale(1.1);
}

.detail-photo-side {
    background: rgba(0, 0, 0, 0.35);
    border-right: 1px solid rgba(212, 154, 49, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 450px;
    position: relative;
    overflow: hidden;
}

.detail-photo-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
}

.detail-slider-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.2s ease;
    opacity: 1;
}

.slider-arrow {
    position: absolute;
    background: rgba(17, 22, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-size: 20px;
    font-weight: bold;
    border-style: solid;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    opacity: 1;
    background: #d49a31 !important;
    border-color: #d49a31 !important;
    color: #16120d !important;
    transform: scale(1.1);
}

.slider-arrow.prev {
    left: 15px;
}

.slider-arrow.next {
    right: 15px;
}

.slider-thumbnails {
    display: flex;
    gap: 8px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    z-index: 50;
    flex-wrap: wrap;
    background: rgba(17, 22, 26, 0.6);
    padding: 6px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.slider-thumb-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.slider-thumb-btn:hover {
    opacity: 0.8;
    border-color: rgba(212, 154, 49, 0.5);
}

.slider-thumb-btn.active {
    opacity: 1;
    border-color: #d49a31;
}

/* Lightbox styl pro zvětšení fotky */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 12, 15, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lightbox-modal.active {
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

/* Přiblížení se týká pouze fotky, nikoli celé stránky ve WebView. */
.lightbox-modal.photo-zoom-enabled {
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: contain;
}

.lightbox-modal.photo-zoom-enabled .lightbox-content {
    transition: none;
    transform-origin: center;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.lightbox-modal.photo-zoom-enabled .lightbox-close {
    z-index: 10012;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

.lightbox-close:hover {
    background: #dc2626;
    border-color: #dc2626;
    transform: rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 36px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10010;
    user-select: none;
    border-style: solid;
}

.lightbox-arrow:hover {
    background: #d49a31;
    border-color: #d49a31;
    color: #16120d;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow.prev {
    left: 32px;
}

.lightbox-arrow.next {
    right: 32px;
}

@media (max-width: 768px) {
    .lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    .lightbox-arrow.prev {
        left: 12px;
    }

    .lightbox-arrow.next {
        right: 12px;
    }
}

.detail-photo-side::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(212, 154, 49, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.detail-photo-side img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.detail-info-side {
    padding: 50px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.detail-info-side h1 {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.beer-divider {
    height: 3px;
    width: 70px;
    background: linear-gradient(90deg, #d49a31, transparent);
    border-radius: 2px;
    margin-bottom: 26px;
}

.detail-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.beer-badge-card {
    background: linear-gradient(135deg, rgba(212, 154, 49, 0.12) 0%, rgba(212, 154, 49, 0.02) 100%);
    border-left: 4px solid #d49a31;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.detail-label {
    font-size: 10px;
    font-weight: 800;
    color: rgba(212, 154, 49, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.detail-value-beer {
    font-size: 21px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.detail-description-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    margin-top: 4px;
}

.detail-description-box::before {
    content: '“';
    position: absolute;
    top: -12px;
    left: 12px;
    font-size: 64px;
    color: rgba(212, 154, 49, 0.18);
    font-family: serif;
    line-height: 1;
}

.detail-description-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    white-space: pre-wrap;
    font-style: italic;
    padding-left: 8px;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.detail-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    margin-top: 10px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.beer-mug-placeholder {
    width: 100px;
    height: 130px;
    border: 8px solid rgba(255, 255, 255, 0.12);
    border-top: none;
    border-radius: 0 0 22px 22px;
    position: relative;
    background: linear-gradient(to top, #d49a31 78%, transparent 78%);
    margin-right: 18px;
    box-shadow: inset 10px 0 0 rgba(0, 0, 0, 0.12);
}

.beer-mug-placeholder::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 75px;
    border: 8px solid rgba(255, 255, 255, 0.12);
    border-left: none;
    border-radius: 0 20px 20px 0;
    right: -38px;
    top: 18px;
}

.beer-mug-foam {
    position: absolute;
    width: 116px;
    height: 28px;
    background: #fff;
    border-radius: 16px;
    top: 18px;
    left: -16px;
    box-shadow: 0 -5px 0 rgba(255, 255, 255, 0.05),
        8px -4px 0 #fff,
        25px -7px 0 #fff,
        50px -4px 0 #fff,
        70px -7px 0 #fff,
        90px -4px 0 #fff,
        105px -5px 0 #fff;
    animation: foam-bubbling 2.5s infinite ease-in-out;
}

@media (max-width: 992px) {
    .detail-card {
        grid-template-columns: 1fr;
    }

    .detail-photo-side {
        border-right: none;
        border-bottom: 1px solid rgba(212, 154, 49, 0.08);
        padding: 0;
        min-height: 350px;
    }

    .detail-info-side {
        padding: 35px 30px;
    }

    .detail-info-side h1 {
        font-size: 28px;
        margin-bottom: 4px;
    }

    .beer-divider {
        margin-bottom: 22px;
    }

    .detail-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@keyframes spin-beer {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Instalační stránka (PWA) */
.install-section {
    padding: 60px 0;
    background: radial-gradient(800px 400px at 50% 0%, rgba(212, 154, 49, 0.08), transparent 85%), #070c0f;
    min-height: calc(100vh - 80px);
}

.install-hero {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.install-badge {
    display: inline-block;
    background: rgba(212, 154, 49, 0.1);
    border: 1px solid rgba(212, 154, 49, 0.25);
    color: #d49a31;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 1.5px;
}

.install-hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
    line-height: 1.15;
}

.install-hero h1 span {
    color: #d49a31;
}

.install-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0;
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.benefit-card {
    background: rgba(17, 22, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 154, 49, 0.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 154, 49, 0.05);
}

.benefit-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
}

.benefit-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0;
}

.device-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.device-guide-card {
    background: rgba(17, 22, 26, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

/* Třída pro zvýrazněnou kartu podle detekovaného OS */
.device-guide-card.guide-active {
    background: rgba(212, 154, 49, 0.04);
    border-color: rgba(212, 154, 49, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(212, 154, 49, 0.06);
}

.device-guide-card.guide-active::before {
    content: "Doporučeno pro tvé zařízení";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #d49a31;
    color: #111;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(212, 154, 49, 0.3);
}

.device-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.device-icon {
    font-size: 28px;
}

.device-guide-card h2 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.device-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
    margin: 0 0 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 16px;
}

.device-steps {
    margin-bottom: auto;
}

.device-steps ol {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 14px;
}

.device-steps li {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}

.device-steps li strong {
    color: #fff;
}

.install-action-wrapper {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pwa-install-page-btn {
    width: 100%;
    background: linear-gradient(135deg, #c68a24 0%, #d49a31 50%, #e5a93b 100%);
    border: 1px solid rgba(212, 154, 49, 0.5);
    border-radius: 10px;
    color: #111417;
    font-weight: 800;
    font-size: 14.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(212, 154, 49, 0.25);
}

.pwa-install-page-btn:hover {
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.2) 10%, transparent 11%),
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 15%, transparent 16%),
        linear-gradient(135deg, #e5a93b 0%, #f59e0b 100%);
    background-size: 20px 20px, 30px 30px, 100% 100%;
    animation: beer-bubble-rise 1.2s infinite linear;
    border-color: #f59e0b;
    color: #000;
    transform: translateY(-2.5px) scale(1.02);
    box-shadow: 0 6px 20px rgba(212, 154, 49, 0.35);
}

.pwa-install-page-btn:active {
    transform: translateY(-0.5px) scale(0.99);
}

.pwa-install-fallback {
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    padding: 14px;
    border-radius: 10px;
    text-align: center;
}

.ios-alert {
    margin-top: 32px;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(212, 154, 49, 0.04);
    border: 1px solid rgba(212, 154, 49, 0.15);
    padding: 12px;
    border-radius: 10px;
}

.desktop-split {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 10px;
}

.desktop-instructions h4,
.qr-code-container h4 {
    font-size: 13px;
    font-weight: 700;
    color: #d49a31;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.desktop-instructions ol {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.desktop-instructions li {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-box {
    background: #11161a;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    width: 140px;
    height: 140px;
    margin: 0 auto 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.qr-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.qr-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-family: monospace;
}

/* Responsivita pro instalaci */
@media (max-width: 992px) {
    .benefit-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .device-guide-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .device-guide-card {
        padding: 24px;
    }
}

/* ==========================================================================
   VYHLEDÁVÁNÍ V HLAVIČCE (SEARCH OVERLAY MODAL)
   ========================================================================== */
.search-trigger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.search-trigger-btn:hover {
    color: #e5a93b;
    transform: scale(1.1);
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 12, 15, 0.88);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

@media (min-width: 768px) {
    .search-overlay {
        padding-top: 15vh;
    }
}

.search-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.search-overlay-content {
    width: min(650px, 92%);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-overlay.open .search-overlay-content {
    transform: translateY(0);
}

.search-close-btn {
    position: absolute;
    top: -38px;
    right: 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

@media (min-width: 768px) {
    .search-close-btn {
        top: -42px;
        right: 4px;
    }
}

.search-modal-field {
    display: flex;
    align-items: center;
    background: #181f25;
    border: 1.5px solid rgba(212, 154, 49, 0.4);
    border-radius: 9999px;
    padding: 4px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-modal-field:focus-within {
    border-color: #d49a31;
    box-shadow: 0 0 20px rgba(212, 154, 49, 0.25);
}

.search-modal-icon {
    font-size: 18px;
    color: #d49a31;
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.search-modal-field input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    padding: 10px 0;
    width: 100%;
    font-family: inherit;
}

.search-modal-field input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-results-box {
    background: rgba(24, 31, 37, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    max-height: 280px;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .search-results-box {
        max-height: 450px;
    }
}

.search-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.search-placeholder-emoji {
    font-size: 44px;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.search-placeholder-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    font-weight: 500;
}

.search-result-group {
    margin-bottom: 16px;
}

.search-result-group:last-child {
    margin-bottom: 0;
}

.search-group-title {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #d49a31;
    margin: 4px 8px 8px 8px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.item-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.item-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(212, 154, 49, 0.1);
    border: 1px solid rgba(212, 154, 49, 0.25);
    color: #d49a31;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.item-info {
    display: flex;
    flex-direction: column;
}

.item-name {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
}

.item-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Fix visibility of select options and optgroups in dark mode */
.add-place-select option,
.add-place-select optgroup {
    background-color: #1e2226 !important;
    color: #fff !important;
}

/* Klávesicové zvýraznění výsledku v overlay */
.search-result-item.keyboard-focus,
.search-result-item:focus {
    background: rgba(212, 154, 49, 0.1);
    outline: none;
}

/* Loading spinner pro search overlay */
.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.search-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(212, 154, 49, 0.2);
    border-top-color: #d49a31;
    border-radius: 50%;
    animation: search-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes search-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Odkaz "Zobrazit všechny X výsledků" v search overlay */
.search-show-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    margin-top: 4px;
    border-radius: 8px;
    background: rgba(212, 154, 49, 0.06);
    border: 1px solid rgba(212, 154, 49, 0.15);
    color: #d49a31;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.search-show-all:hover {
    background: rgba(212, 154, 49, 0.12);
    border-color: rgba(212, 154, 49, 0.3);
}

.search-show-all-arrow {
    font-size: 14px;
    transition: transform 0.2s;
}

.search-show-all:hover .search-show-all-arrow {
    transform: translateX(3px);
}

/* Celkový odkaz "Zobrazit všechny výsledky" na konci boxu */
.search-global-link {
    display: block;
    text-align: center;
    padding: 10px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    text-decoration: none;
    transition: color 0.2s;
}

.search-global-link:hover {
    color: #d49a31;
}

/* ==========================================================================
   STRÁNKA VÝSLEDKŮ VYHLEDÁVÁNÍ (/hledat)
   ========================================================================== */

.hledat-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 16px 80px;
}

.hledat-hero {
    margin-bottom: 36px;
}

.hledat-nadpis {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.hledat-query {
    color: #d49a31;
}

.hledat-form {
    width: 100%;
}

.hledat-input-wrap {
    display: flex;
    align-items: center;
    background: #181f25;
    border: 1.5px solid rgba(212, 154, 49, 0.4);
    border-radius: 9999px;
    padding: 4px 4px 4px 20px;
    gap: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hledat-input-wrap:focus-within {
    border-color: #d49a31;
    box-shadow: 0 0 20px rgba(212, 154, 49, 0.2);
}

.hledat-icon {
    font-size: 17px;
    flex-shrink: 0;
    color: #d49a31;
}

.hledat-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    padding: 10px 0;
}

.hledat-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.hledat-submit-btn {
    background: #d49a31;
    color: #000;
    border: none;
    border-radius: 9999px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, transform 0.1s;
    flex-shrink: 0;
}

.hledat-submit-btn:hover {
    background: #e5b045;
    transform: scale(1.03);
}

/* Tabulátory kategorií */
.hledat-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hledat-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.hledat-tab:hover {
    border-color: rgba(212, 154, 49, 0.3);
    color: #d49a31;
}

.hledat-tab.active {
    background: rgba(212, 154, 49, 0.12);
    border-color: rgba(212, 154, 49, 0.4);
    color: #d49a31;
}

.hledat-tab-count {
    background: rgba(212, 154, 49, 0.15);
    color: #d49a31;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 9999px;
}

.hledat-tab.active .hledat-tab-count {
    background: rgba(212, 154, 49, 0.3);
}

/* Mřížka karet výsledků */
.hledat-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hledat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(24, 31, 37, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
}

.hledat-card:hover {
    background: rgba(24, 31, 37, 0.95);
    border-color: rgba(212, 154, 49, 0.25);
    transform: translateX(3px);
}

.hledat-card-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 154, 49, 0.08);
    border-radius: 10px;
}

.hledat-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 154, 49, 0.1);
    border: 1px solid rgba(212, 154, 49, 0.25);
    color: #d49a31;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}

.hledat-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}

.hledat-card-name {
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hledat-card-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.hledat-card-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin: 2px 0 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hledat-card-arrow {
    color: rgba(255, 255, 255, 0.2);
    font-size: 16px;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

.hledat-card:hover .hledat-card-arrow {
    color: #d49a31;
    transform: translateX(3px);
}

/* Prázdný stav */
.hledat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

.hledat-empty-emoji {
    font-size: 48px;
    margin-bottom: 16px;
}

.hledat-empty-sub {
    font-size: 13px;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.25);
}

.hledat-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding: 40px 20px;
}

/* Stránkování */
.hledat-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.page-btn {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.page-btn:hover {
    border-color: rgba(212, 154, 49, 0.3);
    color: #d49a31;
}

.page-btn.active {
    background: rgba(212, 154, 49, 0.15);
    border-color: rgba(212, 154, 49, 0.4);
    color: #d49a31;
}

.page-dots {
    color: rgba(255, 255, 255, 0.25);
    padding: 0 4px;
}

/* Global Detail Místa Modal */
.detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.detail-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.detail-modal-container {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 28px;
    width: 100%;
    max-width: 1000px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: none;
    z-index: 2;
    animation: modalFadeIn 0.3s ease-out;
    margin: auto;
}

/* Mobilní optimalizace pro plynulé a neblokované skrolování modálu detailu místa */
@media (max-width: 768px) {
    .detail-modal {
        padding: 12px 6px !important;
        align-items: flex-start !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .detail-modal-container {
        max-height: none !important;
        overflow-y: visible !important;
        border-radius: 18px !important;
        margin: auto !important;
        margin-top: 10px !important;
        margin-bottom: 30px !important;
    }

    .detail-info-side {
        padding: 24px 16px !important;
    }

    .detail-photo-side {
        min-height: 250px !important;
    }

    .detail-photo-slider {
        min-height: 250px !important;
    }
}

/* ==========================================================================
   GLASSMORPHISM & MIKRO-ANIMACE KARET (Vizuální poladění v2.0)
   ========================================================================== */

/* Unifikovaná skleněná karta s plynulým přechodem a mikro-animací */
.trip-card,
.place-card,
.feed-card-item article,
.group-sidebar-card,
.explore-group-card {
    background: rgba(17, 22, 26, 0.78) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease !important;
    will-change: transform, box-shadow;
}

/* Zlatavá aura & nadnesení při najetí myší (Glow Hover Effect) */
.trip-card:hover,
.place-card:hover,
.feed-card-item article:hover,
.group-sidebar-card:hover,
.explore-group-card:hover {
    transform: translateY(-4px) scale(1.008) !important;
    border-color: rgba(212, 154, 49, 0.38) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45),
        0 0 22px rgba(212, 154, 49, 0.18) !important;
}

/* Vylepšení mikro-animací u fotek na kartách */
.trip-card img,
.place-card img,
.feed-card-item img {
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), filter 0.35s ease !important;
}

.trip-card:hover img,
.place-card:hover img,
.feed-card-item:hover img {
    filter: brightness(1.08);
}

/* Animované pulzování a pěnový efekt pro pivní odznaky a hodnocení */
.beer-badge,
.beer-rating-badge,
.rating-pivo-badge {
    background: linear-gradient(135deg, rgba(212, 154, 49, 0.15), rgba(245, 158, 11, 0.2)) !important;
    border: 1px solid rgba(212, 154, 49, 0.3) !important;
    color: #d49a31 !important;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease !important;
}

.beer-badge:hover,
.beer-rating-badge:hover {
    border-color: rgba(212, 154, 49, 0.6) !important;
    box-shadow: 0 0 12px rgba(212, 154, 49, 0.25) !important;
    transform: scale(1.04);
}

/* Pulzující zlatá ikona na časové ose u aktivity skupin */
@keyframes timeline-beer-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 154, 49, 0.4);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(212, 154, 49, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 154, 49, 0);
    }
}

.timeline-item>div:first-child {
    animation: timeline-beer-pulse 3s infinite ease-in-out;
}

/* Plynulá animace postupné posloupnosti karet */
@keyframes cardFadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feed-card-item,
.trip-card,
.place-card {
    animation: cardFadeInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) ease-out;
}

/* ==========================================================================
   RESPONSIVE OPERATIVA PRO ČASOVOU OSU A FEED KARET (MOBILNÍ ZOBRAZENÍ)
   ========================================================================== */
@media (max-width: 640px) {

    /* Zmenšení odsazení časové osy na mobilu, aby neubírala šířku kartě */
    .beer-timeline-wrapper {
        padding-left: 14px !important;
        margin-left: 6px !important;
        border-left-width: 2px !important;
    }

    .timeline-item>div:first-child {
        left: -26px !important;
        width: 22px !important;
        height: 22px !important;
        font-size: 10px !important;
        top: 14px !important;
    }

    /* Zamezení horizontálnímu roztažení karet a obsahu */
    .timeline-item,
    .feed-card-item,
    .trip-card {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .timeline-item article,
    .feed-card-item article,
    .trip-card,
    .group-sidebar-card,
    .explore-group-card {
        padding: 18px 16px !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
        overflow: hidden !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    .timeline-item article h3,
    .feed-card-item article h3,
    .trip-card h3 {
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        font-size: 15.5px !important;
    }

    .feed-card-main {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .trip-card-map {
        height: 150px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   Pivní Načítací Overlay Animation (Beer Loader Overlay - Global Component)
   ========================================================================== */
.beer-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(13, 14, 17, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.beer-loader-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.beer-loader-card {
    background: rgba(26, 30, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.beer-glass-container {
    position: relative;
    width: 140px;
    height: 180px;
    margin: 0 auto 24px auto;
}

.beer-glass {
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 110px;
    height: 170px;
    border: 6px solid rgba(255, 255, 255, 0.35);
    border-bottom: 12px solid rgba(255, 255, 255, 0.35);
    border-top: none;
    border-radius: 0 0 24px 24px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1), 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.beer-handle {
    position: absolute;
    right: 0;
    top: 35px;
    width: 30px;
    height: 95px;
    border: 6px solid rgba(255, 255, 255, 0.35);
    border-left: none;
    border-radius: 0 20px 20px 0;
    z-index: 1;
}

.beer-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 100%;
    border-left: 2px dashed rgba(255, 255, 255, 0.1);
    border-right: 2px dashed rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.beer-glass-shine {
    position: absolute;
    top: 10px;
    left: 25px;
    width: 8px;
    height: 140px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.02));
    border-radius: 4px;
    z-index: 4;
    pointer-events: none;
}

.beer-liquid-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #b45309, #f59e0b, #fbbf24);
    transition: height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.beer-bubble {
    position: absolute;
    bottom: -10px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    animation: beerRise 2s infinite linear;
}

@keyframes beerRise {
    0% {
        transform: translateY(0) scale(0.6) translateX(0);
        opacity: 0;
    }

    15% {
        opacity: 0.8;
    }

    85% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-170px) scale(1.1) translateX(5px);
        opacity: 0;
    }
}

.beer-foam {
    position: absolute;
    left: 21px;
    width: 98px;
    height: 20px;
    background: #ffffff;
    border-radius: 10px 10px 0 0;
    bottom: 12px;
    z-index: 3;
    opacity: 0;
    transition: bottom 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    filter: drop-shadow(0 -2px 3px rgba(255, 255, 255, 0.4));
}

.beer-foam::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -5px;
    width: 42px;
    height: 25px;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
}

.beer-foam::after {
    content: '';
    position: absolute;
    top: -12px;
    right: -5px;
    width: 68px;
    height: 30px;
    background: #ffffff;
    border-radius: 35px 35px 0 0;
}

.beer-foam-extra {
    position: absolute;
    top: -8px;
    left: 20px;
    width: 55px;
    height: 25px;
    background: #ffffff;
    border-radius: 25px 25px 0 0;
    z-index: 4;
}

.beer-progress-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 8px 0 4px 0;
}

.beer-progress-percent {
    color: #d49a31;
    font-size: 32px;
    font-weight: 800;
    margin: 4px 0;
    font-family: monospace;
    text-shadow: 0 0 10px rgba(212, 154, 49, 0.3);
}

.beer-progress-status {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13.5px;
    line-height: 1.4;
    min-height: 36px;
}

.beer-result-modal {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    animation: beerFadeIn 0.4s ease forwards;
}

@keyframes beerFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.beer-result-icon {
    font-size: 56px;
    margin-bottom: 16px;
    line-height: 1;
}

.beer-result-title {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.beer-result-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.5;
    width: 100%;
}

/* ==========================================================================
   Našeptávač hodnot z databáze (Autocomplete)
   ========================================================================== */
.naseptavac-wrapper {
    position: relative;
    width: 100%;
}

.naseptavac-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #181d22;
    border: 1px solid rgba(212, 154, 49, 0.4);
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7), 0 0 1px rgba(212, 154, 49, 0.5);
    max-height: 250px;
    overflow-y: auto;
    z-index: 999;
    display: none;
    padding: 6px;
    scrollbar-width: thin;
    scrollbar-color: #d49a31 rgba(255, 255, 255, 0.05);
}

.naseptavac-dropdown::-webkit-scrollbar {
    width: 6px;
}

.naseptavac-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.naseptavac-dropdown::-webkit-scrollbar-thumb {
    background: #d49a31;
    border-radius: 4px;
}

.naseptavac-item {
    display: block;
    padding: 9px 12px;
    border-radius: 7px;
    color: #e2e8f0;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
    line-height: 1.4;
}

.naseptavac-item:hover,
.naseptavac-item.active {
    background: rgba(212, 154, 49, 0.2);
    color: #fff;
}

.naseptavac-item .item-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.naseptavac-item .match-highlight {
    color: #d49a31;
    font-weight: 700;
}

/* Sociální přihlášení má stejnou velikost a rozestupy pro oba poskytovatele. */

/* Statistiky: komunitní přehled. */
.community-stats { padding: 50px 0; font-family: inherit; color: inherit; background: radial-gradient(900px 450px at 50% 0, rgba(212,154,49,.06), transparent 85%); }
.community-stats .cs-container { max-width: 1100px; }
.community-stats .cs-intro { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 64px; }
.community-stats .cs-intro-text { flex: 1; min-width: 0; max-width: 560px; }
.community-stats .cs-intro-image { flex: 0 0 180px; width: 180px; height: 180px; object-fit: contain; }
.community-stats h1 { color: #fff; font-size: 34px; line-height: 1.2; letter-spacing: -.5px; font-weight: 800; margin: 0 0 14px; }
.community-stats h1 span { color: #d49a31; }
.community-stats .cs-metric-icon { display: block; font-size: 34px; line-height: 1.2; margin-bottom: 18px; }
.community-stats h2 { color: #fff; font-size: 22px; font-weight: 700; line-height: 1.35; letter-spacing: -.3px; margin: 0; }
.community-stats p { color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.65; margin: 0; }
.community-stats a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.community-stats a:hover { color: #d49a31; }
.community-stats a:focus-visible, .community-stats button:focus-visible, .community-stats summary:focus-visible { outline: 2px solid #d49a31; outline-offset: 4px; border-radius: 4px; }
.community-stats .cs-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin: 0 0 40px; }
.community-stats .cs-metrics > div { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 18px; min-height: 196px; min-width: 0; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; background: linear-gradient(145deg,rgba(255,255,255,.035),transparent 70%),rgba(17,22,26,.78); overflow: hidden; }
.community-stats .cs-metrics > div::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #d49a31; opacity: 0; }
.community-stats .cs-metrics dt { color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.5; font-weight: 800; text-transform: uppercase; letter-spacing: .35px; margin-top: 5px; overflow-wrap: anywhere; }
.community-stats .cs-metrics dd { order: -1; font-variant-numeric: tabular-nums; font-size: clamp(30px,3.8vw,40px); line-height: 1.2; font-weight: 800; color: #fff; margin: 0; overflow-wrap: anywhere; }
.community-stats .cs-metrics dd small { font-size: 20px; color: rgba(255,255,255,.65); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
    .community-stats .cs-metrics > div:hover { border-color: rgba(212,154,49,.35); background: linear-gradient(135deg,rgba(212,154,49,.12),transparent 80%),rgba(17,22,26,.78); }
    .community-stats .cs-metrics > div:hover::before { opacity: 1; }
    .community-stats .cs-metrics > div:hover dd { color: #d49a31; }
    .community-stats .cs-metrics > div:hover dt { color: rgba(255,255,255,.8); }
}

.community-stats .cs-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: stretch; }
.community-stats .cs-panel { border: 1px solid rgba(255,255,255,.08); background: rgba(17,22,26,.78); border-radius: 20px; padding: 28px; min-width: 0; }
.community-stats .cs-panel { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.community-stats .cs-panel-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.community-stats .cs-panel-heading p { font-size: 14px; margin-top: 5px; }
.community-stats .cs-heading-icon { font-size: 23px; }
.community-stats .cs-switcher { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px; background: #090e11; padding: 4px; border-radius: 10px; margin-bottom: 12px; }
.community-stats [hidden] { display: none !important; }
.community-stats .cs-switcher button { background: transparent; border: 0; border-radius: 7px; color: #b3bfc1; font: inherit; font-size: 12px; padding: 11px 10px; min-height: 44px; flex: 0 0 auto; white-space: nowrap; cursor: pointer; }
.community-stats .cs-switcher button[aria-pressed="true"] { color: #d49a31; background: rgba(212,154,49,.15); }
.community-stats .cs-switcher button:hover { color: #fff; }
.community-stats .cs-fallback-title { font-size: 15px; color: #d49a31; margin: 18px 0 8px; }
.community-stats .cs-enhanced .cs-fallback-title { display: none; }
.community-stats .cs-ranking { list-style: none; margin: 0; padding: 0; }
.community-stats .cs-ranking li { min-height: 81px; display: grid; grid-template-columns: 22px 36px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.community-stats .cs-ranking li:last-child { border: 0; }
.community-stats .cs-rank { color: #9aabad; font-size: 13px; }
.community-stats .cs-ranking li:first-child .cs-rank { color: #d49a31; }
.community-stats .cs-avatar { width: 36px; height: 36px; display: grid; place-items: center; background: rgba(212,154,49,.12); color: #d49a31; border-radius: 50%; font-size: 12px; }
.community-stats .cs-person { min-width: 0; }
.community-stats .cs-person a { font-size: 14px; font-weight: 600; }
.community-stats .cs-person small { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }
.community-stats .cs-score { text-align: right; color: #d49a31; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.community-stats .cs-score small { display: block; font-size: 12px; color: rgba(255,255,255,.65); font-weight: 400; margin-top: 3px; }
.community-stats .cs-beers-panel { grid-column: 1; }
.community-stats .cs-beers { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.community-stats .cs-beer-label { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; margin-bottom: 8px; color: #ece9e3; }
.community-stats .cs-beer-label span:first-child { overflow-wrap: anywhere; min-width: 0; }
.community-stats .cs-beer-label span:last-child { color: rgba(255,255,255,.65); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.community-stats .cs-track { height: 5px; background: #263034; border-radius: 4px; overflow: hidden; }
.community-stats .cs-track span { display: block; height: 100%; background: #d49a31; border-radius: inherit; }
/* Noví členové: jednotná sekce s celými klikacími profily. */
.community-stats .cs-newcomers { grid-column: 2; }
.community-stats .cs-newcomers ul { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.community-stats .cs-newcomers li { min-width: 0; }
.community-stats .cs-newcomer { display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.025); transition: background .2s, border-color .2s; }
.community-stats .cs-newcomer:hover { background: rgba(212,154,49,.06); border-color: rgba(212,154,49,.3); }
.community-stats .cs-new-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; color: #d49a31; background: rgba(212,154,49,.12); border: 1px solid rgba(212,154,49,.2); font-size: 14px; font-weight: 700; }
.community-stats .cs-new-info { display: grid; gap: 6px; min-width: 0; flex: 1; }
.community-stats .cs-new-info strong { font-size: 14px; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.community-stats .cs-new-info > span { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.5; }
.community-stats .cs-new-arrow { color: #d49a31; flex-shrink: 0; font-size: 18px; }
.community-stats .cs-avatar, .community-stats .cs-new-avatar { position: relative; overflow: hidden; }
.community-stats .cs-avatar img, .community-stats .cs-new-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.community-stats .cs-empty { padding: 12px 0; font-size: 13px; }
@media (max-width: 760px) {
    .community-stats { padding: 30px 0 40px; }
    .community-stats .cs-layout { grid-template-columns: 1fr; gap: 18px; }
    .community-stats .cs-beers-panel, .community-stats .cs-newcomers { grid-column: auto; }
    .community-stats .cs-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 18px; }
    .community-stats .cs-metrics > div { padding: 24px 12px; min-height: 175px; }
    .community-stats .cs-intro { gap: 24px; margin-bottom: 32px; }
    .community-stats .cs-intro-image { flex-basis: 130px; width: 130px; height: 130px; }
    .community-stats .cs-panel { padding: 22px; }
    .community-stats h1 { font-size: 28px; }
    .community-stats h2 { font-size: 20px; }
}
@media (max-width: 520px) {
    .community-stats .cs-intro { flex-direction: column; align-items: flex-start; gap: 18px; }
    .community-stats .cs-intro-image { flex-basis: auto; align-self: center; width: 140px; height: 140px; }
    .community-stats .cs-metrics { gap: 12px; }
    .community-stats .cs-metrics dt { font-size: 11px; }
    .community-stats .cs-metrics dd small { font-size: 16px; }
}
@media (max-width: 380px) {
    .community-stats .cs-panel { padding: 18px; }
    .community-stats .cs-ranking li { grid-template-columns: 18px 30px minmax(0,1fr) auto; gap: 7px; }
    .community-stats .cs-avatar { width: 30px; height: 30px; }
    .community-stats .cs-switcher button { padding: 10px; }
}

/* Veřejné pokyny k odstranění údajů. */
.data-deletion-section { padding: 60px 0; background: radial-gradient(800px 400px at 50% 0%, rgba(212, 154, 49, .05), transparent 85%); }
.data-deletion-section > .container { max-width: 800px; }
.data-deletion-card { padding: 40px; background: rgba(17, 22, 26, .65); border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 15px 35px rgba(0, 0, 0, .4); color: rgba(255, 255, 255, .7); line-height: 1.6; overflow-wrap: anywhere; }
.data-deletion-card h1 { font-size: 32px; font-weight: 800; color: #fff; margin: 0 0 24px; border-bottom: 2px solid rgba(212, 154, 49, .2); padding-bottom: 12px; letter-spacing: -.5px; }
.data-deletion-card h2 { font-size: 20px; font-weight: 700; color: #f59e0b; margin: 32px 0 12px; }
.data-deletion-card p { margin: 0 0 20px; }
.data-deletion-card header p { color: rgba(255, 255, 255, .8); font-size: 15px; }
.data-deletion-card ol, .data-deletion-card ul { padding-left: 20px; margin: 0 0 20px; }
.data-deletion-card ol { list-style: decimal; }
.data-deletion-card ul { list-style: disc; }
.data-deletion-card li { margin-bottom: 10px; }
.data-deletion-card a:not(.btn) { color: #d49a31; text-decoration: none; }
.data-deletion-card a:not(.btn):hover { text-decoration: underline; }
.data-deletion-card a:focus-visible { outline: 2px solid #d49a31; outline-offset: 4px; }
.data-deletion-note { margin-bottom: 20px; }
.data-deletion-card > .btn { margin-top: 12px; white-space: normal; text-align: center; }
@media (max-width: 600px) {
    .data-deletion-section { padding: 28px 0; }
    .data-deletion-card { padding: 26px 20px; }
    .data-deletion-card h1 { font-size: 28px; }
}
