/* Переменные цветовой схемы */
:root {
    /* Светлая тема (оригинальные цвета) */
    --bg-body: #ffffff;
    --bg-nav: #ffffff;
    --bg-content: #f3f3f3;
    --text-main: #000000;
    --text-link: #0B7500;
    --border-color: #aaaaaa;
    --bg-info-block: #a1c3a0;
    --bg-tab-active: #fcfee2;
    --text-muted: #727272;
    --bg-menu-sub: #3b4151;
    --bg-hover: #eee;
    --bg-fp-message: #e7e7e7;
    --fp-color: #4d4d4d
}

/* Цвета для темной темы */
body.dark-theme {
    --bg-body: #121212;
    --bg-nav: #121212;
    --bg-content: #1a1a1a;
    --text-main: #e0e0e0;
    --text-link: #73a774;
    --border-color: #9d9d9d;
    --bg-info-block: #1a2332;
    --bg-tab-active: #2d2d2d;
    --text-muted: #aaaaaa;
    --bg-menu-sub: #bfbfbf;
    --bg-hover: #2d2d2d;
    --bg-fp-message: #313338;
    --fp-color: #949ba4
}

body {
    font-size: 13px;
    font-family: Tahoma, sans-serif;
    width: 1150px;
    margin: 0 auto;
    padding-bottom: 130px; /*  нижний рек баннер + футер */
    background: var(--bg-body);
    color: var(--text-main);
}
.clear {clear: both;}
.hidden {display: none !important;}
.hidden-desktop {display: none;}
.right {text-align: right;}
.center {text-align: center;}
.mobile-label {display: none;}
a {color: var(--text-link);}

.stat td.light {width: 5px; padding: 0;}
td.light-troff_super {background-color: #0d5aa7;}
td.light-troff {background-color: #f39c12;}
.position {
    background: var(--text-main);
    color: var(--bg-body);
    display: inline-block;
    padding: 3px 5px;
    margin: 2px 2px 0 0;
    border-radius: 4px;
    font-size: 12px;
}
.position.position-locked {
    filter: blur(2px);
    letter-spacing: 1px;
}
.spot-blocked-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
}
.spot-blocked-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}
.spot-blocked-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 620px);
    padding: 18px;
    border-radius: 12px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
}
.spot-blocked-modal-text {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.5;
}
.spot-blocked-modal-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.user-message-modal {
    position: fixed;
    inset: 0;
    z-index: 2120;
    display: none;
    align-items: center;
    justify-content: center;
}
.user-message-modal.is-open {
    display: flex;
}
.user-message-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}
.user-message-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 480px);
    max-height: min(85vh, 560px);
    overflow: auto;
    padding: 20px 20px 18px;
    border-radius: 12px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}
.user-message-modal-close {
    position: absolute;
    top: 6px;
    right: 10px;
    border: none;
    background: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted, #666);
}
.user-message-modal-title {
    margin: 0 32px 12px 0;
    font-size: 17px;
    font-weight: bold;
    color: var(--text-main);
}
.user-message-modal-sender {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    font-size: 14px;
    color: var(--text-muted, #666);
}
.user-message-modal-profile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    max-width: 100%;
}
.user-message-modal-profile:hover {
    color: #1976d2;
}
body.dark-theme .user-message-modal-profile:hover {
    color: #64b5f6;
}
.user-message-modal-avatar-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-content, #eee);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #888);
}
.user-message-modal-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.user-message-modal-avatar-ph {
    font-size: 24px;
    line-height: 1;
}
.user-message-modal-from {
    word-break: break-word;
}
.user-message-modal-time {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-muted, #666);
}
.user-message-modal-body {
    white-space: normal;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-main);
    word-break: break-word;
}
.user-message-modal-actions {
    margin: 16px 0 0;
}
.user-msg-menu-badge {
    display: inline-block;
    min-width: 1.25em;
    padding: 0 6px;
    margin-left: 4px;
    border-radius: 10px;
    background: #c62828;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
    line-height: 1.4;
    text-align: center;
}
body.dark-theme .user-msg-menu-badge {
    background: #e53935;
}
.user-messages-page {
    max-width: 840px;
    margin: 0 auto;
}
.user-messages-title {
    font-size: 1.4rem;
    margin: 0 0 16px;
    color: var(--text-main);
}
.user-messages-empty {
    color: var(--text-muted);
}
.user-messages-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.user-messages-item {
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    background: var(--bg-content, #fafafa);
}
.user-messages-item--unread {
    border-left: 4px solid #1976d2;
}
.user-messages-item-inner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.user-messages-item-main {
    flex: 1;
    min-width: 0;
}
.user-messages-avatar-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-body, #eee);
    color: var(--text-muted, #888);
    text-decoration: none;
}
.user-messages-avatar-link:hover {
    color: #1976d2;
    outline: 1px solid var(--border-color, #ccc);
}
.user-messages-avatar-link--disabled {
    pointer-events: none;
    opacity: 0.7;
}
.user-messages-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.user-messages-avatar-ph {
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.user-messages-from-link {
    color: #1976d2;
    text-decoration: none;
    font-weight: 600;
}
.user-messages-from-link:hover {
    text-decoration: underline;
}
body.dark-theme .user-messages-from-link {
    color: #64b5f6;
}
.user-messages-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: baseline;
    font-size: 13px;
    color: var(--text-muted, #666);
    margin-bottom: 8px;
}
.user-messages-from {
    font-weight: 600;
    color: var(--text-main);
}
.user-messages-badge {
    color: #1976d2;
    font-weight: 600;
}
.user-messages-text {
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-main);
    word-break: break-word;
}

.user-messages-text--rich a,
.user-message-modal-body a {
    color: #1976d2;
    word-break: break-all;
}
body.dark-theme .user-messages-text--rich a,
body.dark-theme .user-message-modal-body a {
    color: #64b5f6;
}

.post-bug-report-btn {
    background: none;
    border: none;
    padding: 0 2px 0 6px;
    margin: 0;
    cursor: pointer;
    color: #eb5900;
    vertical-align: middle;
    line-height: 1;
    font-size: 1em;
}
.post-bug-report-btn:hover {
    color:  #1976d2;
}
.post-bug-modal {
    position: fixed;
    inset: 0;
    z-index: 2110;
    display: none;
    align-items: center;
    justify-content: center;
}
.post-bug-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}
.post-bug-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 440px);
    padding: 20px 20px 18px;
    border-radius: 12px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}
