.activity-streak-container{margin:2rem 0;padding:1.25rem;background-color:var(--color-background-card,#ffffff);border:1px solid var(--color-border,#e5e5e5);border-radius:.5rem;box-shadow:0 1px 3px rgba(0,0,0,5%);font-family:inherit;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease;position:relative;box-sizing:border-box}html[data-theme=dark] .activity-streak-container{background-color:var(--color-background-card,#262626);border-color:var(--color-border,#404040);box-shadow:0 2px 6px rgba(0,0,0,.3)}.activity-streak-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;margin-bottom:1.1rem}.activity-streak-title-group{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem}.activity-streak-title{margin:0;font-size:1.05rem;font-weight:600;letter-spacing:-.01em;color:var(--color-text,#171717)}html[data-theme=dark] .activity-streak-title{color:var(--color-text,#ededed)}.activity-streak-badges{display:inline-flex;align-items:center;gap:.4rem;flex-wrap:wrap}.activity-streak-badge{display:inline-flex;align-items:center;gap:.35rem;font-size:.75rem;font-weight:500;padding:.2rem .55rem;border-radius:9999px;text-decoration:none;border:1px solid var(--color-border,#e5e5e5);color:var(--color-text-secondary,#525252);background:var(--color-background,#fff);transition:all .15s ease}html[data-theme=dark] .activity-streak-badge{background:var(--color-background-overlay,#333333);border-color:var(--color-border,#525252);color:var(--color-text-secondary,#a3a3a3)}.activity-streak-badge:hover{border-color:var(--color-text-secondary,#888);color:var(--color-text,#000)}html[data-theme=dark] .activity-streak-badge:hover{color:var(--color-text,#fff);border-color:var(--color-border,#737373)}.activity-streak-badge svg{flex-shrink:0}.activity-streak-actions{display:flex;align-items:center;gap:.5rem}.activity-streak-refresh-btn{background:0 0;border:1px solid var(--color-border,#e5e5e5);border-radius:.375rem;padding:.35rem;cursor:pointer;color:var(--color-text-secondary,#737373);display:inline-flex;align-items:center;justify-content:center;transition:all .15s ease}.activity-streak-refresh-btn:hover{background:var(--color-background-hover,#f5f5f5);color:var(--color-text,#171717);border-color:var(--color-text-secondary,#737373)}html[data-theme=dark] .activity-streak-refresh-btn{border-color:var(--color-border,#404040);color:var(--color-text-secondary,#a3a3a3)}html[data-theme=dark] .activity-streak-refresh-btn:hover{background:var(--color-background-hover,#333333);color:var(--color-text,#ededed);border-color:var(--color-border,#737373)}.activity-streak-refresh-btn.spinning svg{animation:streak-spin .8s linear infinite}.activity-streak-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:.5rem;margin-bottom:1.1rem}.activity-streak-stat-card{padding:.5rem .65rem;border-radius:.375rem;background:var(--color-background,#f9fafb);border:1px solid var(--color-border,#e5e5e5);display:flex;flex-direction:column;transition:all .15s ease}html[data-theme=dark] .activity-streak-stat-card{background:var(--color-background,#1f1f1f);border-color:var(--color-border,#404040)}.activity-streak-stat-label{font-size:.7rem;color:var(--color-text-secondary,#737373);margin-bottom:.2rem;display:flex;align-items:center;gap:.25rem}html[data-theme=dark] .activity-streak-stat-label{color:var(--color-text-secondary,#8b8b8b)}.activity-streak-stat-value{font-size:1.1rem;font-weight:700;color:var(--color-text,#171717);font-variant-numeric:tabular-nums;line-height:1.2}html[data-theme=dark] .activity-streak-stat-value{color:var(--color-text,#ededed)}.activity-streak-stat-sub{font-size:.65rem;color:var(--color-text-secondary,#737373);margin-top:.15rem}.activity-streak-filters{display:flex;align-items:center;gap:.4rem;margin-bottom:.9rem;flex-wrap:wrap}.activity-streak-filter-btn{font-size:.72rem;padding:.2rem .55rem;border-radius:.25rem;border:1px solid var(--color-border,#e5e5e5);background:0 0;color:var(--color-text-secondary,#737373);cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;gap:.35rem}html[data-theme=dark] .activity-streak-filter-btn{border-color:var(--color-border,#404040);color:var(--color-text-secondary,#8b8b8b)}.activity-streak-filter-btn:hover{background:var(--color-background-hover,#f3f4f6);color:var(--color-text,#171717)}html[data-theme=dark] .activity-streak-filter-btn:hover{background:var(--color-background-hover,#333333);color:var(--color-text,#ededed)}.activity-streak-filter-btn.active{background:var(--color-text,#171717);color:var(--color-background,#ffffff);border-color:var(--color-text,#171717);font-weight:600}html[data-theme=dark] .activity-streak-filter-btn.active{background:var(--color-text,#ededed);color:var(--color-background,#171717);border-color:var(--color-text,#ededed)}.filter-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.filter-dot.dot-gh{background-color:#22c55e}.filter-dot.dot-cf{background-color:#3b82f6}.filter-dot.dot-both{background-color:#a855f7}.activity-streak-scroll-container{overflow-x:auto;padding:.25rem 0 .75rem;margin-bottom:.6rem;scrollbar-width:thin;scrollbar-color:var(--color-border,#d4d4d4)transparent;-webkit-overflow-scrolling:touch}.activity-streak-scroll-container::-webkit-scrollbar{height:5px}.activity-streak-scroll-container::-webkit-scrollbar-thumb{background-color:var(--color-border,#d4d4d4);border-radius:3px}html[data-theme=dark] .activity-streak-scroll-container::-webkit-scrollbar-thumb{background-color:var(--color-border,#525252)}.activity-streak-grid-wrapper{display:inline-flex;flex-direction:column;min-width:max-content;user-select:none}.activity-streak-months{position:relative;height:1.1rem;margin-left:0;font-size:.68rem;color:var(--color-text-secondary,#737373)}html[data-theme=dark] .activity-streak-months{color:var(--color-text-secondary,#8b8b8b)}.activity-streak-month-label{position:absolute;white-space:nowrap;top:0}.activity-streak-calendar{display:flex;gap:3px}.activity-streak-weeks{display:flex;gap:3px}.activity-streak-week-col{display:flex;flex-direction:column;gap:3px}.activity-cell{width:12px;height:12px;border-radius:2px;box-sizing:border-box;transition:transform .12s ease,opacity .2s ease,outline .12s ease}.activity-cell:not(.cell-empty):not(.cell-future){cursor:pointer}.activity-cell:not(.cell-empty):not(.cell-future):hover{transform:scale(1.3);z-index:10;outline:1.5px solid var(--color-text,#000)}html[data-theme=dark] .activity-cell:not(.cell-empty):not(.cell-future):hover{outline:1.5px solid var(--color-text,#fff)}.activity-cell.cell-empty{cursor:default}.activity-cell.cell-empty:hover{transform:none;outline:none}.activity-cell.cell-future{opacity:0;pointer-events:none}.cell-empty{background-color:#ebedf0;border:1px solid rgba(27,31,35,5%)}html[data-theme=dark] .cell-empty{background-color:#21262d;border:1px solid rgba(240,246,252,6%)}.cell-github{background-color:#22c55e}.cell-github.level-1{background-color:#86efac}.cell-github.level-2{background-color:#4ade80}.cell-github.level-3{background-color:#22c55e}.cell-github.level-4{background-color:#16a34a}html[data-theme=dark] .cell-github{background-color:#2ea043}html[data-theme=dark] .cell-github.level-1{background-color:#0e4429}html[data-theme=dark] .cell-github.level-2{background-color:#006d32}html[data-theme=dark] .cell-github.level-3{background-color:#26a641}html[data-theme=dark] .cell-github.level-4{background-color:#39d353}.cell-codeforces{background-color:#3b82f6}.cell-codeforces.level-1{background-color:#93c5fd}.cell-codeforces.level-2{background-color:#60a5fa}.cell-codeforces.level-3{background-color:#3b82f6}.cell-codeforces.level-4{background-color:#2563eb}html[data-theme=dark] .cell-codeforces{background-color:#38bdf8}html[data-theme=dark] .cell-codeforces.level-1{background-color:#0c4a6e}html[data-theme=dark] .cell-codeforces.level-2{background-color:#0284c7}html[data-theme=dark] .cell-codeforces.level-3{background-color:#38bdf8}html[data-theme=dark] .cell-codeforces.level-4{background-color:#7dd3fc}.cell-both{background-color:#a855f7;box-shadow:0 0 2px rgba(168,85,247,.4)}.cell-both.level-1{background-color:#d8b4fe}.cell-both.level-2{background-color:#c084fc}.cell-both.level-3{background-color:#a855f7}.cell-both.level-4{background-color:#9333ea}html[data-theme=dark] .cell-both{background-color:#c084fc;box-shadow:0 0 3px rgba(192,132,252,.5)}html[data-theme=dark] .cell-both.level-1{background-color:#581c87}html[data-theme=dark] .cell-both.level-2{background-color:#7e22ce}html[data-theme=dark] .cell-both.level-3{background-color:#a855f7}html[data-theme=dark] .cell-both.level-4{background-color:#c084fc}.activity-streak-grid-wrapper.filter-github .activity-cell:not(.cell-github):not(.cell-both):not(.cell-future),.activity-streak-grid-wrapper.filter-codeforces .activity-cell:not(.cell-codeforces):not(.cell-both):not(.cell-future),.activity-streak-grid-wrapper.filter-both .activity-cell:not(.cell-both):not(.cell-future){opacity:.15}.activity-streak-footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.75rem;font-size:.73rem;color:var(--color-text-secondary,#737373);margin-top:.4rem;padding-top:.5rem;border-top:1px solid var(--color-border,#e5e5e5)}html[data-theme=dark] .activity-streak-footer{border-color:var(--color-border,#404040);color:var(--color-text-secondary,#8b8b8b)}.activity-streak-legend{display:inline-flex;align-items:center;gap:.75rem;flex-wrap:wrap}.legend-item{display:inline-flex;align-items:center;gap:.35rem;font-size:.7rem}.legend-box{width:10px;height:10px;border-radius:2px;display:inline-block}.legend-box.legend-gh{background-color:#22c55e}html[data-theme=dark] .legend-box.legend-gh{background-color:#39d353}.legend-box.legend-cf{background-color:#3b82f6}html[data-theme=dark] .legend-box.legend-cf{background-color:#38bdf8}.legend-box.legend-both{background-color:#a855f7}html[data-theme=dark] .legend-box.legend-both{background-color:#c084fc}.activity-streak-tooltip{position:fixed;z-index:99999;pointer-events:none;background:rgba(20,20,20,.94);color:#fff;border-radius:.375rem;padding:.5rem .7rem;font-size:.725rem;box-shadow:0 4px 14px rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.15);backdrop-filter:blur(5px);transform:translate(-50%,-100%);margin-top:-8px;white-space:nowrap;opacity:0;transition:opacity .12s ease;line-height:1.4}.activity-streak-tooltip.show{opacity:1}.tooltip-date{font-weight:600;margin-bottom:.25rem;color:#f3f4f6;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:.2rem}.tooltip-row{display:flex;align-items:center;gap:.45rem;margin-top:.15rem}.tooltip-badge{display:inline-block;font-size:.65rem;font-weight:600;padding:.1rem .4rem;border-radius:3px;margin-top:.35rem}.tooltip-badge.badge-gh{background:rgba(46,160,67,.25);color:#4ade80;border:1px solid rgba(74,222,128,.3)}.tooltip-badge.badge-cf{background:rgba(59,130,246,.25);color:#60a5fa;border:1px solid rgba(96,165,250,.3)}.tooltip-badge.badge-both{background:rgba(168,85,247,.25);color:#c084fc;border:1px solid rgba(192,132,252,.3)}.activity-streak-loading{display:flex;align-items:center;justify-content:center;gap:.65rem;padding:3rem 1rem;color:var(--color-text-secondary,#737373);font-size:.85rem}.activity-streak-spinner{width:1.5rem;height:1.5rem;animation:streak-spin .9s linear infinite;stroke:currentColor}.activity-streak-error{padding:1.5rem;text-align:center;color:#ef4444;font-size:.85rem;background:rgba(239,68,68,8%);border-radius:.375rem;margin:1rem 0}@keyframes streak-spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}