.card-wrap{--card:#fdf4ec;--cardfg:#0a0a0a;display:flex;justify-content:center;padding-top:14px}
.card-wrap .tilt{width:min(330px,84vw);margin:0 auto}
.device{position:relative;width:100%;border-radius:30% 30% 26% 26%/22% 22% 20% 20%;padding:12% 9% 7%;
  background:var(--shell,#fdf4ec);color:var(--ink,#3b2f2f);
  box-shadow:inset 0 -14px 0 rgba(0,0,0,.10),inset 0 10px 18px rgba(255,255,255,.7),0 20px 50px rgba(0,0,0,.45),0 0 0 3px rgba(0,0,0,.25);
  display:flex;flex-direction:column;align-items:center;user-select:none;-webkit-user-select:none;transition:background .3s}
.device .glare{border-radius:inherit}
.loop{position:absolute;left:9%;top:-4%;width:16%;aspect-ratio:1;border-radius:50%;border:7px solid var(--shell,#fdf4ec);box-shadow:0 0 0 2px rgba(0,0,0,.25),inset 0 0 0 2px rgba(0,0,0,.2);z-index:-1}
.brand{font-weight:900;font-size:13px;letter-spacing:.22em;opacity:.75;margin-bottom:8px}
.bezel{width:100%;background:#2c2a33;border-radius:18px;padding:9px;box-shadow:inset 0 3px 8px rgba(0,0,0,.6),0 2px 0 rgba(255,255,255,.4)}
#lcd{display:block;width:100%;height:auto;border-radius:8px;image-rendering:pixelated}
.btns{display:flex;justify-content:space-around;margin-top:8%;width:100%}
.bw{display:flex;flex-direction:column;align-items:center;gap:6px}
.bw span{font-size:10px;font-weight:900;letter-spacing:.12em;opacity:.7}
.hb{width:44px;height:44px;border-radius:50%;background:var(--btn,#f472b6);border:0;
  box-shadow:0 5px 0 var(--btnd,#be185d),0 7px 10px rgba(0,0,0,.35),inset 0 3px 4px rgba(255,255,255,.45);transition:transform .06s,box-shadow .06s;touch-action:manipulation}
.hb:active,.hb.down{transform:translateY(4px);box-shadow:0 1px 0 var(--btnd,#be185d),0 2px 4px rgba(0,0,0,.35),inset 0 3px 4px rgba(255,255,255,.3)}
#bB{width:52px;height:52px;margin-top:-6px}
.devfoot{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:16px;padding:0 4%}
.grille{display:grid;grid-template-columns:repeat(3,6px);gap:5px}
.grille i{width:6px;height:6px;border-radius:50%;background:rgba(0,0,0,.25)}
.credit-dev{font-size:9px;font-weight:900;letter-spacing:.14em;opacity:.5}
.caption{text-align:center;font-weight:800;font-size:17px;min-height:46px;margin-top:18px;padding:0 10px}
.howto{text-align:center;color:#666;font-size:12px;margin-top:4px}
/* shells */
.shell-rice{--shell:#fdf4ec;--ink:#3b2f2f;--btn:#f472b6;--btnd:#be185d}
.shell-purple{--shell:rgba(167,139,250,.55);--ink:#f5f3ff;--btn:#c4b5fd;--btnd:#6d28d9;background-image:radial-gradient(circle at 30% 70%,rgba(255,255,255,.12) 0 2px,transparent 3px),linear-gradient(135deg,rgba(124,58,237,.35),rgba(196,181,253,.25));background-size:22px 22px,auto;backdrop-filter:blur(2px)}
.shell-glow{--shell:#d9f99d;--ink:#1a2e05;--btn:#bef264;--btnd:#4d7c0f;box-shadow:inset 0 -14px 0 rgba(0,0,0,.1),0 0 40px rgba(190,242,100,.65),0 20px 50px rgba(0,0,0,.45)}
.shell-teal{--shell:rgba(45,212,191,.55);--ink:#042f2e;--btn:#5eead4;--btnd:#0f766e;background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.08) 0 1px,transparent 1px 14px),repeating-linear-gradient(0deg,rgba(0,0,0,.08) 0 1px,transparent 1px 14px)}
.shell-berry{--shell:rgba(244,114,182,.6);--ink:#500724;--btn:#fbcfe8;--btnd:#9d174d}
.shell-gold{--shell:#fde68a;--ink:#451a03;--btn:#f59e0b;--btnd:#92400e}
body.plus .lk{display:none}
@media (prefers-reduced-motion:reduce){.device{transition:none}.hb{transition:none}}