.post-bug-modal-close {
    position: absolute;
    top: 6px;
    right: 10px;
    border: none;
    background: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted, #666);
}
.post-bug-modal-title {
    margin: 0 32px 12px 0;
    font-size: 17px;
    font-weight: bold;
    color: var(--text-main);
}
.post-bug-label {
    display: block;
    margin: 10px 0 6px;
    font-size: 14px;
    color: var(--text-main);
}
.post-bug-select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    padding: 8px;
    margin-top: 12px;
}
.post-bug-text-wrap {
    margin-top: 12px;
}
.post-bug-textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    padding: 8px;
    margin: 0;
    resize: vertical;
    min-height: 72px;
}
.post-bug-disclaimer {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted, #666);
}
.post-bug-modal-actions {
    margin: 16px 0 0;
}
.post-bug-modal-actions #post-bug-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.post-bug-thanks {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-main);
}
.my-post-bug-list {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    background: var(--bg-content, #fafafa);
    box-sizing: border-box;
}
.my-post-bug-heading {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
}
.my-post-bug-row {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
}
.my-post-bug-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.my-post-bug-meta {
    font-size: 12px;
    color: var(--text-muted, #666);
}
.my-post-bug-meta .my-post-bug-reporter {
    color: var(--link-color, #0b6bcb);
    text-decoration: none;
    font-weight: 500;
}
.my-post-bug-meta .my-post-bug-reporter:hover {
    text-decoration: underline;
}
.my-post-bug-reason {
    font-size: 14px;
    margin: 6px 0;
    line-height: 1.4;
    color: var(--text-main);
}
.my-post-bug-status {
    margin-top: 6px;
}
.my-post-bug-status select {
    font-size: 13px;
    padding: 4px 8px;
    max-width: 100%;
    box-sizing: border-box;
}
body.dark-theme .my-post-bug-list {
    background: rgba(255, 255, 255, 0.04);
}
.spot-blocked-premium-btn {
    background: var(--premium-accent) !important;
}
.spot-blocked-unlock-btn {
    background: linear-gradient(135deg, #798138 0%, #065f09 80%) !important;
    border: none !important;    
}
.spot-blocked-unlock-btn:hover {
    background: #3b4151 !important;
}
.spot-blocked-close-btn {
    background: #6b7280 !important;
}

.fake-content {display: none; font-size: 20px; text-align: center; padding: 20px 0;}

.topnav {
    position: relative;
    /*top: 0;*/
    background: var(--bg-nav);
    z-index: 10;
}
.logo {
    display: block;
    float: left;
    color: var(--text-main); 
    padding: 20px 10px 0 0;
}
.logo img {
    width: 110px;
    vertical-align: middle;
    border-radius: 100px;
}
.topnav .nav {
    margin-bottom: 2px;
}
.topnav a.icon {display: none;}
.topnav .langs {
    position: absolute;
    right: 0;
    top: 5px;
}
.langs > a{
    text-decoration: none;
    vertical-align: middle;
}
.telegram {color: #0d5aa7;}
.topnav .name {
    font-size: 18px;
    display: block;
    padding: 5px;
}

.menu {
    position: relative;
    display: block;
    list-style: none;
    padding: 5px 0;
}
.menu ul {
    padding:0;
    margin: 0;
}
.menu li {
    display: inline-block;
}
.menu a, .button {
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    background: #3b4151;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    margin: 1px 0;
}
.menu a {
    font-size: 16px;
}
.menu a:hover, .button:hover {
    background: #0d5aa7;
}
.menu a.menu-link-premium {
    background: var(--premium-accent);
}
.menu a.menu-link-premium:hover,
.menu ul ul a.menu-link-premium:hover {
    background: var(--premium-accent);
    filter: brightness(1.12);
}
.menu ul ul a.menu-link-premium {
    background: var(--premium-accent);
}
/* первый уровень */
.menu > ul > li {
    position: relative;
}
/* второй уровень (выпадающий) */
.menu ul ul {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% - 4px);

    background: #3b4151;
    min-width: 180px;
    padding: 5px 0;
    border-radius: 4px;
    z-index: 1000;
}

/* элементы второго уровня */
.menu ul ul li {
    display: block;
}

/* ссылки второго уровня */
.menu ul ul a {
    display: block;
    padding: 6px 12px;
    font-size: 14px;
}

/* показать подменю при наведении */
.menu ul li:hover > ul {
    display: block;
}

/* hover для пунктов подменю */
.menu ul ul a:hover {
    background: #0d5aa7;
}

.link-button {
    cursor: pointer;
    display: inline-block;
    padding: 2px 0px;
    margin: 0px 5px;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px dashed var(--text-link); /* */
}
h1 {
    font-size: 18px;
}


.donate a{
    height: 90px;
    line-height: 90px;
    background-image: linear-gradient(45deg, #737373 25%, #8f8f8f 25%, #8f8f8f 50%, #737373 50%, #737373 75%, #8f8f8f 75%, #8f8f8f 100%);
    background-size: 56.57px 56.57px;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    display: block;
    text-decoration: none;
    border-radius: 5px;
}
.content {
    clear: left;
}
.breadcrumbs {
    margin: -4px 0 12px;
    font-size: 14px;
    color: var(--text-muted);
}
.breadcrumbs-link {
    color: var(--text-link);
    text-decoration: none;
}
.breadcrumbs-link:hover {
    text-decoration: underline;
}
.breadcrumbs-sep {
    display: inline-block;
    margin: 0 6px;
    font-size: 10px;
    opacity: 0.85;
}
.breadcrumbs-current {
    color: var(--text-main);
}

/* Справка: контакты + CTA Premium */
.help-contacts,
.help-support-cta {
    box-sizing: border-box;
    max-width: 36rem;
    margin-inline: auto;
}
.help-contacts {
    margin-block: 1.25rem 1.5rem;
    padding: 1rem 1.15rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 11px;
    background: var(--bg-body);
}
.help-support-cta {
    margin-block: 1.75rem 1.35rem;
    padding: 1.35rem 1.25rem 1.4rem;
    border: 1px solid var(--border-color);
    border-radius: 11px;
    background: linear-gradient(145deg, var(--premium-accent-soft), var(--bg-body) 50%, var(--bg-content));
    text-align: center;
}
.help-contacts-title {
    margin: 0 0 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05em;
    font-weight: bold;
    color: var(--text-main);
}
.help-contacts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.help-contacts-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.75rem;
    line-height: 1.45;
}
.help-contacts-label {
    flex: 0 0 auto;
    min-width: 10.5rem;
    font-weight: 600;
    color: var(--text-main);
}
.help-contacts-link {
    flex: 1 1 12rem;
    min-width: 0;
    word-break: break-all;
    color: var(--text-link);
}
.help-support-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: min(100%, 17rem);
    padding: 15px 24px;
    font: bold 16px/1.2 inherit;
    text-decoration: none;
    color: #fff !important;
    border-radius: 10px;
    background: var(--premium-accent);
    border: 1px solid rgba(0, 0, 0, 0.14);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.help-support-cta-button:hover {
    filter: brightness(1.07);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}
.help-support-cta-button:focus-visible {
    outline: 2px solid var(--premium-accent);
    outline-offset: 3px;
}
.help-support-cta-button span {
    flex: 1 1 auto;
    text-align: center;
}
.help-support-cta-button .fa-heart {
    font-size: 1.05em;
    opacity: 0.95;
}
.help-support-cta-button .fa-arrow-right {
    font-size: 0.88em;
    opacity: 0.9;
}

.view-with-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 16px;
    margin-bottom: 10px;
}
.view-main {
    flex: 0 1 850px;
    box-sizing: border-box;
    min-width: 0;
}
.view-filters-sidebar {
    padding: 10px;
    border-radius: 10px;
    background: var(--bg-content);
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 320px;
    box-sizing: border-box;
    position: sticky;
    top: 12px;
    align-self: flex-start;
    overflow: visible;
    z-index: 2;
}
.view-filters-sidebar .filters {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.view-filters-sidebar .filter-field {
    display: block;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}
.view-filters-sidebar .filter-field.right,
.view-filters-sidebar .filter-field.filter-actions {
    text-align: left;
}
.view-filters-sidebar .filter-field .button {
    width: auto;
}
.view-filters-sidebar .filter-field.bait-type .label,
.view-filters-sidebar .filter-field.fishing-style .label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95em;
}
.view-filters-sidebar .filter-field.fishing-style .label-with-tooltip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.view-filters-sidebar .filter-field.fishing-style .label-with-tooltip .tooltip {
    font-size: 1em;
    line-height: 1;
}
.fishing-style-filter-tooltip {
    max-width: 300px;
    text-align: left;
    white-space: normal;
}
.view-filters-sidebar .filter-field.fishing-style .release-hint {
    max-width: 280px;
}
.view-filters-sidebar .filter-field.fishing-style select {
    width: calc(100% - 17px);
    max-width: 100%;
    box-sizing: border-box;
}
.view-filters-sidebar .filter-field.bait-type .bait-type-multi {
    width: calc(100% - 17px);
    vertical-align: middle;
    max-width: 100%;
    height: 90px;
    box-sizing: border-box;
    padding: 4px 2px;
    overflow-y: auto;
}

/* Ajax suggest: общие стили (поиск, сайдбар, my_posts) */
.rf4-ajax-suggest-wrap {
    position: relative;
    overflow: visible;
}
.rf4-ajax-suggest-dd {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    background: var(--bg-body);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.rf4-ajax-suggest-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.rf4-ajax-suggest-list li {
    padding: 6px 8px;
    cursor: pointer;
}
.rf4-ajax-suggest-list li:hover {
    background: var(--bg-info-block);
}
.rf4-ajax-suggest-list li.rf4-as-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rf4-as-item-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    object-fit: contain;
    vertical-align: middle;
}
.rf4-as-item-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.rf4-as-item-value {
    font-size: inherit;
    line-height: 1.25;
    word-break: break-word;
}
.rf4-as-item-type {
    font-size: 0.85em;
    color: var(--text-muted);
    line-height: 1.2;
}
.view-filters-sidebar .rf4-ajax-suggest-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    display: inline;
}
.view-filters-sidebar .filter-field input,
.view-filters-sidebar .filter-field select {
    background: var(--bg-body);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 3px;
}
.filters .position-input {
    max-width: 120px;
}
.filter-field .label {
    display: block;
    margin-bottom: 5px;
}

.filters  input, .filters select {
    background: var(--bg-body);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 3px;
}
.filters  input , .filters .type select, .filters .region select{
    width: calc(100% - 24px);
    margin-bottom: 2px;
}
.filters .min-weight-field input{
    width: calc(100% - 50px);
}
.filters  label input {width: auto;}
.filters  input[type=submit] {
    width: auto;
}
.filters input.position-input {width: 70px;}

.fish-type label {vertical-align: middle;}
.fish-type label input {width: auto;}
.fish-type label img {width: 10px;}

.stat {
    width: 100%;
    background: var(--bg-content);
    border-radius: 10px;
    padding: 10px;
}
.stat td {
    padding: 2px 5px;
    border-bottom: 1px dashed var(--border-color);
}
.stat .header td {
    font-weight: bold
}
.info i.t{
    padding: 10px;
    display: block;
    background: var(--bg-info-block); /* */
}
.info {
    position: relative;
}
.info .share {
    position: absolute;
    right: 12px;
    top:8px;
    text-decoration: none;
}
.info .share {
    font-size: 14px;
}
.stat .hours input {width: 30px;}
.stat .bait-icon img {
    width: 28px;
    float: left
}
.share-id {
    white-space: nowrap;
    position: relative;
}
.share-id a{
    color: var(--text-muted);
    font-size: 10px;
    text-decoration: none;
}
.post-link {
    white-space: nowrap;
}
.post-link a {
    color: var(--text-muted) !important;
    text-decoration: none;
}

.tooltip-data {
    text-align: left;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    color: #FFF;
    margin-top: 20px;
    opacity: 0;
    padding: 7px;
    position: absolute;
    /* привязка к правому краю иконки: не уезжаем вправо за вьюпорт */
    left: auto;
    right: 0;
    visibility: hidden;
    font-weight: normal;
    font-family: Tahoma, sans-serif;
    z-index: 100;
    font-size: 14px;
    /* max-content + max-width: по тексту, но max(22rem,vw) — иначе при right:0; width:auto shrink-to-fit жмёт к ширине .tooltip-иконки */
    width: max-content;
    max-width: min(22rem, calc(100vw - 0.5rem));
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}
.tooltip-data a {color :#fff; text-decoration: none;}
.tooltip:hover .tooltip-data{
    opacity: 1;
    visibility: visible;
}
/* Tooltip после .share внутри .info — якорь к карточке, выравнивание с иконкой (right: 12px) */
@media (min-width: 481px) {
    .info > .tooltip-data {
        right: 12px;
        margin-top: 0;
        top: calc(8px + 1.25em);
    }
}
.locations {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin: 5px;
}
.locations .item {
    flex: 0 0 415px;
    background-size: 415px  !important;
    height: 200px;
    text-align: center;
    position: relative;
    border-radius: 5px;
}
.locations .title {
    font-size: 20px;
    color: #fff;
    background-color:rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px 5px 0 0;
}
.locations .buttons {
    margin-top: 50px;
    font-size: 18px;
}
.locations .props {
    position: absolute;;
    bottom: 0;
    background-color:rgba(0, 0, 0, 0.5);
    font-size: 14px;
    color: #fff;
    padding: 5px 0px;
    width: 100%;
    border-radius: 0 0 5px 5px;
}
.locations a {
    color: #fff;
}
.filters .filter-field {
    min-width: 0;
}
.filters .filter-field.fish input {
    margin-bottom: 3px;
}
.fish-icon {
    position: relative;
}
.fish-icon a img {
    background: #fff;
    border-radius: 30px;
}
.bait-icon img {
    background: #fff;
    border-radius: 20px;
    padding: 2px;
}
.sticker {
    position: absolute;
    left: 0;
    top: 0;
}
.sticker img {
    width: 12px;
}
.filter-link {
    text-decoration: none;
    border-bottom: 1px dashed;
}
.change-object {
    float: right;
}
.date-period {
    text-align: center;
    padding-top: 50px;
    color: var(--text-muted); /* */
}
.tops-show-block {
    text-align: right;
}
.tops-hide-block {
    float: right;
}
.top-block {
    padding: 5px;
    margin: 10px 0 20px;
}

.tabs {
    display: block;
    list-style: none;
    padding: 5px 0;
    padding:0;
    margin: 0 10px;
}
.tabs li {
    display: inline-block;
}
.tabs a {
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background: #3b4151;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    margin: 1px 0;
}
.tabs a {
    font-size: 16px;
}
.tabs a.active {
    background: var(--bg-tab-active) !important; /* */
    color: var(--text-main); /* */
    cursor: default;
}
.tabs a:hover {
    background: #0d5aa7;
}
.tab-data {
    background: var(--bg-tab-active); /* */
    border-radius: 5px;
    padding: 5px;
}
.small-info {
    color: gray;
    font-size: 10px;
    text-align: center;
    padding: 5px 0;
}

.clip {
    display: inline-block;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    text-align: center;
    font-size: 10px;
    color: white;
    box-shadow:
            0 0 0 3px #f0f0f0, /* Белая внешняя обводка */
            0 4px 6px rgba(0, 0, 0, 0.3);        /* Внутренняя тень */
    background-color:  #333333;
}

.post-extra-depth {
    display: inline-block;
    vertical-align: middle;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}
.post-extra-depth .post-depth-bobber {
    display: inline-block;
    width: 11px;
    height: 20px;
    vertical-align: middle;
    border: 0;
}
.post-extra-depth-val {
    display: inline-block;
    vertical-align: middle;
    margin-left: 3px;
    font-weight: 600;
}

.list-position .post-bug-report-btn {
    padding: 0;
}

.list-position {
    position: relative;
}

.list-position .post-bug-report-btn {
    position: absolute;
    right: 6px;
    bottom: 4px;
}


/***/

.banner-container {
    margin: 10px 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Чтобы на мобильных баннеры переносились */
}

.banner-konkurs img {width: 850px;}

.make-posts {
    width: 330px;
    height: 50px;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    /* Серый градиент для нейтрального вида */
    background: linear-gradient(135deg, #4a4a4a 0%, #2b2b2b 100%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 1px solid #555;
}

.make-posts a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 65px;
    color: #e0e0e0 !important;
    text-decoration: none !important;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-weight: 600;
    font-size: 16px;
    z-index: 2;
}

/* Общая настройка для иконок */
.make-posts::before {
    content: "";
    position: absolute;
    left: 18px;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1); /* Делает иконки белыми */
    opacity: 0.8;
}

/* Иконка VK (исправленный SVG) */
.make-posts.vk::before {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13.162 18.994c-6.098 0-9.57-4.172-9.714-11.107h3.047c.1 5.102 2.345 7.262 4.126 7.711V7.887H13.5v4.406c1.087-.117 2.887-2.117 3.272-4.406h2.894a8.1 8.1 0 01-3 5.484c.9 1.053 2.5 3.1 3.4 5.623h-3.136c-.71-2.226-2.49-3.934-3.568-3.934-.108 0-.216.015-.3.045v3.889h-.002z"/></svg>');
}

/* Иконка Discord */
.make-posts.discord::before {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 11.721 11.721 0 0 0-.617-1.25.077.077 0 0 0-.079-.037 19.736 19.736 0 0 0-4.885 1.515.069.069 0 0 0-.032.027C.533 9.048-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.027 14.027 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128c.125-.094.252-.192.37-.29a.074.074 0 0 1 .077-.01c3.927 1.793 8.18 1.793 12.061 0a.074.074 0 0 1 .077.01c.118.098.245.196.37.29a.077.077 0 0 1-.006.127 12.988 12.988 0 0 1-1.873.893.076.076 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.419-2.157 2.419zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.419-2.157 2.419z"/></svg>');
}
.make-posts.rf4stat::before {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="black" d="M149.1 64.8 109.3 128H64C28.7 128 0 156.7 0 192v224c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64h-45.3l-39.8-63.2c-11.7-18.6-32.1-29.9-54.1-29.9H203.2c-22 0-42.4 11.3-54.1 29.9ZM256 416c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112Zm0-176c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64Z"/></svg>');
}

/* Эффект наведения */
.make-posts:hover {
    filter: brightness(1.2);
    transform: translateY(-1px);
    background: linear-gradient(135deg, #234cb1 0%, #518ccd 100%);
    border-color: #536b7c;
}
.release-hint {
    margin-top: 0;
    padding: 8px 10px;
    background: #fff3cd;
    border: 1px solid #f0d98a;
    border-radius: 8px;
    color: #4f3d00;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1200;
    font-size: 13px;
    line-height: 1.35;
    max-width: 320px;
    min-width: 200px;
    white-space: normal;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}
.js-release-hint {
    display: none;
}
.release-hint-anchor {
    position: relative;
}
.release-hint-target-active {
    box-shadow: 0 0 0 2px rgba(244, 199, 92, 0.65), 0 0 0 8px rgba(244, 199, 92, 0.2);
    border-radius: 10px;
}
.release-hint p {
    margin: 0;
}
.release-hint-close {
    position: absolute;
    top: 4px;
    right: 6px;
    border: 0;
    background: transparent;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    color: #4f3d00;
}
.release-hints-dismiss-all {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1300;
    display: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background: #fff3cd;
    border: 1px solid #f0d98a;
    color: #4f3d00;

}
.release-hints-dismiss-all:hover {
    background: #f0d98a;
}
.user-menu-container > .release-hint {
    top: calc(100% + 6px);
    left: 0;
    max-width: 360px;
}
.menu > ul > li > .release-hint {
    top: calc(100% + 6px);
    left: 0;
}

/***/
.source-name {
    white-space: nowrap;
}
.source-icon {
    vertical-align: middle;
    display: inline-block;
    overflow: hidden;
    border-radius: 20px;
}
.source-icon i {
    color: #0d5aa7;
    font-size: 16px;
    vertical-align: middle;
}
.source-icon img {
    width: 18px;
    max-height: 18px;    
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.source-icon-full img {
    width: 200px;
    max-height: 200px;
    overflow: hidden;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}
.source-link {
    display: inline-block;
    margin-left: 10px;
 
}
.source-link a {
    color: var(--text-muted);
    text-decoration: none;
}

/* user auth */
.user-panel {display: inline-block;}

.user-panel .avatar img{
    height: 20px;
    border-radius: 10px;
}

.user-panel span {
    vertical-align: middle;
    display: inline-block;
}

.auth-modal-overlay {
    display: none;
    position: fixed;
    z-index: 10050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    /* ближе к верху экрана (не по центру по вертикали) + запас снизу под sticky-баннеры */
    padding: 12px 12px 120px;
    box-sizing: border-box;
}

.auth-modal-content {
    background-color: var(--bg-body);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    max-height: min(85vh, calc(100vh - 12px - 120px - 24px));
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-align: center;
}

.auth-close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}
.auth-close-btn:hover,
.auth-close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.auth-back {
    display: block;
    padding-top: 10px;
}

.auth-input {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.auth-input-code {
    text-align: center;
    letter-spacing: 5px;
    font-size: 18px;
}


/* Блок сообщений об ошибках */
.auth-message-box {
    color: red;
    margin-top: 10px;
    text-align: center;
    min-height: 20px;
    font-size: 14px;
}
.finder-share-modal-content {
    width: 560px;
    max-width: 94vw;
    margin-top: 0;
    text-align: left;
}
.finder-share-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.finder-share-dropzone {
    position: relative;
    border: 2px dashed #888;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
}
.finder-share-dropzone.is-dragover {
    border-color: #1976d2;
    background: rgba(25, 118, 210, 0.08);
}
.finder-share-file-actions--desktop-only {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 8px;
}
.finder-share-file-actions--mobile-only {
    display: none;
}
.finder-share-file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.finder-share-file-actions--desktop-only .button,
.finder-share-file-actions--mobile-only .button {
    margin: 0;
}
.finder-share-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 8px;
}
.finder-share-preview-item {
    position: relative;
}
.finder-share-upload-status {
    position: absolute;
    bottom: 6px;
    left: 6px;
    z-index: 2;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
}
.finder-share-upload-spinner {
    border: 2px solid rgba(128, 128, 128, 0.35);
    border-top-color: #1976d2;
    border-radius: 50%;
    animation: finder-share-spin 0.65s linear infinite;
}
.finder-share-upload-ok {
    color: #2e7d32;
    text-shadow: 0 0 2px #fff;
}
.finder-share-upload-err {
    color: #c62828;
    font-weight: 700;
    text-shadow: 0 0 2px #fff;
}
@keyframes finder-share-spin {
    to { transform: rotate(360deg); }
}
.finder-share-preview-item.is-uploading img {
    opacity: 0.55;
}
.finder-share-preview-item img {
    width: 100%;
    height: 86px;
    object-fit: cover;
    border-radius: 6px;
}
.finder-share-remove-file {
    position: absolute;
    top: 2px;
    right: 2px;
    border: 0;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
}
.finder-share-label {
    font-size: 14px;
    font-weight: 600;
}
.finder-share-rules {
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-tab-active);
    border-radius: 6px;
    padding: 8px 10px;
}
.finder-share-rules p {
    margin: 0 0 4px;
}
.finder-share-rules ul {
    margin: 0;
    padding-left: 18px;
}
.finder-share-rules li {
    margin: 4px 0;
}
.finder-share-text {
    min-height: 84px;
    resize: vertical;
}
.finder-share-submit-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.45;
    background: #7a7a7a;
}
.finder-share-submit-btn[disabled]:hover {
    background: #7a7a7a;
}

.auth-legal-consent {
    text-align: left;
    margin: 16px 0 0;
    font-size: 13px;
    line-height: 1.4;
}
.auth-legal-consent-label a {
    color: #1976d2;
    text-decoration: underline;
}
.dark-theme .auth-legal-consent-label {
    color: #eee;
}
.dark-theme .auth-legal-consent-label a {
    color: #90caf9;
}

.profile-page .profile-field, .user-profile-page .user-profile-label {
    margin: 8px 0 4px;
}
.profile-page .profile-field.profile-field-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin: 6px 0 6px;
}
.profile-page .profile-readonly-label {
    color: #666;
    font-size: 14px;
    margin: 0;
    flex: 0 0 auto;
}
.profile-role-badge {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}
.profile-role-badge--user {
    color: #09802b;
}
.profile-role-badge--moderator {
    color: #e65100;
}
.profile-role-badge--admin {
    color: #c62828;
}
.user-profile-username-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    margin: 6px 0 4px;
}
.user-profile-username-line .user-profile-username-text {
    margin: 0;
}
.profile-page .profile-readonly-block {
    margin-bottom: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}
