/* GewoonChatten 0.53.00 — Cody-achtige bediening, GC-techniek blijft intact. */

/* Chatterkaart: de volledige kaart blijft klikbaar; extra cue maakt dit zichtbaar. */
#usersPanel #users .userCard{touch-action:manipulation}
#usersPanel #users .userCard .uMeta::after{
  content:"›";display:inline-grid;place-items:center;width:16px;height:24px;margin-left:1px;
  color:rgba(226,235,246,.58);font:800 18px/1 system-ui;transition:transform .14s ease,color .14s ease;
}
#usersPanel #users .userCard:hover .uMeta::after{color:#fff;transform:translateX(2px)}
#usersPanel #users .userCard:focus-visible{outline:2px solid #e5bd62!important;outline-offset:2px!important}

/* Eén definitieve user-menu component. Bestaande data-user-action handlers blijven ongewijzigd. */
#gcUserMenuOverlay.gcUserMenuOverlay{
  position:fixed!important;inset:0!important;z-index:10020!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:max(10px,env(safe-area-inset-top)) 12px max(10px,env(safe-area-inset-bottom))!important;
  background:rgba(3,8,15,.68)!important;backdrop-filter:blur(8px)!important;
  overflow:hidden!important;overscroll-behavior:contain!important;
}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished{
  position:relative!important;inset:auto!important;width:min(424px,100%)!important;max-width:424px!important;
  max-height:min(760px,calc(100dvh - max(20px,env(safe-area-inset-top)) - max(20px,env(safe-area-inset-bottom))))!important;
  margin:0!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important;
  border:1px solid #334a64!important;border-radius:16px!important;
  background:linear-gradient(180deg,#142437 0%,#0b1724 100%)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.52),inset 0 1px rgba(255,255,255,.035)!important;
}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished>header{
  display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;align-items:center!important;gap:11px!important;
  min-height:70px!important;margin:0!important;padding:10px 58px 10px 11px!important;
  border-bottom:1px solid #2a3f55!important;background:#18283a!important;
}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished>header .uAvatar{
  width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;flex:0 0 46px!important;
  padding:0!important;overflow:hidden!important;border:1px solid #49647f!important;border-radius:50%!important;background:#122234!important;
}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished>header .uAvatar img{width:100%!important;height:100%!important;object-fit:cover!important}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished>header b{
  display:block!important;min-width:0!important;font-size:17px!important;line-height:1.08!important;font-weight:900!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#f6f8fb!important;
}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished>header small{display:block!important;margin-top:3px!important;color:#9dafc3!important;font-size:10px!important;line-height:1.2!important}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuClose{
  position:absolute!important;top:10px!important;right:10px!important;z-index:3!important;width:40px!important;height:40px!important;
  min-width:40px!important;min-height:40px!important;padding:0!important;border:1px solid #40566f!important;border-radius:11px!important;
  background:#0f1e2f!important;color:#eaf1f8!important;font-size:24px!important;line-height:1!important;display:grid!important;place-items:center!important;
  touch-action:manipulation!important;transform:none!important;
}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuClose::before,
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuClose::after{display:none!important}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuBody{
  margin:0!important;padding:8px 10px 11px!important;max-height:calc(100dvh - 106px)!important;
  overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
  scrollbar-width:thin!important;scrollbar-color:#40546a transparent!important;
}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuSectionLabel{
  margin:9px 3px 5px!important;padding:0!important;color:#90a5bb!important;font-size:8px!important;line-height:1!important;
  font-weight:950!important;letter-spacing:.12em!important;text-transform:uppercase!important;
}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuSectionLabel:first-child{margin-top:2px!important}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuGrid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:0!important;padding:0!important;
}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuGrid>button,
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuGrid>span[data-friend-action-slot]>button,
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuModerationPair>button{
  width:100%!important;min-width:0!important;height:auto!important;min-height:48px!important;margin:0!important;padding:7px 9px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;
  border:1px solid #2d465f!important;border-radius:10px!important;background:#0e1d2c!important;color:#f1f5f9!important;
  text-align:left!important;font-size:11px!important;font-weight:820!important;line-height:1.13!important;transform:none!important;
  touch-action:manipulation!important;
}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuGrid>button:hover,
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuGrid>span[data-friend-action-slot]>button:hover{border-color:#547397!important;background:#13273b!important}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuGrid>span[data-friend-action-slot]{display:block!important;min-width:0!important;width:100%!important}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcActionIcon{
  flex:0 0 29px!important;width:29px!important;height:29px!important;min-width:29px!important;display:grid!important;place-items:center!important;
  border-radius:8px!important;background:#182c40!important;font-size:14px!important;line-height:1!important;
}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuCallBlock,
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuInvestigation>button{grid-column:1/-1!important}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuModerationPair{
  grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuBan{border-color:#7a3543!important;background:#291720!important;color:#ff98aa!important}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuGhost{border-color:#60447f!important;background:#21182f!important;color:#dfb2ff!important}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuGhost.isActive{border-color:#8d5cb8!important;background:#301b43!important;color:#f0c8ff!important}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuModerationWide{grid-column:1/-1!important}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .friendFriends{border-color:#2b7e5e!important;background:#103a2e!important;color:#9cecc2!important}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcGuestPmHint{margin:7px 0 0!important}
#gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserInsight{margin-top:8px!important;border-radius:11px!important}

@media(max-width:700px){
  #gcUserMenuOverlay.gcUserMenuOverlay{
    align-items:flex-end!important;justify-content:center!important;padding:max(8px,env(safe-area-inset-top)) 0 0!important;
  }
  #gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished{
    width:100%!important;max-width:none!important;max-height:calc(100dvh - max(8px,env(safe-area-inset-top)))!important;
    border-left:0!important;border-right:0!important;border-bottom:0!important;border-radius:18px 18px 0 0!important;
  }
  #gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuBody{
    max-height:calc(100dvh - max(8px,env(safe-area-inset-top)) - 70px)!important;
    padding-bottom:max(14px,calc(env(safe-area-inset-bottom) + 8px))!important;
  }
  #gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished>header{min-height:68px!important;padding-right:58px!important}
  #gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuClose{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
}
@media(max-width:350px){
  #gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuGrid{grid-template-columns:1fr!important}
  #gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuCallBlock,
  #gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuInvestigation>button,
  #gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuModerationWide{grid-column:auto!important}
  #gcUserMenuOverlay .gcUserMenu.gcUserMenuPolished .gcUserMenuModerationPair{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){#gcUserMenuOverlay *,#usersPanel #users .userCard .uMeta::after{transition:none!important}}

/* === GewoonChatten 0.63.01 — canonical Cody public profile === */
/* Definitieve profielcomponent: één tab is exact één zichtbaar pane. */
body.gcCodyFamiliarV3 #profileModal .profileModalCard{
  width:min(600px,calc(100vw - 20px))!important;
  max-height:min(860px,94dvh)!important;
  overflow:hidden!important;
  border-radius:12px!important;
}
body.gcCodyFamiliarV3 #profileModal #profileContent{min-height:0!important;overflow:hidden!important}
body.gcCodyFamiliarV3 #profileModal .gcProfile{
  display:flex!important;flex-direction:column!important;min-height:0!important;
  max-height:min(850px,93dvh)!important;overflow:hidden!important;background:#101d2a!important;
}
body.gcCodyFamiliarV3 #profileModal .gcProfileHero{
  flex:0 0 auto!important;min-height:198px!important;height:auto!important;
  padding:38px 58px 14px!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;
}
body.gcCodyFamiliarV3 #profileModal .gcProfileAvatar{
  width:100px!important;height:100px!important;min-width:100px!important;min-height:100px!important;flex:0 0 100px!important;
  margin:0 auto 7px!important;border:4px solid #eef3f7!important;border-radius:var(--gc-avatar-radius,50%)!important;
  overflow:visible!important;
}
body.gcCodyFamiliarV3 #profileModal .gcProfileAvatar img{
  display:block!important;width:100%!important;height:100%!important;aspect-ratio:1/1!important;
  object-fit:cover!important;object-position:center!important;padding:0!important;background:#102235!important;
  border-radius:var(--gc-avatar-radius,50%)!important;
}
html[data-gc-avatar-shape="square"] body.gcCodyFamiliarV3 #profileModal .gcProfileAvatar{border-radius:15px!important}
html[data-gc-avatar-shape="square"] body.gcCodyFamiliarV3 #profileModal .gcProfileAvatar img{border-radius:11px!important}
body.gcCodyFamiliarV3 #profileModal .gcProfileAvatar>i{width:16px!important;height:16px!important;right:-2px!important;bottom:3px!important}
body.gcCodyFamiliarV3 #profileModal .gcProfileNameLine h2{font-size:26px!important;line-height:1.08!important;margin:0!important}
body.gcCodyFamiliarV3 #profileModal .gcProfileIdentity>p{margin:2px 0!important;font-size:12px!important}
body.gcCodyFamiliarV3 #profileModal .gcProfileStatusRow{gap:6px!important;margin-top:3px!important}

