.community-entry { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 6px; border-block:1px solid #ffffff1f; }
.community-entry-label { color:#b8c8c4; font-size:13px; }
.community-entry h2 { font-size:24px; line-height:1.25; margin-top:4px; }
.community-entry button { display:flex; align-items:center; justify-content:center; gap:16px; min-height:48px; padding:12px 20px; background:#bd192d; color:white; border:1px solid #ef6574; border-radius:8px; font-weight:700; cursor:pointer; }
.community-entry button:disabled { opacity:.5; cursor:default; }
.cm-dialog, .cm-popup { color:#eef3f2; background:#11191d; border:1px solid #ffffff24; padding:0; margin:auto; font:16px/1.5 "Segoe UI",Arial,sans-serif; letter-spacing:0; color-scheme:dark; box-sizing:border-box; }
.cm-dialog *,.cm-popup * { box-sizing:border-box; letter-spacing:0; }
.cm-dialog::backdrop,.cm-popup::backdrop { background:#020406c9; }
.cm-dialog { width:min(900px,100% - 32px); height:min(860px,94dvh); max-width:100%; max-height:100dvh; border-radius:20px; overflow:hidden; }
.cm-dialog[open] { display:flex; flex-direction:column; }
.cm-header { display:flex; flex:none; align-items:center; gap:8px; padding:10px 12px; background:#171c20; border-bottom:1px solid #ffffff15; }
.cm-heading { flex:1; min-width:0; }
.cm-chat-logo { width:36px; height:36px; flex:none; border-radius:50%; object-fit:cover; }
.cm-heading h2 { margin:0; }
.cm-heading > span { color:#a9b5bb; font-size:12px; }
.cm-header h2 { flex:1; min-width:0; font-family:inherit; font-size:18px; line-height:1.25; overflow-wrap:anywhere; }
.cm-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:9px 14px; border:1px solid #ffffff26; border-radius:8px; background:#223138; color:#eef3f2; font:inherit; line-height:1.3; cursor:pointer; overflow-wrap:anywhere; }
.cm-button svg { flex:none; }
.cm-button:hover { background:#31474e; }
.cm-button:disabled { opacity:.45; cursor:default; }
.cm-button:focus-visible,.cm-dialog input:focus-visible,.cm-popup input:focus-visible,.cm-dialog select:focus-visible,.cm-popup select:focus-visible,.cm-popup textarea:focus-visible { outline:2px solid #91e6d1; outline-offset:3px; }
.cm-icon { width:44px; height:44px; padding:10px; flex:none; border-color:transparent; background:transparent; }
.cm-primary { background:#b9182e; border-color:#f25b70; color:white; font-weight:700; }
.cm-primary:hover { background:#d7243b; }
.cm-danger { color:#ffadad; border-color:#ff66664a; }
.cm-status { flex:none; font-size:14px; background:#16362f; color:#b9f1dd; overflow-wrap:anywhere; }
.cm-status:not(:empty) { padding:10px 16px; }
.cm-status.cm-error { color:#ffbebe; background:#3f1b24; }
.cm-body { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; }
.cm-chat-body { display:flex; flex-direction:column; overflow:hidden; }
.cm-chat-body > .cm-button { align-self:center; flex:none; margin:8px; }
.cm-dialog [hidden],.cm-popup [hidden] { display:none!important; }
.cm-auth { width:min(100%,410px); margin:36px auto; padding:0 20px 28px; }
.cm-auth h3 { margin:0 0 24px; font-size:22px; line-height:1.3; }
.cm-form { display:flex; flex-direction:column; gap:18px; }
.cm-field { display:flex; flex-direction:column; gap:7px; color:#d9e3e0; font-size:14px; min-width:0; }
.cm-field input,.cm-field textarea,.cm-dialog select,.cm-popup select { width:100%; min-height:48px; padding:11px 12px; border:1px solid #ffffff3b; border-radius:8px; background:#0d151a; color:#f4f8f7; font:inherit; font-size:16px; }
.cm-field textarea { min-height:110px; resize:vertical; }
.cm-consent { display:flex; align-items:flex-start; gap:12px; padding:16px; background:#26302c; border:1px solid #a9bb786e; border-radius:8px; font-size:14px; }
.cm-consent input { flex:none; width:21px; height:21px; margin-top:1px; accent-color:#71d9b8; }
.cm-dialog a,.cm-popup a { color:#9ee7d3; text-decoration:underline; text-underline-offset:3px; }
.cm-modes { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:22px; border-bottom:1px solid #ffffff25; padding-bottom:8px; }
.cm-modes .cm-button { flex:1; border-color:transparent; background:transparent; font-size:14px; }
.cm-modes [aria-pressed=true] { background:#324940; color:#beffe2; }
.cm-muted { color:#adbdbd; font-size:14px; overflow-wrap:anywhere; }
.cm-empty { padding:40px 20px; color:#b6c4c3; text-align:center; }
.cm-feed { flex:1; min-height:0; padding:18px 20px 18px 54px; overflow:auto; overscroll-behavior:contain; background-color:#0b1419; background-size:cover; background-position:center; background-attachment:local; overflow-anchor:none; }
.cm-day { width:fit-content; max-width:100%; margin:4px auto 16px; padding:5px 12px; border-radius:8px; color:#bccacb; background:#1c292fe8; font-size:13px; }
.cm-message { position:relative; width:fit-content; min-width:180px; max-width:min(92%,420px); margin:0 auto 8px 0; padding:5px; border-radius:2px 8px 8px 8px; background:#202c33; overflow-wrap:anywhere; box-shadow:0 1px 1px #0004; }
.cm-message:has(.cm-mosaic,.cm-video-tile,.cm-poll,.cm-voice-message) { width:min(92%,380px); }
.cm-message.cm-own { margin-left:auto; margin-right:0; background:#482830; border-radius:8px 2px 8px 8px; }
.cm-chat-avatar { position:absolute; left:-38px; top:3px; width:30px; min-height:30px; height:30px; padding:0; border-radius:50%; background:#34434a; border:0; overflow:hidden; color:#dce8ec; }
.cm-chat-avatar img { width:100%; height:100%; object-fit:cover; }
.cm-identity { display:flex; align-items:center; gap:6px; flex-wrap:wrap; padding:0 4px 3px; }
.cm-message > .cm-identity { padding-right:38px; min-height:34px; }
.cm-message-options { position:absolute; right:2px; top:0; }
.cm-name { color:#89d9db; border:0; background:none; font-size:14px; font-weight:700; padding:5px 0; min-height:32px; text-align:left; justify-content:flex-start; overflow-wrap:anywhere; max-width:100%; }
.cm-team { color:#f49da7; }
.cm-name.cm-gold { color:#ffdd7b; }
.cm-crown { color:#ffdc68; display:flex; }
.cm-badge { color:#f8cad0; border:1px solid #f49da747; border-radius:4px; font-size:10px; padding:2px 4px; }
.cm-identity img { width:28px; height:28px; border-radius:50%; object-fit:cover; }
.cm-mosaic { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; }
.cm-tile { display:block; width:100%; min-width:0; height:auto; aspect-ratio:1; position:relative; padding:0; background:#0a1014; border:0; overflow:hidden; border-radius:6px; }
.cm-tile:before { content:'Foto'; position:absolute; inset:0; display:grid; place-items:center; color:#91a6aa; font-size:13px; }
.cm-photo { display:block; width:100%; height:100%; object-fit:cover; position:relative; }
.cm-photo:not([src]) { color:transparent; }
.cm-single { grid-template-columns:minmax(0,1fr); }
.cm-single .cm-tile { aspect-ratio:3/4; }
.cm-mosaic:not(.cm-single) .cm-tile:last-child:nth-child(3) { grid-column:1/-1; aspect-ratio:2; }
.cm-time { position:absolute; right:0; bottom:0; width:100%; padding:18px 8px 5px; background:linear-gradient(transparent,#0009); text-align:right; font-size:12px; color:white; white-space:nowrap; }
.cm-more { display:grid; place-items:center; position:absolute; inset:0; background:#0007; color:white; font-size:38px; }
.cm-album-open { border:0; background:transparent; justify-content:space-between; width:100%; color:#c1d5ce; }
.cm-reactions { display:flex; gap:4px; align-items:center; flex-wrap:wrap; padding-top:0; }
.cm-reactions > .cm-icon { color:#b1bfc6; }
.cm-reactions > .cm-icon { margin-left:auto; }
.cm-reactions > .cm-icon + .cm-icon { margin-left:0; }
.cm-reactions .cm-button:not(.cm-icon) { min-height:32px; padding:4px 9px; font-size:13px; border-radius:16px; }
.cm-reactions [aria-pressed=true] { border-color:#b7e1d4; background:#365f53; }
.cm-notice-text,.cm-bio { white-space:pre-wrap; overflow-wrap:anywhere; padding:2px 6px 0; margin:0; }
.cm-stamp { display:block; padding:2px 5px 0; text-align:right; font-size:11px; }
.cm-poll h3 { font-size:17px; line-height:1.4; margin:4px 4px 12px; }
.cm-option { display:flex; width:100%; justify-content:space-between; text-align:left; margin-bottom:6px; background:#0a1c1b7a; }
.cm-option span:first-child { flex:1; min-width:0; }
.cm-option[aria-pressed=true] { border-color:#9ce8d1; background:#1b5347; }
.cm-count { flex:none; font-size:12px; color:#bad1ca; }
.cm-toolbar { display:flex; flex:none; flex-wrap:wrap; align-items:center; gap:4px; padding:8px 10px max(8px,env(safe-area-inset-bottom)); background:#171c20; }
.cm-toolbar:empty { display:none; }
.cm-share { flex:1; justify-content:flex-start; min-width:130px; background:#263238; border:0; border-radius:28px; min-height:50px; }
.cm-camera { background:#ff5368; color:white; border-radius:50%; }
.cm-staff-tools { display:flex; gap:3px; }
.cm-hidden { display:none; }
.cm-popup { width:min(540px,100% - 24px); max-width:100%; max-height:92dvh; border-radius:14px; overflow:auto; }
.cm-popup-header { position:sticky; top:0; z-index:2; display:flex; align-items:center; gap:12px; justify-content:space-between; padding:10px 12px 10px 20px; background:#17282f; border-bottom:1px solid #ffffff20; }
.cm-popup-header h3 { font-size:18px; line-height:1.3; overflow-wrap:anywhere; }
.cm-popup-body { display:flex; flex-direction:column; gap:16px; padding:20px; }
.cm-popup-body>.cm-photo { width:min(100%,220px); height:auto; aspect-ratio:1; object-fit:cover; align-self:center; border-radius:8px; }
.cm-person-row { padding:14px 0; border-bottom:1px solid #ffffff29; display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.cm-person-row .cm-identity { flex:1; min-width:120px; }
.cm-private-phone { padding:12px; border:1px solid #ffffff35; border-radius:8px; font-size:20px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.cm-filter { display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px; }
.cm-filter .cm-field { flex:1; min-width:170px; }
.cm-filter select { width:auto; max-width:100%; }
.cm-reaction-choices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.cm-reaction-choices .cm-button { font-size:30px; height:60px; }
.cm-reaction-choices [aria-pressed=true] { border-color:#b7e1d4; background:#365f53; }
.cm-draft-image { display:block; width:100%; height:300px; object-fit:contain; background:#080c10; }
.cm-viewer { width:min(920px,100% - 20px); height:min(920px,96dvh); background:#080e12; }
.cm-viewer .cm-popup-body { height:calc(100% - 65px); gap:8px; padding:10px; }
.cm-viewer-bar,.cm-viewer-controls { display:flex; flex:none; align-items:center; justify-content:center; gap:12px; }
.cm-viewer-bar { justify-content:space-between; }
.cm-viewer-picture { position:relative; flex:1; min-height:100px; display:flex; align-items:center; justify-content:center; overflow:hidden; touch-action:none; }
.cm-viewer-picture .cm-photo { width:100%; height:100%; max-width:100%; object-fit:contain; }
.cm-viewer-actions { flex:none; }
.cm-viewer-actions .cm-identity { padding-left:8px; }
.cm-viewer-actions .cm-reactions { justify-content:center; }
.cm-review-photo { object-fit:contain!important; max-height:400px; aspect-ratio:auto!important; }
@media(max-width:560px) {
  .community-entry { align-items:flex-start; flex-direction:column; gap:14px; padding:20px 4px; }
  .community-entry button { width:100%; }
  .cm-dialog { width:100%; height:100dvh; border-radius:0; border:0; }
  .cm-header { padding:10px 6px; padding-top:max(10px,env(safe-area-inset-top)); }
  .cm-header h2 { font-size:18px; }
  .cm-feed { padding:12px 8px 12px 44px; }
  .cm-message { max-width:96%; }
  .cm-message:has(.cm-mosaic,.cm-video-tile,.cm-poll,.cm-voice-message) { width:96%; }
  .cm-chat-avatar { left:-36px; }
  .cm-identity .cm-name { font-size:13px; }
  .cm-toolbar { padding-inline:10px; }
  .cm-staff-tools { width:100%; justify-content:flex-end; border-top:1px solid #ffffff15; }
  .cm-popup-body { padding:16px; }
  .cm-viewer { width:100%; height:100dvh; max-height:100dvh; border:0; border-radius:0; }
}
@media(prefers-reduced-motion:reduce) { .cm-dialog *,.cm-popup * { scroll-behavior:auto!important; transition:none!important; } }

.community-entry { display:grid; grid-template-columns:56px minmax(0,1fr) auto; align-items:center; gap:18px; padding:22px 18px; border-block:1px solid #ff567a77; border-left:4px solid #ffe45e; background:linear-gradient(105deg,#80112d99,#f1264c1a 65%,#75f3c30a); }
.community-entry-icon { display:grid; place-items:center; width:56px; height:56px; color:#ffe45e; border:1px solid #ffe45e77; border-radius:18px 7px 18px 7px; background:#ff294e24; box-shadow:0 0 18px #ff294e26; }
.community-entry-icon svg { width:28px; height:28px; }
.community-entry-copy { min-width:0; }
.community-entry-label { color:#f7c8d3; font-size:12px; font-weight:600; }
.community-entry h2 { margin:4px 0; font-size:28px; color:#fff; overflow-wrap:anywhere; }
.community-entry-detail { display:flex; align-items:center; flex-wrap:wrap; gap:7px; color:#a8ffde; font-size:13px; }
.community-entry-detail svg { width:16px; height:16px; }
.community-entry button { gap:14px; min-height:52px; background:linear-gradient(105deg,#ed204d,#b6123d); border-color:#ff7e98; box-shadow:0 0 22px #ff294e26; }
.community-entry button:hover:not(:disabled) { background:#f5325a; border-color:#ffe45e; }
.community-entry button:focus-visible { outline:3px solid #ffe45e; outline-offset:4px; }
[data-radio-icon] { display:inline-flex; align-items:center; justify-content:center; flex:none; }
.cm-avatar-crop { width:min(620px,100% - 20px); }
.cm-avatar-crop-stage { width:100%; height:min(52dvh,420px); min-height:200px; background:#080c10; overflow:hidden; touch-action:none; }
.cm-avatar-crop-stage > img { display:block; max-width:100%; }
.cm-avatar-crop .cropper-view-box,.cm-avatar-crop .cropper-face { border-radius:50%; }
.cm-avatar-crop .cropper-view-box { outline:2px solid #ffe45e; }
.cm-avatar-crop .cropper-line,.cm-avatar-crop .cropper-point { background-color:#ff5577; }
.cm-avatar-crop-tools { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }
.cm-avatar-crop-tools .cm-button { border-color:#75f3c34d; color:#afffe0; }
.cm-avatar-crop .cm-popup-body > .cm-primary { width:100%; }
@media(max-width:600px) {
  .community-entry { grid-template-columns:44px minmax(0,1fr); gap:12px; padding:16px 12px; }
  .community-entry-icon { width:44px; height:44px; border-radius:14px 6px 14px 6px; }
  .community-entry h2 { font-size:24px; }
  .community-entry button { grid-column:1 / -1; width:100%; flex-wrap:wrap; }
  .cm-avatar-crop .cm-popup-body { padding:12px; }
}
.cm-message-composer { display:flex; align-items:flex-end; gap:4px; width:100%; min-width:0; }
.cm-compose-field { display:flex; align-items:flex-end; flex:1; min-width:0; padding:3px; border-radius:28px; background:#263238; }
.cm-message-input { flex:1; min-width:0; max-height:120px; min-height:44px; resize:none; border:0; border-radius:0; padding:10px 4px; color:#edf4f3; background:transparent; font:inherit; }
.cm-message-input:focus { outline:none; }
.cm-compose-field:focus-within { box-shadow:0 0 0 1px #ff5368; }
.cm-message-input:disabled { opacity:.8; }
.cm-message-composer .cm-button { flex:none; min-width:42px; min-height:44px; }
.cm-message-composer .cm-send,.cm-message-composer .cm-hold-mic { background:#ec3451; color:white; border-radius:50%; width:48px; height:48px; }
.cm-posting-composer { width:100%; min-width:0; }
.cm-message-composer .cm-quick-share { flex:1; min-width:0; border:0; background:transparent; justify-content:flex-start; padding:8px 4px; }
.cm-voice-message { display:flex; align-items:center; gap:8px; width:100%; min-height:62px; padding:4px; }
.cm-voice-message > .cm-icon { color:#ff8192; }
.cm-voice-track { flex:1; min-width:0; }
.cm-voice-track .cm-muted { font-size:12px; }
.cm-voice-line { height:3px; background:#71828a; margin:8px 0; border-radius:2px; }
.cm-inline-audio { width:100%; min-width:0; height:54px; }
.cm-posting-status { margin:0 0 6px; color:#a8dcca; font-size:13px; }
.cm-extra-message { display:flex; align-items:flex-end; gap:8px; min-width:0; }
.cm-extra-message > p, .cm-extra-message > .cm-play-media { flex:1; min-width:0; }
.cm-media-player { width:100%; max-height:60vh; background:#080b10; border-radius:8px; }
video.cm-media-player { aspect-ratio:16/9; }
.cm-posting-setting { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:12px 0; border-bottom:1px solid #ffffff22; }
.cm-posting-setting > strong { flex:1; min-width:100px; }
.cm-posting-setting > input[type=checkbox] { width:24px; height:24px; accent-color:#ff294e; }
.cm-video-tile { display:block; position:relative; width:100%; aspect-ratio:4/3; padding:0; overflow:hidden; background:#0b191f; border-radius:6px; }
.cm-video-tile>.cm-photo { display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cm-video-tile>svg { position:absolute; width:58px; height:58px; top:50%; left:50%; transform:translate(-50%,-50%); padding:13px; background:#001017ad; border-radius:50%; color:#fff; }
.cm-video-tile>span:not(.cm-video-duration) { display:none; }
.cm-video-duration { position:absolute; bottom:8px; right:8px; padding:2px 6px; background:#000b; color:white; font-size:13px; }
.cm-video-viewer { width:min(100%,1100px); height:100dvh; max-height:100dvh; border-radius:0; background:#000; }
.cm-video-viewer .cm-popup-body { min-height:calc(100dvh - 70px); justify-content:center; }
.cm-video-viewer .cm-media-player { max-height:calc(100dvh - 120px); width:100%; object-fit:contain; }
.cm-video-viewer .cm-video-play { align-self:center; }
.cm-video-viewer [hidden] { display:none; }
.cm-hold-mic { touch-action:none; user-select:none; -webkit-user-select:none; }
.cm-hold-mic[data-recording=recording] { background:#ff294e; color:#fff; }
.cm-recording-strip { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:6px 12px; color:#ff9baa; }
.cm-recording-strip>span { min-width:0; overflow-wrap:anywhere; }
.cm-posting-setting.cm-posting-individual { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
.cm-posting-details { display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-width:0; }
.cm-posting-actions { display:flex; flex-wrap:wrap; gap:8px; min-width:0; }
.cm-posting-actions .cm-button { max-width:100%; }
