/* One bounded flex layout for both comment surfaces; controls stay inside it. */
#modal.comments-modal11{height:var(--comments-height91,80dvh)!important;max-height:var(--comments-height91,80dvh)!important;overflow:hidden!important;padding:0!important;margin-bottom:0!important}
#modal.comments-modal11 #modalBody{height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important;padding:0 12px!important;box-sizing:border-box;display:flex;flex-direction:column}
.comments-modal11 .comments11{height:100%!important;min-height:0!important;overflow:hidden;flex:1;display:flex!important;flex-direction:column;margin:0!important;padding:0!important}
.comments-modal11 .comments11>header{margin:0!important;width:100%!important;min-height:52px!important;flex:0 0 52px!important;overflow:visible!important}
.comments-modal11 .comments11>header :is(#commentMenu11,#cardOrder11,[data-close-comments88]){width:40px!important;height:40px!important;top:6px!important;box-sizing:border-box;padding:8px!important;border-radius:12px;transform:none!important}
.comments-modal11 .comments11>header :is(#commentMenu11,#cardOrder11){right:0!important;left:auto!important}.comments-modal11 .comments11>header [data-close-comments88]{left:0!important;right:auto!important}
.comments-modal11 .comments11 #commentsLive{min-height:0!important;flex:1 1 0!important;overflow:auto!important;padding-bottom:12px}
.comments-modal11 .comments11>footer{position:relative!important;inset:auto!important;transform:none!important;display:block!important;flex:0 0 auto!important;max-height:42%;overflow:auto;visibility:visible!important;opacity:1!important;padding:8px 0 max(10px,env(safe-area-inset-bottom))!important;background:var(--paper)}
.comments-modal11 #cardCommentForm11{position:relative!important;inset:auto!important;width:100%!important;margin:0!important;visibility:visible!important}.comments-modal11 #cardCommentForm11[hidden]{display:none!important}
.comments-modal11 .comment-input12 textarea{min-height:48px!important;max-height:100px!important;height:54px;resize:none;font-size:16px!important}.comments-modal11 .comment-attach12{visibility:visible!important}.comments-modal11 .emoji-row11{margin:0 0 6px!important}
/* Shared card outlines and selectable designs are independent. */
[data-comment-frame90]>img{border:2px solid #8889!important;outline:.5px solid #fff9;outline-offset:-3px;border-radius:12px}
[data-comment-frame90=square]>img{border-radius:0}[data-comment-frame90=double]>img{border:2px double #888b!important}[data-comment-frame90=dashed]>img{border-style:dashed!important}[data-comment-frame90=gold]>img{border-color:var(--tp-s500)!important}[data-comment-frame90=film]>img{border:2px dashed #222!important;border-radius:2px}[data-comment-frame90=arch]>img{border-radius:40px 40px 10px 10px}[data-comment-frame90=none]>img{border:0!important;outline:none;border-radius:0}
.shared48[data-frame48=double]{border:2px double currentColor!important}.shared48[data-frame48=dashed]{border:2px dashed currentColor!important}.shared48[data-frame48=gold]{border:2px solid var(--tp-s500)!important;box-shadow:0 3px 14px rgba(var(--tp-s500-rgb),0.149)}.shared48[data-frame48=film]{border:2px dashed #222!important;border-radius:3px!important}.shared48[data-frame48=arch]{border:2px solid currentColor!important;border-radius:40px 40px 12px 12px!important}
#commentTools90.inline-share91,#shareTools91.inline-share91{position:relative!important;inset:auto!important;transform:none!important;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;margin:8px auto 12px;width:100%;max-width:100%;z-index:12;direction:rtl}
.inline-share91[hidden]{display:none!important}.inline-share91>#shareOptionsToggle48{position:static!important;inset:auto!important;transform:none!important;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:6px 9px;white-space:nowrap}
.shared-comment91{padding:12px;border:2px solid var(--line);border-radius:16px;min-width:220px;max-width:100%;text-align:right;cursor:pointer}.shared-comment91 .comment-group87{margin:0;padding:0;border:0;background:transparent}.shared-comment91 .comment87{margin:0}.shared-comment91>time{font-size:10px;display:block;margin-top:8px;opacity:.8}.shared-comment91 .comment-content87{min-width:0}
.media-message90>p,.media-message90 .shared-sound87,.media-message90 .sound-message89{color:var(--message-tone91)!important;text-shadow:0 1px 2px #fff5}.media-message90 .voice-playback36,.media-message90 .voice-playback36 small,.media-message90 .voice36-times,.media-message90 .chat-file-open68{color:var(--message-tone91)!important}
.voice-bubble36 .voice-playback36{display:flex;gap:8px;align-items:center;direction:rtl}.voice-bubble36 .voice36-timeline{min-width:0;flex:1}.voice-bubble36 .voice36-play-wave i{background:var(--message-tone91)!important}.voice-bubble36 .voice-playback36>button{color:var(--message-tone91)!important;background:transparent!important}.voice-bubble36 .audio-expand91{order:-1;width:26px!important;flex:0 0 26px;margin:0!important}.voice-bubble36 .audio-expand91 svg{width:22px!important;height:22px!important}.audio-use91{width:28px;padding:3px;flex:none}.audio-use91 svg{width:22px;height:22px}
.bubble .message-time90{display:flex!important;align-items:center;justify-content:flex-end;gap:6px;width:fit-content;margin:7px 0 0 auto!important;padding:4px 8px!important;border-radius:9px;background:var(--paper);color:var(--ink)!important;text-shadow:none!important;opacity:1!important;border:1px solid var(--line);font-size:11px!important;position:relative;clear:both}
.message-read91{color:var(--message-tone91);font-weight:900;text-shadow:0 0 4px var(--message-tone91),0 0 8px color-mix(in srgb,var(--message-tone91) 45%,transparent)}.message-sent91{color:var(--muted)}.autosave91{display:block;padding:8px;color:var(--muted)}
[data-comment-ref87]{cursor:pointer;pointer-events:auto!important}.shared-comment91 .comment-content87 p,.shared-comment91 .comment-name87{color:var(--message-tone91);text-shadow:0 1px 3px #fff6}.media-message90 .music-label87,.media-message90 .chat-document68{color:var(--message-tone91)!important}
.comment-export87{padding:10px;border:.5px solid #ffffff99;box-sizing:border-box}