.profile-readonly-value {
    margin: 3px 0 0;
}
.profile-avatar-preview, .user-profile-avatar {
    border-radius: 8px;
    object-fit: cover;
    max-width: 100%;
    height: auto;
}
.form-flash-ok {
    color: #2e7d32;
}
.profile-page .profile-form-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 20px;
}
.profile-page .profile-form-row > .profile-field {
    flex: 1 1 224px;
    min-width: 0;
    margin: 6px 0 3px;
}
.profile-page .profile-field-email .profile-email-flow {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.profile-page .profile-field-email .profile-email-flow .auth-input.auth-input-code {
    max-width: 100%;
    box-sizing: border-box;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.profile-oauth-block,
.profile-delete-account-form {
    margin: 20px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid #e0e0e0;
    box-sizing: border-box;
    width: 100%;
}
.profile-oauth-block {
    clear: both;
}
.profile-oauth-hint {
    margin: 0 0 12px;
}
.profile-oauth-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px 20px;
    align-items: stretch;
}
.profile-oauth-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: var(--bg-body, #fff);
    box-sizing: border-box;
}
.profile-oauth-col-head {
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 6px;
}
.profile-oauth-unlink-form .button {
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
    padding: 10px 12px;
    font-size: 14px;
}
@media (max-width: 512px) {
    .profile-oauth-cols {
        grid-template-columns: 1fr;
    }
}
.profile-delete-ack-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}
.profile-delete-ack-input {
    flex-shrink: 0;
    margin-top: 2px;
}
.profile-legal-block {
    margin: 20px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--border-color, #e0e0e0);
}
.profile-legal-links {
    margin: 0;
    font-size: 14px;
}
.profile-legal-links a {
    color: var(--link-color, #1976d2);
    text-decoration: underline;
}
.profile-legal-links a:hover {
    text-decoration: none;
}
.profile-legal-sep {
    display: inline-block;
    margin: 0 0.5em;
    color: var(--text-muted, #666);
    user-select: none;
}
.profile-premium-payments {
    margin: 20px 0 ;
    padding: 20px 0 0;
    border-top: 1px solid var(--border-color, #e0e0e0);
}
.profile-premium-payments-empty {
    margin: 0;
}
.profile-premium-payments-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
}
.profile-premium-payments-table {
    width: 100%;
    min-width: 420px;
    border-collapse: collapse;
    font-size: 14px;
    color: var(--text-main, inherit);
}
.profile-premium-payments-table th,
.profile-premium-payments-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    vertical-align: top;
}
.profile-premium-payments-table th {
    font-weight: 600;
    color: var(--text-main, inherit);
    background: var(--bg-content, rgba(0, 0, 0, 0.03));
}
body.dark-theme .profile-premium-payments-table th {
    background: rgba(255, 255, 255, 0.06);
}
.button.button-danger {
    background: #c62828;
    border-color: #b71c1c;
    color: #fff;
}

.site-info-flash {
    margin: 0 0 1em;
    padding: 10px 14px;
    border-radius: 6px;
}
.site-info-flash.site-info-flash--page {
    margin: 0 0 1.35rem;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    border: 1px solid transparent;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.site-info-flash.site-info-flash--page.site-info-flash--success {
    background: linear-gradient(145deg, rgba(46, 125, 50, 0.16) 0%, rgba(46, 125, 50, 0.07) 100%);
    border-color: rgba(46, 125, 50, 0.42);
    color: #1b5e20;
}
.site-info-flash.site-info-flash--page.site-info-flash--error {
    background: linear-gradient(145deg, rgba(198, 40, 40, 0.12) 0%, rgba(198, 40, 40, 0.05) 100%);
    border-color: rgba(198, 40, 40, 0.45);
    color: #b71c1c;
}
body.dark-theme .site-info-flash.site-info-flash--page {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}
body.dark-theme .site-info-flash.site-info-flash--page.site-info-flash--success {
    background: rgba(46, 125, 50, 0.22);
    border-color: rgba(129, 199, 132, 0.45);
    color: #c8e6c9;
}
body.dark-theme .site-info-flash.site-info-flash--page.site-info-flash--error {
    background: rgba(198, 40, 40, 0.22);
    border-color: rgba(239, 83, 80, 0.48);
    color: #ffccbc;
}
.profile-name-row .auth-input {
    flex: 1;
    min-width: 0;
}
.profile-name-check {
    flex-shrink: 0;
    display: none;
    color: #2e7d32;
    font-size: 19px;
    line-height: 1;
}
.profile-name-check.is-visible {
    display: block;
}
.profile-form-messages,
.profile-form-messages-field {
    margin: 2px 0 4px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.profile-form-messages .profile-field-msg,
.profile-form-messages-field .profile-field-msg {
    margin-top: 3px;
    margin-bottom: 2px;
    text-align: left;
}
.profile-hint, .profile-public-link {
    font-size: 14px;
    color: #666;
    margin: 8px 0 16px;
}
.profile-subheading {
    font-size: 18px;
    margin: 0 0 8px;
}
.user-profile-page .user-profile-card p {
    margin: 6px 0;
}

/* --- Стили Прелоадера (CSS Spinner) --- */
.preloader-container {
    display: none;
    text-align: center;
    padding: 40px 0;
}
.preloader-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
.preloader-spinner-text {
    margin-top: 15px;
    font-weight: bold;
    color: #555;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* --- Стили Меню Пользователя --- */
.user-menu-container {
    position: relative;
    display: inline-block;
}

.user-menu-trigger {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    user-select: none;
    font-weight: bold;
    color: var(--text-main);
}
.user-menu-trigger:hover {
    background-color: var(--bg-tab-active);
}
.user-menu-trigger .arrow {
    font-size: 10px;
    margin-left: 5px;
}


/* Выпадающий блок */
.user-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 8px;
    padding: 10px 0;
    border: 1px solid #ddd;
    margin-top: 5px;
}


/* Элементы меню */
.menu-item {
    padding: 8px 20px;
    cursor: pointer;
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}
.menu-item:hover {
    background-color: #f1f1f1;
}
.menu-label {
    padding: 5px 20px;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
}
.menu-divider {
    height: 1px;
    background-color: #eee;
    margin: 5px 0;
}
.menu-item.disabled {
    color: #b5b5b5;
    cursor: default;
}

.social-auth-buttons {
    margin-bottom: 15px;
}

.btn-social {
    display: block;
    width: 100%;       /* Кнопка во всю ширину */
    margin-bottom: 10px;
    text-align: center;
    font-size: 14px;
    border: none;
    padding: 10px;
    box-sizing: border-box;
    text-decoration: none; /* Убираем подчеркивание ссылок */
    color: #fff !important; /* Цвет текста белый */
}

.btn-social i {
    margin-right: 10px;
    font-size: 16px;
    vertical-align: middle;
}

/* Цвета брендов */
.btn-discord {
    background-color: #5865F2 !important; /* Discord Blurple */
}
.btn-discord:hover {
    background-color: #4752C4 !important;
}

.btn-vk {
    background-color: #0077FF !important; /* VK Blue */
}
.btn-vk:hover {
    background-color: #0066DD !important;
}

.btn-donationalerts {
    background-color: #e39700 !important;
}
.btn-donationalerts:hover {
    background-color: #c08000 !important;
}

/* Разделитель "или" */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    z-index: 1;
}

.auth-divider span {
    position: relative;
    z-index: 2;
    background: var(--bg-body);
    padding: 0 10px;
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
}

/* Кнопка Email тоже во всю ширину */
.btn-full-width {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
}

/* POSTs */
.post-item {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 5px;
    padding: 5px;
    background: var(--bg-fp-message);
    border-radius: 10px;
    position: relative;
}

.post-reply-to {
    flex: 1 1 100%;
    margin: 0 0 2px 4px;
    font-size: 13px;
    line-height: 1.35;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.2em 0.35em;
}
.post-reply-to-icon {
    opacity: 0.85;
    font-size: 0.95em;
}
.post-reply-to-prefix {
    color: inherit;
}
.post-reply-to-link {
    color: var(--fp-color);
    text-decoration: none;
    font-weight: 500;
}
.post-reply-to-link:hover {
    text-decoration: underline;
}

.post-info, .post-detail {
    flex: 0 0 392px;
    height: 200px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    position: relative;
    /*border: 2px solid #ccc;*/
    background: var(--bg-body);
    border-left: 5px solid rgba(0, 0, 0, 0);
}
.print-mode .post-item{
    padding: 0;
    display: block;
    background: #e7e7e7;
    margin-bottom: 0;
}
.print-mode .post-info {
    flex: none;
    width: 392px !important;
    background: #fff;
}

.post-item.troff-1 .post-info{
    border-left: 5px solid rgba(234, 200, 17, 1);

    /*
    background-image: linear-gradient(var(--bg-body), rgba(234, 200, 17, 0.2));
    background: rgba(234, 200, 17, 0.3);
    box-shadow: 0 0 5px rgba(234, 200, 17, 1);
    border: 2px solid rgba(234, 200, 17, 1);
     */
}
.post-item.troff-2 .post-info{
    border-left: 5px solid rgba(0, 170, 251, 0.5);
    /*
    background-image: linear-gradient(var(--bg-body), rgba(0, 170, 251, 0.3));
    background: rgba(0, 170, 251, 0.3);
    box-shadow: 0 0 5px rgba(0, 170, 251, 1);
    border: 2px solid rgba(0, 170, 251, 1);
     */
}

.post-item.rarity-2 .post-info {
    background-image: linear-gradient(var(--bg-body), rgba(180, 127, 254, 0.2));
}
.post-item.rarity-3 .post-info {
    background-image: linear-gradient(var(--bg-body), rgba(232, 124, 229, 0.2));
}

.post-item .time-col {
    position: absolute;
    top: 10px;
    left: 10px;
}
.post-item .loc-col {
    text-align: center;
}
.post-item .spot-col{
    position: absolute;
    top: 10px;
    right: 10px;
}
.post-item .player {
    position: absolute;
    right: 10px;
    top: 35px;
}
.post-item .fish-list {
    text-align:  center;
    padding-top: 25px;
    height: 102px;
    overflow: hidden;
}
.post-item .fish-list.keepnet {
    height: auto;
    margin-bottom: 50px;
}

.post-item .fish-icon {
    display: inline-block;
    vertical-align: top;
    width: 90px;
    height: 110px;
    overflow: hidden;
}
.post-item .fish-icon .keepnet-icon {
    display: block;
    width: 51px;
    height: 46px;
    padding-top: 5px;
    font-size: 16px;
    text-align: center;
    border: 2px solid var(--text-main);
    border-radius: 40px;
    color: var(--text-main);
    text-decoration: none;
}
.post-item .fish-icon a img{
    width: 55px;
}
.post-item .fish-icon .weight{
    display: block;
}
.post-item .fish-icon .fish-name{
    display: block;
}
.post-item .baits {
    position: absolute;
    bottom: 10px;
    white-space: nowrap;
    display: flex;    
    gap: 10px; 
    align-items: center;
}
.post-item  .bait-icon {
    flex-shrink: 0;     
    white-space: nowrap; 
}
.post-item  .bait-text {
    flex-grow: 1; 
    white-space: normal    
}

.post-item .bait-icon img {
    width: 30px;
    vertical-align: middle;
}
.post-item .bait-icon .selected {
    border: 1px solid #f39c12;
}
.post-detail .files {
    max-height: 116px;
    overflow: hidden;
    margin-bottom: 5px;
}
.files .screen {
    margin: 2px;
    border-radius: 5px;
    overflow: hidden;
    height: 52px;
    max-width: 93px;
    min-width: 50px;
    display:inline-block;
    background: #282828;
}
.files .screen img {
    height: 100%;
    object-fit: contain;
    width: 100%;
    object-position: center;
}
/* Подложка «идёт загрузка» под img: текст снизу, картинка сверху (z-index). */
.files .screen.screen-file-slot .screen-file-slot-media {
    position: relative;
    height: 100%;
}
.files .screen.screen-file-slot .screen-file-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    text-align: center;
    font-size: 11px;
    line-height: 1.3;
    color: var(--text-muted);
    pointer-events: none;
}
.files .screen.screen-file-slot .screen-file-slot-media > a {
    position: relative;
    z-index: 1;
    display: block;
    height: 100%;
}
.files .screen.screen--premium-placeholder a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 100%;
    min-height: 100%;
    background: var(--bg-content);
    color: var(--text-muted);
    border: 1px dashed var(--border-color);
    border-radius: 4px;
}
.files .screen.screen--premium-placeholder a:hover {
    color: var(--text-link);
}
.screen-premium-placeholder-inner {
    font-size: 16px;
    line-height: 1.2;
    opacity: 0.92;
    text-align: center;
}
.screen-premium-placeholder-inner .fa-image {
    display: block;
}
.screen-premium-placeholder-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
}
.post-one .files .screen.screen--premium-placeholder .screen-premium-placeholder-inner {
    font-size: 28px;
}
.rf4-gallery-modal[hidden] {
    display: none !important;
}
.rf4-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rf4-gallery-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}
.rf4-gallery-image {
    position: relative;
    z-index: 2;
    max-width: 96vw;
    max-height: 92vh;
    object-fit: contain;
    box-shadow: 0 8px 42px rgba(0, 0, 0, 0.5);
}
.rf4-gallery-close {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 28px;
    line-height: 1;
}
body.rf4-gallery-open {
    overflow: hidden;
}
.posts-comment-premium-link {
    font-weight: 600;
}

