:root{--sc-ink:#082f46;--sc-muted:#496579;--sc-orange:#ff6b1a;--sc-orange2:#ff4217;--sc-line:rgba(8,47,70,.12);--sc-card:rgba(255,255,255,.78);--sc-ease:cubic-bezier(.2,.9,.2,1)}
.scGlobalNav{position:sticky;top:0;z-index:999;background:rgba(255,248,214,.78);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.75);box-shadow:0 10px 30px rgba(8,47,70,.04)}
.scGlobalNavIn{width:min(1180px,calc(100% - 36px));height:76px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px}.scGlobalBrand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--sc-ink);font-size:28px;font-weight:950;letter-spacing:-.055em}.scGlobalLogo{width:52px;height:52px;border-radius:18px;background:linear-gradient(145deg,var(--sc-orange),var(--sc-orange2));display:grid;place-items:center;color:#fff;font-weight:950;box-shadow:0 16px 34px rgba(255,97,24,.28);transition:transform .24s var(--sc-ease)}.scGlobalBrand:hover .scGlobalLogo{transform:translateY(-2px) rotate(-7deg)}.scGlobalRight{display:flex;align-items:center;gap:12px}.scGlobalLinks{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.scGlobalBtn{height:44px;padding:0 18px;border-radius:999px;border:1px solid rgba(255,255,255,.76);background:rgba(255,255,255,.76);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:var(--sc-ink);font-weight:950;white-space:nowrap;transition:transform .22s var(--sc-ease),box-shadow .22s var(--sc-ease),background .22s var(--sc-ease)}.scGlobalBtn:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(8,47,70,.13);background:rgba(255,255,255,.94)}.scGlobalBtn.active{background:linear-gradient(135deg,var(--sc-orange),var(--sc-orange2));color:#fff;border-color:transparent;box-shadow:0 16px 34px rgba(255,97,24,.24)}.scNavToggle{display:none;width:44px;height:44px;border:0;border-radius:16px;background:rgba(255,255,255,.86);box-shadow:0 12px 26px rgba(8,47,70,.10);color:var(--sc-ink);font-size:22px;font-weight:950;align-items:center;justify-content:center;cursor:pointer}.scNavToggle:active{transform:scale(.96)}
.scFloatNotice{position:fixed;z-index:50;left:24px;top:138px;max-width:min(340px,calc(100vw - 48px));padding:14px 16px;border-radius:24px;background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.74);box-shadow:0 22px 54px rgba(8,47,70,.16);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:var(--sc-ink);font-weight:950;line-height:1.6;animation:scDrift 10s ease-in-out infinite alternate;cursor:grab}.scFloatNotice b{display:block;color:#a44900;font-size:13px;letter-spacing:.12em;margin-bottom:4px}.scFloatNotice button{position:absolute;right:7px;top:7px;width:26px;height:26px;border:0;border-radius:999px;background:rgba(8,47,70,.08);color:var(--sc-ink);font-weight:950;cursor:pointer}.scFloatNoticeText{padding-right:22px;white-space:pre-wrap}@keyframes scDrift{0%{transform:translate3d(0,0,0)}35%{transform:translate3d(26px,18px,0)}70%{transform:translate3d(6px,52px,0)}100%{transform:translate3d(44px,34px,0)}}
@media(max-width:760px){

  body .rankings{display:none!important}
  body .rankCard{display:none!important}
  .scGlobalNav{position:sticky;top:0}.scGlobalNavIn{width:calc(100% - 24px);height:64px;min-height:64px;display:flex;align-items:center;justify-content:space-between;flex-direction:row;padding:0;gap:10px}.scGlobalBrand{font-size:24px;min-width:0}.scGlobalBrand span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scGlobalLogo{width:42px;height:42px;border-radius:15px;font-size:22px}.scGlobalRight{margin-left:auto}.scNavToggle{display:inline-flex}.scGlobalLinks{position:fixed;left:12px;right:12px;top:72px;display:grid;grid-template-columns:1fr;gap:8px;padding:12px;border-radius:24px;background:rgba(255,250,226,.96);border:1px solid rgba(255,255,255,.80);box-shadow:0 24px 70px rgba(8,47,70,.18);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);opacity:0;pointer-events:none;transform:translateY(-10px) scale(.98);transition:opacity .18s var(--sc-ease),transform .18s var(--sc-ease)}.scGlobalNav.open .scGlobalLinks{opacity:1;pointer-events:auto;transform:translateY(0) scale(1)}.scGlobalBtn{width:100%;height:48px;padding:0 16px;justify-content:center}.scFloatNotice{left:14px;top:auto;bottom:16px;animation:none}
  body .nav .navIn,body header.nav .navIn{height:64px!important;min-height:64px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;padding:0!important;width:calc(100% - 24px)!important}body .nav .brand,body header.nav .brand{font-size:24px!important}body .nav .logo,body header.nav .logo{width:42px!important;height:42px!important;border-radius:15px!important}body .nav .links,body header.nav .links{display:none!important}body .nav,body header.nav{min-height:64px!important;overflow:visible!important}
  .wrap{width:calc(100% - 22px)!important;padding:22px 0 54px!important}.hero{display:block!important;margin-bottom:14px!important}.heroMain{padding:22px!important;border-radius:28px!important}h1{font-size:clamp(42px,15vw,64px)!important;line-height:.94!important}.lead{font-size:16px!important;line-height:1.72!important}.side{margin-top:12px!important;padding:18px!important;border-radius:26px!important}.filters{position:sticky!important;top:70px!important;z-index:30!important;padding:12px!important;margin-bottom:14px!important;border-radius:24px!important;background:rgba(255,255,255,.86)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}.filterLine{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto!important;scroll-snap-type:x proximity!important;padding-bottom:3px!important;-webkit-overflow-scrolling:touch!important}.filterLine::-webkit-scrollbar{display:none}.filterLine button{flex:0 0 auto!important;height:40px!important;min-height:40px!important;padding:0 14px!important;font-size:14px!important;scroll-snap-align:start!important}.grid{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}.work{padding:13px!important;border-radius:26px!important}.work:hover{transform:none!important}.thumb{height:190px!important;border-radius:22px!important}.work h3{font-size:22px!important;margin:12px 0 8px!important}.desc{min-height:auto!important;font-size:14px!important}.meta{gap:6px!important}.tag{font-size:11px!important;padding:5px 8px!important}.bar{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;align-items:stretch!important}.bar .code{grid-column:1/-1!important;min-height:42px!important;display:flex!important;align-items:center!important}.bar button{min-height:42px!important;padding:0 14px!important}.modal{padding:10px!important;align-items:flex-end!important}.dialog{width:100%!important;max-height:92vh!important;border-radius:28px 28px 0 0!important;padding:18px!important}.dialogTop h1,#dTitle{font-size:34px!important}.close{width:48px!important;height:48px!important;border-radius:18px!important}.detail{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}.detail .thumb{height:240px!important}.settings{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.toast{max-width:calc(100% - 28px);white-space:normal;text-align:center}
}
@media(max-width:420px){.scGlobalBrand{font-size:22px}.scGlobalBrand span:last-child{max-width:160px}.heroMain{padding:19px!important}h1{font-size:42px!important}.thumb{height:172px!important}.bar{grid-template-columns:1fr!important}.bar button{width:100%!important}}
@media(prefers-reduced-motion:reduce){.scFloatNotice{animation:none}.scGlobalBtn,.scGlobalLogo,.scGlobalLinks{transition:none}}

/* SwitchC mobile/donate/profile polish */
@media(max-width:760px){body .stats{grid-template-columns:repeat(2,1fr)!important}body .stat{border-radius:22px!important;min-height:86px!important}}
