.member-notification-item.is-event{border-left-width:3px;border-left-color:#10aaa5}.member-notification-item.is-event .member-notification-icon{background:#e5f4f2;color:#087c77}
.member-notification-center{position:relative;z-index:24;width:100%;padding:12px 20px 0;background:linear-gradient(180deg,#eef2f6 0%,rgba(238,242,246,.96) 82%,rgba(238,242,246,0) 100%);font-family:Arial,Helvetica,sans-serif}
.member-notification-center[hidden]{display:none}
.member-notification-shell{width:min(1180px,100%);margin:0 auto;padding:12px;border:1px solid #d9e3e8;border-radius:18px;background:#fff;box-shadow:0 18px 44px rgba(29,43,62,.12)}
.member-notification-shell>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:2px 4px 10px}
.member-notification-shell>header>div{display:flex;align-items:baseline;gap:10px}
.member-notification-shell>header span{color:#087f7a;font-size:.58rem;font-weight:900;letter-spacing:.14em}
.member-notification-shell>header strong{color:#1d2838;font-size:.78rem}
.member-notification-shell>header>b{display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#7549e4;color:#fff;font-size:.65rem}
.member-notification-shell>header>b.is-empty{background:#dce7e9;color:#577074}
.member-notification-list{display:grid;max-height:430px;gap:8px;overflow:auto;scrollbar-width:thin;scrollbar-color:#afc2c8 transparent}
.member-notification-item{position:relative;display:grid;grid-template-columns:1fr auto;align-items:stretch;overflow:hidden;border:1px solid #dce6ea;border-left:4px solid #2ab9b1;border-radius:13px;background:#f8fbfc}
.member-notification-item.is-match{border-left-color:#7549e4}
.member-notification-item.is-booking{border-left-color:#dc9e2c}
.member-notification-open{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:11px 13px;border:0;background:transparent;color:#1d2838;text-align:left;cursor:pointer}
.member-notification-open:hover,.member-notification-open:focus-visible{background:#f0f8f8;outline:0}
.member-notification-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e8f5f3;color:#087f7a;font-size:1rem;font-weight:900}
.is-match .member-notification-icon{background:#f0ebff;color:#7044d6}
.is-booking .member-notification-icon{background:#fff4df;color:#9b6b12}
.member-notification-copy{min-width:0}
.member-notification-copy small,.member-notification-copy strong,.member-notification-copy>span{display:block}
.member-notification-copy small{margin-bottom:3px;color:#087f7a;font-size:.55rem;font-weight:900;letter-spacing:.1em}
.member-notification-copy strong{overflow:hidden;color:#1d2838;font-size:.76rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.member-notification-copy>span{margin-top:4px;overflow:hidden;color:#66758a;font-size:.64rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.member-notification-arrow{color:#087f7a;font-size:1rem;font-weight:900}
.member-notification-dismiss{width:42px;border:0;border-left:1px solid #e0e8eb;background:#fff;color:#7a8798;font-size:1rem;cursor:pointer}
.member-notification-dismiss:hover,.member-notification-dismiss:focus-visible{background:#f5f1ff;color:#7044d6;outline:0}
.member-notification-empty{display:flex;align-items:center;gap:12px;padding:11px 13px;border:1px solid #e0e8eb;border-radius:13px;background:#f8fbfc;color:#1d2838}
.member-notification-empty>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e8f5f3;color:#087f7a;font-weight:900}
.member-notification-empty strong,.member-notification-empty small{display:block}
.member-notification-empty strong{font-size:.75rem}
.member-notification-empty small{margin-top:3px;color:#6a7889;font-size:.63rem}
.member-chat-dialog{width:min(780px,calc(100% - 28px));max-width:none;max-height:calc(100vh - 28px);padding:0;overflow:hidden;border:0;border-radius:24px;background:#f5f7f9;color:#1d2838;box-shadow:0 35px 100px rgba(4,10,22,.45);font-family:Arial,Helvetica,sans-serif}
.member-chat-dialog::backdrop{background:rgba(6,12,24,.72);backdrop-filter:blur(5px)}
.member-chat-head{position:relative;padding:25px 66px 17px 28px;border-bottom:1px solid #d8e1e7;background:#fff}
.member-chat-head span{color:#087f7a;font-size:.58rem;font-weight:900;letter-spacing:.15em}
.member-chat-head h2{margin:5px 0;color:#202938;font-size:1.25rem}
.member-chat-head p{margin:0;color:#657487;font-size:.7rem;line-height:1.45}
.member-chat-head>button{position:absolute;top:18px;right:20px;display:grid;width:38px;height:38px;place-items:center;border:0;border-radius:50%;background:#e8ecef;color:#6d7887;font-size:1.2rem;cursor:pointer}
.member-chat-members{display:flex;min-height:56px;gap:10px;padding:10px 28px;overflow-x:auto;border-bottom:1px solid #d8e1e7;background:#eef3f5}
.member-chat-members>span{display:flex;align-items:center;gap:7px;white-space:nowrap}
.member-chat-members b{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#d9f0ed;color:#087f7a;font-size:.64rem}
.member-chat-members strong{font-size:.68rem}
.member-chat-thread{display:flex;height:min(440px,48vh);flex-direction:column;gap:9px;overflow-y:auto;padding:22px 28px;background:#f5f7f9}
.member-chat-thread article{width:min(78%,520px);padding:10px 13px;border:1px solid #d8e2e6;border-radius:15px;background:#fff}
.member-chat-thread article.own{align-self:flex-end;border-color:#c7ebe7;background:#e7f6f4}
.member-chat-thread article.other{align-self:flex-start}
.member-chat-thread article>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.member-chat-thread article strong{font-size:.64rem}
.member-chat-thread article time{color:#748294;font-size:.56rem}
.member-chat-thread article p{margin:5px 0 0;color:#263244;font-size:.75rem;line-height:1.48;overflow-wrap:anywhere}
.member-chat-empty{display:grid;place-items:center;gap:4px;margin:auto;color:#6a7889;text-align:center;font-size:.72rem}
.member-chat-form{padding:15px 28px 19px;border-top:1px solid #d8e1e7;background:#fff}
.member-chat-form>label{margin-bottom:7px;color:#4c5b70;font-size:.58rem}
.member-chat-form>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.member-chat-form textarea{box-sizing:border-box;width:100%;min-height:58px;max-height:140px;padding:11px 13px;resize:vertical;border:1px solid #c9d5dc;border-radius:12px;background:#fff;color:#202938;font:inherit;font-size:.76rem;outline:0}
.member-chat-form textarea:focus{border-color:#10aaa5;box-shadow:0 0 0 3px rgba(16,170,165,.12)}
.member-chat-form button{min-width:115px;border:0;border-radius:12px;background:linear-gradient(115deg,#7549e4,#6857cf 48%,#25aaa4);color:#fff;font-weight:850;cursor:pointer}
.member-chat-form button:disabled{cursor:wait;opacity:.65}
.member-chat-form>p{min-height:14px;margin:7px 0 0;color:#a04444;font-size:.62rem}
@media(max-width:720px){
  .member-notification-center{padding:8px 10px 0}
  .member-notification-shell{padding:9px;border-radius:15px}
  .member-notification-shell>header>div{align-items:flex-start;flex-direction:column;gap:2px}
  .member-notification-open{grid-template-columns:34px minmax(0,1fr) auto;gap:9px;padding:10px}
  .member-notification-icon{width:34px;height:34px}
  .member-notification-copy strong,.member-notification-copy>span{white-space:normal}
  .member-notification-dismiss{width:38px}
  .member-chat-head{padding:22px 58px 15px 18px}
  .member-chat-members{padding:9px 18px}
  .member-chat-thread{height:52vh;padding:16px 14px}
  .member-chat-thread article{width:88%}
  .member-chat-form{padding:13px 14px 16px}
  .member-chat-form>div{grid-template-columns:1fr}
  .member-chat-form button{min-height:44px}
}
/* Header bell and floating notification panel */
.member-notification-trigger{position:relative;display:grid;flex:0 0 39px;width:39px;height:39px;margin-right:2px;place-items:center;border:1px solid rgba(255,255,255,.13);border-radius:50%;background:rgba(15,20,30,.88);color:#f7f9fd;box-shadow:inset 0 1px 0 rgba(255,255,255,.04);cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.member-notification-trigger:hover,.member-notification-trigger:focus-visible,.member-notification-trigger[aria-expanded="true"]{border-color:rgba(16,170,165,.55);background:rgba(24,31,44,.98);outline:0;transform:translateY(-1px)}
.member-notification-trigger[hidden]{display:none}
.member-notification-trigger>b{position:absolute;top:-7px;right:-7px;display:grid;min-width:22px;height:22px;padding:0 6px;place-items:center;border:2px solid #080b12;border-radius:999px;background:#7549e4;color:#fff;font-size:.61rem;line-height:1;box-shadow:0 5px 14px rgba(117,73,228,.38)}
.member-notification-trigger>b[hidden]{display:none}
.member-notification-bell{position:relative;display:block;width:18px;height:20px}
.member-notification-bell::before{position:absolute;top:2px;left:2px;width:12px;height:13px;border:2px solid currentColor;border-radius:8px 8px 5px 5px;content:""}
.member-notification-bell::after{position:absolute;bottom:0;left:7px;width:5px;height:3px;border-radius:0 0 5px 5px;background:currentColor;box-shadow:-4px -5px 0 -1.5px currentColor,4px -5px 0 -1.5px currentColor;content:""}
.member-notification-center{position:fixed;z-index:160;width:min(430px,calc(100vw - 24px));padding:0;background:transparent;font-family:Arial,Helvetica,sans-serif}
.member-notification-center::before{position:absolute;top:-9px;right:10px;width:18px;height:18px;border-top:1px solid #d9e3e8;border-left:1px solid #d9e3e8;background:#fff;content:"";transform:rotate(45deg)}
.member-notification-shell{position:relative;width:100%;margin:0;padding:0;overflow:hidden;border:1px solid #d9e3e8;border-radius:19px;background:#fff;box-shadow:0 28px 75px rgba(2,9,22,.34)}
.member-notification-shell>header{display:flex;min-height:62px;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px 12px 20px;border-bottom:1px solid #edf1f3}
.member-notification-shell>header>div{display:flex;align-items:baseline;gap:13px}
.member-notification-shell>header span{color:#087f7a;font-size:.66rem;font-weight:900;letter-spacing:.15em}
.member-notification-shell>header strong{color:#536174;font-size:.72rem;font-weight:750}
.member-notification-close{display:grid;width:34px;height:34px;place-items:center;border:1px solid #dce5e9;border-radius:50%;background:#f5f8f9;color:#748092;font-size:1rem;cursor:pointer}
.member-notification-close:hover,.member-notification-close:focus-visible{border-color:#cbbff1;background:#f3efff;color:#7044d6;outline:0}
.member-notification-list{display:grid;max-height:min(430px,calc(100vh - 190px));gap:9px;overflow:auto;padding:12px;scrollbar-width:thin;scrollbar-color:#afc2c8 transparent}
.member-notification-item{border-left-width:1px;border-radius:14px;background:#fbfcfd;box-shadow:0 5px 15px rgba(22,39,55,.035)}
.member-notification-item.is-match{border-left-width:3px}
.member-notification-item.is-chat{border-left-width:3px;border-left-color:#7549e4}
.member-notification-item.is-booking{border-left-width:3px}
.member-notification-open{grid-template-columns:38px minmax(0,1fr) auto;gap:12px;padding:12px}
.member-notification-copy strong{font-size:.77rem}
.member-notification-copy>span{font-size:.65rem}
.member-notification-dismiss{width:38px;background:#fbfcfd}
.member-notification-empty{margin:0;padding:12px;border:0;background:#f8fbfc}
.member-notification-footer{width:auto;margin:0;padding:0;border-top:1px solid #e7ecef;background:#fff}
.member-notification-footer[hidden]{display:none}
.member-notification-footer button{display:flex;width:100%;align-items:center;justify-content:space-between;padding:14px 20px;border:0;background:#fff;color:#7044d6;font:inherit;font-size:.72rem;font-weight:850;text-align:left;cursor:pointer}
.member-notification-footer button:hover,.member-notification-footer button:focus-visible{background:#f7f4ff;outline:0}
.member-notification-footer button span{font-size:1rem}
@media(max-width:1280px) and (min-width:981px){
  .member-notification-trigger{grid-column:3;grid-row:1;justify-self:end;margin-right:96px}
}
@media(max-width:980px){
  .member-notification-trigger{order:0;margin-left:auto;margin-right:2px}
}
@media(max-width:720px){
  .member-notification-center{top:auto!important;right:auto!important;bottom:10px;left:10px!important;width:calc(100vw - 20px)}
  .member-notification-center::before{display:none}
  .member-notification-shell{max-height:calc(100vh - 20px);border-radius:20px}
  .member-notification-shell>header{min-height:57px;padding:11px 12px 10px 16px}
  .member-notification-list{max-height:calc(100vh - 158px);padding:9px}
  .member-notification-open{grid-template-columns:34px minmax(0,1fr) auto;gap:9px;padding:10px}
  .member-notification-footer button{padding:13px 16px}
}
/* Refined header bell and transient message position */
.member-notification-trigger{flex-basis:36px;width:36px;height:39px;margin-right:4px;border:0;background:transparent;box-shadow:none}
.member-notification-trigger:hover,.member-notification-trigger:focus-visible,.member-notification-trigger[aria-expanded="true"]{border-color:transparent;background:rgba(255,255,255,.07);transform:none}
.member-notification-trigger>b{top:-5px;right:-6px;min-width:20px;height:20px;padding:0 5px;font-size:.58rem}
.member-notification-bell{width:18px;height:19px}
.member-notification-bell::before{top:1px;left:3px;width:12px;height:13px;border:1.8px solid currentColor;border-bottom:0;border-radius:8px 8px 3px 3px;box-sizing:border-box}
.member-notification-bell::after{top:12px;bottom:auto;left:1px;width:16px;height:7px;border-radius:0;background:linear-gradient(currentColor,currentColor) top center/16px 2px no-repeat,radial-gradient(circle,currentColor 0 2px,transparent 2.5px) bottom center/6px 6px no-repeat;box-shadow:none}
.account-login-notice{top:var(--wp-transient-notice-top,92px)}
@media(max-width:980px){.member-notification-trigger{margin-right:4px}}
/* Transient notification alert below the main menu · role-independent centre */
.member-message-alert{position:fixed;z-index:159;top:var(--wp-transient-notice-top,88px);left:50%;display:grid;grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;gap:10px;width:min(760px,calc(100vw - 24px));min-height:48px;padding:9px 10px;transform:translate(-50%,-8px);border:1px solid rgba(207,192,255,.82);border-radius:14px;background:linear-gradient(110deg,#7644e7 0%,#654fd4 56%,#5758c5 100%);color:#fff;box-shadow:0 16px 38px rgba(62,34,133,.28);font-family:Arial,Helvetica,sans-serif;opacity:0;transition:opacity .18s ease,transform .18s ease}
.member-message-alert[hidden]{display:none}
.member-message-alert.is-visible{transform:translate(-50%,0);opacity:1}
.member-message-alert-dot{justify-self:center;width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.15)}
.member-message-alert-copy{display:flex;min-width:0;align-items:center;justify-content:center;gap:7px;text-align:center}
.member-message-alert-copy strong{font-size:.76rem;font-weight:900}
.member-message-alert-copy span{color:rgba(255,255,255,.86);font-size:.7rem;font-weight:700}
.member-message-alert button{display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:9px;background:rgba(255,255,255,.13);color:#fff;font-size:1rem;cursor:pointer}
.member-message-alert button:hover,.member-message-alert button:focus-visible{background:rgba(255,255,255,.24);outline:0}
@media(max-width:620px){
  .member-message-alert{grid-template-columns:30px minmax(0,1fr) 30px;gap:7px;min-height:56px;padding:8px}
  .member-message-alert-copy{flex-direction:column;gap:2px}
  .member-message-alert-copy strong{font-size:.72rem}
  .member-message-alert-copy span{font-size:.65rem}
}