body.gcCodyFamiliarV3 #profileModal .gcCodyProfilePrimaryActions{
  flex:0 0 auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;
  margin:0!important;padding:0!important;border-top:1px solid #2a4257!important;border-bottom:1px solid #2a4257!important;background:#182c40!important;
}
body.gcCodyFamiliarV3 #profileModal .gcCodyProfilePrimaryActions .gcCodyPrimaryAction{
  min-height:48px!important;padding:7px 8px!important;margin:0!important;border:0!important;border-right:1px solid #2a4257!important;
  border-radius:0!important;background:transparent!important;color:#f2f6fa!important;font-size:12px!important;font-weight:800!important;box-shadow:none!important;
}
body.gcCodyFamiliarV3 #profileModal .gcCodyProfilePrimaryActions .gcCodyPrimaryAction:last-child{border-right:0!important}
body.gcCodyFamiliarV3 #profileModal .gcCodyProfilePrimaryActions .gcCodyPrimaryAction:hover{background:#20384f!important}

body.gcCodyFamiliarV3 #profileModal .gcProfileTabs{
  flex:0 0 44px!important;min-height:44px!important;display:flex!important;align-items:stretch!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;background:#193047!important;
  border-bottom:1px solid #304a62!important;position:relative!important;top:auto!important;z-index:12!important;
}
body.gcCodyFamiliarV3 #profileModal .gcProfileTabs::-webkit-scrollbar{display:none!important}
body.gcCodyFamiliarV3 #profileModal .gcProfileTabs button{
  flex:1 0 auto!important;min-width:84px!important;height:44px!important;padding:0 10px!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:#b9c9d8!important;font-size:11.5px!important;font-weight:800!important;white-space:nowrap!important;box-shadow:none!important;
}
body.gcCodyFamiliarV3 #profileModal .gcProfileTabs button.active{
  color:#fff!important;background:#213a52!important;box-shadow:inset 0 -3px 0 var(--profile-accent,#e0b94f)!important;
}

