/* Vice Market, the trading home (vice-market-desk.js), behind the ZEALZ engine switch. */
html.vmx-on #vice-market-overview > :not(.vmx):not(.market-dock) { display: none !important; }
.vmx { --vmx-up: #a48bff; --vmx-down: #ff5b8f; --vmx-ink: #f7f1ff; --vmx-mute: rgba(232, 222, 255, .62); --vmx-line: rgba(232, 222, 255, .08); display: grid; gap: 22px; min-width: 0; padding-bottom: 32px; color: var(--vmx-ink); }
.vmx > * { min-width: 0; max-width: 100%; }
.vmx-hero { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; min-height: 230px; padding: 28px 32px; border-radius: 28px; overflow: hidden; isolation: isolate; }
.vmx-hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transform: scale(1.04); animation: vmx-drift 18s ease-in-out infinite alternate; }
.vmx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,6,14,.05) 0%, rgba(8,6,14,.55) 55%, #0b0912 100%), radial-gradient(60% 80% at 85% 100%, rgba(173,120,255,.28), transparent 70%); }
@keyframes vmx-drift { to { transform: scale(1.09) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .vmx-hero-art { animation: none; } }
.vmx-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #d9c8ff; font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.vmx-live { width: 8px; height: 8px; border-radius: 50%; background: var(--vmx-up); animation: vmx-pulse 1.8s infinite; }
@keyframes vmx-pulse { 0% { box-shadow: 0 0 0 0 rgba(164,139,255,.6); } 70% { box-shadow: 0 0 0 9px rgba(164,139,255,0); } 100% { box-shadow: 0 0 0 0 rgba(164,139,255,0); } }
.vmx-hero h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: .95; letter-spacing: -.035em; }
.vmx-hero-copy p:last-child { margin: 10px 0 0; color: var(--vmx-mute); font-size: 1.05rem; }
.vmx-launch { border: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px 13px 14px; border-radius: 999px; background: linear-gradient(135deg, #b18cff, #ff6fb2); color: #170b22; font-weight: 800; font-size: .95rem; box-shadow: 0 12px 40px rgba(177,140,255,.35); opacity: .92; }
.vmx-launch > span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(23,11,34,.18); }
.vmx-launch small { padding: 3px 7px; border-radius: 99px; background: rgba(23,11,34,.18); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.vmx-switch { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin-top: -4px; padding: 4px 2px; }
.vmx-switch::-webkit-scrollbar { display: none; }
.vmx-chip { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; min-width: 250px; padding: 12px 16px 12px 12px; border: 1px solid var(--vmx-line); border-radius: 20px; background: rgba(255,255,255,.025); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .25s, background .25s, transform .25s, box-shadow .25s; }
.vmx-chip img { border-radius: 50%; }
.vmx-chip > b { font-size: .98rem; }
.vmx-chip[aria-pressed="true"] { border-color: rgba(177,140,255,.55); background: linear-gradient(135deg, rgba(177,140,255,.14), rgba(255,111,178,.06)); box-shadow: 0 10px 40px rgba(120,80,220,.18); }
.vmx-chip:hover { transform: translateY(-1px); }
.vmx-chip:focus-visible { outline: 2px solid #b18cff; outline-offset: 2px; }
.vmx-spark { flex: 0 0 64px; width: 64px; height: 28px; margin-left: auto; } .vmx-spark.is-empty { visibility: hidden; } .vmx-spark polyline { fill: none; stroke: var(--vmx-up); stroke-width: 1.6; vector-effect: non-scaling-stroke; } .vmx-spark.is-down polyline { stroke: var(--vmx-down); }
.vmx-chip-px { display: grid; gap: 3px; text-align: right; font-variant-numeric: tabular-nums; }
.vmx-chip-px b { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .92rem; }
.vmx-chip-px small { font-size: .78rem; } .vmx-chip-px .is-up { color: var(--vmx-up); } .vmx-chip-px .is-down { color: var(--vmx-down); }
.vmx-desk { position: relative; min-height: 640px; }
.vmx-frame { display: block; width: 100%; height: 640px; border: 0; background: transparent; color-scheme: dark; opacity: 0; visibility: hidden; position: absolute; inset: 0 0 auto 0; transition: opacity .35s ease; }
.vmx-frame.is-on { position: relative; opacity: 1; visibility: visible; }
.vmx-loading { position: absolute; inset: 0 0 auto 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: 70px 420px; gap: 18px; }
.vmx-loading span { border-radius: 18px; background: linear-gradient(100deg, rgba(255,255,255,.03) 30%, rgba(255,255,255,.07) 50%, rgba(255,255,255,.03) 70%); background-size: 300% 100%; animation: vmx-shimmer 1.4s ease-in-out infinite; }
.vmx-loading span:nth-child(2) { grid-column: 1; } .vmx-loading span:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
.vmx-loading[hidden] { display: none; }
@keyframes vmx-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.vmx-unavailable { margin: 0; padding: 40px 0; color: var(--vmx-mute); text-align: center; }
@media (max-width: 1099px) { .vmx-loading { grid-template-columns: 1fr; grid-template-rows: 60px 320px; } .vmx-loading span:nth-child(3) { display: none; } }
@media (max-width: 560px) {
  .vmx { gap: 16px; padding: 0 16px 24px; }
  .vmx-hero { min-height: 180px; padding: 20px; border-radius: 22px; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; }
  .vmx-hero h2 { font-size: 2.2rem; }
  .vmx-launch { padding: 10px 14px 10px 10px; font-size: .85rem; }
  .vmx-chip { min-width: 0; padding-right: 14px; } .vmx-spark { display: none; }
  .vmx-desk { margin: 0 -16px; min-height: 520px; }
}
/* The hero runs to the very top of the page, under Vice Market's floating top bar (Kyle: "no like horizontal bar at the
   top of the page the image should go all the way to the top"). */
.vmx-hero { min-height: 300px; padding-top: 96px; border-top-left-radius: 0; border-top-right-radius: 0; }
@media (max-width: 560px) { .vmx-hero { min-height: 240px; padding-top: 72px; margin: 0 -16px; border-radius: 0 0 22px 22px; } }

/* Two ways to launch (Kyle: "Launch a Culture Token" and "Apply to Launch a Business Token"). The culture token is the
   primary pill and opens the launch flow once launching runs here; the business token opens the business permit
   application, which the owner reviews. */
.vmx-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.vmx-apply { display: inline-flex; align-items: center; padding: 11px 18px; border: 1px solid rgba(232,222,255,.28); border-radius: 999px; background: rgba(14,10,24,.55); backdrop-filter: blur(10px); color: var(--vmx-ink); font-weight: 700; font-size: .88rem; text-decoration: none; transition: border-color .2s, background .2s; }
.vmx-apply:hover { border-color: rgba(232,222,255,.55); background: rgba(14,10,24,.72); }
.vmx-apply:focus-visible { outline: 2px solid #b18cff; outline-offset: 2px; }
.vmx-launch { border-color: transparent; background: #7C5CFF; color: #fff; font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; }
.vmx-launch:hover { border-color: transparent; background: #6a48f5; }
.vmx-launch[hidden] { display: none; }
@media (max-width: 560px) {
  .vmx-actions { align-items: stretch; width: 100%; }
  .vmx-launch, .vmx-apply { justify-content: center; }
}