.post-detail .comment {
    background: var(--bg-hover);
    padding: 5px;
    border-radius: 5px;
    max-height: 70px;
    overflow-y: auto;
}
.post-item .user {
    padding: 2px 10px;
    position: absolute;
    right: 5px;
    bottom: 5px ;
    font-size: 12px;
    color: var(--fp-color);
    white-space: nowrap;
}
.post-item .user a{
    text-decoration: none;
}
.post-item .user .avatar {
    border-radius: 20px;
    vertical-align: middle;
}
.post-item .user .avatar img {
    width: 18px;
}
.post-item .footer {
    padding: 5px;
}
.post-item  .footer a {
    color: var(--fp-color);
}
.print-mode .post-item  .footer a {
    color: #4d4d4d;
}
.posts-autoload-toggle {
    margin: 8px 0 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg-content) 86%, #b7d58f 14%);
}
.posts-autoload-toggle .posts-autoload-main {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    cursor: pointer;
}
.posts-autoload-main.posts-autoload-main--premium-locked {
    cursor: not-allowed;
    opacity: 0.72;
}
.posts-autoload-main.posts-autoload-main--premium-locked input[disabled] {
    cursor: not-allowed;
}
.posts-autoload-main.tooltip {
    position: relative;
}
.posts-autoload-main.tooltip .tooltip-data {
    left: 0;
    right: auto;
}
.posts-autoload-sort {
    white-space: nowrap;
}
.posts-autoload-sort-link {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 600;
    opacity: 0.85;
    transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
}
.posts-autoload-sort-link:hover {
    opacity: 1;
    background: color-mix(in srgb, var(--bg-body) 85%, #9fc2ff 15%);
}
.posts-autoload-sort-link.is-active {
    opacity: 1;
    text-decoration: none;
    color: var(--text-main);
}
.post-item.post-item-autoload-new {
    background: #fff6cc;
}
body.dark-theme .post-item.post-item-autoload-new {
    background: #3f3a18;
}
.post-autoload-new-mark {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 10px;
    background: #f39c12;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.post-one .post-info, .post-one .post-detail {
    flex: auto;
    width: 100%;
    height: auto;
    min-height: 200px;
}

.post-one .post-detail .files {
    max-height: none;
}
.post-one  .post-detail .files .screen {
    height: 340px;
    width: 550px;
    max-width: none;
}
.post-one .post-detail {
    margin-top: 10px;
}
.post-one .baits {
    position: relative;
    width: 450px;
    display: block;
}
.post-one .baits div {
    margin-top: 5px;
}
.post-item .baits .composition .composition-item-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    vertical-align: middle;
}
.post-item .baits .composition .composition-item-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.post-item .baits .composition .composition-item-type {
    flex: 0 1 auto;
    max-width: 48%;
    color: #969696;
    font-size: 0.92em;
    word-break: break-word;
}
.post-item .baits .composition .composition-item-label {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    word-break: break-word;
}
.post-item .baits .composition .composition-item-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    object-fit: contain;
}


