/* PIXEL VERSION: same colours, curtain and layout as before, drawn in pixels.
   Loaded last on every page (/ , /memes/, /crew/). The old font names are pointed at pixel fonts,
   so every title and text switches without touching each rule; sizes are adjusted below. */
@font-face{font-family:"Abril Fatface";src:url(/fonts/pixel/press-start-2p.woff2) format("woff2");font-display:swap}
@font-face{font-family:"Permanent Marker";src:url(/fonts/pixel/press-start-2p.woff2) format("woff2");font-display:swap}
@font-face{font-family:"Space Mono";src:url(/fonts/pixel/pixelify-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Space Mono";src:url(/fonts/pixel/pixelify-700.woff2) format("woff2");font-weight:700;font-display:swap}
html,body{font-size:16px}
img,video,canvas{image-rendering:pixelated}
/* curtain: hard stripes and stepped scallops instead of soft folds */
.valance{background:repeating-linear-gradient(90deg,var(--red2) 0 8px,var(--red) 8px 30px,#7a0c11 30px 44px)!important;box-shadow:0 6px 0 #000!important}
.valance:after{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='14' shape-rendering='crispEdges'%3E%3Cg fill='%238e0f14'%3E%3Crect x='1' y='0' width='42' height='4'/%3E%3Crect x='4' y='4' width='36' height='4'/%3E%3Crect x='9' y='8' width='26' height='3'/%3E%3Crect x='15' y='11' width='14' height='3'/%3E%3C/g%3E%3C/svg%3E") 0 0/44px 14px repeat-x!important}
.side{background:repeating-linear-gradient(90deg,var(--red2) 0 4px,var(--red) 4px 14px,#6a0a0e 14px 20px)!important;box-shadow:none!important;border-inline:4px solid #000}
/* titles: pixel font is wide, so smaller sizes and a hard shadow */
h1{font-size:clamp(20px,4.4vw,32px)!important;line-height:1.35!important;text-shadow:4px 4px 0 #000!important;letter-spacing:0}
h2{font-size:clamp(15px,3vw,20px)!important;line-height:1.45!important;text-shadow:3px 3px 0 #000}
.logo{font-size:15px!important;letter-spacing:0!important;text-shadow:3px 3px 0 #000}
.memecta b,.crewcta b,.shb>b{font-size:16px!important;line-height:1.45}
.wkov b{font-size:clamp(18px,4.5vw,26px)!important;line-height:1.35}
.tag em,.tr .k,.sub.t8 small{font-size:10px!important}
.tr .num{font-size:20px!important}
.sub .q{font-size:22px!important}
.mk{font-size:.75em}
/* body text in Pixelify Sans reads a bit smaller than Space Mono: bump the small sizes */
.story{font-size:17px!important}.note,.lead{font-size:14px!important}.soft,.meta,.status,.cnt,.foot{font-size:13px!important}
.lbl{font-size:12px!important;letter-spacing:.08em!important}
/* hard pixel edges: no round corners, no blur */
button,.btn,.memebtn,.ic,.chips button,.seg button,.snd,.spd,.fmt,input,textarea,.sub,.ideas button{border-radius:0!important}
.btn,.memebtn,.snd{box-shadow:4px 4px 0 #000!important}.btn:active{box-shadow:1px 1px 0 #000!important}
.ic{box-shadow:3px 3px 0 #000}
.boxv,.wkw canvas{box-shadow:0 0 0 6px var(--wood2),10px 10px 0 6px #000!important}
.shb{box-shadow:0 0 0 5px var(--wood2),8px 8px 0 5px #000!important}
.tag{transform:none!important;border-width:2px}
.tr{transform:none!important;border-width:2px}
.notoken{border-style:dashed;border-width:3px}
body{background:radial-gradient(ellipse 70% 55% at 50% 0,rgba(255,226,180,.10),transparent 70%),repeating-linear-gradient(0deg,#0000 0 3px,#0003 3px 4px),linear-gradient(180deg,#140b09 0,#0d0807 60%,#1a0f0b 100%)!important}
@media(max-width:420px){.top .logo{font-size:11px!important}.nav .memebtn{box-shadow:2px 2px 0 #000!important}.ic{box-shadow:2px 2px 0 #000}}
