/* The cartridge wall as the owner's reference board (2026-10-22): every game is a chunky worn-gunmetal cartridge hung on
   a dark pegboard, framed left and right by rusty rails with conduits, brackets, a robot tag and notes. A cartridge has
   raised shoulders, screws, rust and scuffs at the edges, a big 16:9 screen in a recessed window, a cream paper label
   with only the name, the first kind's chip icon as a round badge across the screen's lower-right corner and the label,
   a catalogue number stamped on the top plate, a gold-contact connector with two latches, and on some cartridges a
   barcode, a paper tab or a stamp. CSS shapes and gradients only, plus two small generated noise tiles and one small
   drawn tag: the screens and the chip icons are the only pictures. Sizes inside a cartridge are in cqi (1% of its width),
   so it keeps its proportions at three, two or one per row. Markup: cab.js renderGrid. The category chips, search and
   sort keep cab.css's look. */

.wall{
  --rust:150,62,22;
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.5 -.7'/%3E%3C/filter%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.5' numOctaves='3' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.6 -.66'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='.09'/%3E%3Crect width='100%25' height='100%25' filter='url(%23b)' opacity='.3'/%3E%3C/svg%3E");
  --wear:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.08' numOctaves='4' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .52 0 0 0 0 .22 0 0 0 0 .08 0 0 0 5.5 -3.45'/%3E%3C/filter%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .09' numOctaves='2' seed='12' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .8 0 0 0 0 .79 0 0 0 0 .76 0 0 0 6 -3.95'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23s)' opacity='.45'/%3E%3C/svg%3E");
  --bolt:radial-gradient(circle at 50% 5px,#8f8a82 0 1.5px,#4f4a45 2.3px,#141312 3.2px,rgba(0,0,0,0) 3.9px);
  --rustframe:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='600'%3E%3Cfilter id='f' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.035 .01' numOctaves='5' seed='21' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .47 0 0 0 0 .2 0 0 0 0 .08 0 0 0 4.5 -2.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  /* the side frames: as wide as the gutter beside the content allows, up to 58px */
  --wsw:clamp(12px,calc((100% - 1320px) / 2 + 18px),58px)
}
.cart{
  --paper:#efe6cf;--paper-lo:#e4d7ba;--ink:#1c1a17;
  --screw:radial-gradient(circle at 42% 38%,#c9cbcd 0 .35cqi,#7f8286 .7cqi,#3a3c3f 1cqi,#0f1012 1.15cqi,transparent 1.3cqi)
}

/* ---------- the wall: dark perforated pegboard over the slot's own texture (tex-wall, faint underneath) ---------- */
.wall::before{background:
  radial-gradient(circle,#050607 0 3.3px,rgba(5,6,7,0) 4.1px) 0 0/30px 30px,
  radial-gradient(circle,rgba(255,255,255,.075) 0 3.6px,rgba(255,255,255,0) 4.4px) 0 1.6px/30px 30px,
  radial-gradient(ellipse 75% 55% at 50% 38%,rgba(255,255,255,.035),rgba(255,255,255,0) 70%),
  rgba(19,21,24,.86)}
.wall.custom-art-host::before{background:none}   /* the owner's own wall art from the editor (station.js) shows instead */
.wall .grid{gap:clamp(16px,1.6vw,22px) clamp(18px,2.6vw,38px);margin-top:34px}

/* ---------- the cartridge (the button): its box is the click and focus area; the parts are drawn inside ---------- */
.card.cart{container-type:inline-size;position:relative;isolation:isolate;display:block;min-width:0;
  padding:10% 7% 13.4%;border-radius:10px;background:none;box-shadow:none;
  transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.card.cart:hover,.card.cart:focus-visible{transform:translateY(-4px);box-shadow:none}
.card.cart:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}

/* the shell: worn gunmetal with chamfered corners (rounded where corner-shape is unsupported), screws, a write-protect
   slide beside the label, scratches; ::before is the raised top plate, ::after the rust and scuffs along the edges */
.cart .csh{position:absolute;z-index:-1;inset:4.5cqi 0 6.3cqi;border-radius:2.4cqi;corner-shape:bevel;
  background:
    var(--screw) left 2.2cqi top 5.4cqi/2.6cqi 2.6cqi no-repeat,
    var(--screw) right 2.2cqi top 5.4cqi/2.6cqi 2.6cqi no-repeat,
    var(--screw) left 2.2cqi top 54.6cqi/2.6cqi 2.6cqi no-repeat,
    var(--screw) left 2.2cqi bottom 3.4cqi/2.6cqi 2.6cqi no-repeat,
    var(--screw) right 3cqi bottom 4.6cqi/2.6cqi 2.6cqi no-repeat,
    var(--screw) right 3cqi bottom 15.2cqi/2.6cqi 2.6cqi no-repeat,
    linear-gradient(#08090a,#08090a) right 3.9cqi bottom 8.2cqi/.8cqi 5.6cqi no-repeat,
    linear-gradient(90deg,#2b2a29,#45433f 45%,#2e2d2b) right 2.2cqi bottom 3.8cqi/4.2cqi 14.6cqi no-repeat,
    linear-gradient(#0a0a0b,#0a0a0b) right 2cqi bottom 3.6cqi/4.6cqi 15cqi no-repeat,
    linear-gradient(112deg,rgba(255,255,255,0) 41%,rgba(255,255,255,.07) 41.3%,rgba(255,255,255,0) 41.8%),
    linear-gradient(64deg,rgba(255,255,255,0) 77%,rgba(255,255,255,.05) 77.25%,rgba(255,255,255,0) 77.7%),
    var(--grain) 0 0/180px 180px,
    radial-gradient(ellipse 90% 60% at 30% 20%,rgba(255,255,255,.06),rgba(255,255,255,0) 70%),
    linear-gradient(180deg,#3a3936,#2d2c2a 34%,#252422 72%,#1b1a19);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 1px 0 0 rgba(255,255,255,.07),inset 0 0 0 1px rgba(0,0,0,.55),inset 0 -.9cqi 1.8cqi rgba(0,0,0,.5);
  filter:drop-shadow(0 1.5cqi 1.3cqi rgba(0,0,0,.62)) drop-shadow(0 .3cqi .3cqi rgba(0,0,0,.5))}
.cart .csh::before{content:"";position:absolute;left:4.9cqi;right:4.9cqi;top:-4.5cqi;height:9cqi;
  clip-path:polygon(0 100%,0 6.2cqi,2.2cqi 0,13cqi 0,16.4cqi 2.6cqi,calc(100% - 16.4cqi) 2.6cqi,calc(100% - 13cqi) 0,calc(100% - 2.2cqi) 0,100% 6.2cqi,100% 100%);
  background:
    linear-gradient(rgba(222,218,210,.6),rgba(222,218,210,.6)) 2.2cqi 0/10.8cqi 1.5px no-repeat,
    linear-gradient(rgba(222,218,210,.6),rgba(222,218,210,.6)) right 2.2cqi top 0/10.8cqi 1.5px no-repeat,
    linear-gradient(rgba(222,218,210,.42),rgba(222,218,210,.42)) 50% 2.6cqi/calc(100% - 32.8cqi) 1.5px no-repeat,
    linear-gradient(rgba(0,0,0,.78),rgba(0,0,0,.78)) 50% 100%/100% 2px no-repeat,
    linear-gradient(90deg,rgba(0,0,0,.65) 0 1px,rgba(0,0,0,0) 1px calc(100% - 1px),rgba(0,0,0,.65) calc(100% - 1px)),
    radial-gradient(4.5cqi 2.2cqi at 3% 4%,rgba(var(--rust),.55),rgba(var(--rust),0) 70%),
    radial-gradient(5cqi 2cqi at 96% 6%,rgba(var(--rust),.45),rgba(var(--rust),0) 70%),
    radial-gradient(9cqi 1.6cqi at 30% 34%,rgba(var(--rust),.26),rgba(var(--rust),0) 70%),
    var(--grain) 30px 10px/180px 180px,
    linear-gradient(180deg,#53514d,#3d3b38 42%,#312f2d)}
.cart .csh::after{content:"";position:absolute;inset:0;border-radius:inherit;corner-shape:bevel;pointer-events:none;
  background:var(--wear) 0 0/260px 260px;opacity:.9;
  -webkit-mask-image:linear-gradient(90deg,#000,rgba(0,0,0,.35) 4%,transparent 9% 91%,rgba(0,0,0,.35) 96%,#000),linear-gradient(180deg,#000,rgba(0,0,0,.35) 5%,transparent 10% 88%,rgba(0,0,0,.4) 95%,#000);
  mask-image:linear-gradient(90deg,#000,rgba(0,0,0,.35) 4%,transparent 9% 91%,rgba(0,0,0,.35) 96%,#000),linear-gradient(180deg,#000,rgba(0,0,0,.35) 5%,transparent 10% 88%,rgba(0,0,0,.4) 95%,#000)}

/* the screen, 16:9 so the whole picture shows, in its recessed window: a dark bezel, a worn metal lip, glass */
.cart .cpic{position:relative;display:block;aspect-ratio:16/9;border-radius:1.2cqi 1.2cqi 2.4cqi 2.4cqi;corner-shape:round round bevel bevel;overflow:hidden;background:#050607;
  box-shadow:0 0 0 .9cqi #0a0a0b,0 0 0 1.25cqi rgba(205,200,190,.13),0 1cqi 1.2cqi .6cqi rgba(0,0,0,.32)}
.cart .cpic img{transition:opacity .45s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
.cart .cglass{z-index:4;border-radius:inherit;background:linear-gradient(158deg,rgba(255,255,255,.1),rgba(255,255,255,0) 30%),repeating-linear-gradient(to bottom,rgba(0,0,0,.06) 0 1px,rgba(0,0,0,0) 1px 3px);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.75),inset 0 1.1cqi 2.2cqi rgba(0,0,0,.5),inset 0 -.6cqi 1.6cqi rgba(0,0,0,.3)}

/* the paper label: only the name, clear of the badge on its right end */
.cart .cstrip{position:relative;inset:auto;z-index:1;display:flex;align-items:center;margin:2.2cqi 4cqi 0;padding:1.9cqi 18.8cqi 1.8cqi 3.2cqi;border-radius:.6cqi;
  background:
    radial-gradient(18cqi 6cqi at 70% 10%,rgba(150,108,58,.15),rgba(150,108,58,0) 70%),
    radial-gradient(12cqi 5cqi at 6% 96%,rgba(140,98,48,.16),rgba(140,98,48,0) 70%),
    radial-gradient(3.4cqi 2.2cqi at 99% 98%,rgba(var(--rust),.32),rgba(var(--rust),0) 70%),
    radial-gradient(2.6cqi 1.8cqi at 1% 3%,rgba(var(--rust),.28),rgba(var(--rust),0) 70%),
    linear-gradient(180deg,var(--paper),var(--paper-lo));
  box-shadow:inset 0 0 0 1px rgba(96,72,40,.36),inset 0 0 2.2cqi rgba(118,84,38,.24),0 0 0 .5cqi #0f0f10,0 .5cqi .5cqi .5cqi rgba(0,0,0,.35)}
.cart .cl-title{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
  font:900 min(9cqi,calc(64cqi / (var(--n,12) * .48)))/1.04 var(--f-display);letter-spacing:.025em;text-transform:uppercase;color:var(--ink)}

/* the kind badge: the chip's icon in a round holder across the screen's lower-right corner and the label's right end
   (cqi is 1% of the content box, 86% of the cartridge's width: the window ends at 67.9cqi, the label starts at 70.1cqi) */
.cart .cl-badge{position:absolute;z-index:5;left:86.7cqi;top:62.6cqi;width:18cqi;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;pointer-events:none;
  background:radial-gradient(circle,#211f1d 0 57%,#3c3935 59% 64%,#6b6760 65.5% 67%,#26231f 69%);
  box-shadow:0 0 0 .5cqi #0c0c0d,inset 0 .35cqi .3cqi rgba(255,255,255,.14),0 1cqi 1.4cqi rgba(0,0,0,.6)}
.cart .cl-icon{width:85%;filter:drop-shadow(0 .25cqi .35cqi rgba(0,0,0,.55))}
/* the catalogue number, stamped into the top plate between the shoulders */
.cart .cl-no{position:absolute;z-index:1;top:4.4cqi;left:50%;transform:translateX(-50%);pointer-events:none;white-space:nowrap;
  font:700 max(8.5px,2.15cqi)/1 var(--f-mono);letter-spacing:.18em;color:rgba(214,208,197,.62);text-shadow:0 1px 0 rgba(0,0,0,.85)}

/* the connector: gold contacts in a dark slot, with a latch post on each side */
.cart .cport{position:absolute;z-index:1;left:24.5cqi;right:24.5cqi;bottom:4cqi;height:6.6cqi;padding:1.1cqi 1.6cqi 1.2cqi;border-radius:.9cqi .9cqi .5cqi .5cqi;
  background:
    linear-gradient(to bottom,rgba(255,238,178,.4),rgba(255,238,178,0) 34%,rgba(0,0,0,0) 62%,rgba(0,0,0,.32)) content-box,
    repeating-linear-gradient(90deg,#0a0c0e 0 .45cqi,#7d5e1a .45cqi .65cqi,#d8ab3e .65cqi 2.45cqi,#7d5e1a 2.45cqi 2.65cqi,#0a0c0e 2.65cqi 3.1cqi) content-box,
    #0b0d0f;
  box-shadow:inset 0 0 0 1px #040505,inset 0 .5cqi .8cqi rgba(0,0,0,.7),0 0 0 .5cqi #1f1e1d,0 1px 0 .5cqi rgba(255,255,255,.06),0 .8cqi 1cqi .3cqi rgba(0,0,0,.45)}
.cart .cport::before,.cart .cport::after{content:"";position:absolute;top:.4cqi;width:3.6cqi;height:10cqi;border-radius:1.8cqi 1.8cqi 1.4cqi 1.4cqi;
  background:linear-gradient(90deg,#2f3133,#c8cbce 28%,#9a9da1 46%,#55585b 76%,#232527);
  box-shadow:inset 0 -1.4cqi 1.1cqi rgba(0,0,0,.45),inset 0 .5cqi .3cqi rgba(255,255,255,.22),0 0 0 1px rgba(0,0,0,.45),0 .6cqi .7cqi rgba(0,0,0,.55)}
.cart .cport::before{left:-10.6cqi}
.cart .cport::after{right:-10.6cqi}

/* stickers on some cartridges (chosen from the game's id in cab.js, so a cartridge keeps its own) */
.cart .cstk{position:absolute;z-index:2;pointer-events:none;box-shadow:0 .3cqi .5cqi rgba(0,0,0,.45)}
.cart .cstk.s-bar{left:1cqi;bottom:15cqi;width:4.4cqi;height:13cqi;border-radius:.3cqi;transform:rotate(-1.5deg);
  background:repeating-linear-gradient(to bottom,#1d1c1a 0 .25cqi,#e9e1cf .25cqi .5cqi,#1d1c1a .5cqi 1cqi,#e9e1cf 1cqi 1.3cqi,#1d1c1a 1.3cqi 1.45cqi,#e9e1cf 1.45cqi 1.9cqi) 50% 50%/62% 76% no-repeat,#e9e1cf}
.cart .cstk.s-tab{right:-.4cqi;top:15cqi;width:3.4cqi;height:15cqi;border-radius:.3cqi;transform:rotate(1.2deg);
  background:repeating-linear-gradient(to bottom,rgba(60,48,32,.45) 0 1px,transparent 1px 1.6cqi) 50% 2cqi/40% 60% no-repeat,radial-gradient(3cqi 4cqi at 30% 90%,rgba(var(--rust),.3),rgba(var(--rust),0) 70%),#e6dcc2}
.cart .cstk.s-stamp{left:.6cqi;bottom:14cqi;width:6.2cqi;height:10.5cqi;border-radius:.4cqi;transform:rotate(-7deg);
  background:repeating-linear-gradient(to bottom,rgba(40,14,4,.55) 0 .35cqi,transparent .35cqi 1.4cqi) 50% 52%/56% 62% no-repeat,linear-gradient(rgba(255,255,255,.12),rgba(0,0,0,.12)),#c4541e;
  box-shadow:inset 0 0 0 .35cqi rgba(70,24,6,.5),0 .3cqi .5cqi rgba(0,0,0,.45)}

/* the owner's own frame or label art from the editor (designer.js) still takes over: frame art replaces the shell (the
   label then sits on the frame's lower edge); label art replaces the paper, with light ink so the name stays readable */
.card.cart.designer-frame .csh,.card.cart.designer-frame .cport,.card.cart.designer-frame .cstk,.card.cart.designer-frame .cl-no{display:none}
.card.cart .cstrip.designer-label{position:relative;inset:auto;height:auto;transform:none;padding:1.9cqi 18.8cqi 1.8cqi 3.2cqi;background:var(--label-art) center/var(--label-fit,contain) no-repeat;box-shadow:none}
.card.cart.designer-frame .cstrip,.card.cart.designer-frame .cstrip.designer-label{position:absolute;left:8%;right:8%;bottom:4%;margin:0;padding-right:14cqi}
.card.cart.designer-frame .cl-badge{left:auto;top:auto;right:6%;bottom:2%;width:15cqi}
.card.cart .cstrip.designer-label .cl-title{color:#f5dfb2;text-shadow:0 1px 3px #000,0 0 5px #000}

/* ---------- the wall's side framing: rusty frame rails down the left and right edges (two elements cab.js adds), fading
   into the page at the top and bottom like the pegboard; conduits on the right; a robot tag and notes where the gutter
   leaves room. Behind the content, so nothing on it can ever cover a cartridge or the chips. ---------- */
.wall-side{position:absolute;top:0;bottom:0;z-index:-1;width:var(--wsw);pointer-events:none}
.wall-side.ws-l{left:0;
  background:
    linear-gradient(to bottom,var(--bg),rgba(7,6,11,0) 64px,rgba(7,6,11,0) calc(100% - 64px),var(--bg)),
    var(--bolt) 3px 342px/9px 420px repeat-y,
    var(--bolt) right 3px top 342px/9px 420px repeat-y,
    linear-gradient(#48443f,#2d2a27 3px,#1d1b19 8px,#0f0e0d 10px,rgba(0,0,0,0) 10px) 0 342px/100% 420px repeat-y,
    var(--bolt) calc(100% - 4px) 120px/9px 230px repeat-y,
    linear-gradient(90deg,rgba(0,0,0,0) 0 26%,rgba(0,0,0,.6) 26% 30%,rgba(255,255,255,.06) 30% 32%,rgba(0,0,0,0) 32% 62%,rgba(0,0,0,.6) 62% 66%,rgba(255,255,255,.07) 66% 68%,rgba(0,0,0,0) 68%),
    linear-gradient(90deg,rgba(0,0,0,0) calc(100% - 4px),rgba(0,0,0,.7) calc(100% - 4px) calc(100% - 2px),rgba(255,255,255,.08) calc(100% - 2px) calc(100% - 1px),rgba(0,0,0,.55) calc(100% - 1px)),
    var(--rustframe) 0 0/300px 600px,
    var(--grain) 0 0/180px 180px,
    linear-gradient(90deg,#1a1816,#2a2724 34%,#24211e 66%,#181614);
  box-shadow:5px 0 12px rgba(0,0,0,.5)}
.wall-side.ws-r{right:0;
  background:
    linear-gradient(to bottom,var(--bg),rgba(7,6,11,0) 64px,rgba(7,6,11,0) calc(100% - 64px),var(--bg)),
    var(--bolt) 3px 462px/9px 420px repeat-y,
    var(--bolt) right 3px top 462px/9px 420px repeat-y,
    linear-gradient(#48443f,#2d2a27 3px,#1d1b19 8px,#0f0e0d 10px,rgba(0,0,0,0) 10px) 0 462px/100% 420px repeat-y,
    var(--bolt) 4px 200px/9px 230px repeat-y,
    linear-gradient(90deg,rgba(0,0,0,.55) 0 1px,rgba(255,255,255,.08) 1px 2px,rgba(0,0,0,.7) 2px 4px,rgba(0,0,0,0) 4px),
    var(--rustframe) 120px 260px/300px 600px,
    var(--grain) 0 0/180px 180px,
    linear-gradient(90deg,#181513,#29221d 40%,#30251e 72%,#221c17);
  box-shadow:-5px 0 12px rgba(0,0,0,.5)}
.wall-side::before,.wall-side::after{content:"";position:absolute;display:none}

/* wide gutters: conduits with clamps on the right frame, a junction box and a valve; a robot tag and a taped note
   hanging on the left frame (all within the gutter: the frame is 58px there and the content starts past 90px) */
@media (min-width:1440px){
  .wall-side.ws-r{background:
    linear-gradient(to bottom,var(--bg),rgba(7,6,11,0) 64px,rgba(7,6,11,0) calc(100% - 64px),var(--bg)),
    var(--bolt) 6px 162px/9px 300px repeat-y,
    var(--bolt) right 4px top 162px/9px 300px repeat-y,
    linear-gradient(#625d56,#3b3733 3px,#24211e 7px,#141312 9px,rgba(0,0,0,0) 9px) 50% 162px/100% 300px repeat-y,
    repeating-linear-gradient(to bottom,rgba(0,0,0,.55) 0 2px,rgba(255,255,255,.08) 2px 3px,rgba(0,0,0,0) 3px 6px) 37px 0/9px 100% no-repeat,
    linear-gradient(90deg,#121110,#433d36 30%,#6a6258 48%,#3b362f 70%,#100f0e) 37px 0/9px 100% no-repeat,
    linear-gradient(90deg,#0f0e0d,#3a3631 24%,#857d72 45%,#47423b 68%,#121110) 14px 0/14px 100% no-repeat,
    linear-gradient(90deg,rgba(0,0,0,.55) 0 1px,rgba(255,255,255,.08) 1px 2px,rgba(0,0,0,.7) 2px 4px,rgba(0,0,0,0) 4px),
    var(--rustframe) 120px 260px/300px 600px,
    var(--grain) 0 0/180px 180px,
    linear-gradient(90deg,#181513,#29221d 40%,#30251e 72%,#221c17)}
  .wall-side::before,.wall-side::after{display:block}
  /* left: a rusted robot tag on a screw */
  .ws-l::before{left:calc(100% - 30px);top:560px;width:46px;height:54px;transform:rotate(-5deg);filter:drop-shadow(0 4px 4px rgba(0,0,0,.6));
    background:
      radial-gradient(10px 7px at 88% 92%,rgba(var(--rust),.55),rgba(var(--rust),0) 70%),
      radial-gradient(9px 6px at 8% 18%,rgba(var(--rust),.45),rgba(var(--rust),0) 70%),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 54'%3E%3Crect x='.5' y='.5' width='45' height='53' rx='2.5' fill='%23ae9b7a' stroke='%23574632' stroke-opacity='.6'/%3E%3Ccircle cx='23' cy='6' r='2.6' fill='%233b3632'/%3E%3Ccircle cx='23' cy='6' r='1' fill='%23a59f96'/%3E%3Cpath d='M23 12v4M17 12h12' stroke='%23292420' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Crect x='9' y='16' width='28' height='21' rx='5' fill='%23292420'/%3E%3Crect x='5' y='21' width='4' height='10' rx='1.5' fill='%23292420'/%3E%3Crect x='37' y='21' width='4' height='10' rx='1.5' fill='%23292420'/%3E%3Ccircle cx='17.5' cy='25.5' r='3.4' fill='%23ae9b7a'/%3E%3Ccircle cx='28.5' cy='25.5' r='3.4' fill='%23ae9b7a'/%3E%3Cpath d='M19 32h8' stroke='%23ae9b7a' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M8 43h19M8 47h12' stroke='%23292420' stroke-opacity='.45' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
  /* left: a taped note with a few pencil lines */
  .ws-l::after{left:calc(100% - 26px);top:236px;width:40px;height:40px;transform:rotate(4deg);filter:drop-shadow(0 3px 3px rgba(0,0,0,.5));
    background:
      linear-gradient(rgba(222,210,176,.62),rgba(222,210,176,.62)) 50% 0/62% 9px no-repeat,
      linear-gradient(rgba(44,38,32,.55),rgba(44,38,32,.55)) 6px 16px/58% 1.5px no-repeat,
      linear-gradient(rgba(44,38,32,.5),rgba(44,38,32,.5)) 6px 22px/70% 1.5px no-repeat,
      linear-gradient(rgba(44,38,32,.45),rgba(44,38,32,.45)) 6px 28px/42% 1.5px no-repeat,
      radial-gradient(12px 8px at 85% 85%,rgba(var(--rust),.35),rgba(var(--rust),0) 70%),
      linear-gradient(#c3b291,#b9a785) 0 5px/100% calc(100% - 5px) no-repeat}
  /* right: a junction box where the conduits enter, and a valve on the steel pipe */
  .ws-r::before{left:6px;top:96px;width:46px;height:50px;border-radius:3px;
    background:var(--bolt) 4px 4px/9px 9px no-repeat,var(--bolt) right 4px top 4px/9px 9px no-repeat,var(--bolt) 4px calc(100% - 4px)/9px 9px no-repeat,var(--bolt) right 4px bottom 4px/9px 9px no-repeat,
      radial-gradient(60% 40% at 30% 80%,rgba(var(--rust),.45),rgba(var(--rust),0) 70%),var(--grain) 0 0/180px 180px,linear-gradient(180deg,#46423d,#2c2926 60%,#211f1c);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 0 1px rgba(0,0,0,.6),0 5px 8px rgba(0,0,0,.5)}
  .ws-r::after{left:11px;top:72%;width:20px;height:28px;border-radius:3px;
    background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)) 50% 9px/100% 2px no-repeat,linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)) 50% 18px/100% 2px no-repeat,
      linear-gradient(90deg,#3c2e1c,#7a6440 32%,#a38a5c 46%,#6a5535 70%,#2e2416);
    box-shadow:0 0 0 1px rgba(0,0,0,.6),0 4px 6px rgba(0,0,0,.5)}
}
/* phones: just the two thin rusty rails inside the 16px gutter */
@media (max-width:640px){.wall-side{width:8px}}

/* ---------- three per row, two on tablets, one on phones ---------- */
@media (max-width:1024px){.wall .grid{grid-template-columns:repeat(min(var(--cols,3),2),minmax(0,1fr))}}
@media (max-width:640px){.wall .grid{grid-template-columns:minmax(0,460px);justify-content:center;gap:18px}}

/* low quality: one cheap shadow instead of the shell's drop shadows, no masked wear layer */
.ns.q-low .cart .csh{filter:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(0,0,0,.6),0 1.4cqi 1.6cqi rgba(0,0,0,.5)}
.ns.q-low .cart .csh::after{display:none}
.ns.q-low .wall-side::before,.ns.q-low .wall-side::after{filter:none}
