#hidePanel{float:right;border:0;background:none;color:var(--muted)}.history-view main>header,.history-view #notice{display:none}
#historyBox{border:0;padding:0;background:transparent}.history-top{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;border-radius:8px;background:#2c211b;color:#e4ae8c}.history-top button{background:#fb7e32;color:#1e1107;font-weight:700}#historyBox h2{font-size:21px;margin:16px 0}
.history-tools{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;gap:14px;justify-content:space-between;padding:8px 0;background:#101013f2;backdrop-filter:blur(10px)}#historyFilters{display:flex;gap:6px;flex-wrap:wrap}.filter-group{display:flex;align-items:center;flex-wrap:wrap;padding:3px;gap:2px;border:1px solid #34343c;border-radius:7px;background:#1a191c}.filter-group small{padding:0 5px}.filter-group button{background:transparent;border:0;padding:5px 8px;color:#bbb9c3}.filter-group button[aria-pressed=true]{background:#4a2a18;color:#ff9a61}#historySearch{max-width:195px}#historyHint{font-size:12px;color:var(--muted);padding:10px 0}
#historyStats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:1080px}#historyStats div{border:1px solid #302f36;background:#17161a;padding:12px 16px;border-radius:8px}#historyStats strong{display:block;font-size:20px}#historyStats div:nth-child(2) strong{color:#ff934a}#historyStats div:last-child strong{color:#81cd97}
#historyFeed h3{margin:30px 0 20px;font-size:19px}#historyFeed h3 small{margin-left:10px;font-size:12px;font-weight:400}.history-entry{position:relative;display:grid;grid-template-columns:118px minmax(0,1fr);gap:16px;border-left:1px solid #343036;margin-left:4px;padding:5px 0 24px 14px}.history-entry:before{content:"";width:9px;height:9px;border-radius:50%;position:absolute;left:-5px;top:11px;background:#ff853c;box-shadow:0 0 0 3px #38271f}
.history-meta{display:flex;align-items:flex-start;flex-direction:column;gap:4px;overflow-wrap:anywhere}.history-meta input{width:auto;accent-color:#ff8338}.history-meta button{background:transparent;color:#bcb9c3;font-size:12px;padding:4px;border-color:transparent}.history-meta button:hover{color:var(--orange)}.history-state{color:#dcb899}
.history-media{display:grid;align-content:start;align-items:start;grid-template-columns:repeat(auto-fill,minmax(100px,148px));gap:10px;max-width:790px}.history-image{position:relative;min-width:0}.history-image img,.history-media video{width:100%;aspect-ratio:3/4;object-fit:contain;background:#19191d;border-radius:9px;display:block}.history-download{position:absolute;right:5px;bottom:5px;background:#101014cf;color:white;padding:3px 7px;border-radius:4px;font-size:12px;text-decoration:none}.history-media p{grid-column:1/-1;white-space:pre-wrap;overflow-wrap:anywhere;color:#b9b7c0}.history-empty,#historyBox details{padding:18px 0;color:var(--muted)}#historyBox summary{cursor:pointer}
@media(max-width:900px){.history-tools{display:block}#historySearch{margin-top:6px}.history-entry{grid-template-columns:96px minmax(0,1fr);gap:8px}.history-media{grid-template-columns:repeat(auto-fill,minmax(min(100%,85px),1fr))}}@media(max-width:680px){.history-tools{position:static}#historyStats div{padding:8px}.history-meta button{padding:2px}.history-entry{grid-template-columns:86px minmax(0,1fr)}nav button[aria-current=page]:before{top:auto;left:0;right:0;bottom:0;width:auto;height:2px}}
