.bookmarks-page {
    width: 82%;
    max-width: 980px;
    margin: 6px auto 16px;
}

.bookmarks-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 auto 6px;
    padding: 5px 8px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(0, 0, 0, .35);
    background: rgba(255, 255, 255, .04);
}

.bookmarks-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}

.bookmarks-title i {
    color: #f1c04f;
}

.bookmarks-user {
    flex: 1 1 auto;
    text-align: center;
    font-size: 11px;
}

.bookmarks-count {
    white-space: nowrap;
    font-size: 11px;
    opacity: .88;
}

.bookmarks-toolbar {
    margin: 4px 0;
    text-align: center;
}

.bookmarks-table table {
    width: 100%;
    margin: 0 auto;
}

.bookmarks-table td,
.bookmarks-table th {
    padding: 2px 3px !important;
    font-size: 11px;
    line-height: 1.18;
}

.bookmarks-table td:first-child {
    width: 58px;
}

.bookmarks-table td:first-child img {
    width: 58px !important;
    height: 42px !important;
    object-fit: contain;
}

.bookmarks-table td[width="450"] {
    width: auto !important;
}

.bookmarks-table .bookmark-toggle {
    margin-right: 3px;
}

.bookmarks-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(0, 0, 0, .32);
    background: rgba(255, 255, 255, .035);
    font-size: 12px;
    opacity: .9;
}

.bookmarks-empty i {
    color: #f1c04f;
    font-size: 16px;
}

.bookmark-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    margin-right: 5px;
    color: #f1c04f !important;
    text-decoration: none;
    font-size: 19px;
    line-height: 1;
    vertical-align: middle;
    transition: transform .12s ease, opacity .12s ease;
}

.bookmark-toggle:hover {
    transform: scale(1.08);
    opacity: .86;
    text-decoration: none;
}

.bookmark-toggle-off {
    opacity: .58;
}

.torrent-new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 13px;
    margin-right: 5px;
    padding: 0 4px;
    border-radius: 3px;
    background: #2ca24d;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}

.torrent-reseed-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 13px;
    margin-right: 5px;
    padding: 0 5px;
    border-radius: 3px;
    background: #9a5bb8;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}

.reseed-list-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #f1c04f !important;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}

.reseed-list-link:hover {
    opacity: .86;
    text-decoration: none;
}

.reseed-list-text {
    vertical-align: middle;
}

.details-reseed-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
    font-size: 11px;
    font-weight: 700;
    color: inherit !important;
    text-decoration: none;
    vertical-align: middle;
}

.details-reseed-link:hover {
    opacity: .86;
    text-decoration: none;
}

.reseed-download-panel {
    width: min(560px, calc(100% - 24px));
    margin: 12px auto;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    background: rgba(0, 0, 0, .16);
    text-align: center;
}

.reseed-download-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 4px;
    background: #9a5bb8;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.reseed-download-name {
    margin: 6px 0;
    font-size: 13px;
    font-weight: 700;
}

.reseed-download-text {
    margin: 8px auto 14px;
    max-width: 450px;
    opacity: .82;
    font-size: 12px;
    line-height: 1.4;
}

.reseed-download-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reseed-download-button,
.reseed-details-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.reseed-download-button {
    background: #2ca24d;
    color: #fff !important;
}

.reseed-details-link {
    border: 1px solid rgba(255, 255, 255, .14);
    color: inherit !important;
}

.bookmarks-page .bookmark-toggle-on {
    color: #ff7272 !important;
}

.bookmarks-page .bookmark-toggle {
    width: auto;
    min-width: 20px;
}

.bookmarks-page .bookmark-toggle-on::after {
    content: "Törlés";
    margin-left: 3px;
    font-size: 10px;
    font-weight: 700;
}

.bookmark-notice {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 99999;
    max-width: min(420px, calc(100vw - 28px));
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 4px;
    background: rgba(20, 20, 20, .94);
    color: #fff;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity .16s ease, transform .16s ease;
}

.bookmark-notice-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 700px) {
    .bookmarks-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .bookmarks-user {
        text-align: left;
    }

    .bookmarks-page {
        width: 96%;
    }
}
