/* Vice Market is a destination in the same city as the homepage. */
body:has(.vice-market.is-active) { background:#090d1a; }
body:has(.vice-market.is-active)::before,body:has(.vice-market.is-active)::after,body:has(.vice-market.is-active) .platform-main::before { display:none; }
body:has(.vice-market.is-active) .market-ticker { display:none; }
body:has(.vice-market.is-active) .platform-main { position:relative; max-width:none; padding:0; margin:0; }
body:has(.vice-market.is-active) .platform-topbar { position:absolute; z-index:12; top:24px; right:3%; left:auto; width:auto; min-height:0; margin:0; padding:0; border:0; background:transparent; box-shadow:none; backdrop-filter:none; flex-wrap:nowrap; }
body:has(.vice-market.is-active) .platform-topbar .topbar-actions { margin:0; }
.vice-market { --sm-line:#b9a6cc2e; --sm-muted:#aaa5bb; --sm-green:#c2b0ff; --sm-violet:#f1b0ec; width:100%; max-width:none; margin:0 auto; padding:0 0 110px; background:#090d1a; color:#f5f1fa; font-family:City Inter,Inter,system-ui,sans-serif; }
.vm-floor-hero { position:relative; height:500px; overflow:hidden; background:#0c1221; }
.vm-floor-hero::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(0deg,#030711f7 0%,#030711d1 23%,#0307114d 45%,transparent 70%); }
.vm-floor-image { width:100%; height:100%; display:block; object-fit:cover; object-position:50% 47%; }
.vm-floor-brand { position:absolute; top:18px; left:34px; width:155px; }
.vm-floor-brand img { display:block; width:100%; height:auto; }
.vm-floor-title { position:absolute; z-index:1; bottom:28px; left:40px; right:40px; text-shadow:0 2px 24px #03030bea; }
.vm-floor-title #sm-title { margin:0; font-size:48px; font-weight:600; letter-spacing:-.045em; line-height:1.1; }
.vm-floor-title p { margin:8px 0 15px; color:#fff; font-size:17px; font-weight:500; line-height:1.5; }
.vm-floor-status { display:inline-flex; align-items:center; gap:9px; border:1px solid #e99be1b3; border-radius:99px; padding:8px 13px; background:#151120c9; color:#edc4e9; font-size:12px; backdrop-filter:blur(12px); }
.vm-floor-status img { filter:invert(87%) sepia(26%) saturate(487%) hue-rotate(262deg); }
.vm-token-markets { margin:0 40px; padding:28px 0; border-bottom:1px solid var(--sm-line); }
.vm-token-markets>header { display:flex; align-items:baseline; gap:16px; flex-wrap:wrap; }
.vm-token-markets .sm-eyebrow { display:none; }
.vm-token-markets h3 { margin:0; font-size:23px; font-weight:550; letter-spacing:-.025em; }
.vm-token-markets>header>p:last-child { margin:0; color:#aaa4ba; font-size:13px; }
.vm-token-markets .business-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:18px 0 0; }
.vm-token-markets .business-card.zeal-market-tile { display:grid; grid-template-columns:1fr auto; gap:8px 15px; padding:18px 0; border:0; border-bottom:1px solid var(--sm-line); border-radius:0; background:transparent; box-shadow:none; }
.vm-token-markets .zeal-tile-top { grid-column:1; min-width:0; }
.vm-token-markets .zeal-tile-top>span>strong { color:#f4eef9; font-size:16px; }
.vm-token-markets .zeal-tile-top img { width:34px; height:34px; object-fit:cover; border-radius:50%; }
.vm-token-markets .zeal-tile-top small { font-size:11px; color:#a6a1b5; }
.vm-token-markets .zeal-live-badge { display:none; }
.vm-token-markets .business-tile-data { grid-column:2; grid-row:1; justify-content:flex-end; margin:0; text-align:right; }
.vm-token-markets .business-tile-data strong { font-size:16px; font-weight:500; }
.vm-token-markets .business-tile-data small { font-size:10px; color:#aaa3b6; }
.vm-token-markets .business-tile-data>span:last-child { display:none; }
.vm-token-markets .zeal-tile-chart { grid-column:1 / -1; display:none; }
.vm-token-markets .business-card-foot { grid-column:1 / -1; padding:0; margin:0; border:0; font-size:11px; color:#c0b3cd; }
.vm-token-markets .business-card:hover .business-card-foot { color:#f0b6ee; }
.vm-launches { margin:0 40px; padding:27px 0 13px; }
.vm-launches h3 { margin:0; font-size:23px; font-weight:550; letter-spacing:-.025em; }
.vm-launches p { margin:8px 0 0; max-width:55ch; color:#aaa4b9; font-size:13px; line-height:1.55; }
.vm-preview-controls { margin:0 40px 20px; display:flex; justify-content:space-between; align-items:center; gap:20px; }
.vm-preview-controls .sm-list-tools { margin:0; padding:0; flex:1; border:0; }
.vm-preview-controls .sm-sort { display:none; }
.vm-preview-controls .sm-filters { gap:18px; }
.vm-preview-controls .sm-filters button { padding:13px 0; border:0; border-bottom:2px solid transparent; border-radius:0; color:#aaa5b8; background:none; font-size:14px; }
.vm-preview-controls .sm-filters button.is-active { color:#f3e6f6; border-bottom-color:#f094df; background:none; }
.vm-preview-controls .sm-search { background:#111526; border-color:#a68ab438; border-radius:99px; }
.sm-workspace { display:block; margin:0 40px 24px; }
.sm-chart-panel { position:relative; overflow:hidden; padding:24px; border:1px solid #b39ac344; border-radius:18px; background:#101323; }
.vm-preview-art { float:left; display:block; width:135px; height:135px; object-fit:cover; border-radius:13px; margin:0 24px 18px 0; }
.sm-instrument { min-height:65px; align-items:flex-start; }
.sm-instrument h3 { font-size:23px; font-weight:550; line-height:1.2; }
.sm-instrument p { color:#b4a6c2; font:11px/1.5 City Inter,Inter,system-ui,sans-serif; }
.sm-instrument .sm-token-icon { display:none; }
.sm-price-row { margin:13px 0 18px; }
#sm-price { font-size:24px; font-weight:500; letter-spacing:-.03em; }
#sm-change { font:11px City Inter,Inter,system-ui,sans-serif; }
.sm-source { color:#c9a7d4; font-size:8px; border-color:#bb99ce38; }
.sm-chart-toolbar { clear:both; padding-top:10px; }
.sm-chart-label { color:#a99fb7; font-size:9px; }
.sm-chart { height:150px; }
.sm-chart-times { font-size:9px; }
.sm-ranges button { min-width:32px; padding:7px 8px; font-size:10px; }
.sm-chart-footer { padding:14px 0 0; margin-top:14px; border-top:1px solid var(--sm-line); font-size:11px; }
.sm-chart-footer a { color:#e4c1ed; }
.vm-more-launches { margin:0 40px; border-block:1px solid var(--sm-line); }
.vm-more-launches>summary { display:flex; align-items:center; gap:16px; padding:22px 0; cursor:pointer; list-style:none; }
.vm-more-launches>summary::-webkit-details-marker { display:none; }
.vm-more-launches>summary>span { display:grid; gap:5px; flex:1; }
.vm-more-launches>summary strong { font-size:16px; font-weight:550; }
.vm-more-launches>summary small { color:#aaa2b8; font-size:12px; }
.vm-more-launches>summary img { filter:invert(80%) sepia(15%) saturate(516%) hue-rotate(231deg); }
.vm-more-launches[open]>summary>img:last-child { transform:rotate(90deg); }
.sm-listings { padding:10px 0 24px; border:0; }
.sm-listings-head { display:none; }
.sm-table { font-size:12px; }
.sm-table td,.sm-table th { padding:13px 10px; }
.sm-table-scroll { border:0; }
.sm-list-footer { font-size:10px; }
#business-zeal,#business-viceberg { padding:110px 35px 30px; }
#vice-market>.business-back,#business-zeal>.business-back,#business-viceberg>.business-back { display:inline-flex; margin-bottom:20px; color:#d6b9e9; }
@media(max-width:650px) {
 .vice-market { padding-bottom:90px; }
 .vm-floor-hero { height:430px; }
 .vm-floor-image { object-position:50% 45%; }
 .vm-floor-brand { left:12px; top:12px; width:clamp(80px,22vw,110px); }
 .vm-floor-title { left:22px; right:22px; bottom:22px; }
 .vm-floor-title #sm-title { font-size:34px; }
 .vm-floor-title p { font-size:14px; margin:7px 0 13px; }
 .vm-floor-status { padding:7px 12px; font-size:11px; }
 .vm-token-markets { margin:0 22px; padding:21px 0 10px; }
 .vm-token-markets>header { display:block; }
 .vm-token-markets h3,.vm-launches h3 { font-size:19px; }
 .vm-token-markets>header>p:last-child { margin-top:6px; font-size:12px; }
 .vm-token-markets .business-grid { display:block; margin-top:12px; }
 .vm-token-markets .business-card.zeal-market-tile { gap:7px 12px; padding:13px 0; }
 .vm-token-markets .zeal-tile-top>span>strong { font-size:14px; }
 .vm-token-markets .business-tile-data strong { font-size:14px; }
 .vm-token-markets .business-card-foot { display:none; }
 .vm-launches { margin:0 22px; padding:23px 0 9px; }
 .vm-launches p { font-size:12px; }
 .vm-preview-controls { margin:0 22px 14px; gap:10px; flex-wrap:wrap; }
 .vm-preview-controls .sm-list-tools { flex:1 1 100%; }
 .vm-preview-controls .sm-filters { justify-content:space-between; width:100%; gap:8px; }
 .vm-preview-controls .sm-filters button { font-size:12px; padding:12px 0; }
 .vm-preview-controls .sm-search { width:100%; }
 .sm-workspace { margin:0 16px 20px; }
 .sm-chart-panel { padding:18px 16px 16px; }
 .vm-preview-art { width:92px; height:92px; margin:0 14px 16px 0; border-radius:11px; }
 .sm-instrument { min-height:54px; gap:8px; }
 .sm-instrument h3 { font-size:18px; }
 .sm-instrument p { font-size:10px; }
 .sm-price-row { margin:7px 0 15px; }
 #sm-price { font-size:20px; }
 .sm-price-row>div { gap:8px; }
 .sm-price-row>.sm-source { display:none; }
 .sm-chart-toolbar { clear:both; }
 .sm-chart { height:130px; }
 .sm-chart-footer { gap:12px; font-size:10px; }
 .vm-more-launches { margin:0 22px; }
 .vm-more-launches>summary { gap:12px; padding:21px 0; }
 .vm-more-launches>summary strong { font-size:15px; }
 .sm-table { min-width:0; }
 .sm-table th:nth-child(n+4),.sm-table td:nth-child(n+4) { display:none; }
 .sm-table th:nth-child(1),.sm-table td:nth-child(1) { padding-left:0; padding-right:3px; }
 .sm-table .sm-asset strong { font-size:12px; }
 .sm-table .sm-asset small { font-size:9px; }
 .sm-table .sm-token-icon { width:28px; height:28px; }
 .sm-table td:nth-child(3) { font-size:11px; }
 .sm-list-footer { flex-wrap:wrap; gap:6px; }
 #business-zeal,#business-viceberg { padding:95px 16px 25px; }
 body:has(.vice-market.is-active) .account-zealz { gap:6px; }
 body:has(.vice-market.is-active) .account-alert-button { width:24px; height:30px; }
 body:has(.vice-market.is-active) .zealz-launcher-signin { font-size:11px; padding:8px 12px; }
}

@keyframes market-floor-drift { from { transform:scale(1); } to { transform:scale(1.025); } }
.vice-market.is-active .vm-floor-image { animation:market-floor-drift 24s ease-in-out infinite alternate; }
@media(prefers-reduced-motion:reduce) { .vice-market.is-active .vm-floor-image { animation:none; } }

/* Immersive destinations remain inside the app's shared navigation shell. */
body:has(:is(.member-profile,.vice-market).is-active) { overflow-x:clip; overflow-y:visible; }
body:has(:is(.member-profile,.vice-market).is-active) .platform-topbar {
 position:sticky; top:0; right:auto; left:auto; width:100%; min-height:72px;
 flex-direction:row; align-items:center; justify-content:flex-end; gap:12px;
 margin:0; padding:12px 28px; border-bottom:1px solid #b9a6cc2e;
 background:#090d1a; backdrop-filter:none; z-index:30;
}
body:has(:is(.member-profile,.vice-market).is-active) #zealz-connect-root:empty { display:none; }
body:has(:is(.member-profile,.vice-market).is-active) .platform-topbar .topbar-actions { flex:0 0 auto; margin:0; }
body:has(.vice-market.is-active) :is(#business-zeal,#business-viceberg) { padding-top:28px; }
@media(min-width:761px) {
 body:has(:is(.member-profile,.vice-market).is-active) .platform-sidebar { z-index:20; }
 body:has(:is(.member-profile,.vice-market).is-active) .platform-topbar .topbar-page-heading {
  position:static; width:auto; height:auto; margin:0 auto 0 0; padding:0; overflow:visible;
  clip-path:none; white-space:normal; font-size:14px; font-weight:500; letter-spacing:0; color:#c5bed1;
 }
}
@media(max-width:760px) {
 body:has(:is(.member-profile,.vice-market).is-active) .platform-topbar { min-height:64px; gap:8px; padding:10px 12px; }
 body:has(:is(.member-profile,.vice-market).is-active) .platform-topbar .mobile-sidebar-button {
  display:inline-flex; align-items:center; justify-content:center; align-self:center;
  flex:0 0 auto; min-height:40px; margin-right:auto; padding:0 13px; font-size:13px;
 }
 body:has(:is(.member-profile,.vice-market).is-active) .platform-topbar .zealz-bar {
  min-width:0; max-width:calc(100% - 132px); margin:0; flex-shrink:1;
 }
}
@media(min-width:651px) and (max-width:760px) { .member-profile-dock { left:50%; } }

@media(min-width:761px) {
 .member-profile-dock { display:none; }
 .member-profile,.vice-market { padding-bottom:30px; }
}
