:root{
    --hc-bg:#fff3ed;
    --hc-bg-pink:#ffe2e9;
    --hc-surface:#fffaf7;
    --hc-card:#ffffff;
    --hc-soft:#fff0f3;
    --hc-soft-2:#fff7ed;
    --hc-text:#3a2528;
    --hc-muted:#94777b;
    --hc-line:rgba(190,89,92,.18);
    --hc-coral:#ff5b63;
    --hc-red:#f42d4f;
    --hc-orange:#ff8a2a;
    --hc-gold:#d9a441;
    --hc-green:#38c46b;
    --hc-shadow:0 18px 48px rgba(206,76,91,.16);
    --hc-soft-shadow:0 10px 28px rgba(182,79,88,.11);
    --hc-radius:26px;
    --hc-font:"Nunito",Arial,Helvetica,sans-serif;
    --hc-script:"Pacifico","Brush Script MT",cursive;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;min-height:100%;letter-spacing:0}
body{
    background:linear-gradient(145deg,#fffaf5 0%,#ffe6e4 40%,#ffe0ea 72%,#fff8f0 100%);
    color:var(--hc-text);
    font-family:var(--hc-font);
    font-size:16px;
}
body.hc-app-shell{padding-bottom:98px}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}

.hc-topbar{
    position:sticky;
    top:10px;
    z-index:40;
    width:min(1120px,calc(100% - 22px));
    min-height:72px;
    margin:10px auto 0;
    padding:8px 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border:1px solid rgba(255,255,255,.76);
    border-radius:28px;
    background:rgba(255,250,247,.84);
    box-shadow:var(--hc-soft-shadow);
    backdrop-filter:blur(18px);
}
.hc-logo{
    position:relative;
    display:inline-flex;
    align-items:center;
    min-width:138px;
    min-height:54px;
}
.hc-logo-art,.hc-auth-logo,.hc-demo-logo,.hc-logo-badge{
    display:block;
    background:url("../img/love-fire-logo.png") center/contain no-repeat;
}
.hc-logo-art{width:160px;height:54px}
.hc-logo-name{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
}
.hc-top-actions{display:flex;align-items:center;gap:10px}
.hc-user-chip,.hc-logout{
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:38px;
    padding:8px 12px;
    border-radius:999px;
    background:#fff;
    border:1px solid var(--hc-line);
    color:var(--hc-muted);
    font-size:13px;
    font-weight:800;
    box-shadow:0 8px 20px rgba(206,76,91,.08);
}
.hc-user-chip{
    max-width:150px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.hc-user-chip-photo{
    width:24px;
    height:24px;
    flex:0 0 auto;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #fff;
    box-shadow:0 0 0 1px rgba(244,45,79,.12);
}
.hc-logout{color:var(--hc-red)}
.hc-live-dot{
    display:inline-block;
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--hc-green);
    box-shadow:0 0 0 4px rgba(56,196,107,.14);
}
.hc-nav{display:flex;align-items:center}
.hc-public-nav{gap:8px}
.hc-public-nav a{
    min-height:42px;
    padding:10px 16px;
    border-radius:999px;
    color:var(--hc-muted);
    font-weight:900;
}
.hc-public-nav a.active,.hc-public-nav a:hover{background:#fff;color:var(--hc-red)}
.hc-bottom-nav{
    position:fixed;
    left:50%;
    bottom:12px;
    z-index:60;
    width:min(460px,calc(100% - 18px));
    min-height:72px;
    transform:translateX(-50%);
    justify-content:space-around;
    gap:2px;
    padding:8px;
    border:1px solid rgba(255,255,255,.78);
    border-radius:28px;
    background:rgba(255,250,247,.92);
    box-shadow:0 18px 48px rgba(169,63,76,.22);
    backdrop-filter:blur(18px);
}
.hc-bottom-nav a{
    display:grid;
    place-items:center;
    min-width:58px;
    min-height:54px;
    padding:5px 6px;
    border-radius:19px;
    color:#9b8385;
    font-size:11px;
    font-weight:900;
}
.hc-nav-icon{font-size:20px;line-height:1}
.hc-nav-label{
    max-width:100%;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.hc-bottom-nav a.active{
    background:linear-gradient(135deg,#fff0f2,#ffe6d3);
    color:var(--hc-red);
    box-shadow:0 8px 18px rgba(244,45,79,.13);
}

.hc-main{
    width:min(1120px,calc(100% - 24px));
    margin:0 auto;
    padding:24px 0 34px;
}
.hc-alert{
    margin:0 0 16px;
    padding:13px 15px;
    border-radius:18px;
    font-weight:900;
    box-shadow:var(--hc-soft-shadow);
}
.hc-alert-ok{background:#eafff1;color:#16753a;border:1px solid rgba(56,196,107,.22)}
.hc-alert-err{background:#fff1f2;color:#b42339;border:1px solid rgba(244,45,79,.18)}

.hc-pill{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:34px;
    padding:8px 12px;
    border:1px solid rgba(255,137,122,.24);
    border-radius:999px;
    background:rgba(255,255,255,.76);
    color:var(--hc-red);
    font-size:13px;
    font-weight:900;
    box-shadow:0 8px 22px rgba(244,45,79,.08);
}
.hc-screen-title h1,.hc-page-head h1{
    margin:9px 0 7px;
    font-family:var(--hc-script);
    font-size:38px;
    line-height:1.15;
    font-weight:400;
    color:var(--hc-red);
}
.hc-screen-title p,.hc-page-head p{
    margin:0;
    color:var(--hc-muted);
    line-height:1.55;
}

.hc-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:42px;
    border:0;
    border-radius:999px;
    padding:10px 16px;
    font-weight:900;
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.hc-btn:hover{transform:translateY(-1px)}
.hc-btn-primary{
    color:#fff;
    background:linear-gradient(135deg,var(--hc-red),var(--hc-orange));
    box-shadow:0 12px 24px rgba(244,45,79,.22);
}
.hc-btn-ghost{
    color:var(--hc-red);
    background:#fff;
    border:1px solid var(--hc-line);
}
.hc-btn-danger{background:#fff1f2;color:#d4213f;border:1px solid rgba(212,33,63,.13)}
.hc-btn-small{min-height:36px;padding:8px 12px;font-size:13px}
.hc-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}

.hc-landing-hero{
    display:grid;
    gap:28px;
    align-items:center;
    padding:18px 0 34px;
}
.hc-hero-copy h1{
    margin:14px 0 10px;
    font-family:var(--hc-script);
    font-size:52px;
    line-height:1.05;
    color:var(--hc-red);
    font-weight:400;
}
.hc-hero-copy p{
    max-width:620px;
    margin:0;
    color:#6f4f53;
    line-height:1.72;
    font-size:17px;
}
.hc-phone-demo{
    width:min(390px,100%);
    margin:0 auto;
    padding:18px;
    border:1px solid rgba(255,255,255,.8);
    border-radius:38px;
    background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,247,244,.86));
    box-shadow:0 30px 70px rgba(182,79,88,.2);
}
.hc-demo-logo{height:72px;margin:0 auto 8px}
.hc-demo-search{
    display:flex;
    align-items:center;
    min-height:48px;
    margin-bottom:12px;
    padding:0 16px;
    border:1px solid var(--hc-line);
    border-radius:20px;
    background:#fff;
    color:#b1989b;
    font-size:13px;
}
.hc-demo-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}
.hc-demo-grid div{
    position:relative;
    aspect-ratio:1/1.18;
    overflow:hidden;
    border-radius:22px;
    background-size:cover;
    background-position:center;
}
.hc-demo-grid div:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,0) 42%,rgba(45,18,21,.62) 100%);
}
.hc-demo-grid span{
    position:absolute;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:1;
    color:#fff;
    font-weight:900;
}
.hc-demo-nav{
    display:flex;
    justify-content:space-around;
    margin-top:12px;
    padding:10px 8px 2px;
    color:var(--hc-red);
    font-size:22px;
}

