/* Stage681 shared comment UX */
.community-modal-v681[hidden]{display:none!important}.community-modal-v681{position:fixed;inset:0;z-index:2147483000;background:#000b;display:flex;align-items:center;justify-content:center;padding:16px}.community-dialog-v681{position:relative;width:min(600px,100%);max-height:85dvh;overflow-y:auto;background:#151b26;color:#eef1f5;border:1px solid #8d7148;border-radius:17px;padding:22px;box-shadow:0 20px 70px #000b}.community-dialog-v681 h2{margin:0 40px 12px 0}.community-x-v681{position:absolute;top:9px;right:10px;background:transparent;border:0;color:#fff;font-size:28px;cursor:pointer}.community-item-v681{border:1px solid #394252;border-radius:12px;padding:12px;margin:10px 0;overflow-wrap:anywhere}.community-head-v681{display:flex;justify-content:space-between;gap:10px;color:#e4c28b}.community-head-v681 time{font-size:12px;color:#aeb9c5}.community-reply-v681{margin:9px 0 0 12px;padding:9px;border-left:2px solid #3da66a;background:#1d2930}.community-owner-v681{color:#50d486!important}.community-admin-v681{color:#edbb74}.community-actions-v681{display:flex;gap:9px;flex-wrap:wrap}.community-actions-v681 button,.community-ok-v681,.owner-comments-entry-v681 button{background:#263449;color:#fff;border:1px solid #7c8da2;border-radius:9px;padding:10px 14px;cursor:pointer}.community-ok-v681{background:#bd9150;color:#17130d;font-weight:700;min-width:100px}.community-reply-form-v681{width:100%;display:grid;gap:8px}.community-reply-form-v681 textarea{width:100%;min-height:75px;background:#101720;color:#fff;border:1px solid #637184;border-radius:8px;padding:10px}.community-help-v681{color:#aeb8c8}.owner-comments-entry-v681{margin:10px 0 18px}.owner-comments-entry-v681 button{border-color:#b58a51}.community-modal-open-v681{overflow:hidden}.guest-comment-list-v530>.guest-thread-v530:nth-child(n+4){display:none!important}.guest-community-v519 [data-comments-more]{display:inline-flex!important}.guest-community-v519 [data-comments-more][hidden]{display:none!important}
@media(max-width:767px){.community-dialog-v681{padding:18px;max-height:82dvh}.owner-free-top-v223{height:auto!important;min-height:0!important;overflow:visible!important}.owner-free-top-v223 .owner-free-top-panel-v223{position:relative!important;max-height:none!important;transform:none!important}.owner-comments-entry-v681{position:relative;z-index:2;clear:both}}
.community-danger-v681{background:#a92f4b!important;border-color:#d45b70!important;color:#fff!important}

/* Stage682: the free TOP panel must never become a fixed dialog or cover comments. */
.owner-free-top-v223 .owner-free-top-panel-v223{position:static!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;translate:none!important;max-height:none!important;overflow:visible!important;z-index:auto!important;padding:12px!important;width:100%!important;box-shadow:none!important}
.owner-free-top-v223{position:relative!important;z-index:auto!important;height:auto!important;min-height:0!important;overflow:visible!important;isolation:auto!important}
.community-modal-v681{z-index:2147483647!important;isolation:isolate!important}.community-dialog-v681{overscroll-behavior:contain;max-height:min(85dvh,750px)!important}
.community-modal-v681[hidden]{display:none!important}.community-modal-v681 .community-dialog-v681{position:relative!important}
.guest-role-owner-v530{color:#50d486!important}
@media(max-width:767px){.community-modal-v681{padding:12px!important}.community-dialog-v681{max-height:calc(100dvh - 44px)!important;padding:18px!important}}

/* Stage682: compact comment typography, desktop and mobile */
.guest-comment-v519,.community-item-v681{font-size:13px;line-height:1.5}.guest-comment-v519 p,.community-item-v681 p{font-size:13px;line-height:1.5}.guest-comment-head-v519 time,.community-head-v681 time{font-size:11px}.guest-role-admin-v530,.community-admin-v681{color:#ef4444!important}.guest-role-owner-v530,.community-owner-v681{color:#d5b05e!important}

/* Stage685: theme-matched scrollbars for comments dialog (desktop/mobile). */
.community-dialog-v681{scrollbar-color:#46566b #151b26;scrollbar-width:thin;color-scheme:dark}
.community-dialog-v681::-webkit-scrollbar{width:9px}
.community-dialog-v681::-webkit-scrollbar-track{background:#151b26;border-radius:10px}
.community-dialog-v681::-webkit-scrollbar-thumb{background:#46566b;border:2px solid #151b26;border-radius:10px}
.community-dialog-v681::-webkit-scrollbar-thumb:hover{background:#61758e}

/* Stage686: compact link and responsive comment dialog */
.community-entry-v686{margin:20px 0;padding:0;background:transparent;border:0;box-shadow:none}.community-entry-button-v686{appearance:none;border:0;background:transparent;color:#e7c37a;cursor:pointer;font-size:17px;font-weight:700;padding:8px 0;text-decoration:underline;text-underline-offset:4px}.community-entry-button-v686:hover{color:#fff}.community-public-modal-v686{align-items:center;justify-content:center}.community-public-dialog-v686{width:min(640px,calc(100vw - 28px));max-height:min(88dvh,850px)!important;display:flex;flex-direction:column;overflow:hidden!important;padding:20px!important}.community-public-header-v686{display:flex;align-items:center;justify-content:space-between;flex:none;margin-bottom:12px}.community-public-header-v686 h2{margin:0;font-size:21px}.community-public-header-v686 .community-x-v681{position:static!important;flex:none}.community-public-list-v686{overflow-y:auto;min-height:0;flex:1;scrollbar-color:#46566b #151b26;scrollbar-width:thin;overscroll-behavior:contain}.community-public-form-v686{flex:none;margin-top:12px;padding-top:12px;border-top:1px solid #354154;max-height:40dvh;overflow-y:auto}.community-public-form-v686 textarea{min-height:75px}.community-public-list-v686::-webkit-scrollbar,.community-public-form-v686::-webkit-scrollbar{width:7px}.community-public-list-v686::-webkit-scrollbar-thumb,.community-public-form-v686::-webkit-scrollbar-thumb{background:#46566b;border-radius:8px}.community-public-list-v686::-webkit-scrollbar-track,.community-public-form-v686::-webkit-scrollbar-track{background:#151b26}@media(max-width:767px){.community-public-modal-v686{padding:8px!important}.community-public-dialog-v686{width:100%;max-height:calc(100dvh - 16px)!important;padding:14px!important}.community-public-form-v686{max-height:43dvh}.community-public-header-v686 h2{font-size:18px}}

/* Stage687: larger blue-ink comment entry, no counter parentheses */
.community-entry-button-v686{color:#428cff!important;font-size:21px!important;font-weight:700!important;text-decoration:underline!important;text-decoration-thickness:1.5px;text-underline-offset:4px;display:inline-flex;align-items:baseline;gap:9px;line-height:1.4}.community-entry-button-v686:hover,.community-entry-button-v686:focus-visible{color:#6ca7ff!important}.community-entry-button-v686 [data-public-comments-count]{font-size:19px;font-weight:700;font-variant-numeric:tabular-nums;text-decoration:none;display:inline-block}@media(max-width:767px){.community-entry-button-v686{font-size:20px!important}.community-entry-button-v686 [data-public-comments-count]{font-size:18px}}
/* Stage688: calmer ink, readable compact modal and separate composer */
.community-entry-button-v686{color:#8baacb!important;font-size:20px!important;font-weight:650!important;text-decoration-thickness:1px!important}.community-entry-button-v686:hover,.community-entry-button-v686:focus-visible{color:#b6cce3!important}.community-entry-button-v686 [data-public-comments-count]{font-size:18px!important}
.community-public-dialog-v686{background:#151b26!important;gap:0;max-height:min(88dvh,790px)!important}.community-public-header-v686{border-bottom:1px solid #303a49;padding-bottom:12px;margin-bottom:8px}.community-public-list-v686{padding:4px 4px 12px 0}.community-item-v681{background:#1a2230;border-color:#303e50;padding:12px 14px;margin:9px 0}.community-item-v681 p{margin:8px 0;font-size:13px;line-height:1.55}.community-reply-v681{padding:9px 11px;background:#111c28;border-left-color:#6e9d82}.community-actions-v681{margin-top:8px}.community-actions-v681 button{font-size:12px;padding:6px 10px}.community-reply-form-v681{margin-top:5px;gap:6px}.community-reply-form-v681 textarea{min-height:42px;height:44px;max-height:95px;resize:vertical;font-size:13px;padding:9px}.community-reply-form-v681 button{justify-self:start}.community-public-form-v686{background:#1b2533;border:1px solid #354255;border-radius:12px;padding:12px!important;margin-top:10px;max-height:none!important;overflow:visible!important;display:grid;gap:8px}.community-public-form-v686 label{font-size:12px;display:grid;gap:5px}.community-public-form-v686 input:not([type=hidden]),.community-public-form-v686 textarea{width:100%;box-sizing:border-box;font-size:14px;padding:9px 11px}.community-public-form-v686 textarea{min-height:58px!important;height:65px;max-height:110px;resize:vertical}.community-public-form-v686 button[type=submit]{padding:9px 14px;font-size:13px;justify-self:end;min-width:120px}.community-public-dialog-v686{overflow:hidden!important}.community-public-list-v686{min-height:75px;flex:1;overflow-y:auto}
@media(max-width:767px){.community-public-modal-v686{padding:8px!important;align-items:center!important}.community-public-dialog-v686{max-height:calc(100dvh - 20px)!important;padding:14px!important}.community-public-header-v686 h2{font-size:19px}.community-public-form-v686{padding:10px!important;gap:6px}.community-public-form-v686 textarea{height:56px;min-height:56px!important}.community-public-form-v686 input:not([type=hidden]){height:38px}.community-item-v681{padding:11px}.community-reply-form-v681 textarea{height:42px;min-height:42px}.community-entry-button-v686{font-size:19px!important}.community-entry-button-v686 [data-public-comments-count]{font-size:17px!important}}

/* Stage689: clearly separate reading from composing; compact on desktop and mobile. */
.community-public-dialog-v686{background:#141b26!important}
.community-public-list-v686{background:#111823;border:1px solid #303b4a;border-radius:10px;padding:7px 10px 10px!important;margin-bottom:9px;scrollbar-color:#435166 #111823}
.community-public-list-v686 .community-item-v681{background:#1b2533;border-color:#344255;margin:7px 0 9px}
.community-public-form-v686{position:relative;background:#29251f!important;border:1px solid #756246!important;border-top:3px solid #b39462!important;border-radius:10px!important;padding:9px 12px 10px!important;margin-top:0!important;gap:5px!important;box-shadow:0 -3px 15px #0002;flex-shrink:0}
.community-public-form-v686:before{content:'Оставить комментарий';display:block;font-size:13px;font-weight:700;color:#e4c99b;margin:0 0 3px;letter-spacing:.01em}
.community-public-form-v686 label{color:#e2d7c6!important;font-size:11px!important;gap:3px!important;margin:0!important}
.community-public-form-v686 input:not([type=hidden]):not(.guest-trap-v519),.community-public-form-v686 textarea{background:#151a21!important;color:#f0ede8!important;border:1px solid #65594a!important;border-radius:7px!important;padding:7px 9px!important;font-size:13px!important;box-sizing:border-box}
.community-public-form-v686 input:not([type=hidden]):not(.guest-trap-v519){height:32px!important;min-height:32px!important}
.community-public-form-v686 textarea{height:49px!important;min-height:49px!important;max-height:90px!important;resize:vertical}
.community-public-form-v686 button[type=submit]{background:#715a3c!important;border:1px solid #aa895d!important;color:#fff1d9!important;border-radius:7px!important;min-width:105px!important;padding:6px 12px!important;font-size:12px!important;line-height:1.3!important;justify-self:end}
.community-public-form-v686 button[type=submit]:hover{background:#856a45!important}
.community-public-form-v686 .guest-send-status-v521[hidden]{display:none!important}
@media(max-width:767px){.community-public-dialog-v686{padding:11px!important}.community-public-list-v686{padding:5px 7px 7px!important;margin-bottom:7px}.community-public-form-v686{padding:8px 10px!important;gap:4px!important}.community-public-form-v686:before{font-size:12px}.community-public-form-v686 textarea{height:46px!important;min-height:46px!important}.community-public-form-v686 input:not([type=hidden]):not(.guest-trap-v519){height:31px!important;min-height:31px!important}}
