:root{--bg:#030303;--panel:#09090a;--panel2:#0d0d0f;--text:#f7f7f5;--muted:#96969c;--soft:#6f7076;--line:rgba(255,255,255,.10);--line2:rgba(255,255,255,.17);--radius:20px}
*{box-sizing:border-box}html{background:var(--bg);color-scheme:dark;scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:max(16px,env(safe-area-inset-top)) 14px calc(42px + env(safe-area-inset-bottom));-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.shell{width:min(100%,980px);margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:900;letter-spacing:-.02em}.brand img{width:38px;height:38px;border-radius:12px}.topnav{display:flex;gap:7px}.topnav a,.ghost-btn{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--line);border-radius:11px;background:#09090a;color:#fff;text-decoration:none;font-size:12px;font-weight:780;cursor:pointer}.topnav a:hover,.ghost-btn:hover{border-color:var(--line2)}
.hero{padding:54px 0 24px}.eyebrow,.section-kicker{color:#818188;font-size:10px;font-weight:850;letter-spacing:.17em;text-transform:uppercase}.hero h1{margin:10px 0 11px;font-size:clamp(40px,8vw,70px);line-height:.95;letter-spacing:-.065em}.hero p{max-width:700px;margin:0;color:var(--muted);font-size:15px;line-height:1.65}.privacy-note{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px;padding:14px 15px;border:1px solid var(--line);border-radius:16px;background:#070708}.privacy-note svg{width:20px;height:20px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.privacy-note strong{display:block;font-size:13px}.privacy-note span{display:block;margin-top:3px;color:var(--muted);font-size:12px;line-height:1.5}
.upload-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);padding:10px}.dropzone{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed rgba(255,255,255,.16);border-radius:15px;background:#070708;cursor:pointer;padding:24px;transition:border-color .2s ease,background .2s ease}.dropzone:hover,.dropzone.drag{border-color:rgba(255,255,255,.34);background:#0b0b0c}.drop-icon{width:50px;height:50px;display:grid;place-items:center;margin-bottom:14px;border:1px solid var(--line);border-radius:14px;background:#0d0d0f}.drop-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.dropzone strong{font-size:18px;letter-spacing:-.025em}.dropzone>span:not(.drop-icon):not(.choose){margin-top:5px;color:var(--muted);font-size:12px}.choose{margin-top:15px!important;display:inline-flex!important;min-height:38px;align-items:center;padding:0 14px;border-radius:11px;background:#fff;color:#050505!important;font-size:12px!important;font-weight:850}#currentZip,#oldZip{display:none}.status,.compare-status{display:none;margin-top:10px;padding:10px 12px;border-radius:11px;background:#0d0d0f;color:#c9c9cc;font-size:12px}.status.show,.compare-status.show{display:block}.status.error,.compare-status.error{border:1px solid rgba(255,255,255,.16);color:#fff}
.dashboard{margin-top:28px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.section-head h2{margin:4px 0 0;font-size:clamp(24px,5vw,34px);letter-spacing:-.045em}.stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.stat{min-width:0;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.stat strong{display:block;font-size:clamp(23px,5vw,34px);letter-spacing:-.04em}.stat span{display:block;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.35}.analysis-section{margin-top:34px}.section-title{margin-bottom:11px}.section-title h3{margin:0;font-size:21px;letter-spacing:-.035em}.section-title p{max-width:760px;margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tool-card{position:relative;min-height:132px;padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:#fff;text-align:left;cursor:pointer;transition:transform .18s ease,border-color .18s ease}.tool-card:hover{transform:translateY(-2px);border-color:var(--line2)}.tool-card:disabled{opacity:.38;cursor:not-allowed;transform:none}.tool-icon{width:38px;height:38px;display:grid;place-items:center;margin-bottom:18px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}.tool-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tool-card strong{display:block;padding-right:52px;font-size:14px;letter-spacing:-.02em}.tool-card small{display:block;margin-top:4px;padding-right:48px;color:var(--muted);font-size:11px;line-height:1.38}.tool-count{position:absolute;right:13px;top:13px;min-width:32px;height:29px;display:grid;place-items:center;padding:0 8px;border:1px solid var(--line);border-radius:10px;background:#0d0d0f;font-size:11px;font-weight:850}.content-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.content-stat{padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--panel)}.content-stat strong{display:block;font-size:24px;letter-spacing:-.04em}.content-stat span{display:block;margin-top:5px;color:var(--muted);font-size:11px}.compare-section{padding-top:2px}.title-with-badge{display:flex;align-items:center;gap:8px}.title-with-badge span{padding:4px 7px;border:1px solid var(--line);border-radius:8px;background:#0d0d0f;color:#b9b9bd;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.1em}.old-upload{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px;border:1px solid var(--line);border-radius:15px;background:var(--panel);cursor:pointer}.old-upload strong{display:block;font-size:13px}.old-upload small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.old-btn{flex:0 0 auto;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:#0d0d0f;font-size:11px;font-weight:800}.compare-grid{margin-top:9px}
.detail-panel{margin-top:36px;padding:17px;border:1px solid var(--line);border-radius:20px;background:var(--panel);scroll-margin-top:16px}.detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.detail-head h3{margin:4px 0 0;font-size:24px;letter-spacing:-.04em}.detail-head p{max-width:700px;margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.close-btn{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--line);border-radius:11px;background:#0d0d0f;color:#fff;cursor:pointer}.close-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}.detail-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;margin-top:14px}.detail-actions input{min-width:0;height:40px;border:1px solid var(--line);border-radius:11px;background:#050506;color:#fff;padding:0 12px;outline:none}.detail-actions input:focus{border-color:var(--line2)}.detail-list{margin-top:9px;border-top:1px solid var(--line)}.detail-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 2px;border-bottom:1px solid rgba(255,255,255,.07)}.detail-user{min-width:0}.detail-user strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.detail-user small{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.4}.profile-link{flex:0 0 auto;color:#fff;text-decoration:none;font-size:11px;border:1px solid var(--line);border-radius:9px;padding:7px 9px;background:#0d0d0f}.empty{padding:28px 4px;color:var(--muted);font-size:12px;text-align:center}footer{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:28px;color:#696a70;font-size:10px;text-align:center}footer i{width:3px;height:3px;border-radius:50%;background:#555}
@media(max-width:760px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stats .stat:last-child{grid-column:1/-1}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topnav a:first-child{display:none}}
@media(max-width:520px){body{padding-left:11px;padding-right:11px}.hero{padding:42px 0 20px}.topnav a{padding:0 9px}.tool-grid{grid-template-columns:1fr 1fr}.tool-card{min-height:126px;padding:13px}.tool-card strong{font-size:13px}.tool-icon{margin-bottom:15px}.old-upload{align-items:flex-start;flex-direction:column}.detail-actions{grid-template-columns:1fr 1fr}.detail-actions input{grid-column:1/-1}.section-head{align-items:flex-start}.section-head .ghost-btn{flex:0 0 auto}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* v602 – focused Instagram analysis */
.stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.export-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:38px;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--panel)}
.export-cta h2{margin:5px 0 7px;font-size:clamp(22px,4vw,30px);letter-spacing:-.04em}
.export-cta p{max-width:650px;margin:0;color:var(--muted);font-size:12px;line-height:1.6}
.export-link{flex:0 0 auto;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 15px;border-radius:12px;background:#fff;color:#050505;text-decoration:none;font-size:12px;font-weight:850;white-space:nowrap}
@media(max-width:760px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stats .stat:last-child{grid-column:auto}.export-cta{align-items:flex-start;flex-direction:column}.export-link{width:100%}}