.hc-grid-3{display:grid;gap:14px;margin:18px 0 30px}
.hc-feature,.hc-auth-card,.hc-post,.hc-compose,.hc-profile-card,.hc-match-card,.hc-chat-shell{
    border:1px solid rgba(255,255,255,.72);
    background:rgba(255,250,247,.88);
    box-shadow:var(--hc-soft-shadow);
}
.hc-feature{
    padding:20px;
    border-radius:24px;
}
.hc-feature h3{margin:0 0 8px;color:#5a3136}
.hc-feature p{margin:0;color:var(--hc-muted);line-height:1.6}

.hc-auth-card{
    max-width:560px;
    margin:22px auto;
    padding:24px;
    border-radius:28px;
}
.hc-auth-card.hc-wide{max-width:900px}
.hc-auth-logo{height:82px;margin:0 auto 8px}
.hc-auth-card h1{
    margin:0 0 8px;
    font-family:var(--hc-script);
    font-size:38px;
    line-height:1.15;
    color:var(--hc-red);
    font-weight:400;
}
.hc-auth-card p{margin:0 0 18px;color:var(--hc-muted);line-height:1.55}
.hc-form{display:grid;gap:14px}
.hc-form-grid{grid-template-columns:1fr}
.hc-form label{
    display:grid;
    gap:7px;
    color:#5e3d41;
    font-size:14px;
    font-weight:900;
}
.hc-form input,.hc-form select,.hc-form textarea,.hc-compose textarea,.hc-comment-form input,.hc-message-form input{
    width:100%;
    border:1px solid var(--hc-line);
    border-radius:18px;
    outline:none;
    background:#fff;
    color:var(--hc-text);
    padding:13px 14px;
}
.hc-form textarea,.hc-compose textarea{resize:vertical;line-height:1.55}
.hc-form input:focus,.hc-form select:focus,.hc-form textarea:focus,.hc-compose textarea:focus,.hc-comment-form input:focus,.hc-message-form input:focus{
    border-color:rgba(244,45,79,.55);
    box-shadow:0 0 0 4px rgba(244,45,79,.08);
}
.hc-full{grid-column:1/-1}
.hc-check{align-content:center}
.hc-profile-photo-editor{
    display:grid;
    grid-template-columns:104px minmax(0,1fr);
    align-items:center;
    gap:16px;
    padding:14px;
    border:1px solid rgba(255,137,122,.22);
    border-radius:24px;
    background:linear-gradient(135deg,#fff7f8,#fffaf2);
}
.hc-profile-photo-editor img{
    width:104px;
    height:104px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #fff;
    box-shadow:0 12px 28px rgba(176,77,84,.18);
}
.hc-profile-photo-editor strong{
    display:block;
    color:#4f3034;
    font-size:17px;
}
.hc-profile-photo-editor span{
    display:block;
    margin:3px 0 10px;
    color:var(--hc-muted);
    font-size:13px;
    line-height:1.45;
}
.hc-file-button{
    display:inline-flex !important;
    width:fit-content;
    min-height:38px;
    align-items:center;
    justify-content:center;
    padding:9px 13px;
    border-radius:999px;
    color:#fff !important;
    background:linear-gradient(135deg,var(--hc-red),var(--hc-orange));
    font-size:13px !important;
    font-weight:900 !important;
}
.hc-file-button input{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    opacity:0;
    pointer-events:none;
}
.hc-remove-photo{
    display:inline-flex !important;
    width:fit-content;
    margin:9px 0 0;
    color:var(--hc-muted) !important;
    font-size:13px !important;
}
.hc-moderation-panel{
    display:grid;
    gap:14px;
}
.hc-report-card{
    display:grid;
    gap:10px;
    padding:14px;
    border:1px solid rgba(244,45,79,.14);
    border-radius:22px;
    background:linear-gradient(135deg,#fff,#fff7f1);
    box-shadow:0 10px 24px rgba(176,77,84,.09);
}
.hc-report-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}
.hc-report-head strong{
    display:block;
    color:#4f3034;
}
.hc-report-head span,
.hc-report-meta{
    color:var(--hc-muted);
    font-size:13px;
}
.hc-report-head em{
    padding:5px 9px;
    border-radius:999px;
    background:#fff0f3;
    color:var(--hc-red);
    font-size:12px;
    font-style:normal;
    font-weight:900;
}
.hc-report-message{
    margin:0;
    padding:12px;
    border-radius:16px;
    background:#fff;
    color:#5e4247;
    line-height:1.5;
}
.hc-report-meta,
.hc-report-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.hc-report-meta span{
    padding:5px 8px;
    border-radius:999px;
    background:#fff;
}
.hc-report-actions form{
    margin:0;
}

.hc-discovery-panel{
    display:grid;
    gap:14px;
    margin-bottom:18px;
}
.hc-search-bar{
    position:relative;
    display:flex;
    align-items:center;
    min-height:52px;
    border-radius:22px;
    border:1px solid rgba(255,255,255,.86);
    background:#fff;
    box-shadow:var(--hc-soft-shadow);
}
.hc-search-icon{padding-left:17px;color:#c4968a}
.hc-search-bar input{
    width:100%;
    min-height:52px;
    border:0;
    outline:none;
    background:transparent;
    padding:0 16px 0 10px;
    color:var(--hc-text);
}
.hc-filter-row{
    display:flex;
    gap:8px;
    overflow:auto;
    padding:2px 1px 6px;
    scrollbar-width:none;
}
.hc-filter-row::-webkit-scrollbar{display:none}
.hc-filter-chip{
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:38px;
    white-space:nowrap;
    padding:9px 12px;
    border-radius:999px;
    background:rgba(255,255,255,.72);
    border:1px solid var(--hc-line);
    color:var(--hc-red);
    font-size:13px;
    font-weight:900;
}
.hc-filter-chip span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--hc-red);
}
.hc-filter-chip.active{
    background:linear-gradient(135deg,#fff1f2,#ffe4d4);
    box-shadow:0 8px 20px rgba(244,45,79,.12);
}
.hc-profile-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.hc-profile-card{
    overflow:hidden;
    border-radius:24px;
}
.hc-profile-photo{
    position:relative;
    display:block;
    aspect-ratio:3/4;
    overflow:hidden;
    border-radius:24px;
    background:#f8d8d1;
}
.hc-profile-photo img,.hc-match-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.hc-profile-photo:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(51,22,25,.68) 100%);
}
.hc-photo-shine{
    position:absolute;
    inset:0;
    background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(255,255,255,0) 42%);
}
.hc-card-online{
    position:absolute;
    top:12px;
    right:12px;
    z-index:2;
    width:12px;
    height:12px;
    border:2px solid #fff;
    border-radius:50%;
    background:#d2b6ae;
}
.hc-card-online.is-online{background:var(--hc-green)}
.hc-location-pin{
    position:absolute;
    top:11px;
    left:11px;
    z-index:2;
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    border-radius:50%;
    background:rgba(255,255,255,.82);
    color:var(--hc-gold);
    font-size:15px;
}
.hc-card-name{
    position:absolute;
    left:12px;
    right:12px;
    bottom:12px;
    z-index:2;
    color:#fff;
    font-size:18px;
    font-weight:900;
    text-shadow:0 2px 12px rgba(0,0,0,.45);
}
.hc-profile-meta{
    padding:12px 12px 0;
}
.hc-profile-meta p{
    min-height:20px;
    margin:0 0 8px;
    color:var(--hc-muted);
    font-size:13px;
    font-weight:800;
}
.hc-mini-tags,.hc-interest-tags{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
}
.hc-mini-tags span,.hc-interest-tags span{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:6px 9px;
    border:1px solid var(--hc-line);
    border-radius:999px;
    background:#fff7f8;
    color:#76565b;
    font-size:12px;
    font-weight:800;
}
.hc-card-row{
    display:flex;
    gap:8px;
    padding:12px;
}
.hc-card-row .hc-btn{flex:1}
.hc-verified{
    display:inline-grid;
    place-items:center;
    width:18px;
    height:18px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--hc-orange),var(--hc-gold));
    color:#fff;
    font-size:11px;
    font-weight:900;
}
.hc-empty,.hc-empty-mini{
    grid-column:1/-1;
    border:1px dashed rgba(190,89,92,.25);
    border-radius:22px;
    background:rgba(255,255,255,.64);
    color:var(--hc-muted);
    text-align:center;
    padding:24px;
    line-height:1.55;
}
.hc-empty-mini{padding:15px;font-size:14px}

