/* Rétro: stats dashboard */
/* ── Rétro / stats dashboard ── */
#stats-view{padding:14px 16px 90px;max-width:760px;margin:0 auto}
.rt-hero{text-align:center;margin:6px 0 20px}
.rt-hero .big{font-size:40px;font-weight:800;line-height:1.05;color:var(--accent,#b388ff)}
.rt-hero .sub{color:#aaa;font-size:14px;margin-top:4px}
.rt-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:22px}
@media(max-width:560px){.rt-tiles{grid-template-columns:repeat(2,1fr)}}
.rt-tile{background:#ffffff0d;border:1px solid #ffffff14;border-radius:14px;padding:14px 12px;text-align:center}
.rt-tile .n{font-size:24px;font-weight:800;color:#fff}
.rt-tile .l{font-size:12px;color:#9a9a9a;margin-top:3px}
.rt-sec{margin:24px 0 10px;font-size:13px;font-weight:700;color:#cfcfcf;text-transform:uppercase;letter-spacing:.04em}
.rt-bars{display:flex;align-items:flex-end;gap:6px;height:150px}
.rt-bars .col{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;min-width:0}
/* the exact count, over the bar: on hover with a mouse, always shown on a touch screen */
.rt-bars .nv{font-size:11px;font-weight:700;color:#fff;white-space:nowrap;opacity:0;transition:opacity .12s}
.rt-bars .col:hover .nv{opacity:1}
@media (hover:none){.rt-bars .nv{opacity:1;font-size:10px;color:#cfcfcf}}
.rt-bars .bar{width:100%;max-width:34px;background:var(--accent,#b388ff);border-radius:4px 4px 2px 2px;
  min-height:2px;transition:filter .12s}
.rt-bars .col:hover .bar{filter:brightness(1.25)}
.rt-bars .xl{font-size:10px;color:#8a8a8a}
.rt-months{display:flex;align-items:flex-end;gap:4px;height:80px}
.rt-months .col{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px}
.rt-months .bar{width:100%;background:#8a6fd0;border-radius:3px;min-height:2px}
.rt-months .xl{font-size:9px;color:#8a8a8a}
/* calendar heatmap */
.rt-cal-year{margin:14px 0}
.rt-cal-year .yl{font-size:12px;color:#9a9a9a;margin-bottom:5px}
.rt-cal{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,1fr);gap:3px;overflow-x:auto;padding-bottom:4px}
.rt-cal .cell{width:11px;height:11px;border-radius:2px;background:#ffffff0d}
.rt-cal .cell.hit{cursor:pointer}
.rt-cal .cell.hit:hover{outline:1.5px solid #fff;outline-offset:1px}
/* brief highlight on the day you jumped to */
@keyframes dayJump{0%,60%{box-shadow:inset 0 0 0 2px #a989f5}100%{box-shadow:inset 0 0 0 2px transparent}}
.date-group.jumped .date-label{animation:dayJump 1.4s ease-out}
.rt-legend{display:flex;align-items:center;gap:5px;justify-content:flex-end;font-size:11px;color:#8a8a8a;margin-top:6px}
.rt-legend .cell{width:11px;height:11px;border-radius:2px}
/* places */
.rt-place{display:flex;align-items:center;gap:10px;margin:7px 0}
.rt-place .flag{font-size:17px;width:22px;text-align:center}
.rt-place .nm{font-size:13px;color:#ddd;width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rt-place .track{flex:1;height:9px;background:#ffffff0d;border-radius:5px;overflow:hidden}
.rt-place .fill{display:block;height:100%;background:var(--accent,#b388ff);border-radius:5px}
.rt-place .v{font-size:12px;color:#9a9a9a;width:42px;text-align:right}
/* Ton Snapchat en chiffres (user_profile.json) */
.rt-since .big{font-size:26px}
.rt-note{margin:26px 0 0;text-align:center;font-size:13px;line-height:1.6;color:var(--muted,#8a8a8a)}
/* a feature of the Essentiel plan, seen from the free plan (retro.js lockHTML) */
.rt-lock{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;margin:6px 0 10px;padding:22px 18px;
  border:1px solid #2c2c31;border-radius:14px;background:linear-gradient(180deg,#17171a,#121214);color:#FFFC00}
.rt-lock b{color:#fff;font-size:15px}
.rt-lock span{color:#9b9ba3;font-size:13px;line-height:1.5;max-width:440px}
.rt-lock-btn{margin-top:8px;font:inherit;font-weight:700;border:0;border-radius:9px;padding:8px 18px;cursor:pointer;background:#FFFC00;color:#1a1a00}
