/* Design system 1.0: creator profile bodies (/creators/<login>/, tools/build_creator_profiles.py).
   tools/edge_kit/ds1_body.py swaps the voxel art for a halftone portrait, sky tiles and Scout;
   this sheet draws the homepage's world around them: paper, halftone sky and cloud, meadow, Inter at 450.
   Scoped with html:root:not(#kit) so it outranks profile.css (which loads later and uses !important). */
html:root:not(#kit) body{background:var(--edge-paper,#f3f5f8)!important}
html:root:not(#kit) main.cv{background:transparent!important;color:var(--edge-ink,#16251e);padding-bottom:72px!important}
html:root:not(#kit) main.cv~footer,html:root:not(#kit) main.cv+*{margin-top:0!important}
html:root:not(#kit) .cv *{animation:none!important;letter-spacing:normal}

/* handwritten notes become plain captions */
html:root:not(#kit) .cv .hand{position:absolute!important;left:max(24px,calc(50% - 566px))!important;top:auto!important;bottom:auto!important;transform:none!important;
  font:500 13px/1.4 var(--edge-font-ui,Inter,system-ui,sans-serif)!important;color:var(--edge-muted,#59685f)!important;opacity:1!important;z-index:3;margin-top:4px}
html:root:not(#kit) .cv .fnote{font:500 13px/1.4 var(--edge-font-ui,Inter,system-ui,sans-serif)!important;color:var(--edge-muted,#59685f)!important;transform:none!important}

/* the world: halftone sky, cloud, meadow, with the creator's halftone portrait */
html:root:not(#kit) .cv .world{height:520px!important;border-radius:0;overflow:visible;
  background:none!important}
html:root:not(#kit) .cv .world::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:url(/assets/kit/sky.png) right top/auto 100% no-repeat;
  -webkit-mask-image:linear-gradient(90deg,#000 50%,transparent 99%);mask-image:linear-gradient(90deg,#000 50%,transparent 99%)}
html:root:not(#kit) .cv .world::after{content:"";position:absolute;left:-4%;bottom:52px;width:58%;aspect-ratio:976/574;z-index:4;pointer-events:none;
  background:url(/assets/kit/v11/cloud-puff.webp) center/contain no-repeat}
html:root:not(#kit) .cv .world .ds1-me{position:absolute;left:50%;top:70px;width:300px;height:300px;transform:translateX(-46%);z-index:3;
  filter:drop-shadow(0 18px 30px rgb(22 37 30/.16))}
html:root:not(#kit) .cv .world .wn{position:absolute!important;left:0!important;right:auto!important;top:8px!important;transform:none!important;display:block!important;
  font:500 15px/1.35 var(--edge-font-ui,Inter,system-ui,sans-serif)!important;color:var(--edge-ink,#16251e)!important;z-index:5}

/* badges and the headline number */
html:root:not(#kit) .cv .unc,html:root:not(#kit) .cv .lst,html:root:not(#kit) .cv .ver{transform:none!important;border:1px solid var(--edge-line,#d3d9cf)!important;
  background:#fff!important;box-shadow:none!important;border-radius:999px;font:500 13.5px/1 var(--edge-font-ui,Inter,system-ui,sans-serif)!important;color:var(--edge-ink,#16251e)!important}
html:root:not(#kit) .cv .unc i{background:#f5a524;box-shadow:none}
html:root:not(#kit) .cv h1{font-weight:450!important;letter-spacing:-.045em!important;color:var(--edge-ink,#16251e)!important}
html:root:not(#kit) .cv h1 .avc{border:2px solid #fff!important;box-shadow:0 4px 12px rgb(22 37 30/.12)!important}
html:root:not(#kit) .cv .met .n{height:auto!important;margin-right:0!important;font:450 clamp(40px,4.2vw,56px)/1 var(--edge-font-ui,Inter,system-ui,sans-serif)!important;
  letter-spacing:-.045em!important;color:var(--edge-blue,#154cff)!important;font-variant-numeric:tabular-nums;white-space:nowrap}
html:root:not(#kit) .cv .met span:not(.n){color:var(--edge-ink,#16251e)!important;font-weight:450!important}
html:root:not(#kit) .cv .bio,html:root:not(#kit) .cv .disc,html:root:not(#kit) .cv .sub,html:root:not(#kit) .cv .meta,html:root:not(#kit) .cv .by,html:root:not(#kit) .cv .skb p,
html:root:not(#kit) .cv .h2 small,html:root:not(#kit) .cv .like small{color:var(--edge-muted,#59685f)!important}
html:root:not(#kit) .cv .hdl{font-family:inherit!important;font-size:1em!important;letter-spacing:inherit!important;color:var(--edge-blue,#154cff)}
html:root:not(#kit) .cv .h2.stk h2{flex-wrap:wrap;column-gap:.3em;row-gap:0}
html:root:not(#kit) .cv h2{font-weight:500!important;letter-spacing:-.025em!important;color:var(--edge-ink,#16251e)!important}

/* keys: one blue key per group, the rest quiet */
html:root:not(#kit) .cv .b{height:52px!important;min-height:52px!important;border-radius:9px!important;font:500 16px/1 var(--edge-font-ui,Inter,system-ui,sans-serif)!important;padding:0 22px!important}
html:root:not(#kit) .cv .b.dk{background:var(--edge-blue,#154cff)!important;color:#fff!important;box-shadow:var(--edge-shadow-key,inset 0 1px 0 rgb(255 255 255/.28),0 3px 0 #0c35ba)!important}
html:root:not(#kit) .cv .b.dk:hover{background:var(--edge-blue-hover,#103ed7)!important}
html:root:not(#kit) .cv .b.dk img{filter:brightness(0) invert(1)}
html:root:not(#kit) .cv .b.lt{background:#fff!important;color:var(--edge-ink,#16251e)!important;border:1px solid var(--edge-line,#d3d9cf)!important;box-shadow:none!important}
html:root:not(#kit) .cv .add{background:#fff!important;color:var(--edge-blue,#154cff)!important;border:1px solid var(--edge-line,#d3d9cf);border-radius:8px!important;font-weight:500!important}
html:root:not(#kit) .cv .add:hover{border-color:var(--edge-blue,#154cff)}

/* skill cards: paper surface, sky tiles instead of voxel covers */
html:root:not(#kit) .cv .sk,html:root:not(#kit) .cv .edge-use{background:#fff!important;border:1px solid var(--edge-line,#d3d9cf)!important;box-shadow:none!important;border-radius:14px!important;transform:none!important}
html:root:not(#kit) .cv .ds1-tile{display:block;width:120px;height:120px;border-radius:10px;align-self:start;
  background:url(/assets/kit/hills-band.webp) center bottom/180% auto no-repeat,url(/assets/kit/v11/cloud-puff.webp) 30% 62%/150% auto no-repeat,
             linear-gradient(180deg,#8dbbdd 0%,#b2d3e8 55%,#d9e7ea 100%)}
html:root:not(#kit) .cv .sk:nth-child(3n+2) .ds1-tile{background:url(/assets/kit/hills-band.webp) 70% bottom/200% auto no-repeat,url(/assets/kit/v11/cloud-tower.webp) 60% 40%/120% auto no-repeat,
             linear-gradient(180deg,#8dbbdd 0%,#b2d3e8 55%,#d9e7ea 100%)}
html:root:not(#kit) .cv .sk:nth-child(3n+3) .ds1-tile{background:url(/assets/kit/hills-band.webp) 20% bottom/220% auto no-repeat,url(/assets/kit/v11/cumulus-dream.webp) 50% 30%/110% auto no-repeat,
             linear-gradient(180deg,#8dbbdd 0%,#b2d3e8 55%,#d9e7ea 100%)}
html:root:not(#kit) .cv .pop li{border-bottom-color:var(--edge-line,#d3d9cf)!important}
html:root:not(#kit) .cv .pop .bar{background:rgb(21 76 255/.10)!important}

/* peers: avatar only */
html:root:not(#kit) .cv .lav{height:84px!important}
html:root:not(#kit) .cv .lav .pf{top:4px!important;box-shadow:none!important;border:1px solid var(--edge-line,#d3d9cf)!important}

/* claim: the sky panel with the cloud bank, Scout on the ledge */
html:root:not(#kit) .cv .claim{background:url(/assets/kit/v11/cloud-bank.webp) right -40px bottom -30px/520px auto no-repeat,linear-gradient(180deg,#8dbbdd 0%,#b2d3e8 60%,#d9e7ea 100%)!important;
  color:var(--edge-ink,#16251e)!important;border-radius:16px!important;box-shadow:none!important;padding:16px 16px 16px 22px!important}
html:root:not(#kit) .cv .claim span,html:root:not(#kit) .cv .claim svg{color:var(--edge-ink,#16251e)!important}
html:root:not(#kit) .cv .claim a{background:var(--edge-blue,#154cff)!important;color:#fff!important;border-radius:9px!important;box-shadow:var(--edge-shadow-key,0 3px 0 #0c35ba)!important}
html:root:not(#kit) .cv .peek{top:-46px!important}
html:root:not(#kit) .cv .peek img{width:44px!important;image-rendering:pixelated;animation:none!important}
html:root:not(#kit) .cv .peek .pole{display:none}
html:root:not(#kit) .cv .peek .flag{left:50px!important;top:12px!important;transform:none!important;border-radius:6px!important;font:500 12px/1 var(--edge-font-ui,Inter,system-ui,sans-serif)!important}

@media (max-width:860px){
  html:root:not(#kit) .cv .world{height:330px!important;margin-bottom:8px!important}
  html:root:not(#kit) .cv .world .ds1-me{width:190px;height:190px;top:44px}
  html:root:not(#kit) .cv .world::after{width:62%;bottom:30px}
  html:root:not(#kit) .cv .world .wn{display:block!important;font-size:14px!important}
  html:root:not(#kit) .cv .hand{display:none!important}
  html:root:not(#kit) .cv .ds1-tile{width:88px;height:88px}
  html:root:not(#kit) .cv .b{height:48px!important;min-height:48px!important}
}
