.history-controls{padding:22px;margin-bottom:22px}.history-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:20px}.history-filters{display:grid;grid-template-columns:1fr 1.4fr 1fr 1fr 1fr auto;gap:12px;align-items:end}.history-filters input,.history-filters select{min-width:0}.history-filters button{min-height:41px}.history-ranking{padding:0 22px 20px;max-height:330px;overflow:auto}.history-ranked{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}.history-ranked>div{flex:1;min-width:0}.history-ranked strong{font-size:12px}.history-ranked small{display:block;font-size:10px;color:var(--muted);margin-top:5px;max-width:235px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-ranked>b{text-align:right;font-size:12px;white-space:nowrap}.history-detail{padding:22px;margin:0 0 24px}.history-detail h2{font-size:17px}.history-detail p{font-size:12px;color:var(--muted);line-height:1.8}.history-periods{display:flex;gap:10px;overflow-x:auto;padding:10px 0}.history-periods>div{min-width:120px;padding:15px;background:var(--bg);border-radius:9px}.history-periods small,.history-periods strong,.history-periods span{display:block}.history-periods strong{margin:9px 0;font-size:19px}.history-periods small,.history-periods span{font-size:11px;color:var(--muted)}@media(max-width:1200px){.history-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.history-controls{padding:16px}.history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
