.pm-wrap{max-width:1100px;margin:25px auto;padding:0 16px;font-family:system-ui,sans-serif;color:#322c48}.pm-nav{display:flex;flex-wrap:wrap;gap:16px;background:#e8def7;padding:15px;border-radius:12px;margin-bottom:18px}.pm-nav a{color:#4d3283;font-weight:700}.pm-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.pm-card{background:#fff;border:1px solid #e3d8f1;border-radius:14px;padding:22px;margin-bottom:18px;box-shadow:0 2px 12px #30204a0b}.pm-card h1,.pm-card h2{color:#58378b}.pm-card h2{font-size:1.3rem}.pm-form{display:grid;gap:10px;margin:15px 0}.pm-form input,.pm-form textarea,.pm-form select{box-sizing:border-box;width:100%;padding:10px;border:1px solid #cbbbdc;border-radius:8px}.pm-form textarea{min-height:80px}.pm-form button{background:#7750ad;color:white;border:0;border-radius:8px;padding:10px 16px;cursor:pointer;justify-self:start}.pm-entry{border-top:1px solid #eee;padding:12px 0;overflow-wrap:anywhere}.pm-alert{padding:12px;background:#eee4ff;border-radius:8px;margin:15px 0}.pm-rating{display:inline-block;padding:8px;background:#f2ebfb;border-radius:8px;margin:4px}@media(max-width:700px){.pm-grid{grid-template-columns:1fr}.pm-card{padding:15px}}
.pm-chat-log{max-height:340px;overflow:auto;border:1px solid #d7d4e9;border-radius:12px;padding:12px;margin:12px 0;background:#faf9ff}.pm-chat-log p{padding:9px;border-radius:9px;margin:8px 0;overflow-wrap:anywhere}.pm-chat-mine{background:#e9dafa;margin-left:12%}.pm-chat-other{background:#e7f0fb;margin-right:12%}.pm-chat select{max-width:100%;min-width:220px}

/* 0.8.0: painel exclusivo do usuario */
.pm-account{max-width:1100px;margin:auto}.pm-account-header{display:flex;gap:20px;align-items:center;background:#fff;border-radius:18px;padding:24px;margin-bottom:20px}.pm-account-header img{border-radius:50%}.pm-account-header h1{margin:0 0 5px}.pm-account-header p{margin:0}.pm-account-eyebrow{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:#8056b5}.pm-account-stats,.pm-account-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.pm-account-stat,.pm-account-card{background:#fff;border:1px solid #e7dff1;border-radius:16px;padding:20px}.pm-account-stat strong{font-size:28px;display:block;color:#6c44a5}.pm-account-stat span,.pm-account-card span{display:block;color:#685e75;font-size:13px}.pm-account-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pm-account-card{position:relative;min-height:115px;text-decoration:none!important;transition:transform .15s,border-color .15s}.pm-account-card:hover,.pm-account-card:focus-visible{border-color:#8056b5;transform:translateY(-2px)}.pm-account-card strong{display:block;color:#5c388e;font-size:17px;margin-bottom:9px}.pm-account-card .pm-account-arrow{position:absolute;right:18px;bottom:12px;color:#8056b5;font-size:19px}@media(max-width:780px){.pm-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.pm-account-grid{grid-template-columns:1fr}.pm-account-header{align-items:flex-start}}

.pm-auth{max-width:560px;margin:2rem auto}.pm-auth .pm-form{display:grid;gap:12px}.pm-auth input:not([type=checkbox]){width:100%;max-width:100%;box-sizing:border-box;padding:12px}.pm-honeypot{position:absolute!important;left:-9999px!important;height:1px;overflow:hidden}

/* 0.17.0: identidade visual rosa/Nunito inspirada no CSS original do projeto de referência */
.pm-wrap{max-width:1200px;color:#656b77;font-family:'Nunito',sans-serif}.pm-wrap h1,.pm-wrap h2,.pm-wrap h3{color:#535968}.pm-wrap>h1{font-weight:900}.pm-nav{background:#fff;border:1px solid #edf0f6;border-radius:16px;padding:13px 18px;box-shadow:var(--blue-shadow);gap:10px}.pm-nav a{color:#777b89;font-weight:800;border-radius:20px;padding:6px 10px}.pm-nav a:hover{color:#e82691;background:rgba(240,102,166,.11);text-decoration:none}.pm-grid{grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:18px}.pm-card{border:1px solid #edf0f6;border-radius:18px;padding:23px;box-shadow:var(--blue-shadow)}.pm-card h1,.pm-card h2{color:#e82691}.pm-form input,.pm-form textarea,.pm-form select{border:1px solid #e5e8ef;border-radius:12px;background:#fbfcff}.pm-form input:focus,.pm-form textarea:focus,.pm-form select:focus{outline:2px solid #f4a7d2;outline-offset:1px}.pm-form button,.pm-wrap button,.pm-wrap input[type=submit]{background:#e82691;color:#fff;border:0;border-radius:24px;padding:10px 18px;font-weight:800;cursor:pointer}.pm-form button:hover,.pm-wrap button:hover{background:#c91979}.pm-rating{background:rgba(240,102,166,.11);color:#be287c;border-radius:20px}.pm-alert{background:#fff1f8;border-left:4px solid #e82691;color:#8a4268}.pm-entry{border-color:#edf0f6}.pm-chat-log{border-color:#edf0f6;background:#fbfcff}.pm-chat-mine{background:#fbe1f0}.pm-chat-other{background:#eaf6ff}.pm-account-header{border-radius:18px!important}.pm-wrap img.avatar{border-radius:50%;border:3px solid #fff;box-shadow:var(--pink-shadow)}@media(max-width:720px){.pm-grid{grid-template-columns:1fr}.pm-card{padding:17px}.pm-nav{overflow-x:auto}}

/* 0.18.0: estrutura de perfil com barra lateral e conteudo principal */
.pm-profile-layout{display:grid;grid-template-columns:minmax(250px,300px) minmax(0,1fr);gap:22px;align-items:start}
.pm-profile-sidebar,.pm-profile-main{min-width:0}.pm-profile-sidebar{position:sticky;top:94px}
.pm-profile-identity{text-align:center}.pm-profile-identity h1{font-size:22px;display:flex;flex-direction:column;align-items:center;gap:12px;overflow-wrap:anywhere}
.pm-profile-identity h1 img{width:110px;height:110px;border-radius:50%;object-fit:cover;border:5px solid #fce4f1;box-shadow:0 4px 16px #e8269126}
.pm-profile-identity .pm-form{text-align:left}.pm-profile-main>.pm-card:first-child{margin-top:0}
.pm-profile-main .pm-rating{background:#fce8f3;color:#a51a65;border:1px solid #f8cde4;font-weight:800}
.pm-profile-main .pm-entry{border-color:#f1e6ee}.pm-wrap .pm-card button,.pm-wrap .pm-form button{background:#e82691;color:white;border:0;border-radius:18px;padding:9px 17px;font-weight:800;cursor:pointer}
.pm-wrap .pm-card button:hover,.pm-wrap .pm-form button:hover{background:#c91e7b}
@media(max-width:780px){.pm-profile-layout{grid-template-columns:1fr}.pm-profile-sidebar{position:static}.pm-profile-identity h1{flex-direction:row;text-align:left}.pm-profile-identity h1 img{width:72px;height:72px}}

/* 0.19.0: layout baseado nos componentes reais do Clone-Orkut-Angular */
.pm-wrap{max-width:1440px;margin:112px auto 24px;padding:0 14px}
.pm-profile-layout{display:grid;grid-template-columns:minmax(220px,.6fr) minmax(390px,1fr) minmax(210px,.5fr);gap:20px;align-items:start}
.pm-profile-sidebar{position:static}.pm-profile-main,.pm-profile-counters{min-width:0}
.pm-profile-layout .pm-card{border:0;border-radius:30px;box-shadow:none;margin:0 0 20px;padding:30px;background:#fff}
.pm-profile-identity h1{font-size:23px;text-transform:uppercase;color:#e82691;gap:20px}
.pm-profile-identity h1 img{width:min(200px,85%);height:auto;aspect-ratio:1;border:5px solid #e82691;box-shadow:3px 2px 11px 2px rgba(227,33,136,.23)}
.pm-profile-counters .pm-card h2{font-size:22px;color:#757575;margin:0}.pm-counter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.pm-counter-grid a{text-align:center;font-size:11px;line-height:1.3;min-width:0;overflow-wrap:anywhere}.pm-counter-grid .avatar{width:56px;height:56px;max-width:100%;border:0;box-shadow:none}.pm-counter-grid a span:last-child{display:block}.pm-community-tile{display:grid;place-items:center;margin:auto auto 5px;width:56px;height:56px;max-width:100%;border-radius:10px;background:#fbe8f2;color:#e82691;font-size:25px;font-weight:900}.pm-profile-main .pm-card h2{color:#e82691}.pm-profile-main .pm-rating{border-radius:20px}
@media(max-width:1000px){.pm-profile-layout{grid-template-columns:240px minmax(0,1fr)}.pm-profile-counters{grid-column:2}}
@media(max-width:700px){.pm-profile-layout{display:block}.pm-profile-sidebar,.pm-profile-counters{display:none}.pm-profile-layout .pm-card{padding:22px}.pm-wrap{margin-top:104px}}

/* 0.22.0: perfil e componentes sociais reproduzindo as proporcoes e estilos do Angular. */
.pm-wrap{font-family:'Nunito',Arial,sans-serif;color:#757575;max-width:1320px}
.pm-wrap h1,.pm-wrap h2,.pm-wrap h3{font-family:'Nunito',Arial,sans-serif}
.pm-profile-layout{grid-template-columns:minmax(190px,.6fr) minmax(0,1fr) minmax(180px,.5fr);gap:20px}
.pm-profile-layout .pm-card{background:#fff;border:0;border-radius:30px;box-shadow:none;padding:30px}
.pm-profile-main .pm-card h2,.pm-profile-identity h1{color:#e82691}
.pm-profile-identity h1 img{border:5px solid #e82691;box-shadow:3px 2px 11px 2px rgba(227,33,136,.23)}
.pm-rating{background:rgba(240,102,166,.11);color:#b71d72;border-radius:20px}
.pm-wrap .pm-card button,.pm-wrap .pm-form button{background:#e82691;color:#fff;font-weight:800}
.pm-profile-counters .pm-card h2{color:#757575}
.pm-wrap :is(a,button,input,textarea,select):focus-visible{outline:3px solid #e82691;outline-offset:3px}
@media(max-width:1050px){.pm-profile-layout{grid-template-columns:230px minmax(0,1fr)}.pm-profile-counters{grid-column:2}}
@media(max-width:700px){
 .pm-profile-layout{display:flex;flex-direction:column;gap:20px}
 .pm-profile-sidebar{display:block;position:static;width:100%}
 .pm-profile-counters{display:block;width:100%}
 .pm-profile-main{width:100%}
 .pm-profile-layout .pm-card{border-radius:30px;padding:22px}
 .pm-profile-identity h1 img{width:90px;height:90px}
 .pm-wrap{margin-top:18px}
}

/* 0.23.0: detalhes dos componentes originais do Clone Orkut Angular. */
.pm-profile-sidebar .pm-profile-identity{padding-top:30px;text-align:center}
.pm-profile-identity h1{display:flex;flex-direction:column;align-items:center;gap:15px;font-size:21px;text-transform:uppercase;color:#e82691;font-weight:800}
.pm-profile-identity h1 img{width:min(80%,200px);height:auto;aspect-ratio:1;object-fit:cover;border:5px solid #e82691;border-radius:50%;box-shadow:3px 2px 11px 2px rgba(227,33,136,.23)}
.pm-profile-shortcuts{display:flex;flex-direction:column;gap:3px;margin:22px 0 0;text-align:left}
.pm-profile-shortcuts a{display:block;padding:12px 14px;border-radius:5px;color:#757575;font-weight:700;text-decoration:none}
.pm-profile-shortcuts a:hover,.pm-profile-shortcuts a:focus-visible{background:rgba(240,102,166,.11);color:#e82691}
.pm-profile-info h2{margin:0 0 8px;color:#e82691;font-weight:800}
.pm-profile-subtitle{font-style:italic;color:#757575;margin:0 0 18px}
.pm-profile-info-table{display:grid;gap:0}
.pm-profile-info-table>div{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;padding:10px;border-radius:20px;gap:20px}
.pm-profile-info-table>div:hover{background:rgba(240,102,166,.11)}
.pm-profile-info-table span{color:#e82691;font-weight:400}
.pm-profile-info-table strong{color:#757575;font-weight:600;font-style:italic;overflow-wrap:anywhere}
.pm-counter-grid a{border-radius:12px;text-align:center;text-decoration:none}
.pm-counter-grid a:hover{background:rgba(240,102,166,.11)}
.pm-counter-grid img{border-radius:12px}
@media(max-width:900px){.pm-profile-info-table>div{grid-template-columns:90px minmax(0,1fr);gap:12px}}
@media(max-width:700px){.pm-profile-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pm-profile-info-table>div{grid-template-columns:100px minmax(0,1fr)}}

/* 0.24.0: composicao dos indicadores de avaliacao inspirada no componente profile-rates do Angular. */
.pm-ratings-card .pm-ratings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start;margin-top:20px}
.pm-ratings-card .pm-rating-item{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-width:0}
.pm-rating-item>strong{font-weight:800;color:#e82691;font-size:15px}
.pm-rating-item .pm-rating-value{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#757575;font-size:14px;font-weight:500;min-height:30px}
.pm-rating-value span{font-size:23px;color:#e82691;line-height:1}
.pm-rating-item .pm-rating-value:hover{background:rgba(240,102,166,.11);border-radius:10px}
.pm-rating-item form{margin:0;width:100%}
.pm-rating-item button{font-size:12px;padding:7px 10px;max-width:100%;white-space:normal}
.pm-counter-grid a{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;text-align:center;text-decoration:none}
.pm-counter-grid a span:last-child{font-size:12px;overflow-wrap:anywhere}
.pm-counter-grid a img{border-radius:12px;object-fit:cover}
.pm-counter-grid a:focus-visible{outline:3px solid #e82691;outline-offset:3px}
@media(max-width:750px){.pm-ratings-card .pm-ratings-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}}

/* 0.25.0: navegação única, cards de comunidades e microinterações. */
.pm-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff;border:0;border-radius:20px;padding:12px 18px;margin-bottom:20px;box-shadow:3px 2px 11px 2px rgba(174,229,255,.23)}
.pm-nav a{font-size:14px;color:#757575;font-weight:800;padding:8px 12px;border-radius:12px;text-decoration:none;transition:background .16s ease,color .16s ease}
.pm-nav a:hover,.pm-nav a:focus-visible{background:rgba(240,102,166,.11);color:#e82691}
.pm-counter-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.pm-counter-total{font-size:12px;font-weight:900;color:#e82691;background:rgba(240,102,166,.11);border-radius:100px;padding:5px 10px}
.pm-counter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pm-counter-grid a{padding:7px 3px;border-radius:14px;transition:background .16s ease,transform .16s ease}
.pm-counter-grid a:hover{background:rgba(240,102,166,.11);transform:translateY(-2px)}
.pm-community-tile{border-radius:14px;border:1px solid #f5c8df;background:linear-gradient(135deg,#fbe8f2,#fff5fa);color:#e82691;box-shadow:0 2px 7px rgba(227,33,136,.09)}
.pm-profile-shortcuts a{transition:background .16s ease,color .16s ease}
.pm-wrap .pm-card{overflow-wrap:anywhere}
@media(max-width:700px){.pm-nav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.pm-nav a{flex-shrink:0}.pm-counter-grid{gap:8px}}
@media(prefers-reduced-motion:reduce){.pm-counter-grid a,.pm-profile-shortcuts a,.pm-nav a{transition:none}.pm-counter-grid a:hover{transform:none}}

/* 0.27.0: busca social. */
.pm-search-panel,.pm-search-results{margin-bottom:20px}
.pm-social-search-fields{display:flex;gap:12px;margin-top:10px}
.pm-social-search-fields input{flex:1;min-width:0;border:1px solid #e7d9e1;border-radius:12px;padding:12px}
.pm-social-search-fields button{border:0;background:#e82691;color:#fff;border-radius:12px;padding:12px 18px;font-weight:800;cursor:pointer}
.pm-search-tabs{display:flex;gap:12px;margin-top:20px}
.pm-search-tabs a{padding:8px 15px;border-radius:20px;text-decoration:none}
.pm-search-tabs a[aria-current="page"]{background:#fbe8f2;color:#e82691;font-weight:800}
.pm-search-result{display:flex;align-items:center;gap:15px;border-bottom:1px solid #f4eaf0;padding:16px 0}
.pm-search-result:last-child{border-bottom:0}
.pm-search-result h3,.pm-search-result p{margin:0}
.pm-search-avatar{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#fbe8f2;color:#e82691;object-fit:cover;flex-shrink:0}
.pm-search-pagination{display:flex;gap:20px;margin-top:20px}
@media(max-width:550px){.pm-social-search-fields{flex-direction:column}}

/* 0.28.0: edição de álbuns e legendas no frontend. */
.pm-album-edit,.pm-photo-controls form{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:12px 0}.pm-album-edit label,.pm-photo-controls label{display:grid;gap:5px;flex:1;min-width:180px}.pm-album-edit input,.pm-photo-controls input{width:100%;border:1px solid #e7d9e1;border-radius:10px;padding:9px}.pm-photo-controls{border-top:1px solid #f4eaf0;padding-top:10px}.pm-photo-controls button,.pm-album-edit button{border:0;border-radius:10px;padding:10px 14px;background:#e82691;color:white;font-weight:800;cursor:pointer}.pm-photo-controls form:last-child button{background:#757575}

/* 0.29.0: controle de exclusão de álbuns */
.pm-album-delete{margin:18px 0}.pm-danger-button{border:1px solid #bb2e56;border-radius:12px;background:#fff;color:#a31c48;padding:10px 16px;font-weight:800;cursor:pointer}.pm-danger-button:hover,.pm-danger-button:focus-visible{background:#fff0f5;outline-offset:3px}

/* 0.30.0: public-to-private photo migration controls */
.pm-photo-migrate{margin:18px 0;padding:20px;border:1px solid #f4d6e5;background:#fff7fb;border-radius:20px}
.pm-photo-migrate h3{color:#e82691;margin:0 0 10px}
.pm-photo-migrate form{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.pm-photo-migrate button{border:0;background:#e82691;color:#fff;border-radius:12px;padding:11px 16px;font-weight:800;cursor:pointer}

.pm-mention-suggestions{display:flex;flex-direction:column;max-width:420px;border:1px solid #c8d8eb;border-radius:10px;background:#fff;box-shadow:0 6px 18px #0002;overflow:hidden;margin:.25rem 0 1rem}.pm-mention-suggestions[hidden]{display:none}.pm-mention-choice{background:#fff;border:0;border-bottom:1px solid #edf0f5;text-align:left;padding:.6rem .8rem;cursor:pointer}.pm-mention-choice:hover,.pm-mention-choice:focus{background:#f8e4f2}
\n.pm-search-filters{display:flex;flex-wrap:wrap;gap:1rem;margin:1rem 0}.pm-search-filters label{display:flex;gap:.4rem;align-items:center}.pm-search-filters select{max-width:100%;border:1px solid #c5d5e9;border-radius:8px;padding:.4rem;background:white}\n\n.pm-notification-settings{margin:1rem 0;padding:.85rem;border:1px solid #c5d5e9;border-radius:12px;background:#fff}.pm-notification-settings summary{cursor:pointer;font-weight:700}.pm-notification-kind{display:block;padding:.45rem 0}.pm-notification-settings button{margin-top:.7rem}\n
.pm-invite-person,.pm-invite-entry{padding:.65rem 0;border-bottom:1px solid #e1e8f4}.pm-invite-inline{display:inline-block;margin:.2rem .3rem}.pm-invite-inline button{cursor:pointer;border:1px solid #e82691;border-radius:9px;background:#fff;color:#b10b6c;padding:.35rem .7rem}

.pm-invite-entry{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.75rem 0;border-bottom:1px solid #d9e6f7}.pm-invite-entry .pm-invite-inline{display:inline-flex;margin:0}.pm-invite-entry button{cursor:pointer}

/* 1.4.0: independent mobile fallback for auth routes. */
@media(max-width:799px){.pm-wrap:has(> .pm-auth-shell){width:100%;max-width:100%;min-width:0;padding:0 16px;display:block;margin:0 auto}.pm-wrap>.pm-auth-shell{display:flex;flex-direction:column;align-items:stretch;gap:18px;width:100%;min-width:0;min-height:0;padding:18px 0}.pm-auth-shell .pm-auth-intro{width:100%;min-width:0}.pm-auth-shell .pm-auth{width:100%;min-width:0;max-width:480px;margin:0 auto}.pm-auth-shell .pm-form,.pm-auth-shell .pm-form label{min-width:0}.pm-auth-shell .pm-form input:not([type=checkbox]){width:100%;max-width:100%}}

/* 1.4.3: responsive social screens, profile, communities, media and messages. */
.pm-wrap,.pm-wrap *{min-width:0}
.pm-wrap img,.pm-wrap video,.pm-wrap iframe{max-width:100%;height:auto}
.pm-wrap pre,.pm-wrap code{overflow-wrap:anywhere}
.pm-wrap .pm-card,.pm-wrap .pm-entry{overflow-wrap:anywhere}
@media(max-width:799px){
 .pm-wrap{width:100%;max-width:100%;padding-inline:14px;margin-block:16px}
 .pm-grid{grid-template-columns:minmax(0,1fr)}
 .pm-account-header{flex-wrap:wrap;align-items:flex-start;padding:18px;gap:12px}
 .pm-account-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .pm-account-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .pm-account-stat,.pm-account-card{padding:14px}
 .pm-chat select{min-width:0;width:100%}
 .pm-chat-mine{margin-left:5%}.pm-chat-other{margin-right:5%}
 .pm-search-filters{gap:10px}.pm-search-filters label{max-width:100%;flex-wrap:wrap}
 .pm-invite-entry{align-items:flex-start}
 .pm-nav{gap:8px;padding:12px}.pm-nav a{padding:5px 7px}
 .pm-form input,.pm-form select,.pm-form textarea{max-width:100%}
}
@media(max-width:380px){
 .pm-wrap{padding-inline:10px}
 .pm-account-stats,.pm-account-grid{grid-template-columns:minmax(0,1fr)}
 .pm-card{padding:13px}
}

/* 1.4.4: mobile audit, profiles, communities, messages, searches and accessible controls. */
.pm-wrap :is(.pm-card,.pm-entry,.pm-chat,.pm-profile-layout,.pm-profile-main,.pm-profile-sidebar,.pm-profile-counters){min-width:0;max-width:100%}
.pm-wrap :is(table,pre){max-width:100%}
.pm-wrap table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
.pm-wrap :is(img,video){max-width:100%;height:auto}
.pm-wrap iframe{max-width:100%}
.pm-wrap :is(input,select,textarea){box-sizing:border-box}
@media(max-width:700px){
 .pm-profile-layout{display:flex;flex-direction:column;gap:14px}
 .pm-profile-layout :is(.pm-profile-sidebar,.pm-profile-main,.pm-profile-counters){display:block;width:100%;min-width:0}
 .pm-profile-layout .pm-card{margin-bottom:14px;padding:clamp(14px,4vw,22px);border-radius:20px}
 .pm-profile-identity h1{overflow-wrap:anywhere}
 .pm-counter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .pm-counter-grid a{min-width:0;overflow-wrap:anywhere}
 .pm-chat-log{max-height:min(55dvh,460px);overscroll-behavior:contain}
 .pm-chat-log p{overflow-wrap:anywhere;word-break:break-word}
 .pm-search-tabs,.pm-search-pagination{flex-wrap:wrap;gap:8px}
 .pm-search-result{min-width:0;align-items:flex-start;gap:10px}
 .pm-search-result>div{min-width:0;overflow-wrap:anywhere}
 .pm-invite-entry{min-width:0;overflow-wrap:anywhere}
 .pm-invite-entry :is(button,a){max-width:100%;white-space:normal}
 .pm-form :is(input:not([type=checkbox]):not([type=radio]),select,textarea){width:100%;max-width:100%;min-width:0}
 .pm-wrap :is(button,input[type=submit],.pm-nav a,.pm-search-tabs a){min-height:40px}
}
@media(max-width:380px){
 .pm-profile-layout .pm-card{padding:14px}
 .pm-counter-grid .avatar{width:42px;height:42px}
 .pm-chat-mine{margin-left:2%}.pm-chat-other{margin-right:2%}
 .pm-search-avatar{width:44px;height:44px}
}

/* 1.4.17: community image on creation */
.pm-community-create-image-label{display:block;margin:10px 0 5px;font-weight:700}.pm-form input[type=file]#pm-community-create-image{display:block;max-width:100%;padding:9px;border:1px solid #d2dff0;border-radius:10px;background:#fff}.pm-community-create-preview img{display:block;width:112px;height:112px;object-fit:cover;border-radius:10px;margin:10px 0}.pm-community-create-preview img[hidden]{display:none}

/* 1.4.19: owner-only community settings */
.pm-community-settings{margin:16px 0;padding:14px;border:1px solid #d6e2f2;border-radius:12px;background:#f7faff}
.pm-community-settings summary{cursor:pointer;font-weight:700;color:#243e64}
.pm-community-settings form{display:grid;gap:12px;margin-top:14px}
.pm-community-settings label{display:grid;gap:5px;font-weight:600}
.pm-community-settings input,.pm-community-settings textarea,.pm-community-settings select{width:100%;max-width:100%;box-sizing:border-box}
.pm-community-settings__hint{font-size:.88rem;color:#53647c;margin:0}
