/* Couples Lounge Club V442: photo-reference member sidebar, scoped to new classes only. */
html body:has(aside.clc-v442-sidebar) .qa-global-shell {
  display:grid !important;
  grid-template-columns: 314px minmax(0,1fr) !important;
  column-gap:18px !important;
  align-items:start !important;
  max-width:none !important;
  margin-top:14px !important;
  min-width:0 !important;
}
html body:has(aside.clc-v442-sidebar) .qa-global-shell > .qa-global-main {
  grid-column:2 !important;
  min-width:0 !important;
}
/* The old profile editor includes an obsolete second sidebar; show only the shared one. */
html body:has(aside.clc-v442-sidebar) .qa-global-main .qap-workspace > aside.qap-sidebar {
  display:none !important;
}
html body:has(aside.clc-v442-sidebar) .qa-global-main .qap-workspace {
  display:block !important;
  grid-template-columns: minmax(0,1fr) !important;
  max-width:100%;
  width:100%;
  min-width:0;
}
html body:has(aside.clc-v442-sidebar) .qa-global-main .qap-workspace-main {width:100%;min-width:0}
html body:has(aside.clc-v442-sidebar) .top {padding-left:max(335px,20px)}
/* Outer frame: fixed premium nav like the example, independent of legacy qap-sidebar rules. */
html body aside.clc-v442-sidebar {
  --clc442-gold:#f2c76e;
  --clc442-gold2:#c28b38;
  box-sizing:border-box !important;
  position:fixed !important;
  inset:2px auto 2px 9px !important;
  z-index:850 !important;
  width:314px !important;
  height:calc(100vh - 4px) !important;
  height:calc(100dvh - 4px) !important;
  max-width:calc(100vw - 18px) !important;
  padding:8px 12px 0 !important;
  display:flex !important;
  flex-direction:column !important;
  color:#f1e7d2 !important;
  background:linear-gradient(140deg,#11100e 0%,#08090b 55%,#14100a 100%) !important;
  border:1px solid #c49a51 !important;
  border-radius:13px !important;
  box-shadow:0 0 0 1px #000, 0 9px 48px #000a, inset 0 0 26px #35230720 !important;
  font:13px/1.25 'Segoe UI',Arial,sans-serif !important;
  overflow:hidden !important;
  isolation:isolate;
}
html body .clc-v442-sidebar *,html body .clc-v442-sidebar *::before,html body .clc-v442-sidebar *::after {box-sizing:border-box}
html body .clc-v442-sidebar .clc-v442-brand {
  flex:0 0 auto; display:flex;flex-direction:column;justify-content:center;align-items:center;
  min-height:73px;gap:2px;color:#f4c873;padding:2px 3px 9px;
}
html body .clc-v442-sidebar .clc-v442-brand img {display:block;width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 0 3px #e4a94b40)}
html body .clc-v442-sidebar .clc-v442-brand strong {
  color:#f5d28c;font:700 14.4px/1.2 Georgia,'Times New Roman',serif;
  white-space:nowrap !important;letter-spacing:.015em;text-align:center;text-shadow:0 1px 4px #000;
}
html body .clc-v442-sidebar .clc-v442-identity {
  flex:0 0 auto;display:flex !important;align-items:center;gap:12px;
  margin:0 6px 10px;padding:0;
  color:#f5dfac !important;text-decoration:none !important;
}
html body .clc-v442-sidebar .clc-v442-avatar {
  flex:0 0 49px !important;width:49px !important;height:49px !important;
  display:grid;place-items:center;
  border-radius:50% !important;object-fit:cover !important;
  border:2px solid #d5a85f !important;
  background:linear-gradient(135deg,#30251b,#08090b) !important;
  box-shadow:0 0 0 2px #19140f !important;
  color:#f6d79b !important;
  font:28px Georgia,serif !important;
}
html body .clc-v442-sidebar .clc-v442-identity-copy{display:grid;gap:2px;min-width:0}
html body .clc-v442-sidebar .clc-v442-identity-copy strong{font:700 15px/1.12 'Segoe UI',Arial,sans-serif;color:#ffe4a9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .clc-v442-sidebar .clc-v442-identity-copy small{font:12px/1.2 'Segoe UI',Arial,sans-serif;color:#efd19b}
html body .clc-v442-sidebar .clc-v442-online{font:11px 'Segoe UI',Arial,sans-serif;color:#62d16a;display:inline-flex;gap:5px;align-items:center}
html body .clc-v442-sidebar .clc-v442-online>span{width:7px;height:7px;border-radius:50%;background:#59d35f}
html body .clc-v442-sidebar .clc-v442-search {
  flex:0 0 34px;display:flex;align-items:center;gap:7px;
  margin:0 8px 8px;padding:0 9px;
  border:1px solid #bb914e;border-radius:9px;
  background:#101114 !important;color:#efc16b !important;
}
html body .clc-v442-sidebar .clc-v442-search .clc-v442-ico{width:18px;height:18px;flex:0 0 18px}
html body .clc-v442-sidebar .clc-v442-search input {
  display:block;flex:1;min-width:0;width:100%;height:30px;
  background:transparent !important;border:0 !important;outline:0 !important;
  color:#fff0d9 !important;font:12px 'Segoe UI',Arial,sans-serif !important;
  box-shadow:none !important;padding:0 !important;margin:0 !important;
}
html body .clc-v442-sidebar .clc-v442-search input::placeholder{color:#ece3d6;opacity:.98}
html body .clc-v442-sidebar .clc-v442-search:focus-within{outline:2px solid #f2cf88;outline-offset:2px}
html body .clc-v442-sidebar .clc-v442-groups {
  display:block !important;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;min-height:0;
  padding:0 0 5px;margin:0 0 0 0 !important;
  scrollbar-width:thin;scrollbar-color:#73512c transparent;
}
html body .clc-v442-sidebar .clc-v442-group {display:block;border:0;margin:0;padding:0}
html body .clc-v442-sidebar .clc-v442-group > summary {
  display:flex;align-items:center;gap:11px;list-style:none;cursor:pointer;
  height:34px;min-height:34px;padding:5px 7px 4px;
  color:#f7cf85 !important;background:transparent !important;
  border:0;border-bottom:1px solid #51412d;
  border-radius:0;outline-offset:-2px;
  box-shadow:none !important;font:700 13px/1.2 'Segoe UI',Arial,sans-serif;
}
html body .clc-v442-sidebar .clc-v442-group > summary::-webkit-details-marker{display:none}
html body .clc-v442-sidebar .clc-v442-group > summary::marker{content:''}
html body .clc-v442-sidebar .clc-v442-group > summary:hover{background:#7c572117 !important}
html body .clc-v442-sidebar .clc-v442-group > summary:focus-visible{outline:2px solid #f1c574}
html body .clc-v442-sidebar .clc-v442-ico {flex:0 0 18px;width:18px;height:18px;display:block;color:#edbf60}
html body .clc-v442-sidebar .clc-v442-group > summary > span {flex:1;white-space:nowrap}
html body .clc-v442-sidebar .clc-v442-chevron{flex:0 0 16px;width:16px;height:16px;fill:none;stroke:#f1c56e;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4;transition:transform .18s}
html body .clc-v442-sidebar .clc-v442-group[open] .clc-v442-chevron{transform:rotate(180deg)}
html body .clc-v442-sidebar .clc-v442-links {display:grid;gap:0;padding:2px 0 5px}
html body .clc-v442-sidebar .clc-v442-links > a {
  position:relative;display:flex !important;align-items:center;gap:9px;
  padding:4px 9px 4px 25px !important;
  min-height:26px;line-height:1.3 !important;
  color:#eee9e1 !important;text-decoration:none !important;
  font:12.6px/1.25 'Segoe UI',Arial,sans-serif !important;
  border:1px solid transparent !important;border-radius:18px !important;
  background:transparent !important;box-shadow:none !important;
  white-space:nowrap !important;
}
html body .clc-v442-sidebar .clc-v442-links > a > span:not(.clc-v442-badge) {flex:1;min-width:0}
html body .clc-v442-sidebar .clc-v442-links > a:hover,
html body .clc-v442-sidebar .clc-v442-links > a:focus-visible{
  background:linear-gradient(90deg,#9d65153b,#db9c3525) !important;
  color:#fff0d7 !important;border-color:#b48445 !important;
}
html body .clc-v442-sidebar .clc-v442-links > a:focus-visible{outline:2px solid #ffdc95;outline-offset:2px}
html body .clc-v442-sidebar .clc-v442-links > a.clc-v442-current,
html body .clc-v442-sidebar .clc-v442-links > a[aria-current='page'] {
  color:#fff9e6 !important;
  background:linear-gradient(100deg,#986220 0%,#e4b162 42%,#8e5721 100%) !important;
  border-color:#e9b969 !important;
  box-shadow:0 0 13px #e4ae537c,inset 0 1px 2px #ffe9b185 !important;
  text-shadow:0 1px 2px #5a340b;
  font-weight:650 !important;
}
html body .clc-v442-sidebar .clc-v442-links > a.clc-v442-current .clc-v442-ico{color:#ffedc9}
html body .clc-v442-sidebar .clc-v442-badge {
  display:inline-grid;place-items:center;flex:0 0 auto;
  min-width:21px;height:21px;margin-left:auto;padding:0 5px;
  border-radius:50%;background:#f0bb5c;color:#251707 !important;
  font:700 11px 'Segoe UI',Arial,sans-serif !important;
}
html body .clc-v442-sidebar .clc-v442-footer {
  position:relative;display:flex;flex:0 0 92px;align-items:flex-end;justify-content:center;
  padding:0 0 15px; margin:1px -12px 0;
  background:linear-gradient(to top,#201406 0%,transparent 65%);
  color:#f3c66f;isolation:isolate;
}
html body .clc-v442-sidebar .clc-v442-wave {
  position:absolute;inset:0 0 27px;
  background:url('clc-menu-v444-wave.svg') center bottom / 100% 78px no-repeat;
  pointer-events:none;opacity:.97;z-index:-1;
}
html body .clc-v442-sidebar .clc-v442-footer strong {
  font:700 10px/1.1 'Segoe UI',Arial,sans-serif;
  color:#ffd17a;letter-spacing:.09em;white-space:nowrap;text-align:center;
}
html body .clc-v442-sidebar [hidden]{display:none!important}
html body .clc-v442-sidebar .clc-v442-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1150px) and (min-width:801px){
  html body:has(aside.clc-v442-sidebar) .qa-global-shell{grid-template-columns:278px minmax(0,1fr)!important;column-gap:12px!important}
  html body aside.clc-v442-sidebar{width:278px!important}
  html body:has(aside.clc-v442-sidebar) .top{padding-left:296px}
  html body .clc-v442-sidebar .clc-v442-brand strong{font-size:13px}
  html body .clc-v442-sidebar .clc-v442-links > a{padding-left:15px!important;font-size:12px!important}
}
@media(max-width:800px){
  html body:has(aside.clc-v442-sidebar) .qa-global-shell {display:block!important;grid-template-columns:1fr!important;margin-top:0!important}
  html body:has(aside.clc-v442-sidebar) .qa-global-shell > .qa-global-main{display:block!important;min-width:0!important}
  html body:has(aside.clc-v442-sidebar) .top {padding-left:16px!important}
  html body aside.clc-v442-sidebar {
    position:relative!important;inset:auto!important;width:100%!important;
    max-width:none!important;height:auto!important;max-height:none!important;
    margin:0 0 15px!important;padding-bottom:0!important;
  }
  html body .clc-v442-sidebar .clc-v442-groups{overflow:auto;max-height:330px}
  html body .clc-v442-sidebar .clc-v442-footer{flex-basis:70px}
}
@media(prefers-reduced-motion:reduce){html body .clc-v442-sidebar .clc-v442-chevron{transition:none}}


/* V443 – header like reference image 2 */
html body:has(aside.clc-v442-sidebar) .top.clc-v443-header{
  display:block !important;
  position:sticky; top:0; z-index:760;
  padding:0 !important;
  min-height:80px;
  border-bottom:1px solid #7b562f;
  background:linear-gradient(180deg,#0b0d11 0%,#0d0f13 100%) !important;
}
html body:has(aside.clc-v442-sidebar) .clc-v443-topnav{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  min-height:80px; padding:0 28px 0 max(338px,24px);
}
html body:has(aside.clc-v442-sidebar) .clc-v443-left,
html body:has(aside.clc-v442-sidebar) .clc-v443-right{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
html body:has(aside.clc-v442-sidebar) .clc-v443-topgroup{position:relative; margin:0}
html body:has(aside.clc-v442-sidebar) .clc-v443-topgroup summary{
  list-style:none; cursor:pointer; display:flex; align-items:center; gap:7px;
  color:#f0cd88; font:600 13px/1 'Segoe UI',Arial,sans-serif;
  padding:10px 8px; white-space:nowrap; user-select:none;
}
html body:has(aside.clc-v442-sidebar) .clc-v443-topgroup summary::-webkit-details-marker{display:none}
html body:has(aside.clc-v442-sidebar) .clc-v443-topgroup summary:hover,
html body:has(aside.clc-v442-sidebar) .clc-v443-topgroup[open] > summary{color:#ffde98}
html body:has(aside.clc-v442-sidebar) .clc-v443-topchevron{width:15px;height:15px;color:#f0cd88;transition:transform .18s ease}
html body:has(aside.clc-v442-sidebar) .clc-v443-topgroup[open] .clc-v443-topchevron{transform:rotate(180deg)}
html body:has(aside.clc-v442-sidebar) .clc-v443-topdrop{
  position:absolute; left:0; top:calc(100% + 10px); min-width:220px;
  display:grid; gap:2px; padding:10px; border-radius:14px;
  background:linear-gradient(160deg,#15181c,#0e1014 85%); border:1px solid #9e7946;
  box-shadow:0 18px 50px #0009; z-index:900;
}
html body:has(aside.clc-v442-sidebar) .clc-v443-topdrop-right{left:auto; right:0; min-width:250px}
html body:has(aside.clc-v442-sidebar) .clc-v443-topgroup:not([open]) > .clc-v443-topdrop{display:none}
html body:has(aside.clc-v442-sidebar) .clc-v443-topdrop a,
html body:has(aside.clc-v442-sidebar) .clc-v443-topdrop-action{
  display:flex; width:100%; align-items:center; justify-content:flex-start;
  padding:10px 12px; border-radius:10px; border:1px solid transparent;
  color:#efdfc7; background:transparent; text-decoration:none; cursor:pointer;
  font:500 13px/1.2 'Segoe UI',Arial,sans-serif;
}
html body:has(aside.clc-v442-sidebar) .clc-v443-topdrop a:hover,
html body:has(aside.clc-v442-sidebar) .clc-v443-topdrop-action:hover{
  background:linear-gradient(90deg,#6d461916,#a16f2b1f); border-color:#a67a43; color:#fff1d3;
}
html body:has(aside.clc-v442-sidebar) .clc-v443-logout-form{margin:0}
html body:has(aside.clc-v442-sidebar) .clc-v443-right .clc-v443-iconlink{
  position:relative; display:grid; place-items:center; width:38px; height:38px;
  border-radius:50%; border:1px solid transparent; color:#f0cd88; text-decoration:none;
}
html body:has(aside.clc-v442-sidebar) .clc-v443-right .clc-v443-iconlink:hover{border-color:#89613a; background:#15171c}
html body:has(aside.clc-v442-sidebar) .clc-v443-right .clc-v443-iconlink svg{width:22px; height:22px; display:block}
html body:has(aside.clc-v442-sidebar) .clc-v443-header-badge{
  position:absolute; top:-1px; right:-1px; min-width:20px; height:20px; padding:0 5px;
  display:grid; place-items:center; border-radius:999px; background:#f0bb5c; color:#1d1307;
  font:700 11px/1 'Segoe UI',Arial,sans-serif; box-shadow:0 0 0 2px #0d0f13;
}
html body:has(aside.clc-v442-sidebar) .clc-v443-membermenu > summary{padding-right:0}
/* slightly tighten sidebar for even closer match */
html body .clc-v442-sidebar .clc-v442-group > summary{height:41px; min-height:41px; padding:7px 9px 6px}
html body .clc-v442-sidebar .clc-v442-links > a{min-height:31px; padding-top:5px !important; padding-bottom:5px !important}
@media(max-width:1150px) and (min-width:801px){
  html body:has(aside.clc-v442-sidebar) .clc-v443-topnav{padding-left:296px; gap:10px}
  html body:has(aside.clc-v442-sidebar) .clc-v443-left{gap:8px}
}
@media(max-width:800px){
  html body:has(aside.clc-v442-sidebar) .top.clc-v443-header{position:relative; top:auto; min-height:auto}
  html body:has(aside.clc-v442-sidebar) .clc-v443-topnav{padding:12px 14px; min-height:auto; align-items:flex-start; flex-direction:column}
  html body:has(aside.clc-v442-sidebar) .clc-v443-left,html body:has(aside.clc-v442-sidebar) .clc-v443-right{width:100%; gap:6px}
  html body:has(aside.clc-v442-sidebar) .clc-v443-left{order:2}
  html body:has(aside.clc-v442-sidebar) .clc-v443-topdrop, html body:has(aside.clc-v442-sidebar) .clc-v443-topdrop-right{position:absolute; right:auto; min-width:220px}
}
