
/* MISTER FAST V61.2 — Map Radius Chat Discovery + Account Control */
.mf612-account{position:relative;display:flex;align-items:center;gap:10px;min-width:0}
.mf612-account-btn{display:flex;align-items:center;gap:9px;border:0;background:transparent;padding:2px;cursor:pointer;color:#00356f;min-width:0;text-align:left}
.mf612-account-avatar{width:42px;height:42px;border:1px solid #f4c400;border-radius:14px;background:#fff7cf;display:grid;place-items:center;overflow:hidden;font-weight:900;color:#003da5;flex:0 0 auto}
.mf612-account-avatar img{width:100%;height:100%;object-fit:cover}
.mf612-account-copy{min-width:0}.mf612-account-copy b,.mf612-account-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mf612-account-copy b{font-size:15px}.mf612-account-copy small{font-size:11px;color:#52657f}
.mf612-online-dot{color:#00a85a}.mf612-account-menu{position:absolute;left:0;top:50px;z-index:7000;min-width:210px;background:#fff;border:1px solid #d7e4f5;border-radius:16px;padding:8px;box-shadow:0 16px 40px rgba(0,45,105,.22)}
.mf612-account-menu[hidden]{display:none}.mf612-account-menu a,.mf612-account-menu button{width:100%;display:flex;align-items:center;gap:8px;border:0;background:#fff;padding:10px;border-radius:10px;text-decoration:none;color:#00356f;font-weight:800;cursor:pointer}
.mf612-account-menu a:hover,.mf612-account-menu button:hover{background:#fff5c2}
.mf612-discovery{height:100%;display:flex;flex-direction:column;background:#f5f8fd}
.mf612-discovery-head{padding:14px;border-bottom:1px solid #dbe6f5;background:#fff}
.mf612-discovery-title{display:flex;justify-content:space-between;gap:8px;align-items:center}.mf612-discovery-title b{font-size:17px;color:#00356f}
.mf612-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:10px}.mf612-stat{border:1px solid #dce7f5;background:#fff;border-radius:12px;padding:8px;text-align:center}.mf612-stat b,.mf612-stat small{display:block}.mf612-stat b{color:#003da5}.mf612-stat small{font-size:9px;color:#718097}
.mf612-driver-list{padding:10px;overflow:auto;display:grid;gap:9px}
.mf612-driver-card{background:#fff;border:1px solid #d8e4f4;border-radius:18px;padding:11px;display:grid;grid-template-columns:auto 1fr;gap:10px}
.mf612-avatar{width:46px;height:46px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eef5ff;color:#003da5;font-weight:900}.mf612-avatar img{width:100%;height:100%;object-fit:cover}
.mf612-driver-main{min-width:0}.mf612-driver-main b{display:block;color:#00356f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mf612-meta{font-size:11px;color:#667b96;margin:3px 0 8px}
.mf612-card-actions{display:flex;gap:6px;flex-wrap:wrap}.mf612-card-actions button{border:0;border-radius:10px;padding:7px 9px;font-weight:800;cursor:pointer;background:#eaf2ff;color:#003da5}.mf612-card-actions .is-primary{background:#ffc400;color:#00356f}
.mf612-empty{text-align:center;color:#718097;padding:35px 15px}.mf612-fallback{font-size:22px}
@media(max-width:700px){.mf612-summary{grid-template-columns:repeat(2,1fr)}.mf612-account-copy b{max-width:140px}}


/* V61.2.1 — single account identity point */
.mf612-account-single{
  flex:1 1 auto;
  min-width:0;
}
.mf612-native-account-hidden{
  display:none !important;
}
.mf612-account-single .mf612-account-btn{
  max-width:100%;
}
.mf612-account-single .mf612-account-copy b{
  max-width:220px;
}
@media(max-width:700px){
  .mf612-account-single .mf612-account-copy b{
    max-width:150px;
  }
}


/* V61.2.2 — native MF Chat header is the only account control */
.mf612-account,
.mf612-account-single{
  display:none !important;
}

.mf612-native-account-host{
  position:relative;
  display:flex;
  align-items:center;
  min-width:0;
}

.mf612-native-account-trigger{
  width:100%;
  border:0;
  background:transparent;
  color:#00356f;
  padding:0;
  display:flex;
  align-items:center;
  gap:10px;
  text-align:left;
  cursor:pointer;
  min-width:0;
}

.mf612-native-avatar{
  width:42px;
  height:42px;
  border:1px solid #f4c400;
  border-radius:14px;
  background:#fff7cf;
  display:grid;
  place-items:center;
  overflow:hidden;
  color:#003da5;
  font-weight:900;
  flex:0 0 auto;
}

.mf612-native-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.mf612-native-copy{
  min-width:0;
}

.mf612-native-copy b,
.mf612-native-copy small{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.mf612-native-copy b{
  font-size:16px;
  line-height:1.15;
}

.mf612-native-copy small{
  margin-top:2px;
  font-size:11px;
  color:#52657f;
}

.mf612-native-account-menu{
  position:absolute;
  left:0;
  top:50px;
  z-index:8000;
  min-width:220px;
  background:#fff;
  border:1px solid #d7e4f5;
  border-radius:16px;
  padding:8px;
  box-shadow:0 16px 40px rgba(0,45,105,.22);
}

.mf612-native-account-menu[hidden]{
  display:none;
}

.mf612-native-account-menu a{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  padding:10px;
  border-radius:10px;
  text-decoration:none;
  color:#00356f;
  font-weight:800;
}

.mf612-native-account-menu a:hover{
  background:#fff5c2;
}

@media(max-width:700px){
  .mf612-native-copy b{
    max-width:150px;
  }
}


/* V61.2.3 — compact one-row account + current room header */
.mf6123-original-room-hidden{
  display:none !important;
}

.mf514-chat-head,
[data-mf514-chat-head]{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.mf612-native-account-host{
  flex:1 1 50%;
  min-width:0;
}

.mf6123-room-compact{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  max-width:52%;
  padding:6px 9px;
  border-left:1px solid #dbe6f5;
}

.mf6123-room-icon{
  width:34px;
  height:34px;
  border-radius:12px;
  background:#fff7cf;
  display:grid;
  place-items:center;
  flex:0 0 auto;
}

.mf6123-room-copy{
  min-width:0;
}

.mf6123-room-copy small,
.mf6123-room-copy b{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.mf6123-room-copy small{
  font-size:9px;
  color:#718097;
  line-height:1.1;
}

.mf6123-room-copy b{
  font-size:13px;
  color:#00356f;
  line-height:1.2;
}

.mf6123-member-count{
  min-width:40px;
  padding:6px 8px;
  border-radius:12px;
  background:#eef4ff;
  color:#003da5;
  font-size:10px;
  font-weight:900;
  text-align:center;
  flex:0 0 auto;
}

@media(max-width:700px){
  .mf514-chat-head,
  [data-mf514-chat-head]{
    gap:5px;
  }

  .mf612-native-account-host{
    flex:1 1 47%;
  }

  .mf6123-room-compact{
    max-width:53%;
    gap:5px;
    padding:4px 5px;
  }

  .mf6123-room-icon{
    width:30px;
    height:30px;
    border-radius:10px;
  }

  .mf6123-room-copy b{
    font-size:11px;
    max-width:105px;
  }

  .mf6123-room-copy small{
    font-size:8px;
  }

  .mf6123-member-count{
    min-width:32px;
    padding:5px 6px;
    font-size:9px;
  }
}


/* V61.3.4 — authenticated Mini header state */
.mf545-chat-brand.mf612-native-account-host{position:relative;z-index:40;pointer-events:auto}
.mf545-chat-brand .mf612-native-account-trigger{pointer-events:auto;position:relative;z-index:2}
.mf545-chat-brand .mf612-native-account-menu{z-index:10050}
.mf612-native-session-label{padding:7px 10px 9px;border-bottom:1px solid #e4ecf7;margin-bottom:4px}
.mf612-native-session-label b,.mf612-native-session-label small{display:block}
.mf612-native-session-label b{color:#00356f;font-size:13px}
.mf612-native-session-label small{color:#60738e;font-size:10px;margin-top:2px}
.mf612-native-account-menu [data-mini-logout]{background:#fff8d8;color:#00356f}
.mf612-native-account-menu [data-mini-logout]:hover{background:#ffc400}


/* V61.3.5 — compact Login / Logout text, no account pop-up */
.mf6135-simple-auth{
  gap:10px;
  pointer-events:auto;
}
.mf6135-simple-auth .mf612-native-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
}
.mf6135-auth-action{
  appearance:none;
  border:0;
  background:transparent;
  margin:2px 0 0;
  padding:0;
  color:#003da5;
  font:inherit;
  font-size:11px;
  font-weight:800;
  line-height:1.2;
  text-decoration:none;
  cursor:pointer;
}
.mf6135-auth-action:hover,
.mf6135-auth-action:focus-visible{
  color:#005bd4;
  text-decoration:underline;
  outline:none;
}
.mf6135-simple-auth .mf612-native-account-menu{
  display:none !important;
}

/* V61.4.2 — Mini auth label shape correction
   Keep only the MF avatar badge. The text wrapper must not inherit the
   rounded 42x42 badge style from .mf545-chat-brand > span. */
.mf545-chat-brand.mf6135-simple-auth > .mf612-native-copy{
  width:auto !important;
  height:auto !important;
  min-width:0;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  padding:0 !important;
  place-items:initial !important;
}