.post-item .baits .composition div div{
    margin-top: 10px
}
.post-one .post-item  .baits .composition div {
    margin-top: 5px;
    background: #000;
    border-radius: 5px;
    color: #fff;
    padding: 10px;
}


/*** Mobile **/
@media (max-width: 480px) {
    .posts-autoload-toggle {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
    }
    .posts-autoload-toggle .posts-autoload-main {
        width: 100%;
    }
    .posts-autoload-sort {
        width: 100%;
        white-space: normal;
    }

    .spot-blocked-banner-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .spot-blocked-banner-actions > .button {
        flex: none !important;
        width: 100%;
    }

    .post-info, .post-detail {
        flex: auto;
        font-size: 12px;
        min-width: 330px;
    }
    .post-info, .post-detail {
        border: none;
    }
    .post-one  .post-detail .files .screen {
        width: 100%;
        height: 225px;
    }
    .post-item .user {
        max-width: 260px;
        overflow: hidden;
    }
    .post-one .baits {     
        width: 340px;
    }
    .banner-konkurs img {width: 360px;}
    .make-posts {
        width: 100%;
    }

    .hidden-desktop {
        display: block;
    }
    .hidden-mobile {
        display: none !important;
    }
    .clip-block {
        display: inline-block;
        margin-left: -5px ;
    }

    .topnav .menu {
        display: none;
    }
    .mobile-clear {
        clear: both;
    }
    .mobile-block {
        display: block;
    }
    body {
        width: auto;
        padding: 0 5px;
        margin: 0;
        font-size: 16px;
        padding-bottom: 0;
    }
    .logo {padding: 0 10px 0 0;}
    .logo img {
        width: 60px;
    }
    .tooltip-data {
        left: 0;
        right: auto;
    }
    .info > .tooltip-data {
        margin-top: 0;
        top: calc(8px + 1.25em);
    }

    .topnav .langs {
        top: 50px;
    }
    .topnav {
        position: sticky;
        top: 0;
        height: 80px;
        padding-top: 5px;
    }
    .topnav .name {
        text-align: left;
        background: var(--bg-nav);
        color: var(--text-main);
        font-size: 14px;
        display: block;
        padding-top: 10px;
        padding-right: 45px;
        clear: none;
    }
    .topnav .menu {
        width: 100%;
        overflow: hidden;
        position: absolute;
        left: 0;
        top: 70px;
        z-index: 100;
        background: #fff;
    }
    .menu h1 {
        padding-left: 0;
    }
    .topnav a.icon {
        background: black;
        display: block;
        position: absolute;
        right: 5px;
        top: 10px;
        padding: 7px 10px;
        border-radius: 7px;
        color: #fff;
    }
    .menu li a {
        color: white;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        display: block;
        float: none;
        background-color: #333;
        border-radius: 0;
    }
    .release-hint {
        display: none !important;
    }
    .release-hints-dismiss-all {
        display: none !important;
    }
    .menu > ul > li > .release-hint {
        left: 6px;
        right: 6px;
        max-width: none;
        top: calc(100% + 4px);
    }
    .user-menu-container > .release-hint {
        left: auto;
        right: 0;
        width: min(320px, calc(100vw - 16px));
        max-width: none;
    }
    .release-hint-target-active {
        box-shadow: 0 0 0 2px rgba(244, 199, 92, 0.55), 0 0 0 6px rgba(244, 199, 92, 0.18);
    }
    .release-hint-anchor {
        position: static !important;
    }
    .release-hint-target-active {
        box-shadow: none !important;
    }

    .menu li a:hover {
        background-color: #ddd;
        color: black;
    }
    .menu li {
        display: block;
    }
    /* подменю — показываем всегда */
    .menu ul ul {
        display: block !important;
        position: static;
        background: #2f3442;
        padding: 0;
    }

    /* пункты подменю */
    .menu ul ul li a {
        padding: 10px 16px;
        font-size: 15px;
        background: #2f3442;
        border-left: 3px solid #0d5aa7;
    }

    .menu ul ul li a:hover {
        background: #444b5e;
        color: #fff;
    }

    /* отключаем hover-логику полностью */
    .menu li:hover > ul {
        display: block;
    }

    /* убираем "мостик" — он нужен только на desktop */
    .menu ul ul::before {
        display: none;
    }

    body .site-footer {
        position: relative;
    }

    small .button {
        padding: 5px;
    }
    .mobile-label {
        display: inline-block;
        color: var(--text-muted);
        font-size: 12px;
        width: 120px;
    }
    .list-position .mobile-label {
        width: auto;
    }

    .list-position {
        width: 98%;
    }
    .mobile-location {
        font-weight: bold;
    }
    .stat td {
        display: block;
        float: left;
        border : none;
        font-size: 14px;
    }
    .stat tr {
        display: block;
        clear: both;
        position: relative;
    }
    tr.light-troff_super {border-left: 5px solid  #0d5aa7;}
    tr.light-troff {border-left: 5px solid #f39c12;}

    .stat .header {
        display: none
    }
    .stat .info {
        width: calc(100% - 10px);
    }
    .data tr {
        border-bottom: 2px solid #1e5eb6;
    }
    .data .time div {
        display: inline;
    }
    .data .list-gamer {
        position: absolute;
        right: 0;
        top: 70px;
        font-size: 14px;
    }
    .data .fish-icon img{
        width: 32px;
    }
    .data .fish-icon .sticker img {
        width: 8px;
    }
    .filters .filter-field.fish, .filters .filter-field.location, .filters .filter-field.bait, .filters .filter-field.gamer {
        width: 45%;
    }
    .view-filters-sidebar .filters .filter-field {
        width: 100% !important;
    }
    .locations {
      display: block;
    }
    .locations .item {
        flex: none;
        background-size: 100%  !important;
        width: 100%;
        height: 180px;
        margin: 5px 0 0;
    }
    .locations .buttons {
        margin-top: 20px;
    }
    .orders {
        float: none !important;
        background: #000;
        color: #fff;
    }
    .orders a {
        color: #fff;
    }

    .view-with-filters {
        flex-direction: column;
    }
    .view-main {
        width: 100% !important;
        max-width: 100% !important;
    }
    /* DOM: main first, aside second; flex order moves filters above content */
    .view-filters-sidebar {
        order: -1;
        max-width: 100%;
        width: 100%;
        position: static;
        max-height: none;
        overflow: visible;
        z-index: auto;
    }
    .view-filters-sidebar .filter-field {
        float: none;
    }
    .finder-share-modal-content {
        width: auto;
        max-width: none;
        margin: 2vh 8px;
        padding: 12px;
        max-height: 94vh;
        overflow-y: auto;
    }
    .finder-share-form {
        gap: 8px;
    }
    .finder-share-dropzone {
        padding: 0;
        border: 0;
        border-radius: 0;
        cursor: default;
        text-align: left;
        pointer-events: none;
    }
    .finder-share-dropzone .finder-share-file-actions--mobile-only {
        pointer-events: auto;
    }
    .finder-share-dropzone .finder-share-files-hint {
        display: none;
    }
    .finder-share-dropzone.is-dragover {
        background: transparent;
    }
    .finder-share-file-actions--desktop-only {
        display: none;
    }
    .finder-share-file-actions--mobile-only {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        margin-bottom: 8px;
    }
    .finder-share-preview {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .finder-share-preview-item img {
        height: 78px;
    }
    .finder-share-rules {
        font-size: 12px;
        padding: 7px 8px;
    }
    .finder-share-submit-btn {
        width: 100%;
        text-align: center;
    }

    .premium-pay-inline {
        padding: 0 10px !important;
    }
    .premium-pay-inline-title {
        font-size: 16px;
    }
}

/* Premium landing */
:root {
    --premium-accent: #b59600;
    --premium-accent-soft: rgba(137, 137, 137, 0.12);
    --premium-gold: #b8956c;
    --premium-gold-soft: #d4b896;
    --premium-gold-glow: rgba(184, 149, 108, 0.28);
    --premium-tile-bg: #fafafa;
}
body.dark-theme {
    --premium-accent-soft: rgb(181 168 77 / 12%);
    --premium-tile-bg: var(--bg-content);
    --premium-gold-glow: rgba(212, 184, 150, 0.2);
}

.premium-active-banner {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}
.premium-section {
    margin-bottom: 32px;
}
.premium-section-title {
    font-size: 17px;
    font-weight: bold;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--premium-accent);
    color: var(--text-main);
    letter-spacing: 0.02em;
}
/* Вводный блок-карточка (премиум, поиск под H1 и т.д.) */
.rf4-lead-block {
    margin-bottom: 12px;
    padding: 18px 20px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--bg-content) 0%, var(--bg-body) 100%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
body.dark-theme .rf4-lead-block {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}
.rf4-lead-block-text,
.rf4-lead-block-copy p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-main);
}
.rf4-lead-block-text {
    margin: 0;
}
.rf4-lead-block-copy p {
    margin: 0 0 0.85em;
}
.rf4-lead-block-copy p:last-child {
    margin-bottom: 0;
}
.rf4-lead-block.info {
    padding-right: 48px;
}
.premium-pitch .rf4-lead-block {
    margin-bottom: 24px;
}
.posts-premium-cta {
    margin-top: 10px;
    margin-bottom: 14px;
    border-color: var(--premium-accent);
    background: linear-gradient(135deg, #bf9e0026 0%, #d4b8965c 50%);
}
.posts-premium-cta.spot-blocked-banner {
    border: none;
    background: linear-gradient(135deg, #bf000026 0%, #ff000096 80%);
}

.posts-premium-cta-title {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
}
.posts-premium-cta-title i {
    margin-right: 7px;
}
.posts-premium-cta-text {
    margin: 6px 0 0;
    font-size: 16px;
    color: var(--text-main);
}
.posts-premium-cta-text .posts-premium-cta-highlight {
    font-size: 17px;
    font-weight: 700;
    color: #c62828;
    line-height: 1.35;
}
body.dark-theme .posts-premium-cta-text .posts-premium-cta-highlight {
    color: var(--premium-gold-soft);
}
.posts-premium-cta-action {
    margin: 12px 0 0;
}
.spot-blocked-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.spot-blocked-banner-actions > .button {
    flex: 1 1 120px;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
    width: auto;
}
.spot-blocked-banner-actions .posts-premium-cta-button {
    width: auto;
}
.posts-premium-cta-action.spot-blocked-banner-actions .posts-premium-cta-button:only-child {
    width: 100%;
}
.posts-premium-cta-button {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-size: 18px;
    background: linear-gradient(135deg,  var(--premium-gold-soft) 0%, var(--premium-accent) 50%);
}
.posts-premium-cta-button:hover {
    background: #3b4151
}
.posts-premium-cta-button i {
    margin-right: 6px;
}
.community-description {
    margin: 12px 0;
}
.community-description-text {
    margin: 6px 0 0;
    white-space: normal;
}
.community-url-display {
    word-break: break-all;
}
.community-owner .user a {
    text-decoration: none;
}
.community-owner .user .avatar {
    border-radius: 20px;
    vertical-align: middle;
}
.community-owner .user .avatar img {
    width: 18px;
}
.community-edit-form {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
}
.community-edit-form-title {
    margin: 0 0 12px;
    font-size: 18px;
}
.community-edit-textarea,
.community-edit-input {
    width: 100%;
    max-width: 520px;
    box-sizing: border-box;
    margin-top: 6px;
}
.community-edit-input--narrow {
    max-width: 160px;
}
.community-edit-owner-wrap {
    max-width: 520px;
}
.community-edit-textarea {
    min-height: 120px;
    resize: vertical;
}
.community-edit-hint {
    display: inline-block;
    margin-top: 6px;
    color: var(--text-muted);
}
.community-owner-contact-hint {
    margin: 12px 0 0;
    font-size: 0.85em;
    line-height: 1.45;
    color: var(--text-muted);
}
.community-edit-trash {
    margin: 12px 0 16px;
}
.community-trash-banner {
    margin: 0 0 12px;
}
.community-banner-form {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
}
.community-banner-preview {
    margin: 10px 0;
}
.community-banner-preview-img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: min(200px, 50vw);
    object-fit: contain;
}
.community-banner-status {
    margin: 8px 0;
}
.community-banner-langs {
    margin: 12px 0 16px;
    padding: 10px 12px;
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
    border-radius: 6px;
}
.community-banner-langs legend {
    padding: 0 4px;
}
.community-banner-langs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 8px;
}
.community-banner-lang-option {
    white-space: nowrap;
}
.search-sidebar-banners {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
}
.search-sidebar-banner-slide {
    display: none;
}
.search-sidebar-banner-slide.is-active {
    display: block;
}
.search-sidebar-banner-link {
    display: block;
    width: 100%;
    max-width: 400px;
    line-height: 0;
}
.search-sidebar-banner-img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: min(200px, 50vw);
    object-fit: contain;
    border-radius: 6px;
}
.search-sidebar-banner-credit {
    margin: 6px 0 0;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
}
.search-sidebar-banner-credit a {
    color: var(--text-muted);
    text-decoration: none;
}
.search-sidebar-banner-credit a:hover {
    text-decoration: underline;
}
.community-banner-hide-option {
    margin: 12px 0 0;
    font-size: 0.95em;
}
.community-posts-section {
    margin-top: 24px;
}
.community-posts-title {
    margin: 0 0 12px;
    font-size: 20px;
}
.community-posts-empty {
    margin: 8px 0 0;
    color: var(--text-muted);
}
.community-posts-empty--hidden {
    display: none;
}
.community-stats-panel {
    margin: 0;
}
.community-stats-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
}
.community-stats-list {
    margin: 0;
    padding: 0;
}
.community-stats-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
}
.community-stats-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.community-stats-row dt {
    margin: 0;
    font-weight: normal;
    font-size: 0.95em;
    color: var(--text-muted);
}
.community-stats-row dd {
    margin: 0;
    font-weight: 600;
    font-size: 1.05em;
    white-space: nowrap;
}
.community-stats-posts-link {
    margin: 14px 0 0;
    font-size: 0.95em;
}
.community-stats-posts-link a {
    text-decoration: none;
}
.community-stats-posts-link a:hover {
    text-decoration: underline;
}