/* Dit wint bewust van oudere compatibility-regels. */
body.gcCodyFamiliarV3 #profileModal .gcProfilePane{
  display:none!important;flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;
  overflow-y:auto!important;overflow-x:hidden!important;padding:0 14px max(16px,env(safe-area-inset-bottom))!important;
  background:#101d2a!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;
}
body.gcCodyFamiliarV3 #profileModal .gcProfilePane.active:not(.hidden){display:block!important}
body.gcCodyFamiliarV3 #profileModal .gcProfilePane.hidden{display:none!important}

body.gcCodyFamiliarV3 #profileModal .gcCodyProfileInfoHeading,
body.gcCodyFamiliarV3 #profileModal .gcCodyMoreHeading{
  display:grid!important;gap:2px!important;padding:13px 2px 9px!important;margin:0!important;border-bottom:1px solid #2b4257!important;
}
body.gcCodyFamiliarV3 #profileModal .gcCodyProfileInfoHeading b,
body.gcCodyFamiliarV3 #profileModal .gcCodyMoreHeading b{font-size:13px!important}
body.gcCodyFamiliarV3 #profileModal .gcCodyProfileInfoHeading small,
body.gcCodyFamiliarV3 #profileModal .gcCodyMoreHeading span{font-size:10px!important;color:#97aabd!important}

