/* Extasy Club – Community Builder profile-only skin, scoped to prevent style leaks. */
body.extasy-cb-profile-page .contentrow.paradise-container{width:min(1500px,calc(100% - 40px));max-width:1500px;margin:0 auto;padding-top:78px;}
body.extasy-cb-profile-page .contentrow .p6-main{width:100%;min-width:0;max-width:none;}
body.extasy-cb-profile-page .extasy-cb-pagehero{margin:0 0 32px;font-family:inherit;color:#27323b;}
body.extasy-cb-profile-page .extasy-cb-pagebadge{margin:0 0 32px;display:inline-block;background:#d34360;color:#fff;padding:8px 24px;font-weight:800;font-style:italic;font-size:16px;line-height:1.3;transform:skew(-10deg);box-shadow:-9px 9px 0 -2px #293640;}
body.extasy-cb-profile-page .extasy-cb-pagebadge span{display:block;transform:skew(10deg);}
body.extasy-cb-profile-page .extasy-cb-pagehero h1{font-weight:850;font-size:clamp(42px,5vw,67px);letter-spacing:-.035em;line-height:1.12;margin:0 0 26px;color:#27323b;}
body.extasy-cb-profile-page .extasy-cb-pageline{display:block;width:110px;height:4px;background:#d34360;margin:0 0 23px;}
body.extasy-cb-profile-page .extasy-cb-pagehero p{margin:0;font-size:17px;line-height:1.6;color:#64798b;}
/* The CB profile is narrow in its factory style; match Paradise's page width. */
body.extasy-cb-profile-page :is(#cbProfile, .cbProfile, .cbProfileView, .cbProfileWrapper, .cb_template_default, .cbTemplate, .cbProfilePage){max-width:100%!important;width:100%;box-sizing:border-box;}
body.extasy-cb-profile-page :is(.cbProfileHeader, .cbProfileCanvas, .cbCanvas, .cbProfileCover, .cbProfileHeaderOuter){border-radius:20px 20px 0 0;overflow:hidden;}
body.extasy-cb-profile-page :is(.cbProfileHeader, .cbProfileCanvas, .cbCanvas){background-color:#22333e;}
body.extasy-cb-profile-page :is(.cbProfile, .cbProfileView, #cbProfile) :is(.card, .cbProfileTab, .cbTabs, .cbProfileHeader, .cbProfileCanvas){box-shadow:0 12px 32px rgba(22,43,57,.08);}
body.extasy-cb-profile-page :is(.cbProfile, .cbProfileView, #cbProfile) a{color:#d34360;}
body.extasy-cb-profile-page :is(.cbProfile, .cbProfileView, #cbProfile) a:hover{color:#a72c48;}
body.extasy-cb-profile-page :is(.cbProfile, .cbProfileView, #cbProfile) :is(.btn-primary, .btn-success, .cbButtonPrimary){background:#d34360;border-color:#d34360;color:#fff;}
body.extasy-cb-profile-page :is(.cbProfile, .cbProfileView, #cbProfile) :is(.btn-primary, .btn-success, .cbButtonPrimary):hover{background:#b73452;border-color:#b73452;}
body.extasy-cb-profile-page :is(.cbProfile, .cbProfileView, #cbProfile) :is(.nav-tabs, .cbTabs){border-bottom:1px solid #e6ebf0;background:#fff;}
body.extasy-cb-profile-page :is(.cbProfile, .cbProfileView, #cbProfile) .nav-tabs .nav-link.active{color:#d34360;border-bottom:3px solid #d34360;font-weight:800;}
body.extasy-cb-profile-page :is(.cbProfile, .cbProfileView, #cbProfile) :is(.avatar, .cbAvatar, .cbUserAvatar) img{object-fit:cover;}
body.extasy-cb-profile-page :is(.cbProfile, .cbProfileView, #cbProfile) :is(input, textarea, select){border-radius:9px;}
@media(max-width:760px){body.extasy-cb-profile-page .contentrow.paradise-container{width:calc(100% - 24px);padding-top:38px;}body.extasy-cb-profile-page .extasy-cb-pagebadge{margin-bottom:24px;}body.extasy-cb-profile-page .extasy-cb-pagehero{margin-bottom:24px;}body.extasy-cb-profile-page .extasy-cb-pagehero h1{font-size:42px;}body.extasy-cb-profile-page :is(.cbProfile, .cbProfileView, #cbProfile){min-width:0;}}

/* CB page v2.9: cohesive profile surfaces and spacing */
body.extasy-cb-profile-page :is(#cbProfile,.cbProfile,.cbProfileView,.cbProfileWrapper){min-width:0;overflow-wrap:anywhere}
body.extasy-cb-profile-page :is(#cbProfile,.cbProfile,.cbProfileView) :is(.cbProfileHeader,.cbProfileCanvas,.cbCanvas,.cbProfileCover){background-color:#233743!important}
body.extasy-cb-profile-page :is(#cbProfile,.cbProfile,.cbProfileView) :is(.cbProfileHeader,.cbProfileCanvas,.cbCanvas,.cbProfileCover) img{max-width:100%}
body.extasy-cb-profile-page :is(#cbProfile,.cbProfile,.cbProfileView) :is(.nav-tabs,.cbTabs){border-radius:0 0 12px 12px}
body.extasy-cb-profile-page :is(#cbProfile,.cbProfile,.cbProfileView) :is(.tab-content,.cbProfileTab,.cbTabContent){box-sizing:border-box;min-width:0;padding:24px clamp(18px,2.1vw,32px);background:#fff;border-radius:0 0 16px 16px}
body.extasy-cb-profile-page :is(#cbProfile,.cbProfile,.cbProfileView) :is(.cbTabContent,.tab-content) :is(.row,.cbField,.cbFieldRow){min-width:0}
body.extasy-cb-profile-page :is(#cbProfile,.cbProfile,.cbProfileView) :is(.cbTabContent,.tab-content) :is(.row,.cbField,.cbFieldRow)>:is(div,span){max-width:100%}
body.extasy-cb-profile-page :is(#cbProfile,.cbProfile,.cbProfileView) :is(.cbFieldTitle,.cbFieldLabel){font-weight:700;color:#536b7c}
@media(max-width:760px){body.extasy-cb-profile-page :is(#cbProfile,.cbProfile,.cbProfileView) :is(.tab-content,.cbProfileTab,.cbTabContent){padding:16px}body.extasy-cb-profile-page :is(#cbProfile,.cbProfile,.cbProfileView) :is(.nav-tabs,.cbTabs){overflow-x:auto}}


/* Paradise 6 / Extasy CB 3.0. Target real CB2 Canvas DOM classes. */
body.extasy-cb-page .contentrow.paradise-container {width:min(1500px,calc(100% - 40px));max-width:1500px;margin-inline:auto;min-width:0;}
body.extasy-cb-page .contentrow .p6-main {width:100%;max-width:100%;min-width:0;}
body.extasy-cb-page .p6-main :is(.cb_template,.cbTemplate,.cb_template_default,.cbCanvasLayout) {box-sizing:border-box;min-width:0;}
body.extasy-cb-profile-page .p6-main .cb_template {max-width:100%;width:100%;}
/* CB canvas is nested under .cb_template, rather than .cbProfileCanvas */
body.extasy-cb-profile-page .p6-main .cbCanvasLayout {width:100%;max-width:100%;border:1px solid #e2e8ed;border-radius:18px;box-shadow:0 12px 35px rgba(19,39,52,.09);background:#fff;overflow:visible;}
body.extasy-cb-profile-page .p6-main .cbCanvasLayoutTop {background:#233743!important;border-radius:17px 17px 0 0;overflow:hidden;}
body.extasy-cb-profile-page .p6-main .cbCanvasLayoutBackground {background:#233743!important;}
body.extasy-cb-profile-page .p6-main .cbCanvasLayoutBackground:not(:has(img)) {background:linear-gradient(120deg,#172e3c,#344b59)!important;}
/* Uploaded cover photos are allowed to remain visible */
body.extasy-cb-profile-page .p6-main .cbCanvasLayoutBackground img {display:block;max-width:100%;height:100%;object-fit:cover;}
body.extasy-cb-profile-page .p6-main .cbCanvasLayoutBody {padding:18px clamp(20px,3vw,38px) 22px!important;background:#fff;}
body.extasy-cb-profile-page .p6-main .cbCanvasLayoutContent {padding-left:0;}
body.extasy-cb-profile-page .p6-main .cbCanvasLayoutPhoto {z-index:2;}
body.extasy-cb-profile-page .p6-main .cbCanvasLayout .card-header {border:0;}
body.extasy-cb-profile-page .p6-main .cbCanvasLayout .card-body {border-radius:0 0 18px 18px;}
/* Detailed content after canvas: keep labels and values away from edge */
body.extasy-cb-profile-page .p6-main .cb_template :is(.tab-content,.cbTabContent,.cbTabPane,.tab-pane){box-sizing:border-box;min-width:0;padding:22px clamp(18px,2.2vw,34px)!important;background:rgba(255,255,255,.97);}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbField,.cbFieldRow,.cbTabContent) {min-width:0;overflow-wrap:anywhere;}
body.extasy-cb-profile-page .p6-main .cb_template :is(.nav-tabs,.cbNavBar,.cbTabs) {background:#f8fafb;}
body.extasy-cb-profile-page .p6-main .cb_template :is(.nav-tabs,.cbNavBar,.cbTabs) a {color:#c73d5a;}
/* edit profile: previously this route had NO Extasy stylesheet */
body.extasy-cb-page:not(.extasy-cb-profile-page) .contentrow.paradise-container{padding-top:72px;}
body.extasy-cb-page:not(.extasy-cb-profile-page) .p6-main .cb_template {width:100%;max-width:1500px;margin-inline:auto;padding:28px clamp(18px,3.5vw,52px);background:#fff;border:1px solid #e5eaee;border-radius:20px;box-shadow:0 14px 36px rgba(21,40,52,.08);}
body.extasy-cb-page:not(.extasy-cb-profile-page) .p6-main .cb_template h2:first-child {font-size:clamp(26px,3vw,36px);font-weight:850;color:#27323b;margin:0 0 24px;}
body.extasy-cb-page:not(.extasy-cb-profile-page) .p6-main :is(.nav-tabs,.cbTabs) {background:#f8fafb;border-radius:12px 12px 0 0;padding:8px;gap:4px;}
body.extasy-cb-page:not(.extasy-cb-profile-page) .p6-main :is(.nav-tabs,.cbTabs) a {color:#b63654;}
body.extasy-cb-page:not(.extasy-cb-profile-page) .p6-main :is(.nav-tabs,.cbTabs) .active a,body.extasy-cb-page:not(.extasy-cb-profile-page) .p6-main .nav-tabs .nav-link.active{color:#d34360;font-weight:800;background:white;}
body.extasy-cb-page .p6-main .cb_template :is(input[type=text],input[type=email],input[type=password],input[type=url],textarea,select){max-width:100%;border:1px solid #d9e1e6;border-radius:9px;background:#f9fbfc;}
body.extasy-cb-page .p6-main .cb_template textarea{min-height:125px;}
body.extasy-cb-page .p6-main .cb_template :is(.btn-primary,button[type=submit],input[type=submit]){background:#d34360!important;border-color:#d34360!important;color:#fff!important;border-radius:9px;}
body.extasy-cb-page .p6-main .cb_template :is(.btn-primary,button[type=submit],input[type=submit]):hover{background:#b53150!important;}
@media(max-width:760px){
 body.extasy-cb-page .contentrow.paradise-container{width:calc(100% - 24px);padding-top:35px!important;}
 body.extasy-cb-page:not(.extasy-cb-profile-page) .p6-main .cb_template{padding:18px 14px;}
 body.extasy-cb-page .p6-main .cb_template :is(.row,.cbFieldRow){max-width:100%;}
 body.extasy-cb-profile-page .p6-main .cb_template :is(.tab-content,.cbTabContent,.cbTabPane,.tab-pane){padding:16px!important;}
}


/* Extasy Community v3.2 – targeted corrections for CB's real Canvas layout.
   Keep CB's own positioning; don't turn Canvas body into flex or move it with margin-top. */
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayout {
  box-sizing:border-box;
  position:relative;
  border:1px solid #e2e9ee !important;
  border-radius:22px !important;
  overflow:visible !important;
  background:#fff !important;
  box-shadow:0 15px 36px rgba(21,43,54,.10) !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutTop {
  position:relative !important;
  height:200px !important;
  min-height:200px !important;
  padding:0 !important;
  background:linear-gradient(120deg,#172d39,#2c4858) !important;
  border-radius:21px 21px 0 0 !important;
  overflow:hidden !important;
}
/* The actual canvas content may have its own background color. Preserve cover photos. */
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutBackground {
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  border-radius:0 !important;
  background-color:#233e4c !important;
  background-image:linear-gradient(120deg,#182e3b,#304e5c) !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutBackground:has(img),
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutBackground[style*="background-image"] {
  background-image:none !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutBackground :is(img,.cbImageField,img.cbImageField) {
  display:block;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutBottom {
  position:relative !important;
  min-height:96px !important;
  background:#fff !important;
  border-radius:0 0 21px 21px !important;
  padding:0 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutPhoto {
  position:absolute !important;
  top:-66px !important;
  left:24px !important;
  margin:0 !important;
  padding:0 !important;
  z-index:4 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutPhoto :is(img,.cbImgPict,.img-thumbnail) {
  width:126px !important;
  height:126px !important;
  max-width:126px !important;
  object-fit:cover !important;
  border:5px solid #fff !important;
  border-radius:50% !important;
  box-shadow:0 8px 24px rgba(15,35,45,.17) !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutBody {
  box-sizing:border-box;
  position:relative !important;
  display:block !important;
  margin:0 !important;
  min-height:96px !important;
  padding:16px 24px 16px 177px !important;
  background:#fff !important;
  border-radius:0 0 21px 21px !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutContent {
  box-sizing:border-box;
  display:block !important;
  width:auto !important;
  min-width:0 !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  color:#627785 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutContent :is(a,.cbUserTitle,.cbCanvasLayoutName) {
  color:#263642 !important;
  font-weight:800 !important;
}
/* CB toolbar stays within the card, but menus float above it instead of becoming full width. */
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbCanvasLayoutTop,.cbCanvasLayout,.cbProfileHeader) :is(.dropdown,.btn-group) {position:relative !important;}
body.extasy-cb-profile-page .p6-main .cb_template .dropdown-menu {
  box-sizing:border-box !important;
  position:absolute !important;
  inset:auto auto auto 0 !important;
  transform:none !important;
  width:260px !important;
  min-width:220px !important;
  max-width:min(300px,calc(100vw - 35px)) !important;
  height:auto !important;
  padding:7px !important;
  border:1px solid #e1e8ed !important;
  border-radius:12px !important;
  background:#fff !important;
  box-shadow:0 18px 40px rgba(17,33,45,.18) !important;
  z-index:1050 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .dropdown-menu:not(.show) {display:none !important;}
body.extasy-cb-profile-page .p6-main .cb_template .open > .dropdown-menu {display:block !important;}
body.extasy-cb-profile-page .p6-main .cb_template .dropdown-menu :is(a,.dropdown-item) {
  display:block !important;
  box-sizing:border-box !important;
  width:100% !important;
  margin:0 !important;
  padding:10px 12px !important;
  color:#27343e !important;
  background:transparent !important;
  border:0 !important;
  border-radius:8px !important;
  white-space:normal !important;
  font-size:14px !important;
  line-height:1.4 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .dropdown-menu :is(a,.dropdown-item):hover {background:#fff0f4 !important;color:#b52c4b !important;}
/* Show profile tabs and content as one continuous surface. */
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.nav-tabs,.cbNavBar) {
  border:1px solid #e8edf1 !important;
  background:#fafbfc !important;
  padding:0 20px !important;
  border-radius:13px 13px 0 0 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.tab-content,.cbTabContent,.cbTabPane,.tab-pane) {
  padding:24px 28px !important;
  background:#fff !important;
  box-sizing:border-box !important;
  min-width:0 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.nav-tabs,.cbNavBar) + :is(.tab-content,.cbTabContent,.cbTabPane,.tab-pane) {border-radius:0 0 16px 16px !important;}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbField,.cbFieldRow,.cbTabContent) {overflow-wrap:anywhere;}
/* Keep CB’s profile-edit typography and buttons scoped to its form. */
body.extasy-cb-page:not(.extasy-cb-profile-page) .p6-main .cb_template :is(.btn-primary,button[type=submit],input[type=submit]) {
  background:#d34360!important;
  border-color:#d34360!important;
  color:#fff!important;
}
@media(max-width:760px){
 body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutTop {height:145px !important;min-height:145px !important;}
 body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutPhoto {top:-48px !important;left:15px !important;}
 body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutPhoto :is(img,.cbImgPict,.img-thumbnail) {width:94px!important;height:94px!important;max-width:94px!important;}
 body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutBody {padding:14px 15px 16px 120px!important;min-height:90px!important;}
 body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.nav-tabs,.cbNavBar) {padding:0 10px!important;overflow-x:auto;}
 body.extasy-cb-profile-page .p6-main .cb_template :is(.tab-content,.cbTabContent,.cbTabPane,.tab-pane) {padding:16px!important;}
}

/* v3.3 – fallback for CB menus rendered outside the .cb_template wrapper */
body.extasy-cb-profile-page :is(.dropdown-menu,.cbMenuNavBar .dropdown-menu,.cbMenuDropdown,.cbMenuPopup) {
  box-sizing:border-box!important;
  width:260px!important;
  min-width:0!important;
  max-width:calc(100vw - 24px)!important;
  height:auto!important;
  border:1px solid #e5eaf0!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 16px 36px rgba(20,38,51,.2)!important;
  z-index:99999!important;
}
body.extasy-cb-profile-page :is(.dropdown-menu,.cbMenuDropdown,.cbMenuPopup) a {
  box-sizing:border-box!important;
  max-width:100%!important;
  white-space:normal!important;
}


/* ========================================================================
   Extasy Community v3.4 – coherent member card (visual overrides only).
   Deliberately leaves the functioning CB 3.3 dropdown handler untouched.
   ======================================================================== */
body.extasy-cb-profile-page .p6-main .cb_template {
  width:100% !important;
  max-width:100% !important;
  background:transparent;
  box-sizing:border-box;
}
/* Neutral, contiguous outer shell for header, tabs and member details. */
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayout {
  background:#fff !important;
  border:1px solid #e3e9ef !important;
  border-bottom:0 !important;
  border-radius:22px 22px 0 0 !important;
  box-shadow:0 14px 36px rgba(27,47,61,.09) !important;
  margin:0 !important;
  overflow:visible !important;
}
/* Cover is deliberately shorter. The overlay recolors the stock brown
   canvas without deleting any uploaded background photo. */
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutTop {
  position:relative !important;
  height:170px !important;
  min-height:170px !important;
  border-radius:21px 21px 0 0 !important;
  background:#203745 !important;
  overflow:hidden !important;
  isolation:isolate;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutTop::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(105deg,rgba(22,43,56,.88),rgba(38,66,79,.74)) !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutTop :is(a,button,.dropdown,.btn-group) {
  position:relative;
  z-index:3;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutBackground {
  background-color:#213a49 !important;
}
/* Info strip directly below cover, with avatar overlapping exactly once. */
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutBottom {
  position:relative !important;
  background:#fff !important;
  border-radius:0 !important;
  min-height:105px !important;
  margin:0 !important;
  padding:0 !important;
  box-shadow:none !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutPhoto {
  top:-59px !important;
  left:27px !important;
  z-index:5 !important;
  filter:none !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutPhoto :is(img,.cbImgPict,.img-thumbnail) {
  width:116px !important;
  height:116px !important;
  max-width:116px !important;
  border:5px solid #fff !important;
  border-radius:50% !important;
  background:#d34360;
  box-shadow:0 7px 22px rgba(32,49,60,.14) !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutBody {
  background:#fff !important;
  padding:18px 30px 18px 170px !important;
  min-height:105px !important;
  margin:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutContent {
  min-width:0 !important;
  max-width:100% !important;
  padding:0 !important;
  margin:0 !important;
  color:#617685 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutContent a {
  color:#273642 !important;
  font-weight:800 !important;
  font-size:clamp(21px,2vw,26px);
  text-decoration:none;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutContent a:hover {color:#c93e5a!important;}
/* Join the profile's tab bar and details into the same white card. */
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.nav-tabs,.cbNavBar) {
  margin:0 !important;
  padding:0 22px !important;
  background:#fff !important;
  border:0 !important;
  border-top:1px solid #edf1f4 !important;
  border-bottom:1px solid #edf1f4 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.nav-tabs,.cbNavBar) a {
  font-size:14px !important;
  font-weight:750;
  color:#647687 !important;
  padding:14px 0 !important;
  margin-right:27px !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.nav-tabs,.cbNavBar) :is(.active a,.nav-link.active) {
  color:#263642 !important;
  box-shadow:inset 0 -3px 0 #d34360 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.tab-content,.cbTabContent,.cbTabPane,.tab-pane) {
  margin:0 !important;
  background:#fff !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:24px 30px !important;
}
/* Keep all columns on a common surface; no detached gray side card. */
body.extasy-cb-profile-page .p6-main .cb_template :is(.tab-content,.cbTabContent,.cbTabPane,.tab-pane) :is(.card,.card-body) {
  background:#fff !important;
  border-color:#edf1f4 !important;
  box-shadow:none !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbField,.cbFieldRow,.cbFields) {
  color:#283946;
  font-size:15px;
  line-height:1.55;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbFieldTitle,.cbFieldLabel) {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.045em;
  color:#80909e !important;
  font-weight:800;
}
/* A small white backing behind CB's outer content is preferable to separate
   gray/white floating panes. This also handles the account-statistics tab. */
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabContent,.cbTabPane,.tab-content) {
  border-bottom:1px solid #e5ebef !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbCanvasLayout,.cbTabContent,.tab-content) .text-primary {
  color:#d34360 !important;
}
/* CB's edit dropdown remains managed by v3.3 – never force global width. */
@media(max-width:760px) {
  body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutTop {
    height:135px!important;min-height:135px!important;
  }
  body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutPhoto {top:-42px!important;left:17px!important;}
  body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutPhoto :is(img,.cbImgPict,.img-thumbnail) {width:88px!important;height:88px!important;max-width:88px!important;}
  body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutBody {padding:14px 16px 14px 120px!important;min-height:92px!important;}
  body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.nav-tabs,.cbNavBar) {padding:0 12px!important;overflow-x:auto;}
  body.extasy-cb-profile-page .p6-main .cb_template :is(.tab-content,.cbTabContent,.cbTabPane,.tab-pane) {padding:18px 15px!important;}
}


/* v3.5 – sjednocená lišta záložek a přehlednější seznamy.
   Scope is restricted to CB's public profile; navbar of website unchanged. */
body.extasy-cb-profile-page .p6-main .cb_template :is(
  .cbTabs, .cbNavBar, .cbProfileTabs, .cbCanvasLayoutTabs,
  .cbTabsLayout, .cbProfileMenu, .nav-tabs
) {
  box-sizing:border-box !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  border-radius:0 !important;
}
/* Container and its immediate tab wrappers should span the full profile panel */
body.extasy-cb-profile-page .p6-main .cb_template :is(
  .cbTabs, .cbNavBar, .cbProfileTabs, .cbCanvasLayoutTabs, .nav-tabs
) > :is(ul,.row,.container,.container-fluid) {
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(
  .cbTabs, .cbNavBar, .cbProfileTabs, .cbCanvasLayoutTabs, .nav-tabs
) {
  padding:0 clamp(18px,2.5vw,34px) !important;
  background:#fff !important;
  border:0 !important;
  border-bottom:1px solid #e6edf1 !important;
  box-shadow:none !important;
}
/* Keep one short indicator for selected tab only */
body.extasy-cb-profile-page .p6-main .cb_template :is(
  .cbTabs, .cbNavBar, .cbProfileTabs, .cbCanvasLayoutTabs, .nav-tabs
) a {
  text-decoration:none !important;
  background:transparent !important;
  box-shadow:none !important;
  border-bottom:none !important;
  padding:15px 0 !important;
  margin-right:28px !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(
  .cbTabs, .cbNavBar, .cbProfileTabs, .cbCanvasLayoutTabs, .nav-tabs
) :is(.active a, a.active, .nav-link.active) {
  box-shadow:inset 0 -3px 0 #d34360 !important;
}
/* Article entries: do not draw a pink line under every clickable title/category. */
body.extasy-cb-profile-page .p6-main .cb_template :is(
  .cbTabContent, .cbTabPane, .tab-pane, .tab-content
) :is(table,.table,.cbArticleList,.cbArticles,.cbBlogList) a {
  color:#273541 !important;
  text-decoration:none !important;
  text-decoration-color:transparent !important;
  box-shadow:none !important;
  border-bottom:none !important;
  background-image:none !important;
  font-weight:650;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(
  .cbTabContent, .cbTabPane, .tab-pane, .tab-content
) :is(table,.table,.cbArticleList,.cbArticles,.cbBlogList) a::before,
body.extasy-cb-profile-page .p6-main .cb_template :is(
  .cbTabContent, .cbTabPane, .tab-pane, .tab-content
) :is(table,.table,.cbArticleList,.cbArticles,.cbBlogList) a::after {
  content:none !important;
  display:none !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(
  .cbTabContent, .cbTabPane, .tab-pane, .tab-content
) :is(table,.table,.cbArticleList,.cbArticles,.cbBlogList) a:hover {
  color:#cf3f60 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(
  .cbTabContent, .cbTabPane, .tab-pane, .tab-content
) :is(table,.table) :is(tr,tbody tr) {
  background:transparent !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(
  .cbTabContent, .cbTabPane, .tab-pane, .tab-content
) :is(table,.table) td,
body.extasy-cb-profile-page .p6-main .cb_template :is(
  .cbTabContent, .cbTabPane, .tab-pane, .tab-content
) :is(table,.table) th {
  border-color:#e9eef2 !important;
  padding-top:13px !important;
  padding-bottom:13px !important;
}
@media(max-width:760px){
 body.extasy-cb-profile-page .p6-main .cb_template :is(
   .cbTabs,.cbNavBar,.cbProfileTabs,.cbCanvasLayoutTabs,.nav-tabs
 ) {overflow-x:auto; padding:0 14px !important;}
}



/* Extasy Community v3.8: natural flow, no JS-measured widths or offsets. */
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayout {
  margin-bottom:0 !important;
  border-radius:20px 20px 0 0 !important;
  border-bottom:0 !important;
}
/* Keep the navigation in the normal document flow, without moving wrappers. */
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabsLayout,.cbProfileTabs,.cbCanvasLayoutTabs) {
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
  margin:0 !important;
  padding:0 !important;
  background:#f3f6f8 !important;
  border:0 !important;
  border-top:1px solid #e4eaf0 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs) {
  display:flex !important;
  flex-flow:row wrap !important;
  align-items:center;
  gap:6px 24px !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0;
  box-sizing:border-box;
  margin:0 !important;
  padding:0 28px !important;
  border:0 !important;
  border-bottom:1px solid #e4eaf0 !important;
  border-radius:0 !important;
  background:#f3f6f8 !important;
  box-shadow:none !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs) > li {
  display:block !important;
  float:none !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs) :is(a,.nav-link) {
  display:inline-flex !important;
  align-items:center;
  gap:6px;
  width:auto !important;
  margin:0 !important;
  padding:16px 0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#526879 !important;
  text-decoration:none !important;
  box-shadow:none !important;
  white-space:nowrap;
  font-weight:700;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs) :is(.active a,a.active,.nav-link.active) {
  color:#cb3b59 !important;
  box-shadow:inset 0 -3px 0 #d34360 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabContent,.cbTabPane,.tab-content,.tab-pane,.cbProfileTab) {
  border:0 !important;
  border-radius:0 0 20px 20px;
  margin-top:0 !important;
  box-shadow:none !important;
  background:#fff !important;
}
/* Avoid decorating article links as pink underlined mini-bars. */
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabContent,.cbTabPane,.tab-content,.tab-pane) :is(table,.table) a {
  color:#273541 !important;
  background-image:none !important;
  border-bottom:0 !important;
  box-shadow:none !important;
  text-decoration:none !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabContent,.cbTabPane,.tab-content,.tab-pane) :is(table,.table) a:hover {color:#cb3b59 !important;}
@media(max-width:760px){
 body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs){padding:0 14px !important;gap:4px 16px !important;}
 body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs) :is(a,.nav-link){padding:12px 0 !important;}
}


/* v3.9: one white profile surface; calm full-width navigation ribbon.
   Only front-end Community Builder profile pages. */

/* The public profile's CB content region, including its statistics column,
   has one continuous white surface, rather than nested white/blue-gray cards. */
body.extasy-cb-profile-page .p6-main :is(.cb_template,.cb_template_default,.cbTemplate) {
  background:#fff !important;
  border-radius:20px !important;
  overflow:visible;
  box-shadow:0 18px 36px rgba(25,43,55,.10);
}
body.extasy-cb-profile-page .p6-main .cb_template :is(
 .cbProfile,.cbProfileView,.cbProfileWrapper,.cbProfileTab,
 .cbTabsLayout,.cbTabContent,.cbTabPane,.tab-content,.tab-pane,
 .cbProfileTabs,.cbCanvasLayoutTabs,.cbNavBar,.cbTabs,
 .cbTabContainer,.cbTabContents,.cbPosTabMain,.cbPosTabMiddle,
 .cbPosTabSide,.cbPosTabRight,.cbPosTabLeft
) {
  background-color:#fff !important;
  box-shadow:none !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayout {
  border-radius:20px 20px 0 0 !important;
  box-shadow:none !important;
  margin-bottom:0 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template .cbCanvasLayoutBody {
  border-radius:0 !important;
  margin-bottom:0 !important;
}

/* Bar occupies whole lower card, with a single subtle tinted background. */
body.extasy-cb-profile-page .p6-main .cb_template :is(
 .cbTabsLayout,.cbProfileTabs,.cbCanvasLayoutTabs,.cbTabs,.cbNavBar,.nav-tabs
) {
  background:#f4f6f8 !important;
  border-radius:0 !important;
  border-top:0 !important;
  border-bottom:1px solid #e8edf0 !important;
  box-shadow:none !important;
  margin:0 !important;
  max-width:none !important;
  min-height:56px;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs) {
  display:flex !important;
  flex-flow:row wrap !important;
  align-items:center !important;
  align-content:center !important;
  gap:8px 22px !important;
  padding:0 28px !important;
  width:100% !important;
}
/* CB may render tabs as adjacent anchors, inline <span>s or list items.
   Separate all three layouts without affecting other links in profile. */
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs) > li,
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs) > div,
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs) > span {
  display:inline-flex !important;
  float:none !important;
  flex:0 0 auto !important;
  align-items:center;
  margin:0 22px 0 0 !important;
  padding:0 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs) :is(a,.nav-link) {
  display:inline-flex !important;
  align-items:center !important;
  flex:0 0 auto !important;
  width:auto !important;
  min-height:56px;
  padding:14px 0 !important;
  margin:0 22px 0 0 !important;
  line-height:1.3 !important;
  white-space:nowrap;
  font-weight:700 !important;
  color:#516779 !important;
  border:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  text-decoration:none !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs) :is(
 .active a,a.active,.nav-link.active
) {
  color:#d34360 !important;
  box-shadow:inset 0 -3px 0 #d34360 !important;
}
body.extasy-cb-profile-page .p6-main .cb_template :is(
 .cbTabContent,.cbTabPane,.tab-content,.tab-pane,.cbProfileTab,
 .cbTabContainer,.cbTabContents
) {
  background:#fff !important;
  border:0 !important;
  border-radius:0 0 20px 20px !important;
  box-shadow:none !important;
  margin:0 !important;
}
/* Extend the white background beneath both the details and stats columns. */
body.extasy-cb-profile-page .p6-main .cb_template :is(
 .cbTabContent,.tab-content,.cbProfileTab,.cbTabContainer
) :is(.row,[class*="col-"],.cbPosTabSide,.cbPosTabRight,.cbPosTabMain) {
  background:transparent !important;
  box-shadow:none !important;
}
/* Bottom corners on the content root rather than on individual inner columns. */
body.extasy-cb-profile-page .p6-main .cb_template {
  padding-bottom:0 !important;
  overflow:clip;
}
body.extasy-cb-profile-page .p6-main .cb_template > :last-child {
  border-radius:0 0 20px 20px;
}
@media(max-width:760px) {
  body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs) {
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    padding:0 16px !important;
    gap:12px !important;
  }
  body.extasy-cb-profile-page .p6-main .cb_template :is(.cbTabs,.cbNavBar,.nav-tabs) :is(a,.nav-link) {
    min-height:50px;
    padding:12px 0 !important;
    margin-right:16px !important;
  }
}
