
.mini-body[data-screen="history"] #mini-content{padding-top:20px}
.history-switch.segmented{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 28px}
.history-switch.segmented button{min-height:36px;padding:9px;font-size:12px}
.history-day{margin:0 0 28px}
.history-day>h2{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 2px 12px;font-size:18px;font-weight:750;color:#172036;letter-spacing:-.35px;line-height:1.4}
.history-day>h2 span{font-size:12px;font-weight:400;color:#626f89;letter-spacing:0;white-space:nowrap}
.history-day-events{background:#fff;border:1px solid #e0e6f3;border-radius:16px;padding:0 14px}
.history-event{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;padding:17px 0;min-height:86px}
.history-event+.history-event{border-top:1px solid #e9edf6}
.history-event-art{width:40px;height:40px;display:grid;place-items:center;color:#2447ed;background:#eef2ff;border-radius:12px}
.history-event-art>svg{width:29px;height:29px;fill:none;stroke:#2447ed;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.history-event-art .art-blue{fill:#e6ecff;stroke:none}.history-event-art .art-lime{fill:#e8ff8a;stroke:none}.history-event-art .art-white{fill:white;stroke:none}
.history-event-copy{min-width:0}
.history-event-copy h3{font-size:13px;line-height:1.45;font-weight:700;margin:0;color:#172036;overflow-wrap:anywhere}
.history-event-copy time{display:block;color:#65728c;font-size:11px;margin-top:6px}
.history-award{display:grid;place-items:center;min-width:38px;min-height:34px;padding:5px 7px;background:#eef2ff;border-radius:9px;font-size:18px;line-height:1.2;font-weight:750;color:#2447ed;white-space:nowrap;align-self:center}
.history-award.is-negative{color:#785e70;background:#f5eff4}
.history-event[data-event="friend"]{align-items:start;padding:18px 0;min-height:105px}
.history-event[data-event="friend"] .history-event-art{background:transparent;border-radius:50%;margin-top:1px}
.history-event[data-event="friend"]:not(.is-pending) .history-award{background:#e8ff8a;color:#2447ed;min-width:44px;margin-top:4px;align-self:start}
.history-event.is-pending{grid-template-columns:40px minmax(0,1fr)}
.history-avatar{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;font-size:16px;font-weight:650;background:#e8efff;color:#2447ed}
.history-avatar-check{position:absolute;right:-2px;bottom:-2px;width:17px;height:17px;display:grid;place-items:center;background:#e8ff8a;color:#172036;border-radius:50%;border:2px solid #fff}
.history-avatar-check .icon{width:10px;height:10px;stroke-width:2.3}
.history-event-status{display:flex;align-items:center;gap:5px;margin:5px 0 0;color:#5c6d85;font-size:11px;line-height:1.5}
.history-event-status .icon{width:13px;height:13px;flex:none}
.history-event:not(.is-pending) .history-event-status .icon{border:1.3px solid currentColor;border-radius:50%;padding:1px}
.history-event.is-pending .history-event-status{display:inline-flex;max-width:100%;padding:3px 7px;border-radius:20px;background:#eef1ff;color:#5d6e91;gap:5px}
.history-event.is-pending .history-avatar{background:#eef1f6;color:#596782}
.history-premium{font-size:9px;font-weight:500;color:#5e70a1;margin-left:6px;white-space:nowrap}
.history-empty{text-align:center;padding:54px 14px;color:#67738b}.history-empty>.icon{width:36px;height:36px;color:#8393ca}.history-empty h2{font-size:18px;line-height:1.4;color:#172036;margin:16px auto 8px;max-width:290px}.history-empty p{font-size:12px;line-height:1.6;max-width:280px;margin:0 auto 20px}.history-empty .btn{font-size:12px}
.history-switch button:focus-visible{outline:2px solid #2447ed;outline-offset:2px}
@media(max-width:360px){.history-day-events{padding:0 12px}.history-event{grid-template-columns:36px minmax(0,1fr) auto;gap:9px;padding:15px 0}.history-event.is-pending{grid-template-columns:36px minmax(0,1fr)}.history-event-art,.history-avatar{width:36px;height:36px}.history-event-copy h3{font-size:12px}.history-event-status{font-size:10px}.history-award{font-size:17px;min-width:34px;padding:5px 6px}.history-switch.segmented{margin-bottom:24px}.history-day>h2{font-size:17px}.history-day>h2 span{font-size:11px}}
@media(prefers-reduced-motion:no-preference){.history-feed{animation:history-appear 160ms ease-out}@keyframes history-appear{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}}

/* The same pool colors as the Tasks balances. */
.history-switch.segmented button[aria-selected="false"]{background:transparent;color:#626f89;box-shadow:none}
.history-switch.segmented button[data-history-tab="activity"][aria-selected="true"]{background:#2447ed;color:#fff;box-shadow:none}
.history-switch.segmented button[data-history-tab="growth"][aria-selected="true"]{background:#e8ff8a;color:#172036;box-shadow:none}
#history-feed[aria-labelledby="history-tab-growth"] .history-award:not(.is-negative){background:#e8ff8a;color:#172036}
