.historical-replay{margin:0 0 1.2rem;padding:1rem 0 1.2rem;border-bottom:1px solid var(--line)}
.replay-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.replay-heading h2{font-size:1.2rem;margin:.2rem 0}
.replay-identity,.replay-note{color:var(--muted);font-size:.88rem;line-height:1.6}.replay-status{display:inline-flex;border-radius:999px;padding:.25rem .65rem;background:#f1efff;color:#6250cb;font-size:.78rem;white-space:nowrap}.replay-status.rejected,.replay-status.input_rejected{background:#fff0f1;color:#b34f62}.replay-status.missing{background:#f4f5f7;color:#6b7280}
.replay-reasons{color:#b34f62;margin:.4rem 0;padding-left:1.2rem}.replay-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;margin:1rem 0}.replay-stats>div{min-width:0}.replay-stats small{display:block;color:var(--muted);font-size:.75rem}.replay-stats b{display:block;margin-top:.25rem;font-size:1rem;font-variant-numeric:tabular-nums}
.replay-chart{display:block;width:100%;height:auto;overflow:visible}.replay-chart line{stroke:var(--line);stroke-width:1}.replay-main-line{fill:none;stroke:#7460e8;stroke-width:2}.replay-benchmark-line{fill:none;stroke:#bf8a31;stroke-width:2;stroke-dasharray:6 4}.replay-details{border-top:1px solid var(--line);padding:.75rem 0}.replay-details summary{cursor:pointer;color:var(--muted)}.replay-details table{min-width:860px}.replay-details pre{max-height:16rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f7fb;padding:.8rem;border-radius:.8rem;font-size:.76rem;color:#667085}.replay-empty{padding:.8rem;border-left:3px solid #cf6679;background:#fff8f9;color:#9b4d5b;border-radius:.4rem}.replay-error{color:#a94358}
.strategy-list-section{margin:0 0 1.5rem;padding:1.1rem 0 1.35rem;border-bottom:1px solid var(--line)}.strategy-list-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.strategy-list-heading h2{margin:.1rem 0;font-size:1.22rem}.strategy-list-heading p,.strategy-list-note{color:var(--muted);font-size:.85rem;line-height:1.55}.strategy-list-status{color:var(--muted);font-size:.82rem}.strategy-table-wrap{width:100%;overflow-x:auto}.strategy-table{width:100%;border-collapse:collapse;font-size:.9rem}.strategy-table th,.strategy-table td{padding:.72rem .55rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.strategy-table thead th{color:var(--muted);font-weight:500;font-size:.78rem}.strategy-table tbody th{font-weight:600;white-space:nowrap}.strategy-table td:nth-child(2),.strategy-table td:nth-child(3){font-variant-numeric:tabular-nums;white-space:nowrap}.strategy-table td:nth-child(4){color:var(--muted)}.strategy-table a{color:#6757ce;text-decoration:none;white-space:nowrap}.strategy-table a:hover{text-decoration:underline}.strategy-unranked{color:var(--muted)}.strategy-detail-heading{margin-top:1rem}.strategy-detail-heading h2{font-size:1.1rem}
.lane-version-notice{margin:.75rem 0;padding:.8rem 1rem;border:1px solid #e7be75;border-left:3px solid #c58b31;border-radius:.7rem;background:#fffaf0;color:#805d27}.lane-version-notice b{font-size:.9rem}.lane-version-notice p{margin:.3rem 0 0;font-size:.84rem;line-height:1.55}
@media(max-width:650px){.replay-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.replay-heading{align-items:flex-start}.replay-details table{min-width:760px}}
@media(max-width:600px){.strategy-list-section{padding:.7rem 0 1rem}.strategy-list-heading{display:block}.strategy-list-status{display:block;margin:.25rem 0 .6rem}.strategy-table,.strategy-table tbody{display:block;width:100%;font-size:.82rem}.strategy-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.strategy-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.15rem .7rem;padding:.55rem .7rem;margin:.45rem 0;border:1px solid var(--line);border-radius:.75rem}.strategy-table th,.strategy-table td{min-width:0;padding:.25rem 0;border:0}.strategy-table tbody th{grid-column:1/-1;padding-bottom:.35rem;font-size:.9rem}.strategy-table td{display:flex;justify-content:space-between;gap:.5rem;white-space:nowrap}.strategy-table td:nth-child(2)::before{content:"名次";color:var(--muted)}.strategy-table td:nth-child(3)::before{content:"区间收益";color:var(--muted)}.strategy-table td:nth-child(4)::before{content:"盈亏";color:var(--muted)}.strategy-table td:nth-child(5)::before{content:"最大回撤";color:var(--muted)}.strategy-table td:nth-child(6)::before{content:"成交";color:var(--muted)}.strategy-table td:nth-child(7){grid-column:1/-1;white-space:normal;justify-content:flex-start;color:var(--muted);font-size:.78rem}.strategy-table td:nth-child(8){grid-column:1/-1;justify-content:flex-start}.strategy-table a{white-space:normal}.strategy-detail-heading{align-items:flex-start;flex-wrap:wrap}.strategy-detail-heading label{display:flex;align-items:center;gap:.4rem}.strategy-detail-heading select{max-width:52vw}}
