/* Scoped to the VIP dashboard. Existing financial cards retain their styling. */
html{scroll-behavior:smooth;scroll-padding-top:24px}body.vip-page{background:#000!important}.vip-city{position:fixed;inset:0;z-index:0;pointer-events:none;background:linear-gradient(#0000000a,#0000002b),url('skyline.png') center/cover no-repeat}.vip-masthead{position:relative;z-index:30;background:#000;display:grid;grid-template-columns:minmax(200px,1fr) 2fr minmax(120px,.5fr);gap:24px;align-items:start;padding:20px 3%;color:#fff;font-family:system-ui,sans-serif}.vip-brand{display:flex;align-items:end;gap:6px;text-decoration:none;color:white}.vip-brand img{width:100%;max-width:310px;height:auto}.vip-brand span{font-weight:700;font-size:16px;padding-bottom:8px}.vip-heading>div{display:flex;align-items:center;justify-content:center;gap:12px}.vip-heading img{width:43px;height:43px;object-fit:contain}.vip-heading h1{font-size:clamp(22px,2.15vw,37px);line-height:1.15;margin:0;color:#fff;letter-spacing:0}.vip-heading nav{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:22px}.vip-heading nav button,.vip-heading nav a{font:500 13px/1.4 system-ui;color:#e9d39a;background:none;border:0;padding:5px 0;text-decoration:none;cursor:pointer}.vip-environment{text-align:right;font-size:17px}.vip-environment span{display:block;font-size:10px;letter-spacing:2px;color:#bdac80;margin-top:5px}.vip-intro{position:relative;z-index:1;width:80%;margin:0 auto;padding:48px 0 42px;color:white;font-family:system-ui,sans-serif;text-shadow:0 2px 18px #000}.vip-eyebrow{font:700 11px/1.5 system-ui;letter-spacing:2px;color:#f6c944}.vip-intro h2{font-size:clamp(34px,4vw,62px);line-height:1.08;margin:14px 0;letter-spacing:-1.5px;color:#fff}.vip-intro h2 span{color:#a9e2ff}.vip-intro>p:not(.vip-eyebrow){font-size:16px;font-weight:500}.vip-intro button{padding:10px 14px;border:1px solid #ae965c;background:#000d;color:#f6d783;border-radius:5px;font:500 13px system-ui;margin:8px 10px 0 0;cursor:pointer}
body.vip-page .vip-proscenium{position:relative!important;z-index:2;width:100%!important;max-width:none!important;min-height:0!important;background:transparent!important;padding-bottom:30px}.vip-proscenium>.vip-stage{display:none!important}.vip-proscenium>.vip-glass{position:relative!important;inset:auto!important;height:auto!important}.vip-glass>#vipInstrumentLayer{position:relative!important;inset:auto!important;display:flex;flex-direction:column;gap:26px;align-items:center;padding-bottom:20px}
#vipInstrumentLayer>.vip-ecosystem-group,#vipInstrumentLayer>.vip-trade-tape,#vipInstrumentLayer>.vip-scoreboard,#vipInstrumentLayer>.vip-stats-row,#vipInstrumentLayer>.vip-trading-days,#vipInstrumentLayer>.vip-blue-yellow{position:relative!important;inset:auto!important;transform:none!important;margin:0 auto!important;width:80%!important;flex-shrink:0;scroll-margin-top:22px}
#vipInstrumentLayer>.vip-ecosystem-group{order:1;width:85%!important}#vipInstrumentLayer>.vip-trade-tape{order:2}#vipInstrumentLayer>.vip-scoreboard{order:3;width:60%!important}#vipInstrumentLayer>.vip-stats-row{order:4}#vipInstrumentLayer>.vip-trading-days{order:5}#vipInstrumentLayer>.vip-blue-yellow{order:6}
.vip-news-panel{position:relative;z-index:2;width:80%;margin:0 auto 55px;background:#050505f5;border:1px solid #8b722e;border-radius:14px;padding:28px;color:white;font-family:system-ui,sans-serif}.vip-news-panel h2{font-size:26px;color:#f6c944;margin:8px 0}.vip-news-panel p{color:#cdc8bb}#vipNewsCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.vip-news-card{text-align:left;color:#eee;background:#111;border:1px solid #776126;border-radius:8px;padding:16px;font:14px/1.5 system-ui;cursor:pointer}.vip-news-card b{display:block;color:#f6c944;margin-bottom:8px}.vip-news-note{font-size:12px}#vipBrief{max-width:750px;width:90%;max-height:85vh;overflow:auto;padding:36px;background:#070707;color:#fff;border:1px solid #d6b350;border-radius:14px;font:17px/1.65 system-ui;box-shadow:0 25px 100px #000}#vipBrief::backdrop{background:#000b;backdrop-filter:blur(6px)}#vipBrief h2{color:#f6c944;font-size:28px}#vipBriefBody{white-space:pre-wrap}#vipBriefClose{float:right;background:transparent;color:#fff;border:0;font-size:28px;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #71cdff;outline-offset:4px}
@media(max-width:900px){.vip-masthead{grid-template-columns:1fr auto}.vip-heading{grid-column:1/-1;grid-row:2}.vip-heading nav{margin-top:12px}.vip-brand img{max-width:235px}.vip-environment{font-size:14px}.vip-intro{width:92%;padding:32px 0}.vip-glass>#vipInstrumentLayer{gap:20px}#vipInstrumentLayer>.vip-ecosystem-group,#vipInstrumentLayer>.vip-trade-tape,#vipInstrumentLayer>.vip-scoreboard,#vipInstrumentLayer>.vip-stats-row,#vipInstrumentLayer>.vip-trading-days,#vipInstrumentLayer>.vip-blue-yellow,.vip-news-panel{width:92%!important}#vipNewsCards{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* VELA_VIP_HEADER_POLISH_V2 */
.vip-masthead{padding-top:10px;padding-bottom:10px}
.vip-brand img{max-width:375px;min-width:0}.vip-brand span{font-size:19px}
.vip-heading img{width:52px;height:52px;flex:0 0 52px}
.vip-heading h1{font-size:clamp(24px,2.6vw,44px)}
.vip-heading nav{margin-top:12px}
.vip-intro{padding-top:38px;padding-bottom:32px;isolation:isolate}
.vip-intro>.vip-eyebrow{margin-top:0;margin-bottom:4px}
.vip-intro h2{margin:10px 0;color:#ffda45;text-shadow:0 2px 0 #000,2px 0 0 #000,-2px 0 0 #000,0 -1px 0 #000,0 5px 18px #000b}
.vip-intro h2 span{color:#ffda45}
.vip-intro>p:not(.vip-eyebrow){margin:8px 0;font-size:14px}
.vip-intro button{padding:8px 12px;margin-top:4px}
.vip-intro:before{content:'';position:absolute;inset:0 -12.5%;z-index:-2;pointer-events:none;background:linear-gradient(105deg,#08080835,#3232321a 70%,transparent)}
.vip-intro:after{content:'';position:absolute;inset:0 -12.5%;z-index:-1;pointer-events:none;opacity:.17;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='48' viewBox='0 0 84 48'%3E%3Cpath d='M14 0H42L56 24L42 48H14L0 24ZM56 24H84M42 0L56 -24M42 48L56 72' fill='none' stroke='%23000000' stroke-width='1.4'/%3E%3Cpath d='M15 1H41L54 24' fill='none' stroke='%23b5b5b5' stroke-width='.6'/%3E%3C/svg%3E");-webkit-mask-image:linear-gradient(90deg,transparent,#0008 30%,#000 75%,transparent);mask-image:linear-gradient(90deg,transparent,#0008 30%,#000 75%,transparent)}
.vip-ecosystem-group>.vip-ecosystem-title{display:block;width:100%;margin:0 0 10px;padding:12px 16px;background:#030303eb;border:1px solid #8b722e;border-radius:8px;color:#f6c944;font:900 clamp(.9rem,1.1vw,1.2rem)/1.3 system-ui,sans-serif;letter-spacing:.15em;text-align:center}
@media(max-width:900px){.vip-brand img{max-width:285px}.vip-heading h1{font-size:clamp(24px,4.1vw,36px)}.vip-heading img{width:45px;height:45px;flex-basis:45px}.vip-intro{padding-top:22px;padding-bottom:22px}.vip-intro:before,.vip-intro:after{left:-4.35%;right:-4.35%}}
@media(max-width:480px){.vip-brand img{max-width:205px}.vip-brand span{font-size:15px}.vip-heading h1{font-size:24px}.vip-heading img{width:36px;height:36px;flex-basis:36px}}

/* VELA_VIP_CONTRAST_V3: equal header columns; one unified market panel */
@media(min-width:1401px){
 .vip-masthead{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
 .vip-heading{grid-column:2;grid-row:1}
 .vip-brand{grid-column:1;grid-row:1;max-width:420px}
 .vip-environment{grid-column:3;grid-row:1;justify-self:end}
}
@media(min-width:901px) and (max-width:1400px){
 .vip-masthead{grid-template-columns:minmax(0,1fr) auto;row-gap:10px}
 .vip-brand{grid-column:1;grid-row:1;max-width:420px}
 .vip-environment{grid-column:2;grid-row:1}
 .vip-heading{grid-column:1/-1;grid-row:2}
}
.vip-intro>.vip-eyebrow{color:#fff;text-shadow:0 2px 5px #000}
.vip-intro h2{font-weight:900;font-size:clamp(38px,4.5vw,72px);line-height:1.08;color:#050505;text-shadow:1px 0 #edce77,-1px 0 #edce77,0 1px #edce77,0 -1px #edce77,0 2px 12px #e9c05b55}
.vip-intro h2 span{color:#ffdb35;text-shadow:0 2px 0 #000,0 4px 16px #000,0 0 26px #ffcf2926}
.vip-intro:before{background:linear-gradient(90deg,rgba(0,0,0,.83) 0%,rgba(0,0,0,.72) 30%,rgba(0,0,0,.36) 48%,transparent 74%)}
.vip-intro:after{opacity:.2;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 32%,transparent 70%);mask-image:linear-gradient(90deg,#000 0%,#000 32%,transparent 70%);filter:invert(1)}
#vipInstrumentLayer>.vip-ecosystem-group{background:linear-gradient(180deg,rgba(2,3,4,.985),rgba(0,0,0,.985));border:1px solid rgba(246,201,68,.46);border-radius:13px;overflow:hidden;box-sizing:border-box}
.vip-ecosystem-group>.vip-ecosystem-title{background:transparent;border:0;border-radius:0;margin:0;padding:12px 16px 8px;box-sizing:border-box;font-size:clamp(.9rem,1.1vw,1.2rem)}
.vip-ecosystem-group>.vip-ecosystem{border:0;border-radius:0;background:transparent;box-shadow:none}
@media(max-width:600px){.vip-intro:before{background:linear-gradient(90deg,#000d,#0009 65%,#0003)}.vip-intro h2{font-size:clamp(34px,8vw,48px);letter-spacing:-1px}}

/* VELA_VIP_CONNECTION_ACTIONS_V4 */
.vip-intro button.vip-connect-action{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:8px 14px;vertical-align:middle;font-weight:600}.vip-connect-action img{display:block;width:28px;height:28px;object-fit:contain;flex:0 0 28px}.vip-connect-action:hover{background:#15130d;border-color:#ffda45}.vip-connect-action:focus-visible{outline:2px solid #71cdff;outline-offset:4px}

/* VELA_VIP_PANEL_SPACING_V5: one 10px heading rhythm, scoped to dashboard cards. */
#vipInstrumentLayer{--vip-panel-inset:10px;--vip-heading-gap:10px}
#vipInstrumentLayer>.vip-ecosystem-group,
#vipInstrumentLayer>.vip-trade-tape,
#vipInstrumentLayer>.vip-trading-days,
#vipInstrumentLayer>.vip-blue-yellow,
#vipInstrumentLayer .vip-score,
#vipInstrumentLayer .vip-stats-row>.vip-stat,
#vipInstrumentLayer #vipCurrentPosition{padding-top:var(--vip-panel-inset);padding-bottom:var(--vip-panel-inset)}
#vipInstrumentLayer .vip-ecosystem-group>.vip-ecosystem-title,
#vipInstrumentLayer .vip-trade-tape__header,
#vipInstrumentLayer .vip-score__label,
#vipInstrumentLayer .vip-stat>.vip-ecosystem__symbol,
#vipInstrumentLayer .vip-trading-days__title,
#vipInstrumentLayer .vip-blue-yellow__title{margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:var(--vip-heading-gap);line-height:1.25;box-sizing:border-box}
#vipInstrumentLayer .vip-trade-tape__header .vip-trade-tape__title{margin:0;padding:0;line-height:1.25}
#vipInstrumentLayer .vip-trade-tape__see-all{top:calc((100% - var(--vip-heading-gap))/2)}
#vipInstrumentLayer .vip-stat>.vip-ecosystem__symbol+br{display:none}
#vipInstrumentLayer .vip-score__label+.vip-score__value,
#vipInstrumentLayer .vip-stat>.vip-ecosystem__symbol+.vip-stat__value,
#vipInstrumentLayer .vip-stat>.vip-ecosystem__symbol+br+.vip-stat__value,
#vipInstrumentLayer .vip-trading-days__start{margin-top:0}
#vipInstrumentLayer .vip-trading-days__start{margin-bottom:10px;line-height:1.4}
#vipInstrumentLayer .vip-ecosystem__cell{padding-top:10px;padding-bottom:10px}
#vipInstrumentLayer .vip-trade-card{padding-bottom:10px;padding-left:10px;padding-right:10px}
#vipInstrumentLayer .vip-day-card{padding-top:10px;padding-bottom:10px}
