/* Current two-row action layout; loaded after the legacy discovery stylesheet. */
.discover-container .cmc-title .cmc-org-inline{display:block;max-width:100%;margin-top:3px;overflow:hidden;color:#45806f;font-size:10px;font-weight:750;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.discover-container .cmc-social-stats{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;justify-content:stretch;gap:9px 10px;width:calc(100% - 60px);min-width:0;margin:12px 0 0 60px!important;padding:0!important;color:#6f827c;font-size:12px;font-weight:750;box-sizing:border-box}
.discover-container .cmc-social-stats>*{min-width:0}
.discover-container .map-grid-layout .compact-map-card:has(.cmc-social-stats){height:auto!important;min-height:164px;justify-content:flex-start;gap:11px;overflow:visible}
.discover-container .cmc-social-stats button{display:flex;align-items:center;justify-content:center;width:100%;height:auto!important;min-width:0;max-width:100%;min-height:34px;padding:6px 8px;border:1px solid #cce9df;border-radius:10px;background:#f0faf6;color:#167d68;font:inherit;font-weight:800;white-space:normal;line-height:1.2;text-align:center;overflow-wrap:anywhere;box-sizing:border-box;cursor:pointer}
.discover-container .cmc-social-stats button:hover,.discover-comment-button:hover{background:#e4f6ef}
.modal-footer{display:flex!important;flex-direction:column;align-items:stretch;gap:10px;padding:16px 20px;background:#fff;border-top:1px solid #edf2f0}
.modal-footer .discover-social-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:0 0 11px;border-bottom:1px solid #edf2f0}
.discover-social-counts{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#657c74;font-size:13px;font-weight:750}
.discover-comment-button{min-height:38px;padding:0 13px;border:1px solid #cce9df;border-radius:11px;background:#f1faf7;color:#147c68;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer}
.modal-footer .discover-primary-row{display:grid;grid-template-columns:minmax(0,1fr) 54px;align-items:stretch;gap:10px;width:100%}
.discover-primary-row>.c-button{display:flex;grid-column:1;align-items:center;justify-content:center;min-width:0;min-height:50px;width:100%;padding:10px 14px;border-radius:14px;line-height:1.35;text-align:center;text-decoration:none;box-sizing:border-box}
.discover-primary-row .inline-1da9facb4d{grid-column:2;grid-row:1;min-width:0;margin:0}
.discover-primary-row .bookmark-btn{width:54px;height:50px;min-height:50px;border:1px solid #ead79a;border-radius:14px;background:#fffaf0;color:#dfa900;font-size:21px;box-sizing:border-box}
.discover-primary-row>:only-child{grid-column:1/-1}
.modal-window.comments-expanded{width:min(560px,calc(100vw - 32px))!important;max-height:min(82vh,780px);height:min(680px,82vh);border-color:#b7e1d4}
.modal-overlay.show .modal-window.comments-expanded{position:fixed!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}
.modal-window.comments-expanded .modal-cover,.modal-window.comments-expanded .modal-body{display:none}
.modal-window.comments-expanded .discover-inline-comments{display:flex}
.discover-inline-comments[hidden]{display:none!important}
.discover-inline-comments{min-height:0;flex:1;flex-direction:column;overflow:hidden;background:#fff}
.discover-inline-comments>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;border-bottom:1px solid #eaf1ee;background:linear-gradient(120deg,#f2faf6,#fff)}
.discover-inline-comments>header small{color:#14836e;font-size:10px;font-weight:900;letter-spacing:.15em}
.discover-inline-comments>header h3{margin:4px 0 0;color:#193d37;font-size:20px;font-weight:850}
.discover-inline-comments>header button{display:grid;place-items:center;width:38px;height:38px;border:1px solid #e0ebe6;border-radius:50%;background:#fff;color:#55716b;font-size:22px;cursor:pointer}
.discover-modal-comments-list{flex:1;min-height:0;overflow-y:auto;padding:5px 22px 18px}
.discover-modal-comment{padding:15px 0;border-bottom:1px solid #edf2f0}
.discover-modal-comment-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#244940;font-size:13px}
.discover-modal-comment-meta time{color:#879892;font-size:11px}
.discover-modal-comment p{margin:8px 0 0;color:#526861;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.discover-comment-delete{margin-top:9px;padding:6px 10px;border:1px solid #f0d4d3;border-radius:9px;background:#fff8f7;color:#a24c48;font-size:11px;font-weight:750;cursor:pointer}.discover-comment-delete:hover{background:#fff0ee}
.discover-comments-state{margin:auto;padding:28px 18px;color:#7c9089;text-align:center;font-size:13px;line-height:1.7}.discover-comments-state.is-error{color:#b42318}
.discover-inline-comments>footer{flex:0 0 auto;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #eaf1ee;background:#f8fbfa;text-align:right}
.discover-inline-comments>footer a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border-radius:11px;background:#00a98d;color:#fff;text-decoration:none;font-size:13px;font-weight:800}
@media(max-width:768px){.discover-container .map-grid-layout .compact-map-card:has(.cmc-social-stats){min-height:124px;gap:7px}.discover-container .cmc-social-stats{grid-template-columns:auto auto minmax(0,1fr);width:calc(100% - 60px);gap:8px;margin:0 0 0 60px!important;font-size:11px}.discover-container .cmc-social-stats button{min-height:32px;padding:5px 7px;font-size:11px}.modal-window.comments-expanded{position:relative!important;top:auto!important;left:auto!important;transform:translateY(100%)!important;width:100vw!important;max-height:86dvh;height:78dvh;border-radius:25px 25px 0 0!important;padding-bottom:env(safe-area-inset-bottom)}.modal-overlay.show .modal-window.comments-expanded{transform:translateY(0)!important}.modal-window.comments-expanded .discover-inline-comments>header{padding:17px 19px}.modal-window.comments-expanded .discover-modal-comments-list{padding-inline:19px}.modal-footer{padding:13px 15px calc(14px + env(safe-area-inset-bottom))}.discover-primary-row>.c-button{min-height:46px}.discover-social-counts{gap:8px;font-size:11px}}