body.gcCodyFamiliarV3 #profileModal .profileInfoRow{
  display:grid!important;grid-template-columns:minmax(130px,.8fr) minmax(0,1.2fr)!important;align-items:center!important;
  gap:12px!important;min-height:46px!important;margin:0!important;padding:9px 3px!important;border:0!important;
  border-bottom:1px solid #293f53!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
body.gcCodyFamiliarV3 #profileModal .profileInfoRow span{font-size:12px!important;color:#c5d2de!important}
body.gcCodyFamiliarV3 #profileModal .profileInfoRow strong{
  font-size:12px!important;color:#f2f5f8!important;text-align:right!important;overflow-wrap:anywhere!important;
}
body.gcCodyFamiliarV3 #profileModal .profileBio{
  margin:0!important;padding:14px 3px!important;border:0!important;border-bottom:1px solid #293f53!important;border-radius:0!important;
  background:transparent!important;font-size:13px!important;line-height:1.55!important;
}
body.gcCodyFamiliarV3 #profileModal .profileFriendsPane,
body.gcCodyFamiliarV3 #profileModal #profileGiftsPane,
body.gcCodyFamiliarV3 #profileModal .profilePhotoGrid{padding-top:10px!important}
body.gcCodyFamiliarV3 #profileModal .gcCodyProfileSecondaryActions{margin-top:10px!important}

@media(max-width:700px){
  body.gcCodyFamiliarV3 #profileModal .profileModalCard{
    width:100%!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;
  }
  body.gcCodyFamiliarV3 #profileModal .gcProfile{height:100%!important;max-height:100%!important}
  body.gcCodyFamiliarV3 #profileModal .gcProfileHero{min-height:184px!important;padding:34px 48px 11px!important}
  body.gcCodyFamiliarV3 #profileModal .gcProfileAvatar{
    width:92px!important;height:92px!important;min-width:92px!important;min-height:92px!important;flex-basis:92px!important;
  }
  body.gcCodyFamiliarV3 #profileModal .gcProfileNameLine h2{font-size:23px!important}
  body.gcCodyFamiliarV3 #profileModal .gcCodyProfilePrimaryActions .gcCodyPrimaryAction{min-height:46px!important;font-size:11px!important}
  body.gcCodyFamiliarV3 #profileModal .gcProfileTabs{flex:0 0 44px!important;min-height:44px!important}
  body.gcCodyFamiliarV3 #profileModal .gcProfileTabs button{flex:0 0 auto!important;min-width:88px!important;height:44px!important;font-size:11px!important}
  body.gcCodyFamiliarV3 #profileModal .gcProfilePane{padding-left:12px!important;padding-right:12px!important}
  body.gcCodyFamiliarV3 #profileModal .profileInfoRow{
    grid-template-columns:minmax(112px,.8fr) minmax(0,1.2fr)!important;min-height:44px!important;padding:8px 2px!important;gap:10px!important;
  }
  body.gcCodyFamiliarV3 #profileModal .profileInfoRow span,
  body.gcCodyFamiliarV3 #profileModal .profileInfoRow strong{font-size:11.5px!important}
}
@media(max-width:380px){
  body.gcCodyFamiliarV3 #profileModal .gcProfileHero{min-height:174px!important;padding-top:31px!important}
  body.gcCodyFamiliarV3 #profileModal .gcProfileAvatar{
    width:86px!important;height:86px!important;min-width:86px!important;min-height:86px!important;flex-basis:86px!important;
  }
  body.gcCodyFamiliarV3 #profileModal .gcProfileTabs button{min-width:82px!important}
  body.gcCodyFamiliarV3 #profileModal .profileInfoRow{grid-template-columns:minmax(100px,.75fr) minmax(0,1.25fr)!important}
}
