/* KOK MUNGCHI SOCIAL / COACH / MY / COMMUNITY */
.social-page{background:#f6f8fc;min-height:calc(100vh - 78px);padding:32px 0 100px;color:#071E3D}.social-shell{width:min(1160px,calc(100% - 40px));margin:0 auto}.social-page-head.compact{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:4px 0 22px}.social-page-head h1{margin:0;font-size:30px;letter-spacing:-.045em}.social-page-head p{margin:7px 0 0;color:#718391;font-size:14px}.social-head-actions{display:flex;align-items:center;gap:8px}.social-btn{border:0;border-radius:11px;min-height:42px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:14px;font-weight:850;cursor:pointer;text-decoration:none;box-sizing:border-box}.social-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}.social-btn.primary{background:#0b50cc;color:#fff}.social-btn.ghost{background:#fff;border:1px solid #d9dfec;color:#365263}.social-btn.soft{background:#eef2fb;color:#0b50cc}.social-btn.danger{background:#FFF0F0;color:#C74343}.social-btn.wide{width:100%;margin-top:14px}.social-btn.tiny{min-height:32px;padding:0 10px;font-size:12px;border-radius:8px}.social-card,.social-form-card,.social-empty-card{background:#fff;border:1px solid #E2EBF0;border-radius:20px;box-shadow:0 10px 28px rgba(7,30,61,.05)}.social-card{padding:22px}.social-form-card{padding:24px}.social-empty-card{padding:50px 24px;text-align:center}.social-empty-card b{font-size:18px}.social-empty-card p,.social-empty{color:#81919D;font-size:14px}.social-empty{padding:30px 10px;text-align:center}.social-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:17px}.social-card-head span{font-size:12px;letter-spacing:.12em;color:#0b50cc;font-weight:900}.social-card-head h2{font-size:20px;margin:4px 0 0}.social-card-head>a{font-size:12px;color:#718694}.social-flash{padding:13px 15px;margin-bottom:16px;border-radius:12px;background:#E7F8F1;color:#167B5A;font-size:14px;font-weight:750}.social-flash.error{background:#FFF0F0;color:#B44646}.social-back{display:inline-block;margin:0 0 15px;color:#657B88;font-size:14px}.social-filter-bar{display:grid;grid-template-columns:1fr 220px 80px;gap:8px;background:#fff;border:1px solid #E2EBF0;border-radius:16px;padding:12px;margin-bottom:18px}.social-filter-bar.community-filter{grid-template-columns:1fr 80px}.social-filter-bar input,.social-form-card input,.social-form-card select,.social-form-card textarea,.coach-review-list input{width:100%;border:1px solid #dce1ed;border-radius:10px;background:#fff;padding:0 12px;font:inherit;color:#18384B;box-sizing:border-box}.social-filter-bar input{height:40px}.social-filter-bar button{border:0;border-radius:10px;background:#071E3D;color:#fff;font-weight:850}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{display:flex;flex-direction:column;gap:7px;color:#5F7481;font-size:12px;font-weight:800}.form-grid .wide{grid-column:1/-1}.social-form-card input,.social-form-card select{height:44px}.social-form-card textarea{padding:12px;resize:vertical;line-height:1.6}.preline{white-space:pre-line;color:#536A77;line-height:1.75;font-size:14px}
.global-chat-fab{position:fixed;right:24px;bottom:24px;z-index:900;display:flex;align-items:center;gap:7px;height:46px;padding:0 16px;border-radius:999px;background:#071E3D;color:#fff;box-shadow:0 10px 28px rgba(7,30,61,.23);text-decoration:none;font-size:12px;font-weight:900}.global-chat-fab span{display:flex}.global-chat-fab svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
/* MY */
.my-profile-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px 28px;background:linear-gradient(135deg,#071E3D,#0B315D);border-radius:24px;color:#fff;margin-bottom:16px;overflow:hidden}.my-profile-main{display:flex;align-items:center;gap:18px}.my-profile-main img{width:78px;height:78px;border-radius:24px;object-fit:cover;background:#fff}.my-profile-main span{font-size:12px;letter-spacing:.16em;color:#0b50cc;font-weight:900}.my-profile-main h1{font-size:27px;margin:4px 0}.my-profile-main p{margin:0;color:#bcc6de;font-size:14px}.my-profile-actions{display:flex;gap:8px}.my-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.my-stat-grid article{background:#fff;border:1px solid #E2EBF0;border-radius:18px;padding:18px}.my-stat-grid span{font-size:12px;color:#77909F;font-weight:800}.my-stat-grid b{display:block;margin:8px 0 5px;font-size:25px}.my-stat-grid b small{font-size:12px;margin-left:3px;color:#59717F}.my-stat-grid em{font-style:normal;font-size:12px;color:#9AA9B3}.my-main-grid{display:grid;grid-template-columns:1.5fr .9fr;gap:16px;margin-bottom:16px}.my-main-grid.second{grid-template-columns:1fr 1fr}.my-match-list,.my-club-list,.my-post-list{display:flex;flex-direction:column}.my-match-row{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-top:1px solid #EEF3F6}.my-match-row:first-child{border-top:0}.match-result{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900}.match-result.win{background:#e8edfa;color:#0b50cc}.match-result.loss{background:#F2F4F6;color:#7E8D98}.my-match-row b{font-size:14px}.my-match-row small{display:block;margin-top:3px;font-size:12px;color:#8A9AA5}.my-match-row strong{font-size:16px}.coach-status-card h3{font-size:16px;margin:14px 0 8px}.coach-status-card p{font-size:12px;color:#718591;line-height:1.6}.coach-status-visual{font-size:38px}.status-chip{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:12px;font-weight:900}.status-chip.pending{background:#FFF6D9;color:#A77700}.status-chip.approved{background:#E4F8EF;color:#168361}.status-chip.rejected,.status-chip.suspended{background:#FFF0F0;color:#B84C4C}.my-club-list a,.my-post-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid #EEF3F6;text-decoration:none;color:#17384A}.my-club-list a:first-child,.my-post-list a:first-child{border-top:0}.my-club-list b,.my-post-list b{font-size:14px}.my-club-list small,.my-post-list small{display:block;font-size:12px;color:#91A0AA;margin-top:3px}.my-post-list>a>span{min-width:62px;color:#0b50cc;font-size:12px;font-weight:900}.my-post-list>a>div{flex:1}
/* COACH */
.coach-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.coach-card{background:#fff;border:1px solid #E2EBF0;border-radius:20px;overflow:hidden;color:#17384A;text-decoration:none;box-shadow:0 8px 22px rgba(7,30,61,.04)}.coach-card>img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#eef1f7}.coach-card>div{padding:17px}.verified-chip{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eaeffa;color:#083da3;font-size:12px;font-weight:900}.coach-card h2{font-size:18px;margin:9px 0 5px}.coach-card p{font-size:12px;color:#58717F;margin:0 0 7px}.coach-card small{font-size:12px;color:#91A0AA}.coach-tags{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.coach-tags em{font-style:normal;background:#f2f4fa;color:#637B88;border-radius:7px;padding:5px 7px;font-size:12px}.coach-card footer{display:flex;justify-content:space-between;border-top:1px solid #EFF3F6;padding-top:11px;margin-top:10px;font-size:12px;color:#8497A2}.coach-card footer b{color:#0b50cc}.coach-approval-status{display:flex;align-items:center;gap:10px;padding:13px 16px;border-radius:12px;margin-bottom:14px;background:#f1f3f9;font-size:12px}.coach-detail-card{display:grid;grid-template-columns:180px 1fr;gap:24px;background:#fff;border:1px solid #E2EBF0;border-radius:22px;padding:24px;margin-bottom:16px}.coach-detail-card>img{width:180px;height:180px;border-radius:20px;object-fit:cover}.coach-detail-card h1{font-size:28px;margin:9px 0 6px}.coach-detail-card .headline{color:#4E6978;font-size:14px}.coach-detail-card small{color:#889AA5}.coach-detail-actions{display:flex;gap:8px;margin-top:20px}.coach-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.coach-info{margin:0}.coach-info>div{display:grid;grid-template-columns:90px 1fr;gap:10px;padding:9px 0;border-top:1px solid #EFF3F6}.coach-info>div:first-child{border-top:0}.coach-info dt{font-size:12px;color:#8B9BA5}.coach-info dd{margin:0;font-size:12px;color:#3F5867}.social-modal-card{position:fixed;z-index:1200;left:50%;top:50%;transform:translate(-50%,-50%);width:min(460px,calc(100% - 32px));background:#fff;border:1px solid #DBE6EC;border-radius:20px;padding:22px;box-shadow:0 25px 70px rgba(7,30,61,.28)}.social-modal-card textarea{width:100%;box-sizing:border-box;border:1px solid #dce1ed;border-radius:10px;padding:12px;margin:10px 0}.social-modal-card>div{display:flex;justify-content:flex-end;gap:8px}.coach-manage-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.coach-manage-stats article{background:#071E3D;color:#fff;border-radius:16px;padding:17px}.coach-manage-stats span{font-size:12px;color:#afbbd6}.coach-manage-stats b{display:block;font-size:20px;margin-top:7px}.coach-student-list article{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;padding:13px 0;border-top:1px solid #EEF3F6}.coach-student-list article:first-child{border-top:0}.coach-student-list img{width:48px;height:48px;border-radius:15px;object-fit:cover}.coach-student-list b{font-size:14px}.coach-student-list small{display:block;font-size:12px;color:#8E9DA7;margin-top:3px}.coach-student-list p{font-size:12px;color:#657D8A;margin:5px 0 0}.student-actions,.student-actions form{display:flex;gap:6px}.coach-review-list{display:grid;gap:12px}.coach-review-list article header{display:flex;justify-content:space-between}.coach-review-list article p{font-size:12px;color:#536B78;line-height:1.6}.coach-review-list form{display:grid;grid-template-columns:1fr auto auto;gap:7px;margin-top:12px}.coach-review-list input{height:38px}
/* COMMUNITY */
.community-category-tabs{display:flex;gap:7px;overflow:auto;padding-bottom:2px;margin-bottom:12px}.community-category-tabs a{flex:0 0 auto;padding:9px 13px;border:1px solid #DBE6EC;border-radius:10px;background:#fff;color:#5F7683;font-size:12px;font-weight:850;text-decoration:none}.community-category-tabs a.active{background:#071E3D;border-color:#071E3D;color:#fff}.community-post-list{background:#fff;border:1px solid #E2EBF0;border-radius:18px;overflow:hidden}.community-post-list>a{display:grid;grid-template-columns:82px 1fr auto;gap:14px;align-items:center;padding:16px 18px;border-top:1px solid #edf0f6;color:#18394A;text-decoration:none}.community-post-list>a:first-child{border-top:0}.community-type{display:inline-flex;justify-content:center;padding:6px 8px;border-radius:999px;background:#edf0f8;color:#57717F;font-size:12px;font-weight:900}.community-type.type-news{background:#ebf0fb;color:#0b50cc}.community-type.type-club_promo{background:#edf1fb;color:#083da3}.community-type.type-guest{background:#E6F8EE;color:#188059}.community-type.type-partner{background:#FFF2DE;color:#A56808}.community-type.type-general{background:#F1F1F6;color:#626279}.community-post-main h2{font-size:16px;margin:0 0 5px}.community-post-main p{font-size:12px;color:#6B818D;margin:0 0 5px}.community-post-main small,.community-post-meta{font-size:12px;color:#98A6AE}.community-post-meta{display:flex;gap:9px}.community-detail{padding:28px}.community-detail header h1{font-size:27px;margin:12px 0 16px}.community-author{display:flex;align-items:center;gap:9px}.community-author img{width:38px;height:38px;border-radius:12px;object-fit:cover}.community-author b{font-size:12px}.community-author small{display:block;font-size:12px;color:#91A1AA;margin-top:3px}.community-info-strip{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0 0;padding:12px;background:#f5f7fc;border-radius:12px}.community-info-strip span{font-size:12px;color:#526C7A}.community-content{min-height:180px;padding:28px 0;font-size:14px;line-height:1.85;color:#314F5F}.community-owner-actions{display:flex;justify-content:flex-end;gap:6px;border-top:1px solid #EEF3F6;padding-top:14px}.community-comments{margin-top:14px}.comment-list>div{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:12px 0;border-top:1px solid #EEF3F6}.comment-list img{width:38px;height:38px;border-radius:12px;object-fit:cover}.comment-list b{font-size:12px}.comment-list p{font-size:12px;color:#526B78;margin:5px 0}.comment-list small{font-size:12px;color:#9AA8B0}.comment-form{display:grid;grid-template-columns:1fr 68px;gap:7px;margin-top:12px}.comment-form input{height:40px;border:1px solid #dce1ed;border-radius:10px;padding:0 12px}.comment-form button{border:0;border-radius:10px;background:#0b50cc;color:#fff;font-weight:850}
/* CHAT */
.chat-shell{width:min(1120px,calc(100% - 34px));margin:0 auto}.chat-layout{display:grid;grid-template-columns:300px 1fr;height:calc(100vh - 145px);min-height:570px;background:#fff;border:1px solid #DFE9EE;border-radius:22px;overflow:hidden;box-shadow:0 12px 36px rgba(7,30,61,.06)}.chat-room-list{border-right:1px solid #E7EEF2;overflow:auto}.chat-room-list>header{padding:20px;border-bottom:1px solid #EDF2F5}.chat-room-list h1{font-size:22px;margin:0}.chat-room-list header small{font-size:12px;color:#95A4AC}.chat-room-list>a{display:grid;grid-template-columns:40px 1fr;gap:10px;padding:12px 15px;text-decoration:none;color:#274656;border-bottom:1px solid #F0F4F6}.chat-room-list>a.active{background:#eef2fb}.chat-room-icon{width:40px;height:40px;border-radius:13px;background:#eef2fa;display:flex;align-items:center;justify-content:center}.chat-room-icon svg{width:18px;height:18px;fill:none;stroke:#0b50cc;stroke-width:1.7}.chat-room-list b{font-size:12px}.chat-room-list small{display:block;margin-top:4px;color:#899AA4;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chat-room-panel{display:flex;flex-direction:column;min-width:0}.chat-welcome{margin:auto;text-align:center;color:#7B8F9A}.chat-welcome svg{width:42px;height:42px;fill:none;stroke:#0b50cc;stroke-width:1.4}.chat-welcome h2{color:#18394A}.chat-welcome p{font-size:12px}.chat-room-head{height:66px;padding:0 18px;border-bottom:1px solid #EAF0F3;display:flex;align-items:center}.chat-room-head b{font-size:16px}.chat-room-head small{display:block;font-size:12px;color:#91A0A9;margin-top:3px}.chat-messages{flex:1;overflow:auto;padding:18px;background:#f8fafd}.chat-message{max-width:66%;margin-bottom:10px}.chat-message b{font-size:12px;margin-left:4px;color:#607683}.chat-message p{display:inline-block;margin:4px 0 2px;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #e4e8f2;font-size:12px;line-height:1.5}.chat-message small{display:block;font-size:12px;color:#9BA8AF}.chat-message.mine{margin-left:auto;text-align:right}.chat-message.mine p{background:#0b50cc;border-color:#0b50cc;color:#fff}.chat-send-form{display:grid;grid-template-columns:1fr 70px;gap:7px;padding:12px;border-top:1px solid #E7EEF2}.chat-send-form input{height:42px;border:1px solid #dce1ed;border-radius:12px;padding:0 13px}.chat-send-form button{border:0;border-radius:11px;background:#071E3D;color:#fff;font-weight:850}
/* CLUB COACH */
.club-affiliated-coaches{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.club-affiliated-coach{display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:10px;padding:11px;background:#f7f9fd;border:1px solid #e7ebf3;border-radius:14px}.club-affiliated-coach img{width:50px;height:50px;border-radius:15px;object-fit:cover}.club-affiliated-coach b{font-size:12px}.club-affiliated-coach small{display:block;font-size:12px;color:#8B9CA5;margin-top:3px}.club-affiliated-coach a{font-size:12px;color:#0b50cc}.club-coach-manage-list{display:grid;gap:10px}.club-coach-manage-list article{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;padding:11px;border:1px solid #E6EEF2;border-radius:14px}.club-coach-manage-list img{width:48px;height:48px;border-radius:14px;object-fit:cover}
@media(max-width:900px){.my-stat-grid{grid-template-columns:repeat(2,1fr)}.my-main-grid,.my-main-grid.second,.coach-detail-grid{grid-template-columns:1fr}.coach-card-grid{grid-template-columns:repeat(2,1fr)}.chat-layout{grid-template-columns:240px 1fr}.club-affiliated-coaches{grid-template-columns:1fr}}
@media(max-width:760px){.social-page{padding:18px 0 92px}.social-shell{width:min(100% - 22px,1160px)}.social-page-head.compact{align-items:flex-start;flex-direction:column;margin-bottom:14px}.social-page-head h1{font-size:24px}.social-head-actions{width:100%}.social-head-actions .social-btn{flex:1}.my-profile-hero{padding:18px;align-items:flex-start;flex-direction:column}.my-profile-main img{width:62px;height:62px;border-radius:18px}.my-profile-main h1{font-size:22px}.my-profile-actions{width:100%}.my-profile-actions .social-btn{flex:1}.my-stat-grid{gap:8px}.my-stat-grid article{padding:14px}.my-stat-grid b{font-size:21px}.coach-card-grid{grid-template-columns:1fr}.social-filter-bar,.social-filter-bar.community-filter{grid-template-columns:1fr 72px}.social-filter-bar input:nth-of-type(2){grid-column:1/-1}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.coach-detail-card{grid-template-columns:86px 1fr;padding:16px;gap:14px}.coach-detail-card>img{width:86px;height:86px;border-radius:16px}.coach-detail-card h1{font-size:21px}.coach-detail-actions{grid-column:1/-1;flex-wrap:wrap}.coach-manage-stats{grid-template-columns:1fr 1fr 1fr;gap:7px}.coach-manage-stats article{padding:12px}.coach-manage-stats b{font-size:16px}.coach-student-list article{grid-template-columns:44px 1fr}.student-actions{grid-column:1/-1}.community-post-list>a{grid-template-columns:65px 1fr;padding:13px}.community-post-meta{grid-column:2}.community-detail{padding:18px}.community-detail header h1{font-size:22px}.chat-shell{width:100%;padding:0 10px}.chat-layout{grid-template-columns:1fr;height:calc(100vh - 132px);border-radius:16px}.chat-room-list{display:none}.chat-room-panel{height:100%}.chat-message{max-width:82%}.global-chat-fab{right:14px;bottom:calc(82px + env(safe-area-inset-bottom,0px));height:42px;padding:0 13px}.global-chat-fab b{font-size:12px}}
/* LIST TOOLBAR: coach / community */
.social-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.social-list-toolbar .social-filter-bar{flex:1;margin-bottom:0}.social-list-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}.community-list-toolbar{align-items:flex-start}.community-list-toolbar .community-category-tabs{flex:1;min-width:0;margin-bottom:0}.community-list-toolbar+.social-filter-bar{margin-top:0}
@media(max-width:767px){.social-list-toolbar{align-items:stretch;flex-direction:column}.social-list-actions{order:-1;width:100%}.social-list-actions .social-btn{flex:1}.coach-list-toolbar .social-filter-bar{width:100%}.community-list-toolbar .community-category-tabs{width:100%}.social-filter-bar{grid-template-columns:minmax(0,1fr) 92px}.coach-list-toolbar .social-filter-bar{grid-template-columns:minmax(0,1fr) minmax(110px,.65fr) 68px}}


/* MY 프로필 편집 (카카오 이미지 대신 사용자 사진/기본 이미지 선택) */
.my-profile-edit-dialog{width:min(650px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid #dbe2f2;border-radius:24px;box-shadow:0 26px 80px rgba(7,30,61,.28);color:#071e3d;overflow:auto}
.my-profile-edit-dialog::backdrop{background:rgba(4,20,40,.68);backdrop-filter:blur(5px)}
.my-profile-edit-form{padding:26px}
.my-profile-edit-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.my-profile-edit-header span{font-size:12px;letter-spacing:.14em;color:#0b50cc;font-weight:900}
.my-profile-edit-header h2{font-size:25px;letter-spacing:-.04em;margin:7px 0}
.my-profile-edit-header p{font-size:14px;line-height:1.65;color:#718391;margin:0}
.my-profile-edit-close{height:34px;width:34px;flex:0 0 34px;border:0;border-radius:10px;background:#f0f3fa;color:#435d70;font-size:25px;line-height:1;cursor:pointer}
.my-profile-edit-body{display:grid;grid-template-columns:138px minmax(0,1fr);gap:25px;margin-top:25px}
.my-profile-edit-preview{display:flex;align-items:center;flex-direction:column;gap:9px;padding-top:8px}
.my-profile-edit-preview img{width:132px;height:132px;object-fit:cover;border-radius:25px;border:3px solid #fff;box-shadow:0 8px 24px rgba(7,30,61,.12);background:#eef2fb}
.my-profile-edit-preview>span{font-size:12px;color:#8b9ba7}
.my-profile-edit-fields{min-width:0}
.my-profile-edit-name{display:flex;flex-direction:column;gap:8px}
.my-profile-edit-name>span,.my-profile-edit-image-options legend{font-size:14px;color:#314c60;font-weight:850}
.my-profile-edit-name input{width:100%;height:45px;border:1px solid #dce2ef;border-radius:11px;padding:0 13px;box-sizing:border-box;font:inherit;font-size:14px}
.my-profile-edit-name small,.my-profile-edit-image-options>small{color:#8497a5;font-size:12px;line-height:1.5}
.my-profile-edit-image-options{display:flex;flex-direction:column;gap:11px;margin:20px 0 0;padding:0;border:0;min-width:0}
.my-profile-edit-image-options legend{padding:0;margin-bottom:11px}
.my-profile-edit-image-options label{display:flex;gap:9px;align-items:center;font-size:14px;color:#37546a;cursor:pointer}
.my-profile-edit-image-options input[type=radio]{width:16px;height:16px;margin:0;accent-color:#0b50cc}
.my-profile-edit-image-options input[type=file]{max-width:100%;font-size:12px;padding:10px;border:1px dashed #b9c7e9;border-radius:10px;background:#f7f9fd;box-sizing:border-box}
.my-profile-edit-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:25px;padding-top:19px;border-top:1px solid #edf2f5}
.my-profile-edit-footer .social-btn.ghost{color:#354569;background:#f7f9fc}
@media(max-width:760px){.my-profile-actions{flex-wrap:wrap}.my-profile-actions .social-btn{flex:1 1 auto}.my-profile-edit-form{padding:20px}.my-profile-edit-body{grid-template-columns:1fr;gap:10px}.my-profile-edit-preview{padding:0}.my-profile-edit-preview img{width:100px;height:100px;border-radius:22px}.my-profile-edit-dialog{border-radius:18px}.my-profile-edit-header h2{font-size:22px}}

/* =============================================================
   UNIFIED MESSENGER — one inbox for direct, club and guest chat
   These styles are deliberately scoped to avoid altering MY/CLUB.
   ============================================================= */
.unified-chat-page{min-height:calc(100vh - 80px);padding:28px 0 94px;background:linear-gradient(145deg,#eef2fb 0%,#f9fbfe 54%,#f2f5fc 100%)}
.unified-shell{width:min(1220px,calc(100% - 44px));margin:0 auto}
.unified-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 2px 22px}
.unified-eyebrow{display:block;font-size:12px;font-weight:900;letter-spacing:.18em;color:#0b50cc;margin-bottom:6px}
.unified-page-head h1{font-size:34px;letter-spacing:-.06em;margin:0;display:flex;align-items:center;gap:10px}
.unified-page-head h1 .unified-count{padding:4px 9px;border-radius:99px;background:#e5ebf9;color:#0b50cc;font-size:14px;letter-spacing:0}
.unified-page-head p{margin:7px 0 0;color:#70869a;font-size:14px}
.unified-my-link{background:#fff;border:1px solid #dce2f0;padding:10px 17px;border-radius:13px;font-size:14px;font-weight:900;color:#193e5e;box-shadow:0 5px 18px rgba(7,30,61,.05)}
.unified-my-link span{color:#0b50cc;margin-left:6px}
.unified-tabs{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:0 0 15px;scrollbar-width:none}
.unified-tabs::-webkit-scrollbar{display:none}
.unified-tabs a{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;border-radius:13px;padding:11px 18px;background:#fff;border:1px solid #dfe5f2;color:#49667c;font-weight:850;font-size:14px;box-shadow:0 4px 14px rgba(9,49,77,.035)}
.unified-tabs a.on{color:#fff;background:#082e55;border-color:#082e55;box-shadow:0 10px 24px rgba(7,38,74,.17)}
.unified-tabs small{background:rgba(255,255,255,.16);border-radius:99px;padding:2px 7px;font-size:12px}
.unified-layout{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);height:min(790px,calc(100dvh - 235px));min-height:530px;border:1px solid #dce1ee;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 22px 65px rgba(9,50,80,.09)}
.unified-layout [hidden]{display:none!important}
.unified-sidebar{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fdfdfe;border-right:1px solid #e4e9f3}
.unified-search{height:52px;display:flex;align-items:center;gap:10px;background:#f1f3f9;border:1px solid #e5e9f3;margin:18px 16px 12px;border-radius:13px;padding:0 14px}
.unified-search span{font-size:25px;line-height:1;color:#7a9aaf}
.unified-search input{width:100%;border:0;outline:none;background:transparent;font:inherit;font-size:14px;color:#143951}
.unified-search input::placeholder{color:#9baebb}
.unified-sidebar-title{display:flex;justify-content:space-between;align-items:center;padding:8px 18px 11px}
.unified-sidebar-title b{font-size:14px;color:#153e5a}
.unified-sidebar-title small{font-size:12px;color:#a1afba}
.unified-thread-list{overflow-y:auto;flex:1;scrollbar-color:#dce3f3 transparent;scrollbar-width:thin}
.unified-thread{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:11px;padding:13px 15px;border-left:3px solid transparent;border-bottom:1px solid #eef2f6;color:#15384f;transition:background .18s}
.unified-thread:hover{background:#f7f9fd}
.unified-thread.active{background:linear-gradient(90deg,#eaeffb,#f6f8fd);border-left-color:#0b50cc}
.unified-thread>img,.unified-thread-avatar{width:48px;height:48px;border-radius:16px;object-fit:cover;background:#eef2fb;display:grid;place-items:center;flex:0 0 auto}
.unified-thread-avatar{color:#0b50cc;font-size:23px;font-weight:900;background:linear-gradient(145deg,#e5ebfa,#d3def6)}
.unified-thread-avatar.guest{background:linear-gradient(145deg,#fff4df,#ffe9c1);color:#c48131}
.unified-thread-copy{min-width:0}.unified-thread-copy>div{display:flex;justify-content:space-between;gap:8px;align-items:center}
.unified-thread-copy b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.unified-thread-copy time{flex:0 0 auto;font-size:12px;color:#a1b1bc}
.unified-thread-copy p{font-size:12px;line-height:1.35;margin:5px 0 0;color:#8095a4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:235px}
.unified-unread{position:absolute;right:15px;bottom:11px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;color:#fff;background:#0b50cc;border-radius:10px;font-size:12px;font-style:normal;font-weight:900}
.unified-empty-side{padding:30px 23px;color:#879ba9;font-size:14px;line-height:1.9;text-align:center}
.unified-main{min-width:0;min-height:0;display:flex;flex-direction:column;position:relative;background:#fff}
.unified-room-head{flex:0 0 auto;min-height:80px;display:flex;align-items:center;gap:13px;padding:12px 23px;border-bottom:1px solid #eaf0f4;background:#fff}
.unified-room-symbol{height:43px;width:43px;border-radius:14px;display:grid;place-items:center;color:#0b50cc;font-size:23px;background:#eef2fb;flex:0 0 auto}
.unified-room-head>div{min-width:0}.unified-room-head h2{font-size:17px;margin:0;color:#103350;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.unified-room-head small{display:block;font-size:12px;margin-top:3px;color:#8197a5}
.unified-back{display:none;font-size:31px;font-weight:400;line-height:1;color:#193e5e;padding:0 4px}
.unified-trial-info{flex:0 0 auto;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 23px;background:#fffaf1;border-bottom:1px solid #f8e9d0;color:#9d773e;font-size:12px}
.unified-trial-info b{color:#95601b}
.unified-approve-form{display:flex;margin-left:auto;gap:6px}
.unified-approve-form button{border:0;border-radius:9px;background:#e6f7ee;color:#148456;font-size:12px;font-weight:900;padding:9px 11px;white-space:nowrap}
.unified-approve-form button.unified-reject{background:#fff0f0;color:#b24e4e}
.unified-messages{flex:1;min-height:0;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:13px;background:radial-gradient(circle at 80% 10%,rgba(11,80,204,.045),transparent 28%),#f6f8fc;scrollbar-width:thin}
.unified-bubble-row{display:flex;flex-direction:column;align-items:flex-start;max-width:76%}
.unified-bubble-row.mine{align-self:flex-end;align-items:flex-end}
.unified-bubble-row strong{color:#687f90;font-size:12px;margin:0 0 5px 5px}
.unified-bubble-row>div{display:flex;align-items:flex-end;gap:7px;flex-direction:row}
.unified-bubble-row.mine>div{flex-direction:row-reverse}
.unified-bubble-row p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #e2eaf0;background:#fff;color:#1a3c54;border-radius:6px 17px 17px 17px;padding:11px 15px;font-size:14px;line-height:1.6;box-shadow:0 2px 7px rgba(0,25,51,.03)}
.unified-bubble-row.mine p{color:#fff;border-color:transparent;background:linear-gradient(145deg,#0b50cc,#0b50cc);border-radius:17px 6px 17px 17px;box-shadow:0 7px 17px rgba(11,80,204,.14)}
.unified-bubble-row time{font-size:12px;white-space:nowrap;color:#a4b3bf}
.unified-first-message{margin:auto;background:#fff;border:1px dashed #d6def0;border-radius:14px;padding:13px 17px;color:#8399a7;font-size:14px}
.unified-compose{flex:0 0 auto;display:flex;align-items:flex-end;gap:10px;padding:14px 19px;background:#fff;border-top:1px solid #e4e9f3}
.unified-compose textarea{flex:1;min-width:0;min-height:48px;max-height:140px;resize:vertical;border:1px solid #dfe4f1;border-radius:13px;background:#f8fafd;outline:none;padding:13px 15px;font:inherit;font-size:14px;color:#1b3c54;line-height:1.6}
.unified-compose textarea:focus{background:#fff;border-color:#abbfed;box-shadow:0 0 0 3px rgba(11,80,204,.09)}
.unified-compose button{width:49px;height:49px;border:0;border-radius:14px;background:linear-gradient(145deg,#0b50cc,#0b50cc);color:#fff;font-size:22px;display:grid;place-items:center;box-shadow:0 6px 17px rgba(11,80,204,.18)}
.unified-compose button:disabled{opacity:.5}
.unified-contact-head{padding:28px 29px 18px}.unified-contact-head>span{font-size:12px;letter-spacing:.16em;color:#0b50cc;font-weight:900}
.unified-contact-head h2{font-size:24px;letter-spacing:-.045em;margin:7px 0;color:#15354d}.unified-contact-head p{font-size:14px;margin:0;color:#8495a3;line-height:1.6}
.unified-contact-search{padding:0 28px 12px}.unified-contact-search input{width:100%;height:43px;border:1px solid #dce2ef;border-radius:12px;padding:0 13px;font-size:14px;outline:none;color:#183e55;background:#fbfcfe}
.unified-contact-list{min-height:0;overflow-y:auto;padding:0 25px 26px;scrollbar-width:thin}
.unified-contact{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 2px;border-bottom:1px solid #edf0f6}
.unified-contact>img,.unified-contact-emoji{width:56px;height:56px;object-fit:cover;border-radius:17px;display:grid;place-items:center;background:#e8edfa;font-size:29px;color:#0b50cc}
.unified-contact>div{min-width:0}.unified-contact b{font-size:16px;color:#1d415b}
.unified-contact small{display:block;font-size:12px;color:#89a0ae;margin:4px 0}
.unified-contact p{font-size:12px;color:#708b9b;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.unified-contact>a{flex:0 0 auto;color:#0b50cc;background:#eef2fb;border-radius:11px;padding:10px 12px;font-size:12px;font-weight:900;white-space:nowrap}
.unified-content-empty{padding:40px 25px;text-align:center;color:#8497a5;font-size:14px;line-height:1.8}
.unified-content-empty a{color:#0b50cc;font-weight:900}
.unified-welcome{margin:auto;text-align:center;padding:28px;color:#7892a2;line-height:1.7}
.unified-welcome>span{display:grid;place-items:center;background:#edf1fb;width:94px;height:94px;border-radius:31px;font-size:45px;margin:0 auto 23px}
.unified-welcome h2{color:#163954;font-size:22px;letter-spacing:-.045em;margin:0 0 9px}.unified-welcome p{font-size:14px;margin:0 0 23px}
.unified-welcome>div{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}
.unified-welcome>div a{background:#eef2fb;border:1px solid #d9e2f7;border-radius:10px;color:#0b50cc;font-size:12px;font-weight:900;padding:10px 12px}
.unified-guest-card{padding:0 28px 28px;overflow-y:auto;min-height:0}
.unified-guest-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#f8fafe;padding:20px;border:1px solid #e7ebf5;border-radius:18px}
.unified-guest-form>label{display:flex;flex-direction:column;gap:7px;color:#4e6b80;font-size:14px;font-weight:850;position:relative}
.unified-guest-form>label.wide,.unified-guest-actions{grid-column:1/-1}
.unified-guest-form input,.unified-guest-form textarea{width:100%;box-sizing:border-box;padding:11px 12px;background:#fff;border:1px solid #dae0ef;border-radius:11px;font-size:14px;color:#16415d;outline:none;font:inherit}
.unified-guest-form input:focus,.unified-guest-form textarea:focus{border-color:#0b50cc;box-shadow:0 0 0 3px rgba(11,80,204,.09)}
.unified-guest-form textarea{resize:vertical;min-height:90px}
.unified-guest-actions{display:flex;justify-content:flex-end}
.unified-guest-actions button{border:0;background:#0b50cc;color:white;padding:13px 19px;border-radius:12px;font-weight:900;font-size:14px}
.unified-club-results{position:absolute;z-index:10;top:100%;left:0;right:0;max-height:215px;overflow-y:auto;background:#fff;border:1px solid #cfd9f0;border-radius:11px;box-shadow:0 15px 35px rgba(7,40,67,.14);padding:4px}
.unified-club-results button{display:block;width:100%;text-align:left;padding:10px 13px;border:0;background:#fff;border-radius:7px;color:#284b64;font-size:14px}
.unified-club-results button:hover{background:#eef2fc}
.unified-club-results p{font-size:12px;color:#8a9ca8;padding:8px}
@media(max-width:860px){
  .unified-shell{width:min(100% - 24px,720px)}
  .unified-layout{grid-template-columns:minmax(250px,38%) minmax(0,1fr)}
  .unified-page-head h1{font-size:28px}
  .unified-welcome p br{display:none}
}
@media(max-width:700px){
  .unified-chat-page{padding:15px 0 84px}
  .unified-shell{width:100%;padding:0 11px}
  .unified-page-head{margin:0 4px 17px}.unified-page-head h1{font-size:27px}.unified-page-head p{font-size:12px}.unified-my-link{padding:9px 12px}
  .unified-tabs{gap:6px;padding-bottom:11px}.unified-tabs a{font-size:12px;padding:10px 12px;border-radius:11px}
  .unified-layout{display:block;height:calc(100dvh - 285px);min-height:360px;border-radius:18px}
  .unified-sidebar,.unified-main{height:100%}
  .unified-layout.has-current .unified-sidebar{display:none}
  .unified-layout.no-current.tab-inbox .unified-main{display:none}
  .unified-layout.no-current:not(.tab-inbox) .unified-sidebar{display:none}
  .unified-search{margin:13px 12px 10px}.unified-thread{padding:12px}
  .unified-back{display:block}
  .unified-room-head{min-height:67px;padding:9px 12px;gap:9px}.unified-room-symbol{width:36px;height:36px;border-radius:11px;font-size:19px}.unified-room-head h2{font-size:16px}
  .unified-trial-info{padding:8px 13px;gap:6px;font-size:12px}
  .unified-approve-form button{font-size:12px;padding:7px 8px}
  .unified-messages{padding:15px;gap:10px}.unified-bubble-row{max-width:91%}.unified-bubble-row p{font-size:14px;padding:9px 12px}.unified-bubble-row time{font-size:12px}
  .unified-compose{padding:10px;gap:8px}.unified-compose textarea{font-size:14px;padding:11px;min-height:43px}.unified-compose button{width:44px;height:44px}
  .unified-contact-head{padding:19px 17px 13px}.unified-contact-head h2{font-size:20px}.unified-contact-search{padding:0 15px 8px}.unified-contact-list{padding:0 13px 24px}
  .unified-contact{grid-template-columns:45px minmax(0,1fr);gap:10px;padding:11px 3px}.unified-contact>img,.unified-contact-emoji{width:45px;height:45px;border-radius:14px}.unified-contact>a{grid-column:2;justify-self:start;padding:7px 11px}
  .unified-guest-card{padding:0 12px 17px}.unified-guest-form{grid-template-columns:1fr;padding:14px;gap:12px}.unified-guest-form>label.wide,.unified-guest-actions{grid-column:auto}
  .unified-welcome{padding:18px}.unified-welcome>span{width:70px;height:70px;border-radius:22px;font-size:34px}.unified-welcome h2{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.unified-tabs a,.unified-thread{transition:none}}

/* 2026-09-23 · MY avatar picker v2: 4 equal square tiles x 2 rows */
.my-profile-edit-dialog{width:min(850px,calc(100% - 24px));max-height:calc(100dvh - 24px);scrollbar-gutter:stable}
.my-profile-edit-form{padding:24px 26px}
.my-profile-edit-body{grid-template-columns:112px minmax(0,1fr);gap:22px;margin-top:18px}
.my-profile-edit-preview{padding-top:4px}
.my-profile-edit-preview img{width:100px;height:100px;border-radius:24px}
.my-profile-edit-name{gap:6px}
.my-profile-edit-image-options{margin-top:14px;gap:7px}
.my-profile-edit-image-options legend{margin-bottom:7px}
.my-profile-edit-mode-options{display:flex;flex-wrap:wrap;gap:8px}
.my-profile-edit-image-options .my-profile-edit-mode{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #d7deee;border-radius:10px;background:#fff;font-size:14px;line-height:1.3;font-weight:750;cursor:pointer}
.my-profile-edit-image-options .my-profile-edit-mode:has(input:checked){border-color:#0b50cc;background:#eef2fb;color:#083da3}
.my-profile-edit-image-options input[type=file]{width:100%;height:auto;max-width:420px;padding:7px 10px}
.my-avatar-gallery{position:relative;margin-top:23px;padding:19px;border:1px solid #dce3f3;border-radius:21px;background:linear-gradient(145deg,#f5f7fd 0%,#ffffff 66%);box-shadow:inset 0 1px 0 #fff}
.my-avatar-gallery-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}
.my-avatar-gallery-eyebrow{font-size:12px;font-weight:900;letter-spacing:.14em;color:#0b50cc}
.my-avatar-gallery-heading h3{font-size:18px;line-height:1.3;letter-spacing:-.045em;margin:5px 0;color:#092e53;font-weight:900}
.my-avatar-gallery-heading h3>span{display:inline-flex;vertical-align:middle;align-items:center;padding:3px 7px;border-radius:7px;background:#dfe6f8;color:#083da3;font-size:12px;letter-spacing:0}
.my-avatar-gallery-heading p{font-size:12px;color:#6a8397;line-height:1.5;margin:4px 0 0}
.my-avatar-preset-mode{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
/* Fixed 4 × 2 grid. Each label fills one equal square card. */
.my-profile-edit-dialog .my-avatar-series{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,auto);gap:12px;width:100%;margin:0}
.my-profile-edit-dialog .my-avatar-choice{position:relative;display:block;min-width:0;width:100%;aspect-ratio:1/1;cursor:pointer}
.my-avatar-choice>input{position:absolute;left:50%;top:50%;width:1px!important;height:1px!important;opacity:0;pointer-events:none}
.my-avatar-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:100%;height:100%;padding:8px 8px 10px;border:2px solid #dce3f4;border-radius:17px;background:radial-gradient(ellipse at 50% 10%,#fff 1%,#e7edfa 100%);box-shadow:0 3px 10px rgba(7,30,61,.04);overflow:hidden;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}
.my-avatar-art{display:flex;flex:1 1 auto;align-items:center;justify-content:center;width:100%;min-height:0;min-width:0;padding:1px 2px 0;overflow:hidden}
.my-avatar-art img{display:block;max-height:100%;max-width:100%;width:100%;height:100%;object-fit:contain;object-position:center}
.my-avatar-label{display:block;flex:0 0 auto;width:100%;padding:5px 2px 0;text-align:center;color:#2c3f6d;font-size:14px;font-weight:900;letter-spacing:-.03em;white-space:nowrap}
.my-avatar-selected-mark{position:absolute;right:8px;top:8px;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#0b50cc;color:#fff;font-size:14px;font-weight:900;opacity:0;transform:scale(.7);box-shadow:0 3px 8px rgba(11,80,204,.25);transition:opacity .16s ease,transform .16s ease}
@media(hover:hover){.my-avatar-choice:hover .my-avatar-tile{transform:translateY(-3px);border-color:#0b50cc;box-shadow:0 9px 19px rgba(8,61,163,.12)}}
.my-avatar-gallery[data-active="preset"] .my-avatar-choice>input:checked+.my-avatar-tile{border-color:#0b50cc;background:radial-gradient(ellipse at 50% 2%,#fff 0%,#d2dcf5 100%);box-shadow:0 0 0 2px rgba(11,80,204,.17),0 8px 22px rgba(8,61,163,.14)}
.my-avatar-gallery[data-active="preset"] .my-avatar-choice>input:checked+.my-avatar-tile .my-avatar-label{color:#083da3}
.my-avatar-gallery[data-active="preset"] .my-avatar-choice>input:checked+.my-avatar-tile .my-avatar-selected-mark{opacity:1;transform:scale(1)}
.my-avatar-choice>input:focus-visible+.my-avatar-tile{outline:3px solid #083da3;outline-offset:3px}
.my-profile-edit-footer{position:sticky;bottom:-24px;background:#fff;margin-top:18px;padding:16px 0 0;z-index:2}
@media(max-width:760px){
  .my-profile-edit-dialog{width:calc(100% - 20px);max-width:540px;max-height:calc(100dvh - 16px)}
  .my-profile-edit-form{padding:17px}
  .my-profile-edit-body{grid-template-columns:76px minmax(0,1fr);gap:13px;margin-top:15px}
  .my-profile-edit-preview{padding:6px 0 0}
  .my-profile-edit-preview img{width:73px;height:73px;border-radius:17px}
  .my-profile-edit-name input{height:40px}
  .my-profile-edit-mode-options{gap:6px}
  .my-profile-edit-image-options .my-profile-edit-mode{padding:7px 8px;font-size:12px}
  .my-avatar-gallery{padding:11px;margin-top:17px;border-radius:16px}
  .my-avatar-gallery-heading{margin-bottom:11px}
  .my-avatar-gallery-heading h3{font-size:16px}
  .my-avatar-gallery-heading p{font-size:12px}
  .my-profile-edit-dialog .my-avatar-series{gap:7px}
  .my-avatar-tile{padding:4px 3px 7px;border-radius:11px;border-width:1.5px}
  .my-avatar-label{font-size:12px;padding-top:2px}
  .my-avatar-selected-mark{width:16px;height:16px;right:4px;top:4px;font-size:12px}
  .my-profile-edit-footer{bottom:-17px}
}
@media(max-width:365px){
  .my-profile-edit-dialog .my-avatar-series{gap:5px}
  .my-avatar-label{font-size:12px}
  .my-avatar-gallery{padding:9px}
}
@media(prefers-reduced-motion:reduce){.my-avatar-tile,.my-avatar-selected-mark{transition:none}}

.coach-card p,.coach-card small,.community-post-main p,.comment-list p,.chat-message p{font-size:14px;line-height:1.65}.community-content,.unified-bubble-row p{font-size:16px;line-height:1.65}
@media(max-width:380px){.community-post-list>a{grid-template-columns:minmax(0,1fr);gap:8px}.community-type{justify-self:start;white-space:nowrap}.community-post-meta{grid-column:1}.community-post-main{min-width:0}}
