*{box-sizing:border-box}body{margin:0;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Roboto,Ubuntu,sans-serif;background:#fff;color:#1a1a1a}#root{min-height:100vh}.shell{max-width:none;margin:0 auto;padding:8px 16px 12px;min-height:100vh;display:flex;flex-direction:column}.shell.index-mode{max-width:none;padding:12px 16px 16px}.shell.index-mode .combo-row{margin-bottom:8px}.shell.index-mode .page-header{margin-bottom:8px;justify-content:space-between}h1{margin:0;font-size:20px;font-weight:600}.page-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.chart-view-tabs{display:flex;gap:8px;flex-shrink:0}.chart-view-tabs button{padding:8px 16px;border-radius:8px;border:1px solid #d0d0d0;background:#fff;color:#333;cursor:pointer;font-size:14px;font-weight:500;white-space:nowrap;box-shadow:0 1px 3px #0000000f}.chart-view-tabs button.active{background:#6366f1;border-color:#6366f1;color:#fff;box-shadow:0 2px 8px #6366f159}.subtitle{color:#666;margin-bottom:16px;font-size:14px}.toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:6px;padding-bottom:6px;border-bottom:1px solid #e8e8e8}.chart-time-bar{display:flex;gap:16px;align-items:center;flex:1 1 auto;min-width:0;padding:0 4px}.chart-header-bar{display:flex;align-items:center;margin-bottom:8px}.spread-view,.index-view{display:none}.spread-view.active{display:block}.index-view.active{display:flex;flex:1;flex-direction:column;min-height:0}.index-spread-iframe{flex:1;width:100%;height:calc(100vh - 120px);min-height:360px;border:none;border-radius:8px;background:#fff}@media (max-width: 768px){.page-header{flex-wrap:wrap;gap:10px}.chart-view-tabs{width:100%;justify-content:flex-end}.chart-header-bar{flex-wrap:wrap}.shell.index-mode{padding:8px 10px 10px}.index-spread-iframe{height:calc(100vh - 112px);min-height:280px;border-radius:6px}}.quick-time{padding:0;border:none;background:transparent;color:#999;font-size:13px;cursor:pointer;border-radius:0}.quick-time.active{color:#000;font-weight:500;background:transparent;border:none}select,.toolbar>button{padding:8px 12px;border-radius:8px;border:1px solid #e0e0e0;background:#fff;color:#333;cursor:pointer;font-size:13px}.toolbar>button.active{background:#1989fa;border-color:#1989fa;color:#fff}.pair-info{margin-bottom:12px;color:#666;font-size:13px}.combo-row{margin-bottom:8px}.combo-cards-scroll{width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#c4c4c4 transparent;padding-bottom:4px}.combo-cards-scroll::-webkit-scrollbar{height:6px}.combo-cards-scroll::-webkit-scrollbar-track{background:#f0f0f0;border-radius:3px}.combo-cards-scroll::-webkit-scrollbar-thumb{background:#c4c4c4;border-radius:3px}.combo-cards-scroll::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.combo-cards{display:inline-flex;gap:10px;min-width:min-content;padding:2px 0 6px}.combo-card{position:relative;flex:0 0 auto;min-width:132px;padding:10px 14px;border-radius:10px;border:1px solid #e8e8e8;background:#fff;cursor:pointer;text-align:center;transition:background .2s,border-color .2s,box-shadow .2s,color .2s;font-family:inherit}.combo-card.empty{cursor:default;color:#999}.combo-card.active{background:#6366f1;border-color:#6366f1;box-shadow:0 4px 14px #6366f159;color:#fff}.combo-card-symbols{font-size:12px;font-weight:500;line-height:1.3;margin-bottom:8px;white-space:nowrap;color:inherit;opacity:.92}.combo-card.active .combo-card-symbols{opacity:1}.combo-card-spreads{display:flex;justify-content:center;gap:12px}.combo-card-spread{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2}.combo-card-spread.positive{color:#54c31b}.combo-card-spread.negative{color:#f5232d}.combo-card-spread.zero{color:#999}.combo-card.active .combo-card-spread.positive{color:#b8f5c0}.combo-card.active .combo-card-spread.negative{color:#ffb3ba}.combo-card.active .combo-card-spread.zero{color:#ffffffbf}@media (max-width: 768px){.combo-card{min-width:118px;padding:8px 12px}.combo-card-symbols{font-size:11px;margin-bottom:6px}.combo-card-spread{font-size:14px}.combo-card-spreads{gap:10px}}.quote-panel{display:flex;flex-wrap:nowrap;gap:12px;margin-bottom:12px;overflow-x:auto}.quote-card{flex:1 1 0;min-width:160px;background:#f5f5f5;border:1px solid #ececec;border-radius:10px;padding:10px 14px}.quote-head{font-size:12px;color:#999;margin-bottom:8px}.quote-line{display:flex;flex-wrap:nowrap;align-items:baseline;gap:8px;white-space:nowrap}.quote-sep{color:#1a1a1a;font-size:16px;font-weight:600}.quote-value{color:#1a1a1a;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.2}.line-toggle{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#666;cursor:pointer;-webkit-user-select:none;user-select:none}.toolbar-options{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;margin-left:auto}.ma-panel{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}.ma-checkbox{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:#666;cursor:pointer;-webkit-user-select:none;user-select:none}.ma-checkbox input{width:14px;height:14px;cursor:pointer;accent-color:#2196F3}.ma-add-row{display:inline-flex;align-items:center;gap:6px}.ma-add-btn,.ma-expand-btn{padding:5px 10px;border-radius:6px;border:1px solid #e0e0e0;background:#fff;color:#333;font-size:13px;cursor:pointer;line-height:1.2}.ma-add-btn:hover,.ma-expand-btn:hover{border-color:#2196f3;color:#2196f3}.ma-tags{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.ma-tag{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:12px;border:1px solid #2196F3;font-size:12px;line-height:1.4;background:#2196f30f}.ma-tag-remove{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;border:none;border-radius:50%;background:transparent;color:inherit;font-size:14px;line-height:1;cursor:pointer;opacity:.7}.ma-tag-remove:hover{opacity:1;background:#0000000f}.ma-period-input{padding:6px 8px;border-radius:6px;border:1px solid #e0e0e0;background:#fff;color:#333;font-size:13px;width:72px}.ma-period-input::placeholder{color:#bbb}.line-toggle input{width:15px;height:15px;cursor:pointer;accent-color:#1989fa}@media (max-width: 768px){.shell{padding:12px}h1{font-size:18px}.chart-view-tabs button{padding:7px 12px;font-size:13px}.quote-panel{gap:8px}.quote-card{min-width:0;flex:1 1 0;padding:8px 10px}.quote-head{font-size:11px;margin-bottom:4px}.quote-line{gap:4px}.quote-value,.quote-sep{font-size:14px;font-weight:600}.chart-box{height:420px}.line-toggle{margin-left:0}.toolbar-options{width:100%;margin-left:0;justify-content:flex-start}}.live-panel{display:flex;flex-wrap:nowrap;gap:12px;margin-bottom:8px}.live-card{flex:1 1 0;min-width:140px;border-radius:10px;padding:12px 14px}.live-card-ab{background:#eef8f0}.live-card-ba{background:#faf4ea}.live-label{color:#666;font-size:13px;margin-bottom:8px}.live-value{font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2}.live-value.positive{color:#2e9b3a}.live-value.negative{color:#e84d5c}.live-value.zero{color:#666}.funding-panel{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;margin-bottom:7px;padding:8px 14px;border-radius:10px;background:#faf8f4;border:1px solid #f0ebe3;font-size:15px}.funding-item{display:flex;align-items:baseline;gap:8px}.funding-label{color:#666}.funding-value{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;color:#333}.funding-value.positive{color:#f5232d}.funding-value.negative{color:#54c31b}.funding-value.zero{color:#666}.funding-sep{color:#ccc;margin:0 2px}.funding-recent{color:#888;font-size:14px}.funding-next{margin-left:auto;color:#888;font-size:12px}@media (max-width: 768px){.funding-panel{flex-wrap:nowrap;justify-content:space-between;gap:8px;padding:10px 14px;font-size:14px}.funding-item{gap:6px;flex:0 1 auto;min-width:0;white-space:nowrap}.funding-label{font-size:14px}.funding-value{font-size:15px}.funding-recent{font-size:13px}.funding-next{margin-left:0;width:auto;flex:0 1 auto;font-size:11px;white-space:nowrap}.live-value{font-size:22px}}.chart-box{height:clamp(380px,calc(100vh - 410px),560px);border:1px solid #e8e8e8;border-radius:8px;overflow:hidden;background:#fff;position:relative}.symbol-funding-dot{display:none;position:absolute;right:8px;top:7px;width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:#12b981;box-shadow:0 0 0 3px #12b98126;pointer-events:none}.symbol-funding-dot.active{display:block;animation:symbolFundingPulse 1.8s infinite}.index-symbol-row .symbol-funding-dot{display:none;margin:0}.index-symbol-row .symbol-funding-dot.active{display:block}@keyframes symbolFundingPulse{50%{box-shadow:0 0 0 7px #12b98100}}@media (prefers-reduced-motion: reduce){.symbol-funding-dot.active{animation:none}}.index-brand-title{display:flex;align-items:baseline;gap:8px;padding-left:3px;color:#101828;font-size:22px;font-weight:800;letter-spacing:-.035em;white-space:nowrap;animation:index-brand-breathe 2.4s ease-in-out infinite}.index-brand-title span{color:#6559ed;font-weight:850}.index-brand-title b{position:relative;color:#101828;font-weight:800}.index-brand-title b:after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:2px;border-radius:2px;background:#6559ed;animation:index-brand-line 2.4s ease-in-out infinite}@keyframes index-brand-breathe{0%,to{opacity:.76;text-shadow:0 0 0 rgba(101,89,237,0)}50%{opacity:1;text-shadow:0 0 12px rgba(101,89,237,.28)}}@keyframes index-brand-line{0%,to{opacity:.4;transform:scaleX(.35)}50%{opacity:1;transform:scaleX(1)}}@media (prefers-reduced-motion: reduce){.index-brand-title,.index-brand-title b:after{animation:none;opacity:1;transform:none}}.chart-box-wrap{position:relative}.chart-watermark{position:absolute;z-index:3;left:50%;top:40%;transform:translate(-50%,-50%);color:#147bd1;opacity:.065;font-size:clamp(42px,7vw,112px);font-weight:800;letter-spacing:.04em;white-space:nowrap;pointer-events:none;-webkit-user-select:none;user-select:none}.chart-tooltip{position:absolute;display:none;padding:12px;font-size:14px;z-index:1000;pointer-events:none;border-radius:10px;box-shadow:0 10px 28px #1b3d602e;background:#fffffff7;color:#000;border:1px solid rgba(20,123,209,.28);min-width:205px;max-width:calc(100% - 16px);-webkit-tap-highlight-color:transparent}@media (max-width: 768px){.chart-tooltip{font-size:13px;padding:10px 12px}}.chart-tooltip-title{font-weight:600;margin-bottom:8px}.status-hint{margin-top:10px;color:#f59e0b;font-size:13px}.chart-brand-logo{min-width:60px;white-space:nowrap}.chart-brand-logo-img{height:100%;max-height:24px;width:auto;object-fit:contain}.chart-brand-logo-text{color:#000;font-weight:500;padding:0 4px}.index-page{min-height:calc(100vh - 78px);padding:0 8px 24px;color:#1d2939;background:#fff}.index-symbol-row{display:flex;align-items:stretch;border:1px solid #e4e7ec;border-radius:12px 12px 0 0;background:#fff;overflow:hidden}.index-symbol-row>button{position:relative;min-width:218px;padding:13px 18px 12px;border:0;border-right:1px solid #e4e7ec;background:#fff;color:#667085;text-align:left;cursor:pointer}.index-symbol-row>button strong{display:block;color:#344054;font-size:14px}.index-symbol-row>button span{display:block;margin-top:8px;font-size:12px}.index-symbol-row>button.active{background:#f2f1ff;box-shadow:inset 0 -3px #6559ed}.index-symbol-row>button.active strong{color:#5547e8}.index-symbol-row .symbol-spread-values{display:flex;align-items:flex-end;gap:18px;margin-top:9px}.index-symbol-row .symbol-spread-values b{display:flex;flex-direction:column;gap:3px;font:750 18px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:-.03em}.index-symbol-row .symbol-spread-values small{color:#98a2b3;font:500 9px/1.2 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:0}.index-symbol-row .symbol-spread-values .ab{color:#ef5361}.index-symbol-row .symbol-spread-values .ba{color:#05a875}.index-live-state{margin-left:auto;display:flex;align-items:center;gap:10px;padding:10px 20px}.index-live-state>i{width:9px;height:9px;border-radius:50%;background:#f04438;box-shadow:0 0 0 5px #fef3f2}.index-live-state>i.online{background:#12b76a;box-shadow:0 0 0 5px #ecfdf3}.index-live-state strong,.index-live-state span{display:block}.index-live-state strong{font-size:13px}.index-live-state span{margin-top:4px;color:#98a2b3;font-size:11px}.index-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e4e7ec;border-top:0}.index-overview article{min-width:0;padding:17px 20px 15px;border-right:1px solid #e4e7ec}.index-overview article:last-child{border-right:0}.index-overview span,.index-overview small{display:block;color:#667085;font-size:12px}.index-overview>article>strong{display:block;margin:8px 0 10px;color:#101828;font:700 clamp(25px,2.4vw,40px)/1.05 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:-.04em}.index-overview strong.up{color:#12a15c}.index-overview strong.down{color:#e84755}.index-overview small{display:flex;justify-content:space-between;gap:8px}.index-overview small b{color:#98a2b3;font-weight:500}.index-chart-card{margin-top:12px;border:1px solid #e4e7ec;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 8px #1018280a}.index-chart-title{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px}.index-chart-title small{color:#6559ed;font-size:11px;font-weight:700;letter-spacing:.1em}.index-chart-title h2{margin:5px 0 0;font-size:22px}.index-chart-actions,.period-buttons{display:flex;align-items:center;gap:8px}.component-button,.period-buttons button{padding:10px 14px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#344054;font-weight:600;cursor:pointer}.component-button b{display:inline-block;margin-left:8px;padding:2px 7px;border-radius:5px;color:#5547e8;background:#eeecff}.period-buttons button.active{color:#fff;border-color:#6559ed;background:#6559ed}.metric-tabs{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #e4e7ec;border-bottom:1px solid #e4e7ec}.metric-tabs button{display:flex;align-items:center;gap:12px;padding:13px 17px;border:0;border-right:1px solid #e4e7ec;background:#fff;text-align:left;cursor:pointer}.metric-tabs button:last-child{border-right:0}.metric-tabs button>i{color:#98a2b3;font: 11px ui-monospace,monospace}.metric-tabs strong,.metric-tabs small{display:block}.metric-tabs strong{color:#344054;font-size:13px}.metric-tabs small{margin-top:3px;color:#98a2b3;font-size:10px}.metric-tabs button.active{background:#f8f7ff;box-shadow:inset 0 -3px #6559ed}.metric-tabs button.active strong{color:#5547e8}.chart-current{display:flex;gap:10px;padding:12px 20px 0}.chart-current>i{color:#98a2b3;font: 10px ui-monospace,monospace}.chart-current strong,.chart-current span{display:block}.chart-current strong{color:#5547e8;font-size:12px}.chart-current span{margin-top:5px;font:600 15px ui-monospace,monospace}.index-chart{height:clamp(390px,52vh,600px)}.index-chart-wrap{position:relative}.index-chart-watermark{position:absolute;z-index:2;left:50%;top:46%;transform:translate(-50%,-50%);color:#6559ed13;font-size:clamp(46px,7vw,108px);font-weight:850;letter-spacing:.04em;white-space:nowrap;pointer-events:none;-webkit-user-select:none;user-select:none}.index-chart-footer{display:flex;justify-content:space-between;gap:15px;padding:12px 20px;border-top:1px solid #e4e7ec;color:#667085;font-size:11px}.legend-dot{display:inline-block;width:8px;height:8px;margin:0 5px 0 13px;border-radius:50%}.legend-dot:first-child{margin-left:0}.legend-dot.index{background:#3baeea}.legend-dot.mark{background:#e2a94c}.legend-dot.spread{background:#12b76a}.legend-dot.funding{background:#8f6bed}.index-system-status{display:grid;grid-template-columns:repeat(4,1fr);margin-top:12px;border:1px solid #e4e7ec;border-radius:10px;background:#f9fafb}.index-system-status div{padding:12px 18px;border-right:1px solid #e4e7ec}.index-system-status div:last-child{border:0}.index-system-status span,.index-system-status strong{display:block}.index-system-status span{color:#98a2b3;font-size:11px}.index-system-status strong{margin-top:4px;font-size:13px}.constituent-backdrop{position:fixed;z-index:2000;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#1018286b;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.constituent-modal{display:flex;flex-direction:column;width:min(820px,100%);max-height:min(82vh,820px);border:1px solid #d0d5dd;border-radius:14px;background:#fff;box-shadow:0 28px 80px #1018283d;overflow:hidden}.constituent-modal>header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px}.constituent-modal header span{color:#6559ed;font-size:11px;font-weight:700}.constituent-modal h2{margin:6px 0 0;font-size:23px}.modal-close{padding:9px 13px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;cursor:pointer}.modal-tabs{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e4e7ec;border-bottom:1px solid #e4e7ec}.modal-tabs button{padding:14px;border:0;background:#fff;color:#667085;font-weight:600;cursor:pointer}.modal-tabs button.active{color:#5547e8;background:#f8f7ff;box-shadow:inset 0 -3px #6559ed}.modal-tabs b{margin-left:6px;padding:2px 6px;border-radius:9px;background:#eeecff}.modal-content{min-height:0;overflow:auto}.component-summary{display:flex;justify-content:space-between;padding:13px 24px;color:#667085;font-size:12px;background:#f9fafb}.component-list article{display:grid;grid-template-columns:45px 1fr auto;align-items:center;gap:14px;padding:15px 24px;border-top:1px solid #eaecf0}.component-list i{color:#98a2b3;font: 11px ui-monospace,monospace}.component-list strong,.component-list small{display:block}.component-list small{margin-top:5px;color:#667085}.component-list>article>b{color:#5547e8;font-family:ui-monospace,monospace}.notification-list{padding:14px;background:#f9fafb}.notification-card{margin-bottom:12px;border:1px solid #e4e7ec;border-radius:9px;background:#fff;overflow:hidden}.notification-head,.notification-change{display:flex;align-items:center;gap:15px;padding:12px 15px}.notification-head{justify-content:space-between}.notification-head span,.notification-head strong{display:block}.notification-head span{margin-top:3px;color:#98a2b3;font-size:10px}.notification-head>b{color:#027a48;padding:4px 8px;border-radius:5px;background:#ecfdf3;font-size:11px}.notification-counts{padding:9px 15px;border-top:1px solid #eaecf0;border-bottom:1px solid #eaecf0;color:#667085;font-size:11px}.notification-change{display:grid;grid-template-columns:55px 1fr auto;border-bottom:1px solid #f2f4f7}.notification-change em{font-style:normal;font-size:11px;color:#b54708}.notification-change em.added{color:#027a48}.notification-change em.removed{color:#b42318}.notification-change strong,.notification-change small{display:block}.notification-change small{color:#98a2b3;margin-top:3px}.notification-change>span{font:11px ui-monospace,monospace}.empty-notice{display:grid;gap:8px;place-content:center;min-height:240px;color:#667085;text-align:center}.constituent-modal>footer{padding:13px 24px;border-top:1px solid #e4e7ec;color:#667085;font-size:11px}@media (max-width: 900px){.index-overview{grid-template-columns:repeat(2,1fr)}.index-overview article:nth-child(2){border-right:0}.index-overview article:nth-child(-n+2){border-bottom:1px solid #e4e7ec}.metric-tabs{grid-template-columns:repeat(2,1fr)}.metric-tabs button:nth-child(2){border-right:0}.index-chart-title{align-items:flex-start}.index-chart-actions{align-items:flex-end;flex-direction:column}}@media (max-width: 640px){.index-page{padding:0 2px 16px}.index-symbol-row{flex-wrap:wrap}.index-symbol-row>button{flex:1 0 100%;min-width:100%;padding:12px 14px}.index-symbol-row .symbol-spread-values{gap:24px}.index-live-state{width:100%;border-top:1px solid #e4e7ec}.index-overview{grid-template-columns:1fr}.index-overview article{border-right:0;border-bottom:1px solid #e4e7ec}.index-chart-title{flex-direction:column}.index-chart-actions{width:100%;align-items:stretch}.component-button{width:100%}.period-buttons button{flex:1}.metric-tabs{grid-template-columns:1fr 1fr}.metric-tabs button{padding:11px 9px}.index-chart{height:430px}.index-chart-footer{flex-direction:column}.index-system-status{grid-template-columns:1fr 1fr}.index-system-status div:nth-child(2){border-right:0}.index-system-status div:nth-child(-n+2){border-bottom:1px solid #e4e7ec}.constituent-backdrop{padding:10px}.component-list article{padding:13px}.component-summary{padding:12px 13px}.notification-change{grid-template-columns:45px 1fr}.notification-change>span{grid-column:2}.constituent-modal>footer{padding:12px 14px}}
