/* Černobílý minimalistický design */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #848484;
    background: #121212;
    overflow-x: hidden;
}
h1 a{
background: #000;
color: #fff;
text-decoration: none;
}
a{
color: #848484;
text-decoration: underline;
}
a:hover{
color: #cf4242;
text-decoration: none;
}
.menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 220px;
    height: 100vh;
    color: #222;
    border-right: 1px solid #1a1a1a;
    box-shadow: none;
    z-index: 1000;
    transform: translateX(0);
    transition: none;
    padding-top: 0.2em;
    overflow-y: auto;
    overflow-x: hidden;
    background: #121212;
}
.menu-def-btn, .menu-cat-btn, .menu-feed-btn {
    color: #848484;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.7em 1em;
    border: none;
    border-radius: 0;
    font-size: 1em;
    text-align: left;
    cursor: pointer;
    background: transparent;
    border-bottom: 1px solid #1a1a1a;
    transition: background 0.15s;
}
.menu-cat-btn {
font-weight: bold;
}
.menu-def-btn:hover, .menu-cat-btn:hover, .menu-feed-btn:hover {
    background: #1a1a1a;
    color: #848484;
}
.menu-cat-list, .menu-feed-list {
    margin: 0;
    padding: 0;
}
.menu-cat-group {
    margin: 0;
    padding: 0;
}
.menu-icon {
    vertical-align: middle;
}
.menu-btn {
    position: fixed;
    left: 8px;
    top: 8px;
    background: none;
    border: none;
    z-index: 1100;
    cursor: pointer;
    padding: 0;
}
.main-content {
    margin-left: 0;
    margin-right: 0;
    padding: 0.5em 0;
    max-width: 100vw;
    width: 100vw;
    border-radius: 0;
    margin-top: 1em;
    box-sizing: border-box;
}
.rss-item {
    background: none;
    color: #848484;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 0;
    padding: 1em 1em 0.7em 1em;
}

/* Přečtené články */
.rss-item.read {
    background: #181818;
    color: #444 !important;
    filter: brightness(0.7) grayscale(0.2);
    transition: background 0.3s, color 0.3s;
    border-bottom: 2px solid #000 !important;
}
/*
.rss-item.read .rss-title,
.rss-item.read .rss-date,
.rss-item.read .rss-source {
    color: #444 !important;
    filter: brightness(0.7) grayscale(0.2);
}
*/
.rss-item:last-child {
    border-bottom: none;
}
.rss-title {
    font-size: 1.18rem;
    font-weight: bold;
    margin-bottom: 0.2em;
    color: #848484;
}
.rss-title a {
    color: #848484;
    text-decoration: none;
}
.rss-title a:hover {
    text-decoration: underline;
    color: #848484;
}
.rss-date, .rss-source {
    color: #848484;
}
.msg {
    background: #eee;
    color: #848484;
    border-radius: 0;
    padding: 0.7em 1em;
    margin-bottom: 1em;
}
.category-filter-desktop, .day-filter-desktop {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-bottom: 1em;
}
.category-filter-desktop a, .day-filter-desktop a, .day-nav-btn {
    background: #fff;
    color: #848484;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    padding: 0.5em 1.1em;
    text-decoration: none;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: inline-block;
    font-weight: 500;
    outline: none;
}
.category-filter-desktop a:hover, .day-filter-desktop a:hover, .day-nav-btn:hover {
    background: #eee;
    color: #848484;
}
.day-nav-btn-active {
    background: #848484;
    color: #000;
    border-radius: 0;
    padding: 0.5em 1.1em;
    text-decoration: none;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: inline-block;
    font-weight: 500;
    outline: none;
}
.category-filter-mobile select, .day-filter-mobile select {
    background: #fff;
    color: #848484;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    padding: 0.7em;
    font-size: 1.08em;
    margin-bottom: 1em;
}
.manage-table {
    background: #fff;
    color: #848484;
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}
.manage-table th, .manage-table td {
    border: 1px solid #1a1a1a;
    padding: 0.5em 0.7em;
    text-align: left;
    background: #fff;
    color: #848484;
}
.manage-table th {
    background: #eee;
    color: #848484;
}
.manage-form input[type="text"] {
    background: #fff;
    color: #848484;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    padding: 0.4em;
    width: 95%;
    margin-bottom: 0.3em;
}
.manage-btn, button[type="submit"] {
    background: #848484;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 0.6em 1.2em;
    cursor: pointer;
    font-size: 1em;
    margin-top: 1em;
    transition: background 0.2s;
}
.manage-btn:hover, button[type="submit"]:hover {
    background: #000;
    color: #fff;
}
#scrollTopBtn {
    position: fixed;
    right: 18px;
    bottom: 70px;
    z-index: 1200;
    padding: 0.7em 1.2em;
    font-size: 1.2em;
    border-radius: 0;
    background: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
}
[class*="cat-"] {
    padding-left: 0.7em;
    border-left: none;
}
.cat-bez-kategorie {
    border-left-color: #1a1a1a;
}


