/* One primary rail, with section-specific controls kept in their original nodes. */
.vsn-switch {display:flex;flex:0 0 auto;gap:3px;margin:0 0 17px;padding:4px;border:1px solid var(--vgm-line,#e7dff0);border-radius:12px;background:var(--vgm-hover,#faf7fd);}
.vsn-mode {flex:1;min-width:0;min-height:36px;padding:7px 5px;border:0;border-radius:8px;background:transparent;color:var(--vgm-muted,#80738d);font:inherit;font-size:12px;font-weight:500;line-height:1.25;cursor:pointer;white-space:nowrap;}
.vsn-mode[aria-pressed="true"] {background:var(--vgm-surface,#fff);color:var(--vgm-purple,#9069ae);box-shadow:0 2px 6px rgba(55,32,73,.08);}
.vsn-switch[hidden],.vsn-pane[hidden],.vsn-mobile[hidden],.vsn-combined-sidebar .vgm-nav[hidden] {display:none!important;}
.vsn-combined-sidebar > .vgm-caption {display:none;}
.vsn-pane {min-width:0;margin-bottom:10px;color:var(--vgm-text,#526078);}
.vsn-pane,.vsn-pane *,.vsn-mobile,.vsn-mobile * {box-sizing:border-box;}
.vsn-pane .vsn-title {display:block!important;float:none!important;width:auto!important;margin:0 10px 16px!important;color:var(--vgm-heading,#241d32);font-size:20px!important;font-weight:650!important;line-height:1.25;}
.vsn-pane :is(.vapp-nav,.spd-lnav,.ev-lnav),.vsn-mobile :is(.vapp-nav,.spd-lnav,.ev-lnav) {display:none!important;}
.vsn-pane > :is(.spd-left,.events-side,.ev-left) {display:block!important;position:static!important;top:auto!important;width:auto!important;max-width:none;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
.vsn-pane .spd-lsec-h,.vsn-pane .events-side-title {margin:15px 9px 8px;padding:0;color:var(--vgm-muted,#80738d);font-size:10px;font-weight:600;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;}
.vsn-pane .spd-lsec-h:first-of-type {margin-top:0;}
.vsn-pane :is(.spd-cat,.events-side-link) {display:flex;align-items:center;gap:8px;min-width:0;min-height:39px;padding:9px 9px;border:0;border-radius:9px;background:transparent;color:var(--vgm-text,#526078);font-size:12px;font-weight:400;line-height:1.35;text-decoration:none!important;}
.vsn-pane :is(.spd-cat:hover,.events-side-link:hover) {background:var(--vgm-hover,#faf7fd);color:var(--vgm-purple,#9069ae);}
.vsn-pane :is(.spd-cat.is-active,.events-side-link.active) {background:var(--vgm-highlight,#f3ecfc);color:var(--vgm-purple,#9069ae);font-weight:500;}
.vsn-pane .spd-cat-ic {flex:0 0 24px;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;background:var(--vgm-hover,#faf7fd);color:var(--vgm-purple,#9069ae);font-size:13px;}
.vsn-pane .spd-cat-l {flex:1;min-width:0;}
.vsn-pane :is(.spd-cat-n,.events-side-link .count) {flex:0 0 auto;min-width:22px;height:20px;margin-inline-start:auto;padding:2px 6px;border-radius:7px;background:var(--vgm-hover,#faf7fd);color:var(--vgm-muted,#80738d);font-size:10px;font-weight:500;line-height:16px;}
.vsn-pane .spd-trends {display:flex;flex-wrap:wrap;gap:5px;padding:0 7px;}
.vsn-pane .spd-trend {display:inline-block;max-width:100%;margin:0;padding:6px 8px;border:1px solid var(--vgm-line,#e7dff0);border-radius:7px;background:transparent;color:var(--vgm-purple,#9069ae);font-size:11px;font-weight:400;line-height:1.35;overflow-wrap:anywhere;text-decoration:none!important;}
.vsn-pane .events-side-list {display:flex;flex-direction:column;gap:4px;}
.vsn-pane .events-side-list > div > .events-side-link {margin-top:4px;}
.vsn-pane .ev-lsec-h {margin:0 9px 10px;padding:0;color:var(--vgm-muted,#80738d);font-size:10px;font-weight:600;letter-spacing:.08em;}
.vsn-pane .ev-tabs {margin:0 0 10px;border-color:var(--vgm-line,#e7dff0);}
.vsn-pane .ev-tab {min-height:36px;background:var(--vgm-surface,#fff);color:var(--vgm-text,#526078);font-weight:500;}
.vsn-pane .ev-tab.on {background:var(--vgm-highlight,#f3ecfc);color:var(--vgm-purple,#9069ae);}
.vsn-pane .ev-cats {max-height:none;overflow:visible;gap:4px;}
.vsn-pane .ev-cat {min-height:39px;padding:9px 9px;border-radius:9px;color:var(--vgm-text,#526078);font-size:12px;font-weight:400;text-decoration:none!important;}
.vsn-pane .ev-cat:hover {background:var(--vgm-hover,#faf7fd);}
.vsn-pane .ev-cat.is-active {background:var(--vgm-highlight,#f3ecfc);color:var(--vgm-purple,#9069ae);font-weight:500;}
.vsn-pane .ev-cat-n {background:var(--vgm-hover,#faf7fd);color:var(--vgm-muted,#80738d);font-size:10px;font-weight:500;}
.vsn-pane .ev-create-btn {min-height:42px;margin:15px 0 0;padding:10px;border-color:var(--vgm-line,#e7dff0);background:var(--vgm-surface,#fff);color:var(--vgm-purple,#9069ae);font-size:12px;font-weight:500;text-decoration:none!important;}
.vgm-sidebar.vsn-combined-sidebar .vsn-pane #user-menu {display:block!important;position:static!important;top:auto!important;flex:none!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;}
.vgm-sidebar .vsn-pane #user-menu :is(#epsUaMenuToggle,.vrool-ua-menu-toggle) {display:none!important;}
.vgm-sidebar .vsn-pane #user-menu .vrool-ua-menu {display:block!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
.vsn-pane #user-menu .vrool-ua-section-title {color:var(--vgm-muted,#80738d);font-size:10px;font-weight:600;}
.vgm-sidebar .vsn-pane #user-menu .vrool-ua-menu a {padding:9px 8px!important;border:0!important;border-radius:9px;color:var(--vgm-text,#526078)!important;font-size:12px!important;font-weight:400!important;line-height:1.35!important;text-decoration:none!important;}
.vsn-pane #user-menu a:not(.logout):not(.public):hover {background:var(--vgm-hover,#faf7fd);}
.vgm-sidebar .vsn-pane #user-menu .vrool-ua-menu a.active {background:var(--vgm-highlight,#f3ecfc)!important;color:var(--vgm-purple,#9069ae)!important;box-shadow:none!important;}
.vsn-pane #user-menu a .vrool-ua-icon {width:27px;height:27px;min-width:27px;border-radius:8px;background:var(--vgm-hover,#faf7fd);color:var(--vgm-purple,#9069ae);}
/* Keep account badge numbers legible over the shared purple badge background. */
html body :is(#user-menu,#vroolMvDrawer) .vrool-ua-menu a :is(.counter,.im-user-account-count),
html body :is(#user-menu,#vroolMvDrawer) .vrool-ua-menu a[href*="/vcm-user-tickets"] > span:is(.eps-ua-label,.vrool-ua-label) + span {color:#fff!important;background:#8154a5!important;border-color:#8154a5!important;}
.vsn-mode:focus-visible,.vsn-pane :is(a,button):focus-visible,.vsn-mobile-summary:focus-visible {outline:3px solid #a47bc3;outline-offset:2px;}
.vsn-mobile {min-width:0;grid-column:1 / -1;margin:0 0 12px;padding:0;border:1px solid var(--vgm-line,#e7dff0);border-radius:12px;background:var(--vgm-surface,#fff);}
.vsn-mobile-summary {padding:13px 15px;color:var(--vgm-purple,#9069ae);font-size:14px;font-weight:500;line-height:1.4;cursor:pointer;}
.vsn-mobile[open] > .vsn-mobile-summary {border-bottom:1px solid var(--vgm-line,#e7dff0);}
.vsn-mobile > :is(.spd-left,.events-side,.ev-left) {display:block!important;position:static!important;top:auto!important;width:auto!important;margin:0!important;padding:12px!important;border:0!important;background:transparent!important;box-shadow:none!important;}
.vsn-mobile :is(.spd-cat,.events-side-link,.ev-cat) {color:var(--vgm-text,#526078);}
.vsn-mobile :is(.spd-cat.is-active,.events-side-link.active,.ev-cat.is-active) {background:var(--vgm-highlight,#f3ecfc);color:var(--vgm-purple,#9069ae);}
.vsn-mobile .ev-tab {background:var(--vgm-surface,#fff);color:var(--vgm-text,#526078);}
.vsn-mobile .ev-tab.on {background:var(--vgm-highlight,#f3ecfc);color:var(--vgm-purple,#9069ae);}
.vsn-mobile .spd-trend {color:var(--vgm-purple,#9069ae);}
.vgm-sidebar .vsn-pane.vdev {width:100%;max-width:none;margin:0 0 10px;padding:0;color:var(--vgm-text,#526078);--accent:var(--vgm-purple,#9069ae);--ink:var(--vgm-heading,#241d32);--muted:var(--vgm-muted,#80738d);--line:var(--vgm-line,#e7dff0);}
.vsn-pane.vdev > .vdev-sidebar {display:block!important;width:auto;min-width:0;padding:0;border:0;background:transparent;}
.vsn-pane.vdev .vdev-brand {padding:0 8px;font-size:15px;}
.vsn-pane.vdev .vdev-workspace {display:flex;margin:17px 0 12px;padding:13px 8px;}
.vsn-pane.vdev .vdev-nav {display:flex!important;flex-direction:column;gap:4px;overflow:visible;padding:0;}
.vsn-pane.vdev .vdev-nav a {white-space:normal;min-height:39px;padding:9px 8px;border-radius:9px;color:var(--vgm-text,#526078);font-size:12px;font-weight:400;}
.vsn-pane.vdev .vdev-nav a:hover {background:var(--vgm-hover,#faf7fd);}
.vsn-pane.vdev .vdev-nav a[aria-current="page"] {background:var(--vgm-highlight,#f3ecfc);color:var(--vgm-purple,#9069ae);font-weight:500;}
.vsn-pane.vdev .vdev-sidebar-balance {display:flex!important;margin:17px 8px;padding:16px 0;}
.vsn-pane.vdev .vdev-nav-secondary {display:flex!important;}
.vsn-pane > .vvf-side {display:block!important;width:auto;max-width:none;max-height:none;height:auto;margin:0;padding:0;border:0;overflow:visible;}
.vsn-pane .vvf-nav {display:flex;flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;}
.vsn-pane .vvf-nav a {display:flex;align-items:center;gap:9px;min-height:39px;padding:9px 8px;border-radius:9px;color:var(--vgm-text,#526078);font-size:12px;font-weight:400;text-decoration:none!important;}
.vsn-pane .vvf-nav a:hover {background:var(--vgm-hover,#faf7fd);}
.vsn-pane .vvf-nav a.on {background:var(--vgm-highlight,#f3ecfc);color:var(--vgm-purple,#9069ae);}
.vsn-pane :is(.vvf-nav-label,.vvf-side-title) {margin:14px 8px 8px;padding:0;color:var(--vgm-muted,#80738d);font-size:10px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;}
.vsn-pane .vvf-nav-divider {margin:12px 0;border-color:var(--vgm-line,#e7dff0);}
.vsn-pane .vvf-side-section {border-color:var(--vgm-line,#e7dff0);}
.vsn-pane :is(.vvf-trending a,.vvf-sellers a) {color:var(--vgm-text,#526078);text-decoration:none!important;}
@media(min-width:768px) {
  body:has(.vsn-enhanced):has(.vsn-combined-sidebar) {--vsw:clamp(232px,17vw,260px);}
  .spd-wrap.vsn-enhanced.vsn-social {grid-template-columns:minmax(0,1fr) 312px;gap:22px;}
  .spd-wrap.vsn-enhanced.vsn-social > .spd-center {grid-column:1;min-width:0;}
  .spd-wrap.vsn-enhanced.vsn-social > .spd-right {grid-column:2;min-width:0;}
  .events-grid.vsn-enhanced.vsn-events {grid-template-columns:minmax(0,1fr) 320px;gap:22px;}
  .events-grid.vsn-enhanced.vsn-events > .events-main {grid-column:1;min-width:0;}
  .events-grid.vsn-enhanced.vsn-events > .events-right {grid-column:2;min-width:0;}
  .ev-wrap.vsn-enhanced.vsn-events-spd {grid-template-columns:minmax(0,1fr) 320px;gap:22px;}
  .ev-wrap.vsn-enhanced.vsn-events-spd > .ev-hero {grid-column:1 / -1;grid-row:1;min-width:0;}
  .ev-wrap.vsn-enhanced.vsn-events-spd > .ev-center {grid-column:1;grid-row:2;min-width:0;}
  .ev-wrap.vsn-enhanced.vsn-events-spd > .ev-right {grid-column:2;grid-row:2;min-width:0;}
  body.body-ua .container.primary.vsn-enhanced.vsn-account {display:flex;flex-direction:column;gap:0;min-width:0;}
  body.body-ua .container.primary.vsn-enhanced.vsn-account > #user-main {flex:1 1 auto;width:100%;max-width:none;min-width:0;}
  .vdev-shell.vsn-enhanced.vsn-developer {grid-template-columns:minmax(0,1fr);}
}
@media(min-width:901px) {
  .vvf-layout.vsn-enhanced.vsn-snaps {grid-template-columns:minmax(0,1fr);}
  .vvf-layout.vsn-enhanced.vsn-snaps > .vvf-main {min-width:0;padding-inline-start:0;}
}
@media(min-width:768px) and (max-width:1180px) {
  .spd-wrap.vsn-enhanced.vsn-social,.events-grid.vsn-enhanced.vsn-events,.ev-wrap.vsn-enhanced.vsn-events-spd {grid-template-columns:minmax(0,1fr);gap:16px;}
  .spd-wrap.vsn-enhanced.vsn-social > .spd-right {display:none!important;}
  .ev-wrap.vsn-enhanced.vsn-events-spd > .ev-right {display:none!important;}
  .events-grid.vsn-enhanced.vsn-events > .events-right {grid-column:1;grid-row:2;}
}
@media(min-width:768px) and (max-width:1050px) {
  .vsn-account.vsn-enhanced .sh-finance {grid-template-columns:repeat(2,minmax(0,1fr));}
  .vsn-account.vsn-enhanced .sh-finance-item:first-child {grid-column:1 / -1;}
  .vsn-account.vsn-enhanced .sh-finance-value {white-space:nowrap;overflow-wrap:normal;font-size:22px;}
  .vsn-account.vsn-enhanced .sh-setup-grid {grid-template-columns:minmax(0,1fr);gap:18px;}
}
@media(max-width:767px) {
  .vsn-mobile .spd-cats {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;}
  .vsn-mobile .spd-cat {min-height:42px;}
  .vsn-mobile .spd-lsec-h {margin-top:10px;}
  .vsn-mobile .spd-trends {display:flex;flex-wrap:wrap;gap:6px;}
}
html[data-vrool-theme="dark"] .vsn-mobile,body[data-theme="dark"] .vsn-mobile {--vgm-surface:#211e28;--vgm-text:#e1dbe9;--vgm-purple:#c3a0e1;--vgm-highlight:#392c49;--vgm-hover:#2a2533;--vgm-line:#43374f;}
html[data-vrool-theme="dark"] .vsn-mobile :is(.spd-cat,.events-side-link,.ev-cat),body[data-theme="dark"] .vsn-mobile :is(.spd-cat,.events-side-link,.ev-cat) {color:#e1dbe9;}
@media(pointer:coarse) {
.vsn-mode,.vsn-pane :is(.spd-cat,.events-side-link,.ev-cat,.ev-tab),.vsn-pane #user-menu a,.vsn-mobile-summary {min-height:44px;}
}

/* Account pagination follows the page theme, including its hover and focus states. */
:is(html[data-vrool-theme="dark"],body[data-theme="dark"]) #user-main .vrool-pagewrap-pager {background:#211e28;border-color:#43374f;box-shadow:none;}
:is(html[data-vrool-theme="dark"],body[data-theme="dark"]) #user-main .vrool-pagewrap-pager :is(a,span):not(.searchPaginationSelected) {color:#e1dbe9!important;}
:is(html[data-vrool-theme="dark"],body[data-theme="dark"]) #user-main .vrool-pagewrap-pager a:not(.searchPaginationSelected):hover {background:#392c49!important;color:#c3a0e1!important;}
:is(html[data-vrool-theme="dark"],body[data-theme="dark"]) #user-main .vrool-pagewrap-pager a:focus-visible {outline:2px solid #c3a0e1;outline-offset:2px;}

/* Use regular-weight text for listing navigation and filter labels. */
#user-main .vrool-user-items-tabs :is(.vrool-user-items-tab,.vrool-uit-count),
#user-main #epsUserItemsFilters .vrool-ui-filter strong {font-weight:400!important;}

#user-main #epsUserItemsFilters #epsAdIdApply {background:#8154a5!important;border-color:#8154a5!important;color:#fff!important;}
#user-main #epsUserItemsFilters #epsAdIdApply:hover {background:#70448f!important;border-color:#70448f!important;}
#user-main #epsUserItemsFilters #epsAdIdApply:focus-visible {outline:2px solid #c3a0e1;outline-offset:3px;}

/* Public shops use the same single contextual rail as other sections. */
@media(min-width:768px) {
  body#public:has(.vsn-public-profile.vsn-enhanced) {--vsw:clamp(260px,20vw,300px);}
  body#public .container.primary.vsn-public-profile.vsn-enhanced {grid-template-columns:minmax(0,1fr)!important;gap:0!important;max-width:none;min-height:calc(100vh - var(--vgm-header-height,64px));}
  body#public .container.primary.vsn-public-profile.vsn-enhanced > #public-main {grid-column:1!important;width:100%!important;}
  body#public .vgm-sidebar .vsn-pane-public-profile > #item-side {display:grid!important;grid-template-columns:minmax(0,1fr);position:static!important;top:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0;padding:0;gap:14px;z-index:auto;}
  body#public .vgm-sidebar .vsn-pane-public-profile #item-side > * {min-width:0;max-width:100%;margin:0;}
  body#public .vgm-sidebar .vsn-pane-public-profile #item-side .box {width:100%;margin:0;border-color:var(--vgm-line);border-radius:14px;background:var(--vgm-surface);box-shadow:none;}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .line1 {display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 12px;border-color:var(--vgm-line);}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .line1 .img {flex:0 0 46px;width:46px;min-width:46px;height:46px;}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .line1 .img img {width:46px;height:46px;border-radius:50%;box-shadow:none;}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .line1 .img img:hover {transform:scale(1.06);border-radius:50%;}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .line1 .data {flex:1 1 0;min-width:0;width:auto;}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .line1 .name {font-size:17px;line-height:1.25;font-weight:650;color:var(--vgm-heading);overflow-wrap:anywhere;}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .line1 > .ml-profile-meta {display:grid;flex-basis:100%;gap:4px;margin-top:4px;}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .line1 .ml-profile-meta > div {white-space:normal;color:var(--vgm-muted)!important;font-size:11px!important;}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .ml-profile-stats {padding:12px;border-color:var(--vgm-line);gap:10px;}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .ml-profile-stat {min-width:0;padding:10px 4px;gap:4px;border-radius:10px;border-color:var(--vgm-line);background:var(--vgm-hover);box-shadow:none;}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .ml-profile-stat .ml-profile-stat-value {font-size:18px;font-weight:600;color:var(--vgm-heading);}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .ml-profile-stat span {font-size:9px;letter-spacing:.02em;color:var(--vgm-muted);}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .ml-profile-actions > .master-button {padding:0 8px!important;font-size:12px!important;}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .line3 {padding:12px;gap:8px;}
  body#public .vgm-sidebar .vsn-pane-public-profile #seller .line3 :is(.address,a.phone) {padding:9px 10px;min-width:0;font-size:12px;overflow-wrap:anywhere;}
  body#public .vgm-sidebar .vsn-pane-public-profile .profile-rating-card {padding:13px 12px;}
  body#public .vgm-sidebar .vsn-pane-public-profile .profile-rating-heading {font-size:9px;gap:5px;line-height:1.3;}
  body#public .vgm-sidebar .vsn-pane-public-profile .profile-rating-summary {flex-wrap:wrap;gap:7px;}
  body#public .vgm-sidebar .vsn-pane-public-profile .profile-rating-score {font-size:23px;}
  body#public .vgm-sidebar .vsn-pane-public-profile .profile-rating-stars {font-size:12px;gap:1px;}
  body#public .vgm-sidebar .vsn-pane-public-profile .profile-rating-count {margin-left:0;flex:1 1 100%;font-size:11px;line-height:1.4;}
  body#public .vgm-sidebar .vsn-pane-public-profile #item-side :is(#about,#share).box {padding:12px;}
  body#public .vgm-sidebar .vsn-pane-public-profile #item-side #about > div {font-size:12px;overflow-wrap:anywhere;}
  body#public .vgm-sidebar .vsn-pane-public-profile #item-side #share.box {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
  body#public .vgm-sidebar .vsn-pane-public-profile #item-side #share a {min-width:0;padding:9px 3px;font-size:10px;gap:4px;font-weight:500;}
}