.hc-match-stage{
    min-height:calc(100vh - 190px);
    display:grid;
    place-items:center;
}
.hc-match-card{
    width:min(430px,100%);
    overflow:hidden;
    border-radius:34px;
}
.hc-match-photo{
    position:relative;
    height:430px;
    overflow:hidden;
    background:#f6cbc6;
}
.hc-match-photo:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,0) 48%,rgba(60,25,28,.18) 100%);
}
.hc-photo-spark{
    position:absolute;
    z-index:2;
    color:#fff;
    text-shadow:0 2px 14px rgba(244,45,79,.45);
    font-size:22px;
}
.hc-photo-spark.one{top:38px;left:26px}
.hc-photo-spark.two{right:44px;bottom:120px}
.hc-match-float{
    position:absolute;
    right:18px;
    top:28px;
    z-index:2;
    display:grid;
    place-items:center;
    width:62px;
    height:62px;
    border-radius:22px;
    background:linear-gradient(135deg,var(--hc-red),var(--hc-orange));
    color:#fff;
    box-shadow:0 14px 28px rgba(244,45,79,.26);
    transform:rotate(-10deg);
}
.hc-match-sheet{
    position:relative;
    margin-top:-54px;
    padding:28px 18px 22px;
    border-radius:34px 34px 0 0;
    background:rgba(255,250,247,.96);
    text-align:center;
}
.hc-match-sheet h1{
    margin:0 0 8px;
    font-family:var(--hc-script);
    font-size:43px;
    line-height:1.08;
    color:var(--hc-red);
    font-weight:400;
}
.hc-match-sheet h1 span{font-family:var(--hc-font);font-size:25px;color:var(--hc-red)}
.hc-match-location{margin:0;color:#6f5558;font-weight:800}
.hc-swipe-actions{
    display:flex;
    justify-content:center;
    gap:24px;
    margin:18px 0;
}
.hc-round{
    width:72px;
    height:72px;
    border:0;
    border-radius:50%;
    font-size:28px;
    font-weight:900;
    box-shadow:0 14px 28px rgba(174,69,80,.17);
}
.hc-no{background:#fff;color:#e64d66;border:1px solid var(--hc-line)}
.hc-yes{
    background:linear-gradient(135deg,var(--hc-red),var(--hc-orange));
    color:#fff;
}
.hc-match-bio{
    margin:0 auto 18px;
    max-width:350px;
    color:#6a4d52;
    line-height:1.55;
}
.hc-interest-block{
    text-align:left;
    border-top:1px solid var(--hc-line);
    padding-top:14px;
}
.hc-interest-block strong{
    display:block;
    margin-bottom:10px;
    color:var(--hc-red);
}

.hc-page-head{margin:0 0 16px}
.hc-feed-layout{
    display:grid;
    gap:14px;
    max-width:780px;
    margin:0 auto;
}
.hc-compose,.hc-post{
    border-radius:24px;
    padding:16px;
}
.hc-compose{display:grid;gap:12px}
.hc-post-head{
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:12px;
}
.hc-avatar-img{
    width:46px;
    height:46px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #fff;
    box-shadow:0 8px 18px rgba(176,77,84,.14);
}
.hc-avatar-img.lg{width:58px;height:58px}
.hc-post-head strong{color:#4f3034}
.hc-post-head span,.hc-conversation p,.hc-chat-title p{
    color:var(--hc-muted);
    font-size:13px;
}
.hc-post p{color:#5e4247;line-height:1.62}
.hc-post-actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin:14px 0;
}
.hc-comments{
    display:grid;
    gap:9px;
    padding:12px;
    border-radius:18px;
    background:#fff5f6;
    color:#6b4f53;
    font-size:14px;
}
.hc-comment-form{
    display:grid;
    grid-template-columns:1fr 46px;
    gap:8px;
}
.hc-comment-form button{
    border:0;
    border-radius:16px;
    background:linear-gradient(135deg,var(--hc-red),var(--hc-orange));
    color:#fff;
    font-weight:900;
}

.hc-chat-shell{
    display:grid;
    gap:0;
    overflow:hidden;
    min-height:680px;
    border-radius:30px;
}
.hc-chat-list{
    padding:16px;
    border-bottom:1px solid var(--hc-line);
    background:rgba(255,255,255,.58);
}
.hc-chat-list-head h1{
    margin:9px 0 12px;
    font-family:var(--hc-script);
    font-size:34px;
    color:var(--hc-red);
    font-weight:400;
}
.hc-conversation{
    display:grid;
    grid-template-columns:50px 1fr;
    gap:10px;
    align-items:center;
    padding:10px;
    border-radius:20px;
    margin-bottom:7px;
}
.hc-conversation.active,.hc-conversation:hover{
    background:linear-gradient(135deg,#fff2f4,#fff8ef);
}
.hc-conversation strong{display:inline-block;color:#4d3034}
.hc-type{
    display:inline-flex;
    min-height:21px;
    align-items:center;
    margin-left:6px;
    padding:3px 8px;
    border-radius:999px;
    background:#fff;
    color:var(--hc-red);
    font-size:11px;
    font-weight:900;
}
.hc-chat-window{
    display:flex;
    flex-direction:column;
    min-height:560px;
    background:linear-gradient(180deg,rgba(255,248,246,.88),rgba(255,239,242,.72));
}
.hc-chat-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 16px;
    border-bottom:1px solid var(--hc-line);
    background:rgba(255,255,255,.72);
}
.hc-chat-person{display:flex;align-items:center;gap:11px}
.hc-chat-title h2{
    margin:0 0 2px;
    font-family:var(--hc-script);
    color:#533034;
    font-size:26px;
    font-weight:400;
}
.hc-chat-title p{display:flex;align-items:center;gap:7px;margin:0}
.hc-chat-brand{
    display:grid;
    justify-items:end;
    gap:5px;
}
.hc-logo-badge{width:92px;height:35px}
.hc-chat-controls{display:flex;gap:8px}
.hc-chat-controls a{
    color:var(--hc-muted);
    font-size:12px;
    font-weight:900;
}
.hc-messages{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:10px;
    overflow:auto;
    padding:18px;
}
.hc-msg-row{
    width:fit-content;
    max-width:86%;
    display:flex;
    align-items:flex-end;
    gap:8px;
}
.hc-msg-row.mine{
    align-self:flex-end;
    flex-direction:row-reverse;
}
.hc-msg-avatar{
    width:36px;
    height:36px;
    flex:0 0 auto;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #fff;
    box-shadow:0 8px 18px rgba(176,77,84,.12);
}
.hc-msg{
    width:fit-content;
    max-width:82%;
    display:grid;
    gap:3px;
    padding:12px 14px;
    border:1px solid rgba(190,89,92,.12);
    border-radius:20px 20px 20px 6px;
    background:#fff;
    color:#4f3438;
    box-shadow:0 8px 22px rgba(170,74,82,.08);
}
.hc-msg.mine{
    align-self:flex-end;
    border-radius:20px 20px 6px 20px;
    background:#ffd1dc;
    border-color:rgba(244,45,79,.16);
}
.hc-msg-row .hc-msg{
    max-width:none;
}
.hc-msg-row.mine .hc-msg{
    border-radius:20px 20px 6px 20px;
    background:#ffd1dc;
    border-color:rgba(244,45,79,.16);
}
.hc-msg-name{font-size:12px;font-weight:900;color:var(--hc-red)}
.hc-msg.mine .hc-msg-name,.hc-msg-row.mine .hc-msg-name{display:none}
.hc-msg-text{line-height:1.5}
.hc-msg small{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
    color:#a98c90;
    font-size:11px;
}
.hc-msg-status{
    font-style:italic;
}
.hc-msg-actions{
    position:relative;
    display:flex;
    justify-content:flex-end;
    margin-top:3px;
    opacity:0;
    transform:translateY(-2px);
    transition:opacity .16s ease,transform .16s ease;
}
.hc-msg-row:hover .hc-msg-actions,
.hc-msg-row:focus-within .hc-msg-actions{
    opacity:1;
    transform:translateY(0);
}
.hc-msg-menu-toggle{
    width:32px;
    min-height:28px;
    padding:0;
    border:1px solid rgba(244,45,79,.16);
    border-radius:999px;
    background:#fff;
    color:var(--hc-red);
    font-size:16px;
    line-height:1;
    font-weight:900;
}
.hc-msg-menu{
    position:absolute;
    right:0;
    bottom:32px;
    z-index:12;
    min-width:158px;
    display:none;
    overflow:hidden;
    border:1px solid rgba(244,45,79,.16);
    border-radius:16px;
    background:#fff;
    box-shadow:0 14px 30px rgba(146,56,67,.16);
}
.hc-msg-row:not(.mine) .hc-msg-menu{
    right:auto;
    left:0;
}
.hc-msg-actions.open .hc-msg-menu{
    display:grid;
}
.hc-msg-menu button{
    width:100%;
    min-height:38px;
    padding:9px 12px;
    border:0;
    border-bottom:1px solid rgba(244,45,79,.08);
    border-radius:0;
    background:#fff;
    color:#5d373d;
    text-align:left;
    font-size:13px;
    font-weight:900;
}
.hc-msg-menu button:hover{
    background:#fff4f6;
    color:var(--hc-red);
}
.hc-msg-menu button[data-action="delete"]{
    color:#b42339;
}
.hc-msg-row.deleted .hc-msg{
    border-style:dashed;
    background:#fff8f8;
    color:var(--hc-muted);
    box-shadow:none;
}
.hc-msg-row.deleted .hc-msg-text{
    font-style:italic;
}
.hc-message-form{
    display:grid;
    grid-template-columns:38px 38px 38px 1fr 52px;
    align-items:center;
    gap:8px;
    padding:12px;
    border-top:1px solid var(--hc-line);
    background:rgba(255,255,255,.82);
}
.hc-chat-tool,.hc-send-btn{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    border:0;
    border-radius:50%;
    background:#fff;
    color:var(--hc-red);
    font-size:18px;
}
.hc-send-btn{
    width:52px;
    height:52px;
    color:#fff;
    background:linear-gradient(135deg,var(--hc-red),var(--hc-orange));
    box-shadow:0 10px 22px rgba(244,45,79,.24);
}
.hc-message-form input{min-height:46px;min-width:0;border-radius:999px}
.hc-message-input-wrap{
    min-width:0;
    display:grid;
    gap:6px;
}
.hc-edit-state{
    width:fit-content;
    max-width:100%;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:5px 9px;
    border:1px solid rgba(244,45,79,.16);
    border-radius:999px;
    background:#fff6ec;
    color:#8b4a11;
    font-size:12px;
    font-weight:900;
}
.hc-edit-state button{
    border:0;
    background:transparent;
    color:var(--hc-red);
    font-size:12px;
    font-weight:900;
}
.hc-chat-empty{
    align-self:center;
    margin:auto;
    max-width:360px;
}
.hc-chat-empty span{display:block;font-size:34px}
.hc-chat-empty strong{display:block;color:#5d373d;font-size:18px}
.hc-chat-empty p{margin:8px 0 0}

.hc-avatar,.hc-avatar-lg{
    display:grid;
    place-items:center;
    border-radius:50%;
    background:linear-gradient(135deg,var(--hc-red),var(--hc-orange));
    color:#fff;
    font-weight:900;
}
.hc-avatar{width:42px;height:42px}
.hc-avatar-lg{width:82px;height:82px;font-size:32px}

@media(min-width:720px){
    body.hc-app-shell{padding-bottom:112px}
    .hc-main{padding-top:34px}
    .hc-topbar{min-height:82px;padding:8px 18px;border-radius:32px}
    .hc-logo-art{width:206px;height:68px}
    .hc-screen-title h1,.hc-page-head h1{font-size:46px}
    .hc-landing-hero{grid-template-columns:1.05fr .95fr;min-height:650px;padding:34px 0 48px}
    .hc-hero-copy h1{font-size:72px}
    .hc-grid-3{grid-template-columns:repeat(3,1fr)}
    .hc-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
    .hc-form-grid{grid-template-columns:repeat(2,1fr)}
    .hc-match-photo{height:500px}
    .hc-chat-shell{grid-template-columns:310px 1fr}
    .hc-chat-list{border-right:1px solid var(--hc-line);border-bottom:0}
}
@media(min-width:1020px){
    .hc-profile-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .hc-bottom-nav{width:520px}
    .hc-bottom-nav a{min-width:82px}
}
@media(max-width:430px){
    .hc-topbar{top:6px;width:calc(100% - 14px);min-height:64px}
    .hc-logo-art{width:134px;height:46px}
    .hc-user-chip{max-width:88px}
    .hc-logout{padding:8px 10px}
    .hc-main{width:calc(100% - 16px);padding-top:18px}
    .hc-screen-title h1,.hc-page-head h1{font-size:34px}
    .hc-hero-copy h1{font-size:46px}
    .hc-profile-grid{gap:9px}
    .hc-profile-meta{padding:10px 10px 0}
    .hc-card-row{padding:10px;display:grid}
    .hc-card-name{font-size:16px}
    .hc-mini-tags span{font-size:11px;padding:5px 7px}
    .hc-match-photo{height:410px}
    .hc-match-sheet h1{font-size:39px}
    .hc-message-form{grid-template-columns:34px 34px 34px 1fr 46px;gap:5px;padding:9px}
    .hc-chat-tool{width:34px;height:34px}
    .hc-send-btn{width:46px;height:46px}
}

/* Love & Fire mockup pass: app-like phone frame on every logged-in page. */
body.hc-app-shell{
    min-height:100vh;
    padding:18px 0 104px;
    background:
        radial-gradient(circle at 18% 8%,rgba(255,255,255,.95) 0 7%,rgba(255,255,255,0) 18%),
        linear-gradient(135deg,#ffd9c2 0%,#ffe6e5 42%,#ffd6e5 100%);
}
body.hc-app-shell:before,
body.hc-app-shell:after{
    content:"Ã¢Å“Â¦";
    position:fixed;
    z-index:0;
    color:#fff;
    text-shadow:0 0 16px rgba(255,255,255,.85);
    pointer-events:none;
}
body.hc-app-shell:before{left:22px;top:82px;font-size:20px}
body.hc-app-shell:after{right:22px;bottom:72px;font-size:24px;color:#ffd15c}
.hc-app-shell .hc-topbar,
.hc-app-shell .hc-main,
.hc-app-shell .hc-bottom-nav{
    width:min(414px,calc(100% - 22px));
    max-width:414px;
}
.hc-app-shell .hc-topbar{
    position:relative;
    top:auto;
    z-index:5;
    min-height:128px;
    margin:0 auto;
    padding:18px 18px 12px;
    border:1px solid rgba(255,255,255,.78);
    border-bottom:0;
    border-radius:34px 34px 0 0;
    background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,248,244,.84));
    box-shadow:0 26px 70px rgba(167,55,73,.18);
    overflow:hidden;
}
.hc-app-shell .hc-topbar:before{
    content:"9:41";
    position:absolute;
    left:28px;
    top:18px;
    color:#25191b;
    font-size:13px;
    font-weight:900;
}
.hc-app-shell .hc-topbar:after{
    content:"Ã¢â€”â€ ÃÅ¸ Ã¢â€“Â°";
    position:absolute;
    right:26px;
    top:18px;
    color:#25191b;
    font-size:13px;
    font-weight:900;
    letter-spacing:1px;
}
.hc-logo{
    min-width:0;
    min-height:0;
}
.hc-logo-art{display:none}
.hc-logo-img{
    display:block;
    width:178px;
    height:auto;
    object-fit:contain;
}
.hc-app-shell .hc-logo{
    position:absolute;
    left:50%;
    top:43px;
    transform:translateX(-50%);
}
.hc-app-shell .hc-logo-img{width:194px}
.hc-app-shell .hc-top-actions{
    margin-left:auto;
    align-self:flex-end;
}
.hc-app-shell .hc-user-chip{display:none}
.hc-app-shell .hc-logout{
    position:absolute;
    right:18px;
    bottom:16px;
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    min-height:44px;
    padding:0;
    border-radius:16px;
    font-size:0;
    background:#fff5f2;
    color:var(--hc-red);
}
.hc-app-shell .hc-logout:before{
    content:"Ã¢â„¢Â¡";
    font-size:24px;
    line-height:1;
}
.hc-app-shell .hc-main{
    position:relative;
    z-index:2;
    min-height:calc(100vh - 150px);
    margin:0 auto;
    padding:16px 18px 94px;
    border:1px solid rgba(255,255,255,.78);
    border-top:0;
    border-radius:0 0 34px 34px;
    background:linear-gradient(180deg,rgba(255,250,247,.95),rgba(255,244,241,.94));
    box-shadow:0 30px 78px rgba(167,55,73,.2);
    overflow:hidden;
}
.hc-discovery-panel .hc-screen-title{
    display:none;
}
.hc-search-bar{
    min-height:48px;
    margin-bottom:10px;
    border-radius:19px;
    background:#fff;
    box-shadow:0 10px 26px rgba(186,85,91,.09);
}
.hc-search-bar input{
    min-height:48px;
    font-size:13px;
}
.hc-search-icon{
    padding-left:15px;
    color:#c58a85;
}
.hc-filter-row{
    gap:8px;
    padding-bottom:12px;
}
.hc-filter-chip{
    min-height:36px;
    padding:8px 11px;
    border-radius:16px;
    background:#fff2f4;
    color:#cf3451;
    font-size:12px;
    box-shadow:0 8px 18px rgba(207,52,81,.06);
}
.hc-profile-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}
.hc-profile-card{
    border:0;
    border-radius:17px;
    background:transparent;
    box-shadow:none;
    overflow:visible;
}
.hc-profile-photo{
    aspect-ratio:1/1.22;
    border-radius:17px;
    box-shadow:0 12px 24px rgba(74,27,31,.16);
}
.hc-card-name{
    left:10px;
    right:10px;
    bottom:11px;
    font-size:17px;
}
.hc-location-pin{
    left:auto;
    right:9px;
    top:9px;
    width:29px;
    height:29px;
    background:rgba(255,238,174,.92);
}
.hc-card-online{
    top:auto;
    right:10px;
    bottom:12px;
    z-index:3;
}
.hc-profile-meta,
.hc-card-row{
    display:none;
}
.hc-bottom-nav{
    left:50%;
    bottom:22px;
    z-index:20;
    min-height:74px;
    padding:9px 8px;
    border-radius:0 0 30px 30px;
    border:1px solid rgba(255,255,255,.82);
    background:rgba(255,250,247,.96);
    box-shadow:0 -10px 34px rgba(168,68,76,.12);
}
.hc-bottom-nav a{
    min-width:0;
    width:20%;
    min-height:54px;
    padding:4px 2px;
    color:#9d817f;
    font-size:10px;
    border-radius:18px;
}
.hc-bottom-nav a.active{
    color:var(--hc-red);
    background:#fff0f2;
}
.hc-nav-icon{
    font-size:21px;
    margin-bottom:2px;
}
.hc-nav-label{
    font-size:10px;
    line-height:1.1;
}
.hc-alert{
    margin:0 0 14px;
    border-radius:18px;
    font-size:13px;
}
.hc-match-stage{
    min-height:auto;
    place-items:start center;
}
.hc-match-card{
    width:100%;
    border:0;
    border-radius:26px;
    background:transparent;
    box-shadow:none;
}
.hc-match-photo{
    height:430px;
    border-radius:25px;
    box-shadow:0 16px 30px rgba(74,27,31,.17);
}
.hc-match-sheet{
    margin-top:-64px;
    padding:25px 18px 22px;
    border-radius:34px 34px 24px 24px;
    box-shadow:0 -10px 28px rgba(180,72,82,.08);
}
.hc-match-sheet h1{
    font-size:43px;
}
.hc-round{
    width:72px;
    height:72px;
}
.hc-chat-shell{
    min-height:calc(100vh - 170px);
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}
.hc-chat-list{
    display:none;
}
.hc-chat-window{
    min-height:calc(100vh - 170px);
    border-radius:0;
    background:transparent;
}
.hc-chat-title{
    padding:0 0 12px;
    border-bottom:0;
    background:transparent;
}
.hc-chat-title h2{
    font-size:25px;
}
.hc-logo-badge{
    width:102px;
}
.hc-messages{
    padding:12px 0 14px;
}
.hc-msg{
    max-width:78%;
    border-radius:17px 17px 17px 6px;
    box-shadow:0 10px 22px rgba(150,65,73,.09);
}
.hc-msg.mine{
    background:#ffcbd8;
    border-radius:17px 17px 6px 17px;
}
.hc-message-form{
    position:sticky;
    bottom:88px;
    grid-template-columns:30px 30px 30px 1fr 48px;
    gap:7px;
    padding:9px;
    border:1px solid rgba(255,255,255,.86);
    border-radius:24px;
    background:#fff;
    box-shadow:0 12px 28px rgba(162,70,80,.14);
}
.hc-chat-tool{
    width:30px;
    height:30px;
}
.hc-send-btn{
    width:48px;
    height:48px;
}
.hc-page-head,
.hc-feed-title{
    margin-bottom:14px;
}
.hc-screen-title h1,
.hc-page-head h1{
    font-size:36px;
}
.hc-compose,
.hc-post,
.hc-auth-card{
    border-radius:24px;
    box-shadow:0 12px 28px rgba(162,70,80,.11);
}
@media(min-width:720px){
    .hc-app-shell .hc-topbar,
    .hc-app-shell .hc-main,
    .hc-app-shell .hc-bottom-nav{
        width:414px;
    }
    .hc-app-shell .hc-main{
        min-height:770px;
    }
    .hc-chat-window{
        min-height:650px;
    }
    .hc-message-form{
        bottom:32px;
    }
}

/* Cross-platform correction: desktop is a real web app, mobile keeps the app shell. */
.hc-room-rail,
.hc-context-rail{
    display:none;
}
.hc-main-panel{
    display:block;
}

@media(min-width:860px){
    body.hc-app-shell{
        min-height:100vh;
        padding:0 0 42px;
        background:
            radial-gradient(circle at 12% 8%,rgba(255,255,255,.85),rgba(255,255,255,0) 22%),
            radial-gradient(circle at 84% 18%,rgba(255,213,196,.55),rgba(255,213,196,0) 28%),
            linear-gradient(135deg,#fff8f3 0%,#ffe4dd 38%,#ffd7e4 100%);
    }
    body.hc-app-shell:before,
    body.hc-app-shell:after,
    .hc-app-shell .hc-topbar:before,
    .hc-app-shell .hc-topbar:after{
        content:none;
    }
    .hc-app-shell .hc-topbar{
        position:sticky;
        top:14px;
        z-index:50;
        display:flex;
        align-items:center;
        gap:18px;
        width:min(1440px,calc(100% - 48px));
        max-width:1440px;
        min-height:82px;
        margin:16px auto 0;
        padding:10px 18px;
        border:1px solid rgba(255,255,255,.78);
        border-radius:30px;
        background:rgba(255,250,247,.84);
        box-shadow:0 18px 52px rgba(167,55,73,.14);
        overflow:visible;
        backdrop-filter:blur(18px);
    }
    .hc-app-shell .hc-logo{
        position:static;
        flex:0 0 auto;
        order:1;
        transform:none;
    }
    .hc-logo-img,
    .hc-app-shell .hc-logo-img{
        width:188px;
        height:64px;
        object-fit:contain;
    }
    .hc-app-shell .hc-bottom-nav{
        position:static;
        order:2;
        transform:none;
        width:auto;
        max-width:none;
        min-height:54px;
        margin-left:auto;
        padding:6px;
        gap:4px;
        border:1px solid rgba(190,89,92,.12);
        border-radius:999px;
        background:rgba(255,255,255,.62);
        box-shadow:none;
    }
    .hc-app-shell .hc-bottom-nav a{
        display:flex;
        align-items:center;
        justify-content:center;
        gap:7px;
        width:auto;
        min-width:0;
        min-height:42px;
        padding:8px 13px;
        border-radius:999px;
        color:#8c7476;
        font-size:14px;
    }
    .hc-app-shell .hc-bottom-nav a.active{
        color:var(--hc-red);
        background:#fff1f3;
        box-shadow:0 8px 18px rgba(244,45,79,.08);
    }
    .hc-app-shell .hc-nav-icon{
        margin:0;
        font-size:18px;
    }
    .hc-app-shell .hc-nav-label{
        font-size:13px;
        line-height:1;
    }
    .hc-app-shell .hc-top-actions{
        order:3;
        margin:0;
        align-self:auto;
    }
    .hc-app-shell .hc-user-chip{
        display:inline-flex;
        max-width:180px;
    }
    .hc-app-shell .hc-logout{
        position:static;
        display:inline-flex;
        width:auto;
        height:auto;
        min-height:38px;
        padding:8px 12px;
        border-radius:999px;
        font-size:13px;
        background:#fff;
    }
    .hc-app-shell .hc-logout:before{
        content:none;
    }
    .hc-app-shell .hc-main{
        width:min(1440px,calc(100% - 48px));
        max-width:1440px;
        min-height:0;
        margin:0 auto;
        padding:24px 0 0;
        border:0;
        border-radius:0;
        background:transparent;
        box-shadow:none;
        overflow:visible;
    }
    .hc-alert{
        max-width:920px;
        margin:0 auto 18px;
    }
    .hc-desktop-shell{
        display:grid;
        grid-template-columns:260px minmax(0,1fr) 300px;
        gap:18px;
        align-items:start;
    }
    .hc-room-rail,
    .hc-context-rail{
        position:sticky;
        top:118px;
        display:grid;
        gap:12px;
    }
    .hc-room-rail,
    .hc-context-rail,
    .hc-main-panel{
        min-width:0;
    }
    .hc-room-rail,
    .hc-context-rail{
        padding:16px;
        border:1px solid rgba(255,255,255,.72);
        border-radius:26px;
        background:rgba(255,250,247,.72);
        box-shadow:0 18px 46px rgba(170,68,78,.12);
    }
    .hc-room-rail h2,
    .hc-human-card h2{
        margin:0;
        color:#5b3339;
        font-size:22px;
        line-height:1.15;
    }
    .hc-room-card{
        display:grid;
        grid-template-columns:38px 1fr;
        gap:10px;
        align-items:center;
        padding:12px;
        border:1px solid rgba(190,89,92,.12);
        border-radius:18px;
        background:#fff;
        color:#5b3d42;
        box-shadow:0 10px 24px rgba(150,65,73,.08);
    }
    .hc-room-card span{
        grid-row:1/3;
        display:grid;
        place-items:center;
        width:38px;
        height:38px;
        border-radius:14px;
        background:#fff0f2;
    }
    .hc-room-card strong,
    .hc-mini-match strong{
        font-size:14px;
    }
    .hc-room-card small,
    .hc-mini-match small{
        color:var(--hc-muted);
        font-size:12px;
        font-weight:800;
    }
    .hc-room-card.active{
        border-color:rgba(244,45,79,.22);
        background:linear-gradient(135deg,#fff,#fff0f2);
    }
    .hc-conversion-card,
    .hc-human-card,
    .hc-mini-match{
        padding:14px;
        border:1px solid rgba(190,89,92,.12);
        border-radius:20px;
        background:#fff;
        box-shadow:0 10px 24px rgba(150,65,73,.08);
    }
    .hc-conversion-card p,
    .hc-human-card p{
        margin:8px 0 0;
        color:var(--hc-muted);
        line-height:1.55;
        font-size:14px;
    }
    .hc-human-card span{
        display:inline-flex;
        margin-bottom:10px;
        color:var(--hc-red);
        font-size:12px;
        font-weight:900;
        text-transform:uppercase;
    }
    .hc-mini-match{
        display:grid;
        grid-template-columns:54px 1fr;
        gap:10px;
        align-items:center;
    }
    .hc-mini-match img{
        width:54px;
        height:54px;
        border-radius:50%;
        object-fit:cover;
    }
    .hc-mini-match .hc-btn{
        grid-column:1/-1;
    }
    .hc-discovery-panel .hc-screen-title{
        display:block;
    }
    .hc-discovery-panel{
        padding:22px;
        border:1px solid rgba(255,255,255,.72);
        border-radius:28px;
        background:rgba(255,250,247,.78);
        box-shadow:0 18px 46px rgba(170,68,78,.12);
    }
    .hc-screen-title h1,
    .hc-page-head h1{
        font-size:44px;
    }
    .hc-search-bar{
        margin-top:16px;
        margin-bottom:0;
        border-radius:20px;
    }
    .hc-filter-row{
        padding:0;
    }
    .hc-filter-chip{
        border-radius:999px;
        font-size:13px;
    }
    .hc-profile-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:16px;
        margin-top:16px;
    }
    .hc-profile-card{
        overflow:hidden;
        border:1px solid rgba(255,255,255,.72);
        border-radius:24px;
        background:rgba(255,250,247,.88);
        box-shadow:0 16px 38px rgba(146,61,70,.13);
    }
    .hc-profile-photo{
        aspect-ratio:4/5;
        border-radius:22px 22px 0 0;
        box-shadow:none;
    }
    .hc-profile-meta{
        display:block;
        padding:12px 14px 0;
    }
    .hc-card-row{
        display:flex;
        padding:12px 14px 14px;
    }
    .hc-location-pin{
        left:12px;
        right:auto;
        top:12px;
    }
    .hc-card-online{
        top:12px;
        right:12px;
        bottom:auto;
    }
    .hc-feed-layout{
        max-width:900px;
    }
    .hc-chat-shell{
        display:grid;
        grid-template-columns:340px minmax(0,1fr);
        min-height:calc(100vh - 140px);
        overflow:hidden;
        border:1px solid rgba(255,255,255,.72);
        border-radius:30px;
        background:rgba(255,250,247,.72);
        box-shadow:0 18px 46px rgba(170,68,78,.12);
    }
    .hc-chat-list{
        display:block;
        border-right:1px solid var(--hc-line);
        border-bottom:0;
        background:rgba(255,255,255,.58);
    }
    .hc-chat-window{
        min-height:calc(100vh - 140px);
        border-radius:0;
        background:linear-gradient(180deg,rgba(255,248,246,.88),rgba(255,239,242,.72));
    }
    .hc-chat-title{
        padding:16px 18px;
        border-bottom:1px solid var(--hc-line);
        background:rgba(255,255,255,.72);
    }
    .hc-messages{
        padding:22px;
    }
    .hc-message-form{
        position:static;
        grid-template-columns:38px 38px 38px 1fr 52px;
        gap:8px;
        padding:12px;
        border:0;
        border-top:1px solid var(--hc-line);
        border-radius:0;
        background:rgba(255,255,255,.82);
        box-shadow:none;
    }
    .hc-chat-tool{
        width:38px;
        height:38px;
    }
    .hc-send-btn{
        width:52px;
        height:52px;
    }
    .hc-match-stage{
        display:grid;
        place-items:center;
        min-height:calc(100vh - 150px);
    }
    .hc-match-card{
        width:min(500px,100%);
        overflow:hidden;
        border:1px solid rgba(255,255,255,.72);
        border-radius:34px;
        background:rgba(255,250,247,.88);
        box-shadow:0 18px 46px rgba(170,68,78,.12);
    }
}

@media(min-width:1200px){
    .hc-profile-grid{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}
@media(max-width:430px){
    .hc-profile-photo-editor{
        grid-template-columns:1fr;
        justify-items:center;
        text-align:center;
    }
    .hc-remove-photo{
        margin-left:auto;
        margin-right:auto;
    }
    .hc-msg-row{
        max-width:92%;
    }
    .hc-msg-avatar{
        width:30px;
        height:30px;
    }
    .hc-msg-actions{
        opacity:1;
        transform:none;
    }
    body.hc-app-shell{
        padding-top:0;
        background:linear-gradient(135deg,#ffd9c2 0%,#ffe6e5 42%,#ffd6e5 100%);
    }
    .hc-app-shell .hc-topbar,
    .hc-app-shell .hc-main,
    .hc-app-shell .hc-bottom-nav{
        width:100%;
        max-width:100%;
    }
    .hc-app-shell .hc-topbar{
        border-radius:0;
        margin:0;
    }
    .hc-app-shell .hc-main{
        border-radius:0;
        min-height:calc(100vh - 128px);
    }
    .hc-bottom-nav{
        bottom:0;
        border-radius:24px 24px 0 0;
    }
}
.btn-chat-online{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:42px;
    padding:10px 16px;
    border:1px solid rgba(112,190,226,.44);
    border-radius:999px;
    color:#24526b !important;
    background:linear-gradient(135deg,#8edcff,#b6f0ff 58%,#f8fcff);
    font-weight:900;
    box-shadow:0 10px 24px rgba(83,169,210,.18);
}
.btn-chat-online .msn-status-dot{box-shadow:0 0 0 4px rgba(40,209,124,.14)}
.btn-chat-online:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(83,169,210,.23)}

.msn-status-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#28d17c;box-shadow:0 0 0 3px rgba(40,209,124,.16)}
.msn-online-pill{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:7px 11px;border:1px solid rgba(112,190,226,.28);border-radius:999px;background:rgba(255,255,255,.76);color:#2f6b87;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.msn-public-wrap,.msn-chat-shell{max-width:1060px;margin:6px auto 34px}
.msn-window{overflow:hidden;border:1px solid rgba(123,184,215,.38);border-radius:24px;background:linear-gradient(180deg,#f8fdff,#fff7fb);box-shadow:0 22px 58px rgba(91,148,184,.18)}
.msn-titlebar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;border-bottom:1px solid rgba(255,255,255,.76);background:linear-gradient(135deg,#7fd2ff 0%,#c2f2ff 48%,#ffd9ea 100%);color:#204b66}
.msn-title-left{display:flex;align-items:center;gap:11px;min-width:0}
.msn-title-left strong{display:block;font-size:17px;line-height:1.12;color:#173f58}
.msn-title-left span{display:block;color:#376b84;font-size:12px;font-weight:800}
.msn-app-orb{display:grid !important;place-items:center;width:42px;height:42px;border-radius:15px;background:rgba(255,255,255,.76);color:#2f89bd;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 8px 18px rgba(60,134,178,.16)}
.msn-window-controls{display:flex;gap:6px;flex:0 0 auto}
.msn-window-controls span{display:block;width:12px;height:12px;border-radius:50%;background:#fff;border:1px solid rgba(67,129,164,.22)}
.msn-window-controls span:nth-child(1){background:#c9f5ff}.msn-window-controls span:nth-child(2){background:#fff4ba}.msn-window-controls span:nth-child(3){background:#ffd3df}

.msn-room-hero{padding:26px 24px 18px;text-align:center;background:linear-gradient(180deg,rgba(255,255,255,.58),rgba(255,255,255,0))}
.msn-room-hero h1,.msn-chat-topic h1{margin:10px 0 6px;font-family:var(--hc-script);font-weight:400;line-height:1.08;color:#c94d76}
.msn-room-hero h1{font-size:48px}.msn-chat-topic h1{font-size:34px}
.msn-room-hero p{max-width:640px;margin:0 auto;color:#5d7180;line-height:1.62}
.msn-room-list{display:grid;gap:12px;padding:18px 20px 22px}
.msn-room-item{display:grid;grid-template-columns:58px 1fr;gap:13px;align-items:start;padding:14px;border:1px solid rgba(123,184,215,.24);border-radius:18px;background:rgba(255,255,255,.78);box-shadow:0 10px 24px rgba(91,148,184,.09)}
.msn-room-item:hover{border-color:rgba(96,178,220,.42);background:#fff;transform:translateY(-1px)}
.msn-contact-avatar{position:relative;display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#e4f7ff,#ffeaf2);border:1px solid rgba(123,184,215,.28);color:#2f89bd;font-size:22px}
.msn-contact-avatar .msn-status-dot{position:absolute;right:-2px;bottom:-2px;border:2px solid #fff}
.msn-contact-avatar.large{width:68px;height:68px;margin:0 auto 9px;border-radius:22px;font-size:27px}
.msn-contact-main{min-width:0}.msn-contact-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.msn-contact-head h2{margin:0;color:#31546a;font-size:21px;line-height:1.18}.msn-contact-head span{display:inline-flex;min-height:24px;align-items:center;padding:4px 9px;border-radius:999px;background:#edf9ff;color:#377895;font-size:11px;font-weight:900;text-transform:uppercase}
.msn-contact-main p{margin:0 0 10px;color:#718695;font-size:14px;font-weight:800}.msn-contact-main p strong{color:#2583ad}
.msn-room-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.msn-room-form input,.msn-compose input{min-width:0;width:100%;border:1px solid rgba(123,184,215,.36);border-radius:14px;background:#fff;color:#29485b;outline:none;padding:11px 12px}.msn-room-form input:focus,.msn-compose input:focus{border-color:#73c6ee;box-shadow:0 0 0 4px rgba(126,211,255,.17)}
.msn-chat-button,.msn-exit-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:14px;font-weight:900;cursor:pointer;white-space:nowrap}
.msn-chat-button{min-height:42px;padding:10px 15px;color:#1e536b;background:linear-gradient(135deg,#9fe4ff,#dff8ff);border:1px solid rgba(93,177,216,.35);box-shadow:0 8px 18px rgba(91,148,184,.12)}
.msn-chat-button:hover,.msn-exit-button:hover{transform:translateY(-1px)}
.msn-room-footer{padding:13px 20px;border-top:1px solid rgba(123,184,215,.2);background:rgba(255,255,255,.58);color:#6f7e8a;font-weight:800;text-align:center}.msn-room-footer i{color:#d65b84}

.msn-conversation-window{background:#f8fcff}.msn-chat-layout{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:650px}.msn-contact-panel{display:grid;align-content:start;gap:12px;padding:15px;border-right:1px solid rgba(123,184,215,.23);background:linear-gradient(180deg,#eefaff,#fff7fb)}
.msn-profile-card,.msn-online-card,.msn-room-note{border:1px solid rgba(123,184,215,.24);border-radius:18px;background:rgba(255,255,255,.78);box-shadow:0 10px 22px rgba(91,148,184,.08)}
.msn-profile-card{padding:16px;text-align:center}.msn-profile-card strong{display:block;color:#31546a;font-size:18px}.msn-profile-card p,.msn-room-note p{margin:5px 0 0;color:#718695;font-size:13px;line-height:1.5}.msn-online-card,.msn-room-note{padding:14px}.msn-online-card h2{margin:0 0 5px;color:#31546a;font-size:18px}.msn-online-card p{margin:0 0 10px;color:#718695;font-weight:800}.msn-online-card p strong{color:#2583ad}
.msn-participant-list{display:grid;gap:7px;max-height:260px;overflow:auto}.msn-participant-list span{display:flex;align-items:center;gap:7px;min-height:30px;padding:6px 8px;border-radius:12px;background:#f4fbff;color:#426174;font-size:13px;font-weight:800}.msn-participant-list i{font-size:8px;color:#28d17c}.msn-room-note strong{color:#c94d76}
.msn-chat-body{display:flex;flex-direction:column;min-width:0;background:linear-gradient(180deg,#ffffff,#f7fbff 54%,#fff7fb)}.msn-chat-topic{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid rgba(123,184,215,.22);background:rgba(255,255,255,.68)}
.msn-exit-button{min-height:40px;padding:9px 13px;color:#6b5260;background:#fff;border:1px solid rgba(203,139,166,.28);box-shadow:0 8px 16px rgba(158,112,136,.08)}
.msn-message-area{flex:1;display:flex;flex-direction:column;gap:10px;min-height:430px;max-height:560px;overflow:auto;padding:18px;background:linear-gradient(180deg,rgba(238,250,255,.7),rgba(255,247,251,.82))}
.msn-message{align-self:flex-start;max-width:78%;display:grid;gap:3px;padding:11px 13px;border:1px solid rgba(123,184,215,.22);border-radius:17px 17px 17px 5px;background:#fff;color:#314f61;box-shadow:0 8px 18px rgba(91,148,184,.08)}
.msn-message.me{align-self:flex-end;border-color:rgba(207,116,154,.24);border-radius:17px 17px 5px 17px;background:linear-gradient(180deg,#fff0f6,#ffe6f0)}.msn-message-name{color:#2d83ad;font-size:12px;font-weight:900}.msn-message.me .msn-message-name{color:#c94d76}.msn-message-text{line-height:1.5;word-break:break-word}.msn-message small{justify-self:end;color:#8aa0ad;font-size:11px}
.msn-empty-note{margin:auto;max-width:350px;padding:16px;border:1px dashed rgba(123,184,215,.36);border-radius:18px;background:rgba(255,255,255,.72);color:#718695;text-align:center;line-height:1.55}.msn-typing-row{display:flex;align-items:center;gap:7px;padding:8px 18px;color:#8aa0ad;font-size:12px;font-weight:800}.msn-typing-row span{width:7px;height:7px;border-radius:50%;background:#28d17c;box-shadow:12px 0 0 #9fe4ff,24px 0 0 #ffd3df}
.msn-compose{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;padding:13px;border-top:1px solid rgba(123,184,215,.22);background:rgba(255,255,255,.86)}.msn-emoticons{display:flex;gap:5px}.msn-emoticons span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#f2fbff;border:1px solid rgba(123,184,215,.22);font-size:15px}

@media(max-width:820px){.msn-public-wrap,.msn-chat-shell{margin-top:0}.msn-room-hero h1{font-size:40px}.msn-chat-layout{grid-template-columns:1fr}.msn-contact-panel{border-right:0;border-bottom:1px solid rgba(123,184,215,.23)}.msn-profile-card{display:none}.msn-participant-list{display:flex;overflow:auto;max-height:none}.msn-participant-list span{white-space:nowrap}.msn-chat-topic{align-items:flex-start;flex-direction:column}.msn-exit-button{width:100%}.msn-message-area{min-height:360px;max-height:calc(100vh - 420px)}}
@media(max-width:560px){.hc-public-nav{flex-wrap:wrap;justify-content:flex-end}.btn-chat-online{order:3;width:100%}.msn-titlebar{padding:11px 12px}.msn-window-controls{display:none}.msn-room-list{padding:14px 12px}.msn-room-item{grid-template-columns:46px 1fr;padding:12px}.msn-contact-avatar{width:44px;height:44px;border-radius:14px;font-size:18px}.msn-contact-head{display:block}.msn-contact-head h2{font-size:18px}.msn-contact-head span{margin-top:5px}.msn-room-form{grid-template-columns:1fr}.msn-chat-button{width:100%}.msn-compose{grid-template-columns:1fr}.msn-emoticons{justify-content:center}.msn-message{max-width:88%}}
.brand-wrap{
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    line-height:1;
}
.powered-buynnex{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    margin-top:3px;
    color:#55768a;
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    line-height:1.1;
    text-transform:uppercase;
    opacity:.88;
    white-space:nowrap;
}
.powered-buynnex-mark,
.footer-powered-mark{
    display:inline-block;
    width:7px;
    height:7px;
    border-radius:3px;
    background:linear-gradient(135deg,#6fc9e8,#ffd6e5);
    box-shadow:0 0 0 3px rgba(111,201,232,.12);
    transform:rotate(45deg);
}
.lf-footer{
    width:100%;
    margin-top:40px;
    padding:22px 16px;
    border-top:1px solid rgba(255,255,255,.82);
    background:rgba(255,255,255,.58);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}
.lf-footer-inner{
    width:min(1120px,calc(100% - 12px));
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    color:#8b6f76;
    font-size:13px;
    font-weight:800;
}
.footer-powered{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#55768a;
    font-weight:900;
    letter-spacing:.03em;
}
.hc-app-shell .lf-footer{
    width:min(414px,calc(100% - 22px));
    margin:12px auto 26px;
    border:1px solid rgba(255,255,255,.72);
    border-radius:22px;
    box-shadow:0 12px 30px rgba(167,55,73,.10);
}
.hc-app-shell .lf-footer-inner{
    width:100%;
    flex-direction:column;
    justify-content:center;
    text-align:center;
    gap:7px;
    font-size:12px;
}
.hc-app-shell .brand-wrap{
    gap:0;
}
.hc-app-shell .powered-buynnex{
    margin-top:1px;
    font-size:10px;
}
@media(min-width:860px){
    .hc-app-shell .lf-footer{
        width:min(1440px,calc(100% - 48px));
        max-width:1440px;
        margin-top:30px;
        border-radius:24px;
    }
    .hc-app-shell .lf-footer-inner{
        width:100%;
        flex-direction:row;
        justify-content:space-between;
        text-align:left;
        font-size:13px;
    }
}
@media(max-width:768px){
    .lf-footer-inner{
        flex-direction:column;
        justify-content:center;
        text-align:center;
    }
    .powered-buynnex{
        font-size:10px;
    }
}

/* Public chat mobile hardening: keep MSN layout usable from 320px to tablet. */
html,body{max-width:100%;overflow-x:hidden}
.msn-public-wrap,.msn-chat-shell,.msn-window,.msn-chat-layout,.msn-chat-body,.msn-contact-main{min-width:0}
.msn-public-wrap,.msn-chat-shell{width:min(1060px,calc(100% - 20px))}
.hc-top-actions .btn-chat-online{flex:0 0 auto}

@media(max-width:859px){
    .hc-app-shell .hc-topbar{min-height:136px}
    .hc-app-shell .hc-top-actions .btn-chat-online{
        position:absolute;
        left:16px;
        bottom:16px;
        min-height:40px;
        max-width:150px;
        padding:8px 12px;
        font-size:12px;
        box-shadow:0 8px 18px rgba(83,169,210,.16);
    }
    .hc-app-shell .hc-top-actions .btn-chat-online .hc-nav-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .hc-app-shell .hc-top-actions .btn-chat-online i{font-size:13px}
    .hc-app-shell .hc-logout{right:16px}
    .hc-app-shell .msn-public-wrap,
    .hc-app-shell .msn-chat-shell{width:100%;margin:0 auto 18px}
}

@media(max-width:768px){
    .hc-public-shell .hc-topbar{
        width:calc(100% - 12px);
        min-height:0;
        padding:8px 10px;
        flex-wrap:wrap;
        align-items:center;
    }
    .hc-public-shell .brand-wrap{align-items:flex-start;min-width:118px}
    .hc-public-shell .hc-logo-img{width:142px;height:auto}
    .hc-public-shell .powered-buynnex{font-size:9px;letter-spacing:.06em}
    .hc-public-shell .hc-top-actions{flex:1;min-width:0;justify-content:flex-end}
    .hc-public-nav{justify-content:flex-end;gap:6px;flex-wrap:wrap}
    .hc-public-nav a{min-height:36px;padding:8px 10px;font-size:12px}
    .btn-chat-online{min-height:36px;padding:8px 11px;font-size:12px;border-radius:999px;white-space:nowrap}
    .btn-chat-online .msn-status-dot{width:7px;height:7px}

    .msn-public-wrap,.msn-chat-shell{width:calc(100% - 10px);max-width:100%;margin:6px auto 18px}
    .msn-window{width:100%;max-width:100%;border-radius:18px;overflow:hidden}
    .msn-titlebar{padding:10px 12px;gap:8px;align-items:center}
    .msn-title-left{gap:8px;min-width:0;flex:1}
    .msn-title-left strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}
    .msn-title-left span{font-size:11px;line-height:1.25}
    .msn-app-orb{width:36px;height:36px;border-radius:13px;font-size:15px;flex:0 0 auto}
    .msn-window-controls{display:none}

    .msn-room-hero{padding:18px 14px 12px}
    .msn-room-hero h1{font-size:34px;margin-top:8px}
    .msn-room-hero p{font-size:14px;line-height:1.5}
    .msn-room-list{padding:12px;gap:10px}
    .msn-room-item{grid-template-columns:44px minmax(0,1fr);gap:10px;padding:10px;border-radius:16px}
    .msn-contact-avatar{width:42px;height:42px;border-radius:14px;font-size:17px}
    .msn-contact-head{display:block;margin-bottom:5px}
    .msn-contact-head h2{font-size:17px;white-space:normal;word-break:break-word}
    .msn-contact-head span{margin-top:5px;min-height:22px;font-size:10px}
    .msn-contact-main p{font-size:12px;line-height:1.35;margin-bottom:8px}
    .msn-room-form{grid-template-columns:1fr;gap:7px}
    .msn-room-form input{min-height:40px;padding:10px 11px;font-size:14px}
    .msn-chat-button{width:100%;min-height:40px;padding:9px 12px;font-size:13px;border-radius:13px}
    .msn-room-footer{padding:11px 14px;font-size:12px;line-height:1.45}

    .msn-chat-layout{display:block;min-height:0}
    .msn-contact-panel{display:block;padding:10px;border-right:0;border-bottom:1px solid rgba(123,184,215,.23)}
    .msn-profile-card,.msn-room-note{display:none}
    .msn-online-card{padding:10px;border-radius:16px;box-shadow:none;background:rgba(255,255,255,.68)}
    .msn-online-card h2{display:none}
    .msn-online-card p{margin:0 0 8px;font-size:12px}
    .msn-participant-list{display:flex;gap:7px;max-height:none;overflow-x:auto;overflow-y:hidden;padding-bottom:2px;-webkit-overflow-scrolling:touch}
    .msn-participant-list span{flex:0 0 auto;min-height:28px;white-space:nowrap;font-size:12px;padding:5px 8px}

    .msn-chat-body{min-height:0;height:auto;overflow:visible}
    .msn-chat-topic{padding:11px 12px;gap:8px;display:grid;grid-template-columns:1fr;align-items:start}
    .msn-chat-topic h1{font-size:27px;margin:7px 0 0}
    .msn-online-pill{min-height:26px;padding:6px 9px;font-size:10px}
    .msn-exit-button{width:100%;min-height:38px;padding:8px 11px;font-size:12px;border-radius:13px}
    .msn-message-area{
        min-height:300px;
        height:calc(100vh - 365px);
        max-height:520px;
        overflow-y:auto;
        -webkit-overflow-scrolling:touch;
        padding:12px;
        gap:8px;
    }
    .msn-message{max-width:88%;padding:10px 11px;border-radius:15px 15px 15px 5px;font-size:14px}
    .msn-message.me{border-radius:15px 15px 5px 15px}
    .msn-message-name{font-size:11px}
    .msn-message small{font-size:10px}
    .msn-typing-row{padding:6px 12px;font-size:11px}
    .msn-compose{display:flex;flex-direction:column;gap:8px;padding:10px;position:relative;z-index:2}
    .msn-emoticons{justify-content:center;gap:6px}
    .msn-emoticons span{width:28px;height:28px;border-radius:9px;font-size:13px}
    .msn-compose input{width:100%;min-height:44px;font-size:15px;padding:11px 12px;border-radius:14px}
    .msn-compose .msn-chat-button{width:100%;min-height:42px}
}

@media(max-width:430px){
    .hc-public-shell .hc-topbar{display:grid;grid-template-columns:1fr;justify-items:center;gap:8px}
    .hc-public-shell .brand-wrap{align-items:center}
    .hc-public-shell .hc-top-actions{width:100%;justify-content:center}
    .hc-public-nav{width:100%;justify-content:center}
    .hc-public-nav a{flex:0 1 auto}
    .btn-chat-online{padding:8px 10px;font-size:12px;max-width:150px}
    .hc-app-shell .hc-top-actions .btn-chat-online{left:12px;bottom:14px;max-width:122px;padding:8px 9px}
    .hc-app-shell .hc-top-actions .btn-chat-online .hc-nav-label{max-width:62px}
    .msn-public-wrap,.msn-chat-shell{width:calc(100% - 6px);margin-top:3px}
    .msn-window{border-radius:15px}
    .msn-titlebar{padding:9px 10px}
    .msn-title-left strong{font-size:14px;max-width:160px}
    .msn-title-left span{font-size:10px}
    .msn-room-hero h1{font-size:30px}
    .msn-room-hero p{font-size:13px}
    .msn-room-item{grid-template-columns:38px minmax(0,1fr);gap:8px;padding:9px}
    .msn-contact-avatar{width:36px;height:36px;border-radius:12px;font-size:15px}
    .msn-contact-head h2{font-size:15px}
    .msn-contact-main p{font-size:11px}
    .msn-message-area{height:calc(100vh - 342px);min-height:280px;padding:10px}
    .msn-message{max-width:92%;font-size:13px;padding:9px 10px}
    .msn-chat-topic h1{font-size:24px}
    .msn-compose{padding:9px}
}

@media(max-width:360px){
    .btn-chat-online{padding:7px 9px;font-size:11px}
    .btn-chat-online i{font-size:12px}
    .hc-public-nav a{padding:7px 9px;font-size:11px}
    .msn-app-orb{width:32px;height:32px;border-radius:11px}
    .msn-title-left strong{font-size:13px;max-width:135px}
    .msn-room-list{padding:9px}
    .msn-room-item{grid-template-columns:1fr;text-align:left}
    .msn-contact-avatar{margin-bottom:2px}
    .msn-message-area{height:calc(100vh - 330px);min-height:260px}
    .msn-compose .msn-chat-button{min-height:40px}
}

/* Chat message ownership controls and profile photo polish. Kept at the end to win over legacy responsive rules. */
.hc-msg-row .hc-msg{max-width:none}
.hc-msg-row.mine .hc-msg{
    border-radius:20px 20px 6px 20px;
    background:#ffd1dc;
    border-color:rgba(244,45,79,.16);
}
.hc-msg-row.mine .hc-msg-name{display:none}
.hc-msg-row.deleted .hc-msg{
    border-style:dashed;
    background:#fff8f8;
    color:var(--hc-muted);
    box-shadow:none;
}
@media(max-width:680px){
    .hc-msg-row{max-width:92%}
    .hc-msg-avatar{width:30px;height:30px}
    .hc-msg-actions{opacity:1;transform:none}
    .hc-profile-photo-editor{
        grid-template-columns:1fr;
        justify-items:center;
        text-align:center;
    }
}
