[hidden]{display:none!important}*{box-sizing:border-box}.gm-page{background:#10121f;color:#f4f0ff;margin:0}.gm-page .gm-app{display:grid;grid-template-columns:minmax(310px,355px) minmax(0,1fr);width:min(1480px,100%);height:100dvh;margin:auto;background:#141726;border-left:1px solid #29283d;border-right:1px solid #29283d;overflow:hidden}.gm-sidebar{display:flex;flex-direction:column;min-height:0;border-right:1px solid #343248;background:#171928}.gm-side-head{display:flex;align-items:center;justify-content:space-between;padding:24px 22px 15px}.gm-eyebrow{font-size:11px;color:#9c90bd;letter-spacing:.12em}.gm-side-head h1{font-size:30px;line-height:1.1;margin:4px 0 0;color:#f9f5ff}.gm-side-head h1 span{font-size:12px;color:#c8b6e8;font-weight:500}.gm-home{display:grid;place-items:center;width:38px;height:38px;border:1px solid #50456d;border-radius:12px;text-decoration:none;color:#d7c2ff;font-size:28px}.gm-side-title{display:flex;align-items:baseline;justify-content:space-between;padding:12px 22px}.gm-side-title h2{font-size:18px;margin:0}.gm-side-caption{font-size:12px;color:#a49bbd}.gm-find{display:flex;align-items:center;gap:9px;margin:4px 16px 14px;padding:4px 5px 4px 13px;border:1px solid #3c3b55;background:#242638;border-radius:15px}.gm-find>span{font-size:25px;color:#a59cb9}.gm-find input{width:100%;min-width:0;border:0;outline:none;background:transparent;color:#fff;font:inherit;font-size:14px}.gm-find button{border:0;border-radius:11px;padding:9px 12px;background:#7650d9;color:#fff;cursor:pointer;font-weight:700}.gm-threads{flex:1;overflow:auto;padding:0 9px 12px}.gm-thread{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;border-radius:14px;padding:12px 11px;background:transparent;color:#fff;cursor:pointer;font:inherit}.gm-thread:hover{background:#25273c}.gm-thread.selected{background:#302747}.gm-avatar{display:inline-grid;place-items:center;flex:none;width:49px;height:49px;border-radius:50%;background:linear-gradient(135deg,#6543b2,#a65dd8);font-weight:800;color:#fff;overflow:hidden}.gm-avatar img{width:100%;height:100%;object-fit:cover}.gm-thread-body{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.gm-thread-head{display:flex;align-items:center;justify-content:space-between;gap:6px}.gm-thread-head strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-thread-head small{font-size:11px;color:#a9a5ba;white-space:nowrap}.gm-thread-preview{font-size:12px;color:#b4b0c4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-unread{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;background:#8c58f4;border-radius:50%;font-size:11px;font-weight:800}.gm-no-threads{padding:18px;color:#aca3c2;font-size:13px}.gm-account{display:flex;justify-content:space-between;padding:16px 22px;color:#cdb6ff;text-decoration:none;border-top:1px solid #343248;font-size:13px}.gm-conversation{display:flex;flex-direction:column;min-width:0;min-height:0;background:#111322}.gm-peer{display:flex;align-items:center;gap:13px;padding:14px 20px;border-bottom:1px solid #2b2b3d;min-height:77px}.gm-peer-avatar{width:43px;height:43px}.gm-peer-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.gm-peer-info a{font-size:15px;font-weight:800;color:#f5f0ff;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-peer-info span{font-size:12px;color:#b0a7c8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-peer-brand{font-weight:900;color:#b997ff;font-size:17px}.gm-peer-brand span{font-size:13px}.gm-back{display:none;border:0;background:none;color:#fff;font-size:38px;line-height:1;cursor:pointer}.gm-messages{display:flex;flex:1;flex-direction:column;gap:8px;min-height:0;overflow:auto;padding:22px 26px;background:radial-gradient(ellipse at 50% 0%,#1c1a32 0%,#111322 52%)}.gm-empty{margin:auto;text-align:center;max-width:330px;color:#b9b0cd;font-size:14px}.gm-empty h2{color:#f3eaff;font-size:20px}.gm-empty-icon{display:grid;place-items:center;margin:0 auto 15px;width:70px;height:70px;border-radius:22px;background:#2c2445;font-size:30px}.gm-message{display:flex;width:100%}.gm-message.mine{justify-content:flex-end}.gm-message.theirs{justify-content:flex-start}.gm-bubble{max-width:min(78%,520px);padding:10px 14px;border-radius:18px;background:#292c3b;overflow-wrap:anywhere}.gm-message.mine .gm-bubble{background:linear-gradient(135deg,#8151e3,#6338bd);border-bottom-right-radius:5px}.gm-message.theirs .gm-bubble{border-bottom-left-radius:5px}.gm-bubble-text{font-size:14px;line-height:1.5;white-space:pre-wrap}.gm-bubble small{display:block;margin-top:4px;text-align:right;color:#d3c6e9;font-size:10px}.gm-compose{display:flex;align-items:flex-end;gap:10px;padding:13px 19px;border-top:1px solid #29283c;background:#171928}.gm-compose textarea{flex:1;min-width:0;max-height:130px;resize:none;border:1px solid #45405b;border-radius:22px;padding:13px 16px;background:#242638;color:#fff;outline:none;font:inherit;font-size:14px}.gm-compose textarea:focus{border-color:#966ff4}.gm-compose button{display:grid;place-items:center;flex:none;width:46px;height:46px;border:0;border-radius:50%;background:#7950da;color:#fff;cursor:pointer;font-size:21px}.gm-compose button:disabled{opacity:.4;cursor:not-allowed}#gmStatus,#gmListStatus{font-size:12px;color:#ffb9ca;margin:0;padding:0 18px}#gmStatus:not(:empty){padding:6px 18px}.gm-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.gm-profile-link{display:inline-flex;align-items:center;justify-content:center;background:#7551d7;color:#fff!important;border-radius:10px;padding:10px 14px;text-decoration:none;font-weight:700}
@media(max-width:700px){.gm-page .gm-app{display:block;height:100dvh;border:0}.gm-sidebar{height:100dvh;border:0}.gm-side-head{padding-top:calc(23px + env(safe-area-inset-top))}.gm-side-title{padding-top:19px}.gm-thread{padding:14px 13px}.gm-thread-avatar{width:57px;height:57px}.gm-thread-head strong{font-size:15px}.gm-thread-preview{font-size:13px}.gm-conversation{display:none;height:100dvh}.gm-chat-open .gm-sidebar{display:none}.gm-chat-open .gm-conversation{display:flex}.gm-peer{padding:calc(9px + env(safe-area-inset-top)) 13px 11px;min-height:75px;gap:9px}.gm-back{display:block}.gm-peer-brand{display:none}.gm-messages{padding:17px 13px}.gm-bubble{max-width:87%}.gm-compose{padding:10px 10px calc(10px + env(safe-area-inset-bottom))}.gm-compose textarea{font-size:16px}.gm-account{padding-bottom:calc(18px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* V5.2: align desktop sidebar and composer top borders. */
@media(min-width:701px){.gm-account{height:74px;min-height:74px;align-items:center;flex:none}.gm-compose{height:74px;min-height:74px;align-items:center;flex:none;padding-top:10px;padding-bottom:10px}.gm-conversation{position:relative}}
.gm-conversation{position:relative}
.gm-typing{position:absolute;z-index:2;bottom:74px;left:0;right:0;display:flex;align-items:center;gap:9px;min-height:30px;padding:4px 24px;color:#cdb5ff;font-size:12px;font-weight:600;pointer-events:none;background:linear-gradient(0deg,#171928 0%,rgba(23,25,40,.88) 65%,transparent 100%)}
.gm-typing[hidden]{display:none!important}
.gm-typing-dots{display:inline-flex;align-items:center;gap:3px}
.gm-typing-dots i{width:5px;height:5px;border-radius:50%;background:#ac83ff;animation:gmTypingPulse 1s ease-in-out infinite}
.gm-typing-dots i:nth-child(2){animation-delay:.16s}.gm-typing-dots i:nth-child(3){animation-delay:.32s}
@keyframes gmTypingPulse{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media(max-width:700px){.gm-typing{bottom:calc(67px + env(safe-area-inset-bottom));padding-left:15px}}
@media(prefers-reduced-motion:reduce){.gm-typing-dots i{animation:none}}

/* V5.8 GM live member search */
.gm-search-results{margin:-7px 16px 12px;padding:5px;max-height:290px;overflow-y:auto;background:#242338;border:1px solid #51426d;border-radius:14px;box-shadow:0 10px 25px #0004;color:#bfb2d8;font-size:13px}
.gm-search-results[hidden]{display:none!important}
.gm-search-result{display:flex;align-items:center;gap:11px;width:100%;padding:9px 10px;border:0;border-radius:10px;background:transparent;color:#fff;text-align:left;cursor:pointer;font:inherit}
.gm-search-result:hover,.gm-search-result:focus-visible{background:#393052;outline:none}
.gm-search-avatar{width:39px;height:39px}.gm-search-user{display:flex;flex-direction:column;gap:3px;min-width:0}.gm-search-user strong{font-size:14px}.gm-search-user small{font-size:12px;color:#b8a7d5}.gm-search-empty{padding:8px 10px;margin:0}

/* V5.9: site header and mini footer around desktop GM; mobile remains full-screen */
@media(min-width:701px){
.gm-page{min-height:100dvh;display:flex;flex-direction:column}
.gm-page>.topbar{flex:none;width:100%}
.gm-page>.gm-app{height:auto;flex:1 1 auto;min-height:420px;max-height:none}
.gm-page>.gmini-footer{flex:none;width:100%}
.gm-page>.gmini-footer .gmini-inner{min-height:78px;padding-top:12px;padding-bottom:12px}
}
@media(max-width:700px){
.gm-page>.topbar,.gm-page>.gmini-footer{display:none!important}
.gm-page>.gm-app{height:100dvh}
}

/* V5.9.1 — Align desktop GM panel with profile cover width. */
@media (min-width:701px){
  .gm-page > .gm-app{
    width:min(1120px,calc(100% - 40px));
    max-width:1120px;
    margin-left:auto;
    margin-right:auto;
  }
}

/* V6.0.2 — Keep the Direct layout inside the viewport; scroll messages, not page. */
@media (min-width:701px){
  .gm-page{height:100vh;height:100dvh;min-height:0;overflow:hidden}
  .gm-page > .gm-app{
    flex:1 1 0%;height:0;min-height:0;max-height:none;
    overflow:hidden;
  }
  .gm-sidebar,.gm-conversation{min-height:0;overflow:hidden}
  .gm-messages{flex:1 1 0%;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
  .gm-threads{min-height:0;overflow-y:auto}
}
/* Subtle, purple-toned scrollbars matching Gülüm.net. */
.gm-messages,.gm-threads,.gm-search-results{
  scrollbar-width:thin;
  scrollbar-color:#66508e transparent;
}
.gm-messages::-webkit-scrollbar,.gm-threads::-webkit-scrollbar,.gm-search-results::-webkit-scrollbar{width:7px}
.gm-messages::-webkit-scrollbar-track,.gm-threads::-webkit-scrollbar-track,.gm-search-results::-webkit-scrollbar-track{background:transparent}
.gm-messages::-webkit-scrollbar-thumb,.gm-threads::-webkit-scrollbar-thumb,.gm-search-results::-webkit-scrollbar-thumb{background:#66508e;border-radius:12px;border:1px solid #171928}
.gm-messages::-webkit-scrollbar-thumb:hover,.gm-threads::-webkit-scrollbar-thumb:hover,.gm-search-results::-webkit-scrollbar-thumb:hover{background:#9770d9}

/* GM V6.1: voice call button placement; disabled until WebRTC signalling is ready. */
.gm-call-button{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #574578;border-radius:12px;background:#29213f;color:#c7a3ff;padding:0}.gm-call-button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:700px){.gm-call-button{display:grid;width:38px;height:38px;margin-left:auto}}

/* V6.1 voice call */
.gm-call-button:not(:disabled){cursor:pointer;opacity:1}.gm-call-button:not(:disabled):hover{background:#4b3573}.gm-voice-modal[hidden],.gm-voice-actions button[hidden]{display:none!important}.gm-voice-modal{position:fixed;inset:0;z-index:9999;background:#090917c9;display:grid;place-items:center;padding:20px}.gm-voice-panel{width:min(360px,100%);padding:30px 22px;text-align:center;background:#1b1b30;border:1px solid #624894;border-radius:20px;color:#f5f0ff;box-shadow:0 20px 65px #0009}.gm-voice-symbol{font-size:44px}.gm-voice-panel h2{margin:12px 0}.gm-voice-panel p{color:#d0c4e7}.gm-voice-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:24px}.gm-voice-actions button{background:#7548c8;color:white;border:0;border-radius:12px;padding:12px 16px;cursor:pointer}.gm-voice-actions #gmVoiceHangup{background:#b53e63}

/* GM V6.2.3: rejected-call retry dialog */
.gm-voice-actions #gmVoiceRetry{background:#7548c8}.gm-voice-actions #gmVoiceRetry:hover{background:#9262e4}

/* V6.2.4: active call duration and chat call history */
.gm-voice-duration[hidden]{display:none!important}.gm-voice-duration{font-size:28px;font-weight:750;letter-spacing:2px;color:#d5b7ff;font-variant-numeric:tabular-nums;margin:10px 0}.gm-call-history{display:flex;justify-content:center;margin:12px 0}.gm-call-history-card{background:#29233f;border:1px solid #66518a;border-radius:13px;padding:10px 16px;color:#e7dcff;text-align:center;max-width:95%;font-size:13px}.gm-call-history-card small{display:block;margin-top:5px;color:#bbaad5}

/* V6.2.6 — Date separators in Direct message and call timeline */
.gm-date-separator{display:flex;justify-content:center;align-items:center;clear:both;margin:16px 0 12px;padding:0 12px;pointer-events:none}
.gm-date-separator span{display:inline-block;max-width:95%;padding:6px 14px;border:1px solid #55436f;border-radius:999px;background:#302940;color:#d8c6f7;font-size:12px;font-weight:600;line-height:1.35;text-align:center;box-shadow:0 3px 12px #0002}
@media(max-width:700px){.gm-date-separator{margin:13px 0 10px}.gm-date-separator span{font-size:11px;padding:6px 12px}}


/* GM V6.2.7 — Mobile inbox: compact site header + footer; chat stays fullscreen. */
@media(max-width:700px){
  .gm-page{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
  .gm-page>.topbar{display:block!important;flex:0 0 auto;position:relative;z-index:90;width:100%}
  .gm-page>.topbar .nav{height:56px;min-height:56px;padding:0 12px}
  .gm-page>.topbar .logo{font-size:21px}
  .gm-page>.topbar .nav nav{top:56px;z-index:100}
  .gm-page>.topbar .notify-panel{top:60px}
  .gm-page>.gm-app{flex:1 1 0%;height:0;min-height:0;overflow:hidden;width:100%}
  .gm-page .gm-sidebar{height:100%;min-height:0;overflow:hidden}
  .gm-page>.gmini-footer{display:block!important;flex:0 0 auto;width:100%}
  .gm-page>.gmini-footer .gmini-inner{min-height:0;max-width:none;padding:9px 12px calc(9px + env(safe-area-inset-bottom));display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;justify-content:space-between;text-align:left}
  .gm-page>.gmini-footer .gmini-logo{font-size:16px}
  .gm-page>.gmini-footer .gmini-logo>span:first-child{font-size:16px;margin-right:2px}
  .gm-page>.gmini-footer .gmini-copy{font-size:10px;white-space:normal;line-height:1.25;margin:0}
  .gm-page>.gmini-footer .gmini-links,.gm-page>.gmini-footer .gmini-top{display:none}
  /* Hide site chrome only while a conversation is open. */
  .gm-page:has(.gm-chat-open)>.topbar,
  .gm-page:has(.gm-chat-open)>.gmini-footer{display:none!important}
  .gm-page:has(.gm-chat-open)>.gm-app{flex:1 1 100%;height:100dvh}
  .gm-chat-open .gm-conversation{height:100%;min-height:0}
  .gm-page .gm-peer{padding-top:12px}
}
