.title-history{background:var(--bg-panel);border:1px solid var(--border-color);border-radius:var(--radius-main);box-shadow:var(--card-shadow);min-width:0;padding:2rem;scroll-margin-top:5rem}.title-history .history-heading{border-bottom:1px solid var(--border-color);flex-wrap:wrap;justify-content:space-between;align-items:end;gap:.75rem;margin-bottom:1rem;padding-bottom:.8rem;display:flex}.title-history h2{margin:0}.title-history .history-heading span,.title-history dt,.title-history .history-source-select,.title-history th{font-family:var(--font-mono);color:var(--text-muted);text-transform:uppercase;font-size:.68rem}.title-history .history-source-select{gap:.4rem;max-width:420px;display:grid}.title-history select,.title-history input,.title-history button{border:1px solid var(--border-color);background:var(--bg-input);color:var(--text-main);font:inherit;border-radius:8px;padding:.65rem .8rem}.title-history select{text-transform:none;width:100%;font-size:.85rem}.title-history button{cursor:pointer}.title-history button:disabled{opacity:.4;cursor:default}.title-history :is(a,button,select,input,summary,[tabindex]):focus-visible{outline:2px solid var(--gold);outline-offset:3px}.title-history .history-source-label{align-items:center;gap:.5rem;margin:1rem 0;font-size:.85rem;display:flex}.title-history .history-source-label img{object-fit:contain}.title-history .history-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1rem 0 1.3rem;display:grid}.title-history .history-stats div+div{border-left:1px solid var(--border-color);padding-left:.75rem}.title-history dd{margin:.35rem 0 0;font-size:1.2rem;font-weight:700}.title-history dd small{color:var(--text-muted);font:.7rem var(--font-mono);margin-left:.4rem;display:inline-block}.title-history .history-graph{border:1px solid var(--border-color);background:radial-gradient(ellipse at 50% 100%, var(--accent-glow), transparent 65%), var(--bg-card);border-radius:10px;min-height:200px;padding:.6rem}.title-history svg{width:100%;height:auto;display:block}.title-history .rank-line{fill:none;stroke:var(--gold);stroke-width:2px;stroke-linejoin:round}.title-history .rank-point{fill:var(--bg-panel);stroke:var(--gold);stroke-width:2px}.title-history .rank-grid{stroke:var(--border-color);stroke-dasharray:2 5}.title-history .rank-label,.title-history .date-label{fill:var(--text-muted);font:10px var(--font-mono)}.title-history .rank-value{fill:var(--gold);font:10px var(--font-mono)}.title-history [hidden]{display:none!important}.title-history .history-chart-controls{border:0;min-width:0;margin:1rem 0;padding:0}.title-history .history-chart-controls legend{font:.68rem var(--font-mono);color:var(--text-muted);text-transform:uppercase;margin-bottom:.5rem}.title-history .history-view-buttons{border:1px solid var(--border-color);background:var(--bg-input);border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:.3rem;padding:.3rem;display:grid}.title-history .history-view-buttons button{min-height:44px;color:var(--text-dim);border-color:#0000;padding:.5rem .3rem;font-size:.76rem}.title-history .history-view-buttons button[aria-pressed=true]{color:var(--gold);border-color:var(--gold);background:var(--bg-card)}.title-history .history-month-controls{grid-template-columns:44px minmax(0,1fr) 44px;align-items:end;gap:.5rem;max-width:440px;margin-top:1rem;display:grid}.title-history .history-month-controls button{min-height:44px;padding:.5rem;font-size:1.2rem}.title-history .history-chart-controls label{min-width:0;color:var(--text-muted);gap:.35rem;font-size:.76rem;display:grid}.title-history .history-range-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:.6rem;margin-top:1rem;display:grid}.title-history .history-chart-controls :is(input,select){box-sizing:border-box;width:100%;min-width:0;min-height:44px}.title-history .history-range-form button{min-height:44px}.title-history .history-range-error{color:var(--text-main);grid-column:1/-1;margin:0;font-size:.8rem}.title-history .history-window-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem;margin-top:1.2rem;display:flex}.title-history .history-window-heading h3{margin:0;font-size:1rem}.title-history .history-window-heading span,.title-history .history-window-status{color:var(--text-muted);font:.7rem/1.7 var(--font-mono)}.title-history .history-window-status{margin:.4rem 0 .8rem}.title-history .history-inspection{color:var(--text-dim);font:.75rem/1.6 var(--font-mono);min-height:2.4em;margin:.75rem 0}.title-history .history-stats-note{margin-top:-.65rem}.title-history .rank-guide{stroke:var(--gold);stroke-width:1px;stroke-dasharray:3 4;opacity:.5}.title-history .rank-selected{fill:var(--gold)}.title-history .rank-inspector{cursor:crosshair;touch-action:pan-y}.title-history .history-note{color:var(--text-muted);font-size:.73rem;line-height:1.6}.title-history .history-records{border-top:1px solid var(--border-color);margin-top:1rem;padding-top:1rem}.title-history summary{cursor:pointer;color:var(--text-dim)}.title-history summary span{float:right;font:.7rem var(--font-mono)}.title-history .history-date-search{flex-wrap:wrap;align-items:end;gap:.6rem;margin:1rem 0;display:flex}.title-history .history-date-search label{color:var(--text-muted);gap:.3rem;font-size:.8rem;display:grid}.title-history [data-history-table-status],.title-history caption{color:var(--text-muted);text-align:left;padding:.4rem 0;font-size:.76rem}.title-history .history-table-scroll{overflow-x:auto}.title-history table{border-collapse:collapse;width:100%;font-size:.8rem}.title-history :is(th,td){text-align:left;border-bottom:1px solid var(--border-color);white-space:nowrap;padding:.75rem .5rem}.title-history td:nth-child(2){color:var(--gold);font-weight:700}.title-history a{color:var(--accent-sec)}.title-history .history-pagination{justify-content:space-between;align-items:center;gap:.5rem;margin-top:1rem;font-size:.78rem;display:flex}.title-history .history-downloads{border-top:1px solid var(--border-color);margin-top:1.5rem;padding-top:1rem}.title-history .history-export-controls{border:0;min-width:0;margin:1rem 0;padding:0}.title-history .history-export-controls legend{color:var(--text-muted);font:.7rem var(--font-mono);margin-bottom:.65rem}.title-history .history-export-lists{border:1px solid var(--border-color);border-radius:10px;min-width:0;margin:0 0 1rem;padding:.7rem}.title-history [data-history-export-lists]{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem .8rem;display:grid}.title-history .history-export-lists label{overflow-wrap:anywhere;cursor:pointer;align-items:center;gap:.65rem;min-height:44px;font-size:.8rem;display:flex}.title-history .history-export-lists input{width:1.1rem;height:1.1rem;accent-color:var(--gold);flex:none;margin:0}.title-history .history-export-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;display:grid}.title-history .history-export-fields label{min-width:0;color:var(--text-muted);gap:.35rem;font-size:.76rem;display:grid}.title-history .history-export-fields :is(input,select){box-sizing:border-box;width:100%;min-width:0;min-height:44px}.title-history .history-export-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-top:.8rem;display:flex}.title-history [data-history-export-status]{color:var(--text-muted);font:.73rem/1.6 var(--font-mono);overflow-wrap:anywhere;flex:220px;margin:0}.title-history [data-history-export-download]{border-color:var(--gold);min-height:44px;color:var(--gold)}.title-history .history-export-error{color:var(--text-main);font-size:.8rem}@media (width<=820px){.detail-main>.title-history{grid-column:1}}@media (width<=768px){.title-history{scroll-margin-top:8rem}}@media (width<=480px){.title-history{padding:1.2rem}.title-history dd{font-size:1rem}.title-history dt{font-size:.6rem}.title-history .history-view-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.title-history .history-range-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.title-history .history-range-form button{grid-column:1/-1}.title-history .history-range-form input{padding:.65rem .3rem;font-size:1rem}.title-history select{font-size:1rem}.title-history [data-history-export-lists],.title-history .history-export-fields{grid-template-columns:minmax(0,1fr)}.title-history .history-export-fields input{font-size:1rem}.title-history [data-history-export-download]{width:100%}}@media (width<=380px){.title-history .history-range-form{grid-template-columns:minmax(0,1fr)}}
