
.market-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.market-head a{color:var(--muted,#698098)}.market-head h1{font-size:26px;margin:20px 0 6px}.market-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin:20px 0}.market-tabs button{padding:13px 5px;background:#e8eff6;border:0;border-radius:12px;color:#395777}.market-tabs button[aria-pressed=true]{background:#173b59;color:white}.market-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}.market-controls input{grid-column:1/-1;width:100%;box-sizing:border-box}.market-card{padding:18px;margin:12px 0;border:1px solid #d5e0e9;border-radius:18px;background:var(--panel,#fff);width:100%;text-align:left;color:inherit}.market-title{display:flex;justify-content:space-between;gap:12px;align-items:start}.market-title strong{font-size:19px}.market-status{font-size:12px;border-radius:10px;padding:4px 8px;background:#e5f2ec;color:#226251;white-space:nowrap}.market-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.market-metrics span{font-size:12px;color:#77879a;display:block}.market-metrics b{display:block;font-size:17px;padding-top:4px}.market-history{display:flex;gap:3px;height:35px;align-items:end;margin-top:12px}.market-history i{flex:1;min-width:3px;border-radius:3px;background:#c6d2de}.market-history i.active{background:#ed7953}.market-card p{margin:8px 0;font-size:13px;color:#76869a;overflow-wrap:anywhere}.market-rank{font-size:25px;color:#24708d}.market-rule{margin:20px 0 110px;font-size:13px;line-height:1.8;color:#76869a}.market-detail p{white-space:pre-wrap;overflow-wrap:anywhere}.market-detail table{font-size:13px;width:100%;border-collapse:collapse}.market-detail td,.market-detail th{padding:10px 4px;text-align:left;border-bottom:1px solid #d8e2ec}.up{color:#ba5033}.down{color:#168363}#market-error{color:#b2692c;white-space:pre-wrap}#market-refresh{white-space:nowrap}
@media(prefers-color-scheme:dark){.market-card{background:#111b23;border-color:#34434f}.market-tabs button{background:#24313c;color:#cbd6e0}.market-tabs button[aria-pressed=true]{background:#1d5477}.market-history i{background:#485563}.market-status{background:#183f35;color:#9edcc8}.market-controls input,.market-controls select{background:#111b23;color:#dce8f1}}

.strength-line{display:block;width:100%;min-height:110px;max-height:230px}.rotation-scroll{overflow:auto;max-height:560px;border:1px solid #bacbd8;border-radius:12px;margin:15px 0}.rotation-map{border-collapse:separate;border-spacing:3px;white-space:nowrap;font-size:12px}.rotation-map th,.rotation-map td{padding:6px 8px;text-align:center}.rotation-map th:first-child{position:sticky;left:0;background:var(--panel,#f6f9fc);color:#48667b}.rotation-map td{min-width:30px}.rotated{background:#e88243;color:white}.active{background:#58b8ac}.quiet{background:#e9eff6}.missing{background:#aeb8c2}.rotation-map tr{cursor:pointer}@media(prefers-color-scheme:dark){.rotation-map th:first-child{background:#142330;color:#c7d9e8}.quiet{background:#243445}}

.market-detail{padding:18px;overflow-wrap:anywhere}.market-detail>.primary{width:100%;margin-bottom:16px}.market-detail h3{margin:16px 0 8px}