.source-redirect-ad {
    min-height: 120px;
    margin: 16px 0;
    border-radius: 8px;
    background: var(--bg-body);
    border: 1px dashed var(--border-color);
}
.source-redirect-countdown {
    margin: 12px 0 8px;
    font-size: 15px;
    font-weight: 600;
}
.source-redirect-url {
    margin: 14px 0 0;
    word-break: break-all;
    color: var(--text-muted);
}
.premium-funding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.premium-funding-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 16px 16px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    border-left: 4px solid var(--premium-accent);
    min-height: 100%;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.premium-funding-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--premium-accent-soft);
    color: var(--premium-accent);
    font-size: 18px;
}
.premium-funding-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-main);
}
.premium-funding-text .premium-posts-link,
.premium-feature-text .premium-posts-link,
.premium-trial-block .premium-posts-link {
    color: var(--text-link);
    text-decoration: underline;
    font-weight: bold;
}
.premium-funding-text .premium-posts-link:hover,
.premium-feature-text .premium-posts-link:hover,
.premium-trial-block .premium-posts-link:hover {
    opacity: 0.92;
}
.premium-legal-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.premium-legal-footer-title {
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 12px;
    color: var(--text-main);
    border-bottom: none;
    padding-bottom: 0;
}
.premium-legal-footer-body {
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-muted);
}
.premium-legal-footer-line {
    margin: 0 0 8px;
}
.premium-legal-footer-line:last-child {
    margin-bottom: 0;
}
.premium-legal-footer-line a {
    color: var(--text-link);
}
.premium-legal-documents {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.premium-legal-documents-title {
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 10px;
    color: var(--text-main);
}
.premium-legal-documents-list {
    margin: 0;
    padding-left: 20px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
}
.premium-legal-documents-list a {
    color: var(--text-link);
}
.legal-static-page {
    font-size: 14px;
    line-height: 1.55;
    max-width: 720px;
}
.legal-static-page h2 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 1.5em 0 0.55em;
    color: var(--text-main);
}
.legal-static-page h2:first-of-type {
    margin-top: 0.35em;
}
.legal-static-page h3 {
    font-size: 1.05rem;
    font-weight: bold;
    margin: 1.15em 0 0.45em;
    color: var(--text-main);
}
.legal-static-page p {
    margin: 0 0 0.85em;
    color: var(--text-main);
}
.legal-static-page ul,
.legal-static-page ol {
    margin: 0 0 1em;
    padding-left: 1.35em;
    color: var(--text-main);
}
.legal-static-page li {
    margin-bottom: 0.4em;
}
.legal-static-page .legal-md-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 0 1em;
    max-width: 100%;
}
.legal-static-page table.legal-md-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}
.legal-static-page table.legal-md-table th,
.legal-static-page table.legal-md-table td {
    border: 1px solid var(--border-soft, #ddd);
    padding: 0.45em 0.55em;
    vertical-align: top;
    text-align: left;
}
.legal-static-page table.legal-md-table th {
    font-weight: bold;
    background: var(--bg-soft, rgba(0, 0, 0, 0.04));
}
.legal-static-page--markdown > p:first-of-type {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 1.25em;
}
.legal-static-page .legal-muted {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 1.25em;
}
.legal-static-page a {
    color: var(--text-link);
}
#premium-plans-heading {
    scroll-margin-top: 16px;
}
.premium-outro {
    margin-top: 8px;
    margin-bottom: 36px;
    padding: 22px 24px;
    
    background: var(--bg-body);
    text-align: center;
}
.premium-outro-text {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.premium-outro-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 32px;
    border-radius: 10px;
}
.premium-outro-cta .fa-arrow-down {
    font-size: 14px;
    opacity: 0.9;
}
.premium-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}
.premium-feature-card {
    position: relative;
    padding: 16px 14px 16px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
    min-height: 92px;
}
.premium-feature-card--live {
    border-left: 4px solid var(--premium-accent);
}
.premium-feature-card--dev {
    border-left: 4px solid var(--text-muted);
    opacity: 0.95;
    padding-top: 36px;
}
.premium-feature-icon {
    grid-row: 1 / -1;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--premium-accent-soft);
    color: var(--premium-accent);
    font-size: 20px;
}
.premium-feature-card--dev .premium-feature-icon {
    background: var(--bg-hover);
    color: var(--text-muted);
}
.premium-feature-text {
    grid-column: 2;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-main);
    align-self: center;
}
.premium-feature-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 7px;
    border-radius: 6px;
    line-height: 1.2;
}
.premium-feature-badge--live {
    background: var(--premium-accent);
    color: #fff;
    border: none;
    width: 22px;
    height: 22px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.premium-feature-badge--live i {
    font-size: 11px;
}
.premium-feature-badge--dev {
    background: var(--bg-hover);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
    font-size: 10px;
    white-space: nowrap;
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
}
.premium-feature-card--live .premium-feature-text {
    padding-right: 8px;
}
.premium-hint {
    color: var(--text-muted);
    font-size: 12px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Premium plan tiles (reference-style) */
.premium-plans-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-top: 16px;
}
.premium-plan-tile {
    position: relative;
    flex: 1 1 180px;
    max-width: 240px;
    min-height: 148px;
    padding: 28px 18px 18px;
    margin-top: 10px;
    border: none;
    border-radius: 14px;
    background: var(--premium-tile-bg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
body.dark-theme .premium-plan-tile {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.premium-plan-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.premium-plan-tile:focus {
    outline: 2px solid var(--premium-gold);
    outline-offset: 2px;
}
.premium-plan-tile--featured {
    border: 2px solid var(--premium-gold-soft);
    box-shadow: 0 4px 18px var(--premium-gold-glow), 0 4px 14px rgba(0, 0, 0, 0.08);
}
.premium-plan-tile-glow {
    position: absolute;
    left: 50%;
    top: 18px;
    transform: translateX(-50%);
    width: 120px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, var(--premium-gold-glow) 0%, transparent 70%);
    pointer-events: none;
}
.premium-plan-tile-discount {
    position: absolute;
    top: 24px;
    left: 16px;
    z-index: 2;
    font-size: 14px;
    font-weight: bold;
    color: var(--premium-gold);
    line-height: 1;
    letter-spacing: -0.02em;
}
body.dark-theme .premium-plan-tile-discount {
    color: var(--premium-gold-soft);
}
.premium-plan-tile-price-block {
    position: absolute;
    top: 22px;
    right: 18px;
    z-index: 1;
    text-align: right;
}
.premium-plan-tile-price {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-main);
}
.premium-plan-tile-price--old-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
}
.premium-plan-tile-price--sale {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
}
.premium-plan-tile-usd-approx {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.premium-plan-tile-duration {
    position: absolute;
    left: 18px;
    bottom: 16px;
    right: 18px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 6px;
    z-index: 1;
}
.premium-plan-tile-num {
    font-size: 38px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text-main);
}
.premium-plan-tile-unit {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.2;
}

/* Встраивание оплаты на странице Premium (после выбора тарифа) */
.premium-pay-inline {
    margin-top: 28px;
    padding: 20px 20px 22px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-content);
    box-sizing: border-box;
}
.premium-pay-inline-title {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: bold;
    color: var(--text-main);
}
.premium-pay-provider-toolbar {
    margin: 0 0 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.premium-pay-provider-label {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}
.premium-pay-provider-select {
    font: inherit;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    color: var(--text-main);
    max-width: 100%;
}
.premium-pay-inline-summary {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: bold;
    color: var(--text-main);
}
.premium-pay-inline-offer-consent {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted);
}
.premium-pay-inline-offer-link {
    color: var(--link-color, #1976d2);
    text-decoration: underline;
}
.premium-pay-inline-offer-link:hover {
    text-decoration: none;
}
.premium-pay-inline-wait {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--text-muted);
}
.premium-pay-qr-wrap {
    text-align: center;
}
.premium-pay-qr-frame {
    position: relative;
    display: inline-block;
    width: 100%;
    width: 334px;
    height: 500px;
    aspect-ratio: 1;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
.premium-pay-qr-logo {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 33px;
    height: 33px;
    border-radius: 8px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 4px;
    box-sizing: border-box;
    box-shadow: 0 0 0 3px #fff;
    pointer-events: none;
}
body.dark-theme .premium-pay-qr-logo {
    box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(0, 0, 0, 0.35);
}
.premium-pay-inline-support-hint {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(25, 118, 210, 0.35);
    border-left-width: 4px;
    background: linear-gradient(145deg, rgba(25, 118, 210, 0.1) 0%, rgba(25, 118, 210, 0.03) 100%);
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-main);
}
.premium-pay-inline-support-hint-mail {
    color: var(--link-color, #1976d2);
    font-weight: 600;
    text-decoration: underline;
}
.premium-pay-inline-support-hint-mail:hover {
    text-decoration: none;
}
body.dark-theme .premium-pay-inline-support-hint {
    border-color: rgba(100, 181, 246, 0.42);
    background: rgba(25, 118, 210, 0.15);
}
body.dark-theme .premium-pay-inline-support-hint-mail {
    color: #90caf9;
}
.premium-pay-provider-host {
    margin: 8px 0 0;
    border-radius: 10px;
    overflow-x: hidden;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    background: transparent;
    border: none;
    box-shadow: none;
    box-sizing: border-box;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.premium-pay-provider-host:has(.premium-pay-provider-mount) {
    height: 580px;
    overflow-y: auto;
}
body.dark-theme .premium-pay-provider-host {
    box-shadow: none;
}
.premium-pay-provider-hint {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}
.premium-pay-recurring-toolbar .premium-pay-recurring-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-color);
    text-align: left;
    margin: 0 auto;
    max-width: 360px;
}
.premium-pay-recurring-check {
    margin-top: 2px;
    flex-shrink: 0;
}
.premium-pay-provider-mount {
    width: 100%;
    flex: 1 1 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
/* Robokassa.Render задаёт iframe ~150px по умолчанию — без !important высота не поднимается */
.premium-pay-provider-host iframe,
.premium-pay-provider-mount iframe {
    display: block;
    width: 100% !important;
    
    height: 500px;
    max-width: 100%;
    border: 0;
    box-sizing: border-box;
    flex: 1 1 auto;
}
.premium-pay-provider-fallback {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
}
.premium-pay-provider-fallback a {
    color: var(--link-color, #1a73e8);
}
.premium-pay-provider-fallback a.button {
    color: #fff;
}
.premium-pay-provider-fallback:has(.premium-pay-cta-main) {
    text-align: center;
    margin-top: 20px;
}
.premium-pay-provider-fallback .premium-pay-cta-main {
    display: inline-block;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 16px 28px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
    border-radius: 14px;
    box-shadow: 0 6px 22px var(--premium-gold-glow, rgba(80, 60, 20, 0.22));
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.premium-pay-provider-fallback a.posts-premium-cta-button.premium-pay-cta-main:hover {
    background: linear-gradient(135deg, var(--premium-gold-soft) 0%, var(--premium-accent) 50%);
    filter: brightness(1.08);
    box-shadow: 0 8px 26px var(--premium-gold-glow, rgba(80, 60, 20, 0.28));
}
.premium-pay-provider-fallback .button.premium-pay-open-link:not(.premium-pay-cta-main) {
    display: inline-block;
    margin-top: 10px;
}

.premium-trial-block {
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed var(--border-color);
    background: var(--bg-content);
}
.premium-trial-block form {
    margin-top: 10px;
}
.posts-premium-teaser {
    opacity: 0.92;
}
.post-item .dip.posts-premium-teaser a,
.post-item .composition.posts-premium-teaser a {
    text-decoration: underline;
}

.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    box-sizing: border-box;
    padding: 8px 12px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-body);
    color: var(--text-main);
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08);
}
body.dark-theme .site-footer {
    box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.45);
}
.csr-uniq1 {
    bottom: 32px !important;
}
.site-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 18px;
    font-size: 12px;
    line-height: 1.35;
}
.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 2px;
}
.site-footer-link {
    color: var(--text-link);
    text-decoration: none;
    white-space: nowrap;
}
.site-footer-link:hover {
    text-decoration: underline;
}
.site-footer-sep {
    color: var(--text-muted);
    user-select: none;
    padding: 0 3px;
}
.site-footer-mail {
    font-weight: 600;
}
.site-footer-social {
    color: var(--text-main);
    font-size: 15px;
    padding: 0 5px;
    line-height: 1;
    opacity: 0.92;
}
.site-footer-social:hover {
    opacity: 1;
    color: var(--text-link);
}
.site-footer-disclaimer {
    margin: 0;
    flex: 1 1 200px;
    text-align: right;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.35;
    max-width: 560px;
}

