/* Student Free Shit return + install layer. Progressive enhancement only. */
.sfs-return-hub{display:none;margin:0 0 22px;border:2.5px solid #111;background:#fff;box-shadow:5px 5px 0 #111;padding:12px 13px;position:relative;overflow:hidden}
.sfs-return-hub.is-visible{display:block}
.sfs-return-hub::after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-52px;top:-61px;background:var(--acid,#dfff36);border:2px solid #111;pointer-events:none}
.sfs-return-top{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;z-index:1}
.sfs-return-kicker{font-size:9px;font-weight:1000;text-transform:uppercase;letter-spacing:.035em;color:#665f55}
.sfs-return-title{font-size:17px;font-weight:1000;line-height:1.05;letter-spacing:-.03em;margin-top:2px}
.sfs-install-btn,.sfs-related-btn{appearance:none;border:2px solid #111;background:#111;color:#fff;box-shadow:2px 2px 0 var(--acid,#dfff36);padding:8px 10px;font-size:9px;font-weight:1000;text-transform:uppercase;cursor:pointer;white-space:nowrap}
.sfs-install-btn[hidden]{display:none!important}
.sfs-return-stats{display:flex;gap:6px;overflow-x:auto;padding:10px 1px 2px;scrollbar-width:none;position:relative;z-index:1}
.sfs-return-stats::-webkit-scrollbar{display:none}
.sfs-return-stat{display:none;flex:0 0 auto;border:1.5px solid #111;background:#f3eedf;padding:6px 8px;font-size:9px;font-weight:950;text-transform:uppercase}
.sfs-return-stat.show{display:inline-flex}
.sfs-return-recent{display:none;align-items:center;justify-content:space-between;gap:10px;border-top:1.5px dashed #111;margin-top:10px;padding-top:10px;position:relative;z-index:1}
.sfs-return-recent.show{display:flex}
.sfs-return-recent-copy{min-width:0}
.sfs-return-recent-copy span{display:block;font-size:8px;font-weight:950;text-transform:uppercase;color:#665f55}
.sfs-return-recent-copy strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.sfs-life-pill{display:inline-flex;align-items:center;min-height:24px;border:1.5px solid #111;background:var(--acid,#dfff36);padding:3px 6px;font-size:8px;font-weight:1000;text-transform:uppercase;margin-left:auto}
.sfs-life-pill.ending{background:#ffcf70}
.sfs-life-pill.closed{background:#e6e0d4;color:#665f55}
.sfs-install-note{position:fixed;z-index:140;left:50%;bottom:max(92px,calc(env(safe-area-inset-bottom) + 82px));transform:translateX(-50%);width:min(460px,calc(100% - 24px));border:2px solid #111;background:#fff;box-shadow:5px 5px 0 #111;padding:12px;font-size:11px;font-weight:800;line-height:1.35}
.sfs-install-note button{float:right;border:0;background:#111;color:#fff;font-weight:1000;cursor:pointer}
@media(max-width:640px){.sfs-return-hub{margin-top:-4px}.sfs-return-top{align-items:flex-start}.sfs-return-title{font-size:15px}.sfs-install-btn{padding:7px 8px}.sfs-return-recent{align-items:flex-end}.sfs-related-btn{flex:0 0 auto}}
@media(prefers-reduced-motion:reduce){.sfs-return-hub *{transition:none!important}}

.install-proof{background:#111;color:#fff;cursor:pointer;box-shadow:3px 3px 0 var(--blue,#4858ff)}
.install-proof:hover,.install-proof:focus-visible{background:var(--blue,#4858ff)}
.install-proof[hidden]{display:none!important}

/* iPhone install guide */
.sfs-install-guide{position:fixed;inset:0;z-index:220;background:rgba(17,17,17,.58);display:flex;align-items:flex-end;justify-content:center;padding:max(14px,env(safe-area-inset-top)) 12px max(14px,env(safe-area-inset-bottom));backdrop-filter:blur(8px)}
.sfs-install-dialog{width:min(560px,100%);max-height:min(760px,calc(100dvh - 24px));overflow:auto;background:#fffdf6;border:3px solid #111;box-shadow:8px 8px 0 #111;padding:16px;border-radius:16px 16px 8px 8px}
.sfs-install-dialog-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sfs-install-identity{display:flex;align-items:center;gap:11px;min-width:0}
.sfs-install-identity img{width:48px;height:48px;border:2px solid #111;border-radius:12px;box-shadow:3px 3px 0 #111;background:#fff;flex:0 0 auto}
.sfs-install-eyebrow{display:block;font-size:8px;font-weight:1000;letter-spacing:.06em;color:#665f55;margin-bottom:3px}
.sfs-install-dialog h2{margin:0;font-size:25px;line-height:.95;letter-spacing:-.05em;text-transform:uppercase}
.sfs-install-close{width:34px;height:34px;flex:0 0 auto;border:2px solid #111;background:#fff;color:#111;font-size:20px;font-weight:1000;line-height:1;cursor:pointer;border-radius:50%}
.sfs-install-intro{font-size:13px;line-height:1.35;font-weight:780;margin:16px 0 12px}
.sfs-install-copy{width:100%;border:2px solid #111;background:var(--blue,#4858ff);color:#fff;box-shadow:4px 4px 0 #111;padding:11px 12px;font-size:10px;font-weight:1000;text-transform:uppercase;cursor:pointer;margin:0 0 13px}
.sfs-install-copy:disabled{background:var(--acid,#dfff36);color:#111;opacity:1}
.sfs-install-steps{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.sfs-install-steps li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:start;border:2px solid #111;background:#f3eedf;padding:10px}
.sfs-step-no{width:28px;height:28px;display:grid;place-items:center;border:2px solid #111;border-radius:50%;background:var(--acid,#dfff36);font-size:11px;font-weight:1000}
.sfs-install-steps strong{display:block;font-size:12px;line-height:1.15}
.sfs-install-steps div>span{display:block;margin-top:4px;color:#665f55;font-size:10px;line-height:1.3;font-weight:720}
.sfs-install-reassurance{margin-top:11px;border:2px dashed #111;background:#e6eaff;padding:9px 10px;font-size:10px;line-height:1.3;font-weight:850}
html.sfs-install-guide-open,html.sfs-install-guide-open body{overflow:hidden}
@media(min-width:700px){.sfs-install-guide{align-items:center}.sfs-install-dialog{border-radius:12px}}
@media(max-width:360px){.sfs-install-dialog{padding:12px}.sfs-install-dialog h2{font-size:22px}.sfs-install-steps li{padding:8px}}