@media (max-width: 900px) {
    .menu {
        width: 80vw;
        min-width: 180px;
        max-width: 320px;
        transform: translateX(-80vw);
    }
    .main-content {
        margin-left: 0 !important;
        max-width: 100vw;
        border-radius: 0;
        box-shadow: none;
        padding: 1em;
    }
    .menu.open {
        transform: translateX(0);
    }
    .menu-btn {
        left: 8px;
        top: 8px;
    }
    .menu-bottom-bar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.2em;
        padding: 0.5em 0.5em;
        width: 100vw;
        min-width: 0;
        box-sizing: border-box;
        position: fixed;
        left: 0;
        bottom: 0;
        background: #121212;
        border-top: 1px solid #1a1a1a;
        z-index: 1099;
        height: 56px;
    }
    .menu-bottom-bar button {
        flex: 1 1 60px;
        min-width: 44px;
        max-width: 120px;
        width: auto;
        padding: 0.5em 0.1em;
        font-size: 1em;
        background: none;
        border: none;
        color: #848484;
        cursor: pointer;
        border-radius: 0;
        transition: background 0.15s;
    }
    .category-filter-mobile,
    .day-filter-mobile {
        display: inline-block;
        width: 49%;
        vertical-align: top;
        margin-bottom: 1em;
    }
}
@media (max-width: 600px) {
    .main-content {
        padding: 0.7em;
    }
    .rss-item {
        padding: 0.7em 0.5em;
    }
    .menu {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        transform: translateX(-100vw);
        color: #848484;
        background: #121212;
        border-right: 1px solid #1a1a1a;
    }
    .menu.open {
        transform: translateX(0);
    }
    .menu-btn {
        left: 4px;
        top: 4px;
    }
    .menu-def-btn, .menu-cat-btn, .menu-feed-btn {
        font-size: 1.08em;
        padding: 0.7em 0.5em;
    }
    .category-filter-mobile select, .day-filter-mobile select {
        font-size: 1em;
        padding: 0.5em;
    }
}
@media (min-width: 901px) {
    .menu {
        display: none !important;
        transform: translateX(-240px) !important;
    }
    .menu.open {
        display: block !important;
        transform: translateX(0) !important;
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 240px;
        background: #111;
        z-index: 1200;
        box-shadow: 2px 0 8px rgba(0,0,0,0.04);
        overflow-y: auto;
        transition: transform 0.2s;
    }
    .main-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100vw !important;
        width: 100vw !important;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .menu-bottom-bar {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100vw;
        background: #121212;
        border-top: 1px solid #1a1a1a;
        z-index: 1099;
        display: flex;
        justify-content: center;
        gap: 1em;
        padding: 0.5em 1em;
        height: 56px;
        flex-wrap: nowrap;
    }
    .menu-bottom-bar button {
        min-width: 36px;
        max-width: 46px;
        width: 10vw;
        flex: 0 1 auto;
        padding: 0.5em 0.2em;
        font-size: 1.1em;
        background: none;
        border: none;
        color: #848484;
        cursor: pointer;
        border-radius: 0;
        transition: background 0.15s;
    }
}